@everymatrix/casino-header-controller 1.41.0 → 1.42.69

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 (74) hide show
  1. package/components/CasinoHamburgerMenu-1gQg-ZIY.cjs +8 -0
  2. package/components/CasinoHamburgerMenu-2pFb6wZl.js +5307 -0
  3. package/components/CasinoHamburgerMenu-B7azgUM1.js +5309 -0
  4. package/components/CasinoHamburgerMenu-BrADPgID.js +5345 -0
  5. package/components/CasinoHamburgerMenu-C4GmkZHL.js +5347 -0
  6. package/components/CasinoHamburgerMenu-CMBkzntP.cjs +8 -0
  7. package/components/CasinoHamburgerMenu-CO6TdI1h.js +5319 -0
  8. package/components/CasinoHamburgerMenu-G_FPFhtq.cjs +8 -0
  9. package/components/CasinoHamburgerMenu-fVT1Bp2V.js +5357 -0
  10. package/components/CasinoHeaderController-BZIhHS4u.cjs +13 -0
  11. package/components/CasinoHeaderController-BmOBKBem.js +3561 -0
  12. package/components/CasinoHeaderController-C45Gp_Sf.js +3573 -0
  13. package/components/CasinoHeaderController-CQws9ndQ.js +3561 -0
  14. package/components/CasinoHeaderController-DQGnKC0A.cjs +13 -0
  15. package/components/CasinoHeaderController-DYGG7IrC.cjs +13 -0
  16. package/components/CasinoHeaderController-Dfl2F1fA.js +3590 -0
  17. package/components/CasinoHeaderController-LSfZUCvD.js +3590 -0
  18. package/components/CasinoHeaderController-Tze6cxM6.js +3561 -0
  19. package/components/CasinoHeaderController-UDtLt9Je.js +3590 -0
  20. package/components/CasinoHeaderController-duupWsAL.cjs +13 -0
  21. package/components/CasinoHeaderController-wBzmrgsG.js +3602 -0
  22. package/components/CasinoSlider-B2V4KV2_.js +794 -0
  23. package/components/CasinoSlider-B37dextc.js +788 -0
  24. package/components/CasinoSlider-BhJTFE93.cjs +1 -0
  25. package/components/CasinoSlider-C35KPhyt.js +788 -0
  26. package/components/CasinoSlider-C8lA6Gz3.cjs +1 -0
  27. package/components/CasinoSlider-CGwTgvX9.js +802 -0
  28. package/components/CasinoSlider-CytcmpnB.js +803 -0
  29. package/components/CasinoSlider-DQalcjvT.cjs +1 -0
  30. package/components/CasinoSlider-DQhMN8AF.js +797 -0
  31. package/components/CasinoSlider-DgvkDJb7.js +794 -0
  32. package/components/CasinoSlider-DjKB6ws9.cjs +1 -0
  33. package/components/CasinoSlider-Dyf3MtoH.js +796 -0
  34. package/components/PlayerAccountBalanceModal-BCsJRXxY.js +1540 -0
  35. package/components/PlayerAccountBalanceModal-BDp9-1JM.js +1511 -0
  36. package/components/PlayerAccountBalanceModal-BjynkQTc.cjs +13 -0
  37. package/components/PlayerAccountBalanceModal-BzXIAqih.js +1528 -0
  38. package/components/PlayerAccountBalanceModal-CuW2KzWo.cjs +13 -0
  39. package/components/PlayerAccountBalanceModal-DKUdq7S7.js +1499 -0
  40. package/components/PlayerAccountBalanceModal-DwQpCDa8.js +1528 -0
  41. package/components/PlayerAccountBalanceModal-IWUBV3L3.js +1499 -0
  42. package/components/PlayerAccountBalanceModal-gmXbYoYR.cjs +13 -0
  43. package/components/PlayerDeposit-BZr6pYKp.js +383 -0
  44. package/components/PlayerDeposit-By5a5qV8.js +395 -0
  45. package/components/PlayerDeposit-C6lle-Vr.js +383 -0
  46. package/components/PlayerDeposit-CtdO_htx.cjs +1 -0
  47. package/components/PlayerDeposit-DBPllHYK.cjs +1 -0
  48. package/components/PlayerDeposit-DolqG55w.js +383 -0
  49. package/components/PlayerDeposit-DvPJXwOB.js +383 -0
  50. package/components/PlayerDeposit-Dvyn6q5s.js +395 -0
  51. package/components/PlayerDeposit-pGfQkRT7.cjs +1 -0
  52. package/es2015/casino-header-controller.cjs +1 -0
  53. package/es2015/casino-header-controller.js +16 -0
  54. package/esnext/casino-header-controller.js +14 -0
  55. package/package.json +19 -36
  56. package/CHANGELOG.md +0 -12
  57. package/README.md +0 -0
  58. package/dist/casino-header-controller.js +0 -4
  59. package/dist/casino-header-controller.js.map +0 -1
  60. package/documentation.md +0 -146
  61. package/index.html +0 -48
  62. package/index.js +0 -1
  63. package/public/favicon.png +0 -0
  64. package/public/reset.css +0 -48
  65. package/rollup.config.js +0 -67
  66. package/src/CasinoHeaderController.svelte +0 -1233
  67. package/src/i18n.js +0 -27
  68. package/src/images/arrow.png +0 -0
  69. package/src/images/english-flag.png +0 -0
  70. package/src/images/everymatrix-logo-white.png +0 -0
  71. package/src/index.ts +0 -4
  72. package/src/translations.js +0 -62
  73. package/stories/CasinoHeaderController.stories.js +0 -22
  74. package/tsconfig.json +0 -6
