@everymatrix/casino-header-controller-nd 1.85.16 → 1.85.18

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.
Files changed (59) hide show
  1. package/components/{CasinoHamburgerMenuNd-DEwyy8XP.cjs → CasinoHamburgerMenuNd-BWhQR6n1.cjs} +3 -3
  2. package/components/{CasinoHamburgerMenuNd--3syhwwg.js → CasinoHamburgerMenuNd-Djtdm8EV.js} +60 -57
  3. package/components/{CasinoHamburgerMenuNd-B1IPD-eW.js → CasinoHamburgerMenuNd-DqSrTenb.js} +3 -0
  4. package/components/{CasinoHeaderControllerNd-D1SmIATo.js → CasinoHeaderControllerNd--WCWhMwa.js} +6 -6
  5. package/components/{CasinoHeaderControllerNd-BBjI6Rzi.cjs → CasinoHeaderControllerNd-DOLTMzh0.cjs} +1 -1
  6. package/components/{CasinoHeaderControllerNd-DUH86n23.js → CasinoHeaderControllerNd-sEiDpmDd.js} +6 -6
  7. package/components/PlayerAccountBalanceModalNd-BxspHx1P.js +1564 -0
  8. package/components/PlayerAccountBalanceModalNd-C9GnwJNI.cjs +7 -0
  9. package/components/PlayerAccountBalanceModalNd-UlBTfRN6.js +1535 -0
  10. package/components/{PlayerDeposit-CqzO9rr7.cjs → PlayerDeposit-BDPi60xU.cjs} +1 -1
  11. package/components/{PlayerDeposit-JOeJjBA1.js → PlayerDeposit-C910Gf1y.js} +1 -1
  12. package/components/{PlayerDeposit-BJ1oYgWJ.js → PlayerDeposit-qsZYITrf.js} +1 -1
  13. package/es2015/casino-header-controller-nd.cjs +1 -1
  14. package/es2015/casino-header-controller-nd.js +1 -1
  15. package/esnext/casino-header-controller-nd.js +1 -1
  16. package/lazy/{casino-hamburger-menu-nd-CK8nZM9B.cjs → casino-hamburger-menu-nd-CAOIXMkM.cjs} +1 -1
  17. package/lazy/{casino-hamburger-menu-nd-BgPP8h7w.js → casino-hamburger-menu-nd-DWZz6hns.js} +1 -1
  18. package/lazy/{casino-hamburger-menu-nd-BVICOw-W.js → casino-hamburger-menu-nd-DrYJDNro.js} +1 -1
  19. package/lazy/{gamification-dropdown-B3HxrtUy.js → gamification-dropdown-92gu40Vl.js} +4 -4
  20. package/lazy/{gamification-dropdown-B0uRqHF5.cjs → gamification-dropdown-CmhvGtFZ.cjs} +1 -1
  21. package/lazy/{gamification-dropdown-BXn4YJ1N.js → gamification-dropdown-P2zG2HBt.js} +4 -4
  22. package/lazy/{player-account-balance-modal-nd-DM-WjKsO.js → player-account-balance-modal-nd-BY8xnPL2.js} +1 -1
  23. package/lazy/{player-account-balance-modal-nd-CVbcrLML.cjs → player-account-balance-modal-nd-CWxFg0Rd.cjs} +1 -1
  24. package/lazy/{player-account-balance-modal-nd-CWO5esSj.js → player-account-balance-modal-nd-D1AAY1_s.js} +1 -1
  25. package/lazy/{player-deposit-CWLwv7Bz.js → player-deposit-BZMECdu0.js} +1 -1
  26. package/lazy/{player-deposit-BHTi4hw-.cjs → player-deposit-CgdF-jd5.cjs} +1 -1
  27. package/lazy/{player-deposit-CursINzD.js → player-deposit-Mn3IRhQ6.js} +1 -1
  28. package/lazy/{user-deposit-withdrawal-BgmQ3jV2.cjs → user-deposit-withdrawal-CWhRaiMB.cjs} +1 -1
  29. package/lazy/{user-deposit-withdrawal-C-MW3Hfs.js → user-deposit-withdrawal-DS7RI4jZ.js} +1 -1
  30. package/lazy/{user-deposit-withdrawal-DnYmGle9.js → user-deposit-withdrawal-fYrP9plZ.js} +1 -1
  31. package/package.json +1 -1
  32. package/stencil/{gamification-dropdown-60536faa-BaZ65Kym.js → gamification-dropdown-92e6c856-AyLEePRL.js} +3 -1
  33. package/stencil/{gamification-dropdown-60536faa-Btk2lBsp.js → gamification-dropdown-92e6c856-B8vweing.js} +3 -1
  34. package/stencil/gamification-dropdown-92e6c856-BZ8VQIG4.cjs +1 -0
  35. package/stencil/{gamification-dropdown-CvPOzjV9.js → gamification-dropdown-CglkdhCZ.js} +2 -2
  36. package/stencil/{gamification-dropdown-8J8PxOuh.js → gamification-dropdown-Chg7QhVL.js} +2 -2
  37. package/stencil/{gamification-dropdown-Wyj17azl.cjs → gamification-dropdown-HmEzwf9M.cjs} +1 -1
  38. package/stencil/{gamification-dropdown_4-8aFyNwqe.js → gamification-dropdown_4-CDqbYkpV.js} +4 -4
  39. package/stencil/{gamification-dropdown_4-xEVOXclk.cjs → gamification-dropdown_4-Dm2tmI-r.cjs} +1 -1
  40. package/stencil/{gamification-dropdown_4-BDWTzE3w.js → gamification-dropdown_4-DxW8ztP7.js} +4 -4
  41. package/stencil/{player-elevate-card-L2dn16do.cjs → player-elevate-card-BXMauXgU.cjs} +1 -1
  42. package/stencil/{player-elevate-card-6r1cEI_B.js → player-elevate-card-BbWKuYfj.js} +2 -2
  43. package/stencil/{player-elevate-card-CJeovOge.js → player-elevate-card-D61zzjoE.js} +2 -2
  44. package/stencil/{player-elevate-card-items-08c6fbd8-cDevB0xr.js → player-elevate-card-items-08c6fbd8-BRpYa59u.js} +1 -1
  45. package/stencil/{player-elevate-card-items-08c6fbd8-DvFxvIKq.cjs → player-elevate-card-items-08c6fbd8-ChUSMyWt.cjs} +1 -1
  46. package/stencil/{player-elevate-card-items-08c6fbd8-B8m8Wk7Z.js → player-elevate-card-items-08c6fbd8-M94MmEsh.js} +1 -1
  47. package/stencil/{player-elevate-pointcard-BLmnotv_.js → player-elevate-pointcard-BL1XZLER.js} +2 -2
  48. package/stencil/{player-elevate-pointcard-DUipzlXL.cjs → player-elevate-pointcard-CIGh8PLS.cjs} +1 -1
  49. package/stencil/{player-elevate-pointcard-6Y0Wq9rs.js → player-elevate-pointcard-CnJ1h4uy.js} +2 -2
  50. package/stencil/{player-rakeback-card-DBPn2wfp.cjs → player-rakeback-card-B3uCylZm.cjs} +1 -1
  51. package/stencil/{player-rakeback-card-Cj366-ZL.js → player-rakeback-card-B_-fQFE_.js} +1 -1
  52. package/stencil/{player-rakeback-card-uw0ZOQ2u.js → player-rakeback-card-C79YOrb9.js} +1 -1
  53. package/stencil/{user-deposit-withdrawal-CxuwKB1b.js → user-deposit-withdrawal-Bgmu_v3L.js} +3 -1
  54. package/stencil/{user-deposit-withdrawal-CUJi0nvv.js → user-deposit-withdrawal-C1ZuOfGY.js} +3 -1
  55. package/stencil/{user-deposit-withdrawal-Bu0JjS9S.cjs → user-deposit-withdrawal-D-OTOuVZ.cjs} +1 -1
  56. package/components/PlayerAccountBalanceModalNd-B-VrSbkY.js +0 -1550
  57. package/components/PlayerAccountBalanceModalNd-CLE26haa.cjs +0 -7
  58. package/components/PlayerAccountBalanceModalNd-C_7-2Jk6.js +0 -1521
  59. package/stencil/gamification-dropdown-60536faa-bzjUnWRO.cjs +0 -1
