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