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