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