@everymatrix/cashier-page 1.54.6 → 1.54.8
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-bl1anpXG.js → CashierConfirmModal-Bop0eOiK.js} +57 -57
- package/components/CashierConfirmModal-KmRU3Mgr.cjs +4 -0
- package/components/CashierConfirmModal-T9FhMxP2.js +1052 -0
- package/components/CashierError-CjhQG79n.js +3764 -0
- package/components/CashierError-Dx4LFH3W.cjs +5 -0
- package/components/{CashierError-CNghn61_.js → CashierError-guAFhbld.js} +497 -501
- package/components/{CashierHeader-Cukt_6q5.js → CashierHeader-CqGPO-Fk.js} +81 -81
- package/components/CashierHeader-D3hGyEcT.js +401 -0
- package/components/CashierHeader-Y_xPFrm_.cjs +1 -0
- package/components/CashierIframeRedirect-BoqcRUMr.js +378 -0
- package/components/CashierIframeRedirect-C2c1nHdX.cjs +1 -0
- package/components/{CashierIframeRedirect-CfOyb27d.js → CashierIframeRedirect-tBrZ72pm.js} +33 -33
- package/components/CashierMethodDetails-DDyg0dkw.cjs +18 -0
- package/components/{CashierMethodDetails-BIl7Is4q.js → CashierMethodDetails-Dsx6mHYI.js} +63 -63
- package/components/CashierMethodDetails-PDt60MQR.js +8164 -0
- package/components/CashierMethodsList-BOR1hHRu.js +667 -0
- package/components/CashierMethodsList-DTBsyc8x.cjs +1 -0
- package/components/{CashierMethodsList-sDyTLsi_.js → CashierMethodsList-xC6EsOBa.js} +76 -76
- package/components/CashierModal-CZ_PAOXO.js +232 -0
- package/components/{CashierModal-BvsZYr3E.js → CashierModal-DnFkgCZP.js} +31 -31
- package/components/CashierModal-FkJdngyj.cjs +1 -0
- package/components/{CashierNotifications-DLiOLPVS.js → CashierNotifications-BCI1m1DC.js} +18 -18
- package/components/CashierNotifications-BJzRxOV_.cjs +1 -0
- package/components/CashierNotifications-u0zBDLtX.js +129 -0
- package/components/CashierPage-B4oBQHo8.cjs +1 -0
- package/components/{CashierPage-DuY9O8Ns.js → CashierPage-BOqzOu5f.js} +75 -75
- package/components/CashierPage-_JwIM1m3.js +1998 -0
- package/components/CashierReceiptPage-DguMfgJk.cjs +1 -0
- package/components/CashierReceiptPage-Dp9crOnz.js +1156 -0
- package/components/{CashierReceiptPage-BnZNWRHD.js → CashierReceiptPage-YWmVmYmI.js} +76 -76
- package/components/CashierSessionExpirationModal-C4AvaTH-.cjs +2 -0
- package/components/{CashierSessionExpirationModal-m8mfQG7I.js → CashierSessionExpirationModal-D0BRhJB-.js} +234 -243
- package/components/CashierSessionExpirationModal-cVtdVVp6.js +1172 -0
- package/components/CashierSpinner-BjkjegeG.js +71 -0
- package/components/{CashierSpinner-BGK4UpXs.js → CashierSpinner-C4PbqmeQ.js} +25 -25
- package/components/CashierSpinner-CySOWnIQ.cjs +1 -0
- package/components/CashierVerifications-C-55D-Ds.cjs +1 -0
- package/components/{CashierVerifications-DmvaTrGy.js → CashierVerifications-CRhSDc6g.js} +26 -26
- package/components/CashierVerifications-Cr6kxmHD.js +628 -0
- package/components/CashierVideoModal-BWI2U3UH.cjs +1 -0
- package/components/CashierVideoModal-CEfQgtP6.js +202 -0
- package/components/{CashierVideoModal-B_7nq_8u.js → CashierVideoModal-CeguehvU.js} +33 -33
- package/es2015/cashier-page.cjs +1 -0
- package/es2015/cashier-page.js +16 -0
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { S as y, b as g, s as m, f as h, c as p, n as c, e as k, l as C, o as x, q as S, z as _, D as b } from "./CashierConfirmModal-Bop0eOiK.js";
|
|
2
|
+
function v(n) {
|
|
3
|
+
p(n, "svelte-fidj5e", ".CashierSpinner{display:block;width:80px;height:80px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:var(--emw--color-primary, #7EC51E)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
|
|
4
|
+
}
|
|
5
|
+
function w(n) {
|
|
6
|
+
let t;
|
|
7
|
+
return {
|
|
8
|
+
c() {
|
|
9
|
+
t = x("div"), t.innerHTML = '<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"></circle></svg>', S(t, "class", "CashierSpinner");
|
|
10
|
+
},
|
|
11
|
+
m(s, r) {
|
|
12
|
+
C(s, t, r), n[3](t);
|
|
13
|
+
},
|
|
14
|
+
p: c,
|
|
15
|
+
i: c,
|
|
16
|
+
o: c,
|
|
17
|
+
d(s) {
|
|
18
|
+
s && k(t), n[3](null);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function L(n, t, s) {
|
|
23
|
+
let { clientstyling: r = "" } = t, { clientstylingurl: l = "" } = t, i;
|
|
24
|
+
const d = () => {
|
|
25
|
+
let e = document.createElement("style");
|
|
26
|
+
e.innerHTML = r, i.appendChild(e);
|
|
27
|
+
}, f = () => {
|
|
28
|
+
let e = new URL(l), o = document.createElement("style");
|
|
29
|
+
fetch(e.href).then((a) => a.text()).then((a) => {
|
|
30
|
+
o.innerHTML = a, setTimeout(
|
|
31
|
+
() => {
|
|
32
|
+
i.appendChild(o);
|
|
33
|
+
},
|
|
34
|
+
1
|
|
35
|
+
);
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
function u(e) {
|
|
39
|
+
_[e ? "unshift" : "push"](() => {
|
|
40
|
+
i = e, s(0, i);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
return n.$$set = (e) => {
|
|
44
|
+
"clientstyling" in e && s(1, r = e.clientstyling), "clientstylingurl" in e && s(2, l = e.clientstylingurl);
|
|
45
|
+
}, n.$$.update = () => {
|
|
46
|
+
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
47
|
+
3 && r && i && d(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
48
|
+
5 && l && i && f();
|
|
49
|
+
}, [i, r, l, u];
|
|
50
|
+
}
|
|
51
|
+
class E extends y {
|
|
52
|
+
constructor(t) {
|
|
53
|
+
super(), g(this, t, L, w, m, { clientstyling: 1, clientstylingurl: 2 }, v);
|
|
54
|
+
}
|
|
55
|
+
get clientstyling() {
|
|
56
|
+
return this.$$.ctx[1];
|
|
57
|
+
}
|
|
58
|
+
set clientstyling(t) {
|
|
59
|
+
this.$$set({ clientstyling: t }), h();
|
|
60
|
+
}
|
|
61
|
+
get clientstylingurl() {
|
|
62
|
+
return this.$$.ctx[2];
|
|
63
|
+
}
|
|
64
|
+
set clientstylingurl(t) {
|
|
65
|
+
this.$$set({ clientstylingurl: t }), h();
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
b(E, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
69
|
+
export {
|
|
70
|
+
E as default
|
|
71
|
+
};
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
import { S as y, b as g, f as
|
|
1
|
+
import { S as y, b as g, s as m, f as h, c as p, n as c, e as k, m as C, p as x, v as S, A as _, D as v } from "./CashierConfirmModal-T9FhMxP2.js";
|
|
2
2
|
function b(n) {
|
|
3
|
-
|
|
3
|
+
p(n, "svelte-fidj5e", ".CashierSpinner{display:block;width:80px;height:80px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:var(--emw--color-primary, #7EC51E)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
|
|
4
4
|
}
|
|
5
5
|
function w(n) {
|
|
6
6
|
let t;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
|
-
t =
|
|
9
|
+
t = x("div"), t.innerHTML = '<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"></circle></svg>', S(t, "class", "CashierSpinner");
|
|
10
10
|
},
|
|
11
|
-
m(
|
|
12
|
-
|
|
11
|
+
m(s, r) {
|
|
12
|
+
C(s, t, r), n[3](t);
|
|
13
13
|
},
|
|
14
14
|
p: c,
|
|
15
15
|
i: c,
|
|
16
16
|
o: c,
|
|
17
|
-
d(
|
|
18
|
-
|
|
17
|
+
d(s) {
|
|
18
|
+
s && k(t), n[3](null);
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
function L(n, t,
|
|
23
|
-
let { clientstyling: r = "" } = t, { clientstylingurl:
|
|
24
|
-
const
|
|
22
|
+
function L(n, t, s) {
|
|
23
|
+
let { clientstyling: r = "" } = t, { clientstylingurl: l = "" } = t, i;
|
|
24
|
+
const d = () => {
|
|
25
25
|
let e = document.createElement("style");
|
|
26
|
-
e.innerHTML = r,
|
|
26
|
+
e.innerHTML = r, i.appendChild(e);
|
|
27
27
|
}, f = () => {
|
|
28
|
-
let e = new URL(
|
|
29
|
-
fetch(e.href).then((
|
|
30
|
-
o.innerHTML =
|
|
28
|
+
let e = new URL(l), o = document.createElement("style");
|
|
29
|
+
fetch(e.href).then((a) => a.text()).then((a) => {
|
|
30
|
+
o.innerHTML = a, setTimeout(
|
|
31
31
|
() => {
|
|
32
|
-
|
|
32
|
+
i.appendChild(o);
|
|
33
33
|
},
|
|
34
34
|
1
|
|
35
35
|
);
|
|
36
36
|
});
|
|
37
37
|
};
|
|
38
38
|
function u(e) {
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
_[e ? "unshift" : "push"](() => {
|
|
40
|
+
i = e, s(0, i);
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
return n.$$set = (e) => {
|
|
44
|
-
"clientstyling" in e &&
|
|
44
|
+
"clientstyling" in e && s(1, r = e.clientstyling), "clientstylingurl" in e && s(2, l = e.clientstylingurl);
|
|
45
45
|
}, n.$$.update = () => {
|
|
46
46
|
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
47
|
-
3 && r &&
|
|
48
|
-
5 &&
|
|
49
|
-
}, [
|
|
47
|
+
3 && r && i && d(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
48
|
+
5 && l && i && f();
|
|
49
|
+
}, [i, r, l, u];
|
|
50
50
|
}
|
|
51
51
|
class E extends y {
|
|
52
52
|
constructor(t) {
|
|
53
|
-
super(), g(this, t, L, w,
|
|
53
|
+
super(), g(this, t, L, w, m, { clientstyling: 1, clientstylingurl: 2 }, b);
|
|
54
54
|
}
|
|
55
55
|
get clientstyling() {
|
|
56
56
|
return this.$$.ctx[1];
|
|
57
57
|
}
|
|
58
58
|
set clientstyling(t) {
|
|
59
|
-
this.$$set({ clientstyling: t }),
|
|
59
|
+
this.$$set({ clientstyling: t }), h();
|
|
60
60
|
}
|
|
61
61
|
get clientstylingurl() {
|
|
62
62
|
return this.$$.ctx[2];
|
|
63
63
|
}
|
|
64
64
|
set clientstylingurl(t) {
|
|
65
|
-
this.$$set({ clientstylingurl: t }),
|
|
65
|
+
this.$$set({ clientstylingurl: t }), h();
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
|
|
68
|
+
v(E, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
69
69
|
export {
|
|
70
70
|
E as default
|
|
71
71
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-KmRU3Mgr.cjs");function y(i){e.append_styles(i,"svelte-fidj5e",".CashierSpinner{display:block;width:80px;height:80px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:var(--emw--color-primary, #7EC51E)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function g(i){let t;return{c(){t=e.element("div"),t.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"></circle></svg>',e.attr(t,"class","CashierSpinner")},m(s,l){e.insert(s,t,l),i[3](t)},p:e.noop,i:e.noop,o:e.noop,d(s){s&&e.detach(t),i[3](null)}}}function p(i,t,s){let{clientstyling:l=""}=t,{clientstylingurl:a=""}=t,r;const h=()=>{let n=document.createElement("style");n.innerHTML=l,r.appendChild(n)},u=()=>{let n=new URL(a),c=document.createElement("style");fetch(n.href).then(o=>o.text()).then(o=>{c.innerHTML=o,setTimeout(()=>{r.appendChild(c)},1)})};function f(n){e.binding_callbacks[n?"unshift":"push"](()=>{r=n,s(0,r)})}return i.$$set=n=>{"clientstyling"in n&&s(1,l=n.clientstyling),"clientstylingurl"in n&&s(2,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&3&&l&&r&&h(),i.$$.dirty&5&&a&&r&&u()},[r,l,a,f]}class d extends e.SvelteComponent{constructor(t){super(),e.init(this,t,p,g,e.safe_not_equal,{clientstyling:1,clientstylingurl:2},y)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}}e.create_custom_element(d,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=d;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CashierConfirmModal-KmRU3Mgr.cjs"),S=require("./CashierError-Dx4LFH3W.cjs"),I=require("./CashierMethodDetails-DDyg0dkw.cjs");function U(r,t){S.addMessages(r,t)}function ge(r){S.init({fallbackLocale:"en"}),S.$locale.set(r)}const R={en:{"verification.video.how-to":"How to verify yourself","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","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","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","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.","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.","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.","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.","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.","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.","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.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{"verification.video.how-to":"Kimlik doğrulama nasıl yapılır","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","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.","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.","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.","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.","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.","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.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"},hr:{"verification.video.how-to":"How to verify yourself","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","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","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","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.","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.","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.","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.","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.","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.","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.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"}};if(typeof window!="undefined"){let r=function(t){return function(...o){try{return t.apply(this,o)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CashierVideoModal-BWI2U3UH.cjs")).then(({default:t})=>{!customElements.get("cashier-video-modal")&&customElements.define("cashier-video-modal",t.element)})}function ve(r){i.append_styles(r,"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)}")}function H(r,t,o){const s=r.slice();return s[49]=t[o],s[51]=o,s}function j(r){let t,o,s,c,d=i.ensure_array_like(r[4]),u=[];for(let l=0;l<d.length;l+=1)u[l]=K(H(r,d,l));let m=r[7]&&W(r);return{c(){t=i.element("div");for(let l=0;l<u.length;l+=1)u[l].c();o=i.space(),m&&m.c(),s=i.space(),c=i.element("cashier-video-modal"),i.attr(t,"class","CashierVerificationsWrapper"),i.set_custom_element_data(c,"clientstylingurl",r[1]),i.set_custom_element_data(c,"clientstyling",r[0]),i.set_custom_element_data(c,"ismobileview",r[2]),i.set_custom_element_data(c,"videosrc",r[8])},m(l,h){i.insert(l,t,h);for(let a=0;a<u.length;a+=1)u[a]&&u[a].m(t,null);i.insert(l,o,h),m&&m.m(l,h),i.insert(l,s,h),i.insert(l,c,h)},p(l,h){if(h[0]&1072){d=i.ensure_array_like(l[4]);let a;for(a=0;a<d.length;a+=1){const y=H(l,d,a);u[a]?u[a].p(y,h):(u[a]=K(y),u[a].c(),u[a].m(t,null))}for(;a<u.length;a+=1)u[a].d(1);u.length=d.length}l[7]?m?m.p(l,h):(m=W(l),m.c(),m.m(s.parentNode,s)):m&&(m.d(1),m=null),h[0]&2&&i.set_custom_element_data(c,"clientstylingurl",l[1]),h[0]&1&&i.set_custom_element_data(c,"clientstyling",l[0]),h[0]&4&&i.set_custom_element_data(c,"ismobileview",l[2]),h[0]&256&&i.set_custom_element_data(c,"videosrc",l[8])},d(l){l&&(i.detach(t),i.detach(o),i.detach(s),i.detach(c)),i.destroy_each(u,l),m&&m.d(l)}}}function N(r){let t,o,s;function c(...d){return r[18](r[51],...d)}return{c(){t=i.element("span"),t.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>',i.attr(t,"class","CashierVerificationChevron")},m(d,u){i.insert(d,t,u),o||(s=i.listen(t,"click",c),o=!0)},p(d,u){r=d},d(d){d&&i.detach(t),o=!1,s()}}}function K(r){let t,o,s,c,d=r[49]+"",u,m,l,h,a=r[4].length>1&&r[51]===0&&N(r);function y(...g){return r[19](r[51],...g)}return{c(){t=i.element("div"),o=i.element("div"),o.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=i.space(),c=i.element("p"),u=i.space(),a&&a.c(),m=i.space(),i.attr(o,"class","IconVerification"),i.attr(c,"class","text"),i.attr(t,"class","CashierVerificationMessage"),i.toggle_class(t,"ShowAll",r[5])},m(g,k){i.insert(g,t,k),i.append(t,o),i.append(t,s),i.append(t,c),c.innerHTML=d,i.append(t,u),a&&a.m(t,null),i.append(t,m),l||(h=i.listen(t,"click",y),l=!0)},p(g,k){r=g,k[0]&16&&d!==(d=r[49]+"")&&(c.innerHTML=d),r[4].length>1&&r[51]===0?a?a.p(r,k):(a=N(r),a.c(),a.m(t,m)):a&&(a.d(1),a=null),k[0]&32&&i.toggle_class(t,"ShowAll",r[5])},d(g){g&&i.detach(t),a&&a.d(),l=!1,h()}}}function W(r){let t,o,s,c,d=r[9]("verification.video.how-to")+"",u,m,l;return{c(){t=i.element("div"),o=i.element("div"),o.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=i.space(),c=i.element("div"),u=i.text(d),i.attr(o,"class","IconVideo"),i.attr(c,"class","CashierVerificationVideoLink"),i.toggle_class(c,"CashierVerificationVideoLinkDesktop",r[6]),i.attr(t,"class","CashierVerificationVideo")},m(h,a){i.insert(h,t,a),i.append(t,o),i.append(t,s),i.append(t,c),i.append(c,u),m||(l=i.listen(c,"click",r[20]),m=!0)},p(h,a){a[0]&512&&d!==(d=h[9]("verification.video.how-to")+"")&&i.set_data(u,d),a[0]&64&&i.toggle_class(c,"CashierVerificationVideoLinkDesktop",h[6])},d(h){h&&i.detach(t),m=!1,l()}}}function we(r){let t,o=r[4]&&j(r);return{c(){t=i.element("div"),o&&o.c(),i.attr(t,"class","CashierVerifications"),i.toggle_class(t,"CashierVerificationsDesktop",r[6])},m(s,c){i.insert(s,t,c),o&&o.m(t,null),r[21](t)},p(s,c){s[4]?o?o.p(s,c):(o=j(s),o.c(),o.m(t,null)):o&&(o.d(1),o=null),c[0]&64&&i.toggle_class(t,"CashierVerificationsDesktop",s[6])},i:i.noop,o:i.noop,d(s){s&&i.detach(t),o&&o.d(),r[21](null)}}}const ye="verification_explanation_video_widgets.MP4",ke="700px",_e="500px";function Ve(r,t,o){let s;i.component_subscribe(r,S.$format,e=>o(9,s=e)),I.dayjs.extend(I.utc);let{endpoint:c}=t,{lang:d="en"}=t,{translationurl:u=""}=t,{clientstyling:m=""}=t,{clientstylingurl:l=""}=t,{session:h=""}=t,{customerid:a=""}=t,{ismobileview:y=""}=t,g,k=new Set,E=new Set,D,C,A,O=!0,M=!0,T=!1,B="";var P;(function(e){e.Manual="Manual",e.ShuftiPro="ShuftiPro"})(P||(P={}));var L;(function(e){e.Requested="Requested"})(L||(L={}));var v;(function(e){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"})(v||(v={}));var b;(function(e){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"})(b||(b={}));const Y=[v.InProgress,v.Referred,v.AwaitingForResponse],Z=()=>{let e=u;if(e)return fetch(e).then(n=>n.json()).then(n=>{Object.keys(n).forEach(f=>{U(f,n[f])})}).catch(n=>{console.log(n)})};Object.keys(R).forEach(e=>{U(e,R[e])});const J=()=>{ge(d)},X=()=>{let e=document.createElement("style");e.innerHTML=m,g.appendChild(e)},Q=()=>{let e=new URL(l),n=document.createElement("style");fetch(e.href).then(f=>f.text()).then(f=>{n.innerHTML=f,setTimeout(()=>{g.appendChild(n)},1)})},$=()=>{const{merchantId:e,customerId:n}=ee();if(!e)return;const f=new URL(`${c}/v1/player/verification/GetKYCStatus`),p=new Headers;p.append("accept","application/json"),p.append("Content-Type","application/json"),p.append("X-Client-Request-Timestamp",I.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const _={method:"POST",headers:p,body:JSON.stringify({MerchantId:e,CustomerId:n,All:!1,AllParameters:!1})};fetch(f,_).then(V=>V.json()).then(V=>{o(17,C=V.StaticCdnUrl+"/cashier/operator-assets/"+e),D=ie(V.Verifications),D.VerificationStatuses.forEach(w=>{w.VerificationUrlType!=="Widget"&&k.add(w.Vendor)}),o(4,A=x())})},ee=()=>{let e=h.split(".")[1];if(e){let n=JSON.parse(atob(e));return{merchantId:n==null?void 0:n.mid,customerId:`${n==null?void 0:n.mid}~${a}`}}return{merchantId:null,customerId:null}},ie=e=>{var f;if(!e||!e.length)return{VerificationSummaryStatus:v.Unverified,VerificationStatuses:[]};const n=re(e);if(n&&n.length){const p=te(n);return{VerificationSummaryStatus:p.Status,VerificationUrl:(f=p.Flags)==null?void 0:f.DeferredUrlKey,VerificationStatuses:F(n,p.Status)}}else return{VerificationSummaryStatus:e.some(_=>_.Status===v.Failed)?v.Failed:v.Verified,VerificationStatuses:F(e,[v.Failed])}},te=e=>e.reduce((n,f)=>n?new Date(n)<new Date(f)?f:n:f,0),F=(e,n)=>e.filter(f=>n.includes(f.Status)).map(f=>{var p,_;return{Type:f.Type,Vendor:f.VendorName,VerificationDocuments:f.Documents?[...Object.values(f.Documents)]:[],VerificationUrlType:(p=f.Flags)==null?void 0:p.DeferredUrlTypeKey,VerificationUrl:(_=f.Flags)==null?void 0:_.DeferredUrlKey}}),re=e=>e.filter(n=>Y.includes(n.Status)?n.Flags&&n.Flags.DeferredUrlKey||oe(n)||ne(n):!1),oe=e=>{const n=e.Documents&&e.VendorName===P.Manual,f=Object.values(e.Documents).some(p=>p.Status===L.Requested);return n&&f},ne=e=>e.VendorName===P.ShuftiPro&&e.Status===v.Referred,x=()=>{switch(D.VerificationSummaryStatus){case v.InProgress:const e=[];return k.forEach(n=>{e.push(se(n))}),e;case v.Referred:return[s("verification.idenfy.referred-awaiting")];case v.Failed:return[s("verification.message.failed")]}},se=e=>{const n=D.VerificationStatuses.filter(f=>f.Vendor===e);if(e===P.ShuftiPro)return ae(n);{const f=s("verification.idenfy.link-name"),p={link:`<a href="${n[0].VerificationUrl}" target="_blank">${f}</a>`};return s("verification.idenfy.in-progress",{values:p})}},ae=e=>{const n=[],f={},p=[b.Biometric,b.Documents,b.ProofOfAddress];e.forEach(w=>{p.includes(w.Type)&&(n.push(w.Type),f[w.Type]=le(w,ce(w.Type)))});let _=n.every(w=>E.has(w)),V=`verification.shuftipro.in-progress.${n.sort().join(".")}`;return _?s("verification.shuftipro.validations-started"):s(V,{values:f})},le=(e,n)=>`<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${n}</a>`,ce=e=>s(`verification.shuftipro.link-name.${e}`),q=(e,n)=>{if(e.stopPropagation(),e.target&&(e.target.href||e.target.closest("a"))){if(e.target.closest(".verificationLink")){const f=e.target.className.split(" ")[1];E.add(f),o(4,A=x())}return}n===0&&o(5,O=!O)},fe=()=>{o(6,M=y==="false")},de=()=>{o(8,B=C+"/"+d+"/"+ye);try{fetch(B,{method:"HEAD"}).then(e=>{o(7,T=e.ok)})}catch(e){o(7,T=!1)}},z=()=>{window.postMessage({type:"ShowCashierVideoModal",details:M?ke:_e},window.location.href)},ue=(e,n)=>q(n,e),he=(e,n)=>q(n,e),me=()=>z();function pe(e){i.binding_callbacks[e?"unshift":"push"](()=>{g=e,o(3,g)})}return r.$$set=e=>{"endpoint"in e&&o(12,c=e.endpoint),"lang"in e&&o(13,d=e.lang),"translationurl"in e&&o(14,u=e.translationurl),"clientstyling"in e&&o(0,m=e.clientstyling),"clientstylingurl"in e&&o(1,l=e.clientstylingurl),"session"in e&&o(15,h=e.session),"customerid"in e&&o(16,a=e.customerid),"ismobileview"in e&&o(2,y=e.ismobileview)},r.$$.update=()=>{r.$$.dirty[0]&8192&&d&&J(),r.$$.dirty[0]&36864&&c&&h&&$(),r.$$.dirty[0]&16384&&u&&Z(),r.$$.dirty[0]&9&&m&&g&&X(),r.$$.dirty[0]&10&&l&&g&&Q(),r.$$.dirty[0]&4&&y&&fe(),r.$$.dirty[0]&131072&&C&&de()},[m,l,y,g,A,O,M,T,B,s,q,z,c,d,u,h,a,C,ue,he,me,pe]}class G extends i.SvelteComponent{constructor(t){super(),i.init(this,t,Ve,we,i.safe_not_equal,{endpoint:12,lang:13,translationurl:14,clientstyling:0,clientstylingurl:1,session:15,customerid:16,ismobileview:2},ve,[-1,-1])}get endpoint(){return this.$$.ctx[12]}set endpoint(t){this.$$set({endpoint:t}),i.flush()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),i.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),i.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get session(){return this.$$.ctx[15]}set session(t){this.$$set({session:t}),i.flush()}get customerid(){return this.$$.ctx[16]}set customerid(t){this.$$set({customerid:t}),i.flush()}get ismobileview(){return this.$$.ctx[2]}set ismobileview(t){this.$$set({ismobileview:t}),i.flush()}}i.create_custom_element(G,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},ismobileview:{}},[],[],!0);exports.default=G;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as Ce, b as _e,
|
|
2
|
-
import { a as qe, i as xe, $ as Ee, b as Fe } from "./CashierError-
|
|
3
|
-
import { d as
|
|
4
|
-
function
|
|
1
|
+
import { S as Ce, b as _e, s as Se, f as b, c as Ae, n as G, e as C, J as O, l as _, o as w, q as V, v as Oe, K as Y, L as Te, E as D, p as A, z as Me, m as k, A as H, x as Be, y as Le, D as Ie } from "./CashierConfirmModal-Bop0eOiK.js";
|
|
2
|
+
import { a as qe, i as xe, $ as Ee, b as Fe } from "./CashierError-guAFhbld.js";
|
|
3
|
+
import { d as J, u as ze } from "./CashierMethodDetails-Dsx6mHYI.js";
|
|
4
|
+
function Z(t, i) {
|
|
5
5
|
qe(t, i);
|
|
6
6
|
}
|
|
7
7
|
function Ue(t) {
|
|
@@ -77,12 +77,12 @@ 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-CEfQgtP6.js").then(({ default: i }) => {
|
|
81
81
|
!customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", i.element);
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
function Re(t) {
|
|
85
|
-
|
|
85
|
+
Ae(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
87
|
function Q(t, i, r) {
|
|
88
88
|
const s = t.slice();
|
|
@@ -127,10 +127,10 @@ function $(t) {
|
|
|
127
127
|
);
|
|
128
128
|
},
|
|
129
129
|
m(a, u) {
|
|
130
|
-
|
|
130
|
+
_(a, i, u);
|
|
131
131
|
for (let n = 0; n < d.length; n += 1)
|
|
132
132
|
d[n] && d[n].m(i, null);
|
|
133
|
-
|
|
133
|
+
_(a, r, u), h && h.m(a, u), _(a, s, u), _(a, c, u);
|
|
134
134
|
},
|
|
135
135
|
p(a, u) {
|
|
136
136
|
if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
|
|
@@ -176,7 +176,7 @@ function $(t) {
|
|
|
176
176
|
);
|
|
177
177
|
},
|
|
178
178
|
d(a) {
|
|
179
|
-
a && (
|
|
179
|
+
a && (C(i), C(r), C(s), C(c)), Te(d, a), h && h.d(a);
|
|
180
180
|
}
|
|
181
181
|
};
|
|
182
182
|
}
|
|
@@ -197,13 +197,13 @@ function ee(t) {
|
|
|
197
197
|
i = w("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>', V(i, "class", "CashierVerificationChevron");
|
|
198
198
|
},
|
|
199
199
|
m(f, d) {
|
|
200
|
-
|
|
200
|
+
_(f, i, d), r || (s = H(i, "click", c), r = !0);
|
|
201
201
|
},
|
|
202
202
|
p(f, d) {
|
|
203
203
|
t = f;
|
|
204
204
|
},
|
|
205
205
|
d(f) {
|
|
206
|
-
f &&
|
|
206
|
+
f && C(i), r = !1, s();
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
}
|
|
@@ -236,7 +236,7 @@ function ie(t) {
|
|
|
236
236
|
);
|
|
237
237
|
},
|
|
238
238
|
m(m, P) {
|
|
239
|
-
|
|
239
|
+
_(m, i, P), k(i, r), k(i, s), k(i, c), c.innerHTML = f, k(i, d), n && n.m(i, null), k(i, h), a || (u = H(i, "click", y), a = !0);
|
|
240
240
|
},
|
|
241
241
|
p(m, P) {
|
|
242
242
|
t = m, P[0] & /*displayMessages*/
|
|
@@ -252,7 +252,7 @@ function ie(t) {
|
|
|
252
252
|
);
|
|
253
253
|
},
|
|
254
254
|
d(m) {
|
|
255
|
-
m &&
|
|
255
|
+
m && C(i), n && n.d(), a = !1, u();
|
|
256
256
|
}
|
|
257
257
|
};
|
|
258
258
|
}
|
|
@@ -263,7 +263,7 @@ function te(t) {
|
|
|
263
263
|
), d, h, a;
|
|
264
264
|
return {
|
|
265
265
|
c() {
|
|
266
|
-
i = w("div"), r = w("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 = w("div"), d =
|
|
266
|
+
i = w("div"), r = w("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 = w("div"), d = Le(f), V(r, "class", "IconVideo"), V(c, "class", "CashierVerificationVideoLink"), O(
|
|
267
267
|
c,
|
|
268
268
|
"CashierVerificationVideoLinkDesktop",
|
|
269
269
|
/*desktopView*/
|
|
@@ -271,7 +271,7 @@ function te(t) {
|
|
|
271
271
|
), V(i, "class", "CashierVerificationVideo");
|
|
272
272
|
},
|
|
273
273
|
m(u, n) {
|
|
274
|
-
|
|
274
|
+
_(u, i, n), k(i, r), k(i, s), k(i, c), k(c, d), h || (a = H(
|
|
275
275
|
c,
|
|
276
276
|
"click",
|
|
277
277
|
/*click_handler_2*/
|
|
@@ -281,7 +281,7 @@ function te(t) {
|
|
|
281
281
|
p(u, n) {
|
|
282
282
|
n[0] & /*$_*/
|
|
283
283
|
512 && f !== (f = /*$_*/
|
|
284
|
-
u[9]("verification.video.how-to") + "") &&
|
|
284
|
+
u[9]("verification.video.how-to") + "") && Be(d, f), n[0] & /*desktopView*/
|
|
285
285
|
64 && O(
|
|
286
286
|
c,
|
|
287
287
|
"CashierVerificationVideoLinkDesktop",
|
|
@@ -290,7 +290,7 @@ function te(t) {
|
|
|
290
290
|
);
|
|
291
291
|
},
|
|
292
292
|
d(u) {
|
|
293
|
-
u &&
|
|
293
|
+
u && C(i), h = !1, a();
|
|
294
294
|
}
|
|
295
295
|
};
|
|
296
296
|
}
|
|
@@ -309,7 +309,7 @@ function He(t) {
|
|
|
309
309
|
);
|
|
310
310
|
},
|
|
311
311
|
m(s, c) {
|
|
312
|
-
|
|
312
|
+
_(s, i, c), r && r.m(i, null), t[21](i);
|
|
313
313
|
},
|
|
314
314
|
p(s, c) {
|
|
315
315
|
/*displayMessages*/
|
|
@@ -324,14 +324,14 @@ function He(t) {
|
|
|
324
324
|
i: G,
|
|
325
325
|
o: G,
|
|
326
326
|
d(s) {
|
|
327
|
-
s &&
|
|
327
|
+
s && C(i), r && r.d(), t[21](null);
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
331
|
const je = "verification_explanation_video_widgets.MP4", Ne = "700px", Ke = "500px";
|
|
332
332
|
function We(t, i, r) {
|
|
333
333
|
let s;
|
|
334
|
-
|
|
334
|
+
Oe(t, Fe, (e) => r(9, s = e)), J.extend(ze);
|
|
335
335
|
let { endpoint: c } = i, { lang: f = "en" } = i, { translationurl: d = "" } = i, { clientstyling: h = "" } = i, { clientstylingurl: a = "" } = i, { session: u = "" } = i, { customerid: n = "" } = i, { ismobileview: y = "" } = i, m, P = /* @__PURE__ */ new Set(), j = /* @__PURE__ */ new Set(), B, L, I, q = !0, x = !0, E = !1, F = "";
|
|
336
336
|
var T;
|
|
337
337
|
(function(e) {
|
|
@@ -358,14 +358,14 @@ function We(t, i, r) {
|
|
|
358
358
|
if (e)
|
|
359
359
|
return fetch(e).then((o) => o.json()).then((o) => {
|
|
360
360
|
Object.keys(o).forEach((l) => {
|
|
361
|
-
|
|
361
|
+
Z(l, o[l]);
|
|
362
362
|
});
|
|
363
363
|
}).catch((o) => {
|
|
364
364
|
console.log(o);
|
|
365
365
|
});
|
|
366
366
|
};
|
|
367
367
|
Object.keys(X).forEach((e) => {
|
|
368
|
-
|
|
368
|
+
Z(e, X[e]);
|
|
369
369
|
});
|
|
370
370
|
const se = () => {
|
|
371
371
|
Ue(f);
|
|
@@ -387,7 +387,7 @@ function We(t, i, r) {
|
|
|
387
387
|
if (!e)
|
|
388
388
|
return;
|
|
389
389
|
const l = new URL(`${c}/v1/player/verification/GetKYCStatus`), g = new Headers();
|
|
390
|
-
g.append("accept", "application/json"), g.append("Content-Type", "application/json"), g.append("X-Client-Request-Timestamp",
|
|
390
|
+
g.append("accept", "application/json"), g.append("Content-Type", "application/json"), g.append("X-Client-Request-Timestamp", J.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
391
391
|
const R = {
|
|
392
392
|
method: "POST",
|
|
393
393
|
headers: g,
|
|
@@ -507,7 +507,7 @@ function We(t, i, r) {
|
|
|
507
507
|
);
|
|
508
508
|
}, Ve = (e, o) => U(o, e), Pe = (e, o) => U(o, e), be = () => W();
|
|
509
509
|
function De(e) {
|
|
510
|
-
|
|
510
|
+
Me[e ? "unshift" : "push"](() => {
|
|
511
511
|
m = e, r(3, m);
|
|
512
512
|
});
|
|
513
513
|
}
|
|
@@ -554,7 +554,7 @@ class Ge extends Ce {
|
|
|
554
554
|
i,
|
|
555
555
|
We,
|
|
556
556
|
He,
|
|
557
|
-
|
|
557
|
+
Se,
|
|
558
558
|
{
|
|
559
559
|
endpoint: 12,
|
|
560
560
|
lang: 13,
|
|
@@ -618,7 +618,7 @@ class Ge extends Ce {
|
|
|
618
618
|
this.$$set({ ismobileview: i }), b();
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
|
|
621
|
+
Ie(Ge, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
|
|
622
622
|
export {
|
|
623
623
|
Ge as default
|
|
624
624
|
};
|