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