@everymatrix/casino-header-controller 1.0.16 → 1.0.70

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