@@ -0,0 +1,1499 @@
1
+ import { b as ct, $ as ut, O as dt, S as ft, i as pt, f as Q, c as ht, s as mt, d as gt, g as V, e as ie, x as H, j as he, y as E, n as qe, k as me, l as yt, o as vt, z as He, p as wt, r as bt, t as Bt, u as Ct, w as fe, E as Tt, A as pe, v as ze, B as rt, C as St, G as _t } from "./CasinoHamburgerMenu-B7azgUM1.js";
2
+ function Qe(a, e) {
3
+ ct(a, e);
4
+ }
5
+ function At(a) {
6
+ ut.set(a);
7
+ }
8
+ const Ze = {
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 We = { exports: {} };
209
+ /** @license
210
+ * eventsource.js
211
+ * Available under MIT License (MIT)
212
+ * https://github.com/Yaffle/EventSource/
213
+ */
214
+ (function(a, e) {
215
+ (function(n) {
216
+ var r = n.setTimeout, l = n.clearTimeout, c = n.XMLHttpRequest, h = n.XDomainRequest, f = n.ActiveXObject, g = n.EventSource, y = n.document, D = n.Promise, O = n.fetch, C = n.Response, T = n.TextDecoder, A = n.TextEncoder, G = n.AbortController;
217
+ if (typeof window < "u" && typeof y < "u" && !("readyState" in y) && y.body == null && (y.readyState = "loading", window.addEventListener("load", function(t) {
218
+ y.readyState = "complete";
219
+ }, !1)), c == null && f != null && (c = function() {
220
+ return new f("Microsoft.XMLHTTP");
221
+ }), Object.create == null && (Object.create = function(t) {
222
+ function s() {
223
+ }
224
+ return s.prototype = t, new s();
225
+ }), Date.now || (Date.now = function() {
226
+ return (/* @__PURE__ */ new Date()).getTime();
227
+ }), G == null) {
228
+ var k = O;
229
+ O = function(t, s) {
230
+ var o = s.signal;
231
+ return k(t, { headers: s.headers, credentials: s.credentials, cache: s.cache }).then(function(i) {
232
+ var m = i.body.getReader();
233
+ return o._reader = m, o._aborted && o._reader.cancel(), {
234
+ status: i.status,
235
+ statusText: i.statusText,
236
+ headers: i.headers,
237
+ body: {
238
+ getReader: function() {
239
+ return m;
240
+ }
241
+ }
242
+ };
243
+ });
244
+ }, G = 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 U() {
254
+ this.bitsNeeded = 0, this.codePoint = 0;
255
+ }
256
+ U.prototype.decode = function(t) {
257
+ function s(x, F, v) {
258
+ if (v === 1)
259
+ return x >= 128 >> F && x << F <= 2047;
260
+ if (v === 2)
261
+ return x >= 2048 >> F && x << F <= 55295 || x >= 57344 >> F && x << F <= 65535;
262
+ if (v === 3)
263
+ return x >= 65536 >> F && x << F <= 1114111;
264
+ throw new Error();
265
+ }
266
+ function o(x, F) {
267
+ if (x === 6 * 1)
268
+ return F >> 6 > 15 ? 3 : F > 31 ? 2 : 1;
269
+ if (x === 6 * 2)
270
+ return F > 15 ? 3 : 2;
271
+ if (x === 6 * 3)
272
+ return 3;
273
+ throw new Error();
274
+ }
275
+ for (var i = 65533, m = "", p = this.bitsNeeded, B = this.codePoint, N = 0; N < t.length; N += 1) {
276
+ var _ = t[N];
277
+ p !== 0 && (_ < 128 || _ > 191 || !s(B << 6 | _ & 63, p - 6, o(p, B))) && (p = 0, B = i, m += String.fromCharCode(B)), p === 0 ? (_ >= 0 && _ <= 127 ? (p = 0, B = _) : _ >= 192 && _ <= 223 ? (p = 6 * 1, B = _ & 31) : _ >= 224 && _ <= 239 ? (p = 6 * 2, B = _ & 15) : _ >= 240 && _ <= 247 ? (p = 6 * 3, B = _ & 7) : (p = 0, B = i), p !== 0 && !s(B, p, o(p, B)) && (p = 0, B = i)) : (p -= 6, B = B << 6 | _ & 63), p === 0 && (B <= 65535 ? m += String.fromCharCode(B) : (m += String.fromCharCode(55296 + (B - 65535 - 1 >> 10)), m += String.fromCharCode(56320 + (B - 65535 - 1 & 1023))));
278
+ }
279
+ return this.bitsNeeded = p, this.codePoint = B, m;
280
+ };
281
+ var X = function() {
282
+ try {
283
+ return new T().decode(new A().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
+ (T == null || A == null || !X()) && (T = U);
290
+ var b = function() {
291
+ };
292
+ function R(t) {
293
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = b, this.onload = b, this.onerror = b, this.onreadystatechange = b, this._contentType = "", this._xhr = t, this._sendTimeout = 0, this._abort = b;
294
+ }
295
+ R.prototype.open = function(t, s) {
296
+ this._abort(!0);
297
+ var o = this, i = this._xhr, m = 1, p = 0;
298
+ this._abort = function(v) {
299
+ o._sendTimeout !== 0 && (l(o._sendTimeout), o._sendTimeout = 0), (m === 1 || m === 2 || m === 3) && (m = 4, i.onload = b, i.onerror = b, i.onabort = b, i.onprogress = b, i.onreadystatechange = b, i.abort(), p !== 0 && (l(p), p = 0), v || (o.readyState = 4, o.onabort(null), o.onreadystatechange())), m = 0;
300
+ };
301
+ var B = function() {
302
+ if (m === 1) {
303
+ var v = 0, I = "", le = void 0;
304
+ if ("contentType" in i)
305
+ v = 200, I = "OK", le = i.contentType;
306
+ else
307
+ try {
308
+ v = i.status, I = i.statusText, le = i.getResponseHeader("Content-Type");
309
+ } catch {
310
+ v = 0, I = "", le = void 0;
311
+ }
312
+ v !== 0 && (m = 2, o.readyState = 2, o.status = v, o.statusText = I, o._contentType = le, o.onreadystatechange());
313
+ }
314
+ }, N = function() {
315
+ if (B(), m === 2 || m === 3) {
316
+ m = 3;
317
+ var v = "";
318
+ try {
319
+ v = i.responseText;
320
+ } catch {
321
+ }
322
+ o.readyState = 3, o.responseText = v, o.onprogress();
323
+ }
324
+ }, _ = function(v, I) {
325
+ if ((I == null || I.preventDefault == null) && (I = {
326
+ preventDefault: b
327
+ }), N(), m === 1 || m === 2 || m === 3) {
328
+ if (m = 4, p !== 0 && (l(p), p = 0), o.readyState = 4, v === "load")
329
+ o.onload(I);
330
+ else if (v === "error")
331
+ o.onerror(I);
332
+ else if (v === "abort")
333
+ o.onabort(I);
334
+ else
335
+ throw new TypeError();
336
+ o.onreadystatechange();
337
+ }
338
+ }, x = function(v) {
339
+ i != null && (i.readyState === 4 ? (!("onload" in i) || !("onerror" in i) || !("onabort" in i)) && _(i.responseText === "" ? "error" : "load", v) : i.readyState === 3 ? "onprogress" in i || N() : i.readyState === 2 && B());
340
+ }, F = function() {
341
+ p = r(function() {
342
+ F();
343
+ }, 500), i.readyState === 3 && N();
344
+ };
345
+ "onload" in i && (i.onload = function(v) {
346
+ _("load", v);
347
+ }), "onerror" in i && (i.onerror = function(v) {
348
+ _("error", v);
349
+ }), "onabort" in i && (i.onabort = function(v) {
350
+ _("abort", v);
351
+ }), "onprogress" in i && (i.onprogress = N), "onreadystatechange" in i && (i.onreadystatechange = function(v) {
352
+ x(v);
353
+ }), ("contentType" in i || !("ontimeout" in c.prototype)) && (s += (s.indexOf("?") === -1 ? "?" : "&") + "padding=true"), i.open(t, s, !0), "readyState" in i && (p = r(function() {
354
+ F();
355
+ }, 0));
356
+ }, R.prototype.abort = function() {
357
+ this._abort(!1);
358
+ }, R.prototype.getResponseHeader = function(t) {
359
+ return this._contentType;
360
+ }, R.prototype.setRequestHeader = function(t, s) {
361
+ var o = this._xhr;
362
+ "setRequestHeader" in o && o.setRequestHeader(t, s);
363
+ }, R.prototype.getAllResponseHeaders = function() {
364
+ return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
365
+ }, R.prototype.send = function() {
366
+ if ((!("ontimeout" in c.prototype) || !("sendAsBinary" in c.prototype) && !("mozAnon" in c.prototype)) && y != null && y.readyState != null && y.readyState !== "complete") {
367
+ var t = this;
368
+ t._sendTimeout = r(function() {
369
+ t._sendTimeout = 0, t.send();
370
+ }, 4);
371
+ return;
372
+ }
373
+ var s = this._xhr;
374
+ "withCredentials" in s && (s.withCredentials = this.withCredentials);
375
+ try {
376
+ s.send(void 0);
377
+ } catch (o) {
378
+ throw o;
379
+ }
380
+ };
381
+ function K(t) {
382
+ return t.replace(/[A-Z]/g, function(s) {
383
+ return String.fromCharCode(s.charCodeAt(0) + 32);
384
+ });
385
+ }
386
+ function M(t) {
387
+ for (var s = /* @__PURE__ */ Object.create(null), o = t.split(`\r
388
+ `), i = 0; i < o.length; i += 1) {
389
+ var m = o[i], p = m.split(": "), B = p.shift(), N = p.join(": ");
390
+ s[K(B)] = N;
391
+ }
392
+ this._map = s;
393
+ }
394
+ M.prototype.get = function(t) {
395
+ return this._map[K(t)];
396
+ }, c != null && c.HEADERS_RECEIVED == null && (c.HEADERS_RECEIVED = 2);
397
+ function J() {
398
+ }
399
+ J.prototype.open = function(t, s, o, i, m, p, B) {
400
+ t.open("GET", m);
401
+ var N = 0;
402
+ t.onprogress = function() {
403
+ var x = t.responseText, F = x.slice(N);
404
+ N += F.length, o(F);
405
+ }, t.onerror = function(x) {
406
+ x.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 === c.HEADERS_RECEIVED) {
413
+ var x = t.status, F = t.statusText, v = t.getResponseHeader("Content-Type"), I = t.getAllResponseHeaders();
414
+ s(x, F, v, new M(I));
415
+ }
416
+ }, t.withCredentials = p;
417
+ for (var _ in B)
418
+ Object.prototype.hasOwnProperty.call(B, _) && t.setRequestHeader(_, B[_]);
419
+ return t.send(), t;
420
+ };
421
+ function ge(t) {
422
+ this._headers = t;
423
+ }
424
+ ge.prototype.get = function(t) {
425
+ return this._headers.get(t);
426
+ };
427
+ function ye() {
428
+ }
429
+ ye.prototype.open = function(t, s, o, i, m, p, B) {
430
+ var N = null, _ = new G(), x = _.signal, F = new T();
431
+ return O(m, {
432
+ headers: B,
433
+ credentials: p ? "include" : "same-origin",
434
+ signal: x,
435
+ cache: "no-store"
436
+ }).then(function(v) {
437
+ return N = v.body.getReader(), s(v.status, v.statusText, v.headers.get("Content-Type"), new ge(v.headers)), new D(function(I, le) {
438
+ var Fe = function() {
439
+ N.read().then(function($) {
440
+ if ($.done)
441
+ I(void 0);
442
+ else {
443
+ var q = F.decode($.value, { stream: !0 });
444
+ o(q), Fe();
445
+ }
446
+ }).catch(function($) {
447
+ le($);
448
+ });
449
+ };
450
+ Fe();
451
+ });
452
+ }).catch(function(v) {
453
+ if (v.name !== "AbortError")
454
+ return v;
455
+ }).then(function(v) {
456
+ i(v);
457
+ }), {
458
+ abort: function() {
459
+ N?.cancel(), _.abort();
460
+ }
461
+ };
462
+ };
463
+ function d() {
464
+ this._listeners = /* @__PURE__ */ Object.create(null);
465
+ }
466
+ function ve(t) {
467
+ r(function() {
468
+ throw t;
469
+ }, 0);
470
+ }
471
+ d.prototype.dispatchEvent = function(t) {
472
+ t.target = this;
473
+ var s = this._listeners[t.type];
474
+ if (s != null)
475
+ for (var o = s.length, i = 0; i < o; i += 1) {
476
+ var m = s[i];
477
+ try {
478
+ typeof m.handleEvent == "function" ? m.handleEvent(t) : m.call(this, t);
479
+ } catch (p) {
480
+ ve(p);
481
+ }
482
+ }
483
+ }, d.prototype.addEventListener = function(t, s) {
484
+ t = String(t);
485
+ var o = this._listeners, i = o[t];
486
+ i == null && (i = [], o[t] = i);
487
+ for (var m = !1, p = 0; p < i.length; p += 1)
488
+ i[p] === s && (m = !0);
489
+ m || i.push(s);
490
+ }, d.prototype.removeEventListener = function(t, s) {
491
+ t = String(t);
492
+ var o = this._listeners, i = o[t];
493
+ if (i != null) {
494
+ for (var m = [], p = 0; p < i.length; p += 1)
495
+ i[p] !== s && m.push(i[p]);
496
+ m.length === 0 ? delete o[t] : o[t] = m;
497
+ }
498
+ };
499
+ function we(t) {
500
+ this.type = t, this.target = void 0;
501
+ }
502
+ function Ae(t, s) {
503
+ we.call(this, t), this.data = s.data, this.lastEventId = s.lastEventId;
504
+ }
505
+ Ae.prototype = Object.create(we.prototype);
506
+ function Re(t, s) {
507
+ we.call(this, t), this.status = s.status, this.statusText = s.statusText, this.headers = s.headers;
508
+ }
509
+ Re.prototype = Object.create(we.prototype);
510
+ function Oe(t, s) {
511
+ we.call(this, t), this.error = s.error;
512
+ }
513
+ Oe.prototype = Object.create(we.prototype);
514
+ var Ee = -1, ne = 0, se = 1, Be = 2, Ce = -1, ae = 0, xe = 1, De = 2, Ue = 3, Pe = /^text\/event\-stream(;.*)?$/i, Ne = 1e3, Ge = 18e6, Le = function(t, s) {
515
+ var o = t == null ? s : parseInt(t, 10);
516
+ return o !== o && (o = s), Me(o);
517
+ }, Me = function(t) {
518
+ return Math.min(Math.max(t, Ne), Ge);
519
+ }, be = function(t, s, o) {
520
+ try {
521
+ typeof s == "function" && s.call(t, o);
522
+ } catch (i) {
523
+ ve(i);
524
+ }
525
+ };
526
+ function Z(t, s) {
527
+ d.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, L(this, t, s);
528
+ }
529
+ function u() {
530
+ return c != null && "withCredentials" in c.prototype || h == null ? new c() : new h();
531
+ }
532
+ var S = O != null && C != null && "body" in C.prototype;
533
+ function L(t, s, o) {
534
+ s = String(s);
535
+ var i = !!o.withCredentials, m = o.lastEventIdQueryParameterName || "lastEventId", p = Me(1e3), B = Le(o.heartbeatTimeout, 45e3), N = "", _ = p, x = !1, F = 0, v = o.headers || {}, I = o.Transport, le = S && I == null ? void 0 : new R(I != null ? new I() : u()), Fe = I != null && typeof I != "string" ? new I() : le == null ? new ye() : new J(), $ = void 0, q = 0, oe = Ee, Se = "", Ie = "", ce = "", Ve = "", W = ae, Xe = 0, Te = 0, st = function(z, j, ee, te) {
536
+ if (oe === ne)
537
+ if (z === 200 && ee != null && Pe.test(ee)) {
538
+ oe = se, x = Date.now(), _ = p, t.readyState = se;
539
+ var Y = new Re("open", {
540
+ status: z,
541
+ statusText: j,
542
+ headers: te
543
+ });
544
+ t.dispatchEvent(Y), be(t, t.onopen, Y);
545
+ } else {
546
+ var P = "";
547
+ z !== 200 ? (j && (j = j.replace(/\s+/g, " ")), P = "EventSource's response has a status " + z + " " + j + " 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.", Ke();
548
+ var Y = new Re("error", {
549
+ status: z,
550
+ statusText: j,
551
+ headers: te
552
+ });
553
+ t.dispatchEvent(Y), be(t, t.onerror, Y), console.error(P);
554
+ }
555
+ }, lt = function(z) {
556
+ if (oe === se) {
557
+ for (var j = -1, ee = 0; ee < z.length; ee += 1) {
558
+ var te = z.charCodeAt(ee);
559
+ (te === 10 || te === 13) && (j = ee);
560
+ }
561
+ var Y = (j !== -1 ? Ve : "") + z.slice(0, j + 1);
562
+ Ve = (j === -1 ? Ve : "") + z.slice(j + 1), z !== "" && (x = Date.now(), F += z.length);
563
+ for (var P = 0; P < Y.length; P += 1) {
564
+ var te = Y.charCodeAt(P);
565
+ if (W === Ce && te === 10)
566
+ W = ae;
567
+ else if (W === Ce && (W = ae), te === 13 || te === 10) {
568
+ if (W !== ae) {
569
+ W === xe && (Te = P + 1);
570
+ var ue = Y.slice(Xe, Te - 1), de = Y.slice(Te + (Te < P && Y.charCodeAt(Te) === 32 ? 1 : 0), P);
571
+ ue === "data" ? (Se += `
572
+ `, Se += de) : ue === "id" ? Ie = de : ue === "event" ? ce = de : ue === "retry" ? (p = Le(de, p), _ = p) : ue === "heartbeatTimeout" && (B = Le(de, B), q !== 0 && (l(q), q = r(function() {
573
+ ke();
574
+ }, B)));
575
+ }
576
+ if (W === ae) {
577
+ if (Se !== "") {
578
+ N = Ie, ce === "" && (ce = "message");
579
+ var _e = new Ae(ce, {
580
+ data: Se.slice(1),
581
+ lastEventId: Ie
582
+ });
583
+ if (t.dispatchEvent(_e), ce === "open" ? be(t, t.onopen, _e) : ce === "message" ? be(t, t.onmessage, _e) : ce === "error" && be(t, t.onerror, _e), oe === Be)
584
+ return;
585
+ }
586
+ Se = "", ce = "";
587
+ }
588
+ W = te === 13 ? Ce : ae;
589
+ } else
590
+ W === ae && (Xe = P, W = xe), W === xe ? te === 58 && (Te = P + 1, W = De) : W === De && (W = Ue);
591
+ }
592
+ }
593
+ }, Je = function(z) {
594
+ if (oe === se || oe === ne) {
595
+ oe = Ee, q !== 0 && (l(q), q = 0), q = r(function() {
596
+ ke();
597
+ }, _), _ = Me(Math.min(p * 16, _ * 2)), t.readyState = ne;
598
+ var j = new Oe("error", { error: z });
599
+ t.dispatchEvent(j), be(t, t.onerror, j), z != null && console.error(z);
600
+ }
601
+ }, Ke = function() {
602
+ oe = Be, $ != null && ($.abort(), $ = void 0), q !== 0 && (l(q), q = 0), t.readyState = Be;
603
+ }, ke = function() {
604
+ if (q = 0, oe !== Ee) {
605
+ if (!x && $ != null)
606
+ Je(new Error("No activity within " + B + " milliseconds. " + (oe === ne ? "No response received." : F + " chars received.") + " Reconnecting.")), $ != null && ($.abort(), $ = void 0);
607
+ else {
608
+ var z = Math.max((x || Date.now()) + B - Date.now(), 1);
609
+ x = !1, q = r(function() {
610
+ ke();
611
+ }, z);
612
+ }
613
+ return;
614
+ }
615
+ x = !1, F = 0, q = r(function() {
616
+ ke();
617
+ }, B), oe = ne, Se = "", ce = "", Ie = N, Ve = "", Xe = 0, Te = 0, W = ae;
618
+ var j = s;
619
+ if (s.slice(0, 5) !== "data:" && s.slice(0, 5) !== "blob:" && N !== "") {
620
+ var ee = s.indexOf("?");
621
+ j = ee === -1 ? s : s.slice(0, ee + 1) + s.slice(ee + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(de, _e) {
622
+ return _e === m ? "" : de;
623
+ }), j += (s.indexOf("?") === -1 ? "?" : "&") + m + "=" + encodeURIComponent(N);
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 ue in P)
630
+ Object.prototype.hasOwnProperty.call(P, ue) && (Y[ue] = P[ue]);
631
+ try {
632
+ $ = Fe.open(le, st, lt, Je, j, te, Y);
633
+ } catch (de) {
634
+ throw Ke(), de;
635
+ }
636
+ };
637
+ t.url = s, t.readyState = ne, t.withCredentials = i, t.headers = v, t._close = Ke, ke();
638
+ }
639
+ Z.prototype = Object.create(d.prototype), Z.prototype.CONNECTING = ne, Z.prototype.OPEN = se, Z.prototype.CLOSED = Be, Z.prototype.close = function() {
640
+ this._close();
641
+ }, Z.CONNECTING = ne, Z.OPEN = se, Z.CLOSED = Be, Z.prototype.withCredentials = void 0;
642
+ var w = g;
643
+ c != null && (g == null || !("withCredentials" in g.prototype)) && (w = Z), function(t) {
644
+ {
645
+ var s = t(e);
646
+ s !== void 0 && (a.exports = s);
647
+ }
648
+ }(function(t) {
649
+ t.EventSourcePolyfill = Z, t.NativeEventSource = g, t.EventSource = w;
650
+ });
651
+ })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : dt : globalThis);
652
+ })(We, We.exports);
653
+ var Rt = We.exports;
654
+ /*!
655
+ * currency.js - v2.0.4
656
+ * http://scurker.github.io/currency.js
657
+ *
658
+ * Copyright (c) 2021 Jason Wilson
659
+ * Released under MIT license
660
+ */
661
+ var Et = {
662
+ symbol: "$",
663
+ separator: ",",
664
+ decimal: ".",
665
+ errorOnInvalid: !1,
666
+ precision: 2,
667
+ pattern: "!#",
668
+ negativePattern: "-!#",
669
+ format: Mt,
670
+ fromCents: !1
671
+ }, it = function(e) {
672
+ return Math.round(e);
673
+ }, Ye = function(e) {
674
+ return Math.pow(10, e);
675
+ }, xt = function(e, n) {
676
+ return it(e / n) * n;
677
+ }, Dt = /(\d)(?=(\d{3})+\b)/g, Lt = /(\d)(?=(\d\d)+\d\b)/g;
678
+ function re(a, e) {
679
+ var n = this;
680
+ if (!(n instanceof re))
681
+ return new re(a, e);
682
+ var r = Object.assign({}, Et, e), l = Ye(r.precision), c = je(a, r);
683
+ n.intValue = c, n.value = c / l, r.increment = r.increment || 1 / l, r.useVedic ? r.groups = Lt : r.groups = Dt, this.s = r, this.p = l;
684
+ }
685
+ function je(a, e) {
686
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, r = 0, l = e.decimal, c = e.errorOnInvalid, h = e.precision, f = e.fromCents, g = Ye(h), y = typeof a == "number", D = a instanceof re;
687
+ if (D && f)
688
+ return a.intValue;
689
+ if (y || D)
690
+ r = D ? a.value : a;
691
+ else if (typeof a == "string") {
692
+ var O = new RegExp("[^-\\d" + l + "]", "g"), C = new RegExp("\\" + l, "g");
693
+ r = a.replace(/\((.*)\)/, "-$1").replace(O, "").replace(C, "."), r = r || 0;
694
+ } else {
695
+ if (c)
696
+ throw Error("Invalid Input");
697
+ r = 0;
698
+ }
699
+ return f || (r *= g, r = r.toFixed(4)), n ? it(r) : r;
700
+ }
701
+ function Mt(a, e) {
702
+ var n = e.pattern, r = e.negativePattern, l = e.symbol, c = e.separator, h = e.decimal, f = e.groups, g = ("" + a).replace(/^-/, "").split("."), y = g[0], D = g[1];
703
+ return (a.value >= 0 ? n : r).replace("!", l).replace("#", y.replace(f, "$1" + c) + (D ? h + D : ""));
704
+ }
705
+ re.prototype = {
706
+ /**
707
+ * Adds values together.
708
+ * @param {number} number
709
+ * @returns {currency}
710
+ */
711
+ add: function(e) {
712
+ var n = this.intValue, r = this.s, l = this.p;
713
+ return re((n += je(e, r)) / (r.fromCents ? 1 : l), r);
714
+ },
715
+ /**
716
+ * Subtracts value.
717
+ * @param {number} number
718
+ * @returns {currency}
719
+ */
720
+ subtract: function(e) {
721
+ var n = this.intValue, r = this.s, l = this.p;
722
+ return re((n -= je(e, r)) / (r.fromCents ? 1 : l), r);
723
+ },
724
+ /**
725
+ * Multiplies values.
726
+ * @param {number} number
727
+ * @returns {currency}
728
+ */
729
+ multiply: function(e) {
730
+ var n = this.intValue, r = this.s;
731
+ return re((n *= e) / (r.fromCents ? 1 : Ye(r.precision)), r);
732
+ },
733
+ /**
734
+ * Divides value.
735
+ * @param {number} number
736
+ * @returns {currency}
737
+ */
738
+ divide: function(e) {
739
+ var n = this.intValue, r = this.s;
740
+ return re(n /= je(e, r, !1), r);
741
+ },
742
+ /**
743
+ * Takes the currency amount and distributes the values evenly. Any extra pennies
744
+ * left over from the distribution will be stacked onto the first set of entries.
745
+ * @param {number} count
746
+ * @returns {array}
747
+ */
748
+ distribute: function(e) {
749
+ for (var n = this.intValue, r = this.p, l = this.s, c = [], h = Math[n >= 0 ? "floor" : "ceil"](n / e), f = Math.abs(n - h * e), g = l.fromCents ? 1 : r; e !== 0; e--) {
750
+ var y = re(h / g, l);
751
+ f-- > 0 && (y = y[n >= 0 ? "add" : "subtract"](1 / g)), c.push(y);
752
+ }
753
+ return c;
754
+ },
755
+ /**
756
+ * Returns the dollar value.
757
+ * @returns {number}
758
+ */
759
+ dollars: function() {
760
+ return ~~this.value;
761
+ },
762
+ /**
763
+ * Returns the cent value.
764
+ * @returns {number}
765
+ */
766
+ cents: function() {
767
+ var e = this.intValue, n = this.p;
768
+ return ~~(e % n);
769
+ },
770
+ /**
771
+ * Formats the value as a string according to the formatting settings.
772
+ * @param {boolean} useSymbol - format with currency symbol
773
+ * @returns {string}
774
+ */
775
+ format: function(e) {
776
+ var n = this.s;
777
+ return typeof e == "function" ? e(this, n) : n.format(this, Object.assign({}, n, e));
778
+ },
779
+ /**
780
+ * Formats the value as a string according to the formatting settings.
781
+ * @returns {string}
782
+ */
783
+ toString: function() {
784
+ var e = this.intValue, n = this.p, r = this.s;
785
+ return xt(e / n, r.increment).toFixed(r.precision);
786
+ },
787
+ /**
788
+ * Value for JSON serialization.
789
+ * @returns {float}
790
+ */
791
+ toJSON: function() {
792
+ return this.value;
793
+ }
794
+ };
795
+ function Ft(a) {
796
+ gt(a, "svelte-113krup", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px}.ShowBalance .BalanceValue span{padding-left:8px}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background-color:var(--emw--color-white, #FFFFFF);position:absolute;top:45px;left:50%;transform:translateX(-60%);padding:10px;box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.BalanceModalWrapper:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:60%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));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, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModal{position:relative;width:280px}.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, #07072A))}.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, #07072A));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:5px;border:none;padding:10px 0;cursor:pointer}.BalanceModalFooter .BalanceModalAction:hover,.BalanceModalFooter .BalanceModalActionactive{background:var(--emw--header-contrast, var(--emw--color-background, #07072A))}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}');
797
+ }
798
+ function $e(a, e, n) {
799
+ const r = a.slice();
800
+ return r[46] = e[n], r;
801
+ }
802
+ function et(a, e, n) {
803
+ const r = a.slice();
804
+ return r[49] = e[n], r;
805
+ }
806
+ function kt(a) {
807
+ let e, n = (
808
+ /*balances*/
809
+ (a[4].Total ? (
810
+ /*formatBalance*/
811
+ a[6](
812
+ /*balances*/
813
+ a[4].Total[0].amount
814
+ )
815
+ ) : "0") + ""
816
+ ), r, l, c, h, f, g, y, D, O, C = (
817
+ /*showBalance*/
818
+ a[2] && tt(a)
819
+ );
820
+ return {
821
+ c() {
822
+ e = V("p"), r = fe(n), l = ie(), c = fe(
823
+ /*currency*/
824
+ a[3]
825
+ ), h = ie(), f = V("span"), f.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>', g = ie(), C && C.c(), y = Tt(), H(e, "class", "BalanceValue"), H(e, "part", "BalanceValue");
826
+ },
827
+ m(T, A) {
828
+ he(T, e, A), E(e, r), E(e, l), E(e, c), E(e, h), E(e, f), he(T, g, A), C && C.m(T, A), he(T, y, A), D || (O = He(
829
+ e,
830
+ "click",
831
+ /*click_handler*/
832
+ a[22]
833
+ ), D = !0);
834
+ },
835
+ p(T, A) {
836
+ A[0] & /*balances*/
837
+ 16 && n !== (n = /*balances*/
838
+ (T[4].Total ? (
839
+ /*formatBalance*/
840
+ T[6](
841
+ /*balances*/
842
+ T[4].Total[0].amount
843
+ )
844
+ ) : "0") + "") && pe(r, n), A[0] & /*currency*/
845
+ 8 && pe(
846
+ c,
847
+ /*currency*/
848
+ T[3]
849
+ ), /*showBalance*/
850
+ T[2] ? C ? C.p(T, A) : (C = tt(T), C.c(), C.m(y.parentNode, y)) : C && (C.d(1), C = null);
851
+ },
852
+ d(T) {
853
+ T && (me(e), me(g), me(y)), C && C.d(T), D = !1, O();
854
+ }
855
+ };
856
+ }
857
+ function Ot(a) {
858
+ let e, n = (
859
+ /*$_*/
860
+ a[5]("Loading") + ""
861
+ ), r;
862
+ return {
863
+ c() {
864
+ e = V("p"), r = fe(n);
865
+ },
866
+ m(l, c) {
867
+ he(l, e, c), E(e, r);
868
+ },
869
+ p(l, c) {
870
+ c[0] & /*$_*/
871
+ 32 && n !== (n = /*$_*/
872
+ l[5]("Loading") + "") && pe(r, n);
873
+ },
874
+ d(l) {
875
+ l && me(e);
876
+ }
877
+ };
878
+ }
879
+ function tt(a) {
880
+ let e, n, r, l, c, h, f = (
881
+ /*$_*/
882
+ a[5]("Title") + ""
883
+ ), g, y, D, O, C, T, A = (
884
+ /*$_*/
885
+ a[5]("DepositButton") + ""
886
+ ), G, k, U, X = ze(Object.keys(
887
+ /*balances*/
888
+ a[4]
889
+ )), b = [];
890
+ for (let R = 0; R < X.length; R += 1)
891
+ b[R] = at($e(a, X, R));
892
+ return {
893
+ c() {
894
+ e = V("div"), n = V("div"), r = ie(), l = V("div"), c = V("div"), h = V("p"), g = fe(f), y = ie(), D = V("div");
895
+ for (let R = 0; R < b.length; R += 1)
896
+ b[R].c();
897
+ O = ie(), C = V("div"), T = V("button"), G = fe(A), H(n, "class", "BalanceModalClose"), H(h, "class", "BalanceModalTitle"), H(c, "class", "BalanceModalHeader"), H(D, "class", "BalanceModalBody"), H(T, "class", "BalanceModalAction"), H(C, "class", "BalanceModalFooter"), H(l, "class", "BalanceModal"), H(e, "class", "BalanceModalWrapper");
898
+ },
899
+ m(R, K) {
900
+ he(R, e, K), E(e, n), E(e, r), E(e, l), E(l, c), E(c, h), E(h, g), E(l, y), E(l, D);
901
+ for (let M = 0; M < b.length; M += 1)
902
+ b[M] && b[M].m(D, null);
903
+ E(l, O), E(l, C), E(C, T), E(T, G), k || (U = [
904
+ He(
905
+ n,
906
+ "click",
907
+ /*click_handler_1*/
908
+ a[23]
909
+ ),
910
+ He(
911
+ T,
912
+ "click",
913
+ /*click_handler_2*/
914
+ a[24]
915
+ )
916
+ ], k = !0);
917
+ },
918
+ p(R, K) {
919
+ if (K[0] & /*$_*/
920
+ 32 && f !== (f = /*$_*/
921
+ R[5]("Title") + "") && pe(g, f), K[0] & /*balances, currency, formatBalance, $_*/
922
+ 120) {
923
+ X = ze(Object.keys(
924
+ /*balances*/
925
+ R[4]
926
+ ));
927
+ let M;
928
+ for (M = 0; M < X.length; M += 1) {
929
+ const J = $e(R, X, M);
930
+ b[M] ? b[M].p(J, K) : (b[M] = at(J), b[M].c(), b[M].m(D, null));
931
+ }
932
+ for (; M < b.length; M += 1)
933
+ b[M].d(1);
934
+ b.length = X.length;
935
+ }
936
+ K[0] & /*$_*/
937
+ 32 && A !== (A = /*$_*/
938
+ R[5]("DepositButton") + "") && pe(G, A);
939
+ },
940
+ d(R) {
941
+ R && me(e), rt(b, R), k = !1, St(U);
942
+ }
943
+ };
944
+ }
945
+ function nt(a) {
946
+ let e, n, r = (
947
+ /*$_*/
948
+ a[5](
949
+ /*k*/
950
+ a[46]
951
+ ) + ""
952
+ ), l, c, h = (
953
+ /*b*/
954
+ (a[49].productType ? (
955
+ /*$_*/
956
+ a[5](
957
+ /*b*/
958
+ a[49].productType
959
+ )
960
+ ) : "") + ""
961
+ ), f, g, y, D, O = (
962
+ /*b*/
963
+ (a[49].amount ? (
964
+ /*formatBalance*/
965
+ a[6](
966
+ /*b*/
967
+ a[49].amount
968
+ )
969
+ ) : "0") + ""
970
+ ), C, T, A, G;
971
+ return {
972
+ c() {
973
+ e = V("div"), n = V("p"), l = fe(r), c = ie(), f = fe(h), g = ie(), y = V("p"), D = V("span"), C = fe(O), T = ie(), A = V("span"), G = fe(
974
+ /*currency*/
975
+ a[3]
976
+ ), H(n, "class", "BalanceModalText"), H(D, "class", "BalanceModalAmount"), H(A, "class", "BalanceModalCurrency"), H(y, "class", "BalanceModalValue"), H(e, "class", "BalanceModalRowLine");
977
+ },
978
+ m(k, U) {
979
+ he(k, e, U), E(e, n), E(n, l), E(n, c), E(n, f), E(e, g), E(e, y), E(y, D), E(D, C), E(y, T), E(y, A), E(A, G);
980
+ },
981
+ p(k, U) {
982
+ U[0] & /*$_, balances*/
983
+ 48 && r !== (r = /*$_*/
984
+ k[5](
985
+ /*k*/
986
+ k[46]
987
+ ) + "") && pe(l, r), U[0] & /*balances, $_*/
988
+ 48 && h !== (h = /*b*/
989
+ (k[49].productType ? (
990
+ /*$_*/
991
+ k[5](
992
+ /*b*/
993
+ k[49].productType
994
+ )
995
+ ) : "") + "") && pe(f, h), U[0] & /*balances*/
996
+ 16 && O !== (O = /*b*/
997
+ (k[49].amount ? (
998
+ /*formatBalance*/
999
+ k[6](
1000
+ /*b*/
1001
+ k[49].amount
1002
+ )
1003
+ ) : "0") + "") && pe(C, O), U[0] & /*currency*/
1004
+ 8 && pe(
1005
+ G,
1006
+ /*currency*/
1007
+ k[3]
1008
+ );
1009
+ },
1010
+ d(k) {
1011
+ k && me(e);
1012
+ }
1013
+ };
1014
+ }
1015
+ function at(a) {
1016
+ let e, n, r = ze(
1017
+ /*balances*/
1018
+ a[4][
1019
+ /*k*/
1020
+ a[46]
1021
+ ]
1022
+ ), l = [];
1023
+ for (let c = 0; c < r.length; c += 1)
1024
+ l[c] = nt(et(a, r, c));
1025
+ return {
1026
+ c() {
1027
+ e = V("div");
1028
+ for (let c = 0; c < l.length; c += 1)
1029
+ l[c].c();
1030
+ n = ie(), H(e, "class", "BalanceModalRowBoth");
1031
+ },
1032
+ m(c, h) {
1033
+ he(c, e, h);
1034
+ for (let f = 0; f < l.length; f += 1)
1035
+ l[f] && l[f].m(e, null);
1036
+ E(e, n);
1037
+ },
1038
+ p(c, h) {
1039
+ if (h[0] & /*currency, balances, formatBalance, $_*/
1040
+ 120) {
1041
+ r = ze(
1042
+ /*balances*/
1043
+ c[4][
1044
+ /*k*/
1045
+ c[46]
1046
+ ]
1047
+ );
1048
+ let f;
1049
+ for (f = 0; f < r.length; f += 1) {
1050
+ const g = et(c, r, f);
1051
+ l[f] ? l[f].p(g, h) : (l[f] = nt(g), l[f].c(), l[f].m(e, n));
1052
+ }
1053
+ for (; f < l.length; f += 1)
1054
+ l[f].d(1);
1055
+ l.length = r.length;
1056
+ }
1057
+ },
1058
+ d(c) {
1059
+ c && me(e), rt(l, c);
1060
+ }
1061
+ };
1062
+ }
1063
+ function ot(a) {
1064
+ let e, n, r;
1065
+ return {
1066
+ c() {
1067
+ e = V("div"), H(e, "class", "ShowBalanceModalOverlay");
1068
+ },
1069
+ m(l, c) {
1070
+ he(l, e, c), n || (r = He(
1071
+ e,
1072
+ "click",
1073
+ /*click_handler_3*/
1074
+ a[25]
1075
+ ), n = !0);
1076
+ },
1077
+ p: qe,
1078
+ d(l) {
1079
+ l && me(e), n = !1, r();
1080
+ }
1081
+ };
1082
+ }
1083
+ function Nt(a) {
1084
+ let e, n, r;
1085
+ function l(g, y) {
1086
+ return (
1087
+ /*isLoading*/
1088
+ g[1] ? Ot : kt
1089
+ );
1090
+ }
1091
+ let c = l(a), h = c(a), f = (
1092
+ /*showBalance*/
1093
+ a[2] && ot(a)
1094
+ );
1095
+ return {
1096
+ c() {
1097
+ e = V("div"), n = V("div"), h.c(), r = ie(), f && f.c(), H(n, "class", "ShowBalance"), H(n, "part", "ShowBalance");
1098
+ },
1099
+ m(g, y) {
1100
+ he(g, e, y), E(e, n), h.m(n, null), E(e, r), f && f.m(e, null), a[26](e);
1101
+ },
1102
+ p(g, y) {
1103
+ c === (c = l(g)) && h ? h.p(g, y) : (h.d(1), h = c(g), h && (h.c(), h.m(n, null))), /*showBalance*/
1104
+ g[2] ? f ? f.p(g, y) : (f = ot(g), f.c(), f.m(e, null)) : f && (f.d(1), f = null);
1105
+ },
1106
+ i: qe,
1107
+ o: qe,
1108
+ d(g) {
1109
+ g && me(e), h.d(), f && f.d(), a[26](null);
1110
+ }
1111
+ };
1112
+ }
1113
+ function It(a, e, n) {
1114
+ let r;
1115
+ yt(a, _t, (u) => n(5, r = u));
1116
+ let { userid: l = "" } = e, { session: c = "" } = e, { endpoint: h = "" } = e, { lang: f = "en" } = e, { clientstyling: g = "" } = e, { clientstylingurl: y = "" } = e, { translationurl: D = "" } = e, { customlocaleidentifier: O = "" } = e, { gmversion: C = "gm16" } = e, { displaybalanceoption: T = "All" } = e, { totalcalculationmode: A = "totalCashAmount" } = e, { currencyseparator: G = "" } = e, { currencydecimal: k = "" } = e, { currencyprecision: U = "" } = e, X, b, R, K = !1, M = "", J = [], ge, ye = !1;
1117
+ const d = {}, ve = ["totalCashAmount", "totalRealAmount"], we = () => {
1118
+ fetch(D).then((u) => u.json()).then((u) => Object.keys(u).forEach((S) => Qe(S, u[S]))).catch((u) => console.log(u));
1119
+ };
1120
+ Object.keys(Ze).forEach((u) => Qe(u, Ze[u]));
1121
+ const Ae = () => {
1122
+ if (O.includes(f))
1123
+ return O;
1124
+ }, Re = (u) => O ? new Intl.NumberFormat(Ae(), { useGrouping: !0 }).format(u) : G && k ? re(u, {
1125
+ separator: G,
1126
+ decimal: k,
1127
+ symbol: "",
1128
+ precision: parseInt(U || "2", 10)
1129
+ }).format() : re(u, {
1130
+ separator: ".",
1131
+ decimal: ",",
1132
+ symbol: "",
1133
+ precision: parseInt(U || "2", 10)
1134
+ }).format(), Oe = async () => {
1135
+ n(1, X = !0);
1136
+ const u = new URL(`${h}/v1/player/${l}/account`);
1137
+ try {
1138
+ const S = await fetch(u, {
1139
+ method: "GET",
1140
+ headers: { "X-SessionID": c }
1141
+ }), L = await S.json();
1142
+ if (S.ok)
1143
+ J = L.items, n(3, M = J.find((w) => w.displayName === "Casino")?.currency), n(4, d.Total = [{ amount: L.totalAmount[M] }], d), n(
1144
+ 4,
1145
+ d.Real = [
1146
+ {
1147
+ amount: J.find((w) => w.displayName === "Casino")?.balanceAmount
1148
+ }
1149
+ ],
1150
+ d
1151
+ ), n(
1152
+ 4,
1153
+ d.Bonus = [
1154
+ {
1155
+ amount: J.find((w) => w.displayName === "UBS")?.balanceAmount
1156
+ }
1157
+ ],
1158
+ d
1159
+ );
1160
+ else
1161
+ throw new Error("Failed to fetch balance data !");
1162
+ } catch (S) {
1163
+ console.log("Balance error: ", S);
1164
+ } finally {
1165
+ n(1, X = !1);
1166
+ }
1167
+ }, Ee = () => {
1168
+ n(1, X = !0);
1169
+ const u = new URL(`${h}/v2/player/${l}/balance`), S = new Headers();
1170
+ S.append("X-SessionID", c), fetch(u, { method: "GET", headers: S }).then((w) => w.json()).then((w) => {
1171
+ w[A] || n(8, A = ve[0]);
1172
+ const t = w.items.find((o) => o.type === "Real" && o.walletAccountType === "Ordinary");
1173
+ if (n(3, M = t.currency), ye = !!t.productType, n(4, d.Total = [{ amount: 0 }], d), n(4, d.Real = [], d), n(4, d.Bonus = [], d), n(4, d.Credit = [], d), !ye) {
1174
+ ge = {
1175
+ lastOrdinaryAfterAmount: 0,
1176
+ showCreditLineAfterAmount: !1
1177
+ }, n(4, d.Total[0].amount = w[A][M], d);
1178
+ for (const o of w.items)
1179
+ switch (o.type) {
1180
+ case "Bonus":
1181
+ d.Bonus.length === 0 ? d.Bonus.push({ amount: o.amount }) : n(4, d.Bonus[0].amount += o.amount, d);
1182
+ break;
1183
+ case "Real":
1184
+ if (o.creditLine && d.Credit.length === 0 && d.Credit.push({ amount: o.creditLine }), A === "totalRealAmount") continue;
1185
+ d.Real.length === 0 ? d.Real.push({ amount: o.amount }) : n(4, d.Real[0].amount += o.amount, d);
1186
+ break;
1187
+ }
1188
+ for (const [o, i] of Object.entries(d))
1189
+ i.length < 1 && delete d[o];
1190
+ n(1, X = !1);
1191
+ return;
1192
+ }
1193
+ ge = {
1194
+ Casino: {
1195
+ lastOrdinaryAfterAmount: 0,
1196
+ showCreditLineAfterAmount: !1
1197
+ },
1198
+ Sports: {
1199
+ lastOrdinaryAfterAmount: 0,
1200
+ showCreditLineAfterAmount: !1
1201
+ }
1202
+ };
1203
+ let s = w.items;
1204
+ T && T !== "All" && (s = w.items.filter((o) => o.productType === T));
1205
+ for (const o of s) {
1206
+ let i;
1207
+ switch (o.type) {
1208
+ case "Bonus":
1209
+ i = d.Bonus.findIndex((m) => m.productType === o.productType), i > 0 ? n(4, d.Bonus[i].amount += o.amount, d) : d.Bonus.push({
1210
+ amount: o.amount,
1211
+ productType: o.productType
1212
+ });
1213
+ break;
1214
+ case "Real":
1215
+ o.creditLine && d.Credit.push({
1216
+ amount: o.creditLine,
1217
+ productType: o.productType
1218
+ }), i = d.Real.findIndex((m) => m.productType === o.productType), i > 0 ? n(4, d.Real[i].amount += o.amount, d) : d.Real.push({
1219
+ amount: o.amount,
1220
+ productType: o.productType
1221
+ });
1222
+ break;
1223
+ }
1224
+ }
1225
+ ae();
1226
+ for (const [o, i] of Object.entries(d))
1227
+ i.length < 1 && delete d[o];
1228
+ n(1, X = !1);
1229
+ }).catch((w) => {
1230
+ throw n(1, X = !1), new Error("Failed to fetch balance data !");
1231
+ });
1232
+ }, ne = () => {
1233
+ if (R && R.close(), c.length < 1) return;
1234
+ let u, S;
1235
+ switch (C) {
1236
+ case "gm16":
1237
+ u = new URL(`${h}/v2/player/${l}/information/updates`), S = (t) => xe(t);
1238
+ break;
1239
+ case "gmcore":
1240
+ u = new URL(`${h}/v1/player/${l}/balance/updates`), S = (t) => Be(t);
1241
+ break;
1242
+ }
1243
+ const L = {
1244
+ accept: "text/event-stream",
1245
+ "X-SessionId": c
1246
+ }, w = new Rt.EventSourcePolyfill(u, { headers: L });
1247
+ R = w, w.addEventListener("message", S);
1248
+ }, se = (u) => {
1249
+ let S;
1250
+ try {
1251
+ S = JSON.parse(u);
1252
+ } catch (L) {
1253
+ console.log("Balance stream failed: ", L);
1254
+ return;
1255
+ }
1256
+ return S;
1257
+ }, Be = (u) => {
1258
+ const S = se(u.data);
1259
+ if (!S) {
1260
+ ne();
1261
+ return;
1262
+ }
1263
+ let L = "0";
1264
+ const w = S.balanceChange;
1265
+ J = J.map((t) => (w && w[t.id] && (t = {
1266
+ ...t,
1267
+ balanceAmount: w[t.id].afterAmount
1268
+ }), L = (parseFloat(t?.balanceAmount) + parseFloat(L)).toString(), t)), n(4, d.Real = [{ amount: J[0]?.balanceAmount }], d), n(4, d.Bonus = [{ amount: J[1]?.balanceAmount }], d), n(4, d.Total = [{ amount: Number(L) }], d);
1269
+ }, Ce = (u, S, L) => {
1270
+ let w = null;
1271
+ switch (L.walletAccountType) {
1272
+ case "Ordinary":
1273
+ L.afterAmount !== L.affectedAmount && (S.lastOrdinaryAfterAmount = L.afterAmount, S.showCreditLineAfterAmount || (w = L.afterAmount));
1274
+ break;
1275
+ case "CreditLine":
1276
+ L.afterAmount !== 0 ? (w = L.afterAmount, S.showCreditLineAfterAmount = !0) : (w = S.lastOrdinaryAfterAmount, S.showCreditLineAfterAmount = !1);
1277
+ break;
1278
+ default:
1279
+ w = L.afterAmount;
1280
+ }
1281
+ return w === null ? u : w;
1282
+ }, ae = () => {
1283
+ switch (A) {
1284
+ case "totalCashAmount":
1285
+ let u = 0;
1286
+ for (const L of ["Real", "Bonus"])
1287
+ for (const w of d[L])
1288
+ u += Math.max(w.amount, 0);
1289
+ n(4, d.Total[0].amount = u, d);
1290
+ break;
1291
+ case "totalRealAmount":
1292
+ if (!ye) return;
1293
+ let S = 0;
1294
+ for (const L of d.Real)
1295
+ S += L.amount;
1296
+ n(4, d.Total[0].amount = S, d);
1297
+ }
1298
+ }, xe = (u) => {
1299
+ const S = se(u.data);
1300
+ if (!S) {
1301
+ ne();
1302
+ return;
1303
+ }
1304
+ if (S.type !== "BALANCE_UPDATE_V2")
1305
+ return;
1306
+ const L = S.body.balanceChange;
1307
+ for (const [w, t] of Object.entries(L))
1308
+ if (A === "totalRealAmount" && w === "Real" && !ye && n(4, d.Total[0].amount = Ce(d.Total[0].amount, ge, t), d), !!d[w])
1309
+ for (const s of d[w]) {
1310
+ if (!ye) {
1311
+ s.amount = w === "Real" ? Ce(s.amount, ge, t) : t.afterAmount;
1312
+ continue;
1313
+ }
1314
+ t.productType === s.productType && (s.amount = w === "Real" ? Ce(s.amount, ge[s.productType], t) : t.afterAmount);
1315
+ }
1316
+ ae();
1317
+ }, De = () => {
1318
+ n(2, K = !1), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
1319
+ }, Ue = () => {
1320
+ ve.includes(A) || (console.error(`Unsupported value ('${A}') for totalcalculationmode parameter. Only the following values are supported ${ve}. Using default value ('${ve[0]}').`), n(8, A = ve[0]));
1321
+ }, Pe = () => {
1322
+ switch (At(f), Ue(), C) {
1323
+ case "gmcore":
1324
+ Oe();
1325
+ break;
1326
+ case "gm16":
1327
+ Ee();
1328
+ break;
1329
+ default:
1330
+ throw Error(`Invalid apiversion attribute: ${C}`);
1331
+ }
1332
+ }, Ne = (u) => u.data && u.data.type === "LogoutSuccessfull" && R.close();
1333
+ vt(() => (window.addEventListener("message", Ne, !1), () => {
1334
+ window.removeEventListener("message", Ne), R && R.close();
1335
+ }));
1336
+ const Ge = () => n(2, K = !0), Le = () => n(2, K = !1), Me = () => De(), be = () => n(2, K = !1);
1337
+ function Z(u) {
1338
+ wt[u ? "unshift" : "push"](() => {
1339
+ b = u, n(0, b);
1340
+ });
1341
+ }
1342
+ return a.$$set = (u) => {
1343
+ "userid" in u && n(9, l = u.userid), "session" in u && n(10, c = u.session), "endpoint" in u && n(11, h = u.endpoint), "lang" in u && n(12, f = u.lang), "clientstyling" in u && n(13, g = u.clientstyling), "clientstylingurl" in u && n(14, y = u.clientstylingurl), "translationurl" in u && n(15, D = u.translationurl), "customlocaleidentifier" in u && n(16, O = u.customlocaleidentifier), "gmversion" in u && n(17, C = u.gmversion), "displaybalanceoption" in u && n(18, T = u.displaybalanceoption), "totalcalculationmode" in u && n(8, A = u.totalcalculationmode), "currencyseparator" in u && n(19, G = u.currencyseparator), "currencydecimal" in u && n(20, k = u.currencydecimal), "currencyprecision" in u && n(21, U = u.currencyprecision);
1344
+ }, a.$$.update = () => {
1345
+ a.$$.dirty[0] & /*lang*/
1346
+ 4096 && f && Ae(), a.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
1347
+ 400896 && h && l && c && f && C && T && Pe(), a.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
1348
+ 134656 && h && l && c && C && ne(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1349
+ 8193 && g && b && bt(b, g), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1350
+ 16385 && y && b && Bt(b, y), a.$$.dirty[0] & /*customStylingContainer*/
1351
+ 1 && b && Ct(b, "App.Style"), a.$$.dirty[0] & /*translationurl*/
1352
+ 32768 && D && we();
1353
+ }, [
1354
+ b,
1355
+ X,
1356
+ K,
1357
+ M,
1358
+ d,
1359
+ r,
1360
+ Re,
1361
+ De,
1362
+ A,
1363
+ l,
1364
+ c,
1365
+ h,
1366
+ f,
1367
+ g,
1368
+ y,
1369
+ D,
1370
+ O,
1371
+ C,
1372
+ T,
1373
+ G,
1374
+ k,
1375
+ U,
1376
+ Ge,
1377
+ Le,
1378
+ Me,
1379
+ be,
1380
+ Z
1381
+ ];
1382
+ }
1383
+ class Vt extends ft {
1384
+ constructor(e) {
1385
+ super(), pt(
1386
+ this,
1387
+ e,
1388
+ It,
1389
+ Nt,
1390
+ mt,
1391
+ {
1392
+ userid: 9,
1393
+ session: 10,
1394
+ endpoint: 11,
1395
+ lang: 12,
1396
+ clientstyling: 13,
1397
+ clientstylingurl: 14,
1398
+ translationurl: 15,
1399
+ customlocaleidentifier: 16,
1400
+ gmversion: 17,
1401
+ displaybalanceoption: 18,
1402
+ totalcalculationmode: 8,
1403
+ currencyseparator: 19,
1404
+ currencydecimal: 20,
1405
+ currencyprecision: 21
1406
+ },
1407
+ Ft,
1408
+ [-1, -1]
1409
+ );
1410
+ }
1411
+ get userid() {
1412
+ return this.$$.ctx[9];
1413
+ }
1414
+ set userid(e) {
1415
+ this.$$set({ userid: e }), Q();
1416
+ }
1417
+ get session() {
1418
+ return this.$$.ctx[10];
1419
+ }
1420
+ set session(e) {
1421
+ this.$$set({ session: e }), Q();
1422
+ }
1423
+ get endpoint() {
1424
+ return this.$$.ctx[11];
1425
+ }
1426
+ set endpoint(e) {
1427
+ this.$$set({ endpoint: e }), Q();
1428
+ }
1429
+ get lang() {
1430
+ return this.$$.ctx[12];
1431
+ }
1432
+ set lang(e) {
1433
+ this.$$set({ lang: e }), Q();
1434
+ }
1435
+ get clientstyling() {
1436
+ return this.$$.ctx[13];
1437
+ }
1438
+ set clientstyling(e) {
1439
+ this.$$set({ clientstyling: e }), Q();
1440
+ }
1441
+ get clientstylingurl() {
1442
+ return this.$$.ctx[14];
1443
+ }
1444
+ set clientstylingurl(e) {
1445
+ this.$$set({ clientstylingurl: e }), Q();
1446
+ }
1447
+ get translationurl() {
1448
+ return this.$$.ctx[15];
1449
+ }
1450
+ set translationurl(e) {
1451
+ this.$$set({ translationurl: e }), Q();
1452
+ }
1453
+ get customlocaleidentifier() {
1454
+ return this.$$.ctx[16];
1455
+ }
1456
+ set customlocaleidentifier(e) {
1457
+ this.$$set({ customlocaleidentifier: e }), Q();
1458
+ }
1459
+ get gmversion() {
1460
+ return this.$$.ctx[17];
1461
+ }
1462
+ set gmversion(e) {
1463
+ this.$$set({ gmversion: e }), Q();
1464
+ }
1465
+ get displaybalanceoption() {
1466
+ return this.$$.ctx[18];
1467
+ }
1468
+ set displaybalanceoption(e) {
1469
+ this.$$set({ displaybalanceoption: e }), Q();
1470
+ }
1471
+ get totalcalculationmode() {
1472
+ return this.$$.ctx[8];
1473
+ }
1474
+ set totalcalculationmode(e) {
1475
+ this.$$set({ totalcalculationmode: e }), Q();
1476
+ }
1477
+ get currencyseparator() {
1478
+ return this.$$.ctx[19];
1479
+ }
1480
+ set currencyseparator(e) {
1481
+ this.$$set({ currencyseparator: e }), Q();
1482
+ }
1483
+ get currencydecimal() {
1484
+ return this.$$.ctx[20];
1485
+ }
1486
+ set currencydecimal(e) {
1487
+ this.$$set({ currencydecimal: e }), Q();
1488
+ }
1489
+ get currencyprecision() {
1490
+ return this.$$.ctx[21];
1491
+ }
1492
+ set currencyprecision(e) {
1493
+ this.$$set({ currencyprecision: e }), Q();
1494
+ }
1495
+ }
1496
+ ht(Vt, { userid: {}, session: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {} }, [], [], !0);
1497
+ export {
1498
+ Vt as default
1499
+ };