@everymatrix/cashier-page 1.72.13 → 1.72.15
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-DD_tvS-T.js → CashierMethodDetails-CdOgeOYu.js} +543 -533
- package/components/{CashierMethodDetails-BnOkdsib.cjs → CashierMethodDetails-D15hTT9t.cjs} +4 -4
- package/components/{CashierMethodDetails-BxiYQMX8.js → CashierMethodDetails-D9LMcpvB.js} +658 -648
- package/components/{CashierMethodsList-BIPvVWi2.js → CashierMethodsList-8x37Sn7t.js} +1 -1
- package/components/{CashierMethodsList-CnJcvZnF.js → CashierMethodsList-Cdr6K2iW.js} +1 -1
- package/components/{CashierMethodsList-DY9iEA48.cjs → CashierMethodsList-CflVHLgk.cjs} +1 -1
- package/components/{CashierPage-CFVqET4t.cjs → CashierPage-DEuCIeqy.cjs} +1 -1
- package/components/{CashierPage-C9SNRJUx.js → CashierPage-DdltH_EG.js} +147 -147
- package/components/{CashierPage-bvxUNPNM.js → CashierPage-vH5xJrfC.js} +544 -544
- package/components/{CashierReceiptPage-D2249p4p.cjs → CashierReceiptPage-BZRrrM6D.cjs} +1 -1
- package/components/{CashierReceiptPage-BI4oCaL3.js → CashierReceiptPage-DbMdLbDk.js} +1 -1
- package/components/{CashierReceiptPage-6vqjX5GI.js → CashierReceiptPage-DfFBO9zi.js} +1 -1
- package/components/{CashierSessionExpirationModal-Ed4s6N1e.cjs → CashierSessionExpirationModal-CMQyg2NI.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-CgxyUt1H.js → CashierSessionExpirationModal-DEF2eoYP.js} +1 -1
- package/components/{CashierSessionExpirationModal-Bx3ehE92.js → CashierSessionExpirationModal-uMR60HXO.js} +1 -1
- package/components/{CashierTransactionHistory-lCwmVVfg.js → CashierTransactionHistory-CDVb-X5A.js} +1 -1
- package/components/{CashierTransactionHistory-WcilhI02.js → CashierTransactionHistory-DtxPwrCD.js} +1 -1
- package/components/{CashierTransactionHistory-gPJ-9miV.cjs → CashierTransactionHistory-MYICMruN.cjs} +1 -1
- package/components/{CashierVerifications-Bls-xZHC.cjs → CashierVerifications-B3OfGIJe.cjs} +1 -1
- package/components/{CashierVerifications-AVOuAxwk.js → CashierVerifications-BxZjHCY2.js} +1 -1
- package/components/{CashierVerifications-11jBWo6k.js → CashierVerifications-DyaC4mH9.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as mi, b as di, f as H, s as wi, E as pi, c as gi, n as
|
|
1
|
+
import { S as mi, b as di, f as H, s as wi, E as pi, c as gi, n as $, e as g, v as k, J as x, m as E, o as b, T as Ei, q as O, p as M, F as Mi, w as Ce, H as ki, D as n, x as bi, A as yi, C as I, y as R, z as v, B as Ae } from "./CashierConfirmModal-CoKn35XS.js";
|
|
2
2
|
import { a as Hi, i as Ti, $ as Oi, b as Ni } from "./CashierError-2HPZABjH.js";
|
|
3
|
-
import { d as Ze, u as Ci, x } from "./CashierMethodDetails-
|
|
3
|
+
import { d as Ze, u as Ci, x as _ } from "./CashierMethodDetails-CdOgeOYu.js";
|
|
4
4
|
import "./CashierIframeRedirect-OhFXx9eT.js";
|
|
5
5
|
import "../stencil/ui-image-C7s6Uvn5.js";
|
|
6
6
|
function Je(t, e) {
|
|
@@ -98,7 +98,7 @@ if (typeof window != "undefined") {
|
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
|
-
customElements.define = t(customElements.define), import("./CashierVerifications-
|
|
101
|
+
customElements.define = t(customElements.define), import("./CashierVerifications-DyaC4mH9.js").then(({ default: e }) => {
|
|
102
102
|
!customElements.get("cashier-verifications") && customElements.define("cashier-verifications", e.element);
|
|
103
103
|
});
|
|
104
104
|
}
|
|
@@ -114,7 +114,7 @@ if (typeof window != "undefined") {
|
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
};
|
|
117
|
-
customElements.define = t(customElements.define), import("./CashierMethodsList-
|
|
117
|
+
customElements.define = t(customElements.define), import("./CashierMethodsList-Cdr6K2iW.js").then(({ default: e }) => {
|
|
118
118
|
!customElements.get("cashier-methods-list") && customElements.define("cashier-methods-list", e.element);
|
|
119
119
|
});
|
|
120
120
|
}
|
|
@@ -130,7 +130,7 @@ if (typeof window != "undefined") {
|
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
};
|
|
133
|
-
customElements.define = t(customElements.define), import("./CashierMethodDetails-
|
|
133
|
+
customElements.define = t(customElements.define), import("./CashierMethodDetails-CdOgeOYu.js").then((e) => e.C).then(({ default: e }) => {
|
|
134
134
|
!customElements.get("cashier-method-details") && customElements.define("cashier-method-details", e.element);
|
|
135
135
|
});
|
|
136
136
|
}
|
|
@@ -146,7 +146,7 @@ if (typeof window != "undefined") {
|
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
|
-
customElements.define = t(customElements.define), import("./CashierSessionExpirationModal-
|
|
149
|
+
customElements.define = t(customElements.define), import("./CashierSessionExpirationModal-uMR60HXO.js").then(({ default: e }) => {
|
|
150
150
|
!customElements.get("cashier-session-expiration-modal") && customElements.define("cashier-session-expiration-modal", e.element);
|
|
151
151
|
});
|
|
152
152
|
}
|
|
@@ -162,7 +162,7 @@ if (typeof window != "undefined") {
|
|
|
162
162
|
}
|
|
163
163
|
};
|
|
164
164
|
};
|
|
165
|
-
customElements.define = t(customElements.define), import("./CashierTransactionHistory-
|
|
165
|
+
customElements.define = t(customElements.define), import("./CashierTransactionHistory-CDVb-X5A.js").then(({ default: e }) => {
|
|
166
166
|
!customElements.get("cashier-transaction-history") && customElements.define("cashier-transaction-history", e.element);
|
|
167
167
|
});
|
|
168
168
|
}
|
|
@@ -222,10 +222,10 @@ function Se(t) {
|
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function Re(t) {
|
|
226
226
|
let e, i, s, a, u, m, c = !!/*showheader*/
|
|
227
227
|
t[10] && /*showheader*/
|
|
228
|
-
t[10] !== "false" &&
|
|
228
|
+
t[10] !== "false" && ve(t), f = (
|
|
229
229
|
/*redirectUrl*/
|
|
230
230
|
t[25] && /*redirectMode*/
|
|
231
231
|
t[33] === /*RedirectionModeStringEnum*/
|
|
@@ -246,30 +246,30 @@ function ve(t) {
|
|
|
246
246
|
c() {
|
|
247
247
|
c && c.c(), e = O(), f && f.c(), i = O(), r && r.c(), s = O(), p && p.c(), a = O(), w && w.c(), u = O(), d && d.c(), m = bi();
|
|
248
248
|
},
|
|
249
|
-
m(
|
|
250
|
-
c && c.m(
|
|
249
|
+
m(l, h) {
|
|
250
|
+
c && c.m(l, h), E(l, e, h), f && f.m(l, h), E(l, i, h), r && r.m(l, h), E(l, s, h), p && p.m(l, h), E(l, a, h), w && w.m(l, h), E(l, u, h), d && d.m(l, h), E(l, m, h);
|
|
251
251
|
},
|
|
252
|
-
p(
|
|
252
|
+
p(l, h) {
|
|
253
253
|
/*showheader*/
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
},
|
|
267
|
-
d(
|
|
268
|
-
|
|
254
|
+
l[10] && /*showheader*/
|
|
255
|
+
l[10] !== "false" ? c ? c.p(l, h) : (c = ve(l), c.c(), c.m(e.parentNode, e)) : c && (c.d(1), c = null), /*redirectUrl*/
|
|
256
|
+
l[25] && /*redirectMode*/
|
|
257
|
+
l[33] === /*RedirectionModeStringEnum*/
|
|
258
|
+
l[21].Default && !/*errorMessage*/
|
|
259
|
+
l[29] && !/*errorResponseCode*/
|
|
260
|
+
l[30] ? f ? f.p(l, h) : (f = Ye(l), f.c(), f.m(i.parentNode, i)) : f && (f.d(1), f = null), /*show2FAModal*/
|
|
261
|
+
l[40] ? r ? r.p(l, h) : (r = Le(l), r.c(), r.m(s.parentNode, s)) : r && (r.d(1), r = null), /*closeCashierModal*/
|
|
262
|
+
l[39] ? p && (p.d(1), p = null) : p ? p.p(l, h) : (p = Ie(l), p.c(), p.m(a.parentNode, a)), /*showsessionexpirationmodal*/
|
|
263
|
+
l[14] && /*showsessionexpirationmodal*/
|
|
264
|
+
l[14] !== "false" ? w ? w.p(l, h) : (w = Be(l), w.c(), w.m(u.parentNode, u)) : w && (w.d(1), w = null), /*showConfirmModal*/
|
|
265
|
+
l[24] ? d ? d.p(l, h) : (d = Fe(l), d.c(), d.m(m.parentNode, m)) : d && (d.d(1), d = null);
|
|
266
|
+
},
|
|
267
|
+
d(l) {
|
|
268
|
+
l && (g(e), g(i), g(s), g(a), g(u), g(m)), c && c.d(l), f && f.d(l), r && r.d(l), p && p.d(l), w && w.d(l), d && d.d(l);
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function ve(t) {
|
|
273
273
|
let e;
|
|
274
274
|
return {
|
|
275
275
|
c() {
|
|
@@ -615,7 +615,7 @@ function De(t) {
|
|
|
615
615
|
), s, a, u;
|
|
616
616
|
return {
|
|
617
617
|
c() {
|
|
618
|
-
e = M("button"), s =
|
|
618
|
+
e = M("button"), s = v(i), k(e, "class", "CashierErrorButton");
|
|
619
619
|
},
|
|
620
620
|
m(m, c) {
|
|
621
621
|
E(m, e, c), b(e, s), a || (u = Ae(
|
|
@@ -628,7 +628,7 @@ function De(t) {
|
|
|
628
628
|
p(m, c) {
|
|
629
629
|
c[1] & /*$_*/
|
|
630
630
|
2048 && i !== (i = /*$_*/
|
|
631
|
-
m[42]("closeModal") + "") &&
|
|
631
|
+
m[42]("closeModal") + "") && R(s, i);
|
|
632
632
|
},
|
|
633
633
|
d(m) {
|
|
634
634
|
m && g(e), a = !1, u();
|
|
@@ -788,7 +788,7 @@ function Fe(t) {
|
|
|
788
788
|
), f;
|
|
789
789
|
return {
|
|
790
790
|
c() {
|
|
791
|
-
e = M("cashier-confirm-modal"), i = M("span"), a =
|
|
791
|
+
e = M("cashier-confirm-modal"), i = M("span"), a = v(s), u = O(), m = M("div"), f = v(c), k(i, "class", "CashierConfirmModalText"), k(i, "slot", "text"), k(m, "slot", "confirm"), n(
|
|
792
792
|
e,
|
|
793
793
|
"clientstylingurl",
|
|
794
794
|
/*clientstylingurl*/
|
|
@@ -830,11 +830,11 @@ function Fe(t) {
|
|
|
830
830
|
/*$_*/
|
|
831
831
|
r[42](`${/*type*/
|
|
832
832
|
r[9].toLowerCase()}.confirmText`)
|
|
833
|
-
)) + "") &&
|
|
833
|
+
)) + "") && R(a, s), p[0] & /*type*/
|
|
834
834
|
512 | p[1] & /*$_*/
|
|
835
835
|
2048 && c !== (c = /*$_*/
|
|
836
836
|
r[42](`${/*type*/
|
|
837
|
-
r[9].toLowerCase()}.confirmButton`) + "") &&
|
|
837
|
+
r[9].toLowerCase()}.confirmButton`) + "") && R(f, c), p[0] & /*clientstylingurl*/
|
|
838
838
|
8192 && n(
|
|
839
839
|
e,
|
|
840
840
|
"clientstylingurl",
|
|
@@ -949,7 +949,7 @@ function Si(t) {
|
|
|
949
949
|
}
|
|
950
950
|
};
|
|
951
951
|
}
|
|
952
|
-
function
|
|
952
|
+
function Ri(t) {
|
|
953
953
|
let e, i, s, a, u, m, c, f, r = !!/*showverifications*/
|
|
954
954
|
t[15] && /*showverifications*/
|
|
955
955
|
t[15] !== "false" && /*mobileView*/
|
|
@@ -965,17 +965,17 @@ function vi(t) {
|
|
|
965
965
|
t[16] !== "false" && je(t), d = (
|
|
966
966
|
/*$xPaymentSessionToken*/
|
|
967
967
|
t[43] && Ve(t)
|
|
968
|
-
),
|
|
968
|
+
), l = (
|
|
969
969
|
/*$xPaymentSessionToken*/
|
|
970
970
|
t[43] && Xe(t)
|
|
971
971
|
);
|
|
972
972
|
return {
|
|
973
973
|
c() {
|
|
974
|
-
e = M("div"), r && r.c(), i = O(), s = M("div"), p && p.c(), a = O(), w && w.c(), u = O(), d && d.c(), c = O(), f = M("div"),
|
|
974
|
+
e = M("div"), r && r.c(), i = O(), s = M("div"), p && p.c(), a = O(), w && w.c(), u = O(), d && d.c(), c = O(), f = M("div"), l && l.c(), k(s, "class", m = /*dynamicHeight*/
|
|
975
975
|
t[38] !== K ? "WithoutScroll CashierMethodListWrapper" : "CashierMethodListWrapper"), k(f, "class", "CashierMethodDetailsWrapper"), k(e, "class", "CashierPage");
|
|
976
976
|
},
|
|
977
977
|
m(h, C) {
|
|
978
|
-
E(h, e, C), r && r.m(e, null), b(e, i), b(e, s), p && p.m(s, null), b(s, a), w && w.m(s, null), b(s, u), d && d.m(s, null), b(e, c), b(e, f),
|
|
978
|
+
E(h, e, C), r && r.m(e, null), b(e, i), b(e, s), p && p.m(s, null), b(s, a), w && w.m(s, null), b(s, u), d && d.m(s, null), b(e, c), b(e, f), l && l.m(f, null);
|
|
979
979
|
},
|
|
980
980
|
p(h, C) {
|
|
981
981
|
/*showverifications*/
|
|
@@ -994,10 +994,10 @@ function vi(t) {
|
|
|
994
994
|
h[43] ? d ? d.p(h, C) : (d = Ve(h), d.c(), d.m(s, null)) : d && (d.d(1), d = null), C[1] & /*dynamicHeight*/
|
|
995
995
|
128 && m !== (m = /*dynamicHeight*/
|
|
996
996
|
h[38] !== K ? "WithoutScroll CashierMethodListWrapper" : "CashierMethodListWrapper") && k(s, "class", m), /*$xPaymentSessionToken*/
|
|
997
|
-
h[43] ?
|
|
997
|
+
h[43] ? l ? l.p(h, C) : (l = Xe(h), l.c(), l.m(f, null)) : l && (l.d(1), l = null);
|
|
998
998
|
},
|
|
999
999
|
d(h) {
|
|
1000
|
-
h && g(e), r && r.d(), p && p.d(), w && w.d(), d && d.d(),
|
|
1000
|
+
h && g(e), r && r.d(), p && p.d(), w && w.d(), d && d.d(), l && l.d();
|
|
1001
1001
|
}
|
|
1002
1002
|
};
|
|
1003
1003
|
}
|
|
@@ -1005,7 +1005,7 @@ function Ke(t) {
|
|
|
1005
1005
|
let e, i;
|
|
1006
1006
|
return {
|
|
1007
1007
|
c() {
|
|
1008
|
-
e = M("span"), i =
|
|
1008
|
+
e = M("span"), i = v(
|
|
1009
1009
|
/*errorMessage*/
|
|
1010
1010
|
t[29]
|
|
1011
1011
|
), k(e, "class", "CashierErrorText"), k(e, "slot", "text");
|
|
@@ -1015,7 +1015,7 @@ function Ke(t) {
|
|
|
1015
1015
|
},
|
|
1016
1016
|
p(s, a) {
|
|
1017
1017
|
a[0] & /*errorMessage*/
|
|
1018
|
-
536870912 &&
|
|
1018
|
+
536870912 && R(
|
|
1019
1019
|
i,
|
|
1020
1020
|
/*errorMessage*/
|
|
1021
1021
|
s[29]
|
|
@@ -1036,20 +1036,20 @@ function qe(t) {
|
|
|
1036
1036
|
), r, p, w, d = (
|
|
1037
1037
|
/*$_*/
|
|
1038
1038
|
t[42]("continueSession") + ""
|
|
1039
|
-
),
|
|
1039
|
+
), l, h, C;
|
|
1040
1040
|
function q(y, N) {
|
|
1041
1041
|
return (
|
|
1042
1042
|
/*assetsurl*/
|
|
1043
|
-
y[8] ? Yi :
|
|
1043
|
+
y[8] ? Yi : vi
|
|
1044
1044
|
);
|
|
1045
1045
|
}
|
|
1046
1046
|
let D = q(t), J = D(t);
|
|
1047
1047
|
return {
|
|
1048
1048
|
c() {
|
|
1049
|
-
e = M("div"), J.c(), i = O(), s = M("span"), u =
|
|
1049
|
+
e = M("div"), J.c(), i = O(), s = M("span"), u = v(a), m = O(), c = M("span"), r = v(f), p = O(), w = M("button"), l = v(d), k(e, "slot", "icon"), k(e, "class", "CashierErrorIcon"), k(s, "slot", "title"), k(s, "class", "CashierErrorTitle"), k(c, "slot", "text"), k(c, "class", "CashierErrorText"), k(w, "slot", "button"), k(w, "class", "CashierErrorButton");
|
|
1050
1050
|
},
|
|
1051
1051
|
m(y, N) {
|
|
1052
|
-
E(y, e, N), J.m(e, null), E(y, i, N), E(y, s, N), b(s, u), E(y, m, N), E(y, c, N), b(c, r), E(y, p, N), E(y, w, N), b(w,
|
|
1052
|
+
E(y, e, N), J.m(e, null), E(y, i, N), E(y, s, N), b(s, u), E(y, m, N), E(y, c, N), b(c, r), E(y, p, N), E(y, w, N), b(w, l), h || (C = Ae(
|
|
1053
1053
|
w,
|
|
1054
1054
|
"click",
|
|
1055
1055
|
/*renewSession*/
|
|
@@ -1059,18 +1059,18 @@ function qe(t) {
|
|
|
1059
1059
|
p(y, N) {
|
|
1060
1060
|
D === (D = q(y)) && J ? J.p(y, N) : (J.d(1), J = D(y), J && (J.c(), J.m(e, null))), N[1] & /*$_*/
|
|
1061
1061
|
2048 && a !== (a = /*$_*/
|
|
1062
|
-
y[42]("sessionExpiredTitle") + "") &&
|
|
1062
|
+
y[42]("sessionExpiredTitle") + "") && R(u, a), N[1] & /*$_*/
|
|
1063
1063
|
2048 && f !== (f = /*$_*/
|
|
1064
|
-
y[42]("sessionExpiredText") + "") &&
|
|
1064
|
+
y[42]("sessionExpiredText") + "") && R(r, f), N[1] & /*$_*/
|
|
1065
1065
|
2048 && d !== (d = /*$_*/
|
|
1066
|
-
y[42]("continueSession") + "") &&
|
|
1066
|
+
y[42]("continueSession") + "") && R(l, d);
|
|
1067
1067
|
},
|
|
1068
1068
|
d(y) {
|
|
1069
1069
|
y && (g(e), g(i), g(s), g(m), g(c), g(p), g(w)), J.d(), h = !1, C();
|
|
1070
1070
|
}
|
|
1071
1071
|
};
|
|
1072
1072
|
}
|
|
1073
|
-
function
|
|
1073
|
+
function vi(t) {
|
|
1074
1074
|
let e, i;
|
|
1075
1075
|
return {
|
|
1076
1076
|
c() {
|
|
@@ -1079,7 +1079,7 @@ function Ri(t) {
|
|
|
1079
1079
|
m(s, a) {
|
|
1080
1080
|
E(s, e, a);
|
|
1081
1081
|
},
|
|
1082
|
-
p:
|
|
1082
|
+
p: $,
|
|
1083
1083
|
d(s) {
|
|
1084
1084
|
s && g(e);
|
|
1085
1085
|
}
|
|
@@ -1113,29 +1113,29 @@ function Pe(t) {
|
|
|
1113
1113
|
/*$_*/
|
|
1114
1114
|
t[42]("maintenanceText") + ""
|
|
1115
1115
|
), r;
|
|
1116
|
-
function p(
|
|
1116
|
+
function p(l, h) {
|
|
1117
1117
|
return (
|
|
1118
1118
|
/*assetsurl*/
|
|
1119
|
-
|
|
1119
|
+
l[8] ? Ii : Li
|
|
1120
1120
|
);
|
|
1121
1121
|
}
|
|
1122
1122
|
let w = p(t), d = w(t);
|
|
1123
1123
|
return {
|
|
1124
1124
|
c() {
|
|
1125
|
-
e = M("div"), d.c(), i = O(), s = M("span"), u =
|
|
1125
|
+
e = M("div"), d.c(), i = O(), s = M("span"), u = v(a), m = O(), c = M("span"), r = v(f), k(e, "slot", "icon"), k(e, "class", "CashierErrorIcon"), k(s, "slot", "title"), k(s, "class", "CashierErrorTitle"), k(c, "slot", "text"), k(c, "class", "CashierErrorText");
|
|
1126
1126
|
},
|
|
1127
|
-
m(
|
|
1128
|
-
E(
|
|
1127
|
+
m(l, h) {
|
|
1128
|
+
E(l, e, h), d.m(e, null), E(l, i, h), E(l, s, h), b(s, u), E(l, m, h), E(l, c, h), b(c, r);
|
|
1129
1129
|
},
|
|
1130
|
-
p(
|
|
1131
|
-
w === (w = p(
|
|
1130
|
+
p(l, h) {
|
|
1131
|
+
w === (w = p(l)) && d ? d.p(l, h) : (d.d(1), d = w(l), d && (d.c(), d.m(e, null))), h[1] & /*$_*/
|
|
1132
1132
|
2048 && a !== (a = /*$_*/
|
|
1133
|
-
|
|
1133
|
+
l[42]("maintenanceTitle") + "") && R(u, a), h[1] & /*$_*/
|
|
1134
1134
|
2048 && f !== (f = /*$_*/
|
|
1135
|
-
|
|
1135
|
+
l[42]("maintenanceText") + "") && R(r, f);
|
|
1136
1136
|
},
|
|
1137
|
-
d(
|
|
1138
|
-
|
|
1137
|
+
d(l) {
|
|
1138
|
+
l && (g(e), g(i), g(s), g(m), g(c)), d.d();
|
|
1139
1139
|
}
|
|
1140
1140
|
};
|
|
1141
1141
|
}
|
|
@@ -1148,7 +1148,7 @@ function Li(t) {
|
|
|
1148
1148
|
m(s, a) {
|
|
1149
1149
|
E(s, e, a);
|
|
1150
1150
|
},
|
|
1151
|
-
p:
|
|
1151
|
+
p: $,
|
|
1152
1152
|
d(s) {
|
|
1153
1153
|
s && g(e);
|
|
1154
1154
|
}
|
|
@@ -1800,12 +1800,12 @@ function Di(t) {
|
|
|
1800
1800
|
), r = (
|
|
1801
1801
|
/*lang*/
|
|
1802
1802
|
t[2] && /*isTranslationLoaded*/
|
|
1803
|
-
t[27] &&
|
|
1803
|
+
t[27] && Re(t)
|
|
1804
1804
|
);
|
|
1805
|
-
function p(
|
|
1805
|
+
function p(l, h) {
|
|
1806
1806
|
return !/*errorMessage*/
|
|
1807
|
-
|
|
1808
|
-
|
|
1807
|
+
l[29] && !/*errorResponseCode*/
|
|
1808
|
+
l[30] ? Ri : Si;
|
|
1809
1809
|
}
|
|
1810
1810
|
let w = p(t), d = w(t);
|
|
1811
1811
|
return {
|
|
@@ -1814,92 +1814,92 @@ function Di(t) {
|
|
|
1814
1814
|
t[28] ? "CashierPageWidget BothSections" : "CashierPageWidget"), Mi(() => (
|
|
1815
1815
|
/*div_elementresize_handler*/
|
|
1816
1816
|
t[52].call(i)
|
|
1817
|
-
)),
|
|
1817
|
+
)), x(
|
|
1818
1818
|
i,
|
|
1819
1819
|
"MobileView",
|
|
1820
1820
|
/*mobileView*/
|
|
1821
1821
|
t[23] === "true"
|
|
1822
|
-
),
|
|
1822
|
+
), x(
|
|
1823
1823
|
i,
|
|
1824
1824
|
"FixedHeight",
|
|
1825
1825
|
/*dynamicHeight*/
|
|
1826
1826
|
t[38] !== K
|
|
1827
1827
|
);
|
|
1828
1828
|
},
|
|
1829
|
-
m(
|
|
1830
|
-
c && c.m(
|
|
1829
|
+
m(l, h) {
|
|
1830
|
+
c && c.m(l, h), E(l, e, h), E(l, i, h), f && f.m(i, null), b(i, s), r && r.m(i, null), b(i, a), d.m(i, null), t[51](i), m = Ei(
|
|
1831
1831
|
i,
|
|
1832
1832
|
/*div_elementresize_handler*/
|
|
1833
1833
|
t[52].bind(i)
|
|
1834
1834
|
);
|
|
1835
1835
|
},
|
|
1836
|
-
p(
|
|
1836
|
+
p(l, h) {
|
|
1837
1837
|
/*showSpinner*/
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1838
|
+
l[37] ? c ? c.p(l, h) : (c = ze(l), c.c(), c.m(e.parentNode, e)) : c && (c.d(1), c = null), /*isProcessingTxn*/
|
|
1839
|
+
l[26] ? f || (f = Se(), f.c(), f.m(i, s)) : f && (f.d(1), f = null), /*lang*/
|
|
1840
|
+
l[2] && /*isTranslationLoaded*/
|
|
1841
|
+
l[27] ? r ? r.p(l, h) : (r = Re(l), r.c(), r.m(i, a)) : r && (r.d(1), r = null), w === (w = p(l)) && d ? d.p(l, h) : (d.d(1), d = w(l), d && (d.c(), d.m(i, null))), h[0] & /*showMethodDetailsPage*/
|
|
1842
1842
|
268435456 && u !== (u = /*showMethodDetailsPage*/
|
|
1843
|
-
|
|
1844
|
-
276824064 &&
|
|
1843
|
+
l[28] ? "CashierPageWidget BothSections" : "CashierPageWidget") && k(i, "class", u), h[0] & /*showMethodDetailsPage, mobileView*/
|
|
1844
|
+
276824064 && x(
|
|
1845
1845
|
i,
|
|
1846
1846
|
"MobileView",
|
|
1847
1847
|
/*mobileView*/
|
|
1848
|
-
|
|
1848
|
+
l[23] === "true"
|
|
1849
1849
|
), h[0] & /*showMethodDetailsPage*/
|
|
1850
1850
|
268435456 | h[1] & /*dynamicHeight*/
|
|
1851
|
-
128 &&
|
|
1851
|
+
128 && x(
|
|
1852
1852
|
i,
|
|
1853
1853
|
"FixedHeight",
|
|
1854
1854
|
/*dynamicHeight*/
|
|
1855
|
-
|
|
1855
|
+
l[38] !== K
|
|
1856
1856
|
);
|
|
1857
1857
|
},
|
|
1858
|
-
i:
|
|
1859
|
-
o:
|
|
1860
|
-
d(
|
|
1861
|
-
|
|
1858
|
+
i: $,
|
|
1859
|
+
o: $,
|
|
1860
|
+
d(l) {
|
|
1861
|
+
l && (g(e), g(i)), c && c.d(l), f && f.d(), r && r.d(), d.d(), t[51](null), m();
|
|
1862
1862
|
}
|
|
1863
1863
|
};
|
|
1864
1864
|
}
|
|
1865
1865
|
const K = "100%";
|
|
1866
1866
|
function Bi(t, e, i) {
|
|
1867
1867
|
let s, a;
|
|
1868
|
-
Ce(t, Ni, (
|
|
1868
|
+
Ce(t, Ni, (o) => i(42, s = o)), Ce(t, _, (o) => i(43, a = o)), Ze.extend(Ci);
|
|
1869
1869
|
var u;
|
|
1870
|
-
(function(
|
|
1871
|
-
|
|
1870
|
+
(function(o) {
|
|
1871
|
+
o.Default = "Default", o.RedirectWithRetry = "Redirect";
|
|
1872
1872
|
})(u || (u = {}));
|
|
1873
|
-
const m = (
|
|
1874
|
-
...
|
|
1873
|
+
const m = (o, [T, W]) => [
|
|
1874
|
+
...o,
|
|
1875
1875
|
...Array.isArray(T) ? [...T.map((Z) => [Z, W])] : [[T, W]]
|
|
1876
1876
|
];
|
|
1877
1877
|
new Map([
|
|
1878
1878
|
[["Default", 0], u.Default],
|
|
1879
1879
|
[["Redirect", 1], u.RedirectWithRetry]
|
|
1880
1880
|
].reduce(m, []));
|
|
1881
|
-
let { endpoint: c } = e, { session: f } = e, { lang: r = "en" } = e, { local: p = "en-US" } = e, { translationurl: w } = e, { successurl: d } = e, { failurl:
|
|
1881
|
+
let { endpoint: c } = e, { session: f } = e, { lang: r = "en" } = e, { local: p = "en-US" } = e, { translationurl: w } = e, { successurl: d } = e, { failurl: l } = e, { cancelurl: h } = e, { customerid: C } = e, { currency: q } = e, { amount: D } = e, { assetsurl: J } = e, { type: y = Qe.Deposit } = e, { channel: N = xe.Desktop } = e, { showheader: ae = "true" } = e, { numberofmethodsshown: re } = e, { clientstyling: j = "" } = e, { clientstylingurl: V = "" } = e, { showsessionexpirationmodal: ce = "true" } = e, { showverifications: he = "true" } = e, { showtransactionhistory: fe = "true" } = e, { showclosebutton: ue = "false" } = e, { txncount: me } = e, Y = {}, $e = new Intl.NumberFormat(p, { minimumFractionDigits: 2 }), S, P, de, ee = !1, ie, X, A, G = !1, te, L, we, pe, ge, Ee, se, ne, Me = !0, oe = K, B = !1, U = !1, ke = "";
|
|
1882
1882
|
const ei = () => {
|
|
1883
1883
|
Zi(r);
|
|
1884
1884
|
};
|
|
1885
|
-
Object.keys(We).forEach((
|
|
1886
|
-
Je(
|
|
1887
|
-
}), w || (
|
|
1885
|
+
Object.keys(We).forEach((o) => {
|
|
1886
|
+
Je(o, We[o]);
|
|
1887
|
+
}), w || (A = !0);
|
|
1888
1888
|
const ii = () => {
|
|
1889
|
-
let
|
|
1890
|
-
if (
|
|
1891
|
-
return fetch(
|
|
1889
|
+
let o = w;
|
|
1890
|
+
if (o)
|
|
1891
|
+
return fetch(o).then((T) => T.json()).then((T) => {
|
|
1892
1892
|
Object.keys(T).forEach((W) => {
|
|
1893
|
-
Je(W, T[W]), i(27,
|
|
1893
|
+
Je(W, T[W]), i(27, A = !0);
|
|
1894
1894
|
});
|
|
1895
1895
|
}).catch((T) => {
|
|
1896
|
-
i(27,
|
|
1896
|
+
i(27, A = !0), console.log(T);
|
|
1897
1897
|
});
|
|
1898
1898
|
}, ti = () => {
|
|
1899
|
-
i(28, G = !1), i(22, Y = {}),
|
|
1899
|
+
i(28, G = !1), i(22, Y = {}), F();
|
|
1900
1900
|
}, be = () => {
|
|
1901
|
-
|
|
1902
|
-
const
|
|
1901
|
+
_.set(null);
|
|
1902
|
+
const o = new URL(`${c}/v2/player/${C}/payment/GetPaymentSession`), T = new Headers();
|
|
1903
1903
|
T.append("accept", "application/json"), T.append("Content-Type", "application/json"), T.append("X-SessionId", `${f}`), T.append("X-Client-Request-Timestamp", Ze.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
1904
1904
|
const W = {
|
|
1905
1905
|
method: "POST",
|
|
@@ -1910,7 +1910,7 @@ function Bi(t, e, i) {
|
|
|
1910
1910
|
Type: y,
|
|
1911
1911
|
SuccessUrl: d,
|
|
1912
1912
|
CancelUrl: h,
|
|
1913
|
-
FailUrl:
|
|
1913
|
+
FailUrl: l,
|
|
1914
1914
|
Language: r,
|
|
1915
1915
|
Tags: {
|
|
1916
1916
|
UserAgent: window.navigator.userAgent,
|
|
@@ -1918,9 +1918,9 @@ function Bi(t, e, i) {
|
|
|
1918
1918
|
}
|
|
1919
1919
|
})
|
|
1920
1920
|
};
|
|
1921
|
-
fetch(
|
|
1921
|
+
fetch(o, W).then((Z) => Z.json()).then((Z) => {
|
|
1922
1922
|
if (Z.errorCode === _e.InvalidSession) {
|
|
1923
|
-
i(30, L = z.InvalidSession), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }),
|
|
1923
|
+
i(30, L = z.InvalidSession), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), Q();
|
|
1924
1924
|
return;
|
|
1925
1925
|
}
|
|
1926
1926
|
if (Z.error) {
|
|
@@ -1928,25 +1928,25 @@ function Bi(t, e, i) {
|
|
|
1928
1928
|
return;
|
|
1929
1929
|
}
|
|
1930
1930
|
if (Z.ResponseCode !== z.Success) {
|
|
1931
|
-
i(30, L = Z.ResponseCode), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }),
|
|
1931
|
+
i(30, L = Z.ResponseCode), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), Q();
|
|
1932
1932
|
return;
|
|
1933
1933
|
}
|
|
1934
|
-
Z.XPaymentSessionToken &&
|
|
1934
|
+
Z.XPaymentSessionToken && _.set(Z.XPaymentSessionToken);
|
|
1935
1935
|
}).catch((Z) => {
|
|
1936
1936
|
window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), console.log(Z);
|
|
1937
1937
|
});
|
|
1938
|
-
},
|
|
1938
|
+
}, F = () => {
|
|
1939
1939
|
G && ye() && !L ? (i(35, se = Y.Label || Y.Name), i(36, ne = "true")) : (i(35, se = `header.${y.toLowerCase()}`), i(36, ne = "false"));
|
|
1940
1940
|
}, si = () => {
|
|
1941
|
-
i(23, de = ye().toString()),
|
|
1942
|
-
}, ye = () => P < 750, He = (
|
|
1941
|
+
i(23, de = ye().toString()), F();
|
|
1942
|
+
}, ye = () => P < 750, He = (o) => {
|
|
1943
1943
|
Te({
|
|
1944
|
-
Name:
|
|
1945
|
-
Label:
|
|
1944
|
+
Name: o.detail.Name,
|
|
1945
|
+
Label: o.detail.Label
|
|
1946
1946
|
});
|
|
1947
|
-
}, Te = (
|
|
1948
|
-
i(22, Y.Name =
|
|
1949
|
-
},
|
|
1947
|
+
}, Te = (o) => {
|
|
1948
|
+
i(22, Y.Name = o.Name, Y), i(22, Y.Label = o.Label, Y), i(28, G = !0), F();
|
|
1949
|
+
}, Q = () => {
|
|
1950
1950
|
window.postMessage(
|
|
1951
1951
|
{
|
|
1952
1952
|
type: "ErrorResponseCode",
|
|
@@ -1955,11 +1955,11 @@ function Bi(t, e, i) {
|
|
|
1955
1955
|
window.location.href
|
|
1956
1956
|
);
|
|
1957
1957
|
}, ni = () => {
|
|
1958
|
-
let
|
|
1959
|
-
|
|
1960
|
-
},
|
|
1961
|
-
let
|
|
1962
|
-
fetch(
|
|
1958
|
+
let o = document.createElement("style");
|
|
1959
|
+
o.innerHTML = j, S.appendChild(o);
|
|
1960
|
+
}, oi = () => {
|
|
1961
|
+
let o = new URL(V), T = document.createElement("style");
|
|
1962
|
+
fetch(o.href).then((W) => W.text()).then((W) => {
|
|
1963
1963
|
T.innerHTML = W, setTimeout(
|
|
1964
1964
|
() => {
|
|
1965
1965
|
S.appendChild(T);
|
|
@@ -1971,8 +1971,8 @@ function Bi(t, e, i) {
|
|
|
1971
1971
|
500
|
|
1972
1972
|
);
|
|
1973
1973
|
});
|
|
1974
|
-
},
|
|
1975
|
-
i(28, G = !
|
|
1974
|
+
}, li = (o) => {
|
|
1975
|
+
i(28, G = !o.hideMethodDetails), F();
|
|
1976
1976
|
};
|
|
1977
1977
|
ki(() => (window.addEventListener("selectPayMeth", He, !1), window.addEventListener("message", Ne, !1), () => {
|
|
1978
1978
|
window.removeEventListener("selectPayMeth", He), window.removeEventListener("message", Ne);
|
|
@@ -1980,39 +1980,39 @@ function Bi(t, e, i) {
|
|
|
1980
1980
|
const ai = () => {
|
|
1981
1981
|
window.postMessage({ type: "HideCashierModal" }, window.location.href);
|
|
1982
1982
|
}, ri = () => {
|
|
1983
|
-
i(30, L = null), i(25,
|
|
1983
|
+
i(30, L = null), i(25, ie = null), _.set(null), ti(), i(39, B = !1), Q(), be();
|
|
1984
1984
|
}, Oe = () => {
|
|
1985
|
-
i(24,
|
|
1986
|
-
}, Ne = (
|
|
1987
|
-
if (
|
|
1985
|
+
i(24, ee = !1);
|
|
1986
|
+
}, Ne = (o) => {
|
|
1987
|
+
if (o.data.type === "ShowSessionError" && i(29, te = o.data.error), o.data.type === "ToggleDisableActionOnPage" && i(26, X = o.data.disable), o.data.type === "ErrorResponseCode" && (i(30, L = o.data.errorResponseCode), F()), o.data.type === "ShowConfirmModal" && (i(24, ee = o.data.showConfirmModal), i(31, we = o.data.editedAmount), i(32, pe = o.data.hideAmountField)), o.data.type === "RedirectInfo" && (i(25, ie = o.data.redirectUrl), i(33, ge = o.data.redirectMode), F()), o.data.type === "ShowCashierModal" && i(34, Ee = o.data.modalErrorMessage), o.data.type === "SessionExpired" && (i(30, L = z.JwtTokenError), i(39, B = !0), Oe(), le(), Q()), o.data.type === "HidePaymentDetails" && li(o.data.details), o.data.type === "CloseModal" && Oe(), o.data.type === "SelectPayMeth" && Te(o.data.details), o.data.type === "Show2FAModal" && (i(39, B = !0), i(41, ke = o.data.RedirectUrl), i(40, U = !0), window.postMessage({ type: "ShowCashierModal" })), o.data.type === "DataLoading" && i(37, Me = !o.data.isDataLoaded), o.data.type === "ShowCashierVideoModal") {
|
|
1988
1988
|
const T = S.getBoundingClientRect(), W = window.innerHeight || document.documentElement.clientHeight, Z = Math.max(T.top, 0), fi = Math.min(T.bottom, W), ui = Math.max(0, fi - Z);
|
|
1989
|
-
|
|
1989
|
+
le(`${ui}px`);
|
|
1990
1990
|
}
|
|
1991
|
-
|
|
1991
|
+
o.data.type === "ClosedCashierVideoModal" && le(), o.data.ResponseCode === "Success" && o.data.ValidationNonce && (window.postMessage({
|
|
1992
1992
|
type: "2FAResponse",
|
|
1993
|
-
code:
|
|
1994
|
-
}), i(40,
|
|
1995
|
-
},
|
|
1996
|
-
i(38,
|
|
1993
|
+
code: o.data.ValidationNonce
|
|
1994
|
+
}), i(40, U = !1), i(39, B = !1)), o.data.ResponseCode === "CancelledByCustomer" && (i(40, U = !1), i(39, B = !1), i(26, X = !1), window.postMessage({ type: "2FACancel" })), o.data.ResponseCode === "AuthenticationFailed" && (i(40, U = !1), i(39, B = !1), i(26, X = !1), window.postMessage({ type: "2FAAuthFailed" }));
|
|
1995
|
+
}, le = (o = K) => {
|
|
1996
|
+
i(38, oe = o), S.style.setProperty("--mmw-cashier-page-height", oe);
|
|
1997
1997
|
};
|
|
1998
|
-
function ci(
|
|
1999
|
-
yi[
|
|
2000
|
-
S =
|
|
1998
|
+
function ci(o) {
|
|
1999
|
+
yi[o ? "unshift" : "push"](() => {
|
|
2000
|
+
S = o, i(19, S);
|
|
2001
2001
|
});
|
|
2002
2002
|
}
|
|
2003
2003
|
function hi() {
|
|
2004
2004
|
P = this.clientWidth, i(20, P);
|
|
2005
2005
|
}
|
|
2006
|
-
return t.$$set = (
|
|
2007
|
-
"endpoint" in
|
|
2006
|
+
return t.$$set = (o) => {
|
|
2007
|
+
"endpoint" in o && i(0, c = o.endpoint), "session" in o && i(1, f = o.session), "lang" in o && i(2, r = o.lang), "local" in o && i(3, p = o.local), "translationurl" in o && i(4, w = o.translationurl), "successurl" in o && i(47, d = o.successurl), "failurl" in o && i(48, l = o.failurl), "cancelurl" in o && i(49, h = o.cancelurl), "customerid" in o && i(5, C = o.customerid), "currency" in o && i(6, q = o.currency), "amount" in o && i(7, D = o.amount), "assetsurl" in o && i(8, J = o.assetsurl), "type" in o && i(9, y = o.type), "channel" in o && i(50, N = o.channel), "showheader" in o && i(10, ae = o.showheader), "numberofmethodsshown" in o && i(11, re = o.numberofmethodsshown), "clientstyling" in o && i(12, j = o.clientstyling), "clientstylingurl" in o && i(13, V = o.clientstylingurl), "showsessionexpirationmodal" in o && i(14, ce = o.showsessionexpirationmodal), "showverifications" in o && i(15, he = o.showverifications), "showtransactionhistory" in o && i(16, fe = o.showtransactionhistory), "showclosebutton" in o && i(17, ue = o.showclosebutton), "txncount" in o && i(18, me = o.txncount);
|
|
2008
2008
|
}, t.$$.update = () => {
|
|
2009
2009
|
t.$$.dirty[0] & /*endpoint, session, customerid, lang, type*/
|
|
2010
2010
|
551 | t.$$.dirty[1] & /*channel, successurl, failurl, cancelurl*/
|
|
2011
|
-
983040 && c && f && C && r && N && y && d &&
|
|
2012
|
-
528384 &&
|
|
2013
|
-
532480 &&
|
|
2011
|
+
983040 && c && f && C && r && N && y && d && l && h && be(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
2012
|
+
528384 && j && S && ni(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
2013
|
+
532480 && V && S && oi(), t.$$.dirty[0] & /*lang*/
|
|
2014
2014
|
4 && r && ei(), t.$$.dirty[0] & /*lang*/
|
|
2015
|
-
4 && r &&
|
|
2015
|
+
4 && r && F(), t.$$.dirty[0] & /*lang, translationurl*/
|
|
2016
2016
|
20 && r && w && ii(), t.$$.dirty[0] & /*widgetWidth*/
|
|
2017
2017
|
1048576 && P && si();
|
|
2018
2018
|
}, [
|
|
@@ -2028,8 +2028,8 @@ function Bi(t, e, i) {
|
|
|
2028
2028
|
y,
|
|
2029
2029
|
ae,
|
|
2030
2030
|
re,
|
|
2031
|
-
U,
|
|
2032
2031
|
j,
|
|
2032
|
+
V,
|
|
2033
2033
|
ce,
|
|
2034
2034
|
he,
|
|
2035
2035
|
fe,
|
|
@@ -2040,10 +2040,10 @@ function Bi(t, e, i) {
|
|
|
2040
2040
|
u,
|
|
2041
2041
|
Y,
|
|
2042
2042
|
de,
|
|
2043
|
-
$,
|
|
2044
2043
|
ee,
|
|
2045
2044
|
ie,
|
|
2046
|
-
|
|
2045
|
+
X,
|
|
2046
|
+
A,
|
|
2047
2047
|
G,
|
|
2048
2048
|
te,
|
|
2049
2049
|
L,
|
|
@@ -2054,9 +2054,9 @@ function Bi(t, e, i) {
|
|
|
2054
2054
|
se,
|
|
2055
2055
|
ne,
|
|
2056
2056
|
Me,
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2057
|
+
oe,
|
|
2058
|
+
B,
|
|
2059
|
+
U,
|
|
2060
2060
|
ke,
|
|
2061
2061
|
s,
|
|
2062
2062
|
a,
|
|
@@ -2064,7 +2064,7 @@ function Bi(t, e, i) {
|
|
|
2064
2064
|
ai,
|
|
2065
2065
|
ri,
|
|
2066
2066
|
d,
|
|
2067
|
-
|
|
2067
|
+
l,
|
|
2068
2068
|
h,
|
|
2069
2069
|
N,
|
|
2070
2070
|
ci,
|