@everymatrix/cashier-method-details 1.76.4 → 1.76.5
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/{CashierError-Ct47Rqvt.js → CashierError-CeoXgJAO.js} +19 -19
- package/components/{CashierError-DqG41odi.cjs → CashierError-DLBDWGpI.cjs} +3 -3
- package/components/{CashierError-BrL5CAOl.js → CashierError-DrjuKNzd.js} +19 -19
- package/components/{CashierMethodDetails-D01hFlpN.js → CashierMethodDetails-C_uV4BaK.js} +3154 -3424
- package/components/CashierMethodDetails-D8tjzbX7.cjs +100 -0
- package/components/{CashierMethodDetails-CbrOmOCe.js → CashierMethodDetails-iRO3sc_6.js} +3051 -3321
- package/components/CashierModal-BZybFnWL.cjs +1 -0
- package/components/CashierModal-CNTiW0ow.js +263 -0
- package/components/CashierModal-Dv_0c2re.js +263 -0
- package/components/{CashierNotifications-CcvLHszW.js → CashierNotifications-CqMYB5MP.js} +8 -8
- package/components/{CashierNotifications-Bg9zyIhP.js → CashierNotifications-D3DHnsJl.js} +9 -9
- package/components/{CashierNotifications-DOJFHpXL.cjs → CashierNotifications-DlIbcdOZ.cjs} +1 -1
- package/components/CashierReceiptPage-91MkEvas.cjs +1 -0
- package/components/{CashierReceiptPage-CEHlpRZd.js → CashierReceiptPage-DQd7DLdU.js} +100 -105
- package/components/{CashierReceiptPage-CstRy1Kd.js → CashierReceiptPage-Dr35cbXa.js} +101 -106
- package/components/{CashierSpinner-DCqiXAYk.cjs → CashierSpinner-BUcuwI5f.cjs} +1 -1
- package/components/{CashierSpinner-DT2gT_0p.js → CashierSpinner-BwaCXZX3.js} +4 -4
- package/components/{CashierSpinner-DO7iikrx.js → CashierSpinner-CtA3wnzQ.js} +4 -4
- 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/CashierMethodDetails-F_t0ClIg.cjs +0 -99
- package/components/CashierModal-DVQJ9P-j.cjs +0 -1
- package/components/CashierModal-IWswoSQa.js +0 -244
- package/components/CashierModal-TGUCkbyQ.js +0 -244
- package/components/CashierReceiptPage-BTrjEt7P.cjs +0 -1
@@ -1,5 +1,5 @@
|
|
1
|
-
import { a as Ze, i as Xe, $ as Je, S as Fe, b as $e, s as et, f as
|
2
|
-
import { d as Te, u as ct, f as ut, a as
|
1
|
+
import { a as Ze, i as Xe, $ as Je, S as Fe, b as $e, s as et, f as y, e as tt, n as Z, j as d, k as m, p as h, r as u, t as nt, u as it, B as Ce, v as p, y as B, l as C, q as H, z as A, x as ie, m as $, D as F, E as ze, F as Q, M as st, N as ot, O as at, d as lt, L as rt } from "./CashierError-DrjuKNzd.js";
|
2
|
+
import { d as Te, u as ct, f as ut, a as ye, i as ke, b as ft } from "./CashierMethodDetails-C_uV4BaK.js";
|
3
3
|
if (typeof window != "undefined") {
|
4
4
|
let s = function(e) {
|
5
5
|
return function(...t) {
|
@@ -12,7 +12,7 @@ if (typeof window != "undefined") {
|
|
12
12
|
}
|
13
13
|
};
|
14
14
|
};
|
15
|
-
customElements.define = s(customElements.define), import("./CashierSpinner-
|
15
|
+
customElements.define = s(customElements.define), import("./CashierSpinner-BwaCXZX3.js").then(({ default: e }) => {
|
16
16
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
17
17
|
});
|
18
18
|
}
|
@@ -93,7 +93,6 @@ const Pe = {
|
|
93
93
|
goToMerchantHomePage: "Merchant's Home Website",
|
94
94
|
goToSports: "Go To Sports",
|
95
95
|
goToCasino: "Visit Casino",
|
96
|
-
setDepositLimit: "Set A Deposit Limit",
|
97
96
|
externalLink: "External Link",
|
98
97
|
uploadDocuments: "Upload Documents",
|
99
98
|
goToHomepage: "Go To Homepage"
|
@@ -158,7 +157,6 @@ const Pe = {
|
|
158
157
|
goToMerchantHomePage: "Satıcının Ana Web Sitesi",
|
159
158
|
goToSports: "Spora Git",
|
160
159
|
goToCasino: "Casinoya Git",
|
161
|
-
setDepositLimit: "Para Yatırma Limiti Belirle",
|
162
160
|
externalLink: "Harici Bağlantı",
|
163
161
|
uploadDocuments: "Belge Yükle",
|
164
162
|
goToHomepage: "Ana Sayfaya Git",
|
@@ -204,7 +202,6 @@ const Pe = {
|
|
204
202
|
goToMerchantHomePage: "Site Principal do Comerciante",
|
205
203
|
goToSports: "Ir para Esportes",
|
206
204
|
goToCasino: "Visitar Cassino",
|
207
|
-
setDepositLimit: "Definir Limite de Depósito",
|
208
205
|
externalLink: "Link Externo",
|
209
206
|
uploadDocuments: "Enviar Documentos",
|
210
207
|
goToHomepage: "Ir para Página Inicial",
|
@@ -250,7 +247,6 @@ const Pe = {
|
|
250
247
|
goToMerchantHomePage: "Laman Web Utama Peniaga",
|
251
248
|
goToSports: "Pergi ke Sukan",
|
252
249
|
goToCasino: "Lawati Kasino",
|
253
|
-
setDepositLimit: "Tetapkan Had Deposit",
|
254
250
|
externalLink: "Pautan Luaran",
|
255
251
|
uploadDocuments: "Muat Naik Dokumen",
|
256
252
|
goToHomepage: "Pergi ke Laman Utama",
|
@@ -324,7 +320,6 @@ const Pe = {
|
|
324
320
|
close: "Close",
|
325
321
|
goToSports: "Go To Sports",
|
326
322
|
goToCasino: "Visit Casino",
|
327
|
-
setDepositLimit: "Set A Deposit Limit",
|
328
323
|
externalLink: "External Link",
|
329
324
|
uploadDocuments: "Upload Documents",
|
330
325
|
goToHomepage: "Go To Homepage",
|
@@ -368,11 +363,11 @@ const Pe = {
|
|
368
363
|
function _t(s) {
|
369
364
|
tt(s, "svelte-131vpua", ".CashierReceiptPageWidget{height:100%;position:relative}.CashierReceiptPage{border-radius:var(--emw--border-radius-medium-plus, 6px);background:var(--emw--color-background, #fff);padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word}.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.reject{background:#E6E6E6}.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}.DefaultButton{color:var(--emw--color-white, #FFF);border:none;background:var(--emw--color-primary, #7EC51E);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 5px);height:36px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:var(--emw--spacing-large, 20px) 0;width:100%}.DefaultButton:hover{background:var(--emw--color-hover, #71B11B)}.DefaultButton:active{background:var(--emw--color-active, #5C950F)}.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)}");
|
370
365
|
}
|
371
|
-
function
|
366
|
+
function Se(s, e, t) {
|
372
367
|
const n = s.slice();
|
373
368
|
return n[58] = e[t], n;
|
374
369
|
}
|
375
|
-
function
|
370
|
+
function Le(s, e, t) {
|
376
371
|
const n = s.slice();
|
377
372
|
return n[61] = e[t], n[63] = t, n;
|
378
373
|
}
|
@@ -383,13 +378,13 @@ function Ct(s) {
|
|
383
378
|
/*txnInfo*/
|
384
379
|
a[16]
|
385
380
|
)
|
386
|
-
return
|
381
|
+
return kt;
|
387
382
|
if (
|
388
383
|
/*errorResponseCode*/
|
389
384
|
a[23] && !/*showErrorOutsideReceiptPage*/
|
390
385
|
a[24]
|
391
386
|
)
|
392
|
-
return
|
387
|
+
return yt;
|
393
388
|
}
|
394
389
|
let n = t(s), i = n && n(s);
|
395
390
|
return {
|
@@ -446,7 +441,7 @@ function Tt(s) {
|
|
446
441
|
}
|
447
442
|
};
|
448
443
|
}
|
449
|
-
function
|
444
|
+
function yt(s) {
|
450
445
|
let e, t = (
|
451
446
|
/*errorResponseCode*/
|
452
447
|
s[23] === /*ResponseCode*/
|
@@ -535,59 +530,59 @@ function kt(s) {
|
|
535
530
|
}
|
536
531
|
};
|
537
532
|
}
|
538
|
-
function
|
539
|
-
let e, t, n, i, a, l, g, w, _, T, M,
|
533
|
+
function kt(s) {
|
534
|
+
let e, t, n, i, a, l, g, w, _, T, M, k, b, v, G, z, Y = ke(
|
540
535
|
/*userAgent*/
|
541
536
|
s[28]
|
542
537
|
) && /*showverifications*/
|
543
538
|
s[10] && /*displayVerifications*/
|
544
|
-
s[26], W, N, V,
|
539
|
+
s[26], W, N, V, S = (
|
545
540
|
/*showcontactbutton*/
|
546
541
|
s[4] && /*showcontactbutton*/
|
547
|
-
s[4] !== "false" &&
|
548
|
-
),
|
542
|
+
s[4] !== "false" && Ee(s)
|
543
|
+
), L = (
|
549
544
|
/*showclosebutton*/
|
550
545
|
s[3] && /*showclosebutton*/
|
551
|
-
s[3] !== "false" &&
|
546
|
+
s[3] !== "false" && De(s)
|
552
547
|
);
|
553
548
|
function U(r, c) {
|
554
549
|
return (
|
555
550
|
/*assetsurl*/
|
556
|
-
r[6] ?
|
551
|
+
r[6] ? Lt : St
|
557
552
|
);
|
558
553
|
}
|
559
|
-
let K = U(s),
|
554
|
+
let K = U(s), I = K(s), R = (
|
560
555
|
/*txnInfo*/
|
561
556
|
s[16].referenceId && xe(s)
|
562
|
-
), P = Y &&
|
557
|
+
), P = Y && Ie(s), f = (
|
563
558
|
/*receiptFields*/
|
564
|
-
s[17].length &&
|
565
|
-
),
|
559
|
+
s[17].length && He(s)
|
560
|
+
), D = (
|
566
561
|
/*displayedButtons*/
|
567
562
|
s[13].length > 0 && Be(s)
|
568
563
|
);
|
569
564
|
return {
|
570
565
|
c() {
|
571
|
-
e = h("div"),
|
566
|
+
e = h("div"), S && S.c(), t = H(), L && L.c(), n = H(), i = h("div"), I.c(), a = H(), l = h("div"), g = h("h2"), w = A(
|
572
567
|
/*title*/
|
573
568
|
s[19]
|
574
|
-
), _ =
|
569
|
+
), _ = H(), T = h("div"), M = A(
|
575
570
|
/*subTitle*/
|
576
571
|
s[18]
|
577
|
-
),
|
572
|
+
), k = H(), b = h("div"), v = A(
|
578
573
|
/*text*/
|
579
574
|
s[20]
|
580
|
-
), G =
|
575
|
+
), G = H(), R && R.c(), z = H(), P && P.c(), W = H(), f && f.c(), N = H(), D && D.c(), V = ie(), u(e, "class", "HeaderButtonContainer"), u(g, "class", "Title"), u(T, "class", "SubTitle"), u(l, "class", "TitleWrapper"), u(i, "class", "ReceiptWrapper"), u(b, "class", "Text");
|
581
576
|
},
|
582
577
|
m(r, c) {
|
583
|
-
m(r, e, c),
|
578
|
+
m(r, e, c), S && S.m(e, null), C(e, t), L && L.m(e, null), m(r, n, c), m(r, i, c), I.m(i, null), C(i, a), C(i, l), C(l, g), C(g, w), C(l, _), C(l, T), C(T, M), m(r, k, c), m(r, b, c), C(b, v), m(r, G, c), R && R.m(r, c), m(r, z, c), P && P.m(r, c), m(r, W, c), f && f.m(r, c), m(r, N, c), D && D.m(r, c), m(r, V, c);
|
584
579
|
},
|
585
580
|
p(r, c) {
|
586
581
|
/*showcontactbutton*/
|
587
582
|
r[4] && /*showcontactbutton*/
|
588
|
-
r[4] !== "false" ?
|
583
|
+
r[4] !== "false" ? S ? S.p(r, c) : (S = Ee(r), S.c(), S.m(e, t)) : S && (S.d(1), S = null), /*showclosebutton*/
|
589
584
|
r[3] && /*showclosebutton*/
|
590
|
-
r[3] !== "false" ?
|
585
|
+
r[3] !== "false" ? L ? L.p(r, c) : (L = De(r), L.c(), L.m(e, null)) : L && (L.d(1), L = null), K === (K = U(r)) && I ? I.p(r, c) : (I.d(1), I = K(r), I && (I.c(), I.m(i, a))), c[0] & /*title*/
|
591
586
|
524288 && B(
|
592
587
|
w,
|
593
588
|
/*title*/
|
@@ -604,17 +599,17 @@ function yt(s) {
|
|
604
599
|
r[20]
|
605
600
|
), /*txnInfo*/
|
606
601
|
r[16].referenceId ? R ? R.p(r, c) : (R = xe(r), R.c(), R.m(z.parentNode, z)) : R && (R.d(1), R = null), c[0] & /*showverifications, displayVerifications*/
|
607
|
-
67109888 && (Y =
|
602
|
+
67109888 && (Y = ke(
|
608
603
|
/*userAgent*/
|
609
604
|
r[28]
|
610
605
|
) && /*showverifications*/
|
611
606
|
r[10] && /*displayVerifications*/
|
612
|
-
r[26]), Y ? P ? P.p(r, c) : (P =
|
613
|
-
r[17].length ? f ? f.p(r, c) : (f =
|
614
|
-
r[13].length > 0 ?
|
607
|
+
r[26]), Y ? P ? P.p(r, c) : (P = Ie(r), P.c(), P.m(W.parentNode, W)) : P && (P.d(1), P = null), /*receiptFields*/
|
608
|
+
r[17].length ? f ? f.p(r, c) : (f = He(r), f.c(), f.m(N.parentNode, N)) : f && (f.d(1), f = null), /*displayedButtons*/
|
609
|
+
r[13].length > 0 ? D ? D.p(r, c) : (D = Be(r), D.c(), D.m(V.parentNode, V)) : D && (D.d(1), D = null);
|
615
610
|
},
|
616
611
|
d(r) {
|
617
|
-
r && (d(e), d(n), d(i), d(
|
612
|
+
r && (d(e), d(n), d(i), d(k), d(b), d(G), d(z), d(W), d(N), d(V)), S && S.d(), L && L.d(), I.d(), R && R.d(r), P && P.d(r), f && f.d(r), D && D.d(r);
|
618
613
|
}
|
619
614
|
};
|
620
615
|
}
|
@@ -632,23 +627,23 @@ function Re(s) {
|
|
632
627
|
b[6] ? Pt : vt
|
633
628
|
);
|
634
629
|
}
|
635
|
-
let M = T(s),
|
630
|
+
let M = T(s), k = M(s);
|
636
631
|
return {
|
637
632
|
c() {
|
638
|
-
e = h("div"),
|
633
|
+
e = h("div"), k.c(), t = H(), n = h("span"), a = A(i), l = H(), g = h("span"), _ = A(w), u(e, "slot", "icon"), u(n, "slot", "title"), u(n, "class", "CashierErrorTitle"), u(g, "slot", "text"), u(g, "class", "CashierErrorText");
|
639
634
|
},
|
640
635
|
m(b, v) {
|
641
|
-
m(b, e, v),
|
636
|
+
m(b, e, v), k.m(e, null), m(b, t, v), m(b, n, v), C(n, a), m(b, l, v), m(b, g, v), C(g, _);
|
642
637
|
},
|
643
638
|
p(b, v) {
|
644
|
-
M === (M = T(b)) &&
|
639
|
+
M === (M = T(b)) && k ? k.p(b, v) : (k.d(1), k = M(b), k && (k.c(), k.m(e, null))), v[0] & /*$_*/
|
645
640
|
134217728 && i !== (i = /*$_*/
|
646
641
|
b[27]("receipt.maintenance.title") + "") && B(a, i), v[0] & /*$_*/
|
647
642
|
134217728 && w !== (w = /*$_*/
|
648
643
|
b[27]("receipt.maintenance.text") + "") && B(_, w);
|
649
644
|
},
|
650
645
|
d(b) {
|
651
|
-
b && (d(e), d(t), d(n), d(l), d(g)),
|
646
|
+
b && (d(e), d(t), d(n), d(l), d(g)), k.d();
|
652
647
|
}
|
653
648
|
};
|
654
649
|
}
|
@@ -672,7 +667,7 @@ function Pt(s) {
|
|
672
667
|
return {
|
673
668
|
c() {
|
674
669
|
e = h("img"), Q(e.src, t = `${/*assetsurl*/
|
675
|
-
s[6]}/maintenance.
|
670
|
+
s[6]}/maintenance.svg`) || u(e, "src", t), u(e, "width", "300px"), u(e, "alt", "error");
|
676
671
|
},
|
677
672
|
m(n, i) {
|
678
673
|
m(n, e, i);
|
@@ -680,14 +675,14 @@ function Pt(s) {
|
|
680
675
|
p(n, i) {
|
681
676
|
i[0] & /*assetsurl*/
|
682
677
|
64 && !Q(e.src, t = `${/*assetsurl*/
|
683
|
-
n[6]}/maintenance.
|
678
|
+
n[6]}/maintenance.svg`) && u(e, "src", t);
|
684
679
|
},
|
685
680
|
d(n) {
|
686
681
|
n && d(e);
|
687
682
|
}
|
688
683
|
};
|
689
684
|
}
|
690
|
-
function
|
685
|
+
function Ee(s) {
|
691
686
|
let e, t, n;
|
692
687
|
return {
|
693
688
|
c() {
|
@@ -707,7 +702,7 @@ function De(s) {
|
|
707
702
|
}
|
708
703
|
};
|
709
704
|
}
|
710
|
-
function
|
705
|
+
function De(s) {
|
711
706
|
let e, t, n;
|
712
707
|
return {
|
713
708
|
c() {
|
@@ -727,7 +722,7 @@ function Ee(s) {
|
|
727
722
|
}
|
728
723
|
};
|
729
724
|
}
|
730
|
-
function
|
725
|
+
function St(s) {
|
731
726
|
let e, t;
|
732
727
|
return {
|
733
728
|
c() {
|
@@ -747,7 +742,7 @@ function Lt(s) {
|
|
747
742
|
}
|
748
743
|
};
|
749
744
|
}
|
750
|
-
function
|
745
|
+
function Lt(s) {
|
751
746
|
let e, t;
|
752
747
|
return {
|
753
748
|
c() {
|
@@ -799,7 +794,7 @@ function xe(s) {
|
|
799
794
|
}
|
800
795
|
};
|
801
796
|
}
|
802
|
-
function
|
797
|
+
function Ie(s) {
|
803
798
|
let e;
|
804
799
|
return {
|
805
800
|
c() {
|
@@ -893,13 +888,13 @@ function He(s) {
|
|
893
888
|
}
|
894
889
|
};
|
895
890
|
}
|
896
|
-
function
|
891
|
+
function He(s) {
|
897
892
|
let e, t = F(
|
898
893
|
/*receiptFields*/
|
899
894
|
s[17]
|
900
895
|
), n = [];
|
901
896
|
for (let i = 0; i < t.length; i += 1)
|
902
|
-
n[i] = Me(
|
897
|
+
n[i] = Me(Le(s, t, i));
|
903
898
|
return {
|
904
899
|
c() {
|
905
900
|
for (let i = 0; i < n.length; i += 1)
|
@@ -921,7 +916,7 @@ function Ie(s) {
|
|
921
916
|
);
|
922
917
|
let l;
|
923
918
|
for (l = 0; l < t.length; l += 1) {
|
924
|
-
const g =
|
919
|
+
const g = Le(i, t, l);
|
925
920
|
n[l] ? n[l].p(g, a) : (n[l] = Me(g), n[l].c(), n[l].m(e.parentNode, e));
|
926
921
|
}
|
927
922
|
for (; l < n.length; l += 1)
|
@@ -956,7 +951,7 @@ function Rt(s) {
|
|
956
951
|
}
|
957
952
|
};
|
958
953
|
}
|
959
|
-
function
|
954
|
+
function Et(s) {
|
960
955
|
let e, t = (
|
961
956
|
/*field*/
|
962
957
|
s[61].description + ""
|
@@ -966,7 +961,7 @@ function Dt(s) {
|
|
966
961
|
), g, w;
|
967
962
|
return {
|
968
963
|
c() {
|
969
|
-
e = h("span"), n = A(t), i =
|
964
|
+
e = h("span"), n = A(t), i = H(), a = h("a"), g = A(l), u(a, "href", w = /*field*/
|
970
965
|
s[61].defaultValue), u(a, "target", "_blank"), u(a, "rel", "noopener noreferrer");
|
971
966
|
},
|
972
967
|
m(_, T) {
|
@@ -986,7 +981,7 @@ function Dt(s) {
|
|
986
981
|
}
|
987
982
|
};
|
988
983
|
}
|
989
|
-
function
|
984
|
+
function Dt(s) {
|
990
985
|
let e, t, n;
|
991
986
|
return {
|
992
987
|
c() {
|
@@ -1031,7 +1026,7 @@ function xt(s) {
|
|
1031
1026
|
}
|
1032
1027
|
};
|
1033
1028
|
}
|
1034
|
-
function
|
1029
|
+
function It(s) {
|
1035
1030
|
let e, t, n = (
|
1036
1031
|
/*field*/
|
1037
1032
|
s[61].defaultValue + ""
|
@@ -1068,16 +1063,16 @@ function Me(s) {
|
|
1068
1063
|
return (
|
1069
1064
|
/*field*/
|
1070
1065
|
l[61].type === /*FieldTypes*/
|
1071
|
-
l[15].QRCode ?
|
1066
|
+
l[15].QRCode ? It : (
|
1072
1067
|
/*field*/
|
1073
1068
|
l[61].type === /*FieldTypes*/
|
1074
1069
|
l[15].Html ? xt : (
|
1075
1070
|
/*field*/
|
1076
1071
|
l[61].type === /*FieldTypes*/
|
1077
|
-
l[15].Image ?
|
1072
|
+
l[15].Image ? Dt : (
|
1078
1073
|
/*field*/
|
1079
1074
|
l[61].type === /*FieldTypes*/
|
1080
|
-
l[15].Link ?
|
1075
|
+
l[15].Link ? Et : Rt
|
1081
1076
|
)
|
1082
1077
|
)
|
1083
1078
|
)
|
@@ -1086,7 +1081,7 @@ function Me(s) {
|
|
1086
1081
|
let i = n(s), a = i(s);
|
1087
1082
|
return {
|
1088
1083
|
c() {
|
1089
|
-
e = h("div"), a.c(), t =
|
1084
|
+
e = h("div"), a.c(), t = H(), u(e, "class", "ReceiptField");
|
1090
1085
|
},
|
1091
1086
|
m(l, g) {
|
1092
1087
|
m(l, e, g), a.m(e, null), C(e, t);
|
@@ -1105,7 +1100,7 @@ function Be(s) {
|
|
1105
1100
|
s[13]
|
1106
1101
|
), n = [];
|
1107
1102
|
for (let i = 0; i < t.length; i += 1)
|
1108
|
-
n[i] = Ae(
|
1103
|
+
n[i] = Ae(Se(s, t, i));
|
1109
1104
|
return {
|
1110
1105
|
c() {
|
1111
1106
|
for (let i = 0; i < n.length; i += 1)
|
@@ -1127,7 +1122,7 @@ function Be(s) {
|
|
1127
1122
|
);
|
1128
1123
|
let l;
|
1129
1124
|
for (l = 0; l < t.length; l += 1) {
|
1130
|
-
const g =
|
1125
|
+
const g = Se(i, t, l);
|
1131
1126
|
n[l] ? n[l].p(g, a) : (n[l] = Ae(g), n[l].c(), n[l].m(e.parentNode, e));
|
1132
1127
|
}
|
1133
1128
|
for (; l < n.length; l += 1)
|
@@ -1157,7 +1152,7 @@ function Ae(s) {
|
|
1157
1152
|
}
|
1158
1153
|
return {
|
1159
1154
|
c() {
|
1160
|
-
e = h("button"), n = A(t), i =
|
1155
|
+
e = h("button"), n = A(t), i = H(), u(e, "class", a = `${/*btn*/
|
1161
1156
|
s[58].cssClass} DefaultButton`);
|
1162
1157
|
},
|
1163
1158
|
m(_, T) {
|
@@ -1176,7 +1171,7 @@ function Ae(s) {
|
|
1176
1171
|
}
|
1177
1172
|
};
|
1178
1173
|
}
|
1179
|
-
function
|
1174
|
+
function Ht(s) {
|
1180
1175
|
let e;
|
1181
1176
|
function t(a, l) {
|
1182
1177
|
return (
|
@@ -1206,7 +1201,7 @@ let Mt = "_blank";
|
|
1206
1201
|
function Bt(s, e, t) {
|
1207
1202
|
let n;
|
1208
1203
|
nt(s, rt, (o) => t(27, n = o)), Te.extend(ct);
|
1209
|
-
let { endpoint: i } = e, { session: a } = e, { lang: l = "en" } = e, { local: g = "en-US" } = e, { showerrors: w = "true" } = e, { showclosebutton: _ = "false" } = e, { showcontactbutton: T = "false" } = e, { translationurl: M } = e, { assetsurl:
|
1204
|
+
let { endpoint: i } = e, { session: a } = e, { lang: l = "en" } = e, { local: g = "en-US" } = e, { showerrors: w = "true" } = e, { showclosebutton: _ = "false" } = e, { showcontactbutton: T = "false" } = e, { translationurl: M } = e, { assetsurl: k = "" } = e, { customerid: b } = e, { transactionid: v } = e, { currencydecimals: G = "2" } = e, { clientstyling: z = "" } = e, { clientstylingurl: Y = "" } = e, { mbsource: W = "" } = e, { showverifications: N = "true" } = e, V = !1, { customsucceessbuttons: S = "" } = e, { custompendingbuttons: L = "" } = e, { customfailedbuttons: U = "" } = e, { currencysymbol: K = "" } = e, { currencyposition: I = "" } = e, R = [];
|
1210
1205
|
var P;
|
1211
1206
|
(function(o) {
|
1212
1207
|
o.Success = "Success", o.Maintenance = "Maintenance";
|
@@ -1215,9 +1210,9 @@ function Bt(s, e, t) {
|
|
1215
1210
|
(function(o) {
|
1216
1211
|
o.Unknown = "Unknown", o.Text = "Text", o.Boolean = "Boolean", o.Number = "Number", o.Money = "Money", o.DateTime = "DateTime", o.Lookup = "Lookup", o.IpAddress = "IpAddress", o.Date = "Date", o.Time = "Time", o.LookupCollection = "LookupCollection", o.Hidden = "Hidden", o.Label = "Label", o.Password = "Password", o.Link = "Link", o.Image = "Image", o.Html = "Html", o.QRCode = "QR";
|
1217
1212
|
})(f || (f = {}));
|
1218
|
-
const
|
1213
|
+
const D = (o, [E, j]) => [
|
1219
1214
|
...o,
|
1220
|
-
...Array.isArray(
|
1215
|
+
...Array.isArray(E) ? [...E.map((x) => [x, j])] : [[E, j]]
|
1221
1216
|
], r = new Map([
|
1222
1217
|
[["Unknown", 0], f.Unknown],
|
1223
1218
|
[["Text", 1], f.Text],
|
@@ -1237,7 +1232,7 @@ function Bt(s, e, t) {
|
|
1237
1232
|
[["Image", 15], f.Image],
|
1238
1233
|
[["Html", 19], f.Html],
|
1239
1234
|
[["QR", 20], f.QRCode]
|
1240
|
-
].reduce(
|
1235
|
+
].reduce(D, []));
|
1241
1236
|
let c, oe = [], ae, le, re, ce, O, X = [], te, ne, ue = "", We = window.navigator.userAgent, fe = !1;
|
1242
1237
|
const de = {
|
1243
1238
|
promotions: {
|
@@ -1292,22 +1287,22 @@ function Bt(s, e, t) {
|
|
1292
1287
|
}, je = () => {
|
1293
1288
|
dt(l);
|
1294
1289
|
};
|
1295
|
-
it(() => (window.addEventListener("message", me, !1), ft(g, K,
|
1290
|
+
it(() => (window.addEventListener("message", me, !1), ft(g, K, I, G), () => {
|
1296
1291
|
window.removeEventListener("message", me);
|
1297
1292
|
}));
|
1298
1293
|
const me = (o) => {
|
1299
|
-
var
|
1294
|
+
var E;
|
1300
1295
|
switch (o.data.type) {
|
1301
1296
|
case "CloseReceiptInSecondTab":
|
1302
|
-
(
|
1297
|
+
(E = window.opener) == null || E.postMessage(o.data);
|
1303
1298
|
break;
|
1304
1299
|
}
|
1305
1300
|
}, Ne = () => {
|
1306
1301
|
let o = M;
|
1307
1302
|
if (o)
|
1308
|
-
return fetch(o).then((
|
1309
|
-
Object.keys(
|
1310
|
-
ve(j,
|
1303
|
+
return fetch(o).then((E) => E.json()).then((E) => {
|
1304
|
+
Object.keys(E).forEach((j) => {
|
1305
|
+
ve(j, E[j]);
|
1311
1306
|
});
|
1312
1307
|
}).catch(() => {
|
1313
1308
|
});
|
@@ -1329,11 +1324,11 @@ function Bt(s, e, t) {
|
|
1329
1324
|
window.location.href
|
1330
1325
|
);
|
1331
1326
|
}, Ke = () => {
|
1332
|
-
const o = new URL(`${i}/v1/player/${b}/payment/GetPaymentInfo`),
|
1333
|
-
|
1327
|
+
const o = new URL(`${i}/v1/player/${b}/payment/GetPaymentInfo`), E = new Headers();
|
1328
|
+
E.append("accept", "application/json"), E.append("Content-Type", "application/json"), E.append("X-SessionId", `${a}`), E.append("X-Client-Request-Timestamp", Te.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
1334
1329
|
const j = {
|
1335
1330
|
method: "POST",
|
1336
|
-
headers:
|
1331
|
+
headers: E,
|
1337
1332
|
body: JSON.stringify({ TransactionCode: v })
|
1338
1333
|
};
|
1339
1334
|
t(12, V = !0), fetch(o, j).then((x) => x.json()).then((x) => {
|
@@ -1363,7 +1358,7 @@ function Bt(s, e, t) {
|
|
1363
1358
|
})), t(18, ae = n(pt(c.status, c.type))), t(20, re = n(ht(c.status, c.type), { values: { errorText: c.message } })), c.status) {
|
1364
1359
|
case "Voided":
|
1365
1360
|
case "Success":
|
1366
|
-
J(
|
1361
|
+
J(S || "sports, close"), ye(
|
1367
1362
|
c.type === "Deposit" ? "deposit_success" : "withdrawal_success",
|
1368
1363
|
{
|
1369
1364
|
userID: b,
|
@@ -1379,12 +1374,12 @@ function Bt(s, e, t) {
|
|
1379
1374
|
case "PendingApprovalStage2":
|
1380
1375
|
case "PendingApprovalStage3":
|
1381
1376
|
case "PendingOfflineNotification":
|
1382
|
-
J(
|
1377
|
+
J(L || "home, close");
|
1383
1378
|
break;
|
1384
1379
|
case "Rejected":
|
1385
1380
|
case "Cancelled":
|
1386
1381
|
case "Failed":
|
1387
|
-
J(U || "support, close"),
|
1382
|
+
J(U || "support, close"), ye(
|
1388
1383
|
c.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
|
1389
1384
|
{
|
1390
1385
|
userID: b,
|
@@ -1397,7 +1392,7 @@ function Bt(s, e, t) {
|
|
1397
1392
|
default:
|
1398
1393
|
J("close");
|
1399
1394
|
}
|
1400
|
-
|
1395
|
+
k ? t(21, ce = mt(k, c.status)) : t(25, ue = bt(c.status));
|
1401
1396
|
}).finally(() => t(12, V = !1));
|
1402
1397
|
}, ge = (o) => {
|
1403
1398
|
window.postMessage({ type: o }, window.location.href);
|
@@ -1426,7 +1421,7 @@ function Bt(s, e, t) {
|
|
1426
1421
|
});
|
1427
1422
|
}
|
1428
1423
|
return s.$$set = (o) => {
|
1429
|
-
"endpoint" in o && t(0, i = o.endpoint), "session" in o && t(1, a = o.session), "lang" in o && t(2, l = o.lang), "local" in o && t(33, g = o.local), "showerrors" in o && t(34, w = o.showerrors), "showclosebutton" in o && t(3, _ = o.showclosebutton), "showcontactbutton" in o && t(4, T = o.showcontactbutton), "translationurl" in o && t(5, M = o.translationurl), "assetsurl" in o && t(6,
|
1424
|
+
"endpoint" in o && t(0, i = o.endpoint), "session" in o && t(1, a = o.session), "lang" in o && t(2, l = o.lang), "local" in o && t(33, g = o.local), "showerrors" in o && t(34, w = o.showerrors), "showclosebutton" in o && t(3, _ = o.showclosebutton), "showcontactbutton" in o && t(4, T = o.showcontactbutton), "translationurl" in o && t(5, M = o.translationurl), "assetsurl" in o && t(6, k = o.assetsurl), "customerid" in o && t(7, b = o.customerid), "transactionid" in o && t(35, v = o.transactionid), "currencydecimals" in o && t(36, G = o.currencydecimals), "clientstyling" in o && t(8, z = o.clientstyling), "clientstylingurl" in o && t(9, Y = o.clientstylingurl), "mbsource" in o && t(37, W = o.mbsource), "showverifications" in o && t(10, N = o.showverifications), "customsucceessbuttons" in o && t(38, S = o.customsucceessbuttons), "custompendingbuttons" in o && t(39, L = o.custompendingbuttons), "customfailedbuttons" in o && t(40, U = o.customfailedbuttons), "currencysymbol" in o && t(41, K = o.currencysymbol), "currencyposition" in o && t(42, I = o.currencyposition);
|
1430
1425
|
}, s.$$.update = () => {
|
1431
1426
|
s.$$.dirty[0] & /*endpoint, session, customerid*/
|
1432
1427
|
131 | s.$$.dirty[1] & /*transactionid, showerrors*/
|
@@ -1444,7 +1439,7 @@ function Bt(s, e, t) {
|
|
1444
1439
|
_,
|
1445
1440
|
T,
|
1446
1441
|
M,
|
1447
|
-
|
1442
|
+
k,
|
1448
1443
|
b,
|
1449
1444
|
z,
|
1450
1445
|
Y,
|
@@ -1476,11 +1471,11 @@ function Bt(s, e, t) {
|
|
1476
1471
|
v,
|
1477
1472
|
G,
|
1478
1473
|
W,
|
1479
|
-
L,
|
1480
1474
|
S,
|
1475
|
+
L,
|
1481
1476
|
U,
|
1482
1477
|
K,
|
1483
|
-
|
1478
|
+
I,
|
1484
1479
|
Ge,
|
1485
1480
|
Ue,
|
1486
1481
|
qe,
|
@@ -1493,7 +1488,7 @@ class At extends Fe {
|
|
1493
1488
|
this,
|
1494
1489
|
e,
|
1495
1490
|
Bt,
|
1496
|
-
|
1491
|
+
Ht,
|
1497
1492
|
et,
|
1498
1493
|
{
|
1499
1494
|
endpoint: 0,
|
@@ -1526,127 +1521,127 @@ class At extends Fe {
|
|
1526
1521
|
return this.$$.ctx[0];
|
1527
1522
|
}
|
1528
1523
|
set endpoint(e) {
|
1529
|
-
this.$$set({ endpoint: e }),
|
1524
|
+
this.$$set({ endpoint: e }), y();
|
1530
1525
|
}
|
1531
1526
|
get session() {
|
1532
1527
|
return this.$$.ctx[1];
|
1533
1528
|
}
|
1534
1529
|
set session(e) {
|
1535
|
-
this.$$set({ session: e }),
|
1530
|
+
this.$$set({ session: e }), y();
|
1536
1531
|
}
|
1537
1532
|
get lang() {
|
1538
1533
|
return this.$$.ctx[2];
|
1539
1534
|
}
|
1540
1535
|
set lang(e) {
|
1541
|
-
this.$$set({ lang: e }),
|
1536
|
+
this.$$set({ lang: e }), y();
|
1542
1537
|
}
|
1543
1538
|
get local() {
|
1544
1539
|
return this.$$.ctx[33];
|
1545
1540
|
}
|
1546
1541
|
set local(e) {
|
1547
|
-
this.$$set({ local: e }),
|
1542
|
+
this.$$set({ local: e }), y();
|
1548
1543
|
}
|
1549
1544
|
get showerrors() {
|
1550
1545
|
return this.$$.ctx[34];
|
1551
1546
|
}
|
1552
1547
|
set showerrors(e) {
|
1553
|
-
this.$$set({ showerrors: e }),
|
1548
|
+
this.$$set({ showerrors: e }), y();
|
1554
1549
|
}
|
1555
1550
|
get showclosebutton() {
|
1556
1551
|
return this.$$.ctx[3];
|
1557
1552
|
}
|
1558
1553
|
set showclosebutton(e) {
|
1559
|
-
this.$$set({ showclosebutton: e }),
|
1554
|
+
this.$$set({ showclosebutton: e }), y();
|
1560
1555
|
}
|
1561
1556
|
get showcontactbutton() {
|
1562
1557
|
return this.$$.ctx[4];
|
1563
1558
|
}
|
1564
1559
|
set showcontactbutton(e) {
|
1565
|
-
this.$$set({ showcontactbutton: e }),
|
1560
|
+
this.$$set({ showcontactbutton: e }), y();
|
1566
1561
|
}
|
1567
1562
|
get translationurl() {
|
1568
1563
|
return this.$$.ctx[5];
|
1569
1564
|
}
|
1570
1565
|
set translationurl(e) {
|
1571
|
-
this.$$set({ translationurl: e }),
|
1566
|
+
this.$$set({ translationurl: e }), y();
|
1572
1567
|
}
|
1573
1568
|
get assetsurl() {
|
1574
1569
|
return this.$$.ctx[6];
|
1575
1570
|
}
|
1576
1571
|
set assetsurl(e) {
|
1577
|
-
this.$$set({ assetsurl: e }),
|
1572
|
+
this.$$set({ assetsurl: e }), y();
|
1578
1573
|
}
|
1579
1574
|
get customerid() {
|
1580
1575
|
return this.$$.ctx[7];
|
1581
1576
|
}
|
1582
1577
|
set customerid(e) {
|
1583
|
-
this.$$set({ customerid: e }),
|
1578
|
+
this.$$set({ customerid: e }), y();
|
1584
1579
|
}
|
1585
1580
|
get transactionid() {
|
1586
1581
|
return this.$$.ctx[35];
|
1587
1582
|
}
|
1588
1583
|
set transactionid(e) {
|
1589
|
-
this.$$set({ transactionid: e }),
|
1584
|
+
this.$$set({ transactionid: e }), y();
|
1590
1585
|
}
|
1591
1586
|
get currencydecimals() {
|
1592
1587
|
return this.$$.ctx[36];
|
1593
1588
|
}
|
1594
1589
|
set currencydecimals(e) {
|
1595
|
-
this.$$set({ currencydecimals: e }),
|
1590
|
+
this.$$set({ currencydecimals: e }), y();
|
1596
1591
|
}
|
1597
1592
|
get clientstyling() {
|
1598
1593
|
return this.$$.ctx[8];
|
1599
1594
|
}
|
1600
1595
|
set clientstyling(e) {
|
1601
|
-
this.$$set({ clientstyling: e }),
|
1596
|
+
this.$$set({ clientstyling: e }), y();
|
1602
1597
|
}
|
1603
1598
|
get clientstylingurl() {
|
1604
1599
|
return this.$$.ctx[9];
|
1605
1600
|
}
|
1606
1601
|
set clientstylingurl(e) {
|
1607
|
-
this.$$set({ clientstylingurl: e }),
|
1602
|
+
this.$$set({ clientstylingurl: e }), y();
|
1608
1603
|
}
|
1609
1604
|
get mbsource() {
|
1610
1605
|
return this.$$.ctx[37];
|
1611
1606
|
}
|
1612
1607
|
set mbsource(e) {
|
1613
|
-
this.$$set({ mbsource: e }),
|
1608
|
+
this.$$set({ mbsource: e }), y();
|
1614
1609
|
}
|
1615
1610
|
get showverifications() {
|
1616
1611
|
return this.$$.ctx[10];
|
1617
1612
|
}
|
1618
1613
|
set showverifications(e) {
|
1619
|
-
this.$$set({ showverifications: e }),
|
1614
|
+
this.$$set({ showverifications: e }), y();
|
1620
1615
|
}
|
1621
1616
|
get customsucceessbuttons() {
|
1622
1617
|
return this.$$.ctx[38];
|
1623
1618
|
}
|
1624
1619
|
set customsucceessbuttons(e) {
|
1625
|
-
this.$$set({ customsucceessbuttons: e }),
|
1620
|
+
this.$$set({ customsucceessbuttons: e }), y();
|
1626
1621
|
}
|
1627
1622
|
get custompendingbuttons() {
|
1628
1623
|
return this.$$.ctx[39];
|
1629
1624
|
}
|
1630
1625
|
set custompendingbuttons(e) {
|
1631
|
-
this.$$set({ custompendingbuttons: e }),
|
1626
|
+
this.$$set({ custompendingbuttons: e }), y();
|
1632
1627
|
}
|
1633
1628
|
get customfailedbuttons() {
|
1634
1629
|
return this.$$.ctx[40];
|
1635
1630
|
}
|
1636
1631
|
set customfailedbuttons(e) {
|
1637
|
-
this.$$set({ customfailedbuttons: e }),
|
1632
|
+
this.$$set({ customfailedbuttons: e }), y();
|
1638
1633
|
}
|
1639
1634
|
get currencysymbol() {
|
1640
1635
|
return this.$$.ctx[41];
|
1641
1636
|
}
|
1642
1637
|
set currencysymbol(e) {
|
1643
|
-
this.$$set({ currencysymbol: e }),
|
1638
|
+
this.$$set({ currencysymbol: e }), y();
|
1644
1639
|
}
|
1645
1640
|
get currencyposition() {
|
1646
1641
|
return this.$$.ctx[42];
|
1647
1642
|
}
|
1648
1643
|
set currencyposition(e) {
|
1649
|
-
this.$$set({ currencyposition: e }),
|
1644
|
+
this.$$set({ currencyposition: e }), y();
|
1650
1645
|
}
|
1651
1646
|
}
|
1652
1647
|
lt(At, { endpoint: {}, session: {}, lang: {}, local: {}, showerrors: {}, showclosebutton: {}, showcontactbutton: {}, translationurl: {}, assetsurl: {}, customerid: {}, transactionid: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showverifications: {}, customsucceessbuttons: {}, custompendingbuttons: {}, customfailedbuttons: {}, currencysymbol: {}, currencyposition: {} }, [], [], !0);
|