@everymatrix/cashier-method-details 1.87.23 → 1.87.25
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/{CashierMethodDetails-OYWdHpAP.js → CashierMethodDetails-CqrJLR8u.js} +3 -3
- package/components/{CashierMethodDetails-DyRZUg-q.js → CashierMethodDetails-D-fBBTyE.js} +162 -162
- package/components/{CashierMethodDetails-D3lAhT1W.cjs → CashierMethodDetails-tC7hUGh_.cjs} +4 -4
- package/components/CashierReceiptPage-BN4ghEfB.cjs +28 -0
- package/components/{CashierReceiptPage-zKbIshfV.js → CashierReceiptPage-CIxG9Oev.js} +240 -240
- package/components/{CashierReceiptPage-CNC7tmlI.js → CashierReceiptPage-FCPBrZm8.js} +240 -240
- package/es2015/cashier-method-details.cjs +1 -1
- package/es2015/cashier-method-details.js +1 -1
- package/esnext/cashier-method-details.js +1 -1
- package/package.json +1 -1
- package/components/CashierReceiptPage-ChISMXWO.cjs +0 -28
|
@@ -2,20 +2,20 @@ var P1 = (i, e, t) => new Promise((n, a) => {
|
|
|
2
2
|
var s = (p) => {
|
|
3
3
|
try {
|
|
4
4
|
u(t.next(p));
|
|
5
|
-
} catch (
|
|
6
|
-
a(
|
|
5
|
+
} catch (f) {
|
|
6
|
+
a(f);
|
|
7
7
|
}
|
|
8
8
|
}, o = (p) => {
|
|
9
9
|
try {
|
|
10
10
|
u(t.throw(p));
|
|
11
|
-
} catch (
|
|
12
|
-
a(
|
|
11
|
+
} catch (f) {
|
|
12
|
+
a(f);
|
|
13
13
|
}
|
|
14
14
|
}, u = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(s, o);
|
|
15
15
|
u((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { a3 as $1, a as ee, i as te, $ as ne, S as ie, e as ae, s as oe, f as B, j as se, n as s1, l as w, m as b, r as g, u as l, v as re, b as le, x as ce, z as
|
|
18
|
-
import { d as
|
|
17
|
+
import { a3 as $1, a as ee, i as te, $ as ne, S as ie, e as ae, s as oe, f as B, j as se, n as s1, l as w, m as b, r as g, u as l, v as re, b as le, x as ce, z as W1, W as I1, X as ue, V as pe, Y as de, o as c, t as k, a4 as fe, k as Ce, a5 as me, I as S, L as x, B as R, M as ge, p as k1, C as M1, G as S1, P as X1, F as Z, H as H1, R as he, T as we, U as be, h as ye } from "./CashierError-CGK1vujl.js";
|
|
18
|
+
import { d as x1, u as ve, f as _e, a as z1, i as j1, b as ke } from "./CashierMethodDetails-D-fBBTyE.js";
|
|
19
19
|
function A1(i, { delay: e = 0, duration: t = 400, easing: n = $1 } = {}) {
|
|
20
20
|
const a = +getComputedStyle(i).opacity;
|
|
21
21
|
return {
|
|
@@ -310,7 +310,7 @@ const V1 = {
|
|
|
310
310
|
uploadDocuments: "Télécharger des documents",
|
|
311
311
|
goToHomepage: "Aller à la page d’accueil"
|
|
312
312
|
}
|
|
313
|
-
},
|
|
313
|
+
}, Re = (i, e) => `${i + Me[e]}`, Se = (i, e) => `${Le[e]}.${J1[i]}.text`, xe = (i) => `${J1[`${i}`]}`, Me = {
|
|
314
314
|
Success: "/txn-success.png",
|
|
315
315
|
Voided: "/txn-success.png",
|
|
316
316
|
Rejected: "/txn-failed.png",
|
|
@@ -322,7 +322,7 @@ const V1 = {
|
|
|
322
322
|
PendingApprovalStage2: "/txn-pending.png",
|
|
323
323
|
PendingApprovalStage3: "/txn-pending.png",
|
|
324
324
|
PendingOfflineNotification: "/txn-pending.png"
|
|
325
|
-
},
|
|
325
|
+
}, Le = {
|
|
326
326
|
Deposit: "deposit",
|
|
327
327
|
Withdraw: "withdrawal"
|
|
328
328
|
}, J1 = {
|
|
@@ -371,7 +371,7 @@ const V1 = {
|
|
|
371
371
|
</svg>`
|
|
372
372
|
};
|
|
373
373
|
function De(i) {
|
|
374
|
-
se(i, "svelte-
|
|
374
|
+
se(i, "svelte-nkabfs", '.LoadingOverlay{width:100%;height:100%;display:flex;position:relative;top:0;left:0;justify-content:center;align-items:center;z-index:100;background:transparent}.CopyTooltip{transform:translateX(-50%);color:var(--emw--color-typography, #fff);opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:15px;position:fixed;left:50%;top:40%;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:3;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3)}.CopyTooltip::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.Spinner{width:40px;height:40px;border:4px solid #e0e0e0;border-top:4px solid var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CashierReceiptPageWidget{position:relative}.CashierReceiptPage{border-radius:var(--emw--border-radius-medium-plus, 6px);background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word;display:flex;flex-direction:column;justify-content:space-between;height:100%}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.ReceiptWrapper .ImagePlaceholder{height:100%;width:100%;background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.success{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.fail{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.pending{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.cancel{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.rejected{background:#e6e6e6}.ReceiptStatusWrapper{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px 30px 0;gap:10px}.ReceiptStatusWrapper .ReceiptStatusIcon.success svg,.ReceiptStatusWrapper .ReceiptStatusIcon.success circle,.ReceiptStatusWrapper .ReceiptStatusIcon.success path{fill:var(--emw--color-valid, #41d195)}.ReceiptStatusWrapper .ReceiptStatusIcon.pending svg,.ReceiptStatusWrapper .ReceiptStatusIcon.pending circle,.ReceiptStatusWrapper .ReceiptStatusIcon.pending path{fill:var(--emw--color-pending, #ff6836)}.ReceiptStatusWrapper .ReceiptStatusIcon.failed svg,.ReceiptStatusWrapper .ReceiptStatusIcon.failed circle,.ReceiptStatusWrapper .ReceiptStatusIcon.failed path{fill:var(--emw--color-error, #ff3636)}.ReceiptStatusWrapper .ReceiptStatusText{text-align:center}.ReceiptStatusWrapper .ReceiptStatusText h3,.ReceiptStatusWrapper .ReceiptStatusText p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));padding:0;margin:10px}.ReceiptStatusWrapper .ReceiptStatusText p{font-size:14px;font-weight:200}.ReceiptStatusWrapper .TryAgainBtn,.ReceiptStatusWrapper .RefreshButton{border-radius:20px;padding:7px 20px;border:none;box-shadow:inset 0px 0px 0px 2px rgba(255, 226, 123, 0.3);color:var(--emw--color-white, #ffffff);background-color:rgba(249, 196, 8, 0.3019607843)}.ReceiptDetailsWrapper{position:relative;display:flex;flex-direction:column;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:20px;margin:10px;z-index:1}.ReceiptDetailsWrapper::before{content:"";position:absolute;inset:0;opacity:0.3;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ReceiptDetailsWrapper .TxnId{cursor:pointer}.ReceiptDetailsWrapper .TxnId .TxnIdText{overflow:hidden;text-overflow:ellipsis;display:inline-block;white-space:nowrap}.ReceiptDetailsWrapper .Amount,.ReceiptDetailsWrapper .Status,.ReceiptDetailsWrapper .TxnId,.ReceiptDetailsWrapper .PaymentMethod,.ReceiptDetailsWrapper .PaymentTime{display:flex;justify-content:space-between;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff))}.ReceiptDetailsWrapper .Amount p,.ReceiptDetailsWrapper .Status p,.ReceiptDetailsWrapper .TxnId p,.ReceiptDetailsWrapper .PaymentMethod p,.ReceiptDetailsWrapper .PaymentTime p{font-weight:200;font-size:12px;margin-right:5px;width:auto}.ReceiptDetailsWrapper .Amount span,.ReceiptDetailsWrapper .Status span,.ReceiptDetailsWrapper .TxnId span,.ReceiptDetailsWrapper .PaymentMethod span,.ReceiptDetailsWrapper .PaymentTime span{font-size:12px;word-break:break-all;font-weight:500;max-width:70%;text-align:right}.ReceiptDetailsWrapper .Status{border-bottom:1px solid rgba(255, 255, 255, 0.276);padding-bottom:10px}.ReceiptDetailsWrapper .Status span{padding:10px;font-size:var(--emw--font-size-small, 12px);border-radius:16px}.ReceiptDetailsWrapper .Status.success span{background-color:rgba(65, 209, 149, 0.1215686275);color:var(--emw--color-valid, #41d195)}.ReceiptDetailsWrapper .Status.pending span{background-color:rgba(255, 104, 54, 0.1215686275);color:var(--emw--color-pending, #ff6836)}.ReceiptDetailsWrapper .Status.failed span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .Status.rejected span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .TxnId{margin-top:15px}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-x-large-plus, 26px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;line-height:var(--emw--font-size-x-large-plus, 26px)}.SubTitle{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-290, #666);margin-top:var(--emw--spacing-small, 12px)}.Text{padding:var(--emw--spacing-small, 12px) 0;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-10, #111)}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.Reference{color:var(--emw--color-gray-290, #666);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.ReceiptButtonsWrapper{display:grid;grid-template-columns:1fr 1fr 1fr;height:75px;gap:8px;margin:0 10px}.ReceiptButtonsWrapper .GoToButton{cursor:pointer;border-radius:8px;border:none;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-gey-600, rgba(237, 237, 237, 0.0784313725));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px;transition:all 0.3s ease}.ReceiptButtonsWrapper .GoToButton:hover,.ReceiptButtonsWrapper .GoToButton:active{transform:scale(1.05)}.DefaultButton{text-transform:uppercase;font-weight:var(--emw--font-weight-semibold, 600);color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border:none;background:var(--emw--color-primary, #f9c408);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 12px);min-height:44px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:20px 10px;width:calc(100% - 20px);transition:background 0.3s ease}.DefaultButton:hover{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-hover, #dbac03)}.DefaultButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-active, #fecd1c)}.HeaderButtonContainer{position:absolute;z-index:1;right:0;top:0;display:flex;align-items:baseline;gap:var(--emw--spacing-small, 12px);padding:var(--emw--spacing-small, 12px) 0}.HeaderButtonContainer>span{cursor:pointer}.ReceiptField{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-150, #666);margin:var(--emw--spacing-small, 12px)}@media(min-width: 750px){.CashierReceiptPage{background-color:transparent}.CashierReceiptPageWidget{position:absolute;width:calc(100% - 20px)}}.CustomButtonSvg svg{width:32px;height:32px;fill:var(--emw--color-primary)}');
|
|
375
375
|
}
|
|
376
376
|
function Y1(i, e, t) {
|
|
377
377
|
const n = i.slice();
|
|
@@ -396,26 +396,26 @@ function Be(i) {
|
|
|
396
396
|
/*txnInfo*/
|
|
397
397
|
d[15]
|
|
398
398
|
)
|
|
399
|
-
return
|
|
399
|
+
return Ie;
|
|
400
400
|
if (
|
|
401
401
|
/*errorResponseCode*/
|
|
402
402
|
d[19] && !/*showErrorOutsideReceiptPage*/
|
|
403
403
|
d[20]
|
|
404
404
|
)
|
|
405
|
-
return
|
|
405
|
+
return We;
|
|
406
406
|
}
|
|
407
|
-
let p = u(i),
|
|
407
|
+
let p = u(i), f = p && p(i);
|
|
408
408
|
return {
|
|
409
409
|
c() {
|
|
410
|
-
s && s.c(), e = k(), t = g("div"), o && o.c(), a = k(),
|
|
410
|
+
s && s.c(), e = k(), t = g("div"), o && o.c(), a = k(), f && f.c(), l(t, "class", "CashierReceiptPage");
|
|
411
411
|
},
|
|
412
412
|
m(d, h) {
|
|
413
|
-
s && s.m(d, h), b(d, e, h), b(d, t, h), o && o.m(t, null), c(t, a),
|
|
413
|
+
s && s.m(d, h), b(d, e, h), b(d, t, h), o && o.m(t, null), c(t, a), f && f.m(t, null);
|
|
414
414
|
},
|
|
415
415
|
p(d, h) {
|
|
416
416
|
/*copied*/
|
|
417
417
|
d[23] ? s ? (s.p(d, h), h[0] & /*copied*/
|
|
418
|
-
8388608 &&
|
|
418
|
+
8388608 && I1(s, 1)) : (s = K1(d), s.c(), I1(s, 1), s.m(e.parentNode, e)) : s && (ue(), pe(s, 1, 1, () => {
|
|
419
419
|
s = null;
|
|
420
420
|
}), de()), h[0] & /*showverifications, displayVerifications*/
|
|
421
421
|
4194816 && (n = j1(
|
|
@@ -423,10 +423,10 @@ function Be(i) {
|
|
|
423
423
|
d[25]
|
|
424
424
|
) && /*showverifications*/
|
|
425
425
|
d[9] && /*displayVerifications*/
|
|
426
|
-
d[22]), n ? o ? o.p(d, h) : (o = U1(d), o.c(), o.m(t, a)) : o && (o.d(1), o = null), p === (p = u(d)) &&
|
|
426
|
+
d[22]), n ? o ? o.p(d, h) : (o = U1(d), o.c(), o.m(t, a)) : o && (o.d(1), o = null), p === (p = u(d)) && f ? f.p(d, h) : (f && f.d(1), f = p && p(d), f && (f.c(), f.m(t, null)));
|
|
427
427
|
},
|
|
428
428
|
d(d) {
|
|
429
|
-
d && (w(e), w(t)), s && s.d(d), o && o.d(),
|
|
429
|
+
d && (w(e), w(t)), s && s.d(d), o && o.d(), f && f.d();
|
|
430
430
|
}
|
|
431
431
|
};
|
|
432
432
|
}
|
|
@@ -452,7 +452,7 @@ function K1(i) {
|
|
|
452
452
|
), n, a, s, o;
|
|
453
453
|
return {
|
|
454
454
|
c() {
|
|
455
|
-
e = g("div"), n =
|
|
455
|
+
e = g("div"), n = x(t), l(e, "class", "CopyTooltip");
|
|
456
456
|
},
|
|
457
457
|
m(u, p) {
|
|
458
458
|
b(u, e, p), c(e, n), o = !0;
|
|
@@ -460,15 +460,15 @@ function K1(i) {
|
|
|
460
460
|
p(u, p) {
|
|
461
461
|
(!o || p[0] & /*$_*/
|
|
462
462
|
16777216) && t !== (t = /*$_*/
|
|
463
|
-
u[24]("copyTransactionId") + "") &&
|
|
463
|
+
u[24]("copyTransactionId") + "") && S(n, t);
|
|
464
464
|
},
|
|
465
465
|
i(u) {
|
|
466
|
-
o || (u &&
|
|
467
|
-
o && (s && s.end(1), a =
|
|
466
|
+
o || (u && Ce(() => {
|
|
467
|
+
o && (s && s.end(1), a = me(e, A1, { duration: 100 }), a.start());
|
|
468
468
|
}), o = !0);
|
|
469
469
|
},
|
|
470
470
|
o(u) {
|
|
471
|
-
a && a.invalidate(), u && (s =
|
|
471
|
+
a && a.invalidate(), u && (s = fe(e, A1, { duration: 1e3 })), o = !1;
|
|
472
472
|
},
|
|
473
473
|
d(u) {
|
|
474
474
|
u && w(e), u && s && s.end();
|
|
@@ -479,37 +479,37 @@ function U1(i) {
|
|
|
479
479
|
let e;
|
|
480
480
|
return {
|
|
481
481
|
c() {
|
|
482
|
-
e = g("cashier-verifications"),
|
|
482
|
+
e = g("cashier-verifications"), R(
|
|
483
483
|
e,
|
|
484
484
|
"lang",
|
|
485
485
|
/*lang*/
|
|
486
486
|
i[3]
|
|
487
|
-
),
|
|
487
|
+
), R(
|
|
488
488
|
e,
|
|
489
489
|
"translationurl",
|
|
490
490
|
/*translationurl*/
|
|
491
491
|
i[4]
|
|
492
|
-
),
|
|
492
|
+
), R(
|
|
493
493
|
e,
|
|
494
494
|
"endpoint",
|
|
495
495
|
/*endpoint*/
|
|
496
496
|
i[1]
|
|
497
|
-
),
|
|
497
|
+
), R(
|
|
498
498
|
e,
|
|
499
499
|
"clientstylingurl",
|
|
500
500
|
/*clientstylingurl*/
|
|
501
501
|
i[8]
|
|
502
|
-
),
|
|
502
|
+
), R(
|
|
503
503
|
e,
|
|
504
504
|
"clientstyling",
|
|
505
505
|
/*clientstyling*/
|
|
506
506
|
i[7]
|
|
507
|
-
),
|
|
507
|
+
), R(
|
|
508
508
|
e,
|
|
509
509
|
"customerid",
|
|
510
510
|
/*customerid*/
|
|
511
511
|
i[6]
|
|
512
|
-
),
|
|
512
|
+
), R(
|
|
513
513
|
e,
|
|
514
514
|
"playersession",
|
|
515
515
|
/*session*/
|
|
@@ -521,43 +521,43 @@ function U1(i) {
|
|
|
521
521
|
},
|
|
522
522
|
p(t, n) {
|
|
523
523
|
n[0] & /*lang*/
|
|
524
|
-
8 &&
|
|
524
|
+
8 && R(
|
|
525
525
|
e,
|
|
526
526
|
"lang",
|
|
527
527
|
/*lang*/
|
|
528
528
|
t[3]
|
|
529
529
|
), n[0] & /*translationurl*/
|
|
530
|
-
16 &&
|
|
530
|
+
16 && R(
|
|
531
531
|
e,
|
|
532
532
|
"translationurl",
|
|
533
533
|
/*translationurl*/
|
|
534
534
|
t[4]
|
|
535
535
|
), n[0] & /*endpoint*/
|
|
536
|
-
2 &&
|
|
536
|
+
2 && R(
|
|
537
537
|
e,
|
|
538
538
|
"endpoint",
|
|
539
539
|
/*endpoint*/
|
|
540
540
|
t[1]
|
|
541
541
|
), n[0] & /*clientstylingurl*/
|
|
542
|
-
256 &&
|
|
542
|
+
256 && R(
|
|
543
543
|
e,
|
|
544
544
|
"clientstylingurl",
|
|
545
545
|
/*clientstylingurl*/
|
|
546
546
|
t[8]
|
|
547
547
|
), n[0] & /*clientstyling*/
|
|
548
|
-
128 &&
|
|
548
|
+
128 && R(
|
|
549
549
|
e,
|
|
550
550
|
"clientstyling",
|
|
551
551
|
/*clientstyling*/
|
|
552
552
|
t[7]
|
|
553
553
|
), n[0] & /*customerid*/
|
|
554
|
-
64 &&
|
|
554
|
+
64 && R(
|
|
555
555
|
e,
|
|
556
556
|
"customerid",
|
|
557
557
|
/*customerid*/
|
|
558
558
|
t[6]
|
|
559
559
|
), n[0] & /*session*/
|
|
560
|
-
4 &&
|
|
560
|
+
4 && R(
|
|
561
561
|
e,
|
|
562
562
|
"playersession",
|
|
563
563
|
/*session*/
|
|
@@ -569,7 +569,7 @@ function U1(i) {
|
|
|
569
569
|
}
|
|
570
570
|
};
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function We(i) {
|
|
573
573
|
let e, t = (
|
|
574
574
|
/*errorResponseCode*/
|
|
575
575
|
i[19] === /*ResponseCode*/
|
|
@@ -577,32 +577,32 @@ function He(i) {
|
|
|
577
577
|
);
|
|
578
578
|
return {
|
|
579
579
|
c() {
|
|
580
|
-
e = g("cashier-error"), t && t.c(),
|
|
580
|
+
e = g("cashier-error"), t && t.c(), R(
|
|
581
581
|
e,
|
|
582
582
|
"assetsurl",
|
|
583
583
|
/*assetsurl*/
|
|
584
584
|
i[5]
|
|
585
|
-
),
|
|
585
|
+
), R(
|
|
586
586
|
e,
|
|
587
587
|
"translationurl",
|
|
588
588
|
/*translationurl*/
|
|
589
589
|
i[4]
|
|
590
|
-
),
|
|
590
|
+
), R(
|
|
591
591
|
e,
|
|
592
592
|
"clientstylingurl",
|
|
593
593
|
/*clientstylingurl*/
|
|
594
594
|
i[8]
|
|
595
|
-
),
|
|
595
|
+
), R(
|
|
596
596
|
e,
|
|
597
597
|
"clientstyling",
|
|
598
598
|
/*clientstyling*/
|
|
599
599
|
i[7]
|
|
600
|
-
),
|
|
600
|
+
), R(
|
|
601
601
|
e,
|
|
602
602
|
"lang",
|
|
603
603
|
/*lang*/
|
|
604
604
|
i[3]
|
|
605
|
-
),
|
|
605
|
+
), R(e, "hidebuttons", "true"), R(
|
|
606
606
|
e,
|
|
607
607
|
"errorcode",
|
|
608
608
|
/*errorResponseCode*/
|
|
@@ -616,37 +616,37 @@ function He(i) {
|
|
|
616
616
|
/*errorResponseCode*/
|
|
617
617
|
n[19] === /*ResponseCode*/
|
|
618
618
|
n[13].Maintenance ? t ? t.p(n, a) : (t = F1(n), t.c(), t.m(e, null)) : t && (t.d(1), t = null), a[0] & /*assetsurl*/
|
|
619
|
-
32 &&
|
|
619
|
+
32 && R(
|
|
620
620
|
e,
|
|
621
621
|
"assetsurl",
|
|
622
622
|
/*assetsurl*/
|
|
623
623
|
n[5]
|
|
624
624
|
), a[0] & /*translationurl*/
|
|
625
|
-
16 &&
|
|
625
|
+
16 && R(
|
|
626
626
|
e,
|
|
627
627
|
"translationurl",
|
|
628
628
|
/*translationurl*/
|
|
629
629
|
n[4]
|
|
630
630
|
), a[0] & /*clientstylingurl*/
|
|
631
|
-
256 &&
|
|
631
|
+
256 && R(
|
|
632
632
|
e,
|
|
633
633
|
"clientstylingurl",
|
|
634
634
|
/*clientstylingurl*/
|
|
635
635
|
n[8]
|
|
636
636
|
), a[0] & /*clientstyling*/
|
|
637
|
-
128 &&
|
|
637
|
+
128 && R(
|
|
638
638
|
e,
|
|
639
639
|
"clientstyling",
|
|
640
640
|
/*clientstyling*/
|
|
641
641
|
n[7]
|
|
642
642
|
), a[0] & /*lang*/
|
|
643
|
-
8 &&
|
|
643
|
+
8 && R(
|
|
644
644
|
e,
|
|
645
645
|
"lang",
|
|
646
646
|
/*lang*/
|
|
647
647
|
n[3]
|
|
648
648
|
), a[0] & /*errorResponseCode*/
|
|
649
|
-
524288 &&
|
|
649
|
+
524288 && R(
|
|
650
650
|
e,
|
|
651
651
|
"errorcode",
|
|
652
652
|
/*errorResponseCode*/
|
|
@@ -658,79 +658,79 @@ function He(i) {
|
|
|
658
658
|
}
|
|
659
659
|
};
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function Ie(i) {
|
|
662
662
|
let e, t, n, a, s, o = (
|
|
663
663
|
/*$_*/
|
|
664
664
|
i[24]("amount") + ""
|
|
665
|
-
), u, p,
|
|
665
|
+
), u, p, f, d, h, T, _, y = (
|
|
666
666
|
/*$_*/
|
|
667
667
|
i[24]("status") + ""
|
|
668
|
-
), P, Y,
|
|
668
|
+
), P, Y, z, j = (
|
|
669
669
|
/*$_*/
|
|
670
670
|
i[24](`${/*txnStatus*/
|
|
671
671
|
i[21]}`) + ""
|
|
672
|
-
), V, E, U,
|
|
672
|
+
), V, E, U, M, W, F = (
|
|
673
673
|
/*$_*/
|
|
674
674
|
i[24]("transactionId") + ""
|
|
675
|
-
), i1,
|
|
675
|
+
), i1, m1, G, O = (
|
|
676
676
|
/*txnInfo*/
|
|
677
677
|
i[15].referenceId + ""
|
|
678
|
-
), q,
|
|
678
|
+
), q, L, Q, g1, D = (
|
|
679
679
|
/*$_*/
|
|
680
680
|
i[24]("payemntMethod") + ""
|
|
681
681
|
), a1, h1, A, X, r1, N, J, l1 = (
|
|
682
682
|
/*$_*/
|
|
683
683
|
i[24]("paymentTime") + ""
|
|
684
|
-
), c1, w1, $, u1 =
|
|
684
|
+
), c1, w1, $, u1 = x1(
|
|
685
685
|
/*txnInfo*/
|
|
686
686
|
i[15].time
|
|
687
687
|
).format("MMM DD, YYYY, HH:mm:ss") + "", p1, b1, e1, y1, K, d1, t1, o1, v1;
|
|
688
|
-
function _1(
|
|
688
|
+
function _1(C, m) {
|
|
689
689
|
if (
|
|
690
690
|
/*txnStatus*/
|
|
691
|
-
|
|
691
|
+
C[21] === "success"
|
|
692
692
|
)
|
|
693
693
|
return je;
|
|
694
694
|
if (
|
|
695
695
|
/*txnStatus*/
|
|
696
|
-
|
|
696
|
+
C[21] === "pending"
|
|
697
697
|
)
|
|
698
|
-
return
|
|
698
|
+
return ze;
|
|
699
699
|
if (
|
|
700
700
|
/*txnStatus*/
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
701
|
+
C[21] === "failed" || /*txnStatus*/
|
|
702
|
+
C[21] === "rejected" || /*txnStatus*/
|
|
703
|
+
C[21] === "canceled"
|
|
704
704
|
)
|
|
705
|
-
return
|
|
705
|
+
return He;
|
|
706
706
|
}
|
|
707
|
-
let n1 = _1(i),
|
|
707
|
+
let n1 = _1(i), I = n1 && n1(i), H = (
|
|
708
708
|
/*displayedButtons*/
|
|
709
709
|
i[12].length > 0 && G1(i)
|
|
710
710
|
);
|
|
711
|
-
function T1(
|
|
711
|
+
function T1(C, m) {
|
|
712
712
|
return (
|
|
713
713
|
/*txnInfo*/
|
|
714
|
-
|
|
714
|
+
C[15].type ? Ze : Ae
|
|
715
715
|
);
|
|
716
716
|
}
|
|
717
|
-
let
|
|
717
|
+
let f1 = T1(i), r = f1(i), v = (
|
|
718
718
|
/*receiptFields*/
|
|
719
719
|
i[16].length && q1(i)
|
|
720
720
|
);
|
|
721
721
|
return {
|
|
722
722
|
c() {
|
|
723
|
-
e = g("div"),
|
|
723
|
+
e = g("div"), I && I.c(), t = k(), n = g("div"), a = g("div"), s = g("p"), u = x(o), p = k(), f = g("span"), d = x(
|
|
724
724
|
/*amount*/
|
|
725
725
|
i[17]
|
|
726
|
-
), h = k(), T = g("div"), _ = g("p"), P =
|
|
726
|
+
), h = k(), T = g("div"), _ = g("p"), P = x(y), Y = k(), z = g("span"), V = x(j), U = k(), M = g("div"), W = g("p"), i1 = x(F), m1 = k(), G = g("span"), q = x(O), L = k(), Q = g("div"), g1 = g("p"), a1 = x(D), h1 = k(), A = g("span"), X = x(
|
|
727
727
|
/*paymentmethod*/
|
|
728
728
|
i[0]
|
|
729
|
-
), r1 = k(), N = g("div"), J = g("p"), c1 =
|
|
730
|
-
i[21]}`), l(G, "class", "TxnIdText"), l(
|
|
729
|
+
), r1 = k(), N = g("div"), J = g("p"), c1 = x(l1), w1 = k(), $ = g("span"), p1 = x(u1), b1 = k(), e1 = g("div"), H && H.c(), y1 = k(), K = g("button"), r.c(), d1 = k(), v && v.c(), t1 = M1(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(T, "class", E = `Status ${/*txnStatus*/
|
|
730
|
+
i[21]}`), l(G, "class", "TxnIdText"), l(M, "class", "TxnId"), l(Q, "class", "PaymentMethod"), l(N, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(e1, "class", "ReceiptButtonsWrapper"), l(K, "class", "DefaultButton");
|
|
731
731
|
},
|
|
732
|
-
m(
|
|
733
|
-
b(
|
|
732
|
+
m(C, m) {
|
|
733
|
+
b(C, e, m), I && I.m(e, null), b(C, t, m), b(C, n, m), c(n, a), c(a, s), c(s, u), c(a, p), c(a, f), c(f, d), c(n, h), c(n, T), c(T, _), c(_, P), c(T, Y), c(T, z), c(z, V), c(n, U), c(n, M), c(M, W), c(W, i1), c(M, m1), c(M, G), c(G, q), c(n, L), c(n, Q), c(Q, g1), c(g1, a1), c(Q, h1), c(Q, A), c(A, X), c(n, r1), c(n, N), c(N, J), c(J, c1), c(N, w1), c(N, $), c($, p1), b(C, b1, m), b(C, e1, m), H && H.m(e1, null), b(C, y1, m), b(C, K, m), r.m(K, null), b(C, d1, m), v && v.m(C, m), b(C, t1, m), o1 || (v1 = [
|
|
734
734
|
k1(
|
|
735
735
|
G,
|
|
736
736
|
"click",
|
|
@@ -745,44 +745,44 @@ function We(i) {
|
|
|
745
745
|
)
|
|
746
746
|
], o1 = !0);
|
|
747
747
|
},
|
|
748
|
-
p(
|
|
749
|
-
n1 === (n1 = _1(
|
|
748
|
+
p(C, m) {
|
|
749
|
+
n1 === (n1 = _1(C)) && I ? I.p(C, m) : (I && I.d(1), I = n1 && n1(C), I && (I.c(), I.m(e, null))), m[0] & /*$_*/
|
|
750
750
|
16777216 && o !== (o = /*$_*/
|
|
751
|
-
|
|
752
|
-
131072 &&
|
|
751
|
+
C[24]("amount") + "") && S(u, o), m[0] & /*amount*/
|
|
752
|
+
131072 && S(
|
|
753
753
|
d,
|
|
754
754
|
/*amount*/
|
|
755
|
-
|
|
756
|
-
),
|
|
755
|
+
C[17]
|
|
756
|
+
), m[0] & /*$_*/
|
|
757
757
|
16777216 && y !== (y = /*$_*/
|
|
758
|
-
|
|
758
|
+
C[24]("status") + "") && S(P, y), m[0] & /*$_, txnStatus*/
|
|
759
759
|
18874368 && j !== (j = /*$_*/
|
|
760
|
-
|
|
761
|
-
|
|
760
|
+
C[24](`${/*txnStatus*/
|
|
761
|
+
C[21]}`) + "") && S(V, j), m[0] & /*txnStatus*/
|
|
762
762
|
2097152 && E !== (E = `Status ${/*txnStatus*/
|
|
763
|
-
|
|
763
|
+
C[21]}`) && l(T, "class", E), m[0] & /*$_*/
|
|
764
764
|
16777216 && F !== (F = /*$_*/
|
|
765
|
-
|
|
765
|
+
C[24]("transactionId") + "") && S(i1, F), m[0] & /*txnInfo*/
|
|
766
766
|
32768 && O !== (O = /*txnInfo*/
|
|
767
|
-
|
|
767
|
+
C[15].referenceId + "") && S(q, O), m[0] & /*$_*/
|
|
768
768
|
16777216 && D !== (D = /*$_*/
|
|
769
|
-
|
|
770
|
-
1 &&
|
|
769
|
+
C[24]("payemntMethod") + "") && S(a1, D), m[0] & /*paymentmethod*/
|
|
770
|
+
1 && S(
|
|
771
771
|
X,
|
|
772
772
|
/*paymentmethod*/
|
|
773
|
-
|
|
774
|
-
),
|
|
773
|
+
C[0]
|
|
774
|
+
), m[0] & /*$_*/
|
|
775
775
|
16777216 && l1 !== (l1 = /*$_*/
|
|
776
|
-
|
|
777
|
-
32768 && u1 !== (u1 =
|
|
776
|
+
C[24]("paymentTime") + "") && S(c1, l1), m[0] & /*txnInfo*/
|
|
777
|
+
32768 && u1 !== (u1 = x1(
|
|
778
778
|
/*txnInfo*/
|
|
779
|
-
|
|
780
|
-
).format("MMM DD, YYYY, HH:mm:ss") + "") &&
|
|
781
|
-
|
|
782
|
-
|
|
779
|
+
C[15].time
|
|
780
|
+
).format("MMM DD, YYYY, HH:mm:ss") + "") && S(p1, u1), /*displayedButtons*/
|
|
781
|
+
C[12].length > 0 ? H ? H.p(C, m) : (H = G1(C), H.c(), H.m(e1, null)) : H && (H.d(1), H = null), f1 === (f1 = T1(C)) && r ? r.p(C, m) : (r.d(1), r = f1(C), r && (r.c(), r.m(K, null))), /*receiptFields*/
|
|
782
|
+
C[16].length ? v ? v.p(C, m) : (v = q1(C), v.c(), v.m(t1.parentNode, t1)) : v && (v.d(1), v = null);
|
|
783
783
|
},
|
|
784
|
-
d(
|
|
785
|
-
|
|
784
|
+
d(C) {
|
|
785
|
+
C && (w(e), w(t), w(n), w(b1), w(e1), w(y1), w(K), w(d1), w(t1)), I && I.d(), H && H.d(), r.d(), v && v.d(C), o1 = !1, ge(v1);
|
|
786
786
|
}
|
|
787
787
|
};
|
|
788
788
|
}
|
|
@@ -793,59 +793,59 @@ function F1(i) {
|
|
|
793
793
|
), s, o, u, p = (
|
|
794
794
|
/*$_*/
|
|
795
795
|
i[24]("receipt.maintenance.text") + ""
|
|
796
|
-
),
|
|
796
|
+
), f;
|
|
797
797
|
return {
|
|
798
798
|
c() {
|
|
799
|
-
e = g("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = k(), n = g("span"), s =
|
|
799
|
+
e = g("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = k(), n = g("span"), s = x(a), o = k(), u = g("span"), f = x(p), l(e, "slot", "icon"), l(n, "slot", "title"), l(n, "class", "CashierErrorTitle"), l(u, "slot", "text"), l(u, "class", "CashierErrorText");
|
|
800
800
|
},
|
|
801
801
|
m(d, h) {
|
|
802
|
-
b(d, e, h), b(d, t, h), b(d, n, h), c(n, s), b(d, o, h), b(d, u, h), c(u,
|
|
802
|
+
b(d, e, h), b(d, t, h), b(d, n, h), c(n, s), b(d, o, h), b(d, u, h), c(u, f);
|
|
803
803
|
},
|
|
804
804
|
p(d, h) {
|
|
805
805
|
h[0] & /*$_*/
|
|
806
806
|
16777216 && a !== (a = /*$_*/
|
|
807
|
-
d[24]("receipt.maintenance.title") + "") &&
|
|
807
|
+
d[24]("receipt.maintenance.title") + "") && S(s, a), h[0] & /*$_*/
|
|
808
808
|
16777216 && p !== (p = /*$_*/
|
|
809
|
-
d[24]("receipt.maintenance.text") + "") &&
|
|
809
|
+
d[24]("receipt.maintenance.text") + "") && S(f, p);
|
|
810
810
|
},
|
|
811
811
|
d(d) {
|
|
812
812
|
d && (w(e), w(t), w(n), w(o), w(u));
|
|
813
813
|
}
|
|
814
814
|
};
|
|
815
815
|
}
|
|
816
|
-
function
|
|
816
|
+
function He(i) {
|
|
817
817
|
let e, t, n, a, s, o, u, p = (
|
|
818
818
|
/*$_*/
|
|
819
819
|
i[24](`${/*txnInfo*/
|
|
820
820
|
i[15].type.toLowerCase()}.fail.title`) + ""
|
|
821
|
-
),
|
|
821
|
+
), f, d, h, T = (
|
|
822
822
|
/*$_*/
|
|
823
823
|
i[24](`${/*txnInfo*/
|
|
824
824
|
i[15].type.toLowerCase()}.fail.text`) + ""
|
|
825
825
|
), _;
|
|
826
826
|
return {
|
|
827
827
|
c() {
|
|
828
|
-
e = Z("svg"), t = Z("circle"), n = Z("rect"), a = Z("path"), s = k(), o = g("div"), u = g("h3"),
|
|
828
|
+
e = Z("svg"), t = Z("circle"), n = Z("rect"), a = Z("path"), s = k(), o = g("div"), u = g("h3"), f = x(p), d = k(), h = g("p"), _ = x(T), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D14141"), l(t, "fill-opacity", "0.12"), l(n, "x", "19.335"), l(n, "y", "19"), l(n, "width", "33.33"), l(n, "height", "33.33"), l(n, "rx", "16.665"), l(n, "fill", "#FF3636"), l(a, "d", "M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"), l(a, "stroke", "black"), l(a, "stroke-width", "2.09016"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon failed"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(o, "class", "ReceiptStatusText");
|
|
829
829
|
},
|
|
830
830
|
m(y, P) {
|
|
831
|
-
b(y, e, P), c(e, t), c(e, n), c(e, a), b(y, s, P), b(y, o, P), c(o, u), c(u,
|
|
831
|
+
b(y, e, P), c(e, t), c(e, n), c(e, a), b(y, s, P), b(y, o, P), c(o, u), c(u, f), c(o, d), c(o, h), c(h, _);
|
|
832
832
|
},
|
|
833
833
|
p(y, P) {
|
|
834
834
|
P[0] & /*$_, txnInfo*/
|
|
835
835
|
16809984 && p !== (p = /*$_*/
|
|
836
836
|
y[24](`${/*txnInfo*/
|
|
837
|
-
y[15].type.toLowerCase()}.fail.title`) + "") &&
|
|
837
|
+
y[15].type.toLowerCase()}.fail.title`) + "") && S(f, p), P[0] & /*$_, txnInfo*/
|
|
838
838
|
16809984 && T !== (T = /*$_*/
|
|
839
839
|
y[24](`${/*txnInfo*/
|
|
840
|
-
y[15].type.toLowerCase()}.fail.text`) + "") &&
|
|
840
|
+
y[15].type.toLowerCase()}.fail.text`) + "") && S(_, T);
|
|
841
841
|
},
|
|
842
842
|
d(y) {
|
|
843
843
|
y && (w(e), w(s), w(o));
|
|
844
844
|
}
|
|
845
845
|
};
|
|
846
846
|
}
|
|
847
|
-
function
|
|
848
|
-
let e, t, n, a, s, o, u, p,
|
|
847
|
+
function ze(i) {
|
|
848
|
+
let e, t, n, a, s, o, u, p, f, d = (
|
|
849
849
|
/*$_*/
|
|
850
850
|
i[24](`${/*txnInfo*/
|
|
851
851
|
i[15].type.toLowerCase()}.pending.title`) + ""
|
|
@@ -853,35 +853,35 @@ function Ie(i) {
|
|
|
853
853
|
/*$_*/
|
|
854
854
|
i[24](`${/*txnInfo*/
|
|
855
855
|
i[15].type.toLowerCase()}.pending.text`) + ""
|
|
856
|
-
), P, Y,
|
|
856
|
+
), P, Y, z, j = (
|
|
857
857
|
/*$_*/
|
|
858
858
|
i[24]("refreshButton") + ""
|
|
859
859
|
), V, E, U;
|
|
860
860
|
return {
|
|
861
861
|
c() {
|
|
862
|
-
e = Z("svg"), t = Z("circle"), n = Z("rect"), a = Z("path"), s = Z("path"), o = Z("path"), u = k(), p = g("div"),
|
|
862
|
+
e = Z("svg"), t = Z("circle"), n = Z("rect"), a = Z("path"), s = Z("path"), o = Z("path"), u = k(), p = g("div"), f = g("h3"), h = x(d), T = k(), _ = g("p"), P = x(y), Y = k(), z = g("button"), V = x(j), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D19A41"), l(t, "fill-opacity", "0.12"), l(n, "x", "19"), l(n, "y", "19"), l(n, "width", "34"), l(n, "height", "34"), l(n, "rx", "17"), l(n, "fill", "#FF6836"), l(a, "d", "M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"), l(a, "stroke", "black"), l(a, "stroke-width", "1.5"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(s, "d", "M36 32V36L38 38"), l(s, "stroke", "black"), l(s, "stroke-width", "1.5"), l(s, "stroke-linecap", "round"), l(s, "stroke-linejoin", "round"), l(o, "d", "M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"), l(o, "stroke", "black"), l(o, "stroke-width", "1.5"), l(o, "stroke-linecap", "round"), l(o, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon pending"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(p, "class", "ReceiptStatusText"), l(z, "class", "RefreshButton");
|
|
863
863
|
},
|
|
864
|
-
m(
|
|
865
|
-
b(
|
|
866
|
-
|
|
864
|
+
m(M, W) {
|
|
865
|
+
b(M, e, W), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), b(M, u, W), b(M, p, W), c(p, f), c(f, h), c(p, T), c(p, _), c(_, P), b(M, Y, W), b(M, z, W), c(z, V), E || (U = k1(
|
|
866
|
+
z,
|
|
867
867
|
"click",
|
|
868
868
|
/*getPaymentInfo*/
|
|
869
869
|
i[27]
|
|
870
870
|
), E = !0);
|
|
871
871
|
},
|
|
872
|
-
p(
|
|
873
|
-
|
|
872
|
+
p(M, W) {
|
|
873
|
+
W[0] & /*$_, txnInfo*/
|
|
874
874
|
16809984 && d !== (d = /*$_*/
|
|
875
|
-
|
|
876
|
-
|
|
875
|
+
M[24](`${/*txnInfo*/
|
|
876
|
+
M[15].type.toLowerCase()}.pending.title`) + "") && S(h, d), W[0] & /*$_, txnInfo*/
|
|
877
877
|
16809984 && y !== (y = /*$_*/
|
|
878
|
-
|
|
879
|
-
|
|
878
|
+
M[24](`${/*txnInfo*/
|
|
879
|
+
M[15].type.toLowerCase()}.pending.text`) + "") && S(P, y), W[0] & /*$_*/
|
|
880
880
|
16777216 && j !== (j = /*$_*/
|
|
881
|
-
|
|
881
|
+
M[24]("refreshButton") + "") && S(V, j);
|
|
882
882
|
},
|
|
883
|
-
d(
|
|
884
|
-
|
|
883
|
+
d(M) {
|
|
884
|
+
M && (w(e), w(u), w(p), w(Y), w(z)), E = !1, U();
|
|
885
885
|
}
|
|
886
886
|
};
|
|
887
887
|
}
|
|
@@ -890,26 +890,26 @@ function je(i) {
|
|
|
890
890
|
/*$_*/
|
|
891
891
|
i[24](`${/*txnInfo*/
|
|
892
892
|
i[15].type.toLowerCase()}.success.title`) + ""
|
|
893
|
-
), p,
|
|
893
|
+
), p, f, d, h = (
|
|
894
894
|
/*$_*/
|
|
895
895
|
i[24](`${/*txnInfo*/
|
|
896
896
|
i[15].type.toLowerCase()}.success.text`) + ""
|
|
897
897
|
), T;
|
|
898
898
|
return {
|
|
899
899
|
c() {
|
|
900
|
-
e = Z("svg"), t = Z("circle"), n = Z("path"), a = k(), s = g("div"), o = g("h3"), p =
|
|
900
|
+
e = Z("svg"), t = Z("circle"), n = Z("path"), a = k(), s = g("div"), o = g("h3"), p = x(u), f = k(), d = g("p"), T = x(h), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#F9C408"), l(t, "fill-opacity", "0.12"), l(n, "d", "M36.5 19.3333C27.3167 19.3333 19.8333 26.8166 19.8333 36C19.8333 45.1833 27.3167 52.6666 36.5 52.6666C45.6833 52.6666 53.1667 45.1833 53.1667 36C53.1667 26.8166 45.6833 19.3333 36.5 19.3333ZM44.4667 32.1666L35.0167 41.6166C34.7833 41.85 34.4667 41.9833 34.1333 41.9833C33.8 41.9833 33.4833 41.85 33.25 41.6166L28.5333 36.9C28.05 36.4166 28.05 35.6166 28.5333 35.1333C29.0167 34.65 29.8167 34.65 30.3 35.1333L34.1333 38.9666L42.7 30.4C43.1833 29.9166 43.9833 29.9166 44.4667 30.4C44.95 30.8833 44.95 31.6666 44.4667 32.1666Z"), l(n, "fill", "#F9C408"), l(e, "class", "ReceiptStatusIcon success"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(s, "class", "ReceiptStatusText");
|
|
901
901
|
},
|
|
902
902
|
m(_, y) {
|
|
903
|
-
b(_, e, y), c(e, t), c(e, n), b(_, a, y), b(_, s, y), c(s, o), c(o, p), c(s,
|
|
903
|
+
b(_, e, y), c(e, t), c(e, n), b(_, a, y), b(_, s, y), c(s, o), c(o, p), c(s, f), c(s, d), c(d, T);
|
|
904
904
|
},
|
|
905
905
|
p(_, y) {
|
|
906
906
|
y[0] & /*$_, txnInfo*/
|
|
907
907
|
16809984 && u !== (u = /*$_*/
|
|
908
908
|
_[24](`${/*txnInfo*/
|
|
909
|
-
_[15].type.toLowerCase()}.success.title`) + "") &&
|
|
909
|
+
_[15].type.toLowerCase()}.success.title`) + "") && S(p, u), y[0] & /*$_, txnInfo*/
|
|
910
910
|
16809984 && h !== (h = /*$_*/
|
|
911
911
|
_[24](`${/*txnInfo*/
|
|
912
|
-
_[15].type.toLowerCase()}.success.text`) + "") &&
|
|
912
|
+
_[15].type.toLowerCase()}.success.text`) + "") && S(T, h);
|
|
913
913
|
},
|
|
914
914
|
d(_) {
|
|
915
915
|
_ && (w(e), w(a), w(s));
|
|
@@ -917,7 +917,7 @@ function je(i) {
|
|
|
917
917
|
};
|
|
918
918
|
}
|
|
919
919
|
function G1(i) {
|
|
920
|
-
let e, t =
|
|
920
|
+
let e, t = S1(
|
|
921
921
|
/*displayedButtons*/
|
|
922
922
|
i[12]
|
|
923
923
|
), n = [];
|
|
@@ -927,7 +927,7 @@ function G1(i) {
|
|
|
927
927
|
c() {
|
|
928
928
|
for (let a = 0; a < n.length; a += 1)
|
|
929
929
|
n[a].c();
|
|
930
|
-
e =
|
|
930
|
+
e = M1();
|
|
931
931
|
},
|
|
932
932
|
m(a, s) {
|
|
933
933
|
for (let o = 0; o < n.length; o += 1)
|
|
@@ -937,7 +937,7 @@ function G1(i) {
|
|
|
937
937
|
p(a, s) {
|
|
938
938
|
if (s[0] & /*displayedButtons, handleCustomButtonClick, $_*/
|
|
939
939
|
285216768) {
|
|
940
|
-
t =
|
|
940
|
+
t = S1(
|
|
941
941
|
/*displayedButtons*/
|
|
942
942
|
a[12]
|
|
943
943
|
);
|
|
@@ -963,7 +963,7 @@ function O1(i) {
|
|
|
963
963
|
/*$_*/
|
|
964
964
|
i[24](`${/*btn*/
|
|
965
965
|
i[70].translationKey}`) + ""
|
|
966
|
-
), o, u, p,
|
|
966
|
+
), o, u, p, f, d;
|
|
967
967
|
function h() {
|
|
968
968
|
return (
|
|
969
969
|
/*click_handler_1*/
|
|
@@ -975,11 +975,11 @@ function O1(i) {
|
|
|
975
975
|
}
|
|
976
976
|
return {
|
|
977
977
|
c() {
|
|
978
|
-
e = g("button"), t = g("div"), a = k(), o =
|
|
978
|
+
e = g("button"), t = g("div"), a = k(), o = x(s), u = k(), l(t, "class", "CustomButtonSvg"), l(e, "class", p = `${/*btn*/
|
|
979
979
|
i[70].type} GoToButton`);
|
|
980
980
|
},
|
|
981
981
|
m(_, y) {
|
|
982
|
-
b(_, e, y), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, u),
|
|
982
|
+
b(_, e, y), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, u), f || (d = k1(e, "click", h), f = !0);
|
|
983
983
|
},
|
|
984
984
|
p(_, y) {
|
|
985
985
|
var P;
|
|
@@ -988,12 +988,12 @@ function O1(i) {
|
|
|
988
988
|
i[70].type}`]) != null ? P : "") + "") && (t.innerHTML = n), y[0] & /*$_, displayedButtons*/
|
|
989
989
|
16781312 && s !== (s = /*$_*/
|
|
990
990
|
i[24](`${/*btn*/
|
|
991
|
-
i[70].translationKey}`) + "") &&
|
|
991
|
+
i[70].translationKey}`) + "") && S(o, s), y[0] & /*displayedButtons*/
|
|
992
992
|
4096 && p !== (p = `${/*btn*/
|
|
993
993
|
i[70].type} GoToButton`) && l(e, "class", p);
|
|
994
994
|
},
|
|
995
995
|
d(_) {
|
|
996
|
-
_ && w(e),
|
|
996
|
+
_ && w(e), f = !1, d();
|
|
997
997
|
}
|
|
998
998
|
};
|
|
999
999
|
}
|
|
@@ -1004,7 +1004,7 @@ function Ae(i) {
|
|
|
1004
1004
|
), t;
|
|
1005
1005
|
return {
|
|
1006
1006
|
c() {
|
|
1007
|
-
t =
|
|
1007
|
+
t = x(e);
|
|
1008
1008
|
},
|
|
1009
1009
|
m(n, a) {
|
|
1010
1010
|
b(n, t, a);
|
|
@@ -1012,7 +1012,7 @@ function Ae(i) {
|
|
|
1012
1012
|
p(n, a) {
|
|
1013
1013
|
a[0] & /*$_*/
|
|
1014
1014
|
16777216 && e !== (e = /*$_*/
|
|
1015
|
-
n[24]("backHome") + "") &&
|
|
1015
|
+
n[24]("backHome") + "") && S(t, e);
|
|
1016
1016
|
},
|
|
1017
1017
|
d(n) {
|
|
1018
1018
|
n && w(t);
|
|
@@ -1027,7 +1027,7 @@ function Ze(i) {
|
|
|
1027
1027
|
), t;
|
|
1028
1028
|
return {
|
|
1029
1029
|
c() {
|
|
1030
|
-
t =
|
|
1030
|
+
t = x(e);
|
|
1031
1031
|
},
|
|
1032
1032
|
m(n, a) {
|
|
1033
1033
|
b(n, t, a);
|
|
@@ -1036,7 +1036,7 @@ function Ze(i) {
|
|
|
1036
1036
|
a[0] & /*$_, txnInfo*/
|
|
1037
1037
|
16809984 && e !== (e = /*$_*/
|
|
1038
1038
|
n[24](`back${/*txnInfo*/
|
|
1039
|
-
n[15].type}`) + "") &&
|
|
1039
|
+
n[15].type}`) + "") && S(t, e);
|
|
1040
1040
|
},
|
|
1041
1041
|
d(n) {
|
|
1042
1042
|
n && w(t);
|
|
@@ -1044,7 +1044,7 @@ function Ze(i) {
|
|
|
1044
1044
|
};
|
|
1045
1045
|
}
|
|
1046
1046
|
function q1(i) {
|
|
1047
|
-
let e, t =
|
|
1047
|
+
let e, t = S1(
|
|
1048
1048
|
/*receiptFields*/
|
|
1049
1049
|
i[16]
|
|
1050
1050
|
), n = [];
|
|
@@ -1054,7 +1054,7 @@ function q1(i) {
|
|
|
1054
1054
|
c() {
|
|
1055
1055
|
for (let a = 0; a < n.length; a += 1)
|
|
1056
1056
|
n[a].c();
|
|
1057
|
-
e =
|
|
1057
|
+
e = M1();
|
|
1058
1058
|
},
|
|
1059
1059
|
m(a, s) {
|
|
1060
1060
|
for (let o = 0; o < n.length; o += 1)
|
|
@@ -1064,7 +1064,7 @@ function q1(i) {
|
|
|
1064
1064
|
p(a, s) {
|
|
1065
1065
|
if (s[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
|
|
1066
1066
|
537214976) {
|
|
1067
|
-
t =
|
|
1067
|
+
t = S1(
|
|
1068
1068
|
/*receiptFields*/
|
|
1069
1069
|
a[16]
|
|
1070
1070
|
);
|
|
@@ -1090,7 +1090,7 @@ function Ve(i) {
|
|
|
1090
1090
|
), n;
|
|
1091
1091
|
return {
|
|
1092
1092
|
c() {
|
|
1093
|
-
e = g("span"), n =
|
|
1093
|
+
e = g("span"), n = x(t), l(e, "class", "Label");
|
|
1094
1094
|
},
|
|
1095
1095
|
m(a, s) {
|
|
1096
1096
|
b(a, e, s), c(e, n);
|
|
@@ -1098,7 +1098,7 @@ function Ve(i) {
|
|
|
1098
1098
|
p(a, s) {
|
|
1099
1099
|
s[0] & /*receiptFields*/
|
|
1100
1100
|
65536 && t !== (t = /*field*/
|
|
1101
|
-
a[67].defaultValue + "") &&
|
|
1101
|
+
a[67].defaultValue + "") && S(n, t);
|
|
1102
1102
|
},
|
|
1103
1103
|
d(a) {
|
|
1104
1104
|
a && w(e);
|
|
@@ -1118,23 +1118,23 @@ function Ye(i) {
|
|
|
1118
1118
|
), u, p;
|
|
1119
1119
|
return {
|
|
1120
1120
|
c() {
|
|
1121
|
-
e = g("span"), n =
|
|
1121
|
+
e = g("span"), n = x(t), a = k(), s = g("a"), u = x(o), l(s, "href", p = /*field*/
|
|
1122
1122
|
i[67].defaultValue), l(s, "target", "_blank"), l(s, "rel", "noopener noreferrer");
|
|
1123
1123
|
},
|
|
1124
|
-
m(
|
|
1125
|
-
b(
|
|
1124
|
+
m(f, d) {
|
|
1125
|
+
b(f, e, d), c(e, n), c(e, a), c(e, s), c(s, u);
|
|
1126
1126
|
},
|
|
1127
|
-
p(
|
|
1127
|
+
p(f, d) {
|
|
1128
1128
|
d[0] & /*receiptFields*/
|
|
1129
1129
|
65536 && t !== (t = /*field*/
|
|
1130
|
-
|
|
1130
|
+
f[67].description + "") && S(n, t), d[0] & /*receiptFields*/
|
|
1131
1131
|
65536 && o !== (o = /*field*/
|
|
1132
|
-
|
|
1132
|
+
f[67].name + "") && S(u, o), d[0] & /*receiptFields*/
|
|
1133
1133
|
65536 && p !== (p = /*field*/
|
|
1134
|
-
|
|
1134
|
+
f[67].defaultValue) && l(s, "href", p);
|
|
1135
1135
|
},
|
|
1136
|
-
d(
|
|
1137
|
-
|
|
1136
|
+
d(f) {
|
|
1137
|
+
f && w(e);
|
|
1138
1138
|
}
|
|
1139
1139
|
};
|
|
1140
1140
|
}
|
|
@@ -1142,7 +1142,7 @@ function Ne(i) {
|
|
|
1142
1142
|
let e, t, n;
|
|
1143
1143
|
return {
|
|
1144
1144
|
c() {
|
|
1145
|
-
e = g("img"),
|
|
1145
|
+
e = g("img"), H1(e.src, t = /*field*/
|
|
1146
1146
|
i[67].defaultValue) || l(e, "src", t), l(e, "title", n = /*field*/
|
|
1147
1147
|
i[67].description), l(e, "alt", "");
|
|
1148
1148
|
},
|
|
@@ -1151,7 +1151,7 @@ function Ne(i) {
|
|
|
1151
1151
|
},
|
|
1152
1152
|
p(a, s) {
|
|
1153
1153
|
s[0] & /*receiptFields*/
|
|
1154
|
-
65536 && !
|
|
1154
|
+
65536 && !H1(e.src, t = /*field*/
|
|
1155
1155
|
a[67].defaultValue) && l(e, "src", t), s[0] & /*receiptFields*/
|
|
1156
1156
|
65536 && n !== (n = /*field*/
|
|
1157
1157
|
a[67].description) && l(e, "title", n);
|
|
@@ -1199,15 +1199,15 @@ function Ue(i) {
|
|
|
1199
1199
|
}
|
|
1200
1200
|
return {
|
|
1201
1201
|
c() {
|
|
1202
|
-
e = g("div"), t = g("div"), a =
|
|
1202
|
+
e = g("div"), t = g("div"), a = x(n), l(e, "class", "QRCode");
|
|
1203
1203
|
},
|
|
1204
|
-
m(p,
|
|
1205
|
-
b(p, e,
|
|
1204
|
+
m(p, f) {
|
|
1205
|
+
b(p, e, f), c(e, t), c(t, a), i[46](t), s || (o = k1(e, "click", u), s = !0);
|
|
1206
1206
|
},
|
|
1207
|
-
p(p,
|
|
1208
|
-
i = p,
|
|
1207
|
+
p(p, f) {
|
|
1208
|
+
i = p, f[0] & /*receiptFields*/
|
|
1209
1209
|
65536 && n !== (n = /*field*/
|
|
1210
|
-
i[67].defaultValue + "") &&
|
|
1210
|
+
i[67].defaultValue + "") && S(a, n);
|
|
1211
1211
|
},
|
|
1212
1212
|
d(p) {
|
|
1213
1213
|
p && w(e), i[46](null), s = !1, o();
|
|
@@ -1284,38 +1284,38 @@ function Fe(i) {
|
|
|
1284
1284
|
let Ge = "_blank";
|
|
1285
1285
|
function Oe(i, e, t) {
|
|
1286
1286
|
let n;
|
|
1287
|
-
re(i, le, (r) => t(24, n = r)),
|
|
1288
|
-
let { endpoint: a } = e, { session: s } = e, { lang: o = "en" } = e, { local: u = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl:
|
|
1287
|
+
re(i, le, (r) => t(24, n = r)), x1.extend(ve);
|
|
1288
|
+
let { endpoint: a } = e, { session: s } = e, { lang: o = "en" } = e, { local: u = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: f } = e, { assetsurl: d = "" } = e, { customerid: h } = e, { transactionid: T } = e, { currencydecimals: _ = "0" } = e, { type: y } = e, { clientstyling: P = "" } = e, { clientstylingurl: Y = "" } = e, { mbsource: z = "" } = e, { showverifications: j = "true" } = e, { paymentmethod: V = "" } = e, E = !1, { customsucceessbuttons: U = "" } = e, { custompendingbuttons: M = "" } = e, { customfailedbuttons: W = "" } = e, { currencysymbol: F = "" } = e, { currencyposition: i1 = "" } = e, { windowsize: m1 } = e, { p2p: G = "false" } = e, O = [];
|
|
1289
1289
|
var q;
|
|
1290
1290
|
(function(r) {
|
|
1291
1291
|
r.Success = "Success", r.Maintenance = "Maintenance";
|
|
1292
1292
|
})(q || (q = {}));
|
|
1293
|
-
var
|
|
1293
|
+
var L;
|
|
1294
1294
|
(function(r) {
|
|
1295
1295
|
r.Unknown = "Unknown", r.Text = "Text", r.Boolean = "Boolean", r.Number = "Number", r.Money = "Money", r.DateTime = "DateTime", r.Lookup = "Lookup", r.IpAddress = "IpAddress", r.Date = "Date", r.Time = "Time", r.LookupCollection = "LookupCollection", r.Hidden = "Hidden", r.Label = "Label", r.Password = "Password", r.Link = "Link", r.Image = "Image", r.Html = "Html", r.QRCode = "QR";
|
|
1296
|
-
})(
|
|
1297
|
-
const Q = (r, [v,
|
|
1296
|
+
})(L || (L = {}));
|
|
1297
|
+
const Q = (r, [v, C]) => [
|
|
1298
1298
|
...r,
|
|
1299
|
-
...Array.isArray(v) ? [...v.map((
|
|
1299
|
+
...Array.isArray(v) ? [...v.map((m) => [m, C])] : [[v, C]]
|
|
1300
1300
|
], g1 = new Map([
|
|
1301
|
-
[["Unknown", 0],
|
|
1302
|
-
[["Text", 1],
|
|
1303
|
-
[["Boolean", 2],
|
|
1304
|
-
[["Number", 3],
|
|
1305
|
-
[["Money", 4],
|
|
1306
|
-
[["DateTime", 5],
|
|
1307
|
-
[["Lookup", 6],
|
|
1308
|
-
[["IpAddress", 7],
|
|
1309
|
-
[["Date", 8],
|
|
1310
|
-
[["Time", 9],
|
|
1311
|
-
[["LookupCollection", 10],
|
|
1312
|
-
[["Hidden", 11],
|
|
1313
|
-
[["Label", 12],
|
|
1314
|
-
[["Password", 13],
|
|
1315
|
-
[["Link", 14],
|
|
1316
|
-
[["Image", 15],
|
|
1317
|
-
[["Html", 19],
|
|
1318
|
-
[["QR", 20],
|
|
1301
|
+
[["Unknown", 0], L.Unknown],
|
|
1302
|
+
[["Text", 1], L.Text],
|
|
1303
|
+
[["Boolean", 2], L.Boolean],
|
|
1304
|
+
[["Number", 3], L.Number],
|
|
1305
|
+
[["Money", 4], L.Money],
|
|
1306
|
+
[["DateTime", 5], L.DateTime],
|
|
1307
|
+
[["Lookup", 6], L.Lookup],
|
|
1308
|
+
[["IpAddress", 7], L.IpAddress],
|
|
1309
|
+
[["Date", 8], L.Date],
|
|
1310
|
+
[["Time", 9], L.Time],
|
|
1311
|
+
[["LookupCollection", 10], L.LookupCollection],
|
|
1312
|
+
[["Hidden", 11], L.Hidden],
|
|
1313
|
+
[["Label", 12], L.Label],
|
|
1314
|
+
[["Password", 13], L.Password],
|
|
1315
|
+
[["Link", 14], L.Link],
|
|
1316
|
+
[["Image", 15], L.Image],
|
|
1317
|
+
[["Html", 19], L.Html],
|
|
1318
|
+
[["QR", 20], L.QRCode]
|
|
1319
1319
|
].reduce(Q, []));
|
|
1320
1320
|
let D, a1 = [], h1, A, X = [], r1, N, J = "", l1 = window.navigator.userAgent, c1 = !1;
|
|
1321
1321
|
const w1 = {
|
|
@@ -1375,8 +1375,8 @@ function Oe(i, e, t) {
|
|
|
1375
1375
|
type: "CloseButton"
|
|
1376
1376
|
}
|
|
1377
1377
|
}, $ = (r) => {
|
|
1378
|
-
t(12, O = []), r.split(",").forEach((
|
|
1379
|
-
w1[
|
|
1378
|
+
t(12, O = []), r.split(",").forEach((C) => {
|
|
1379
|
+
w1[C.trim()] && O.push(w1[C.trim()]);
|
|
1380
1380
|
});
|
|
1381
1381
|
}, u1 = () => {
|
|
1382
1382
|
Te(o);
|
|
@@ -1392,11 +1392,11 @@ function Oe(i, e, t) {
|
|
|
1392
1392
|
break;
|
|
1393
1393
|
}
|
|
1394
1394
|
}, b1 = () => {
|
|
1395
|
-
let r =
|
|
1395
|
+
let r = f;
|
|
1396
1396
|
if (r)
|
|
1397
1397
|
return fetch(r).then((v) => v.json()).then((v) => {
|
|
1398
|
-
Object.keys(v).forEach((
|
|
1399
|
-
Z1(
|
|
1398
|
+
Object.keys(v).forEach((C) => {
|
|
1399
|
+
Z1(C, v[C]);
|
|
1400
1400
|
});
|
|
1401
1401
|
}).catch(() => {
|
|
1402
1402
|
});
|
|
@@ -1417,37 +1417,37 @@ function Oe(i, e, t) {
|
|
|
1417
1417
|
);
|
|
1418
1418
|
}, K = () => {
|
|
1419
1419
|
const r = new URL(`${a}/v1/player/${h}/payment/GetPaymentInfo`), v = new Headers();
|
|
1420
|
-
v.append("accept", "application/json"), v.append("Content-Type", "application/json"), v.append("X-SessionId", `${s}`), v.append("X-Client-Request-Timestamp",
|
|
1421
|
-
const
|
|
1420
|
+
v.append("accept", "application/json"), v.append("Content-Type", "application/json"), v.append("X-SessionId", `${s}`), v.append("X-Client-Request-Timestamp", x1.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
1421
|
+
const C = {
|
|
1422
1422
|
method: "POST",
|
|
1423
1423
|
headers: v,
|
|
1424
1424
|
body: JSON.stringify({ TransactionCode: T })
|
|
1425
1425
|
};
|
|
1426
|
-
t(11, E = !0), fetch(r,
|
|
1427
|
-
var
|
|
1428
|
-
if (
|
|
1429
|
-
t(19, r1 =
|
|
1426
|
+
t(11, E = !0), fetch(r, C).then((m) => m.json()).then((m) => {
|
|
1427
|
+
var R1, L1, D1, B1;
|
|
1428
|
+
if (m.ResponseCode !== q.Success) {
|
|
1429
|
+
t(19, r1 = m.ResponseCode), t(20, N = p.toLowerCase() === "false" || !p), y1();
|
|
1430
1430
|
return;
|
|
1431
1431
|
}
|
|
1432
1432
|
switch (t(15, D = {
|
|
1433
|
-
type:
|
|
1434
|
-
referenceId:
|
|
1435
|
-
status: (
|
|
1436
|
-
message: (
|
|
1437
|
-
amount: (D1 =
|
|
1438
|
-
currency: (B1 =
|
|
1439
|
-
time:
|
|
1440
|
-
}), t(16, a1 =
|
|
1441
|
-
type: g1.get(
|
|
1442
|
-
name:
|
|
1443
|
-
description:
|
|
1444
|
-
defaultValue:
|
|
1445
|
-
useCopyButton:
|
|
1446
|
-
usePrintButton:
|
|
1447
|
-
})) : []),
|
|
1433
|
+
type: m.Transaction.Type,
|
|
1434
|
+
referenceId: m.Transaction.Code,
|
|
1435
|
+
status: (R1 = m.Transaction.Status) == null ? void 0 : R1.Status,
|
|
1436
|
+
message: (L1 = m.Transaction.Status) == null ? void 0 : L1.Message,
|
|
1437
|
+
amount: (D1 = m.Transaction.Amounts[0]) == null ? void 0 : D1.Amount,
|
|
1438
|
+
currency: (B1 = m.Transaction.Amounts[0]) == null ? void 0 : B1.Currency,
|
|
1439
|
+
time: m.Transaction.Status.Created
|
|
1440
|
+
}), t(16, a1 = m.ReceiptInfo && m.ReceiptInfo.ReceiptFields ? m.ReceiptInfo.ReceiptFields.map((C1) => ({
|
|
1441
|
+
type: g1.get(C1.Type),
|
|
1442
|
+
name: C1.Name,
|
|
1443
|
+
description: C1.Description,
|
|
1444
|
+
defaultValue: C1.DefaultValue,
|
|
1445
|
+
useCopyButton: C1.UseCopyButton,
|
|
1446
|
+
usePrintButton: C1.UsePrintButton
|
|
1447
|
+
})) : []), m.ReceiptInfo && m.ReceiptInfo.ReceiptFields && !V && t(0, V = a1[0].defaultValue), n(Se(D.status, D.type), { values: { errorText: D.message } }), t(17, h1 = _e(Number(D.amount), D.currency)), D.status) {
|
|
1448
1448
|
case "Voided":
|
|
1449
1449
|
case "Success":
|
|
1450
|
-
$(U || "casino, livecasino, tournaments"), t(21, J = "success"),
|
|
1450
|
+
$(U || "casino, livecasino, tournaments"), t(21, J = "success"), z1(
|
|
1451
1451
|
D.type === "Deposit" ? "deposit_success" : "withdrawal_success",
|
|
1452
1452
|
{
|
|
1453
1453
|
userID: h,
|
|
@@ -1463,12 +1463,12 @@ function Oe(i, e, t) {
|
|
|
1463
1463
|
case "PendingApprovalStage2":
|
|
1464
1464
|
case "PendingApprovalStage3":
|
|
1465
1465
|
case "PendingOfflineNotification":
|
|
1466
|
-
$(
|
|
1466
|
+
$(M || "casino, livecasino, tournaments"), t(21, J = "pending");
|
|
1467
1467
|
break;
|
|
1468
1468
|
case "Rejected":
|
|
1469
1469
|
case "Cancelled":
|
|
1470
1470
|
case "Failed":
|
|
1471
|
-
$(
|
|
1471
|
+
$(W || "casino, livecasino, tournaments"), t(21, J = D.status.toLowerCase()), z1(
|
|
1472
1472
|
D.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
|
|
1473
1473
|
{
|
|
1474
1474
|
userID: h,
|
|
@@ -1481,7 +1481,7 @@ function Oe(i, e, t) {
|
|
|
1481
1481
|
default:
|
|
1482
1482
|
$("close");
|
|
1483
1483
|
}
|
|
1484
|
-
d ?
|
|
1484
|
+
d ? Re(d, D.status) : xe(D.status);
|
|
1485
1485
|
}).finally(() => t(11, E = !1));
|
|
1486
1486
|
}, d1 = (r) => {
|
|
1487
1487
|
window.postMessage({ type: r }, window.location.href);
|
|
@@ -1498,50 +1498,50 @@ function Oe(i, e, t) {
|
|
|
1498
1498
|
};
|
|
1499
1499
|
let o1, v1;
|
|
1500
1500
|
const _1 = (r, v = !0) => P1(this, null, function* () {
|
|
1501
|
-
const
|
|
1502
|
-
if (
|
|
1501
|
+
const m = r.currentTarget.innerHTML;
|
|
1502
|
+
if (m && navigator.clipboard && navigator.clipboard.writeText)
|
|
1503
1503
|
try {
|
|
1504
|
-
yield navigator.clipboard.writeText(
|
|
1504
|
+
yield navigator.clipboard.writeText(m), v && (t(23, o1 = !0), clearTimeout(v1), v1 = setTimeout(
|
|
1505
1505
|
() => {
|
|
1506
1506
|
t(23, o1 = !1);
|
|
1507
1507
|
},
|
|
1508
1508
|
2e3
|
|
1509
1509
|
));
|
|
1510
|
-
} catch (
|
|
1511
|
-
console.error("Clipboard API failed:",
|
|
1510
|
+
} catch (R1) {
|
|
1511
|
+
console.error("Clipboard API failed:", R1);
|
|
1512
1512
|
}
|
|
1513
|
-
}), n1 = (r) => _1(r),
|
|
1514
|
-
function
|
|
1515
|
-
|
|
1513
|
+
}), n1 = (r) => _1(r), I = (r) => d1(r.event);
|
|
1514
|
+
function H(r) {
|
|
1515
|
+
W1[r ? "unshift" : "push"](() => {
|
|
1516
1516
|
X[X.length] = r, t(18, X);
|
|
1517
1517
|
});
|
|
1518
1518
|
}
|
|
1519
1519
|
const T1 = (r) => {
|
|
1520
1520
|
t1(r.description);
|
|
1521
1521
|
};
|
|
1522
|
-
function
|
|
1523
|
-
|
|
1522
|
+
function f1(r) {
|
|
1523
|
+
W1[r ? "unshift" : "push"](() => {
|
|
1524
1524
|
A = r, t(10, A);
|
|
1525
1525
|
});
|
|
1526
1526
|
}
|
|
1527
1527
|
return i.$$set = (r) => {
|
|
1528
|
-
"endpoint" in r && t(1, a = r.endpoint), "session" in r && t(2, s = r.session), "lang" in r && t(3, o = r.lang), "local" in r && t(31, u = r.local), "showerrors" in r && t(32, p = r.showerrors), "translationurl" in r && t(4,
|
|
1528
|
+
"endpoint" in r && t(1, a = r.endpoint), "session" in r && t(2, s = r.session), "lang" in r && t(3, o = r.lang), "local" in r && t(31, u = r.local), "showerrors" in r && t(32, p = r.showerrors), "translationurl" in r && t(4, f = r.translationurl), "assetsurl" in r && t(5, d = r.assetsurl), "customerid" in r && t(6, h = r.customerid), "transactionid" in r && t(33, T = r.transactionid), "currencydecimals" in r && t(34, _ = r.currencydecimals), "type" in r && t(35, y = r.type), "clientstyling" in r && t(7, P = r.clientstyling), "clientstylingurl" in r && t(8, Y = r.clientstylingurl), "mbsource" in r && t(36, z = r.mbsource), "showverifications" in r && t(9, j = r.showverifications), "paymentmethod" in r && t(0, V = r.paymentmethod), "customsucceessbuttons" in r && t(37, U = r.customsucceessbuttons), "custompendingbuttons" in r && t(38, M = r.custompendingbuttons), "customfailedbuttons" in r && t(39, W = r.customfailedbuttons), "currencysymbol" in r && t(40, F = r.currencysymbol), "currencyposition" in r && t(41, i1 = r.currencyposition), "windowsize" in r && t(42, m1 = r.windowsize), "p2p" in r && t(43, G = r.p2p);
|
|
1529
1529
|
}, i.$$.update = () => {
|
|
1530
1530
|
i.$$.dirty[0] & /*endpoint, session, customerid*/
|
|
1531
1531
|
70 | i.$$.dirty[1] & /*transactionid, showerrors*/
|
|
1532
1532
|
6 && a && s && h && T && p && K(), i.$$.dirty[0] & /*lang*/
|
|
1533
1533
|
8 && o && u1(), i.$$.dirty[0] & /*lang, translationurl*/
|
|
1534
|
-
24 && o &&
|
|
1534
|
+
24 && o && f && b1(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1535
1535
|
1152 && P && A && he(A, P), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1536
1536
|
1280 && Y && A && we(A, Y), i.$$.dirty[0] & /*customStylingContainer*/
|
|
1537
1537
|
1024 | i.$$.dirty[1] & /*mbsource*/
|
|
1538
|
-
32 &&
|
|
1538
|
+
32 && z && A && be(A, `${z}.Style`);
|
|
1539
1539
|
}, [
|
|
1540
1540
|
V,
|
|
1541
1541
|
a,
|
|
1542
1542
|
s,
|
|
1543
1543
|
o,
|
|
1544
|
-
|
|
1544
|
+
f,
|
|
1545
1545
|
d,
|
|
1546
1546
|
h,
|
|
1547
1547
|
P,
|
|
@@ -1551,7 +1551,7 @@ function Oe(i, e, t) {
|
|
|
1551
1551
|
E,
|
|
1552
1552
|
O,
|
|
1553
1553
|
q,
|
|
1554
|
-
|
|
1554
|
+
L,
|
|
1555
1555
|
D,
|
|
1556
1556
|
a1,
|
|
1557
1557
|
h1,
|
|
@@ -1573,19 +1573,19 @@ function Oe(i, e, t) {
|
|
|
1573
1573
|
T,
|
|
1574
1574
|
_,
|
|
1575
1575
|
y,
|
|
1576
|
-
|
|
1576
|
+
z,
|
|
1577
1577
|
U,
|
|
1578
|
-
|
|
1579
|
-
|
|
1578
|
+
M,
|
|
1579
|
+
W,
|
|
1580
1580
|
F,
|
|
1581
1581
|
i1,
|
|
1582
|
-
|
|
1582
|
+
m1,
|
|
1583
1583
|
G,
|
|
1584
1584
|
n1,
|
|
1585
|
-
|
|
1586
|
-
|
|
1585
|
+
I,
|
|
1586
|
+
H,
|
|
1587
1587
|
T1,
|
|
1588
|
-
|
|
1588
|
+
f1
|
|
1589
1589
|
];
|
|
1590
1590
|
}
|
|
1591
1591
|
class qe extends ie {
|