@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 Te, f as b, c as Me, n as J, e as C, J as O, l as S, o as y, q as P, v as Z, K as X, L as Be, C as D, p as A, z as Le, m as k, A as R, x as qe, y as xe, E as Fe } from "./CashierConfirmModal-untxGhsx.js";
|
|
2
|
+
import { a as Ie, i as ze, $ as Ee, b as Ue } from "./CashierError-DHzuwwQu.js";
|
|
3
|
+
import { d as Q, u as Re, x as He } from "./CashierMethodDetails-B8ZN94ja.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",
|
|
@@ -77,34 +77,34 @@ if (typeof window < "u") {
|
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
};
|
|
80
|
-
customElements.define = t(customElements.define), import("./CashierVideoModal-
|
|
80
|
+
customElements.define = t(customElements.define), import("./CashierVideoModal-CVDvqrcy.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
|
+
Me(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
|
|
87
|
+
function ie(t, i, r) {
|
|
88
88
|
const s = t.slice();
|
|
89
|
-
return s[
|
|
89
|
+
return s[51] = i[r], s[53] = r, s;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
let i, r, s, c,
|
|
91
|
+
function te(t) {
|
|
92
|
+
let i, r, s, c, 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] && ne(t)
|
|
101
101
|
);
|
|
102
102
|
return {
|
|
103
103
|
c() {
|
|
104
|
-
i =
|
|
105
|
-
for (let a = 0; a <
|
|
106
|
-
|
|
107
|
-
r = A(), h && h.c(), s = A(), c =
|
|
104
|
+
i = y("div");
|
|
105
|
+
for (let a = 0; a < f.length; a += 1)
|
|
106
|
+
f[a].c();
|
|
107
|
+
r = A(), h && h.c(), s = A(), c = y("cashier-video-modal"), P(i, "class", "CashierVerificationsWrapper"), D(
|
|
108
108
|
c,
|
|
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 n = 0; n <
|
|
132
|
-
|
|
133
|
-
|
|
130
|
+
S(a, i, u);
|
|
131
|
+
for (let n = 0; n < f.length; n += 1)
|
|
132
|
+
f[n] && f[n].m(i, null);
|
|
133
|
+
S(a, r, u), h && h.m(a, u), S(a, s, u), S(a, c, 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
142
|
let n;
|
|
143
|
-
for (n = 0; n <
|
|
144
|
-
const
|
|
145
|
-
|
|
143
|
+
for (n = 0; n < d.length; n += 1) {
|
|
144
|
+
const V = ie(a, d, n);
|
|
145
|
+
f[n] ? f[n].p(V, u) : (f[n] = oe(V), f[n].c(), f[n].m(i, null));
|
|
146
146
|
}
|
|
147
|
-
for (; n <
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
for (; n < f.length; n += 1)
|
|
148
|
+
f[n].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 = ne(a), h.c(), h.m(s.parentNode, s)) : h && (h.d(1), h = null), u[0] & /*clientstylingurl*/
|
|
153
153
|
2 && D(
|
|
154
154
|
c,
|
|
155
155
|
"clientstylingurl",
|
|
@@ -176,74 +176,74 @@ function $(t) {
|
|
|
176
176
|
);
|
|
177
177
|
},
|
|
178
178
|
d(a) {
|
|
179
|
-
a && (C(i), C(r), C(s), C(c)),
|
|
179
|
+
a && (C(i), C(r), C(s), C(c)), Be(f, a), h && h.d(a);
|
|
180
180
|
}
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function re(t) {
|
|
184
184
|
let i, r, s;
|
|
185
|
-
function c(...
|
|
185
|
+
function c(...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
|
+
S(d, i, f), r || (s = R(i, "click", c), 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 && C(i), r = !1, s();
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
let i, r, s, c,
|
|
210
|
+
function oe(t) {
|
|
211
|
+
let i, r, s, c, d = (
|
|
212
212
|
/*message*/
|
|
213
|
-
t[
|
|
214
|
-
),
|
|
213
|
+
t[51] + ""
|
|
214
|
+
), f, h, a, u, n = (
|
|
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(...g) {
|
|
220
220
|
return (
|
|
221
221
|
/*click_handler_1*/
|
|
222
222
|
t[19](
|
|
223
223
|
/*index*/
|
|
224
|
-
t[
|
|
225
|
-
...
|
|
224
|
+
t[53],
|
|
225
|
+
...g
|
|
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>', s = A(), c = y("p"), f = A(), n && n.c(), h = A(), P(r, "class", "IconVerification"), P(c, "class", "text"), P(i, "class", "CashierVerificationMessage"), O(
|
|
232
232
|
i,
|
|
233
233
|
"ShowAll",
|
|
234
234
|
/*allVerificationsVisible*/
|
|
235
235
|
t[5]
|
|
236
236
|
);
|
|
237
237
|
},
|
|
238
|
-
m(
|
|
239
|
-
|
|
238
|
+
m(g, p) {
|
|
239
|
+
S(g, i, p), k(i, r), k(i, s), k(i, c), c.innerHTML = d, k(i, f), n && n.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(g, p) {
|
|
242
|
+
t = g, p[0] & /*displayMessages*/
|
|
243
|
+
16 && d !== (d = /*message*/
|
|
244
|
+
t[51] + "") && (c.innerHTML = d), /*displayMessages*/
|
|
245
245
|
t[4].length > 1 && /*index*/
|
|
246
|
-
t[
|
|
246
|
+
t[53] === 0 ? n ? n.p(t, p) : (n = re(t), n.c(), n.m(i, h)) : n && (n.d(1), n = null), p[0] & /*allVerificationsVisible*/
|
|
247
247
|
32 && O(
|
|
248
248
|
i,
|
|
249
249
|
"ShowAll",
|
|
@@ -251,27 +251,27 @@ function ie(t) {
|
|
|
251
251
|
t[5]
|
|
252
252
|
);
|
|
253
253
|
},
|
|
254
|
-
d(
|
|
255
|
-
|
|
254
|
+
d(g) {
|
|
255
|
+
g && C(i), n && n.d(), a = !1, u();
|
|
256
256
|
}
|
|
257
257
|
};
|
|
258
258
|
}
|
|
259
|
-
function
|
|
260
|
-
let i, r, s, c,
|
|
259
|
+
function ne(t) {
|
|
260
|
+
let i, r, s, c, 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>', s = A(), c = y("div"), f = xe(d), P(r, "class", "IconVideo"), P(c, "class", "CashierVerificationVideoLink"), O(
|
|
267
267
|
c,
|
|
268
268
|
"CashierVerificationVideoLinkDesktop",
|
|
269
269
|
/*desktopView*/
|
|
270
270
|
t[6]
|
|
271
|
-
),
|
|
271
|
+
), P(i, "class", "CashierVerificationVideo");
|
|
272
272
|
},
|
|
273
273
|
m(u, n) {
|
|
274
|
-
|
|
274
|
+
S(u, i, n), k(i, r), k(i, s), k(i, c), k(c, f), h || (a = R(
|
|
275
275
|
c,
|
|
276
276
|
"click",
|
|
277
277
|
/*click_handler_2*/
|
|
@@ -280,8 +280,8 @@ function te(t) {
|
|
|
280
280
|
},
|
|
281
281
|
p(u, n) {
|
|
282
282
|
n[0] & /*$_*/
|
|
283
|
-
512 &&
|
|
284
|
-
u[9]("verification.video.how-to") + "") &&
|
|
283
|
+
512 && d !== (d = /*$_*/
|
|
284
|
+
u[9]("verification.video.how-to") + "") && qe(f, d), n[0] & /*desktopView*/
|
|
285
285
|
64 && O(
|
|
286
286
|
c,
|
|
287
287
|
"CashierVerificationVideoLinkDesktop",
|
|
@@ -294,14 +294,14 @@ function te(t) {
|
|
|
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"), O(
|
|
305
305
|
i,
|
|
306
306
|
"CashierVerificationsDesktop",
|
|
307
307
|
/*desktopView*/
|
|
@@ -309,11 +309,11 @@ function He(t) {
|
|
|
309
309
|
);
|
|
310
310
|
},
|
|
311
311
|
m(s, c) {
|
|
312
|
-
|
|
312
|
+
S(s, i, c), r && r.m(i, null), t[21](i);
|
|
313
313
|
},
|
|
314
314
|
p(s, c) {
|
|
315
315
|
/*displayMessages*/
|
|
316
|
-
s[4] ? r ? r.p(s, c) : (r =
|
|
316
|
+
s[4] ? r ? r.p(s, c) : (r = te(s), r.c(), r.m(i, null)) : r && (r.d(1), r = null), c[0] & /*desktopView*/
|
|
317
317
|
64 && O(
|
|
318
318
|
i,
|
|
319
319
|
"CashierVerificationsDesktop",
|
|
@@ -321,18 +321,18 @@ function He(t) {
|
|
|
321
321
|
s[6]
|
|
322
322
|
);
|
|
323
323
|
},
|
|
324
|
-
i:
|
|
325
|
-
o:
|
|
324
|
+
i: J,
|
|
325
|
+
o: J,
|
|
326
326
|
d(s) {
|
|
327
327
|
s && C(i), r && r.d(), t[21](null);
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
const
|
|
332
|
-
function
|
|
333
|
-
let s;
|
|
334
|
-
|
|
335
|
-
let { endpoint:
|
|
331
|
+
const We = "verification_explanation_video_widgets.MP4";
|
|
332
|
+
function Ye(t, i, r) {
|
|
333
|
+
let s, c;
|
|
334
|
+
Z(t, Ue, (e) => r(9, s = e)), Z(t, He, (e) => r(27, c = e)), Q.extend(Re);
|
|
335
|
+
let { endpoint: d } = i, { lang: f = "en" } = i, { translationurl: h = "" } = i, { clientstyling: a = "" } = i, { clientstylingurl: u = "" } = i, { session: n = "" } = i, { customerid: V = "" } = i, { ismobileview: g = "" } = i, p, H = /* @__PURE__ */ new Set(), j = /* @__PURE__ */ new Set(), B, L, q, x = !0, N = !0, F = !1, I = "";
|
|
336
336
|
var T;
|
|
337
337
|
(function(e) {
|
|
338
338
|
e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
|
|
@@ -341,56 +341,56 @@ function We(t, i, r) {
|
|
|
341
341
|
(function(e) {
|
|
342
342
|
e.Requested = "Requested";
|
|
343
343
|
})(z || (z = {}));
|
|
344
|
-
var
|
|
344
|
+
var m;
|
|
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
|
+
})(m || (m = {}));
|
|
348
348
|
var M;
|
|
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
|
})(M || (M = {}));
|
|
352
|
-
const
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
],
|
|
357
|
-
let e =
|
|
352
|
+
const se = [
|
|
353
|
+
m.InProgress,
|
|
354
|
+
m.Referred,
|
|
355
|
+
m.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((l) => {
|
|
361
|
-
|
|
361
|
+
$(l, o[l]);
|
|
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, p.appendChild(e);
|
|
375
|
+
}, fe = () => {
|
|
376
|
+
let e = new URL(u), o = document.createElement("style");
|
|
377
377
|
fetch(e.href).then((l) => l.text()).then((l) => {
|
|
378
378
|
o.innerHTML = l, setTimeout(
|
|
379
379
|
() => {
|
|
380
|
-
|
|
380
|
+
p.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 l = new URL(`${
|
|
390
|
-
|
|
391
|
-
const
|
|
389
|
+
const l = new URL(`${d}/v1/player/verification/GetKYCStatus`), v = new Headers();
|
|
390
|
+
v.append("accept", "application/json"), v.append("Content-Type", "application/json"), v.append("X-Client-Request-Timestamp", Q.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
391
|
+
const U = {
|
|
392
392
|
method: "POST",
|
|
393
|
-
headers:
|
|
393
|
+
headers: v,
|
|
394
394
|
body: JSON.stringify({
|
|
395
395
|
MerchantId: e,
|
|
396
396
|
CustomerId: o,
|
|
@@ -398,163 +398,160 @@ function We(t, i, r) {
|
|
|
398
398
|
AllParameters: !1
|
|
399
399
|
})
|
|
400
400
|
};
|
|
401
|
-
fetch(l,
|
|
402
|
-
r(17, L =
|
|
403
|
-
|
|
404
|
-
}), r(4,
|
|
401
|
+
fetch(l, U).then((_) => _.json()).then((_) => {
|
|
402
|
+
r(17, L = _.StaticCdnUrl + "/cashier/operator-assets/" + e), B = he(_.Verifications), B.VerificationStatuses.forEach((w) => {
|
|
403
|
+
w.VerificationUrlType !== "Widget" && H.add(w.Vendor);
|
|
404
|
+
}), r(4, q = Y());
|
|
405
405
|
});
|
|
406
|
-
},
|
|
407
|
-
|
|
406
|
+
}, de = () => {
|
|
407
|
+
c && K();
|
|
408
|
+
}, ue = () => {
|
|
409
|
+
let e = (n || c).split(".")[1];
|
|
408
410
|
if (e) {
|
|
409
411
|
let o = JSON.parse(atob(e));
|
|
410
412
|
return {
|
|
411
413
|
merchantId: o?.mid,
|
|
412
|
-
customerId: `${o?.mid}~${
|
|
414
|
+
customerId: `${o?.mid}~${V}`
|
|
413
415
|
};
|
|
414
416
|
}
|
|
415
417
|
return { merchantId: null, customerId: null };
|
|
416
|
-
},
|
|
418
|
+
}, he = (e) => {
|
|
417
419
|
if (!e || !e.length)
|
|
418
420
|
return {
|
|
419
|
-
VerificationSummaryStatus:
|
|
421
|
+
VerificationSummaryStatus: m.Unverified,
|
|
420
422
|
VerificationStatuses: []
|
|
421
423
|
};
|
|
422
|
-
const o =
|
|
424
|
+
const o = pe(e);
|
|
423
425
|
if (o && o.length) {
|
|
424
|
-
const l =
|
|
426
|
+
const l = me(o);
|
|
425
427
|
return {
|
|
426
428
|
VerificationSummaryStatus: l.Status,
|
|
427
429
|
VerificationUrl: l.Flags?.DeferredUrlKey,
|
|
428
|
-
VerificationStatuses:
|
|
430
|
+
VerificationStatuses: W(o, l.Status)
|
|
429
431
|
};
|
|
430
432
|
} else
|
|
431
433
|
return {
|
|
432
|
-
VerificationSummaryStatus: e.some((
|
|
433
|
-
VerificationStatuses:
|
|
434
|
+
VerificationSummaryStatus: e.some((v) => v.Status === m.Failed) ? m.Failed : m.Verified,
|
|
435
|
+
VerificationStatuses: W(e, [m.Failed])
|
|
434
436
|
};
|
|
435
|
-
},
|
|
437
|
+
}, me = (e) => e.reduce(
|
|
436
438
|
(o, l) => o ? new Date(o) < new Date(l) ? l : o : l,
|
|
437
439
|
0
|
|
438
|
-
),
|
|
440
|
+
), W = (e, o) => e.filter((l) => o.includes(l.Status)).map((l) => ({
|
|
439
441
|
Type: l.Type,
|
|
440
442
|
Vendor: l.VendorName,
|
|
441
443
|
VerificationDocuments: l.Documents ? [...Object.values(l.Documents)] : [],
|
|
442
444
|
VerificationUrlType: l.Flags?.DeferredUrlTypeKey,
|
|
443
445
|
VerificationUrl: l.Flags?.DeferredUrlKey
|
|
444
|
-
})),
|
|
445
|
-
const o = e.Documents && e.VendorName === T.Manual, l = Object.values(e.Documents).some((
|
|
446
|
+
})), pe = (e) => e.filter((o) => se.includes(o.Status) ? o.Flags && o.Flags.DeferredUrlKey || ge(o) || ve(o) : !1), ge = (e) => {
|
|
447
|
+
const o = e.Documents && e.VendorName === T.Manual, l = Object.values(e.Documents).some((v) => v.Status === z.Requested);
|
|
446
448
|
return o && l;
|
|
447
|
-
},
|
|
449
|
+
}, ve = (e) => e.VendorName === T.ShuftiPro && e.Status === m.Referred, Y = () => {
|
|
448
450
|
switch (B.VerificationSummaryStatus) {
|
|
449
|
-
case
|
|
451
|
+
case m.InProgress:
|
|
450
452
|
const e = [];
|
|
451
|
-
return
|
|
452
|
-
e.push(
|
|
453
|
+
return H.forEach((o) => {
|
|
454
|
+
e.push(we(o));
|
|
453
455
|
}), e;
|
|
454
|
-
case
|
|
456
|
+
case m.Referred:
|
|
455
457
|
return [s("verification.idenfy.referred-awaiting")];
|
|
456
|
-
case
|
|
458
|
+
case m.Failed:
|
|
457
459
|
return [s("verification.message.failed")];
|
|
458
460
|
}
|
|
459
|
-
},
|
|
461
|
+
}, we = (e) => {
|
|
460
462
|
const o = B.VerificationStatuses.filter((l) => l.Vendor === e);
|
|
461
463
|
if (e === T.ShuftiPro)
|
|
462
|
-
return
|
|
464
|
+
return ye(o);
|
|
463
465
|
{
|
|
464
|
-
const l = s("verification.idenfy.link-name"),
|
|
466
|
+
const l = s("verification.idenfy.link-name"), v = {
|
|
465
467
|
link: `<a href="${o[0].VerificationUrl}" target="_blank">${l}</a>`
|
|
466
468
|
};
|
|
467
|
-
return s("verification.idenfy.in-progress", { values:
|
|
469
|
+
return s("verification.idenfy.in-progress", { values: v });
|
|
468
470
|
}
|
|
469
|
-
},
|
|
470
|
-
const o = [], l = {},
|
|
471
|
+
}, ye = (e) => {
|
|
472
|
+
const o = [], l = {}, v = [
|
|
471
473
|
M.Biometric,
|
|
472
474
|
M.Documents,
|
|
473
475
|
M.ProofOfAddress
|
|
474
476
|
];
|
|
475
|
-
e.forEach((
|
|
476
|
-
|
|
477
|
+
e.forEach((w) => {
|
|
478
|
+
v.includes(w.Type) && (o.push(w.Type), l[w.Type] = ke(w, Pe(w.Type)));
|
|
477
479
|
});
|
|
478
|
-
let
|
|
479
|
-
return
|
|
480
|
-
},
|
|
480
|
+
let U = o.every((w) => j.has(w)), _ = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
|
|
481
|
+
return U ? s("verification.shuftipro.validations-started") : s(_, { values: l });
|
|
482
|
+
}, ke = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, Pe = (e) => s(`verification.shuftipro.link-name.${e}`), E = (e, o) => {
|
|
481
483
|
if (e.stopPropagation(), e.target && (e.target.href || e.target.closest("a"))) {
|
|
482
484
|
if (e.target.closest(".verificationLink")) {
|
|
483
485
|
const l = e.target.className.split(" ")[1];
|
|
484
|
-
j.add(l), r(4,
|
|
486
|
+
j.add(l), r(4, q = Y());
|
|
485
487
|
}
|
|
486
488
|
return;
|
|
487
489
|
}
|
|
488
|
-
o === 0 && r(5,
|
|
489
|
-
},
|
|
490
|
-
r(6,
|
|
491
|
-
},
|
|
492
|
-
r(8,
|
|
490
|
+
o === 0 && r(5, x = !x);
|
|
491
|
+
}, Ve = () => {
|
|
492
|
+
r(6, N = g === "false");
|
|
493
|
+
}, be = () => {
|
|
494
|
+
r(8, I = L + "/" + f + "/" + We);
|
|
493
495
|
try {
|
|
494
|
-
fetch(
|
|
495
|
-
r(7,
|
|
496
|
+
fetch(I, { method: "HEAD" }).then((e) => {
|
|
497
|
+
r(7, F = e.ok);
|
|
496
498
|
});
|
|
497
499
|
} catch {
|
|
498
|
-
r(7,
|
|
500
|
+
r(7, F = !1);
|
|
499
501
|
}
|
|
500
|
-
},
|
|
501
|
-
window.postMessage(
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
window.location.href
|
|
507
|
-
);
|
|
508
|
-
}, Ve = (e, o) => U(o, e), Pe = (e, o) => U(o, e), be = () => W();
|
|
509
|
-
function De(e) {
|
|
510
|
-
Me[e ? "unshift" : "push"](() => {
|
|
511
|
-
m = e, r(3, m);
|
|
502
|
+
}, G = () => {
|
|
503
|
+
window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
|
|
504
|
+
}, De = (e, o) => E(o, e), Ce = (e, o) => E(o, e), Se = () => G();
|
|
505
|
+
function _e(e) {
|
|
506
|
+
Le[e ? "unshift" : "push"](() => {
|
|
507
|
+
p = e, r(3, p);
|
|
512
508
|
});
|
|
513
509
|
}
|
|
514
510
|
return t.$$set = (e) => {
|
|
515
|
-
"endpoint" in e && r(12,
|
|
511
|
+
"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, n = e.session), "customerid" in e && r(16, V = e.customerid), "ismobileview" in e && r(2, g = e.ismobileview);
|
|
516
512
|
}, t.$$.update = () => {
|
|
517
513
|
t.$$.dirty[0] & /*lang*/
|
|
518
|
-
8192 && f &&
|
|
519
|
-
36864 &&
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
514
|
+
8192 && f && le(), t.$$.dirty[0] & /*endpoint, session*/
|
|
515
|
+
36864 && d && n && K(), t.$$.dirty[0] & /*endpoint, session*/
|
|
516
|
+
36864 && d && !n && de(), t.$$.dirty[0] & /*translationurl*/
|
|
517
|
+
16384 && h && ae(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
518
|
+
9 && a && p && ce(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
519
|
+
10 && u && p && fe(), t.$$.dirty[0] & /*ismobileview*/
|
|
520
|
+
4 && g && Ve(), t.$$.dirty[0] & /*staticCdnUrl*/
|
|
521
|
+
131072 && L && be();
|
|
525
522
|
}, [
|
|
526
|
-
h,
|
|
527
523
|
a,
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
524
|
+
u,
|
|
525
|
+
g,
|
|
526
|
+
p,
|
|
531
527
|
q,
|
|
532
528
|
x,
|
|
533
|
-
|
|
529
|
+
N,
|
|
534
530
|
F,
|
|
531
|
+
I,
|
|
535
532
|
s,
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
c,
|
|
539
|
-
f,
|
|
533
|
+
E,
|
|
534
|
+
G,
|
|
540
535
|
d,
|
|
541
|
-
|
|
536
|
+
f,
|
|
537
|
+
h,
|
|
542
538
|
n,
|
|
539
|
+
V,
|
|
543
540
|
L,
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
541
|
+
De,
|
|
542
|
+
Ce,
|
|
543
|
+
Se,
|
|
544
|
+
_e
|
|
548
545
|
];
|
|
549
546
|
}
|
|
550
|
-
class Ge extends
|
|
547
|
+
class Ge extends Ae {
|
|
551
548
|
constructor(i) {
|
|
552
|
-
super(),
|
|
549
|
+
super(), Oe(
|
|
553
550
|
this,
|
|
554
551
|
i,
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
552
|
+
Ye,
|
|
553
|
+
Ke,
|
|
554
|
+
Te,
|
|
558
555
|
{
|
|
559
556
|
endpoint: 12,
|
|
560
557
|
lang: 13,
|
|
@@ -565,7 +562,7 @@ class Ge extends Ce {
|
|
|
565
562
|
customerid: 16,
|
|
566
563
|
ismobileview: 2
|
|
567
564
|
},
|
|
568
|
-
|
|
565
|
+
Ne,
|
|
569
566
|
[-1, -1]
|
|
570
567
|
);
|
|
571
568
|
}
|
|
@@ -618,7 +615,7 @@ class Ge extends Ce {
|
|
|
618
615
|
this.$$set({ ismobileview: i }), b();
|
|
619
616
|
}
|
|
620
617
|
}
|
|
621
|
-
|
|
618
|
+
Fe(Ge, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
|
|
622
619
|
export {
|
|
623
620
|
Ge as default
|
|
624
621
|
};
|