@everymatrix/casino-header-controller 1.65.0 → 1.65.1

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