@everymatrix/cashier-page 1.85.21 → 1.85.22
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/{CashierCarousel-C5QNf4lE.js → CashierCarousel-BNKjZ4dF.js} +68 -80
- package/components/{CashierCarousel-Jl2aqYfe.cjs → CashierCarousel-CecQbbdW.cjs} +1 -1
- package/components/{CashierCarousel-SDse7_hX.js → CashierCarousel-D8MiOwuE.js} +78 -90
- package/components/{CashierError-Jdj_uZ4I.js → CashierError-BwZRYX5r.js} +1 -1
- package/components/{CashierError-Bwwq1pwM.cjs → CashierError-DFQyDQHn.cjs} +1 -1
- package/components/{CashierError-DkeWHxFp.js → CashierError-kVdNczE9.js} +1 -1
- package/components/CashierHeader-B3b8zbwP.cjs +1 -0
- package/components/{CashierHeader-Bfh3U7q4.js → CashierHeader-B9Y-DaUB.js} +40 -47
- package/components/{CashierHeader-Cee3k8wZ.js → CashierHeader-CzpZDjFX.js} +40 -47
- package/components/{CashierIframeRedirect-aSqRnHR6.js → CashierIframeRedirect-B_A79AFN.js} +31 -40
- package/components/CashierIframeRedirect-YYamzRsf.cjs +1 -0
- package/components/{CashierIframeRedirect-BrbS0BDH.js → CashierIframeRedirect-aTaiu0hG.js} +31 -40
- package/components/{CashierMethodDetails-i-RQQsra.js → CashierMethodDetails--Ebwn4lg.js} +5 -5
- package/components/{CashierMethodDetails-CkmKFn6o.cjs → CashierMethodDetails-D3OcsUSC.cjs} +2 -2
- package/components/{CashierMethodDetails-DX-z6Jjw.js → CashierMethodDetails-E1XQT_gz.js} +5 -5
- package/components/CashierMethodsList-BCfPOiPQ.cjs +1 -0
- package/components/{CashierMethodsList-BGudjIvl.js → CashierMethodsList-ByGJLq8_.js} +157 -173
- package/components/{CashierMethodsList-BHs-wwYk.js → CashierMethodsList-D5p1ksRs.js} +133 -149
- package/components/{CashierModal-yJBbNL81.js → CashierModal-BE9c03E8.js} +24 -22
- package/components/CashierModal-Diij1t-w.cjs +1 -0
- package/components/{CashierModal-CwsfMVcW.js → CashierModal-R6fQk7sI.js} +31 -29
- package/components/{CashierNotifications-CFvZHX_b.js → CashierNotifications-5EjGguMj.js} +1 -1
- package/components/{CashierNotifications-hmcOuIJT.cjs → CashierNotifications-kuNLTOB3.cjs} +1 -1
- package/components/{CashierNotifications-DMZuy8M1.js → CashierNotifications-mhDeZtGd.js} +1 -1
- package/components/CashierPage-BOXcdzek.js +3958 -0
- package/components/CashierPage-DSBg3R7m.js +3932 -0
- package/components/CashierPage-DSwyNlUe.cjs +1 -0
- package/components/{CashierReceiptPage-B9a7gDY-.js → CashierReceiptPage-DLHbUzv0.js} +512 -673
- package/components/{CashierReceiptPage-C3EVhPo1.cjs → CashierReceiptPage-DW63yTeU.cjs} +2 -2
- package/components/{CashierReceiptPage-DuEiUyJc.js → CashierReceiptPage-DWJG1k-S.js} +546 -707
- package/components/CashierSessionExpirationModal-CeesVv0R.js +1181 -0
- package/components/CashierSessionExpirationModal-Di0jBCa7.cjs +2 -0
- package/components/CashierSessionExpirationModal-Dk8_yCxM.js +1181 -0
- package/components/{CashierSpinner-CXXRwfkL.js → CashierSpinner-CYSebSGZ.js} +1 -1
- package/components/{CashierSpinner-XWfResBK.js → CashierSpinner-DIyI0RD1.js} +1 -1
- package/components/{CashierSpinner-DHf6UHDV.cjs → CashierSpinner-DVLxgI0s.cjs} +1 -1
- package/components/{CashierStepUp-BkNgRDll.js → CashierStepUp-BA2IK4WI.js} +1 -1
- package/components/{CashierStepUp-BUkCs2Td.js → CashierStepUp-CSkfphtu.js} +1 -1
- package/components/{CashierStepUp-Cbk0-AbY.cjs → CashierStepUp-pkLhK-RI.cjs} +1 -1
- package/components/{CashierTransactionHistory-B8cH2q8D.js → CashierTransactionHistory-DAieZJ7I.js} +5 -5
- package/components/{CashierTransactionHistory-wILVLaBk.js → CashierTransactionHistory-DZS6p6Wq.js} +5 -5
- package/components/{CashierTransactionHistory-DK5N-xDu.cjs → CashierTransactionHistory-dL_Zbx6y.cjs} +1 -1
- package/components/{CashierVerifications-jxiTTMUn.js → CashierVerifications-63wvOw6D.js} +106 -125
- package/components/{CashierVerifications-DEAJcpkR.js → CashierVerifications-B6QC6J6G.js} +109 -128
- package/components/CashierVerifications-BhbImoKx.cjs +1 -0
- package/components/{TxnStatusIcon-BRmGPXeu.js → TxnStatusIcon-CpJJHtXq.js} +1 -1
- package/components/{TxnStatusIcon-BorUmEdf.cjs → TxnStatusIcon-DuWdYaRx.cjs} +1 -1
- package/components/{TxnStatusIcon-B7vs3WN_.js → TxnStatusIcon-Krgh5oF3.js} +1 -1
- package/components/{TxnTypeIcons-DvPoXWdX.js → TxnTypeIcons-Az6Gbxxw.js} +1 -1
- package/components/{TxnTypeIcons-C_PpXN7w.js → TxnTypeIcons-Bvy6NVGO.js} +1 -1
- package/components/{TxnTypeIcons-CDAmP_Qb.cjs → TxnTypeIcons-iU9VGsWs.cjs} +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
- package/components/CashierHeader-CMbldu41.cjs +0 -1
- package/components/CashierIframeRedirect-C913Adzi.cjs +0 -1
- package/components/CashierMethodsList-Bi3djwQ1.cjs +0 -1
- package/components/CashierModal-BNtmC5_L.cjs +0 -1
- package/components/CashierPage-Ce2US2_i.js +0 -3951
- package/components/CashierPage-Dd9JdidT.cjs +0 -1
- package/components/CashierPage-g4TEdHpC.js +0 -3977
- package/components/CashierSessionExpirationModal-BCXqjFP1.cjs +0 -2
- package/components/CashierSessionExpirationModal-CUZEUmS8.js +0 -1187
- package/components/CashierSessionExpirationModal-VNg9En5U.js +0 -1187
- package/components/CashierVerifications-BvCSSDjh.cjs +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { d as Q, u as Xe, x as Ye } from "./CashierMethodDetails
|
|
1
|
+
import { a as Me, i as Te, $ as Le, S as ze, b as Oe, s as Be, f as A, c as Fe, G, e as T, V as M, k as L, m as C, o as c, p as Z, q as qe, N as Ee, y as Ie, A as H, X as J, a3 as Re, v as ne, l as p, x as se, W as U, n as F, w as ae, B as He, C as Ue, D as je, E as We, F as Ne } from "./CashierCarousel-BNKjZ4dF.js";
|
|
2
|
+
import { d as Q, u as Xe, x as Ye } from "./CashierMethodDetails--Ebwn4lg.js";
|
|
3
3
|
function $(r, i) {
|
|
4
|
-
|
|
4
|
+
Me(r, i);
|
|
5
5
|
}
|
|
6
6
|
function Ke(r) {
|
|
7
|
-
|
|
7
|
+
Te({
|
|
8
8
|
fallbackLocale: "en"
|
|
9
|
-
}),
|
|
9
|
+
}), Le.set(r);
|
|
10
10
|
}
|
|
11
11
|
const ee = {
|
|
12
12
|
en: {
|
|
@@ -46,29 +46,10 @@ const ee = {
|
|
|
46
46
|
"verification.shuftipro.link-name.Documents": "Documents",
|
|
47
47
|
"verification.shuftipro.link-name.ProofOfAddress": "Proof Of Address",
|
|
48
48
|
"verification.shuftipro.validations-started": "Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"
|
|
49
|
-
},
|
|
50
|
-
hr: {
|
|
51
|
-
verificationsRequired: "Potrebne su provjere",
|
|
52
|
-
"verification.video.how-to": "How to verify yourself?",
|
|
53
|
-
"verification.idenfy.referred-awaiting": "ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back",
|
|
54
|
-
"verification.message.failed": "We apologize, but we were unable to verify your account. Please contact support team",
|
|
55
|
-
"verification.idenfy.link-name": "link",
|
|
56
|
-
"verification.idenfy.in-progress": "To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification",
|
|
57
|
-
"verification.shuftipro.in-progress.Biometric": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.",
|
|
58
|
-
"verification.shuftipro.in-progress.Biometric.Documents": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.",
|
|
59
|
-
"verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.",
|
|
60
|
-
"verification.shuftipro.in-progress.Biometric.ProofOfAddress": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.",
|
|
61
|
-
"verification.shuftipro.in-progress.Documents": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.",
|
|
62
|
-
"verification.shuftipro.in-progress.Documents.ProofOfAddress": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.",
|
|
63
|
-
"verification.shuftipro.in-progress.ProofOfAddress": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.",
|
|
64
|
-
"verification.shuftipro.link-name.Biometric": "Biometric",
|
|
65
|
-
"verification.shuftipro.link-name.Documents": "Documents",
|
|
66
|
-
"verification.shuftipro.link-name.ProofOfAddress": "Proof Of Address",
|
|
67
|
-
"verification.shuftipro.validations-started": "After completing verification, please proceed with the transaction"
|
|
68
49
|
}
|
|
69
50
|
};
|
|
70
51
|
function Ge(r) {
|
|
71
|
-
|
|
52
|
+
Fe(r, "svelte-19ii49m", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}');
|
|
72
53
|
}
|
|
73
54
|
function ie(r, i, t) {
|
|
74
55
|
const n = r.slice();
|
|
@@ -81,17 +62,17 @@ function Ze(r) {
|
|
|
81
62
|
);
|
|
82
63
|
return {
|
|
83
64
|
c() {
|
|
84
|
-
i =
|
|
65
|
+
i = C("div"), t && t.c(), c(i, "class", "CashierVerificationsWrapper");
|
|
85
66
|
},
|
|
86
67
|
m(n, s) {
|
|
87
|
-
|
|
68
|
+
L(n, i, s), t && t.m(i, null);
|
|
88
69
|
},
|
|
89
70
|
p(n, s) {
|
|
90
71
|
/*displayMessages*/
|
|
91
72
|
n[3].length > 0 ? t ? t.p(n, s) : (t = te(n), t.c(), t.m(i, null)) : t && (t.d(1), t = null);
|
|
92
73
|
},
|
|
93
74
|
d(n) {
|
|
94
|
-
n &&
|
|
75
|
+
n && T(i), t && t.d();
|
|
95
76
|
}
|
|
96
77
|
};
|
|
97
78
|
}
|
|
@@ -99,7 +80,7 @@ function Je(r) {
|
|
|
99
80
|
let i;
|
|
100
81
|
return {
|
|
101
82
|
c() {
|
|
102
|
-
i =
|
|
83
|
+
i = C("cashier-spinner"), H(
|
|
103
84
|
i,
|
|
104
85
|
"clientstylingurl",
|
|
105
86
|
/*clientstylingurl*/
|
|
@@ -112,7 +93,7 @@ function Je(r) {
|
|
|
112
93
|
);
|
|
113
94
|
},
|
|
114
95
|
m(t, n) {
|
|
115
|
-
|
|
96
|
+
L(t, i, n);
|
|
116
97
|
},
|
|
117
98
|
p(t, n) {
|
|
118
99
|
n[0] & /*clientstylingurl*/
|
|
@@ -130,35 +111,35 @@ function Je(r) {
|
|
|
130
111
|
);
|
|
131
112
|
},
|
|
132
113
|
d(t) {
|
|
133
|
-
t &&
|
|
114
|
+
t && T(i);
|
|
134
115
|
}
|
|
135
116
|
};
|
|
136
117
|
}
|
|
137
118
|
function te(r) {
|
|
138
|
-
let i, t, n, s, a, d, g,
|
|
119
|
+
let i, t, n, s, a, d, g, S = (
|
|
139
120
|
/*$_*/
|
|
140
121
|
r[8]("verificationsRequired") + ""
|
|
141
|
-
), w, y, _, x, v, V,
|
|
122
|
+
), w, y, _, x, v, V, O, I, P = J(
|
|
142
123
|
/*displayMessages*/
|
|
143
124
|
r[3]
|
|
144
125
|
), h = [];
|
|
145
|
-
for (let f = 0; f <
|
|
146
|
-
h[f] = re(ie(r,
|
|
147
|
-
let
|
|
126
|
+
for (let f = 0; f < P.length; f += 1)
|
|
127
|
+
h[f] = re(ie(r, P, f));
|
|
128
|
+
let m = (
|
|
148
129
|
/*videoExists*/
|
|
149
130
|
r[6] && oe(r)
|
|
150
131
|
);
|
|
151
132
|
return {
|
|
152
133
|
c() {
|
|
153
|
-
i =
|
|
134
|
+
i = C("div"), t = U("svg"), n = U("path"), s = U("path"), a = U("path"), d = F(), g = C("p"), w = ae(S), y = F(), _ = C("span"), _.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', x = F(), v = C("div");
|
|
154
135
|
for (let f = 0; f < h.length; f += 1)
|
|
155
136
|
h[f].c();
|
|
156
|
-
V =
|
|
137
|
+
V = F(), m && m.c(), c(n, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), c(n, "stroke", "#6E738F"), c(n, "stroke-width", "2"), c(n, "stroke-linecap", "round"), c(n, "stroke-linejoin", "round"), c(s, "d", "M12 8V12"), c(s, "stroke", "#6E738F"), c(s, "stroke-width", "2"), c(s, "stroke-linecap", "round"), c(s, "stroke-linejoin", "round"), c(a, "d", "M12 16H12.01"), c(a, "stroke", "#6E738F"), c(a, "stroke-width", "2"), c(a, "stroke-linecap", "round"), c(a, "stroke-linejoin", "round"), c(t, "width", "24"), c(t, "height", "24"), c(t, "viewBox", "0 0 24 24"), c(t, "fill", "none"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(_, "class", "CashierVerificationChevron"), M(
|
|
157
138
|
_,
|
|
158
139
|
"ShowVerifications",
|
|
159
140
|
/*allVerificationsVisible*/
|
|
160
141
|
r[4]
|
|
161
|
-
),
|
|
142
|
+
), c(i, "class", "VerificationsHeader"), c(v, "class", "VerificationsList"), M(
|
|
162
143
|
v,
|
|
163
144
|
"ShowVerifications",
|
|
164
145
|
/*allVerificationsVisible*/
|
|
@@ -166,43 +147,43 @@ function te(r) {
|
|
|
166
147
|
);
|
|
167
148
|
},
|
|
168
149
|
m(f, b) {
|
|
169
|
-
|
|
150
|
+
L(f, i, b), p(i, t), p(t, n), p(t, s), p(t, a), p(i, d), p(i, g), p(g, w), p(i, y), p(i, _), L(f, x, b), L(f, v, b);
|
|
170
151
|
for (let u = 0; u < h.length; u += 1)
|
|
171
152
|
h[u] && h[u].m(v, null);
|
|
172
|
-
|
|
153
|
+
p(v, V), m && m.m(v, null), O || (I = se(
|
|
173
154
|
i,
|
|
174
155
|
"click",
|
|
175
156
|
/*toggleVerifications*/
|
|
176
157
|
r[9]
|
|
177
|
-
),
|
|
158
|
+
), O = !0);
|
|
178
159
|
},
|
|
179
160
|
p(f, b) {
|
|
180
161
|
if (b[0] & /*$_*/
|
|
181
|
-
256 &&
|
|
182
|
-
f[8]("verificationsRequired") + "") && ne(w,
|
|
183
|
-
16 &&
|
|
162
|
+
256 && S !== (S = /*$_*/
|
|
163
|
+
f[8]("verificationsRequired") + "") && ne(w, S), b[0] & /*allVerificationsVisible*/
|
|
164
|
+
16 && M(
|
|
184
165
|
_,
|
|
185
166
|
"ShowVerifications",
|
|
186
167
|
/*allVerificationsVisible*/
|
|
187
168
|
f[4]
|
|
188
169
|
), b[0] & /*displayMessages*/
|
|
189
170
|
8) {
|
|
190
|
-
|
|
171
|
+
P = J(
|
|
191
172
|
/*displayMessages*/
|
|
192
173
|
f[3]
|
|
193
174
|
);
|
|
194
175
|
let u;
|
|
195
|
-
for (u = 0; u <
|
|
196
|
-
const
|
|
197
|
-
h[u] ? h[u].p(
|
|
176
|
+
for (u = 0; u < P.length; u += 1) {
|
|
177
|
+
const B = ie(f, P, u);
|
|
178
|
+
h[u] ? h[u].p(B, b) : (h[u] = re(B), h[u].c(), h[u].m(v, V));
|
|
198
179
|
}
|
|
199
180
|
for (; u < h.length; u += 1)
|
|
200
181
|
h[u].d(1);
|
|
201
|
-
h.length =
|
|
182
|
+
h.length = P.length;
|
|
202
183
|
}
|
|
203
184
|
/*videoExists*/
|
|
204
|
-
f[6] ?
|
|
205
|
-
16 &&
|
|
185
|
+
f[6] ? m ? m.p(f, b) : (m = oe(f), m.c(), m.m(v, null)) : m && (m.d(1), m = null), b[0] & /*allVerificationsVisible*/
|
|
186
|
+
16 && M(
|
|
206
187
|
v,
|
|
207
188
|
"ShowVerifications",
|
|
208
189
|
/*allVerificationsVisible*/
|
|
@@ -210,7 +191,7 @@ function te(r) {
|
|
|
210
191
|
);
|
|
211
192
|
},
|
|
212
193
|
d(f) {
|
|
213
|
-
f && (
|
|
194
|
+
f && (T(i), T(x), T(v)), Re(h, f), m && m.d(), O = !1, I();
|
|
214
195
|
}
|
|
215
196
|
};
|
|
216
197
|
}
|
|
@@ -221,10 +202,10 @@ function re(r) {
|
|
|
221
202
|
);
|
|
222
203
|
return {
|
|
223
204
|
c() {
|
|
224
|
-
i =
|
|
205
|
+
i = C("div"), t = C("div"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', n = F(), s = C("p"), c(t, "class", "IconVerification"), c(s, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
|
|
225
206
|
},
|
|
226
207
|
m(d, g) {
|
|
227
|
-
|
|
208
|
+
L(d, i, g), p(i, t), p(i, n), p(i, s), s.innerHTML = a;
|
|
228
209
|
},
|
|
229
210
|
p(d, g) {
|
|
230
211
|
g[0] & /*displayMessages*/
|
|
@@ -232,7 +213,7 @@ function re(r) {
|
|
|
232
213
|
d[53] + "") && (s.innerHTML = a);
|
|
233
214
|
},
|
|
234
215
|
d(d) {
|
|
235
|
-
d &&
|
|
216
|
+
d && T(i);
|
|
236
217
|
}
|
|
237
218
|
};
|
|
238
219
|
}
|
|
@@ -240,18 +221,18 @@ function oe(r) {
|
|
|
240
221
|
let i, t, n, s, a = (
|
|
241
222
|
/*$_*/
|
|
242
223
|
r[8]("verification.video.how-to") + ""
|
|
243
|
-
), d, g,
|
|
224
|
+
), d, g, S;
|
|
244
225
|
return {
|
|
245
226
|
c() {
|
|
246
|
-
i =
|
|
227
|
+
i = C("div"), t = C("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', n = F(), s = C("div"), d = ae(a), c(t, "class", "IconVideo"), c(s, "class", "CashierVerificationVideoLink"), M(
|
|
247
228
|
s,
|
|
248
229
|
"CashierVerificationVideoLinkDesktop",
|
|
249
230
|
/*desktopView*/
|
|
250
231
|
r[5]
|
|
251
|
-
),
|
|
232
|
+
), c(i, "class", "CashierVerificationVideo Test");
|
|
252
233
|
},
|
|
253
234
|
m(w, y) {
|
|
254
|
-
|
|
235
|
+
L(w, i, y), p(i, t), p(i, n), p(i, s), p(s, d), g || (S = se(
|
|
255
236
|
i,
|
|
256
237
|
"click",
|
|
257
238
|
/*showVideo*/
|
|
@@ -262,7 +243,7 @@ function oe(r) {
|
|
|
262
243
|
y[0] & /*$_*/
|
|
263
244
|
256 && a !== (a = /*$_*/
|
|
264
245
|
w[8]("verification.video.how-to") + "") && ne(d, a), y[0] & /*desktopView*/
|
|
265
|
-
32 &&
|
|
246
|
+
32 && M(
|
|
266
247
|
s,
|
|
267
248
|
"CashierVerificationVideoLinkDesktop",
|
|
268
249
|
/*desktopView*/
|
|
@@ -270,7 +251,7 @@ function oe(r) {
|
|
|
270
251
|
);
|
|
271
252
|
},
|
|
272
253
|
d(w) {
|
|
273
|
-
w &&
|
|
254
|
+
w && T(i), g = !1, S();
|
|
274
255
|
}
|
|
275
256
|
};
|
|
276
257
|
}
|
|
@@ -291,7 +272,7 @@ function Qe(r) {
|
|
|
291
272
|
let n = t(r), s = n && n(r);
|
|
292
273
|
return {
|
|
293
274
|
c() {
|
|
294
|
-
i =
|
|
275
|
+
i = C("div"), s && s.c(), c(i, "class", "CashierVerifications"), M(
|
|
295
276
|
i,
|
|
296
277
|
"CashierVerificationsDesktop",
|
|
297
278
|
/*desktopView*/
|
|
@@ -299,11 +280,11 @@ function Qe(r) {
|
|
|
299
280
|
);
|
|
300
281
|
},
|
|
301
282
|
m(a, d) {
|
|
302
|
-
|
|
283
|
+
L(a, i, d), s && s.m(i, null), r[19](i);
|
|
303
284
|
},
|
|
304
285
|
p(a, d) {
|
|
305
286
|
n === (n = t(a)) && s ? s.p(a, d) : (s && s.d(1), s = n && n(a), s && (s.c(), s.m(i, null))), d[0] & /*desktopView*/
|
|
306
|
-
32 &&
|
|
287
|
+
32 && M(
|
|
307
288
|
i,
|
|
308
289
|
"CashierVerificationsDesktop",
|
|
309
290
|
/*desktopView*/
|
|
@@ -313,7 +294,7 @@ function Qe(r) {
|
|
|
313
294
|
i: G,
|
|
314
295
|
o: G,
|
|
315
296
|
d(a) {
|
|
316
|
-
a &&
|
|
297
|
+
a && T(i), s && s.d(), r[19](null);
|
|
317
298
|
}
|
|
318
299
|
};
|
|
319
300
|
}
|
|
@@ -321,11 +302,11 @@ const $e = "verification_explanation_video_widgets.MP4";
|
|
|
321
302
|
function ei(r, i, t) {
|
|
322
303
|
let n, s;
|
|
323
304
|
Z(r, Ne, (e) => t(8, n = e)), Z(r, Ye, (e) => t(27, s = e)), Q.extend(Xe);
|
|
324
|
-
let { endpoint: a } = i, { lang: d = "en" } = i, { translationurl: g = "" } = i, { clientstyling:
|
|
325
|
-
var
|
|
305
|
+
let { endpoint: a } = i, { lang: d = "en" } = i, { translationurl: g = "" } = i, { clientstyling: S = "" } = i, { clientstylingurl: w = "" } = i, { session: y = "" } = i, { customerid: _ = "" } = i, { playersession: x = "" } = i, { mbsource: v = "" } = i, V, O = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set(), P, h, m, f = !1, b = !0, u = !1, B = "", j = !1, le = window.navigator.userAgent;
|
|
306
|
+
var q;
|
|
326
307
|
(function(e) {
|
|
327
308
|
e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
|
|
328
|
-
})(
|
|
309
|
+
})(q || (q = {}));
|
|
329
310
|
var W;
|
|
330
311
|
(function(e) {
|
|
331
312
|
e.Requested = "Requested";
|
|
@@ -341,10 +322,10 @@ function ei(r, i, t) {
|
|
|
341
322
|
const X = (e) => {
|
|
342
323
|
e.data && e.data.type;
|
|
343
324
|
};
|
|
344
|
-
|
|
325
|
+
qe(() => (window.addEventListener("message", X), De(), () => {
|
|
345
326
|
window.removeEventListener("message", X);
|
|
346
327
|
}));
|
|
347
|
-
const
|
|
328
|
+
const ce = [
|
|
348
329
|
k.InProgress,
|
|
349
330
|
k.Referred,
|
|
350
331
|
k.AwaitingForResponse
|
|
@@ -352,8 +333,8 @@ function ei(r, i, t) {
|
|
|
352
333
|
let e = g;
|
|
353
334
|
if (e)
|
|
354
335
|
return fetch(e).then((o) => o.json()).then((o) => {
|
|
355
|
-
Object.keys(o).forEach((
|
|
356
|
-
$(
|
|
336
|
+
Object.keys(o).forEach((l) => {
|
|
337
|
+
$(l, o[l]);
|
|
357
338
|
});
|
|
358
339
|
}).catch((o) => {
|
|
359
340
|
console.log(o);
|
|
@@ -365,30 +346,30 @@ function ei(r, i, t) {
|
|
|
365
346
|
const de = () => {
|
|
366
347
|
Ke(d);
|
|
367
348
|
}, Y = () => {
|
|
368
|
-
t(18, h =
|
|
349
|
+
t(18, h = me());
|
|
369
350
|
const e = new URL(`${a}/v1/player/${_}/verification/GetKYCCustomerStatus?language=${d}`), o = new Headers();
|
|
370
351
|
o.append("accept", "application/json"), o.append("Content-Type", "application/json"), o.append("x-sessionid", `${x}`), o.append("X-Client-Request-Timestamp", Q.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
371
|
-
const
|
|
352
|
+
const l = {
|
|
372
353
|
method: "POST",
|
|
373
354
|
headers: o,
|
|
374
355
|
body: JSON.stringify({})
|
|
375
356
|
};
|
|
376
|
-
t(7, j = !0), fetch(e,
|
|
377
|
-
const N = ue(
|
|
378
|
-
|
|
379
|
-
R.VerificationUrlType !== "Widget" &&
|
|
380
|
-
}), t(3,
|
|
357
|
+
t(7, j = !0), fetch(e, l).then((D) => D.json()).then((D) => {
|
|
358
|
+
const N = ue(D?.Verifications);
|
|
359
|
+
P = pe(N), P.VerificationStatuses.forEach((R) => {
|
|
360
|
+
R.VerificationUrlType !== "Widget" && O.add(R.Vendor);
|
|
361
|
+
}), t(3, m = ye());
|
|
381
362
|
}).finally(() => t(7, j = !1));
|
|
382
|
-
}, ue = (e) => e ? e.sort((o,
|
|
363
|
+
}, ue = (e) => e ? e.sort((o, l) => new Date(l.Created).getTime() - new Date(o.Created).getTime()) : [], he = () => {
|
|
383
364
|
s && Y();
|
|
384
|
-
},
|
|
365
|
+
}, me = () => {
|
|
385
366
|
let e = (y || s).split(".")[1];
|
|
386
367
|
if (e) {
|
|
387
368
|
let o = JSON.parse(atob(e));
|
|
388
369
|
return o.cdn + "/cashier/operator-assets/" + o?.mid;
|
|
389
370
|
}
|
|
390
371
|
return "";
|
|
391
|
-
},
|
|
372
|
+
}, pe = (e) => {
|
|
392
373
|
if (!e || !e.length)
|
|
393
374
|
return {
|
|
394
375
|
VerificationSummaryStatus: k.Unverified,
|
|
@@ -396,34 +377,34 @@ function ei(r, i, t) {
|
|
|
396
377
|
};
|
|
397
378
|
const o = ve(e);
|
|
398
379
|
if (o && o.length) {
|
|
399
|
-
const
|
|
380
|
+
const l = ge(o);
|
|
400
381
|
return {
|
|
401
|
-
VerificationSummaryStatus:
|
|
402
|
-
VerificationUrl:
|
|
403
|
-
VerificationStatuses: K(o,
|
|
382
|
+
VerificationSummaryStatus: l.Status,
|
|
383
|
+
VerificationUrl: l.Flags?.DeferredUrlKey,
|
|
384
|
+
VerificationStatuses: K(o, l.Status)
|
|
404
385
|
};
|
|
405
386
|
} else
|
|
406
387
|
return {
|
|
407
|
-
VerificationSummaryStatus: e.some((
|
|
388
|
+
VerificationSummaryStatus: e.some((D) => D.Status === k.Failed) ? k.Failed : k.Verified,
|
|
408
389
|
VerificationStatuses: K(e, [k.Failed])
|
|
409
390
|
};
|
|
410
391
|
}, ge = (e) => e.reduce(
|
|
411
|
-
(o,
|
|
392
|
+
(o, l) => o ? new Date(o) < new Date(l) ? l : o : l,
|
|
412
393
|
0
|
|
413
|
-
), K = (e, o) => e.filter((
|
|
414
|
-
Type:
|
|
415
|
-
Vendor:
|
|
416
|
-
VerificationDocuments:
|
|
417
|
-
VerificationUrlType:
|
|
418
|
-
VerificationUrl:
|
|
419
|
-
})), ve = (e) => e.filter((o) =>
|
|
420
|
-
const o = e.Documents && e.VendorName ===
|
|
421
|
-
return o &&
|
|
422
|
-
}, ke = (e) => e.VendorName ===
|
|
423
|
-
switch (
|
|
394
|
+
), K = (e, o) => e.filter((l) => o.includes(l.Status)).map((l) => ({
|
|
395
|
+
Type: l.Type,
|
|
396
|
+
Vendor: l.VendorName,
|
|
397
|
+
VerificationDocuments: l.Documents ? [...l.Documents] : [],
|
|
398
|
+
VerificationUrlType: l.FlowInfo?.Type,
|
|
399
|
+
VerificationUrl: l.FlowInfo?.Url
|
|
400
|
+
})), ve = (e) => e.filter((o) => ce.includes(o.Status) ? o.FlowInfo && o.FlowInfo.Url || we(o) || ke(o) : !1), we = (e) => {
|
|
401
|
+
const o = e.Documents && e.VendorName === q.Manual, l = e.Documents && e.Documents.some((D) => D.Status === W.Requested);
|
|
402
|
+
return o && l;
|
|
403
|
+
}, ke = (e) => e.VendorName === q.ShuftiPro && e.Status === k.Referred, ye = () => {
|
|
404
|
+
switch (P.VerificationSummaryStatus) {
|
|
424
405
|
case k.InProgress:
|
|
425
406
|
const e = [];
|
|
426
|
-
return
|
|
407
|
+
return O.forEach((o) => {
|
|
427
408
|
e.push(Ve(o));
|
|
428
409
|
}), e;
|
|
429
410
|
case k.Referred:
|
|
@@ -432,34 +413,34 @@ function ei(r, i, t) {
|
|
|
432
413
|
return [n("verification.message.failed")];
|
|
433
414
|
}
|
|
434
415
|
}, Ve = (e) => {
|
|
435
|
-
const o =
|
|
436
|
-
if (e ===
|
|
416
|
+
const o = P.VerificationStatuses.filter((l) => l.Vendor === e);
|
|
417
|
+
if (e === q.ShuftiPro)
|
|
437
418
|
return be(o);
|
|
438
419
|
{
|
|
439
|
-
const
|
|
440
|
-
link: `<a href="${o[0].VerificationUrl}" target="_blank">${
|
|
420
|
+
const l = n("verification.idenfy.link-name"), D = {
|
|
421
|
+
link: `<a href="${o[0].VerificationUrl}" target="_blank">${l}</a>`
|
|
441
422
|
};
|
|
442
|
-
return n("verification.idenfy.in-progress", { values:
|
|
423
|
+
return n("verification.idenfy.in-progress", { values: D });
|
|
443
424
|
}
|
|
444
425
|
}, be = (e) => {
|
|
445
|
-
const o = [],
|
|
426
|
+
const o = [], l = {}, D = [
|
|
446
427
|
E.Biometric,
|
|
447
428
|
E.Documents,
|
|
448
429
|
E.ProofOfAddress
|
|
449
430
|
];
|
|
450
|
-
e.forEach((
|
|
451
|
-
|
|
431
|
+
e.forEach((z) => {
|
|
432
|
+
D.includes(z.Type) && (o.push(z.Type), l[z.Type] = Ce(z, Se(z.Type)));
|
|
452
433
|
});
|
|
453
|
-
let N = o.every((
|
|
454
|
-
return N ? n("verification.shuftipro.validations-started") : n(R, { values:
|
|
455
|
-
},
|
|
434
|
+
let N = o.every((z) => I.has(z)), R = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
|
|
435
|
+
return N ? n("verification.shuftipro.validations-started") : n(R, { values: l });
|
|
436
|
+
}, Ce = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, Se = (e) => n(`verification.shuftipro.link-name.${e}`), Pe = () => {
|
|
456
437
|
t(4, f = !f);
|
|
457
|
-
},
|
|
458
|
-
t(5, b = !Ee(
|
|
438
|
+
}, De = () => {
|
|
439
|
+
t(5, b = !Ee(le));
|
|
459
440
|
}, _e = () => {
|
|
460
|
-
|
|
441
|
+
B = h + "/" + d + "/" + $e;
|
|
461
442
|
try {
|
|
462
|
-
fetch(
|
|
443
|
+
fetch(B, { method: "HEAD" }).then((e) => {
|
|
463
444
|
t(6, u = e.ok);
|
|
464
445
|
});
|
|
465
446
|
} catch {
|
|
@@ -469,7 +450,7 @@ function ei(r, i, t) {
|
|
|
469
450
|
window.dispatchEvent(new CustomEvent(
|
|
470
451
|
"modal-update",
|
|
471
452
|
{
|
|
472
|
-
detail: { type: "video", data: { videoSrc:
|
|
453
|
+
detail: { type: "video", data: { videoSrc: B } }
|
|
473
454
|
}
|
|
474
455
|
));
|
|
475
456
|
};
|
|
@@ -479,28 +460,28 @@ function ei(r, i, t) {
|
|
|
479
460
|
});
|
|
480
461
|
}
|
|
481
462
|
return r.$$set = (e) => {
|
|
482
|
-
"endpoint" in e && t(11, a = e.endpoint), "lang" in e && t(12, d = e.lang), "translationurl" in e && t(13, g = e.translationurl), "clientstyling" in e && t(0,
|
|
463
|
+
"endpoint" in e && t(11, a = e.endpoint), "lang" in e && t(12, d = e.lang), "translationurl" in e && t(13, g = e.translationurl), "clientstyling" in e && t(0, S = e.clientstyling), "clientstylingurl" in e && t(1, w = e.clientstylingurl), "session" in e && t(14, y = e.session), "customerid" in e && t(15, _ = e.customerid), "playersession" in e && t(16, x = e.playersession), "mbsource" in e && t(17, v = e.mbsource);
|
|
483
464
|
}, r.$$.update = () => {
|
|
484
465
|
r.$$.dirty[0] & /*lang*/
|
|
485
466
|
4096 && d && de(), r.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
486
467
|
83968 && a && y && x && Y(), r.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
487
468
|
83968 && a && !y && x && he(), r.$$.dirty[0] & /*translationurl*/
|
|
488
469
|
8192 && g && fe(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
489
|
-
5 &&
|
|
470
|
+
5 && S && V && He(V, S), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
490
471
|
6 && w && V && Ue(V, w), r.$$.dirty[0] & /*staticCdnUrl*/
|
|
491
472
|
262144 && h && _e(), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
492
473
|
131076 && v && V && je(V, `${v}.Style`);
|
|
493
474
|
}, [
|
|
494
|
-
|
|
475
|
+
S,
|
|
495
476
|
w,
|
|
496
477
|
V,
|
|
497
|
-
|
|
478
|
+
m,
|
|
498
479
|
f,
|
|
499
480
|
b,
|
|
500
481
|
u,
|
|
501
482
|
j,
|
|
502
483
|
n,
|
|
503
|
-
|
|
484
|
+
Pe,
|
|
504
485
|
xe,
|
|
505
486
|
a,
|
|
506
487
|
d,
|
|
@@ -513,14 +494,14 @@ function ei(r, i, t) {
|
|
|
513
494
|
Ae
|
|
514
495
|
];
|
|
515
496
|
}
|
|
516
|
-
class ii extends
|
|
497
|
+
class ii extends ze {
|
|
517
498
|
constructor(i) {
|
|
518
|
-
super(),
|
|
499
|
+
super(), Oe(
|
|
519
500
|
this,
|
|
520
501
|
i,
|
|
521
502
|
ei,
|
|
522
503
|
Qe,
|
|
523
|
-
|
|
504
|
+
Be,
|
|
524
505
|
{
|
|
525
506
|
endpoint: 11,
|
|
526
507
|
lang: 12,
|