@@ -1,1521 +0,0 @@
1
- import { b as st, $ as lt, T as ct, S as ut, i as dt, s as ft, f as X, d as pt, A as Xe, g as ge, m as A, o as ye, p as L, w as z, x as me, y as ht, O as mt, z as gt, F as yt, q as Ne, H as vt, B as _e, C as Ae, J as We, D as bt, K as Ie, L as ot, r as wt, P as Bt, Q as Tt, R as St, c as Ct } from "./CasinoHamburgerMenuNd--3syhwwg.js";
2
- function Ye(l, e) {
3
- st(l, e);
4
- }
5
- function _t(l) {
6
- lt.set(l);
7
- }
8
- const Qe = {
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 Ke = { exports: {} };
227
- /** @license
228
- * eventsource.js
229
- * Available under MIT License (MIT)
230
- * https://github.com/Yaffle/EventSource/
231
- */
232
- (function(l, e) {
233
- (function(n) {
234
- var h = n.setTimeout, f = n.clearTimeout, c = n.XMLHttpRequest, y = n.XDomainRequest, p = n.ActiveXObject, T = n.EventSource, B = n.document, D = n.Promise, V = n.fetch, F = n.Response, S = n.TextDecoder, w = n.TextEncoder, I = n.AbortController;
235
- if (typeof window < "u" && typeof B < "u" && !("readyState" in B) && B.body == null && (B.readyState = "loading", window.addEventListener("load", function(t) {
236
- B.readyState = "complete";
237
- }, !1)), c == null && p != null && (c = function() {
238
- return new p("Microsoft.XMLHTTP");
239
- }), Object.create == null && (Object.create = function(t) {
240
- function i() {
241
- }
242
- return i.prototype = t, new i();
243
- }), Date.now || (Date.now = function() {
244
- return (/* @__PURE__ */ new Date()).getTime();
245
- }), I == null) {
246
- var ve = V;
247
- V = function(t, i) {
248
- var d = i.signal;
249
- return ve(t, { headers: i.headers, credentials: i.credentials, cache: i.cache }).then(function(r) {
250
- var b = r.body.getReader();
251
- return d._reader = b, d._aborted && d._reader.cancel(), {
252
- status: r.status,
253
- statusText: r.statusText,
254
- headers: r.headers,
255
- body: {
256
- getReader: function() {
257
- return b;
258
- }
259
- }
260
- };
261
- });
262
- }, I = 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(t) {
275
- function i(E, a, o) {
276
- if (o === 1)
277
- return E >= 128 >> a && E << a <= 2047;
278
- if (o === 2)
279
- return E >= 2048 >> a && E << a <= 55295 || E >= 57344 >> a && E << a <= 65535;
280
- if (o === 3)
281
- return E >= 65536 >> a && E << a <= 1114111;
282
- throw new Error();
283
- }
284
- function d(E, a) {
285
- if (E === 6 * 1)
286
- return a >> 6 > 15 ? 3 : a > 31 ? 2 : 1;
287
- if (E === 6 * 2)
288
- return a > 15 ? 3 : 2;
289
- if (E === 6 * 3)
290
- return 3;
291
- throw new Error();
292
- }
293
- for (var r = 65533, b = "", m = this.bitsNeeded, C = this.codePoint, O = 0; O < t.length; O += 1) {
294
- var _ = t[O];
295
- m !== 0 && (_ < 128 || _ > 191 || !i(C << 6 | _ & 63, m - 6, d(m, C))) && (m = 0, C = r, b += String.fromCharCode(C)), m === 0 ? (_ >= 0 && _ <= 127 ? (m = 0, C = _) : _ >= 192 && _ <= 223 ? (m = 6 * 1, C = _ & 31) : _ >= 224 && _ <= 239 ? (m = 6 * 2, C = _ & 15) : _ >= 240 && _ <= 247 ? (m = 6 * 3, C = _ & 7) : (m = 0, C = r), m !== 0 && !i(C, m, d(m, C)) && (m = 0, C = r)) : (m -= 6, C = C << 6 | _ & 63), m === 0 && (C <= 65535 ? b += String.fromCharCode(C) : (b += String.fromCharCode(55296 + (C - 65535 - 1 >> 10)), b += String.fromCharCode(56320 + (C - 65535 - 1 & 1023))));
296
- }
297
- return this.bitsNeeded = m, this.codePoint = C, b;
298
- };
299
- var Ce = function() {
300
- try {
301
- return new S().decode(new w().encode("test"), { stream: !0 }) === "test";
302
- } catch (t) {
303
- console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + t);
304
- }
305
- return !1;
306
- };
307
- (S == null || w == null || !Ce()) && (S = ce);
308
- var P = function() {
309
- };
310
- function K(t) {
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 = t, this._sendTimeout = 0, this._abort = P;
312
- }
313
- K.prototype.open = function(t, i) {
314
- this._abort(!0);
315
- var d = this, r = this._xhr, b = 1, m = 0;
316
- this._abort = function(o) {
317
- d._sendTimeout !== 0 && (f(d._sendTimeout), d._sendTimeout = 0), (b === 1 || b === 2 || b === 3) && (b = 4, r.onload = P, r.onerror = P, r.onabort = P, r.onprogress = P, r.onreadystatechange = P, r.abort(), m !== 0 && (f(m), m = 0), o || (d.readyState = 4, d.onabort(null), d.onreadystatechange())), b = 0;
318
- };
319
- var C = function() {
320
- if (b === 1) {
321
- var o = 0, s = "", g = void 0;
322
- if ("contentType" in r)
323
- o = 200, s = "OK", g = r.contentType;
324
- else
325
- try {
326
- o = r.status, s = r.statusText, g = r.getResponseHeader("Content-Type");
327
- } catch {
328
- o = 0, s = "", g = void 0;
329
- }
330
- o !== 0 && (b = 2, d.readyState = 2, d.status = o, d.statusText = s, d._contentType = g, d.onreadystatechange());
331
- }
332
- }, O = function() {
333
- if (C(), b === 2 || b === 3) {
334
- b = 3;
335
- var o = "";
336
- try {
337
- o = r.responseText;
338
- } catch {
339
- }
340
- d.readyState = 3, d.responseText = o, d.onprogress();
341
- }
342
- }, _ = function(o, s) {
343
- if ((s == null || s.preventDefault == null) && (s = {
344
- preventDefault: P
345
- }), O(), b === 1 || b === 2 || b === 3) {
346
- if (b = 4, m !== 0 && (f(m), m = 0), d.readyState = 4, o === "load")
347
- d.onload(s);
348
- else if (o === "error")
349
- d.onerror(s);
350
- else if (o === "abort")
351
- d.onabort(s);
352
- else
353
- throw new TypeError();
354
- d.onreadystatechange();
355
- }
356
- }, E = function(o) {
357
- r != null && (r.readyState === 4 ? (!("onload" in r) || !("onerror" in r) || !("onabort" in r)) && _(r.responseText === "" ? "error" : "load", o) : r.readyState === 3 ? "onprogress" in r || O() : r.readyState === 2 && C());
358
- }, a = function() {
359
- m = h(function() {
360
- a();
361
- }, 500), r.readyState === 3 && O();
362
- };
363
- "onload" in r && (r.onload = function(o) {
364
- _("load", o);
365
- }), "onerror" in r && (r.onerror = function(o) {
366
- _("error", o);
367
- }), "onabort" in r && (r.onabort = function(o) {
368
- _("abort", o);
369
- }), "onprogress" in r && (r.onprogress = O), "onreadystatechange" in r && (r.onreadystatechange = function(o) {
370
- E(o);
371
- }), ("contentType" in r || !("ontimeout" in c.prototype)) && (i += (i.indexOf("?") === -1 ? "?" : "&") + "padding=true"), r.open(t, i, !0), "readyState" in r && (m = h(function() {
372
- a();
373
- }, 0));
374
- }, K.prototype.abort = function() {
375
- this._abort(!1);
376
- }, K.prototype.getResponseHeader = function(t) {
377
- return this._contentType;
378
- }, K.prototype.setRequestHeader = function(t, i) {
379
- var d = this._xhr;
380
- "setRequestHeader" in d && d.setRequestHeader(t, i);
381
- }, K.prototype.getAllResponseHeaders = function() {
382
- return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
383
- }, K.prototype.send = function() {
384
- if ((!("ontimeout" in c.prototype) || !("sendAsBinary" in c.prototype) && !("mozAnon" in c.prototype)) && B != null && B.readyState != null && B.readyState !== "complete") {
385
- var t = this;
386
- t._sendTimeout = h(function() {
387
- t._sendTimeout = 0, t.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 ae(t) {
400
- return t.replace(/[A-Z]/g, function(i) {
401
- return String.fromCharCode(i.charCodeAt(0) + 32);
402
- });
403
- }
404
- function le(t) {
405
- for (var i = /* @__PURE__ */ Object.create(null), d = t.split(`\r
406
- `), r = 0; r < d.length; r += 1) {
407
- var b = d[r], m = b.split(": "), C = m.shift(), O = m.join(": ");
408
- i[ae(C)] = O;
409
- }
410
- this._map = i;
411
- }
412
- le.prototype.get = function(t) {
413
- return this._map[ae(t)];
414
- }, c != null && c.HEADERS_RECEIVED == null && (c.HEADERS_RECEIVED = 2);
415
- function Q() {
416
- }
417
- Q.prototype.open = function(t, i, d, r, b, m, C) {
418
- t.open("GET", b);
419
- var O = 0;
420
- t.onprogress = function() {
421
- var E = t.responseText, a = E.slice(O);
422
- O += a.length, d(a);
423
- }, t.onerror = function(E) {
424
- E.preventDefault(), r(new Error("NetworkError"));
425
- }, t.onload = function() {
426
- r(null);
427
- }, t.onabort = function() {
428
- r(null);
429
- }, t.onreadystatechange = function() {
430
- if (t.readyState === c.HEADERS_RECEIVED) {
431
- var E = t.status, a = t.statusText, o = t.getResponseHeader("Content-Type"), s = t.getAllResponseHeaders();
432
- i(E, a, o, new le(s));
433
- }
434
- }, t.withCredentials = m;
435
- for (var _ in C)
436
- Object.prototype.hasOwnProperty.call(C, _) && t.setRequestHeader(_, C[_]);
437
- return t.send(), t;
438
- };
439
- function W(t) {
440
- this._headers = t;
441
- }
442
- W.prototype.get = function(t) {
443
- return this._headers.get(t);
444
- };
445
- function j() {
446
- }
447
- j.prototype.open = function(t, i, d, r, b, m, C) {
448
- var O = null, _ = new I(), E = _.signal, a = new S();
449
- return V(b, {
450
- headers: C,
451
- credentials: m ? "include" : "same-origin",
452
- signal: E,
453
- cache: "no-store"
454
- }).then(function(o) {
455
- return O = o.body.getReader(), i(o.status, o.statusText, o.headers.get("Content-Type"), new W(o.headers)), new D(function(s, g) {
456
- var M = function() {
457
- O.read().then(function(R) {
458
- if (R.done)
459
- s(void 0);
460
- else {
461
- var v = a.decode(R.value, { stream: !0 });
462
- d(v), M();
463
- }
464
- }).catch(function(R) {
465
- g(R);
466
- });
467
- };
468
- M();
469
- });
470
- }).catch(function(o) {
471
- if (o.name !== "AbortError")
472
- return o;
473
- }).then(function(o) {
474
- r(o);
475
- }), {
476
- abort: function() {
477
- O?.cancel(), _.abort();
478
- }
479
- };
480
- };
481
- function k() {
482
- this._listeners = /* @__PURE__ */ Object.create(null);
483
- }
484
- function x(t) {
485
- h(function() {
486
- throw t;
487
- }, 0);
488
- }
489
- k.prototype.dispatchEvent = function(t) {
490
- t.target = this;
491
- var i = this._listeners[t.type];
492
- if (i != null)
493
- for (var d = i.length, r = 0; r < d; r += 1) {
494
- var b = i[r];
495
- try {
496
- typeof b.handleEvent == "function" ? b.handleEvent(t) : b.call(this, t);
497
- } catch (m) {
498
- x(m);
499
- }
500
- }
501
- }, k.prototype.addEventListener = function(t, i) {
502
- t = String(t);
503
- var d = this._listeners, r = d[t];
504
- r == null && (r = [], d[t] = r);
505
- for (var b = !1, m = 0; m < r.length; m += 1)
506
- r[m] === i && (b = !0);
507
- b || r.push(i);
508
- }, k.prototype.removeEventListener = function(t, i) {
509
- t = String(t);
510
- var d = this._listeners, r = d[t];
511
- if (r != null) {
512
- for (var b = [], m = 0; m < r.length; m += 1)
513
- r[m] !== i && b.push(r[m]);
514
- b.length === 0 ? delete d[t] : d[t] = b;
515
- }
516
- };
517
- function U(t) {
518
- this.type = t, this.target = void 0;
519
- }
520
- function H(t, i) {
521
- U.call(this, t), this.data = i.data, this.lastEventId = i.lastEventId;
522
- }
523
- H.prototype = Object.create(U.prototype);
524
- function ne(t, i) {
525
- U.call(this, t), this.status = i.status, this.statusText = i.statusText, this.headers = i.headers;
526
- }
527
- ne.prototype = Object.create(U.prototype);
528
- function be(t, i) {
529
- U.call(this, t), this.error = i.error;
530
- }
531
- be.prototype = Object.create(U.prototype);
532
- var ie = -1, $ = 0, we = 1, u = 2, Be = -1, ue = 0, de = 1, xe = 2, je = 3, He = /^text\/event\-stream(;.*)?$/i, ze = 1e3, Me = 18e6, Re = function(t, i) {
533
- var d = t == null ? i : parseInt(t, 10);
534
- return d !== d && (d = i), De(d);
535
- }, De = function(t) {
536
- return Math.min(Math.max(t, ze), Me);
537
- }, fe = function(t, i, d) {
538
- try {
539
- typeof i == "function" && i.call(t, d);
540
- } catch (r) {
541
- x(r);
542
- }
543
- };
544
- function ee(t, i) {
545
- k.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, Ue(this, t, i);
546
- }
547
- function Ve() {
548
- return c != null && "withCredentials" in c.prototype || y == null ? new c() : new y();
549
- }
550
- var ke = V != null && F != null && "body" in F.prototype;
551
- function Ue(t, i, d) {
552
- i = String(i);
553
- var r = !!d.withCredentials, b = d.lastEventIdQueryParameterName || "lastEventId", m = De(1e3), C = Re(d.heartbeatTimeout, 45e3), O = "", _ = m, E = !1, a = 0, o = d.headers || {}, s = d.Transport, g = ke && s == null ? void 0 : new K(s != null ? new s() : Ve()), M = s != null && typeof s != "string" ? new s() : g == null ? new j() : new Q(), R = void 0, v = 0, N = ie, te = "", pe = "", se = "", he = "", J = ue, Pe = 0, Le = 0, rt = function(q, G, oe, re) {
554
- if (N === $)
555
- if (q === 200 && oe != null && He.test(oe)) {
556
- N = we, E = Date.now(), _ = m, t.readyState = we;
557
- var Z = new ne("open", {
558
- status: q,
559
- statusText: G,
560
- headers: re
561
- });
562
- t.dispatchEvent(Z), fe(t, t.onopen, Z);
563
- } else {
564
- var Y = "";
565
- q !== 200 ? (G && (G = G.replace(/\s+/g, " ")), Y = "EventSource's response has a status " + q + " " + G + " that is not 200. Aborting the connection.") : Y = "EventSource's response has a Content-Type specifying an unsupported type: " + (oe == null ? "-" : oe.replace(/\s+/g, " ")) + ". Aborting the connection.", Ge();
566
- var Z = new ne("error", {
567
- status: q,
568
- statusText: G,
569
- headers: re
570
- });
571
- t.dispatchEvent(Z), fe(t, t.onerror, Z), console.error(Y);
572
- }
573
- }, it = function(q) {
574
- if (N === we) {
575
- for (var G = -1, oe = 0; oe < q.length; oe += 1) {
576
- var re = q.charCodeAt(oe);
577
- (re === 10 || re === 13) && (G = oe);
578
- }
579
- var Z = (G !== -1 ? he : "") + q.slice(0, G + 1);
580
- he = (G === -1 ? he : "") + q.slice(G + 1), q !== "" && (E = Date.now(), a += q.length);
581
- for (var Y = 0; Y < Z.length; Y += 1) {
582
- var re = Z.charCodeAt(Y);
583
- if (J === Be && re === 10)
584
- J = ue;
585
- else if (J === Be && (J = ue), re === 13 || re === 10) {
586
- if (J !== ue) {
587
- J === de && (Le = Y + 1);
588
- var Te = Z.slice(Pe, Le - 1), Se = Z.slice(Le + (Le < Y && Z.charCodeAt(Le) === 32 ? 1 : 0), Y);
589
- Te === "data" ? (te += `
590
- `, te += Se) : Te === "id" ? pe = Se : Te === "event" ? se = Se : Te === "retry" ? (m = Re(Se, m), _ = m) : Te === "heartbeatTimeout" && (C = Re(Se, C), v !== 0 && (f(v), v = h(function() {
591
- Oe();
592
- }, C)));
593
- }
594
- if (J === ue) {
595
- if (te !== "") {
596
- O = pe, se === "" && (se = "message");
597
- var Ee = new H(se, {
598
- data: te.slice(1),
599
- lastEventId: pe
600
- });
601
- if (t.dispatchEvent(Ee), se === "open" ? fe(t, t.onopen, Ee) : se === "message" ? fe(t, t.onmessage, Ee) : se === "error" && fe(t, t.onerror, Ee), N === u)
602
- return;
603
- }
604
- te = "", se = "";
605
- }
606
- J = re === 13 ? Be : ue;
607
- } else
608
- J === ue && (Pe = Y, J = de), J === de ? re === 58 && (Le = Y + 1, J = xe) : J === xe && (J = je);
609
- }
610
- }
611
- }, qe = function(q) {
612
- if (N === we || N === $) {
613
- N = ie, v !== 0 && (f(v), v = 0), v = h(function() {
614
- Oe();
615
- }, _), _ = De(Math.min(m * 16, _ * 2)), t.readyState = $;
616
- var G = new be("error", { error: q });
617
- t.dispatchEvent(G), fe(t, t.onerror, G), q != null && console.error(q);
618
- }
619
- }, Ge = function() {
620
- N = u, R != null && (R.abort(), R = void 0), v !== 0 && (f(v), v = 0), t.readyState = u;
621
- }, Oe = function() {
622
- if (v = 0, N !== ie) {
623
- if (!E && R != null)
624
- qe(new Error("No activity within " + C + " milliseconds. " + (N === $ ? "No response received." : a + " chars received.") + " Reconnecting.")), R != null && (R.abort(), R = void 0);
625
- else {
626
- var q = Math.max((E || Date.now()) + C - Date.now(), 1);
627
- E = !1, v = h(function() {
628
- Oe();
629
- }, q);
630
- }
631
- return;
632
- }
633
- E = !1, a = 0, v = h(function() {
634
- Oe();
635
- }, C), N = $, te = "", se = "", pe = O, he = "", Pe = 0, Le = 0, J = ue;
636
- var G = i;
637
- if (i.slice(0, 5) !== "data:" && i.slice(0, 5) !== "blob:" && O !== "") {
638
- var oe = i.indexOf("?");
639
- G = oe === -1 ? i : i.slice(0, oe + 1) + i.slice(oe + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(Se, Ee) {
640
- return Ee === b ? "" : Se;
641
- }), G += (i.indexOf("?") === -1 ? "?" : "&") + b + "=" + encodeURIComponent(O);
642
- }
643
- var re = t.withCredentials, Z = {};
644
- Z.Accept = "text/event-stream";
645
- var Y = t.headers;
646
- if (Y != null)
647
- for (var Te in Y)
648
- Object.prototype.hasOwnProperty.call(Y, Te) && (Z[Te] = Y[Te]);
649
- try {
650
- R = M.open(g, rt, it, qe, G, re, Z);
651
- } catch (Se) {
652
- throw Ge(), Se;
653
- }
654
- };
655
- t.url = i, t.readyState = $, t.withCredentials = r, t.headers = o, t._close = Ge, Oe();
656
- }
657
- ee.prototype = Object.create(k.prototype), ee.prototype.CONNECTING = $, ee.prototype.OPEN = we, ee.prototype.CLOSED = u, ee.prototype.close = function() {
658
- this._close();
659
- }, ee.CONNECTING = $, ee.OPEN = we, ee.CLOSED = u, ee.prototype.withCredentials = void 0;
660
- var Fe = T;
661
- c != null && (T == null || !("withCredentials" in T.prototype)) && (Fe = ee), function(t) {
662
- {
663
- var i = t(e);
664
- i !== void 0 && (l.exports = i);
665
- }
666
- }(function(t) {
667
- t.EventSourcePolyfill = ee, t.NativeEventSource = T, t.EventSource = Fe;
668
- });
669
- })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : ct : globalThis);
670
- })(Ke, Ke.exports);
671
- var At = Ke.exports;
672
- function Lt(l) {
673
- pt(l, "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 Je(l, e, n) {
676
- const h = l.slice();
677
- return h[60] = e[n], h;
678
- }
679
- function Ze(l, e, n) {
680
- const h = l.slice();
681
- return h[63] = e[n], h;
682
- }
683
- function xt(l) {
684
- let e, n, h, f, c, y, p, T, B, D, V, F, S = (
685
- /*showBalance*/
686
- l[5] && $e(l)
687
- );
688
- return {
689
- c() {
690
- e = z("button"), n = z("p"), h = Ae(
691
- /*displayBalance*/
692
- l[7]
693
- ), f = me(), c = z("span"), y = We("svg"), p = We("path"), B = me(), S && S.c(), D = bt(), A(p, "id", "arrow"), A(p, "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"), A(p, "transform", "translate(-274.511 -441.088)"), A(p, "fill", "#d1d1d1"), A(y, "xmlns", "http://www.w3.org/2000/svg"), A(y, "width", "14"), A(y, "height", "6.835"), A(y, "viewBox", "0 0 14 6.835"), A(c, "class", T = /*isModalDisplayed*/
694
- l[4] ? "TriangleActive" : "TriangleInactive"), A(e, "class", "BalanceValue");
695
- },
696
- m(w, I) {
697
- ye(w, e, I), L(e, n), L(n, h), L(e, f), L(e, c), L(c, y), L(y, p), ye(w, B, I), S && S.m(w, I), ye(w, D, I), V || (F = Ne(
698
- e,
699
- "click",
700
- /*click_handler*/
701
- l[31]
702
- ), V = !0);
703
- },
704
- p(w, I) {
705
- I[0] & /*displayBalance*/
706
- 128 && _e(
707
- h,
708
- /*displayBalance*/
709
- w[7]
710
- ), I[0] & /*isModalDisplayed*/
711
- 16 && T !== (T = /*isModalDisplayed*/
712
- w[4] ? "TriangleActive" : "TriangleInactive") && A(c, "class", T), /*showBalance*/
713
- w[5] ? S ? S.p(w, I) : (S = $e(w), S.c(), S.m(D.parentNode, D)) : S && (S.d(1), S = null);
714
- },
715
- d(w) {
716
- w && (ge(e), ge(B), ge(D)), S && S.d(w), V = !1, F();
717
- }
718
- };
719
- }
720
- function Rt(l) {
721
- let e, n = (
722
- /*$_*/
723
- l[8]("Loading") + ""
724
- ), h;
725
- return {
726
- c() {
727
- e = z("p"), h = Ae(n), A(e, "class", "Loading");
728
- },
729
- m(f, c) {
730
- ye(f, e, c), L(e, h);
731
- },
732
- p(f, c) {
733
- c[0] & /*$_*/
734
- 256 && n !== (n = /*$_*/
735
- f[8]("Loading") + "") && _e(h, n);
736
- },
737
- d(f) {
738
- f && ge(e);
739
- }
740
- };
741
- }
742
- function $e(l) {
743
- let e, n, h, f, c, y, p, T, B = (
744
- /*$_*/
745
- l[8]("Title") + ""
746
- ), D, V, F, S, w, I, ve = (
747
- /*$_*/
748
- l[8]("DepositButton") + ""
749
- ), ce, Ce, P, K, ae, le, Q, W = Ie(Object.keys(
750
- /*balances*/
751
- l[2]
752
- )), j = [];
753
- for (let x = 0; x < W.length; x += 1)
754
- j[x] = tt(Je(l, W, x));
755
- let k = (
756
- /*balancelimitsbutton*/
757
- l[0] === "true" && at(l)
758
- );
759
- return {
760
- c() {
761
- e = z("div"), n = z("button"), f = me(), c = z("div"), y = z("div"), p = z("div"), T = z("p"), D = Ae(B), V = me(), F = z("div");
762
- for (let x = 0; x < j.length; x += 1)
763
- j[x].c();
764
- S = me(), w = z("div"), I = z("button"), ce = Ae(ve), Ce = me(), k && k.c(), A(n, "class", h = "BalanceModalClose " + /*isModalDisplayed*/
765
- (l[4] ? "Open" : "")), A(T, "class", "BalanceModalTitle"), A(p, "class", "BalanceModalHeader"), A(F, "class", "BalanceModalBody"), A(I, "class", "BalanceModalAction DepositButton"), A(w, "class", "BalanceModalFooter"), A(y, "class", P = "ModalContent " + /*isModalDisplayed*/
766
- (l[4] ? "Open" : "")), A(c, "class", K = "BalanceModal " + /*isModalDisplayed*/
767
- (l[4] ? "Open" : "")), A(e, "class", ae = "BalanceModalWrapper " + /*isModalDisplayed*/
768
- (l[4] ? "Open" : ""));
769
- },
770
- m(x, U) {
771
- ye(x, e, U), L(e, n), L(e, f), L(e, c), L(c, y), L(y, p), L(p, T), L(T, D), L(y, V), L(y, F);
772
- for (let H = 0; H < j.length; H += 1)
773
- j[H] && j[H].m(F, null);
774
- L(y, S), L(y, w), L(w, I), L(I, ce), L(w, Ce), k && k.m(w, null), le || (Q = [
775
- Ne(
776
- n,
777
- "click",
778
- /*click_handler_1*/
779
- l[32]
780
- ),
781
- Ne(
782
- I,
783
- "click",
784
- /*click_handler_2*/
785
- l[33]
786
- )
787
- ], le = !0);
788
- },
789
- p(x, U) {
790
- if (U[0] & /*isModalDisplayed*/
791
- 16 && h !== (h = "BalanceModalClose " + /*isModalDisplayed*/
792
- (x[4] ? "Open" : "")) && A(n, "class", h), U[0] & /*$_*/
793
- 256 && B !== (B = /*$_*/
794
- x[8]("Title") + "") && _e(D, B), U[0] & /*balances, formatBalance, getProductType, $_*/
795
- 5380) {
796
- W = Ie(Object.keys(
797
- /*balances*/
798
- x[2]
799
- ));
800
- let H;
801
- for (H = 0; H < W.length; H += 1) {
802
- const ne = Je(x, W, H);
803
- j[H] ? j[H].p(ne, U) : (j[H] = tt(ne), j[H].c(), j[H].m(F, null));
804
- }
805
- for (; H < j.length; H += 1)
806
- j[H].d(1);
807
- j.length = W.length;
808
- }
809
- U[0] & /*$_*/
810
- 256 && ve !== (ve = /*$_*/
811
- x[8]("DepositButton") + "") && _e(ce, ve), /*balancelimitsbutton*/
812
- x[0] === "true" ? k ? k.p(x, U) : (k = at(x), k.c(), k.m(w, null)) : k && (k.d(1), k = null), U[0] & /*isModalDisplayed*/
813
- 16 && P !== (P = "ModalContent " + /*isModalDisplayed*/
814
- (x[4] ? "Open" : "")) && A(y, "class", P), U[0] & /*isModalDisplayed*/
815
- 16 && K !== (K = "BalanceModal " + /*isModalDisplayed*/
816
- (x[4] ? "Open" : "")) && A(c, "class", K), U[0] & /*isModalDisplayed*/
817
- 16 && ae !== (ae = "BalanceModalWrapper " + /*isModalDisplayed*/
818
- (x[4] ? "Open" : "")) && A(e, "class", ae);
819
- },
820
- d(x) {
821
- x && ge(e), ot(j, x), k && k.d(), le = !1, wt(Q);
822
- }
823
- };
824
- }
825
- function et(l) {
826
- let e, n, h = (
827
- /*$_*/
828
- l[8](
829
- /*k*/
830
- l[60]
831
- ) + ""
832
- ), f, c, y = (
833
- /*getProductType*/
834
- l[12](
835
- /*balance*/
836
- l[63]
837
- ) + ""
838
- ), p, T, B, D, V = (
839
- /*formatBalance*/
840
- l[10](
841
- /*balance*/
842
- l[63].amount
843
- ) + ""
844
- ), F;
845
- return {
846
- c() {
847
- e = z("div"), n = z("p"), f = Ae(h), c = me(), p = Ae(y), T = me(), B = z("p"), D = z("span"), F = Ae(V), A(n, "class", "BalanceModalText"), A(D, "class", "BalanceModalAmount"), A(B, "class", "BalanceModalValue"), A(e, "class", "BalanceModalRowLine");
848
- },
849
- m(S, w) {
850
- ye(S, e, w), L(e, n), L(n, f), L(n, c), L(n, p), L(e, T), L(e, B), L(B, D), L(D, F);
851
- },
852
- p(S, w) {
853
- w[0] & /*$_, balances*/
854
- 260 && h !== (h = /*$_*/
855
- S[8](
856
- /*k*/
857
- S[60]
858
- ) + "") && _e(f, h), w[0] & /*balances*/
859
- 4 && y !== (y = /*getProductType*/
860
- S[12](
861
- /*balance*/
862
- S[63]
863
- ) + "") && _e(p, y), w[0] & /*balances*/
864
- 4 && V !== (V = /*formatBalance*/
865
- S[10](
866
- /*balance*/
867
- S[63].amount
868
- ) + "") && _e(F, V);
869
- },
870
- d(S) {
871
- S && ge(e);
872
- }
873
- };
874
- }
875
- function tt(l) {
876
- let e, n, h = Ie(
877
- /*balances*/
878
- l[2][
879
- /*k*/
880
- l[60]
881
- ]
882
- ), f = [];
883
- for (let c = 0; c < h.length; c += 1)
884
- f[c] = et(Ze(l, h, c));
885
- return {
886
- c() {
887
- e = z("div");
888
- for (let c = 0; c < f.length; c += 1)
889
- f[c].c();
890
- n = me(), A(e, "class", "BalanceModalRowBoth");
891
- },
892
- m(c, y) {
893
- ye(c, e, y);
894
- for (let p = 0; p < f.length; p += 1)
895
- f[p] && f[p].m(e, null);
896
- L(e, n);
897
- },
898
- p(c, y) {
899
- if (y[0] & /*formatBalance, balances, getProductType, $_*/
900
- 5380) {
901
- h = Ie(
902
- /*balances*/
903
- c[2][
904
- /*k*/
905
- c[60]
906
- ]
907
- );
908
- let p;
909
- for (p = 0; p < h.length; p += 1) {
910
- const T = Ze(c, h, p);
911
- f[p] ? f[p].p(T, y) : (f[p] = et(T), f[p].c(), f[p].m(e, n));
912
- }
913
- for (; p < f.length; p += 1)
914
- f[p].d(1);
915
- f.length = h.length;
916
- }
917
- },
918
- d(c) {
919
- c && ge(e), ot(f, c);
920
- }
921
- };
922
- }
923
- function at(l) {
924
- let e, n = (
925
- /*$_*/
926
- l[8]("LimitsButton") + ""
927
- ), h, f, c;
928
- return {
929
- c() {
930
- e = z("button"), h = Ae(n), A(e, "class", "BalanceModalAction LimitsButton");
931
- },
932
- m(y, p) {
933
- ye(y, e, p), L(e, h), f || (c = Ne(
934
- e,
935
- "click",
936
- /*click_handler_3*/
937
- l[34]
938
- ), f = !0);
939
- },
940
- p(y, p) {
941
- p[0] & /*$_*/
942
- 256 && n !== (n = /*$_*/
943
- y[8]("LimitsButton") + "") && _e(h, n);
944
- },
945
- d(y) {
946
- y && ge(e), f = !1, c();
947
- }
948
- };
949
- }
950
- function nt(l) {
951
- let e, n, h;
952
- return {
953
- c() {
954
- e = z("button"), A(e, "class", "ShowBalanceModalOverlay");
955
- },
956
- m(f, c) {
957
- ye(f, e, c), n || (h = Ne(
958
- e,
959
- "click",
960
- /*click_handler_4*/
961
- l[35]
962
- ), n = !0);
963
- },
964
- p: Xe,
965
- d(f) {
966
- f && ge(e), n = !1, h();
967
- }
968
- };
969
- }
970
- function Et(l) {
971
- let e, n, h, f;
972
- function c(B, D) {
973
- return (
974
- /*isLoading*/
975
- B[3] ? Rt : xt
976
- );
977
- }
978
- let y = c(l), p = y(l), T = (
979
- /*showBalance*/
980
- l[5] && nt(l)
981
- );
982
- return {
983
- c() {
984
- e = z("div"), n = z("div"), p.c(), f = me(), T && T.c(), A(n, "class", h = "ShowBalance " + /*mobileView*/
985
- (l[6] ? "Mobile" : ""));
986
- },
987
- m(B, D) {
988
- ye(B, e, D), L(e, n), p.m(n, null), L(e, f), T && T.m(e, null), l[36](e);
989
- },
990
- p(B, D) {
991
- y === (y = c(B)) && p ? p.p(B, D) : (p.d(1), p = y(B), p && (p.c(), p.m(n, null))), D[0] & /*mobileView*/
992
- 64 && h !== (h = "ShowBalance " + /*mobileView*/
993
- (B[6] ? "Mobile" : "")) && A(n, "class", h), /*showBalance*/
994
- B[5] ? T ? T.p(B, D) : (T = nt(B), T.c(), T.m(e, null)) : T && (T.d(1), T = null);
995
- },
996
- i: Xe,
997
- o: Xe,
998
- d(B) {
999
- B && ge(e), p.d(), T && T.d(), l[36](null);
1000
- }
1001
- };
1002
- }
1003
- function Mt(l, e, n) {
1004
- let h;
1005
- ht(l, mt, (a) => n(8, h = a));
1006
- let { userid: f = "" } = e, { session: c = "" } = e, { endpoint: y = "" } = e, { lang: p = "en" } = e, { mbsource: T = "" } = e, { clientstyling: B = "" } = e, { clientstylingurl: D = "" } = e, { translationurl: V = "" } = e, { gmversion: F = "gm16" } = e, { displaybalanceoption: S = "All" } = e, { totalcalculationmode: w = "totalCashAmount" } = e, { primarybalancemode: I } = e, { balancelimitsbutton: ve = "false" } = e, { hideproducttype: ce = "" } = e, { currencylocale: Ce = "en" } = e, { currencydisplay: P = "symbol" } = e, { maximumfractiondigits: K = "2" } = e, { minimumfractiondigits: ae = "0" } = e, { customdisplayformat: le = "" } = e, Q, W = !0, j = !1, k = !1, x = !1, U = !1, H = window.navigator.userAgent, ne, be = "", ie = [], $, we = "0";
1007
- const u = {}, Be = ["totalCashAmount", "totalRealAmount"], ue = () => {
1008
- fetch(V).then((a) => a.json()).then((a) => Object.keys(a).forEach((o) => Ye(o, a[o]))).catch((a) => console.log(a));
1009
- };
1010
- Object.keys(Qe).forEach((a) => Ye(a, Qe[a]));
1011
- const de = (a) => {
1012
- switch (a) {
1013
- case "balance":
1014
- window.postMessage(
1015
- {
1016
- type: "BalanceModalStatus",
1017
- status: "open"
1018
- },
1019
- window.location.href
1020
- ), n(5, x = !0), setTimeout(() => n(4, j = !0), 150);
1021
- break;
1022
- case "closebalance":
1023
- n(4, j = !1), window.postMessage(
1024
- {
1025
- type: "BalanceModalStatus",
1026
- status: "close"
1027
- },
1028
- window.location.href
1029
- ), setTimeout(
1030
- () => {
1031
- n(5, x = !1);
1032
- },
1033
- 150
1034
- );
1035
- break;
1036
- }
1037
- }, xe = (a) => {
1038
- if (le)
1039
- return je(a);
1040
- const o = Ce || p, s = {
1041
- style: "currency",
1042
- currency: be,
1043
- useGrouping: !0,
1044
- currencyDisplay: P || "code",
1045
- maximumFractionDigits: K === "" || isNaN(Number(K)) ? 2 : Number(K),
1046
- minimumFractionDigits: ae === "" || isNaN(Number(ae)) ? 0 : Number(ae)
1047
- };
1048
- return new Intl.NumberFormat(o, s).format(a);
1049
- }, je = (a) => {
1050
- const o = [];
1051
- let s = "";
1052
- for (const g of le)
1053
- switch (g) {
1054
- default:
1055
- s += g;
1056
- break;
1057
- case "{":
1058
- s && o.push(s), s = "";
1059
- break;
1060
- case "}":
1061
- const [M, R] = s.split("|");
1062
- if (s = "", M.toLowerCase() === "currency")
1063
- s = be;
1064
- else if (M.toLowerCase() === "amount") {
1065
- let v = ",", N = ".", te = 2;
1066
- R && (R[0] !== " " && (v = R[0]), R[1] !== " " && (N = R[1]), R[2] !== " " && !isNaN(Number(R[2])) && (te = Number(R[2])));
1067
- let [pe, se] = String(Math.floor(a * 10 ** te) / 10 ** te).split(".");
1068
- s += pe[0];
1069
- for (let he = 1; he < pe.length; ++he)
1070
- (pe.length - he) % 3 === 0 ? s += v + pe[he] : s += pe[he];
1071
- se && (s += N + se);
1072
- }
1073
- s && o.push(s), s = "";
1074
- break;
1075
- }
1076
- return o.push(s), o.join("");
1077
- }, He = async () => {
1078
- n(3, W = !0);
1079
- const a = new URL(`${y}/v1/player/${f}/account`);
1080
- try {
1081
- const o = await fetch(a, {
1082
- method: "GET",
1083
- headers: { "X-SessionID": c }
1084
- }), s = await o.json();
1085
- if (o.ok)
1086
- window.postMessage({ type: "BalancedFetched" }, window.location.href), ie = s.items, be = ie.find((g) => g.displayName === "Casino")?.currency, n(2, u.Total = [{ amount: s.totalAmount[be] }], u), n(
1087
- 2,
1088
- u.Real = [
1089
- {
1090
- amount: ie.find((g) => g.displayName === "Casino")?.balanceAmount
1091
- }
1092
- ],
1093
- u
1094
- ), n(
1095
- 2,
1096
- u.Bonus = [
1097
- {
1098
- amount: ie.find((g) => g.displayName === "UBS")?.balanceAmount
1099
- }
1100
- ],
1101
- u
1102
- );
1103
- else
1104
- throw new Error("Failed to fetch balance data !");
1105
- } catch (o) {
1106
- console.log("Balance error: ", o);
1107
- } finally {
1108
- n(3, W = !1);
1109
- }
1110
- }, ze = () => {
1111
- n(3, W = !0);
1112
- const a = new URL(`${y}/v2/player/${f}/balance`), o = new Headers();
1113
- o.append("X-SessionID", c), fetch(a, { method: "GET", headers: o }).then((g) => g.json()).then((g) => {
1114
- g[w] || n(13, w = Be[0]);
1115
- const M = g.items.find((v) => v.type === "Real" && v.walletAccountType === "Ordinary");
1116
- if (be = M.currency, k = !!M.productType, n(2, u.Total = [{ amount: 0 }], u), n(2, u.Real = [], u), n(2, u.Bonus = [], u), n(2, u.Credit = [], u), !k) {
1117
- $ = {
1118
- lastOrdinaryAfterAmount: 0,
1119
- showCreditLineAfterAmount: !1
1120
- }, n(2, u.Total[0].amount = g[w][be], u);
1121
- for (const v of g.items)
1122
- switch (v.type) {
1123
- case "Bonus":
1124
- u.Bonus.length === 0 ? u.Bonus.push({ amount: v.amount }) : n(2, u.Bonus[0].amount += v.amount, u);
1125
- break;
1126
- case "Real":
1127
- if (v.creditLine && u.Credit.length === 0 && u.Credit.push({ amount: v.creditLine }), w === "totalRealAmount")
1128
- continue;
1129
- u.Real.length === 0 ? u.Real.push({ amount: v.amount }) : n(2, u.Real[0].amount += v.amount, u);
1130
- break;
1131
- }
1132
- for (const [v, N] of Object.entries(u))
1133
- N.length < 1 && delete u[v];
1134
- n(3, W = !1);
1135
- return;
1136
- }
1137
- $ = {
1138
- Casino: {
1139
- lastOrdinaryAfterAmount: 0,
1140
- showCreditLineAfterAmount: !1
1141
- },
1142
- Sports: {
1143
- lastOrdinaryAfterAmount: 0,
1144
- showCreditLineAfterAmount: !1
1145
- }
1146
- };
1147
- let R = g.items;
1148
- S && S !== "All" && (R = g.items.filter((v) => v.productType === S));
1149
- for (const v of R) {
1150
- let N;
1151
- switch (v.type) {
1152
- case "Bonus":
1153
- N = u.Bonus.findIndex((te) => te.productType === v.productType), N > 0 ? n(2, u.Bonus[N].amount += v.amount, u) : u.Bonus.push({
1154
- amount: v.amount,
1155
- productType: v.productType
1156
- });
1157
- break;
1158
- case "Real":
1159
- v.creditLine && u.Credit.push({
1160
- amount: v.creditLine,
1161
- productType: v.productType
1162
- }), N = u.Real.findIndex((te) => te.productType === v.productType), N > 0 ? n(2, u.Real[N].amount += v.amount, u) : u.Real.push({
1163
- amount: v.amount,
1164
- productType: v.productType
1165
- });
1166
- break;
1167
- }
1168
- }
1169
- ee();
1170
- for (const [v, N] of Object.entries(u))
1171
- N.length < 1 && delete u[v];
1172
- window.postMessage({ type: "playerBalanceInfo", balance: g }, window.location.href), n(3, W = !1);
1173
- }).catch((g) => {
1174
- throw n(3, W = !1), console.log("Balance fetch error", g), new Error("Failed to fetch balance data!");
1175
- });
1176
- }, Me = () => {
1177
- if (ne && ne.close(), c.length < 1)
1178
- return;
1179
- let a, o;
1180
- switch (F) {
1181
- case "gm16":
1182
- a = new URL(`${y}/v2/player/${f}/information/updates`), o = (M) => Ve(M);
1183
- break;
1184
- case "gmcore":
1185
- a = new URL(`${y}/v1/player/${f}/balance/updates`), o = (M) => De(M);
1186
- break;
1187
- }
1188
- const s = {
1189
- accept: "text/event-stream",
1190
- "X-SessionId": c
1191
- }, g = new At.EventSourcePolyfill(a, { headers: s });
1192
- ne = g, g.addEventListener("message", o);
1193
- }, Re = (a) => {
1194
- let o;
1195
- try {
1196
- o = JSON.parse(a);
1197
- } catch (s) {
1198
- console.log("Balance stream failed: ", s);
1199
- return;
1200
- }
1201
- return o;
1202
- }, De = (a) => {
1203
- const o = Re(a.data);
1204
- if (!o) {
1205
- Me();
1206
- return;
1207
- }
1208
- let s = "0";
1209
- const g = o.balanceChange;
1210
- ie = ie.map((M) => (g && g[M.id] && (M = {
1211
- ...M,
1212
- balanceAmount: g[M.id].afterAmount
1213
- }), s = (parseFloat(M?.balanceAmount) + parseFloat(s)).toString(), M)), n(2, u.Real = [{ amount: ie[0]?.balanceAmount }], u), n(2, u.Bonus = [{ amount: ie[1]?.balanceAmount }], u), n(2, u.Total = [{ amount: Number(s) }], u);
1214
- }, fe = (a, o, s) => {
1215
- let g = null;
1216
- switch (s.walletAccountType) {
1217
- case "Ordinary":
1218
- (s.afterAmount !== s.affectedAmount || o.lastOrdinaryAfterAmount === 0) && (o.lastOrdinaryAfterAmount = s.afterAmount, o.showCreditLineAfterAmount || (g = s.afterAmount));
1219
- break;
1220
- case "CreditLine":
1221
- s.afterAmount !== 0 ? (g = s.afterAmount, o.showCreditLineAfterAmount = !0) : (g = o.lastOrdinaryAfterAmount, o.showCreditLineAfterAmount = !1);
1222
- break;
1223
- default:
1224
- g = s.afterAmount;
1225
- }
1226
- return g === null ? a : g;
1227
- }, ee = () => {
1228
- switch (w) {
1229
- case "totalCashAmount":
1230
- let a = 0;
1231
- for (const s of ["Real", "Bonus"])
1232
- for (const g of u[s])
1233
- a += Math.max(g.amount, 0);
1234
- n(2, u.Total[0].amount = a, u);
1235
- break;
1236
- case "totalRealAmount":
1237
- if (!k)
1238
- return;
1239
- let o = 0;
1240
- for (const s of u.Real)
1241
- o += s.amount;
1242
- n(2, u.Total[0].amount = o, u);
1243
- }
1244
- }, Ve = (a) => {
1245
- const o = Re(a.data);
1246
- if (!o) {
1247
- Me();
1248
- return;
1249
- }
1250
- if (Ue(o?.type) || o.type !== "BALANCE_UPDATE_V2")
1251
- return;
1252
- const s = o.body.balanceChange;
1253
- for (const [g, M] of Object.entries(s))
1254
- if (w === "totalRealAmount" && g === "Real" && !k && n(2, u.Total[0].amount = fe(u.Total[0].amount, $, M), u), !!u[g])
1255
- for (const R of u[g]) {
1256
- if (!k) {
1257
- R.amount = g === "Real" ? fe(R.amount, $, M) : M.afterAmount;
1258
- continue;
1259
- }
1260
- M.productType === R.productType && (R.amount = g === "Real" ? fe(R.amount, $[R.productType], M) : M.afterAmount);
1261
- }
1262
- ee();
1263
- }, ke = (a) => {
1264
- switch (de("closebalance"), a) {
1265
- case "deposit":
1266
- window.postMessage({ type: "GoToDeposit" }, window.location.href);
1267
- break;
1268
- case "limits":
1269
- window.postMessage({ type: "GoToLimits" }, window.location.href);
1270
- break;
1271
- }
1272
- typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
1273
- }, Ue = (a) => a === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, Fe = () => {
1274
- Be.includes(w) || (console.error(`Unsupported value ('${w}') for totalcalculationmode parameter. Only the following values are supported ${Be}. Using default value ('${Be[0]}').`), n(13, w = Be[0]));
1275
- }, t = () => {
1276
- switch (_t(p), Fe(), F) {
1277
- case "gmcore":
1278
- He();
1279
- break;
1280
- case "gm16":
1281
- ze();
1282
- break;
1283
- default:
1284
- throw Error(`Invalid apiversion attribute: ${F}`);
1285
- }
1286
- }, i = (a) => {
1287
- const { data: { type: o } = {} } = a || {};
1288
- switch (o) {
1289
- case "LogoutSuccessfull":
1290
- ne.close();
1291
- break;
1292
- case "CloseBalance":
1293
- de("closebalance");
1294
- break;
1295
- }
1296
- }, d = () => {
1297
- window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
1298
- }, r = (a) => {
1299
- const o = ce.split(",").map((s) => s.trim());
1300
- return !a.productType || o.includes(a.productType) ? "" : h(a.productType);
1301
- };
1302
- gt(() => (window.addEventListener("message", i, !1), n(6, U = yt(H)), () => {
1303
- window.removeEventListener("message", i), ne && ne.close();
1304
- }));
1305
- const b = () => de("balance"), m = () => de("closebalance"), C = () => ke("deposit"), O = () => ke("limits"), _ = () => de("closebalance");
1306
- function E(a) {
1307
- vt[a ? "unshift" : "push"](() => {
1308
- Q = a, n(1, Q);
1309
- });
1310
- }
1311
- return l.$$set = (a) => {
1312
- "userid" in a && n(14, f = a.userid), "session" in a && n(15, c = a.session), "endpoint" in a && n(16, y = a.endpoint), "lang" in a && n(17, p = a.lang), "mbsource" in a && n(18, T = a.mbsource), "clientstyling" in a && n(19, B = a.clientstyling), "clientstylingurl" in a && n(20, D = a.clientstylingurl), "translationurl" in a && n(21, V = a.translationurl), "gmversion" in a && n(22, F = a.gmversion), "displaybalanceoption" in a && n(23, S = a.displaybalanceoption), "totalcalculationmode" in a && n(13, w = a.totalcalculationmode), "primarybalancemode" in a && n(24, I = a.primarybalancemode), "balancelimitsbutton" in a && n(0, ve = a.balancelimitsbutton), "hideproducttype" in a && n(25, ce = a.hideproducttype), "currencylocale" in a && n(26, Ce = a.currencylocale), "currencydisplay" in a && n(27, P = a.currencydisplay), "maximumfractiondigits" in a && n(28, K = a.maximumfractiondigits), "minimumfractiondigits" in a && n(29, ae = a.minimumfractiondigits), "customdisplayformat" in a && n(30, le = a.customdisplayformat);
1313
- }, l.$$.update = () => {
1314
- l.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
1315
- 12828672 && y && f && c && p && F && S && t(), l.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
1316
- 4308992 && y && f && c && F && Me(), l.$$.dirty[0] & /*translationurl*/
1317
- 2097152 && V && ue(), l.$$.dirty[0] & /*balances*/
1318
- 4 && u.Total && d(), l.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1319
- 524290 && B && Q && Bt(Q, B), l.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1320
- 1048578 && D && Q && Tt(Q, D), l.$$.dirty[0] & /*mbsource, customStylingContainer*/
1321
- 262146 && T && Q && St(Q, `${T}.Style`), l.$$.dirty[0] & /*primarybalancemode, balances*/
1322
- 16777220 && n(7, we = (() => {
1323
- switch (I) {
1324
- case "Real":
1325
- return u.Real ? xe(u.Real[0].amount) : "0";
1326
- default:
1327
- return u.Total ? xe(u.Total[0].amount) : "0";
1328
- }
1329
- })());
1330
- }, [
1331
- ve,
1332
- Q,
1333
- u,
1334
- W,
1335
- j,
1336
- x,
1337
- U,
1338
- we,
1339
- h,
1340
- de,
1341
- xe,
1342
- ke,
1343
- r,
1344
- w,
1345
- f,
1346
- c,
1347
- y,
1348
- p,
1349
- T,
1350
- B,
1351
- D,
1352
- V,
1353
- F,
1354
- S,
1355
- I,
1356
- ce,
1357
- Ce,
1358
- P,
1359
- K,
1360
- ae,
1361
- le,
1362
- b,
1363
- m,
1364
- C,
1365
- O,
1366
- _,
1367
- E
1368
- ];
1369
- }
1370
- class Dt extends ut {
1371
- constructor(e) {
1372
- super(), dt(
1373
- this,
1374
- e,
1375
- Mt,
1376
- Et,
1377
- ft,
1378
- {
1379
- userid: 14,
1380
- session: 15,
1381
- endpoint: 16,
1382
- lang: 17,
1383
- mbsource: 18,
1384
- clientstyling: 19,
1385
- clientstylingurl: 20,
1386
- translationurl: 21,
1387
- gmversion: 22,
1388
- displaybalanceoption: 23,
1389
- totalcalculationmode: 13,
1390
- primarybalancemode: 24,
1391
- balancelimitsbutton: 0,
1392
- hideproducttype: 25,
1393
- currencylocale: 26,
1394
- currencydisplay: 27,
1395
- maximumfractiondigits: 28,
1396
- minimumfractiondigits: 29,
1397
- customdisplayformat: 30
1398
- },
1399
- Lt,
1400
- [-1, -1, -1]
1401
- );
1402
- }
1403
- get userid() {
1404
- return this.$$.ctx[14];
1405
- }
1406
- set userid(e) {
1407
- this.$$set({ userid: e }), X();
1408
- }
1409
- get session() {
1410
- return this.$$.ctx[15];
1411
- }
1412
- set session(e) {
1413
- this.$$set({ session: e }), X();
1414
- }
1415
- get endpoint() {
1416
- return this.$$.ctx[16];
1417
- }
1418
- set endpoint(e) {
1419
- this.$$set({ endpoint: e }), X();
1420
- }
1421
- get lang() {
1422
- return this.$$.ctx[17];
1423
- }
1424
- set lang(e) {
1425
- this.$$set({ lang: e }), X();
1426
- }
1427
- get mbsource() {
1428
- return this.$$.ctx[18];
1429
- }
1430
- set mbsource(e) {
1431
- this.$$set({ mbsource: e }), X();
1432
- }
1433
- get clientstyling() {
1434
- return this.$$.ctx[19];
1435
- }
1436
- set clientstyling(e) {
1437
- this.$$set({ clientstyling: e }), X();
1438
- }
1439
- get clientstylingurl() {
1440
- return this.$$.ctx[20];
1441
- }
1442
- set clientstylingurl(e) {
1443
- this.$$set({ clientstylingurl: e }), X();
1444
- }
1445
- get translationurl() {
1446
- return this.$$.ctx[21];
1447
- }
1448
- set translationurl(e) {
1449
- this.$$set({ translationurl: e }), X();
1450
- }
1451
- get gmversion() {
1452
- return this.$$.ctx[22];
1453
- }
1454
- set gmversion(e) {
1455
- this.$$set({ gmversion: e }), X();
1456
- }
1457
- get displaybalanceoption() {
1458
- return this.$$.ctx[23];
1459
- }
1460
- set displaybalanceoption(e) {
1461
- this.$$set({ displaybalanceoption: e }), X();
1462
- }
1463
- get totalcalculationmode() {
1464
- return this.$$.ctx[13];
1465
- }
1466
- set totalcalculationmode(e) {
1467
- this.$$set({ totalcalculationmode: e }), X();
1468
- }
1469
- get primarybalancemode() {
1470
- return this.$$.ctx[24];
1471
- }
1472
- set primarybalancemode(e) {
1473
- this.$$set({ primarybalancemode: e }), X();
1474
- }
1475
- get balancelimitsbutton() {
1476
- return this.$$.ctx[0];
1477
- }
1478
- set balancelimitsbutton(e) {
1479
- this.$$set({ balancelimitsbutton: e }), X();
1480
- }
1481
- get hideproducttype() {
1482
- return this.$$.ctx[25];
1483
- }
1484
- set hideproducttype(e) {
1485
- this.$$set({ hideproducttype: e }), X();
1486
- }
1487
- get currencylocale() {
1488
- return this.$$.ctx[26];
1489
- }
1490
- set currencylocale(e) {
1491
- this.$$set({ currencylocale: e }), X();
1492
- }
1493
- get currencydisplay() {
1494
- return this.$$.ctx[27];
1495
- }
1496
- set currencydisplay(e) {
1497
- this.$$set({ currencydisplay: e }), X();
1498
- }
1499
- get maximumfractiondigits() {
1500
- return this.$$.ctx[28];
1501
- }
1502
- set maximumfractiondigits(e) {
1503
- this.$$set({ maximumfractiondigits: e }), X();
1504
- }
1505
- get minimumfractiondigits() {
1506
- return this.$$.ctx[29];
1507
- }
1508
- set minimumfractiondigits(e) {
1509
- this.$$set({ minimumfractiondigits: e }), X();
1510
- }
1511
- get customdisplayformat() {
1512
- return this.$$.ctx[30];
1513
- }
1514
- set customdisplayformat(e) {
1515
- this.$$set({ customdisplayformat: e }), X();
1516
- }
1517
- }
1518
- Ct(Dt, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, primarybalancemode: {}, balancelimitsbutton: {}, hideproducttype: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
1519
- export {
1520
- Dt as default
1521
- };