@everymatrix/casino-header-controller-nd 1.44.0 → 1.45.0

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