@everymatrix/cashier-page 1.63.2 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CashierConfirmModal-sI8AKckC.js → CashierConfirmModal-4RYp7Eiq.js} +285 -304
- package/components/CashierConfirmModal-DMmJumcl.cjs +4 -0
- package/components/{CashierConfirmModal-D-5CwHBA.js → CashierConfirmModal-untxGhsx.js} +152 -171
- package/components/{CashierError-ChvIhij4.cjs → CashierError-BD3PpAT9.cjs} +3 -3
- package/components/{CashierError-7Ot8GFHL.js → CashierError-DHzuwwQu.js} +4 -3
- package/components/{CashierError-Dcf1i1i-.js → CashierError-bKWdh6zs.js} +4 -3
- package/components/{CashierHeader-DnmOCyY5.js → CashierHeader-BDMjFf0S.js} +2 -2
- package/components/{CashierHeader-Btl5G1aW.js → CashierHeader-C85_EOkn.js} +2 -2
- package/components/{CashierHeader-xBZmd3xD.cjs → CashierHeader-DUIiJ1ma.cjs} +1 -1
- package/components/{CashierIframeRedirect-iRpGhBuO.js → CashierIframeRedirect-BZxYVcmF.js} +4 -4
- package/components/{CashierIframeRedirect-lBzX1iUX.cjs → CashierIframeRedirect-C3fjCJfm.cjs} +1 -1
- package/components/{CashierIframeRedirect-_jhy32eh.js → CashierIframeRedirect-CptFS2B0.js} +4 -4
- package/components/{CashierMethodDetails-DatXAL1v.js → CashierMethodDetails-B8ZN94ja.js} +2548 -2559
- package/components/{CashierMethodDetails-jk5GNqET.js → CashierMethodDetails-L1ZnAwA1.js} +2015 -1998
- package/components/CashierMethodDetails-lGOSlmya.cjs +18 -0
- package/components/CashierMethodsList-BcBzNfKT.cjs +1 -0
- package/components/CashierMethodsList-CNCrMZ4g.js +882 -0
- package/components/CashierMethodsList-CmF_WTB-.js +871 -0
- package/components/{CashierModal-BoglqxPv.js → CashierModal-BrwIBn9a.js} +14 -14
- package/components/{CashierModal-BhCdxWcE.cjs → CashierModal-BuM2Yq-y.cjs} +1 -1
- package/components/{CashierModal-6CTryAQJ.js → CashierModal-ZfKvGxFq.js} +11 -11
- package/components/{CashierNotifications-BVAanyOB.cjs → CashierNotifications-BLJS7gpv.cjs} +1 -1
- package/components/{CashierNotifications-GwlCZVnm.js → CashierNotifications-C48iLynX.js} +1 -1
- package/components/{CashierNotifications-BFj3fQud.js → CashierNotifications-dn6rnyK_.js} +1 -1
- package/components/CashierPage-B453tZx8.cjs +1 -0
- package/components/{CashierPage-V2NAWvNg.js → CashierPage-ClJcMBDB.js} +1128 -1109
- package/components/{CashierPage-B1G7PQOG.js → CashierPage-D8D89xo-.js} +1128 -1109
- package/components/{CashierReceiptPage-BA00H-2d.cjs → CashierReceiptPage-BO4QXf-M.cjs} +1 -1
- package/components/{CashierReceiptPage-CG0IVSDJ.js → CashierReceiptPage-BPED3qt4.js} +21 -27
- package/components/{CashierReceiptPage-D4IgTNIg.js → CashierReceiptPage-otjaMyRe.js} +21 -27
- package/components/{CashierSessionExpirationModal-CHPU1aRa.js → CashierSessionExpirationModal-BQFyVDBj.js} +430 -428
- package/components/CashierSessionExpirationModal-Ckg5tH-9.cjs +2 -0
- package/components/{CashierSessionExpirationModal-DV8r-804.js → CashierSessionExpirationModal-DAWM1xQ6.js} +452 -450
- package/components/{CashierSpinner-DO1yLcR1.js → CashierSpinner-C-ubAde7.js} +1 -1
- package/components/{CashierSpinner-H763izjz.cjs → CashierSpinner-D-uP0nCc.cjs} +1 -1
- package/components/{CashierSpinner-bxbp3WK6.js → CashierSpinner-tLPMJx6q.js} +1 -1
- package/components/{CashierTransactionHistory-DyQIw9U2.cjs → CashierTransactionHistory-BiM02fXh.cjs} +1 -1
- package/components/{CashierTransactionHistory-Dxq24rfR.js → CashierTransactionHistory-Bugs_tmN.js} +13 -13
- package/components/{CashierTransactionHistory-DuD_IPSM.js → CashierTransactionHistory-Cd3pN70W.js} +13 -13
- package/components/{CashierVerifications-CLeYFnf-.cjs → CashierVerifications-4hUquQj9.cjs} +1 -1
- package/components/{CashierVerifications-BXoRLAWe.js → CashierVerifications-BL3E_m40.js} +191 -194
- package/components/{CashierVerifications-AI2HHaYS.js → CashierVerifications-Ckv8ml82.js} +208 -211
- package/components/CashierVideoModal-BZg_b6bd.cjs +1 -0
- package/components/{CashierVideoModal-CVEk7pqo.js → CashierVideoModal-CVDvqrcy.js} +17 -17
- package/components/{CashierVideoModal-BGKXfmt9.js → CashierVideoModal-DHNu0BQz.js} +17 -17
- 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/stencil/{index-97d17652-C616IYj2.js → index-97d17652-BEnqZAxL.js} +1 -1
- package/stencil/{index-97d17652-C9Ph2JiE.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
- package/stencil/{index-97d17652-B8yQdy7J.js → index-97d17652-WK_DbPS4.js} +1 -1
- package/stencil/{ui-image-Bz0nQwNJ.cjs → ui-image-CMb1eK44.cjs} +1 -1
- package/stencil/{ui-image-DX8NqsyA.js → ui-image-CQQDA5b0.js} +1 -1
- package/stencil/{ui-image-o9dMcntc.js → ui-image-CmwNU-jf.js} +1 -1
- package/stencil/{ui-image-7da92f1f-26DzsVFt.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
- package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
- package/stencil/{ui-image-7da92f1f-BAghvEDf.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
- package/stencil/{ui-image_2-Cyqb4u7k.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-BXgptLvl.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-Cctik3aF.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/components/CashierConfirmModal-BVT51ZOp.cjs +0 -4
- package/components/CashierMethodDetails-DLhEFjxf.cjs +0 -18
- package/components/CashierMethodsList-C0IZmP3U.js +0 -760
- package/components/CashierMethodsList-DfKVl2ns.js +0 -749
- package/components/CashierMethodsList-PDEbBRc7.cjs +0 -1
- package/components/CashierPage-DuVl1Vzu.cjs +0 -1
- package/components/CashierSessionExpirationModal-B3thCy2R.cjs +0 -2
- package/components/CashierVideoModal-CjR0Fzuu.cjs +0 -1
- package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
import { a as
|
|
3
|
-
import { d as
|
|
4
|
-
function
|
|
5
|
-
|
|
1
|
+
import { S as Ae, b as Oe, s as Me, f as D, c as Te, n as J, e as S, J as M, m as _, p as y, v as P, w as Z, K as X, L as Be, D as C, q as O, A as Le, o as k, B as R, y as qe, z as xe, E as Fe } from "./CashierConfirmModal-4RYp7Eiq.js";
|
|
2
|
+
import { a as Ie, i as ze, $ as Ee, b as Ue } from "./CashierError-bKWdh6zs.js";
|
|
3
|
+
import { d as Q, u as Re, x as He } from "./CashierMethodDetails-L1ZnAwA1.js";
|
|
4
|
+
function $(t, i) {
|
|
5
|
+
Ie(t, i);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
7
|
+
function je(t) {
|
|
8
|
+
ze({
|
|
9
9
|
fallbackLocale: "en"
|
|
10
10
|
}), Ee.set(t);
|
|
11
11
|
}
|
|
12
|
-
const
|
|
12
|
+
const ee = {
|
|
13
13
|
en: {
|
|
14
14
|
"verification.video.how-to": "How to verify yourself",
|
|
15
15
|
"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",
|
|
@@ -70,41 +70,41 @@ if (typeof window != "undefined") {
|
|
|
70
70
|
return function(...r) {
|
|
71
71
|
try {
|
|
72
72
|
return i.apply(this, r);
|
|
73
|
-
} catch (
|
|
74
|
-
if (
|
|
73
|
+
} catch (n) {
|
|
74
|
+
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
75
75
|
return !1;
|
|
76
|
-
throw
|
|
76
|
+
throw n;
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
};
|
|
80
|
-
customElements.define = t(customElements.define), import("./CashierVideoModal-
|
|
80
|
+
customElements.define = t(customElements.define), import("./CashierVideoModal-DHNu0BQz.js").then(({ default: i }) => {
|
|
81
81
|
!customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", i.element);
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
|
|
84
|
+
function Ne(t) {
|
|
85
|
+
Te(t, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);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}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);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:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
const
|
|
89
|
-
return
|
|
87
|
+
function ie(t, i, r) {
|
|
88
|
+
const n = t.slice();
|
|
89
|
+
return n[51] = i[r], n[53] = r, n;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
let i, r,
|
|
91
|
+
function te(t) {
|
|
92
|
+
let i, r, n, l, d = X(
|
|
93
93
|
/*displayMessages*/
|
|
94
94
|
t[4]
|
|
95
|
-
),
|
|
96
|
-
for (let a = 0; a <
|
|
97
|
-
|
|
95
|
+
), f = [];
|
|
96
|
+
for (let a = 0; a < d.length; a += 1)
|
|
97
|
+
f[a] = oe(ie(t, d, a));
|
|
98
98
|
let h = (
|
|
99
99
|
/*videoExists*/
|
|
100
|
-
t[7] &&
|
|
100
|
+
t[7] && se(t)
|
|
101
101
|
);
|
|
102
102
|
return {
|
|
103
103
|
c() {
|
|
104
|
-
i =
|
|
105
|
-
for (let a = 0; a <
|
|
106
|
-
|
|
107
|
-
r = O(), h && h.c(),
|
|
104
|
+
i = y("div");
|
|
105
|
+
for (let a = 0; a < f.length; a += 1)
|
|
106
|
+
f[a].c();
|
|
107
|
+
r = O(), h && h.c(), n = O(), l = y("cashier-video-modal"), P(i, "class", "CashierVerificationsWrapper"), C(
|
|
108
108
|
l,
|
|
109
109
|
"clientstylingurl",
|
|
110
110
|
/*clientstylingurl*/
|
|
@@ -127,29 +127,29 @@ function $(t) {
|
|
|
127
127
|
);
|
|
128
128
|
},
|
|
129
129
|
m(a, u) {
|
|
130
|
-
|
|
131
|
-
for (let
|
|
132
|
-
|
|
133
|
-
|
|
130
|
+
_(a, i, u);
|
|
131
|
+
for (let s = 0; s < f.length; s += 1)
|
|
132
|
+
f[s] && f[s].m(i, null);
|
|
133
|
+
_(a, r, u), h && h.m(a, u), _(a, n, u), _(a, l, u);
|
|
134
134
|
},
|
|
135
135
|
p(a, u) {
|
|
136
136
|
if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
|
|
137
137
|
1072) {
|
|
138
|
-
|
|
138
|
+
d = X(
|
|
139
139
|
/*displayMessages*/
|
|
140
140
|
a[4]
|
|
141
141
|
);
|
|
142
|
-
let
|
|
143
|
-
for (
|
|
144
|
-
const
|
|
145
|
-
|
|
142
|
+
let s;
|
|
143
|
+
for (s = 0; s < d.length; s += 1) {
|
|
144
|
+
const V = ie(a, d, s);
|
|
145
|
+
f[s] ? f[s].p(V, u) : (f[s] = oe(V), f[s].c(), f[s].m(i, null));
|
|
146
146
|
}
|
|
147
|
-
for (;
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
for (; s < f.length; s += 1)
|
|
148
|
+
f[s].d(1);
|
|
149
|
+
f.length = d.length;
|
|
150
150
|
}
|
|
151
151
|
/*videoExists*/
|
|
152
|
-
a[7] ? h ? h.p(a, u) : (h =
|
|
152
|
+
a[7] ? h ? h.p(a, u) : (h = se(a), h.c(), h.m(n.parentNode, n)) : h && (h.d(1), h = null), u[0] & /*clientstylingurl*/
|
|
153
153
|
2 && C(
|
|
154
154
|
l,
|
|
155
155
|
"clientstylingurl",
|
|
@@ -176,74 +176,74 @@ function $(t) {
|
|
|
176
176
|
);
|
|
177
177
|
},
|
|
178
178
|
d(a) {
|
|
179
|
-
a && (
|
|
179
|
+
a && (S(i), S(r), S(n), S(l)), Be(f, a), h && h.d(a);
|
|
180
180
|
}
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
|
-
function
|
|
184
|
-
let i, r,
|
|
185
|
-
function l(...
|
|
183
|
+
function re(t) {
|
|
184
|
+
let i, r, n;
|
|
185
|
+
function l(...d) {
|
|
186
186
|
return (
|
|
187
187
|
/*click_handler*/
|
|
188
188
|
t[18](
|
|
189
189
|
/*index*/
|
|
190
|
-
t[
|
|
191
|
-
...
|
|
190
|
+
t[53],
|
|
191
|
+
...d
|
|
192
192
|
)
|
|
193
193
|
);
|
|
194
194
|
}
|
|
195
195
|
return {
|
|
196
196
|
c() {
|
|
197
|
-
i =
|
|
197
|
+
i = y("span"), i.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', P(i, "class", "CashierVerificationChevron");
|
|
198
198
|
},
|
|
199
|
-
m(
|
|
200
|
-
|
|
199
|
+
m(d, f) {
|
|
200
|
+
_(d, i, f), r || (n = R(i, "click", l), r = !0);
|
|
201
201
|
},
|
|
202
|
-
p(
|
|
203
|
-
t =
|
|
202
|
+
p(d, f) {
|
|
203
|
+
t = d;
|
|
204
204
|
},
|
|
205
|
-
d(
|
|
206
|
-
|
|
205
|
+
d(d) {
|
|
206
|
+
d && S(i), r = !1, n();
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
let i, r,
|
|
210
|
+
function oe(t) {
|
|
211
|
+
let i, r, n, l, d = (
|
|
212
212
|
/*message*/
|
|
213
|
-
t[
|
|
214
|
-
),
|
|
213
|
+
t[51] + ""
|
|
214
|
+
), f, h, a, u, s = (
|
|
215
215
|
/*displayMessages*/
|
|
216
216
|
t[4].length > 1 && /*index*/
|
|
217
|
-
t[
|
|
217
|
+
t[53] === 0 && re(t)
|
|
218
218
|
);
|
|
219
|
-
function
|
|
219
|
+
function V(...v) {
|
|
220
220
|
return (
|
|
221
221
|
/*click_handler_1*/
|
|
222
222
|
t[19](
|
|
223
223
|
/*index*/
|
|
224
|
-
t[
|
|
225
|
-
...
|
|
224
|
+
t[53],
|
|
225
|
+
...v
|
|
226
226
|
)
|
|
227
227
|
);
|
|
228
228
|
}
|
|
229
229
|
return {
|
|
230
230
|
c() {
|
|
231
|
-
i =
|
|
231
|
+
i = y("div"), r = y("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', n = O(), l = y("p"), f = O(), s && s.c(), h = O(), P(r, "class", "IconVerification"), P(l, "class", "text"), P(i, "class", "CashierVerificationMessage"), M(
|
|
232
232
|
i,
|
|
233
233
|
"ShowAll",
|
|
234
234
|
/*allVerificationsVisible*/
|
|
235
235
|
t[5]
|
|
236
236
|
);
|
|
237
237
|
},
|
|
238
|
-
m(
|
|
239
|
-
|
|
238
|
+
m(v, g) {
|
|
239
|
+
_(v, i, g), k(i, r), k(i, n), k(i, l), l.innerHTML = d, k(i, f), s && s.m(i, null), k(i, h), a || (u = R(i, "click", V), a = !0);
|
|
240
240
|
},
|
|
241
|
-
p(
|
|
242
|
-
t =
|
|
243
|
-
16 &&
|
|
244
|
-
t[
|
|
241
|
+
p(v, g) {
|
|
242
|
+
t = v, g[0] & /*displayMessages*/
|
|
243
|
+
16 && d !== (d = /*message*/
|
|
244
|
+
t[51] + "") && (l.innerHTML = d), /*displayMessages*/
|
|
245
245
|
t[4].length > 1 && /*index*/
|
|
246
|
-
t[
|
|
246
|
+
t[53] === 0 ? s ? s.p(t, g) : (s = re(t), s.c(), s.m(i, h)) : s && (s.d(1), s = null), g[0] & /*allVerificationsVisible*/
|
|
247
247
|
32 && M(
|
|
248
248
|
i,
|
|
249
249
|
"ShowAll",
|
|
@@ -251,37 +251,37 @@ function ie(t) {
|
|
|
251
251
|
t[5]
|
|
252
252
|
);
|
|
253
253
|
},
|
|
254
|
-
d(
|
|
255
|
-
|
|
254
|
+
d(v) {
|
|
255
|
+
v && S(i), s && s.d(), a = !1, u();
|
|
256
256
|
}
|
|
257
257
|
};
|
|
258
258
|
}
|
|
259
|
-
function
|
|
260
|
-
let i, r,
|
|
259
|
+
function se(t) {
|
|
260
|
+
let i, r, n, l, d = (
|
|
261
261
|
/*$_*/
|
|
262
262
|
t[9]("verification.video.how-to") + ""
|
|
263
|
-
),
|
|
263
|
+
), f, h, a;
|
|
264
264
|
return {
|
|
265
265
|
c() {
|
|
266
|
-
i =
|
|
266
|
+
i = y("div"), r = y("div"), r.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 = O(), l = y("div"), f = xe(d), P(r, "class", "IconVideo"), P(l, "class", "CashierVerificationVideoLink"), M(
|
|
267
267
|
l,
|
|
268
268
|
"CashierVerificationVideoLinkDesktop",
|
|
269
269
|
/*desktopView*/
|
|
270
270
|
t[6]
|
|
271
|
-
),
|
|
271
|
+
), P(i, "class", "CashierVerificationVideo");
|
|
272
272
|
},
|
|
273
|
-
m(u,
|
|
274
|
-
|
|
273
|
+
m(u, s) {
|
|
274
|
+
_(u, i, s), k(i, r), k(i, n), k(i, l), k(l, f), h || (a = R(
|
|
275
275
|
l,
|
|
276
276
|
"click",
|
|
277
277
|
/*click_handler_2*/
|
|
278
278
|
t[20]
|
|
279
279
|
), h = !0);
|
|
280
280
|
},
|
|
281
|
-
p(u,
|
|
282
|
-
|
|
283
|
-
512 &&
|
|
284
|
-
u[9]("verification.video.how-to") + "") &&
|
|
281
|
+
p(u, s) {
|
|
282
|
+
s[0] & /*$_*/
|
|
283
|
+
512 && d !== (d = /*$_*/
|
|
284
|
+
u[9]("verification.video.how-to") + "") && qe(f, d), s[0] & /*desktopView*/
|
|
285
285
|
64 && M(
|
|
286
286
|
l,
|
|
287
287
|
"CashierVerificationVideoLinkDesktop",
|
|
@@ -290,104 +290,104 @@ function te(t) {
|
|
|
290
290
|
);
|
|
291
291
|
},
|
|
292
292
|
d(u) {
|
|
293
|
-
u &&
|
|
293
|
+
u && S(i), h = !1, a();
|
|
294
294
|
}
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function Ke(t) {
|
|
298
298
|
let i, r = (
|
|
299
299
|
/*displayMessages*/
|
|
300
|
-
t[4] &&
|
|
300
|
+
t[4] && te(t)
|
|
301
301
|
);
|
|
302
302
|
return {
|
|
303
303
|
c() {
|
|
304
|
-
i =
|
|
304
|
+
i = y("div"), r && r.c(), P(i, "class", "CashierVerifications"), M(
|
|
305
305
|
i,
|
|
306
306
|
"CashierVerificationsDesktop",
|
|
307
307
|
/*desktopView*/
|
|
308
308
|
t[6]
|
|
309
309
|
);
|
|
310
310
|
},
|
|
311
|
-
m(
|
|
312
|
-
|
|
311
|
+
m(n, l) {
|
|
312
|
+
_(n, i, l), r && r.m(i, null), t[21](i);
|
|
313
313
|
},
|
|
314
|
-
p(
|
|
314
|
+
p(n, l) {
|
|
315
315
|
/*displayMessages*/
|
|
316
|
-
|
|
316
|
+
n[4] ? r ? r.p(n, l) : (r = te(n), r.c(), r.m(i, null)) : r && (r.d(1), r = null), l[0] & /*desktopView*/
|
|
317
317
|
64 && M(
|
|
318
318
|
i,
|
|
319
319
|
"CashierVerificationsDesktop",
|
|
320
320
|
/*desktopView*/
|
|
321
|
-
|
|
321
|
+
n[6]
|
|
322
322
|
);
|
|
323
323
|
},
|
|
324
|
-
i:
|
|
325
|
-
o:
|
|
326
|
-
d(
|
|
327
|
-
|
|
324
|
+
i: J,
|
|
325
|
+
o: J,
|
|
326
|
+
d(n) {
|
|
327
|
+
n && S(i), r && r.d(), t[21](null);
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
const
|
|
332
|
-
function
|
|
333
|
-
let
|
|
334
|
-
|
|
335
|
-
let { endpoint:
|
|
331
|
+
const We = "verification_explanation_video_widgets.MP4";
|
|
332
|
+
function Ye(t, i, r) {
|
|
333
|
+
let n, l;
|
|
334
|
+
Z(t, Ue, (e) => r(9, n = e)), Z(t, He, (e) => r(27, l = e)), Q.extend(Re);
|
|
335
|
+
let { endpoint: d } = i, { lang: f = "en" } = i, { translationurl: h = "" } = i, { clientstyling: a = "" } = i, { clientstylingurl: u = "" } = i, { session: s = "" } = i, { customerid: V = "" } = i, { ismobileview: v = "" } = i, g, H = /* @__PURE__ */ new Set(), j = /* @__PURE__ */ new Set(), L, q, x, F = !0, N = !0, I = !1, z = "";
|
|
336
336
|
var T;
|
|
337
337
|
(function(e) {
|
|
338
338
|
e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
|
|
339
339
|
})(T || (T = {}));
|
|
340
|
-
var
|
|
340
|
+
var E;
|
|
341
341
|
(function(e) {
|
|
342
342
|
e.Requested = "Requested";
|
|
343
|
-
})(
|
|
344
|
-
var
|
|
343
|
+
})(E || (E = {}));
|
|
344
|
+
var p;
|
|
345
345
|
(function(e) {
|
|
346
346
|
e.Unknown = "Unknown", e.Unverified = "Unverified", e.InProgress = "InProgress", e.Failed = "Failed", e.Verified = "Verified", e.Referred = "Referred", e.True = "True", e.False = "False", e.AwaitingForResponse = "AwaitingForResponse";
|
|
347
|
-
})(
|
|
347
|
+
})(p || (p = {}));
|
|
348
348
|
var B;
|
|
349
349
|
(function(e) {
|
|
350
350
|
e.Unknown = "Unknown", e.Documents = "Documents", e.Age = "Age", e.Pep = "Pep", e.Sanction = "Sanction", e.Aml = "Aml", e.ProofOfAddress = "ProofOfAddress", e.SourceOfWealth = "SourceOfWealth", e.SocialMedia = "SocialMedia", e.Biometric = "Biometric";
|
|
351
351
|
})(B || (B = {}));
|
|
352
|
-
const
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
],
|
|
357
|
-
let e =
|
|
352
|
+
const ne = [
|
|
353
|
+
p.InProgress,
|
|
354
|
+
p.Referred,
|
|
355
|
+
p.AwaitingForResponse
|
|
356
|
+
], ae = () => {
|
|
357
|
+
let e = h;
|
|
358
358
|
if (e)
|
|
359
359
|
return fetch(e).then((o) => o.json()).then((o) => {
|
|
360
360
|
Object.keys(o).forEach((c) => {
|
|
361
|
-
|
|
361
|
+
$(c, o[c]);
|
|
362
362
|
});
|
|
363
363
|
}).catch((o) => {
|
|
364
364
|
console.log(o);
|
|
365
365
|
});
|
|
366
366
|
};
|
|
367
|
-
Object.keys(
|
|
368
|
-
|
|
367
|
+
Object.keys(ee).forEach((e) => {
|
|
368
|
+
$(e, ee[e]);
|
|
369
369
|
});
|
|
370
|
-
const
|
|
371
|
-
|
|
372
|
-
},
|
|
370
|
+
const le = () => {
|
|
371
|
+
je(f);
|
|
372
|
+
}, ce = () => {
|
|
373
373
|
let e = document.createElement("style");
|
|
374
|
-
e.innerHTML =
|
|
375
|
-
},
|
|
376
|
-
let e = new URL(
|
|
374
|
+
e.innerHTML = a, g.appendChild(e);
|
|
375
|
+
}, fe = () => {
|
|
376
|
+
let e = new URL(u), o = document.createElement("style");
|
|
377
377
|
fetch(e.href).then((c) => c.text()).then((c) => {
|
|
378
378
|
o.innerHTML = c, setTimeout(
|
|
379
379
|
() => {
|
|
380
|
-
|
|
380
|
+
g.appendChild(o);
|
|
381
381
|
},
|
|
382
382
|
1
|
|
383
383
|
);
|
|
384
384
|
});
|
|
385
|
-
},
|
|
386
|
-
const { merchantId: e, customerId: o } =
|
|
385
|
+
}, K = () => {
|
|
386
|
+
const { merchantId: e, customerId: o } = ue();
|
|
387
387
|
if (!e)
|
|
388
388
|
return;
|
|
389
|
-
const c = new URL(`${
|
|
390
|
-
m.append("accept", "application/json"), m.append("Content-Type", "application/json"), m.append("X-Client-Request-Timestamp",
|
|
389
|
+
const c = new URL(`${d}/v1/player/verification/GetKYCStatus`), m = new Headers();
|
|
390
|
+
m.append("accept", "application/json"), m.append("Content-Type", "application/json"), m.append("X-Client-Request-Timestamp", Q.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
391
391
|
const b = {
|
|
392
392
|
method: "POST",
|
|
393
393
|
headers: m,
|
|
@@ -399,44 +399,46 @@ function We(t, i, r) {
|
|
|
399
399
|
})
|
|
400
400
|
};
|
|
401
401
|
fetch(c, b).then((A) => A.json()).then((A) => {
|
|
402
|
-
r(17,
|
|
403
|
-
|
|
404
|
-
}), r(4,
|
|
402
|
+
r(17, q = A.StaticCdnUrl + "/cashier/operator-assets/" + e), L = he(A.Verifications), L.VerificationStatuses.forEach((w) => {
|
|
403
|
+
w.VerificationUrlType !== "Widget" && H.add(w.Vendor);
|
|
404
|
+
}), r(4, x = Y());
|
|
405
405
|
});
|
|
406
|
-
},
|
|
407
|
-
|
|
406
|
+
}, de = () => {
|
|
407
|
+
l && K();
|
|
408
|
+
}, ue = () => {
|
|
409
|
+
let e = (s || l).split(".")[1];
|
|
408
410
|
if (e) {
|
|
409
411
|
let o = JSON.parse(atob(e));
|
|
410
412
|
return {
|
|
411
413
|
merchantId: o == null ? void 0 : o.mid,
|
|
412
|
-
customerId: `${o == null ? void 0 : o.mid}~${
|
|
414
|
+
customerId: `${o == null ? void 0 : o.mid}~${V}`
|
|
413
415
|
};
|
|
414
416
|
}
|
|
415
417
|
return { merchantId: null, customerId: null };
|
|
416
|
-
},
|
|
418
|
+
}, he = (e) => {
|
|
417
419
|
var c;
|
|
418
420
|
if (!e || !e.length)
|
|
419
421
|
return {
|
|
420
|
-
VerificationSummaryStatus:
|
|
422
|
+
VerificationSummaryStatus: p.Unverified,
|
|
421
423
|
VerificationStatuses: []
|
|
422
424
|
};
|
|
423
|
-
const o =
|
|
425
|
+
const o = pe(e);
|
|
424
426
|
if (o && o.length) {
|
|
425
|
-
const m =
|
|
427
|
+
const m = me(o);
|
|
426
428
|
return {
|
|
427
429
|
VerificationSummaryStatus: m.Status,
|
|
428
430
|
VerificationUrl: (c = m.Flags) == null ? void 0 : c.DeferredUrlKey,
|
|
429
|
-
VerificationStatuses:
|
|
431
|
+
VerificationStatuses: W(o, m.Status)
|
|
430
432
|
};
|
|
431
433
|
} else
|
|
432
434
|
return {
|
|
433
|
-
VerificationSummaryStatus: e.some((b) => b.Status ===
|
|
434
|
-
VerificationStatuses:
|
|
435
|
+
VerificationSummaryStatus: e.some((b) => b.Status === p.Failed) ? p.Failed : p.Verified,
|
|
436
|
+
VerificationStatuses: W(e, [p.Failed])
|
|
435
437
|
};
|
|
436
|
-
},
|
|
438
|
+
}, me = (e) => e.reduce(
|
|
437
439
|
(o, c) => o ? new Date(o) < new Date(c) ? c : o : c,
|
|
438
440
|
0
|
|
439
|
-
),
|
|
441
|
+
), W = (e, o) => e.filter((c) => o.includes(c.Status)).map((c) => {
|
|
440
442
|
var m, b;
|
|
441
443
|
return {
|
|
442
444
|
Type: c.Type,
|
|
@@ -445,120 +447,115 @@ function We(t, i, r) {
|
|
|
445
447
|
VerificationUrlType: (m = c.Flags) == null ? void 0 : m.DeferredUrlTypeKey,
|
|
446
448
|
VerificationUrl: (b = c.Flags) == null ? void 0 : b.DeferredUrlKey
|
|
447
449
|
};
|
|
448
|
-
}),
|
|
449
|
-
const o = e.Documents && e.VendorName === T.Manual, c = Object.values(e.Documents).some((m) => m.Status ===
|
|
450
|
+
}), pe = (e) => e.filter((o) => ne.includes(o.Status) ? o.Flags && o.Flags.DeferredUrlKey || ge(o) || ve(o) : !1), ge = (e) => {
|
|
451
|
+
const o = e.Documents && e.VendorName === T.Manual, c = Object.values(e.Documents).some((m) => m.Status === E.Requested);
|
|
450
452
|
return o && c;
|
|
451
|
-
},
|
|
453
|
+
}, ve = (e) => e.VendorName === T.ShuftiPro && e.Status === p.Referred, Y = () => {
|
|
452
454
|
switch (L.VerificationSummaryStatus) {
|
|
453
|
-
case
|
|
455
|
+
case p.InProgress:
|
|
454
456
|
const e = [];
|
|
455
|
-
return
|
|
456
|
-
e.push(
|
|
457
|
+
return H.forEach((o) => {
|
|
458
|
+
e.push(we(o));
|
|
457
459
|
}), e;
|
|
458
|
-
case
|
|
459
|
-
return [
|
|
460
|
-
case
|
|
461
|
-
return [
|
|
460
|
+
case p.Referred:
|
|
461
|
+
return [n("verification.idenfy.referred-awaiting")];
|
|
462
|
+
case p.Failed:
|
|
463
|
+
return [n("verification.message.failed")];
|
|
462
464
|
}
|
|
463
|
-
},
|
|
465
|
+
}, we = (e) => {
|
|
464
466
|
const o = L.VerificationStatuses.filter((c) => c.Vendor === e);
|
|
465
467
|
if (e === T.ShuftiPro)
|
|
466
|
-
return
|
|
468
|
+
return ye(o);
|
|
467
469
|
{
|
|
468
|
-
const c =
|
|
470
|
+
const c = n("verification.idenfy.link-name"), m = {
|
|
469
471
|
link: `<a href="${o[0].VerificationUrl}" target="_blank">${c}</a>`
|
|
470
472
|
};
|
|
471
|
-
return
|
|
473
|
+
return n("verification.idenfy.in-progress", { values: m });
|
|
472
474
|
}
|
|
473
|
-
},
|
|
475
|
+
}, ye = (e) => {
|
|
474
476
|
const o = [], c = {}, m = [
|
|
475
477
|
B.Biometric,
|
|
476
478
|
B.Documents,
|
|
477
479
|
B.ProofOfAddress
|
|
478
480
|
];
|
|
479
|
-
e.forEach((
|
|
480
|
-
m.includes(
|
|
481
|
+
e.forEach((w) => {
|
|
482
|
+
m.includes(w.Type) && (o.push(w.Type), c[w.Type] = ke(w, Pe(w.Type)));
|
|
481
483
|
});
|
|
482
|
-
let b = o.every((
|
|
483
|
-
return b ?
|
|
484
|
-
},
|
|
484
|
+
let b = o.every((w) => j.has(w)), A = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
|
|
485
|
+
return b ? n("verification.shuftipro.validations-started") : n(A, { values: c });
|
|
486
|
+
}, ke = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, Pe = (e) => n(`verification.shuftipro.link-name.${e}`), U = (e, o) => {
|
|
485
487
|
if (e.stopPropagation(), e.target && (e.target.href || e.target.closest("a"))) {
|
|
486
488
|
if (e.target.closest(".verificationLink")) {
|
|
487
489
|
const c = e.target.className.split(" ")[1];
|
|
488
|
-
j.add(c), r(4,
|
|
490
|
+
j.add(c), r(4, x = Y());
|
|
489
491
|
}
|
|
490
492
|
return;
|
|
491
493
|
}
|
|
492
|
-
o === 0 && r(5,
|
|
493
|
-
},
|
|
494
|
-
r(6,
|
|
495
|
-
},
|
|
496
|
-
r(8, z =
|
|
494
|
+
o === 0 && r(5, F = !F);
|
|
495
|
+
}, Ve = () => {
|
|
496
|
+
r(6, N = v === "false");
|
|
497
|
+
}, be = () => {
|
|
498
|
+
r(8, z = q + "/" + f + "/" + We);
|
|
497
499
|
try {
|
|
498
500
|
fetch(z, { method: "HEAD" }).then((e) => {
|
|
499
|
-
r(7,
|
|
501
|
+
r(7, I = e.ok);
|
|
500
502
|
});
|
|
501
503
|
} catch (e) {
|
|
502
|
-
r(7,
|
|
504
|
+
r(7, I = !1);
|
|
503
505
|
}
|
|
504
|
-
},
|
|
505
|
-
window.postMessage(
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
window.location.href
|
|
511
|
-
);
|
|
512
|
-
}, Ve = (e, o) => R(o, e), Pe = (e, o) => R(o, e), be = () => W();
|
|
513
|
-
function De(e) {
|
|
514
|
-
Te[e ? "unshift" : "push"](() => {
|
|
515
|
-
p = e, r(3, p);
|
|
506
|
+
}, G = () => {
|
|
507
|
+
window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
|
|
508
|
+
}, De = (e, o) => U(o, e), Ce = (e, o) => U(o, e), Se = () => G();
|
|
509
|
+
function _e(e) {
|
|
510
|
+
Le[e ? "unshift" : "push"](() => {
|
|
511
|
+
g = e, r(3, g);
|
|
516
512
|
});
|
|
517
513
|
}
|
|
518
514
|
return t.$$set = (e) => {
|
|
519
|
-
"endpoint" in e && r(12,
|
|
515
|
+
"endpoint" in e && r(12, d = e.endpoint), "lang" in e && r(13, f = e.lang), "translationurl" in e && r(14, h = e.translationurl), "clientstyling" in e && r(0, a = e.clientstyling), "clientstylingurl" in e && r(1, u = e.clientstylingurl), "session" in e && r(15, s = e.session), "customerid" in e && r(16, V = e.customerid), "ismobileview" in e && r(2, v = e.ismobileview);
|
|
520
516
|
}, t.$$.update = () => {
|
|
521
517
|
t.$$.dirty[0] & /*lang*/
|
|
522
|
-
8192 && f &&
|
|
523
|
-
36864 &&
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
518
|
+
8192 && f && le(), t.$$.dirty[0] & /*endpoint, session*/
|
|
519
|
+
36864 && d && s && K(), t.$$.dirty[0] & /*endpoint, session*/
|
|
520
|
+
36864 && d && !s && de(), t.$$.dirty[0] & /*translationurl*/
|
|
521
|
+
16384 && h && ae(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
522
|
+
9 && a && g && ce(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
523
|
+
10 && u && g && fe(), t.$$.dirty[0] & /*ismobileview*/
|
|
524
|
+
4 && v && Ve(), t.$$.dirty[0] & /*staticCdnUrl*/
|
|
525
|
+
131072 && q && be();
|
|
529
526
|
}, [
|
|
530
|
-
h,
|
|
531
527
|
a,
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
528
|
+
u,
|
|
529
|
+
v,
|
|
530
|
+
g,
|
|
535
531
|
x,
|
|
536
|
-
E,
|
|
537
532
|
F,
|
|
533
|
+
N,
|
|
534
|
+
I,
|
|
538
535
|
z,
|
|
539
|
-
s,
|
|
540
|
-
R,
|
|
541
|
-
W,
|
|
542
|
-
l,
|
|
543
|
-
f,
|
|
544
|
-
d,
|
|
545
|
-
u,
|
|
546
536
|
n,
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
537
|
+
U,
|
|
538
|
+
G,
|
|
539
|
+
d,
|
|
540
|
+
f,
|
|
541
|
+
h,
|
|
542
|
+
s,
|
|
543
|
+
V,
|
|
544
|
+
q,
|
|
545
|
+
De,
|
|
546
|
+
Ce,
|
|
547
|
+
Se,
|
|
548
|
+
_e
|
|
552
549
|
];
|
|
553
550
|
}
|
|
554
|
-
class Ge extends
|
|
551
|
+
class Ge extends Ae {
|
|
555
552
|
constructor(i) {
|
|
556
|
-
super(),
|
|
553
|
+
super(), Oe(
|
|
557
554
|
this,
|
|
558
555
|
i,
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
556
|
+
Ye,
|
|
557
|
+
Ke,
|
|
558
|
+
Me,
|
|
562
559
|
{
|
|
563
560
|
endpoint: 12,
|
|
564
561
|
lang: 13,
|
|
@@ -569,7 +566,7 @@ class Ge extends Ce {
|
|
|
569
566
|
customerid: 16,
|
|
570
567
|
ismobileview: 2
|
|
571
568
|
},
|
|
572
|
-
|
|
569
|
+
Ne,
|
|
573
570
|
[-1, -1]
|
|
574
571
|
);
|
|
575
572
|
}
|
|
@@ -622,7 +619,7 @@ class Ge extends Ce {
|
|
|
622
619
|
this.$$set({ ismobileview: i }), D();
|
|
623
620
|
}
|
|
624
621
|
}
|
|
625
|
-
|
|
622
|
+
Fe(Ge, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
|
|
626
623
|
export {
|
|
627
624
|
Ge as default
|
|
628
625
|
};
|