@everymatrix/casino-header-controller 1.54.12 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoHamburgerMenu-C8-P7sF9.cjs +8 -0
- package/components/{CasinoHamburgerMenu-Dv3mR4gk.js → CasinoHamburgerMenu-E4O8Dx5o.js} +1239 -1157
- package/components/{CasinoHamburgerMenu-DrXD2QZ-.js → CasinoHamburgerMenu-JVY4ac8I.js} +975 -969
- package/components/{CasinoHeaderController-uM2BkEPQ.js → CasinoHeaderController-9s-CNvhj.js} +762 -700
- package/components/{CasinoHeaderController-EYxUFHlv.js → CasinoHeaderController-BVCLQUCq.js} +780 -718
- package/components/CasinoHeaderController-BZk18wxU.cjs +13 -0
- package/components/{CasinoSlider-BaotiKI5.cjs → CasinoSlider-DDycojG8.cjs} +1 -1
- package/components/{CasinoSlider-5-1p-Xbc.js → CasinoSlider-xu8jCpW1.js} +325 -328
- package/components/{CasinoSlider-Dm6jniCL.js → CasinoSlider-yMz4R8ed.js} +296 -299
- package/components/PlayerAccountBalanceModal-BVQlpIy4.cjs +13 -0
- package/components/{PlayerAccountBalanceModal-Cs1yCHOI.js → PlayerAccountBalanceModal-CcASksA3.js} +401 -405
- package/components/{PlayerAccountBalanceModal-B1_uQAVA.js → PlayerAccountBalanceModal-DG6GgVDp.js} +364 -368
- package/components/PlayerDeposit-C8ZPqrpV.cjs +1 -0
- package/components/{PlayerDeposit-B89_Vs9V.js → PlayerDeposit-CIarW5H1.js} +142 -146
- package/components/{PlayerDeposit-CNy9cvEy.js → PlayerDeposit-D9xpcJp9.js} +142 -146
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/index-657e7a14-BQuTIY5_.js +572 -0
- package/stencil/index-657e7a14-CDqZBTHG.cjs +1 -0
- package/stencil/index-657e7a14-fo2CD-e3.js +588 -0
- package/stencil/{user-deposit-withdrawal-CJUx01Ss.cjs → user-deposit-withdrawal-BCkoyv3i.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-5ly7Quf_.js → user-deposit-withdrawal-Dg3a3KkR.js} +24 -24
- package/stencil/{user-deposit-withdrawal-BEcaqAXR.js → user-deposit-withdrawal-gu9RDhoH.js} +24 -24
- package/components/CasinoHamburgerMenu-BGHo13mn.cjs +0 -8
- package/components/CasinoHeaderController-CfFUvcEO.cjs +0 -13
- package/components/PlayerAccountBalanceModal-B_7fcnxz.cjs +0 -13
- package/components/PlayerDeposit-DqZH75Dh.cjs +0 -1
- package/stencil/index-45f4006f-B0VyePmU.js +0 -638
- package/stencil/index-45f4006f-BYSN7Lmh.js +0 -654
- package/stencil/index-45f4006f-CT7q_gcU.cjs +0 -1
package/components/{PlayerAccountBalanceModal-B1_uQAVA.js → PlayerAccountBalanceModal-DG6GgVDp.js}
RENAMED
@@ -26,11 +26,11 @@ var tt = (o, e, t) => new Promise((r, c) => {
|
|
26
26
|
}, f = (m) => m.done ? r(m.value) : Promise.resolve(m.value).then(u, g);
|
27
27
|
f((t = t.apply(o, e)).next());
|
28
28
|
});
|
29
|
-
import { b as wt, $ as bt,
|
29
|
+
import { b as wt, $ as bt, O as Bt, S as Ct, i as St, f as K, c as Tt, s as _t, d as At, g as N, e as oe, x as V, j as he, y as R, 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 kt, G as Ot } from "./CasinoHamburgerMenu-E4O8Dx5o.js";
|
30
30
|
function nt(o, e) {
|
31
31
|
wt(o, e);
|
32
32
|
}
|
33
|
-
function
|
33
|
+
function Nt(o) {
|
34
34
|
bt.set(o);
|
35
35
|
}
|
36
36
|
const at = {
|
@@ -241,7 +241,7 @@ var We = { exports: {} };
|
|
241
241
|
*/
|
242
242
|
(function(o, e) {
|
243
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,
|
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, B = t.TextDecoder, A = t.TextEncoder, U = t.AbortController;
|
245
245
|
if (typeof window != "undefined" && typeof y != "undefined" && !("readyState" in y) && y.body == null && (y.readyState = "loading", window.addEventListener("load", function(n) {
|
246
246
|
y.readyState = "complete";
|
247
247
|
}, !1)), u == null && f != null && (u = function() {
|
@@ -301,43 +301,43 @@ var We = { exports: {} };
|
|
301
301
|
throw new Error();
|
302
302
|
}
|
303
303
|
for (var i = 65533, s = "", h = this.bitsNeeded, w = this.codePoint, k = 0; k < n.length; k += 1) {
|
304
|
-
var
|
305
|
-
h !== 0 && (
|
304
|
+
var _ = n[k];
|
305
|
+
h !== 0 && (_ < 128 || _ > 191 || !a(w << 6 | _ & 63, h - 6, l(h, w))) && (h = 0, w = i, s += String.fromCharCode(w)), h === 0 ? (_ >= 0 && _ <= 127 ? (h = 0, w = _) : _ >= 192 && _ <= 223 ? (h = 6 * 1, w = _ & 31) : _ >= 224 && _ <= 239 ? (h = 6 * 2, w = _ & 15) : _ >= 240 && _ <= 247 ? (h = 6 * 3, w = _ & 7) : (h = 0, w = i), h !== 0 && !a(w, h, l(h, w)) && (h = 0, w = i)) : (h -= 6, w = w << 6 | _ & 63), h === 0 && (w <= 65535 ? s += String.fromCharCode(w) : (s += String.fromCharCode(55296 + (w - 65535 - 1 >> 10)), s += String.fromCharCode(56320 + (w - 65535 - 1 & 1023))));
|
306
306
|
}
|
307
307
|
return this.bitsNeeded = h, this.codePoint = w, s;
|
308
308
|
};
|
309
|
-
var
|
309
|
+
var Z = function() {
|
310
310
|
try {
|
311
|
-
return new
|
311
|
+
return new B().decode(new A().encode("test"), { stream: !0 }) === "test";
|
312
312
|
} catch (n) {
|
313
313
|
console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + n);
|
314
314
|
}
|
315
315
|
return !1;
|
316
316
|
};
|
317
|
-
(
|
318
|
-
var
|
317
|
+
(B == null || A == null || !Z()) && (B = H);
|
318
|
+
var S = function() {
|
319
319
|
};
|
320
|
-
function
|
321
|
-
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress =
|
320
|
+
function C(n) {
|
321
|
+
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = S, this.onload = S, this.onerror = S, this.onreadystatechange = S, this._contentType = "", this._xhr = n, this._sendTimeout = 0, this._abort = S;
|
322
322
|
}
|
323
|
-
|
323
|
+
C.prototype.open = function(n, a) {
|
324
324
|
this._abort(!0);
|
325
325
|
var l = this, i = this._xhr, s = 1, h = 0;
|
326
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 =
|
327
|
+
l._sendTimeout !== 0 && (c(l._sendTimeout), l._sendTimeout = 0), (s === 1 || s === 2 || s === 3) && (s = 4, i.onload = S, i.onerror = S, i.onabort = S, i.onprogress = S, i.onreadystatechange = S, i.abort(), h !== 0 && (c(h), h = 0), v || (l.readyState = 4, l.onabort(null), l.onreadystatechange())), s = 0;
|
328
328
|
};
|
329
329
|
var w = function() {
|
330
330
|
if (s === 1) {
|
331
|
-
var v = 0, O = "",
|
331
|
+
var v = 0, O = "", le = void 0;
|
332
332
|
if ("contentType" in i)
|
333
|
-
v = 200, O = "OK",
|
333
|
+
v = 200, O = "OK", le = i.contentType;
|
334
334
|
else
|
335
335
|
try {
|
336
|
-
v = i.status, O = i.statusText,
|
337
|
-
} catch (
|
338
|
-
v = 0, O = "",
|
336
|
+
v = i.status, O = i.statusText, le = i.getResponseHeader("Content-Type");
|
337
|
+
} catch (Me) {
|
338
|
+
v = 0, O = "", le = void 0;
|
339
339
|
}
|
340
|
-
v !== 0 && (s = 2, l.readyState = 2, l.status = v, l.statusText = O, l._contentType =
|
340
|
+
v !== 0 && (s = 2, l.readyState = 2, l.status = v, l.statusText = O, l._contentType = le, l.onreadystatechange());
|
341
341
|
}
|
342
342
|
}, k = function() {
|
343
343
|
if (w(), s === 2 || s === 3) {
|
@@ -349,9 +349,9 @@ var We = { exports: {} };
|
|
349
349
|
}
|
350
350
|
l.readyState = 3, l.responseText = v, l.onprogress();
|
351
351
|
}
|
352
|
-
},
|
352
|
+
}, _ = function(v, O) {
|
353
353
|
if ((O == null || O.preventDefault == null) && (O = {
|
354
|
-
preventDefault:
|
354
|
+
preventDefault: S
|
355
355
|
}), k(), s === 1 || s === 2 || s === 3) {
|
356
356
|
if (s = 4, h !== 0 && (c(h), h = 0), l.readyState = 4, v === "load")
|
357
357
|
l.onload(O);
|
@@ -364,33 +364,33 @@ var We = { exports: {} };
|
|
364
364
|
l.onreadystatechange();
|
365
365
|
}
|
366
366
|
}, E = function(v) {
|
367
|
-
i != null && (i.readyState === 4 ? (!("onload" in i) || !("onerror" in i) || !("onabort" in i)) &&
|
367
|
+
i != null && (i.readyState === 4 ? (!("onload" in i) || !("onerror" in i) || !("onabort" in i)) && _(i.responseText === "" ? "error" : "load", v) : i.readyState === 3 ? "onprogress" in i || k() : i.readyState === 2 && w());
|
368
368
|
}, L = function() {
|
369
369
|
h = r(function() {
|
370
370
|
L();
|
371
371
|
}, 500), i.readyState === 3 && k();
|
372
372
|
};
|
373
373
|
"onload" in i && (i.onload = function(v) {
|
374
|
-
|
374
|
+
_("load", v);
|
375
375
|
}), "onerror" in i && (i.onerror = function(v) {
|
376
|
-
|
376
|
+
_("error", v);
|
377
377
|
}), "onabort" in i && (i.onabort = function(v) {
|
378
|
-
|
378
|
+
_("abort", v);
|
379
379
|
}), "onprogress" in i && (i.onprogress = k), "onreadystatechange" in i && (i.onreadystatechange = function(v) {
|
380
380
|
E(v);
|
381
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
382
|
L();
|
383
383
|
}, 0));
|
384
|
-
},
|
384
|
+
}, C.prototype.abort = function() {
|
385
385
|
this._abort(!1);
|
386
|
-
},
|
386
|
+
}, C.prototype.getResponseHeader = function(n) {
|
387
387
|
return this._contentType;
|
388
|
-
},
|
388
|
+
}, C.prototype.setRequestHeader = function(n, a) {
|
389
389
|
var l = this._xhr;
|
390
390
|
"setRequestHeader" in l && l.setRequestHeader(n, a);
|
391
|
-
},
|
391
|
+
}, C.prototype.getAllResponseHeaders = function() {
|
392
392
|
return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
|
393
|
-
},
|
393
|
+
}, C.prototype.send = function() {
|
394
394
|
if ((!("ontimeout" in u.prototype) || !("sendAsBinary" in u.prototype) && !("mozAnon" in u.prototype)) && y != null && y.readyState != null && y.readyState !== "complete") {
|
395
395
|
var n = this;
|
396
396
|
n._sendTimeout = r(function() {
|
@@ -406,7 +406,7 @@ var We = { exports: {} };
|
|
406
406
|
throw l;
|
407
407
|
}
|
408
408
|
};
|
409
|
-
function
|
409
|
+
function P(n) {
|
410
410
|
return n.replace(/[A-Z]/g, function(a) {
|
411
411
|
return String.fromCharCode(a.charCodeAt(0) + 32);
|
412
412
|
});
|
@@ -415,16 +415,16 @@ var We = { exports: {} };
|
|
415
415
|
for (var a = /* @__PURE__ */ Object.create(null), l = n.split(`\r
|
416
416
|
`), i = 0; i < l.length; i += 1) {
|
417
417
|
var s = l[i], h = s.split(": "), w = h.shift(), k = h.join(": ");
|
418
|
-
a[
|
418
|
+
a[P(w)] = k;
|
419
419
|
}
|
420
420
|
this._map = a;
|
421
421
|
}
|
422
422
|
D.prototype.get = function(n) {
|
423
|
-
return this._map[
|
423
|
+
return this._map[P(n)];
|
424
424
|
}, u != null && u.HEADERS_RECEIVED == null && (u.HEADERS_RECEIVED = 2);
|
425
|
-
function
|
425
|
+
function $() {
|
426
426
|
}
|
427
|
-
|
427
|
+
$.prototype.open = function(n, a, l, i, s, h, w) {
|
428
428
|
n.open("GET", s);
|
429
429
|
var k = 0;
|
430
430
|
n.onprogress = function() {
|
@@ -442,40 +442,40 @@ var We = { exports: {} };
|
|
442
442
|
a(E, L, v, new D(O));
|
443
443
|
}
|
444
444
|
}, n.withCredentials = h;
|
445
|
-
for (var
|
446
|
-
Object.prototype.hasOwnProperty.call(w,
|
445
|
+
for (var _ in w)
|
446
|
+
Object.prototype.hasOwnProperty.call(w, _) && n.setRequestHeader(_, w[_]);
|
447
447
|
return n.send(), n;
|
448
448
|
};
|
449
|
-
function
|
449
|
+
function ee(n) {
|
450
450
|
this._headers = n;
|
451
451
|
}
|
452
|
-
|
452
|
+
ee.prototype.get = function(n) {
|
453
453
|
return this._headers.get(n);
|
454
454
|
};
|
455
|
-
function
|
455
|
+
function ge() {
|
456
456
|
}
|
457
|
-
|
458
|
-
var k = null,
|
457
|
+
ge.prototype.open = function(n, a, l, i, s, h, w) {
|
458
|
+
var k = null, _ = new U(), E = _.signal, L = new B();
|
459
459
|
return F(s, {
|
460
460
|
headers: w,
|
461
461
|
credentials: h ? "include" : "same-origin",
|
462
462
|
signal: E,
|
463
463
|
cache: "no-store"
|
464
464
|
}).then(function(v) {
|
465
|
-
return k = v.body.getReader(), a(v.status, v.statusText, v.headers.get("Content-Type"), new
|
466
|
-
var
|
467
|
-
k.read().then(function(
|
468
|
-
if (
|
465
|
+
return k = v.body.getReader(), a(v.status, v.statusText, v.headers.get("Content-Type"), new ee(v.headers)), new x(function(O, le) {
|
466
|
+
var Me = function() {
|
467
|
+
k.read().then(function(Y) {
|
468
|
+
if (Y.done)
|
469
469
|
O(void 0);
|
470
470
|
else {
|
471
|
-
var
|
472
|
-
l(
|
471
|
+
var G = L.decode(Y.value, { stream: !0 });
|
472
|
+
l(G), Me();
|
473
473
|
}
|
474
|
-
}).catch(function(
|
475
|
-
|
474
|
+
}).catch(function(Y) {
|
475
|
+
le(Y);
|
476
476
|
});
|
477
477
|
};
|
478
|
-
|
478
|
+
Me();
|
479
479
|
});
|
480
480
|
}).catch(function(v) {
|
481
481
|
if (v.name !== "AbortError")
|
@@ -484,19 +484,19 @@ var We = { exports: {} };
|
|
484
484
|
i(v);
|
485
485
|
}), {
|
486
486
|
abort: function() {
|
487
|
-
k != null && k.cancel(),
|
487
|
+
k != null && k.cancel(), _.abort();
|
488
488
|
}
|
489
489
|
};
|
490
490
|
};
|
491
|
-
function
|
491
|
+
function te() {
|
492
492
|
this._listeners = /* @__PURE__ */ Object.create(null);
|
493
493
|
}
|
494
|
-
function
|
494
|
+
function Ae(n) {
|
495
495
|
r(function() {
|
496
496
|
throw n;
|
497
497
|
}, 0);
|
498
498
|
}
|
499
|
-
|
499
|
+
te.prototype.dispatchEvent = function(n) {
|
500
500
|
n.target = this;
|
501
501
|
var a = this._listeners[n.type];
|
502
502
|
if (a != null)
|
@@ -505,17 +505,17 @@ var We = { exports: {} };
|
|
505
505
|
try {
|
506
506
|
typeof s.handleEvent == "function" ? s.handleEvent(n) : s.call(this, n);
|
507
507
|
} catch (h) {
|
508
|
-
|
508
|
+
Ae(h);
|
509
509
|
}
|
510
510
|
}
|
511
|
-
},
|
511
|
+
}, te.prototype.addEventListener = function(n, a) {
|
512
512
|
n = String(n);
|
513
513
|
var l = this._listeners, i = l[n];
|
514
514
|
i == null && (i = [], l[n] = i);
|
515
515
|
for (var s = !1, h = 0; h < i.length; h += 1)
|
516
516
|
i[h] === a && (s = !0);
|
517
517
|
s || i.push(a);
|
518
|
-
},
|
518
|
+
}, te.prototype.removeEventListener = function(n, a) {
|
519
519
|
n = String(n);
|
520
520
|
var l = this._listeners, i = l[n];
|
521
521
|
if (i != null) {
|
@@ -524,161 +524,161 @@ var We = { exports: {} };
|
|
524
524
|
s.length === 0 ? delete l[n] : l[n] = s;
|
525
525
|
}
|
526
526
|
};
|
527
|
-
function
|
527
|
+
function p(n) {
|
528
528
|
this.type = n, this.target = void 0;
|
529
529
|
}
|
530
|
-
function
|
531
|
-
|
530
|
+
function ye(n, a) {
|
531
|
+
p.call(this, n), this.data = a.data, this.lastEventId = a.lastEventId;
|
532
532
|
}
|
533
|
-
|
534
|
-
function
|
535
|
-
|
533
|
+
ye.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
536
|
}
|
537
|
-
|
538
|
-
function
|
539
|
-
|
537
|
+
Re.prototype = Object.create(p.prototype);
|
538
|
+
function Ee(n, a) {
|
539
|
+
p.call(this, n), this.error = a.error;
|
540
540
|
}
|
541
|
-
|
542
|
-
var
|
541
|
+
Ee.prototype = Object.create(p.prototype);
|
542
|
+
var xe = -1, re = 0, ve = 1, se = 2, Ce = -1, ie = 0, be = 1, De = 2, He = 3, ke = /^text\/event\-stream(;.*)?$/i, ze = 1e3, Ue = 18e6, Se = function(n, a) {
|
543
543
|
var l = n == null ? a : parseInt(n, 10);
|
544
|
-
return l !== l && (l = a),
|
545
|
-
},
|
546
|
-
return Math.min(Math.max(n,
|
547
|
-
},
|
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
548
|
try {
|
549
549
|
typeof a == "function" && a.call(n, l);
|
550
550
|
} catch (i) {
|
551
|
-
|
551
|
+
Ae(i);
|
552
552
|
}
|
553
553
|
};
|
554
|
-
function
|
555
|
-
|
554
|
+
function W(n, a) {
|
555
|
+
te.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
556
|
}
|
557
557
|
function Pe() {
|
558
558
|
return u != null && "withCredentials" in u.prototype || g == null ? new u() : new g();
|
559
559
|
}
|
560
|
-
var Ge = F != null &&
|
560
|
+
var Ge = F != null && b != null && "body" in b.prototype;
|
561
561
|
function d(n, a, l) {
|
562
562
|
a = String(a);
|
563
|
-
var i = !!l.withCredentials, s = l.lastEventIdQueryParameterName || "lastEventId", h =
|
564
|
-
if (ne ===
|
565
|
-
if (j === 200 &&
|
566
|
-
ne =
|
567
|
-
var q = new
|
563
|
+
var i = !!l.withCredentials, s = l.lastEventIdQueryParameterName || "lastEventId", h = Le(1e3), w = Se(l.heartbeatTimeout, 45e3), k = "", _ = h, E = !1, L = 0, v = l.headers || {}, O = l.Transport, le = Ge && O == null ? void 0 : new C(O != null ? new O() : Pe()), Me = O != null && typeof O != "string" ? new O() : le == null ? new ge() : new $(), Y = void 0, G = 0, ne = xe, Te = "", Oe = "", ce = "", Ne = "", X = ie, Xe = 0, Be = 0, ft = function(j, I, J, Q) {
|
564
|
+
if (ne === re)
|
565
|
+
if (j === 200 && J != null && ke.test(J)) {
|
566
|
+
ne = ve, E = Date.now(), _ = h, n.readyState = ve;
|
567
|
+
var q = new Re("open", {
|
568
568
|
status: j,
|
569
569
|
statusText: I,
|
570
|
-
headers:
|
570
|
+
headers: Q
|
571
571
|
});
|
572
|
-
n.dispatchEvent(q),
|
572
|
+
n.dispatchEvent(q), we(n, n.onopen, q);
|
573
573
|
} else {
|
574
574
|
var z = "";
|
575
|
-
j !== 200 ? (I && (I = I.replace(/\s+/g, " ")), z = "EventSource's response has a status " + j + " " + I + " that is not 200. Aborting the connection.") : z = "EventSource's response has a Content-Type specifying an unsupported type: " + (
|
576
|
-
var q = new
|
575
|
+
j !== 200 ? (I && (I = I.replace(/\s+/g, " ")), z = "EventSource's response has a status " + j + " " + I + " that is not 200. Aborting the connection.") : z = "EventSource's response has a Content-Type specifying an unsupported type: " + (J == null ? "-" : J.replace(/\s+/g, " ")) + ". Aborting the connection.", qe();
|
576
|
+
var q = new Re("error", {
|
577
577
|
status: j,
|
578
578
|
statusText: I,
|
579
|
-
headers:
|
579
|
+
headers: Q
|
580
580
|
});
|
581
|
-
n.dispatchEvent(q),
|
581
|
+
n.dispatchEvent(q), we(n, n.onerror, q), console.error(z);
|
582
582
|
}
|
583
583
|
}, pt = function(j) {
|
584
|
-
if (ne ===
|
585
|
-
for (var I = -1,
|
586
|
-
var
|
587
|
-
(
|
584
|
+
if (ne === ve) {
|
585
|
+
for (var I = -1, J = 0; J < j.length; J += 1) {
|
586
|
+
var Q = j.charCodeAt(J);
|
587
|
+
(Q === 10 || Q === 13) && (I = J);
|
588
588
|
}
|
589
589
|
var q = (I !== -1 ? Ne : "") + j.slice(0, I + 1);
|
590
590
|
Ne = (I === -1 ? Ne : "") + j.slice(I + 1), j !== "" && (E = Date.now(), L += j.length);
|
591
591
|
for (var z = 0; z < q.length; z += 1) {
|
592
|
-
var
|
593
|
-
if (
|
594
|
-
|
595
|
-
else if (
|
596
|
-
if (
|
597
|
-
|
598
|
-
var
|
599
|
-
|
600
|
-
`,
|
601
|
-
|
592
|
+
var Q = q.charCodeAt(z);
|
593
|
+
if (X === Ce && Q === 10)
|
594
|
+
X = ie;
|
595
|
+
else if (X === Ce && (X = ie), Q === 13 || Q === 10) {
|
596
|
+
if (X !== ie) {
|
597
|
+
X === be && (Be = z + 1);
|
598
|
+
var ue = q.slice(Xe, Be - 1), de = q.slice(Be + (Be < z && q.charCodeAt(Be) === 32 ? 1 : 0), z);
|
599
|
+
ue === "data" ? (Te += `
|
600
|
+
`, Te += de) : ue === "id" ? Oe = de : ue === "event" ? ce = de : ue === "retry" ? (h = Se(de, h), _ = h) : ue === "heartbeatTimeout" && (w = Se(de, w), G !== 0 && (c(G), G = r(function() {
|
601
|
+
Fe();
|
602
602
|
}, w)));
|
603
603
|
}
|
604
|
-
if (
|
605
|
-
if (
|
606
|
-
k = Oe,
|
607
|
-
var
|
608
|
-
data:
|
604
|
+
if (X === ie) {
|
605
|
+
if (Te !== "") {
|
606
|
+
k = Oe, ce === "" && (ce = "message");
|
607
|
+
var _e = new ye(ce, {
|
608
|
+
data: Te.slice(1),
|
609
609
|
lastEventId: Oe
|
610
610
|
});
|
611
|
-
if (n.dispatchEvent(
|
611
|
+
if (n.dispatchEvent(_e), ce === "open" ? we(n, n.onopen, _e) : ce === "message" ? we(n, n.onmessage, _e) : ce === "error" && we(n, n.onerror, _e), ne === se)
|
612
612
|
return;
|
613
613
|
}
|
614
|
-
|
614
|
+
Te = "", ce = "";
|
615
615
|
}
|
616
|
-
|
616
|
+
X = Q === 13 ? Ce : ie;
|
617
617
|
} else
|
618
|
-
|
618
|
+
X === ie && (Xe = z, X = be), X === be ? Q === 58 && (Be = z + 1, X = De) : X === De && (X = He);
|
619
619
|
}
|
620
620
|
}
|
621
621
|
}, Je = function(j) {
|
622
|
-
if (ne ===
|
623
|
-
ne =
|
624
|
-
|
625
|
-
},
|
626
|
-
var I = new
|
627
|
-
n.dispatchEvent(I),
|
622
|
+
if (ne === ve || ne === re) {
|
623
|
+
ne = xe, G !== 0 && (c(G), G = 0), G = r(function() {
|
624
|
+
Fe();
|
625
|
+
}, _), _ = Le(Math.min(h * 16, _ * 2)), n.readyState = re;
|
626
|
+
var I = new Ee("error", { error: j });
|
627
|
+
n.dispatchEvent(I), we(n, n.onerror, I), j != null && console.error(j);
|
628
628
|
}
|
629
|
-
},
|
630
|
-
ne =
|
631
|
-
},
|
632
|
-
if (
|
633
|
-
if (!E &&
|
634
|
-
Je(new Error("No activity within " + w + " milliseconds. " + (ne ===
|
629
|
+
}, qe = function() {
|
630
|
+
ne = se, Y != null && (Y.abort(), Y = void 0), G !== 0 && (c(G), G = 0), n.readyState = se;
|
631
|
+
}, Fe = function() {
|
632
|
+
if (G = 0, ne !== xe) {
|
633
|
+
if (!E && Y != null)
|
634
|
+
Je(new Error("No activity within " + w + " milliseconds. " + (ne === re ? "No response received." : L + " chars received.") + " Reconnecting.")), Y != null && (Y.abort(), Y = void 0);
|
635
635
|
else {
|
636
636
|
var j = Math.max((E || Date.now()) + w - Date.now(), 1);
|
637
|
-
E = !1,
|
638
|
-
|
637
|
+
E = !1, G = r(function() {
|
638
|
+
Fe();
|
639
639
|
}, j);
|
640
640
|
}
|
641
641
|
return;
|
642
642
|
}
|
643
|
-
E = !1, L = 0,
|
644
|
-
|
645
|
-
}, w), ne =
|
643
|
+
E = !1, L = 0, G = r(function() {
|
644
|
+
Fe();
|
645
|
+
}, w), ne = re, Te = "", ce = "", Oe = k, Ne = "", Xe = 0, Be = 0, X = ie;
|
646
646
|
var I = a;
|
647
647
|
if (a.slice(0, 5) !== "data:" && a.slice(0, 5) !== "blob:" && k !== "") {
|
648
|
-
var
|
649
|
-
I =
|
650
|
-
return
|
648
|
+
var J = a.indexOf("?");
|
649
|
+
I = J === -1 ? a : a.slice(0, J + 1) + a.slice(J + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(de, _e) {
|
650
|
+
return _e === s ? "" : de;
|
651
651
|
}), I += (a.indexOf("?") === -1 ? "?" : "&") + s + "=" + encodeURIComponent(k);
|
652
652
|
}
|
653
|
-
var
|
653
|
+
var Q = n.withCredentials, q = {};
|
654
654
|
q.Accept = "text/event-stream";
|
655
655
|
var z = n.headers;
|
656
656
|
if (z != null)
|
657
|
-
for (var
|
658
|
-
Object.prototype.hasOwnProperty.call(z,
|
657
|
+
for (var ue in z)
|
658
|
+
Object.prototype.hasOwnProperty.call(z, ue) && (q[ue] = z[ue]);
|
659
659
|
try {
|
660
|
-
|
661
|
-
} catch (
|
662
|
-
throw
|
660
|
+
Y = Me.open(le, ft, pt, Je, I, Q, q);
|
661
|
+
} catch (de) {
|
662
|
+
throw qe(), de;
|
663
663
|
}
|
664
664
|
};
|
665
|
-
n.url = a, n.readyState =
|
665
|
+
n.url = a, n.readyState = re, n.withCredentials = i, n.headers = v, n._close = qe, Fe();
|
666
666
|
}
|
667
|
-
|
667
|
+
W.prototype = Object.create(te.prototype), W.prototype.CONNECTING = re, W.prototype.OPEN = ve, W.prototype.CLOSED = se, W.prototype.close = function() {
|
668
668
|
this._close();
|
669
|
-
},
|
670
|
-
var
|
671
|
-
u != null && (m == null || !("withCredentials" in m.prototype)) && (
|
669
|
+
}, W.CONNECTING = re, W.OPEN = ve, W.CLOSED = se, W.prototype.withCredentials = void 0;
|
670
|
+
var T = m;
|
671
|
+
u != null && (m == null || !("withCredentials" in m.prototype)) && (T = W), function(n) {
|
672
672
|
{
|
673
673
|
var a = n(e);
|
674
674
|
a !== void 0 && (o.exports = a);
|
675
675
|
}
|
676
676
|
}(function(n) {
|
677
|
-
n.EventSourcePolyfill =
|
677
|
+
n.EventSourcePolyfill = W, n.NativeEventSource = m, n.EventSource = T;
|
678
678
|
});
|
679
679
|
})(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : Bt : globalThis);
|
680
680
|
})(We, We.exports);
|
681
|
-
var
|
681
|
+
var It = We.exports;
|
682
682
|
/*!
|
683
683
|
* currency.js - v2.0.4
|
684
684
|
* http://scurker.github.io/currency.js
|
@@ -686,7 +686,7 @@ var kt = We.exports;
|
|
686
686
|
* Copyright (c) 2021 Jason Wilson
|
687
687
|
* Released under MIT license
|
688
688
|
*/
|
689
|
-
var
|
689
|
+
var Vt = {
|
690
690
|
symbol: "$",
|
691
691
|
separator: ",",
|
692
692
|
decimal: ".",
|
@@ -694,21 +694,21 @@ var Ot = {
|
|
694
694
|
precision: 2,
|
695
695
|
pattern: "!#",
|
696
696
|
negativePattern: "-!#",
|
697
|
-
format:
|
697
|
+
format: Ut,
|
698
698
|
fromCents: !1
|
699
699
|
}, dt = function(e) {
|
700
700
|
return Math.round(e);
|
701
701
|
}, Ye = function(e) {
|
702
702
|
return Math.pow(10, e);
|
703
|
-
},
|
703
|
+
}, jt = function(e, t) {
|
704
704
|
return dt(e / t) * t;
|
705
|
-
},
|
705
|
+
}, Ht = /(\d)(?=(\d{3})+\b)/g, zt = /(\d)(?=(\d\d)+\d\b)/g;
|
706
706
|
function ae(o, e) {
|
707
707
|
var t = this;
|
708
708
|
if (!(t instanceof ae))
|
709
709
|
return new ae(o, e);
|
710
|
-
var r = Object.assign({},
|
711
|
-
t.intValue = u, t.value = u / c, r.increment = r.increment || 1 / c, r.useVedic ? r.groups =
|
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
712
|
}
|
713
713
|
function Ie(o, e) {
|
714
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 ae;
|
@@ -717,8 +717,8 @@ function Ie(o, e) {
|
|
717
717
|
if (y || x)
|
718
718
|
r = x ? o.value : o;
|
719
719
|
else if (typeof o == "string") {
|
720
|
-
var F = new RegExp("[^-\\d" + c + "]", "g"),
|
721
|
-
r = o.replace(/\((.*)\)/, "-$1").replace(F, "").replace(
|
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
722
|
} else {
|
723
723
|
if (u)
|
724
724
|
throw Error("Invalid Input");
|
@@ -726,7 +726,7 @@ function Ie(o, e) {
|
|
726
726
|
}
|
727
727
|
return f || (r *= m, r = r.toFixed(4)), t ? dt(r) : r;
|
728
728
|
}
|
729
|
-
function
|
729
|
+
function Ut(o, e) {
|
730
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
731
|
return (o.value >= 0 ? t : r).replace("!", c).replace("#", y.replace(f, "$1" + u) + (x ? g + x : ""));
|
732
732
|
}
|
@@ -810,7 +810,7 @@ ae.prototype = {
|
|
810
810
|
*/
|
811
811
|
toString: function() {
|
812
812
|
var e = this.intValue, t = this.p, r = this.s;
|
813
|
-
return
|
813
|
+
return jt(e / t, r.increment).toFixed(r.precision);
|
814
814
|
},
|
815
815
|
/**
|
816
816
|
* Value for JSON serialization.
|
@@ -820,8 +820,8 @@ ae.prototype = {
|
|
820
820
|
return this.value;
|
821
821
|
}
|
822
822
|
};
|
823
|
-
function
|
824
|
-
|
823
|
+
function Pt(o) {
|
824
|
+
At(o, "svelte-113krup", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px}.ShowBalance .BalanceValue span{padding-left:8px}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background-color:var(--emw--color-white, #FFFFFF);position:absolute;top:45px;left:50%;transform:translateX(-60%);padding:10px;box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.BalanceModalWrapper:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:60%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModal{position:relative;width:280px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:5px;border:none;padding:10px 0;cursor:pointer}.BalanceModalFooter .BalanceModalAction:hover,.BalanceModalFooter .BalanceModalActionactive{background:var(--emw--header-contrast, var(--emw--color-background, #07072A))}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}');
|
825
825
|
}
|
826
826
|
function ot(o, e, t) {
|
827
827
|
const r = o.slice();
|
@@ -831,7 +831,7 @@ function rt(o, e, t) {
|
|
831
831
|
const r = o.slice();
|
832
832
|
return r[50] = e[t], r;
|
833
833
|
}
|
834
|
-
function
|
834
|
+
function Gt(o) {
|
835
835
|
let e, t = (
|
836
836
|
/*balances*/
|
837
837
|
(o[4].Total ? (
|
@@ -841,66 +841,66 @@ function zt(o) {
|
|
841
841
|
o[4].Total[0].amount
|
842
842
|
)
|
843
843
|
) : "0") + ""
|
844
|
-
), r, c, u, g, f, m, y, x, F,
|
844
|
+
), r, c, u, g, f, m, y, x, F, b = (
|
845
845
|
/*showBalance*/
|
846
846
|
o[2] && it(o)
|
847
847
|
);
|
848
848
|
return {
|
849
849
|
c() {
|
850
|
-
e = N("p"), r =
|
850
|
+
e = N("p"), r = fe(t), c = oe(), u = fe(
|
851
851
|
/*currency*/
|
852
852
|
o[3]
|
853
|
-
), g = oe(), 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 = oe(),
|
853
|
+
), g = oe(), 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 = oe(), b && b.c(), y = Ft(), V(e, "class", "BalanceValue"), V(e, "part", "BalanceValue");
|
854
854
|
},
|
855
|
-
m(
|
856
|
-
|
855
|
+
m(B, A) {
|
856
|
+
he(B, e, A), R(e, r), R(e, c), R(e, u), R(e, g), R(e, f), he(B, m, A), b && b.m(B, A), he(B, y, A), x || (F = Ve(
|
857
857
|
e,
|
858
858
|
"click",
|
859
859
|
/*click_handler*/
|
860
|
-
o[
|
860
|
+
o[23]
|
861
861
|
), x = !0);
|
862
862
|
},
|
863
|
-
p(
|
864
|
-
|
863
|
+
p(B, A) {
|
864
|
+
A[0] & /*balances*/
|
865
865
|
16 && t !== (t = /*balances*/
|
866
|
-
(
|
866
|
+
(B[4].Total ? (
|
867
867
|
/*formatBalance*/
|
868
|
-
|
868
|
+
B[6](
|
869
869
|
/*balances*/
|
870
|
-
|
870
|
+
B[4].Total[0].amount
|
871
871
|
)
|
872
|
-
) : "0") + "") &&
|
873
|
-
8 &&
|
872
|
+
) : "0") + "") && pe(r, t), A[0] & /*currency*/
|
873
|
+
8 && pe(
|
874
874
|
u,
|
875
875
|
/*currency*/
|
876
|
-
|
876
|
+
B[3]
|
877
877
|
), /*showBalance*/
|
878
|
-
|
878
|
+
B[2] ? b ? b.p(B, A) : (b = it(B), b.c(), b.m(y.parentNode, y)) : b && (b.d(1), b = null);
|
879
879
|
},
|
880
|
-
d(
|
881
|
-
|
880
|
+
d(B) {
|
881
|
+
B && (me(e), me(m), me(y)), b && b.d(B), x = !1, F();
|
882
882
|
}
|
883
883
|
};
|
884
884
|
}
|
885
|
-
function
|
885
|
+
function Xt(o) {
|
886
886
|
let e, t = (
|
887
887
|
/*$_*/
|
888
888
|
o[5]("Loading") + ""
|
889
889
|
), r;
|
890
890
|
return {
|
891
891
|
c() {
|
892
|
-
e = N("p"), r =
|
892
|
+
e = N("p"), r = fe(t);
|
893
893
|
},
|
894
894
|
m(c, u) {
|
895
|
-
|
895
|
+
he(c, e, u), R(e, r);
|
896
896
|
},
|
897
897
|
p(c, u) {
|
898
898
|
u[0] & /*$_*/
|
899
899
|
32 && t !== (t = /*$_*/
|
900
|
-
c[5]("Loading") + "") &&
|
900
|
+
c[5]("Loading") + "") && pe(r, t);
|
901
901
|
},
|
902
902
|
d(c) {
|
903
|
-
c &&
|
903
|
+
c && me(e);
|
904
904
|
}
|
905
905
|
};
|
906
906
|
}
|
@@ -908,65 +908,65 @@ function it(o) {
|
|
908
908
|
let e, t, r, c, u, g, f = (
|
909
909
|
/*$_*/
|
910
910
|
o[5]("Title") + ""
|
911
|
-
), m, y, x, F,
|
911
|
+
), m, y, x, F, b, B, A = (
|
912
912
|
/*$_*/
|
913
913
|
o[5]("DepositButton") + ""
|
914
|
-
), U, M, H,
|
914
|
+
), U, M, H, Z = je(Object.keys(
|
915
915
|
/*balances*/
|
916
916
|
o[4]
|
917
|
-
)),
|
918
|
-
for (let
|
919
|
-
|
917
|
+
)), S = [];
|
918
|
+
for (let C = 0; C < Z.length; C += 1)
|
919
|
+
S[C] = lt(ot(o, Z, C));
|
920
920
|
return {
|
921
921
|
c() {
|
922
|
-
e = N("div"), t = N("div"), r = oe(), c = N("div"), u = N("div"), g = N("p"), m =
|
923
|
-
for (let
|
924
|
-
|
925
|
-
F = oe(),
|
922
|
+
e = N("div"), t = N("div"), r = oe(), c = N("div"), u = N("div"), g = N("p"), m = fe(f), y = oe(), x = N("div");
|
923
|
+
for (let C = 0; C < S.length; C += 1)
|
924
|
+
S[C].c();
|
925
|
+
F = oe(), b = N("div"), B = N("button"), U = fe(A), V(t, "class", "BalanceModalClose"), V(g, "class", "BalanceModalTitle"), V(u, "class", "BalanceModalHeader"), V(x, "class", "BalanceModalBody"), V(B, "class", "BalanceModalAction"), V(b, "class", "BalanceModalFooter"), V(c, "class", "BalanceModal"), V(e, "class", "BalanceModalWrapper");
|
926
926
|
},
|
927
|
-
m(
|
928
|
-
|
929
|
-
for (let D = 0; D <
|
930
|
-
|
931
|
-
R(c, F), R(c,
|
927
|
+
m(C, P) {
|
928
|
+
he(C, e, P), R(e, t), R(e, r), R(e, c), R(c, u), R(u, g), R(g, m), R(c, y), R(c, x);
|
929
|
+
for (let D = 0; D < S.length; D += 1)
|
930
|
+
S[D] && S[D].m(x, null);
|
931
|
+
R(c, F), R(c, b), R(b, B), R(B, U), M || (H = [
|
932
932
|
Ve(
|
933
933
|
t,
|
934
934
|
"click",
|
935
935
|
/*click_handler_1*/
|
936
|
-
o[
|
936
|
+
o[24]
|
937
937
|
),
|
938
938
|
Ve(
|
939
|
-
|
939
|
+
B,
|
940
940
|
"click",
|
941
941
|
/*click_handler_2*/
|
942
|
-
o[
|
942
|
+
o[25]
|
943
943
|
)
|
944
944
|
], M = !0);
|
945
945
|
},
|
946
|
-
p(
|
947
|
-
if (
|
946
|
+
p(C, P) {
|
947
|
+
if (P[0] & /*$_*/
|
948
948
|
32 && f !== (f = /*$_*/
|
949
|
-
|
949
|
+
C[5]("Title") + "") && pe(m, f), P[0] & /*balances, currency, formatBalance, $_*/
|
950
950
|
120) {
|
951
|
-
|
951
|
+
Z = je(Object.keys(
|
952
952
|
/*balances*/
|
953
|
-
|
953
|
+
C[4]
|
954
954
|
));
|
955
955
|
let D;
|
956
|
-
for (D = 0; D <
|
957
|
-
const
|
958
|
-
|
956
|
+
for (D = 0; D < Z.length; D += 1) {
|
957
|
+
const $ = ot(C, Z, D);
|
958
|
+
S[D] ? S[D].p($, P) : (S[D] = lt($), S[D].c(), S[D].m(x, null));
|
959
959
|
}
|
960
|
-
for (; D <
|
961
|
-
|
962
|
-
|
960
|
+
for (; D < S.length; D += 1)
|
961
|
+
S[D].d(1);
|
962
|
+
S.length = Z.length;
|
963
963
|
}
|
964
|
-
|
965
|
-
32 &&
|
966
|
-
|
964
|
+
P[0] & /*$_*/
|
965
|
+
32 && A !== (A = /*$_*/
|
966
|
+
C[5]("DepositButton") + "") && pe(U, A);
|
967
967
|
},
|
968
|
-
d(
|
969
|
-
|
968
|
+
d(C) {
|
969
|
+
C && me(e), ut(S, C), M = !1, kt(H);
|
970
970
|
}
|
971
971
|
};
|
972
972
|
}
|
@@ -995,16 +995,16 @@ function st(o) {
|
|
995
995
|
o[50].amount
|
996
996
|
)
|
997
997
|
) : "0") + ""
|
998
|
-
),
|
998
|
+
), b, B, A, U;
|
999
999
|
return {
|
1000
1000
|
c() {
|
1001
|
-
e = N("div"), t = N("p"), c =
|
1001
|
+
e = N("div"), t = N("p"), c = fe(r), u = oe(), f = fe(g), m = oe(), y = N("p"), x = N("span"), b = fe(F), B = oe(), A = N("span"), U = fe(
|
1002
1002
|
/*currency*/
|
1003
1003
|
o[3]
|
1004
|
-
), V(t, "class", "BalanceModalText"), V(x, "class", "BalanceModalAmount"), V(
|
1004
|
+
), V(t, "class", "BalanceModalText"), V(x, "class", "BalanceModalAmount"), V(A, "class", "BalanceModalCurrency"), V(y, "class", "BalanceModalValue"), V(e, "class", "BalanceModalRowLine");
|
1005
1005
|
},
|
1006
1006
|
m(M, H) {
|
1007
|
-
|
1007
|
+
he(M, e, H), R(e, t), R(t, c), R(t, u), R(t, f), R(e, m), R(e, y), R(y, x), R(x, b), R(y, B), R(y, A), R(A, U);
|
1008
1008
|
},
|
1009
1009
|
p(M, H) {
|
1010
1010
|
H[0] & /*$_, balances*/
|
@@ -1012,7 +1012,7 @@ function st(o) {
|
|
1012
1012
|
M[5](
|
1013
1013
|
/*k*/
|
1014
1014
|
M[47]
|
1015
|
-
) + "") &&
|
1015
|
+
) + "") && pe(c, r), H[0] & /*balances, $_*/
|
1016
1016
|
48 && g !== (g = /*b*/
|
1017
1017
|
(M[50].productType ? (
|
1018
1018
|
/*$_*/
|
@@ -1020,7 +1020,7 @@ function st(o) {
|
|
1020
1020
|
/*b*/
|
1021
1021
|
M[50].productType
|
1022
1022
|
)
|
1023
|
-
) : "") + "") &&
|
1023
|
+
) : "") + "") && pe(f, g), H[0] & /*balances*/
|
1024
1024
|
16 && F !== (F = /*b*/
|
1025
1025
|
(M[50].amount ? (
|
1026
1026
|
/*formatBalance*/
|
@@ -1028,15 +1028,15 @@ function st(o) {
|
|
1028
1028
|
/*b*/
|
1029
1029
|
M[50].amount
|
1030
1030
|
)
|
1031
|
-
) : "0") + "") &&
|
1032
|
-
8 &&
|
1031
|
+
) : "0") + "") && pe(b, F), H[0] & /*currency*/
|
1032
|
+
8 && pe(
|
1033
1033
|
U,
|
1034
1034
|
/*currency*/
|
1035
1035
|
M[3]
|
1036
1036
|
);
|
1037
1037
|
},
|
1038
1038
|
d(M) {
|
1039
|
-
M &&
|
1039
|
+
M && me(e);
|
1040
1040
|
}
|
1041
1041
|
};
|
1042
1042
|
}
|
@@ -1058,7 +1058,7 @@ function lt(o) {
|
|
1058
1058
|
t = oe(), V(e, "class", "BalanceModalRowBoth");
|
1059
1059
|
},
|
1060
1060
|
m(u, g) {
|
1061
|
-
|
1061
|
+
he(u, e, g);
|
1062
1062
|
for (let f = 0; f < c.length; f += 1)
|
1063
1063
|
c[f] && c[f].m(e, null);
|
1064
1064
|
R(e, t);
|
@@ -1084,7 +1084,7 @@ function lt(o) {
|
|
1084
1084
|
}
|
1085
1085
|
},
|
1086
1086
|
d(u) {
|
1087
|
-
u &&
|
1087
|
+
u && me(e), ut(c, u);
|
1088
1088
|
}
|
1089
1089
|
};
|
1090
1090
|
}
|
@@ -1095,25 +1095,25 @@ function ct(o) {
|
|
1095
1095
|
e = N("div"), V(e, "class", "ShowBalanceModalOverlay");
|
1096
1096
|
},
|
1097
1097
|
m(c, u) {
|
1098
|
-
|
1098
|
+
he(c, e, u), t || (r = Ve(
|
1099
1099
|
e,
|
1100
1100
|
"click",
|
1101
1101
|
/*click_handler_3*/
|
1102
|
-
o[
|
1102
|
+
o[26]
|
1103
1103
|
), t = !0);
|
1104
1104
|
},
|
1105
|
-
p:
|
1105
|
+
p: Ke,
|
1106
1106
|
d(c) {
|
1107
|
-
c &&
|
1107
|
+
c && me(e), t = !1, r();
|
1108
1108
|
}
|
1109
1109
|
};
|
1110
1110
|
}
|
1111
|
-
function
|
1111
|
+
function qt(o) {
|
1112
1112
|
let e, t, r;
|
1113
1113
|
function c(m, y) {
|
1114
1114
|
return (
|
1115
1115
|
/*isLoading*/
|
1116
|
-
m[1] ?
|
1116
|
+
m[1] ? Xt : Gt
|
1117
1117
|
);
|
1118
1118
|
}
|
1119
1119
|
let u = c(o), g = u(o), f = (
|
@@ -1125,31 +1125,31 @@ function Pt(o) {
|
|
1125
1125
|
e = N("div"), t = N("div"), g.c(), r = oe(), f && f.c(), V(t, "class", "ShowBalance"), V(t, "part", "ShowBalance");
|
1126
1126
|
},
|
1127
1127
|
m(m, y) {
|
1128
|
-
|
1128
|
+
he(m, e, y), R(e, t), g.m(t, null), R(e, r), f && f.m(e, null), o[27](e);
|
1129
1129
|
},
|
1130
1130
|
p(m, y) {
|
1131
1131
|
u === (u = c(m)) && g ? g.p(m, y) : (g.d(1), g = u(m), g && (g.c(), g.m(t, null))), /*showBalance*/
|
1132
1132
|
m[2] ? f ? f.p(m, y) : (f = ct(m), f.c(), f.m(e, null)) : f && (f.d(1), f = null);
|
1133
1133
|
},
|
1134
|
-
i:
|
1135
|
-
o:
|
1134
|
+
i: Ke,
|
1135
|
+
o: Ke,
|
1136
1136
|
d(m) {
|
1137
|
-
m &&
|
1137
|
+
m && me(e), g.d(), f && f.d(), o[27](null);
|
1138
1138
|
}
|
1139
1139
|
};
|
1140
1140
|
}
|
1141
|
-
function
|
1141
|
+
function Kt(o, e, t) {
|
1142
1142
|
let r;
|
1143
|
-
|
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:
|
1145
|
-
const p = {},
|
1146
|
-
fetch(x).then((d) => d.json()).then((d) => Object.keys(d).forEach((
|
1143
|
+
Rt(o, Ot, (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: B = "All" } = e, { totalcalculationmode: A = "totalCashAmount" } = e, { currencyseparator: U = "" } = e, { currencydecimal: M = "" } = e, { currencyprecision: H = "" } = e, { mbsource: Z } = e, S, C, P, D = !1, $ = "", ee = [], ge, te = !1, Ae;
|
1145
|
+
const p = {}, ye = ["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
1147
|
};
|
1148
1148
|
Object.keys(at).forEach((d) => nt(d, at[d]));
|
1149
|
-
const
|
1149
|
+
const Ee = () => {
|
1150
1150
|
if (F.includes(f))
|
1151
1151
|
return F;
|
1152
|
-
},
|
1152
|
+
}, xe = (d) => F ? new Intl.NumberFormat(Ee(), { useGrouping: !0 }).format(d) : U && M ? ae(d, {
|
1153
1153
|
separator: U,
|
1154
1154
|
decimal: M,
|
1155
1155
|
symbol: "",
|
@@ -1159,9 +1159,9 @@ function Gt(o, e, t) {
|
|
1159
1159
|
decimal: ",",
|
1160
1160
|
symbol: "",
|
1161
1161
|
precision: parseInt(H || "2", 10)
|
1162
|
-
}).format(),
|
1163
|
-
var
|
1164
|
-
t(1,
|
1162
|
+
}).format(), re = () => tt(this, null, function* () {
|
1163
|
+
var T, n, a;
|
1164
|
+
t(1, S = !0);
|
1165
1165
|
const d = new URL(`${g}/v1/player/${c}/account`);
|
1166
1166
|
try {
|
1167
1167
|
const l = yield fetch(d, {
|
@@ -1169,11 +1169,11 @@ function Gt(o, e, t) {
|
|
1169
1169
|
headers: { "X-SessionID": u }
|
1170
1170
|
}), i = yield l.json();
|
1171
1171
|
if (l.ok)
|
1172
|
-
|
1172
|
+
ee = i.items, t(3, $ = (T = ee.find((s) => s.displayName === "Casino")) == null ? void 0 : T.currency), t(4, p.Total = [{ amount: i.totalAmount[$] }], p), t(
|
1173
1173
|
4,
|
1174
1174
|
p.Real = [
|
1175
1175
|
{
|
1176
|
-
amount: (n =
|
1176
|
+
amount: (n = ee.find((s) => s.displayName === "Casino")) == null ? void 0 : n.balanceAmount
|
1177
1177
|
}
|
1178
1178
|
],
|
1179
1179
|
p
|
@@ -1181,7 +1181,7 @@ function Gt(o, e, t) {
|
|
1181
1181
|
4,
|
1182
1182
|
p.Bonus = [
|
1183
1183
|
{
|
1184
|
-
amount: (a =
|
1184
|
+
amount: (a = ee.find((s) => s.displayName === "UBS")) == null ? void 0 : a.balanceAmount
|
1185
1185
|
}
|
1186
1186
|
],
|
1187
1187
|
p
|
@@ -1191,35 +1191,35 @@ function Gt(o, e, t) {
|
|
1191
1191
|
} catch (l) {
|
1192
1192
|
console.log("Balance error: ", l);
|
1193
1193
|
} finally {
|
1194
|
-
t(1,
|
1194
|
+
t(1, S = !1);
|
1195
1195
|
}
|
1196
|
-
}),
|
1197
|
-
t(1,
|
1198
|
-
const d = new URL(`${g}/v2/player/${c}/balance`),
|
1199
|
-
|
1200
|
-
a[
|
1196
|
+
}), ve = () => {
|
1197
|
+
t(1, S = !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[A] || t(8, A = ye[0]);
|
1201
1201
|
const l = a.items.find((s) => s.type === "Real" && s.walletAccountType === "Ordinary");
|
1202
|
-
if (t(3,
|
1203
|
-
|
1202
|
+
if (t(3, $ = l.currency), te = !!l.productType, t(4, p.Total = [{ amount: 0 }], p), t(4, p.Real = [], p), t(4, p.Bonus = [], p), t(4, p.Credit = [], p), !te) {
|
1203
|
+
ge = {
|
1204
1204
|
lastOrdinaryAfterAmount: 0,
|
1205
1205
|
showCreditLineAfterAmount: !1
|
1206
|
-
}, t(4, p.Total[0].amount = a[
|
1206
|
+
}, t(4, p.Total[0].amount = a[A][$], p);
|
1207
1207
|
for (const s of a.items)
|
1208
1208
|
switch (s.type) {
|
1209
1209
|
case "Bonus":
|
1210
1210
|
p.Bonus.length === 0 ? p.Bonus.push({ amount: s.amount }) : t(4, p.Bonus[0].amount += s.amount, p);
|
1211
1211
|
break;
|
1212
1212
|
case "Real":
|
1213
|
-
if (s.creditLine && p.Credit.length === 0 && p.Credit.push({ amount: s.creditLine }),
|
1213
|
+
if (s.creditLine && p.Credit.length === 0 && p.Credit.push({ amount: s.creditLine }), A === "totalRealAmount") continue;
|
1214
1214
|
p.Real.length === 0 ? p.Real.push({ amount: s.amount }) : t(4, p.Real[0].amount += s.amount, p);
|
1215
1215
|
break;
|
1216
1216
|
}
|
1217
1217
|
for (const [s, h] of Object.entries(p))
|
1218
1218
|
h.length < 1 && delete p[s];
|
1219
|
-
t(1,
|
1219
|
+
t(1, S = !1);
|
1220
1220
|
return;
|
1221
1221
|
}
|
1222
|
-
|
1222
|
+
ge = {
|
1223
1223
|
Casino: {
|
1224
1224
|
lastOrdinaryAfterAmount: 0,
|
1225
1225
|
showCreditLineAfterAmount: !1
|
@@ -1230,7 +1230,7 @@ function Gt(o, e, t) {
|
|
1230
1230
|
}
|
1231
1231
|
};
|
1232
1232
|
let i = a.items;
|
1233
|
-
|
1233
|
+
B && B !== "All" && (i = a.items.filter((s) => s.productType === B));
|
1234
1234
|
for (const s of i) {
|
1235
1235
|
let h;
|
1236
1236
|
switch (s.type) {
|
@@ -1251,65 +1251,65 @@ function Gt(o, e, t) {
|
|
1251
1251
|
break;
|
1252
1252
|
}
|
1253
1253
|
}
|
1254
|
-
|
1254
|
+
De();
|
1255
1255
|
for (const [s, h] of Object.entries(p))
|
1256
1256
|
h.length < 1 && delete p[s];
|
1257
|
-
t(1,
|
1257
|
+
t(1, S = !1);
|
1258
1258
|
}).catch((a) => {
|
1259
|
-
throw t(1,
|
1259
|
+
throw t(1, S = !1), new Error("Failed to fetch balance data !");
|
1260
1260
|
});
|
1261
|
-
},
|
1262
|
-
if (
|
1263
|
-
let d,
|
1264
|
-
switch (
|
1261
|
+
}, se = () => {
|
1262
|
+
if (P && P.close(), u.length < 1) return;
|
1263
|
+
let d, T;
|
1264
|
+
switch (b) {
|
1265
1265
|
case "gm16":
|
1266
|
-
d = new URL(`${g}/v2/player/${c}/information/updates`),
|
1266
|
+
d = new URL(`${g}/v2/player/${c}/information/updates`), T = (l) => He(l);
|
1267
1267
|
break;
|
1268
1268
|
case "gmcore":
|
1269
|
-
d = new URL(`${g}/v1/player/${c}/balance/updates`),
|
1269
|
+
d = new URL(`${g}/v1/player/${c}/balance/updates`), T = (l) => ie(l);
|
1270
1270
|
break;
|
1271
1271
|
}
|
1272
1272
|
const n = {
|
1273
1273
|
accept: "text/event-stream",
|
1274
1274
|
"X-SessionId": u
|
1275
|
-
}, a = new
|
1276
|
-
|
1277
|
-
},
|
1278
|
-
let
|
1275
|
+
}, a = new It.EventSourcePolyfill(d, { headers: n });
|
1276
|
+
P = a, a.addEventListener("message", T);
|
1277
|
+
}, Ce = (d) => {
|
1278
|
+
let T;
|
1279
1279
|
try {
|
1280
|
-
|
1280
|
+
T = JSON.parse(d);
|
1281
1281
|
} catch (n) {
|
1282
1282
|
console.log("Balance stream failed: ", n);
|
1283
1283
|
return;
|
1284
1284
|
}
|
1285
|
-
return
|
1286
|
-
},
|
1285
|
+
return T;
|
1286
|
+
}, ie = (d) => {
|
1287
1287
|
var l, i;
|
1288
|
-
const
|
1289
|
-
if (!
|
1290
|
-
|
1288
|
+
const T = Ce(d.data);
|
1289
|
+
if (!T) {
|
1290
|
+
se();
|
1291
1291
|
return;
|
1292
1292
|
}
|
1293
1293
|
let n = "0";
|
1294
|
-
const a =
|
1295
|
-
|
1294
|
+
const a = T.balanceChange;
|
1295
|
+
ee = ee.map((s) => (a && a[s.id] && (s = et($e({}, s), {
|
1296
1296
|
balanceAmount: a[s.id].afterAmount
|
1297
|
-
})), n = (parseFloat(s == null ? void 0 : s.balanceAmount) + parseFloat(n)).toString(), s)), t(4, p.Real = [{ amount: (l =
|
1298
|
-
}, be = (d,
|
1297
|
+
})), n = (parseFloat(s == null ? void 0 : s.balanceAmount) + parseFloat(n)).toString(), s)), t(4, p.Real = [{ amount: (l = ee[0]) == null ? void 0 : l.balanceAmount }], p), t(4, p.Bonus = [{ amount: (i = ee[1]) == null ? void 0 : i.balanceAmount }], p), t(4, p.Total = [{ amount: Number(n) }], p);
|
1298
|
+
}, be = (d, T, n) => {
|
1299
1299
|
let a = null;
|
1300
1300
|
switch (n.walletAccountType) {
|
1301
1301
|
case "Ordinary":
|
1302
|
-
n.afterAmount !== n.affectedAmount && (
|
1302
|
+
n.afterAmount !== n.affectedAmount && (T.lastOrdinaryAfterAmount = n.afterAmount, T.showCreditLineAfterAmount || (a = n.afterAmount));
|
1303
1303
|
break;
|
1304
1304
|
case "CreditLine":
|
1305
|
-
n.afterAmount !== 0 ? (a = n.afterAmount,
|
1305
|
+
n.afterAmount !== 0 ? (a = n.afterAmount, T.showCreditLineAfterAmount = !0) : (a = T.lastOrdinaryAfterAmount, T.showCreditLineAfterAmount = !1);
|
1306
1306
|
break;
|
1307
1307
|
default:
|
1308
1308
|
a = n.afterAmount;
|
1309
1309
|
}
|
1310
1310
|
return a === null ? d : a;
|
1311
|
-
},
|
1312
|
-
switch (
|
1311
|
+
}, De = () => {
|
1312
|
+
switch (A) {
|
1313
1313
|
case "totalCashAmount":
|
1314
1314
|
let d = 0;
|
1315
1315
|
for (const n of ["Real", "Bonus"])
|
@@ -1318,89 +1318,77 @@ function Gt(o, e, t) {
|
|
1318
1318
|
t(4, p.Total[0].amount = d, p);
|
1319
1319
|
break;
|
1320
1320
|
case "totalRealAmount":
|
1321
|
-
if (!
|
1322
|
-
let
|
1321
|
+
if (!te) return;
|
1322
|
+
let T = 0;
|
1323
1323
|
for (const n of p.Real)
|
1324
|
-
|
1325
|
-
t(4, p.Total[0].amount =
|
1324
|
+
T += n.amount;
|
1325
|
+
t(4, p.Total[0].amount = T, p);
|
1326
1326
|
}
|
1327
|
-
},
|
1328
|
-
const
|
1329
|
-
if (!
|
1330
|
-
|
1327
|
+
}, He = (d) => {
|
1328
|
+
const T = Ce(d.data);
|
1329
|
+
if (!T) {
|
1330
|
+
se();
|
1331
1331
|
return;
|
1332
1332
|
}
|
1333
|
-
if (
|
1333
|
+
if (T.type !== "BALANCE_UPDATE_V2")
|
1334
1334
|
return;
|
1335
|
-
const n =
|
1335
|
+
const n = T.body.balanceChange;
|
1336
1336
|
for (const [a, l] of Object.entries(n))
|
1337
|
-
if (
|
1337
|
+
if (A === "totalRealAmount" && a === "Real" && !te && t(4, p.Total[0].amount = be(p.Total[0].amount, ge, l), p), !!p[a])
|
1338
1338
|
for (const i of p[a]) {
|
1339
|
-
if (!
|
1340
|
-
i.amount = a === "Real" ? be(i.amount,
|
1339
|
+
if (!te) {
|
1340
|
+
i.amount = a === "Real" ? be(i.amount, ge, l) : l.afterAmount;
|
1341
1341
|
continue;
|
1342
1342
|
}
|
1343
|
-
l.productType === i.productType && (i.amount = a === "Real" ? be(i.amount,
|
1343
|
+
l.productType === i.productType && (i.amount = a === "Real" ? be(i.amount, ge[i.productType], l) : l.afterAmount);
|
1344
1344
|
}
|
1345
|
-
|
1346
|
-
},
|
1347
|
-
t(2,
|
1348
|
-
}, He = () => {
|
1349
|
-
ge.includes(_) || (console.error(`Unsupported value ('${_}') for totalcalculationmode parameter. Only the following values are supported ${ge}. Using default value ('${ge[0]}').`), t(8, _ = ge[0]));
|
1345
|
+
De();
|
1346
|
+
}, ke = () => {
|
1347
|
+
t(2, D = !1), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
|
1350
1348
|
}, ze = () => {
|
1351
|
-
|
1349
|
+
ye.includes(A) || (console.error(`Unsupported value ('${A}') for totalcalculationmode parameter. Only the following values are supported ${ye}. Using default value ('${ye[0]}').`), t(8, A = ye[0]));
|
1350
|
+
}, Ue = () => {
|
1351
|
+
switch (Nt(f), ze(), b) {
|
1352
1352
|
case "gmcore":
|
1353
|
-
|
1353
|
+
re();
|
1354
1354
|
break;
|
1355
1355
|
case "gm16":
|
1356
|
-
|
1356
|
+
ve();
|
1357
1357
|
break;
|
1358
1358
|
default:
|
1359
|
-
throw Error(`Invalid apiversion attribute: ${
|
1359
|
+
throw Error(`Invalid apiversion attribute: ${b}`);
|
1360
1360
|
}
|
1361
|
-
},
|
1362
|
-
|
1363
|
-
|
1364
|
-
}, xe = () => {
|
1365
|
-
const d = new URL(y), b = document.createElement("style");
|
1366
|
-
fetch(d.href).then((n) => n.text()).then((n) => {
|
1367
|
-
b.innerHTML = n, setTimeout(
|
1368
|
-
() => {
|
1369
|
-
T.appendChild(b);
|
1370
|
-
},
|
1371
|
-
1
|
1372
|
-
);
|
1373
|
-
});
|
1374
|
-
};
|
1375
|
-
Rt(() => (window.addEventListener("message", ke, !1), () => {
|
1376
|
-
window.removeEventListener("message", ke), A && A.close();
|
1361
|
+
}, Se = (d) => d.data && d.data.type === "LogoutSuccessfull" && P.close();
|
1362
|
+
Et(() => (window.addEventListener("message", Se, !1), () => {
|
1363
|
+
window.emMessageBus && Ae && Ae.unsubscribe(), window.removeEventListener("message", Se), P && P.close();
|
1377
1364
|
}));
|
1378
|
-
const
|
1365
|
+
const Le = () => t(2, D = !0), we = () => t(2, D = !1), W = () => ke(), Pe = () => t(2, D = !1);
|
1379
1366
|
function Ge(d) {
|
1380
|
-
|
1381
|
-
|
1367
|
+
Dt[d ? "unshift" : "push"](() => {
|
1368
|
+
C = d, t(0, C);
|
1382
1369
|
});
|
1383
1370
|
}
|
1384
1371
|
return o.$$set = (d) => {
|
1385
|
-
"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,
|
1372
|
+
"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, B = d.displaybalanceoption), "totalcalculationmode" in d && t(8, A = d.totalcalculationmode), "currencyseparator" in d && t(19, U = d.currencyseparator), "currencydecimal" in d && t(20, M = d.currencydecimal), "currencyprecision" in d && t(21, H = d.currencyprecision), "mbsource" in d && t(22, Z = d.mbsource);
|
1386
1373
|
}, o.$$.update = () => {
|
1387
1374
|
o.$$.dirty[0] & /*lang*/
|
1388
|
-
4096 && f &&
|
1389
|
-
400896 && g && c && u && f &&
|
1390
|
-
134656 && g && c && u &&
|
1391
|
-
8193 && m &&
|
1392
|
-
16385 && y &&
|
1393
|
-
|
1375
|
+
4096 && f && Ee(), o.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
|
1376
|
+
400896 && g && c && u && f && b && B && Ue(), o.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
|
1377
|
+
134656 && g && c && u && b && se(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
1378
|
+
8193 && m && C && Lt(C, m), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
1379
|
+
16385 && y && C && xt(C, y), o.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
1380
|
+
4194305 && C && Mt(C, `${Z}.Style`), o.$$.dirty[0] & /*translationurl*/
|
1381
|
+
32768 && x && Re();
|
1394
1382
|
}, [
|
1395
|
-
|
1396
|
-
|
1397
|
-
G,
|
1383
|
+
C,
|
1384
|
+
S,
|
1398
1385
|
D,
|
1386
|
+
$,
|
1399
1387
|
p,
|
1400
1388
|
r,
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1389
|
+
xe,
|
1390
|
+
ke,
|
1391
|
+
A,
|
1404
1392
|
c,
|
1405
1393
|
u,
|
1406
1394
|
g,
|
@@ -1409,26 +1397,27 @@ function Gt(o, e, t) {
|
|
1409
1397
|
y,
|
1410
1398
|
x,
|
1411
1399
|
F,
|
1400
|
+
b,
|
1412
1401
|
B,
|
1413
|
-
C,
|
1414
1402
|
U,
|
1415
1403
|
M,
|
1416
1404
|
H,
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1405
|
+
Z,
|
1406
|
+
Le,
|
1407
|
+
we,
|
1408
|
+
W,
|
1420
1409
|
Pe,
|
1421
1410
|
Ge
|
1422
1411
|
];
|
1423
1412
|
}
|
1424
|
-
class
|
1413
|
+
class Wt extends Ct {
|
1425
1414
|
constructor(e) {
|
1426
|
-
super(),
|
1415
|
+
super(), St(
|
1427
1416
|
this,
|
1428
1417
|
e,
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1418
|
+
Kt,
|
1419
|
+
qt,
|
1420
|
+
_t,
|
1432
1421
|
{
|
1433
1422
|
userid: 9,
|
1434
1423
|
session: 10,
|
@@ -1443,9 +1432,10 @@ class Xt extends Ct {
|
|
1443
1432
|
totalcalculationmode: 8,
|
1444
1433
|
currencyseparator: 19,
|
1445
1434
|
currencydecimal: 20,
|
1446
|
-
currencyprecision: 21
|
1435
|
+
currencyprecision: 21,
|
1436
|
+
mbsource: 22
|
1447
1437
|
},
|
1448
|
-
|
1438
|
+
Pt,
|
1449
1439
|
[-1, -1]
|
1450
1440
|
);
|
1451
1441
|
}
|
@@ -1453,88 +1443,94 @@ class Xt extends Ct {
|
|
1453
1443
|
return this.$$.ctx[9];
|
1454
1444
|
}
|
1455
1445
|
set userid(e) {
|
1456
|
-
this.$$set({ userid: e }),
|
1446
|
+
this.$$set({ userid: e }), K();
|
1457
1447
|
}
|
1458
1448
|
get session() {
|
1459
1449
|
return this.$$.ctx[10];
|
1460
1450
|
}
|
1461
1451
|
set session(e) {
|
1462
|
-
this.$$set({ session: e }),
|
1452
|
+
this.$$set({ session: e }), K();
|
1463
1453
|
}
|
1464
1454
|
get endpoint() {
|
1465
1455
|
return this.$$.ctx[11];
|
1466
1456
|
}
|
1467
1457
|
set endpoint(e) {
|
1468
|
-
this.$$set({ endpoint: e }),
|
1458
|
+
this.$$set({ endpoint: e }), K();
|
1469
1459
|
}
|
1470
1460
|
get lang() {
|
1471
1461
|
return this.$$.ctx[12];
|
1472
1462
|
}
|
1473
1463
|
set lang(e) {
|
1474
|
-
this.$$set({ lang: e }),
|
1464
|
+
this.$$set({ lang: e }), K();
|
1475
1465
|
}
|
1476
1466
|
get clientstyling() {
|
1477
1467
|
return this.$$.ctx[13];
|
1478
1468
|
}
|
1479
1469
|
set clientstyling(e) {
|
1480
|
-
this.$$set({ clientstyling: e }),
|
1470
|
+
this.$$set({ clientstyling: e }), K();
|
1481
1471
|
}
|
1482
1472
|
get clientstylingurl() {
|
1483
1473
|
return this.$$.ctx[14];
|
1484
1474
|
}
|
1485
1475
|
set clientstylingurl(e) {
|
1486
|
-
this.$$set({ clientstylingurl: e }),
|
1476
|
+
this.$$set({ clientstylingurl: e }), K();
|
1487
1477
|
}
|
1488
1478
|
get translationurl() {
|
1489
1479
|
return this.$$.ctx[15];
|
1490
1480
|
}
|
1491
1481
|
set translationurl(e) {
|
1492
|
-
this.$$set({ translationurl: e }),
|
1482
|
+
this.$$set({ translationurl: e }), K();
|
1493
1483
|
}
|
1494
1484
|
get customlocaleidentifier() {
|
1495
1485
|
return this.$$.ctx[16];
|
1496
1486
|
}
|
1497
1487
|
set customlocaleidentifier(e) {
|
1498
|
-
this.$$set({ customlocaleidentifier: e }),
|
1488
|
+
this.$$set({ customlocaleidentifier: e }), K();
|
1499
1489
|
}
|
1500
1490
|
get gmversion() {
|
1501
1491
|
return this.$$.ctx[17];
|
1502
1492
|
}
|
1503
1493
|
set gmversion(e) {
|
1504
|
-
this.$$set({ gmversion: e }),
|
1494
|
+
this.$$set({ gmversion: e }), K();
|
1505
1495
|
}
|
1506
1496
|
get displaybalanceoption() {
|
1507
1497
|
return this.$$.ctx[18];
|
1508
1498
|
}
|
1509
1499
|
set displaybalanceoption(e) {
|
1510
|
-
this.$$set({ displaybalanceoption: e }),
|
1500
|
+
this.$$set({ displaybalanceoption: e }), K();
|
1511
1501
|
}
|
1512
1502
|
get totalcalculationmode() {
|
1513
1503
|
return this.$$.ctx[8];
|
1514
1504
|
}
|
1515
1505
|
set totalcalculationmode(e) {
|
1516
|
-
this.$$set({ totalcalculationmode: e }),
|
1506
|
+
this.$$set({ totalcalculationmode: e }), K();
|
1517
1507
|
}
|
1518
1508
|
get currencyseparator() {
|
1519
1509
|
return this.$$.ctx[19];
|
1520
1510
|
}
|
1521
1511
|
set currencyseparator(e) {
|
1522
|
-
this.$$set({ currencyseparator: e }),
|
1512
|
+
this.$$set({ currencyseparator: e }), K();
|
1523
1513
|
}
|
1524
1514
|
get currencydecimal() {
|
1525
1515
|
return this.$$.ctx[20];
|
1526
1516
|
}
|
1527
1517
|
set currencydecimal(e) {
|
1528
|
-
this.$$set({ currencydecimal: e }),
|
1518
|
+
this.$$set({ currencydecimal: e }), K();
|
1529
1519
|
}
|
1530
1520
|
get currencyprecision() {
|
1531
1521
|
return this.$$.ctx[21];
|
1532
1522
|
}
|
1533
1523
|
set currencyprecision(e) {
|
1534
|
-
this.$$set({ currencyprecision: e }),
|
1524
|
+
this.$$set({ currencyprecision: e }), K();
|
1525
|
+
}
|
1526
|
+
get mbsource() {
|
1527
|
+
return this.$$.ctx[22];
|
1528
|
+
}
|
1529
|
+
set mbsource(e) {
|
1530
|
+
this.$$set({ mbsource: e }), K();
|
1535
1531
|
}
|
1536
1532
|
}
|
1537
|
-
|
1533
|
+
Tt(Wt, { userid: {}, session: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {}, mbsource: {} }, [], [], !0);
|
1538
1534
|
export {
|
1539
|
-
|
1535
|
+
Wt as default
|
1540
1536
|
};
|