@everymatrix/casino-header-controller-nd 1.84.3 → 1.85.1

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