@everymatrix/cashier-page 1.94.35 → 1.94.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CashierCarousel-CWqhxf1D.cjs +1 -0
- package/components/{CashierCarousel-Z8XQiZtX.js → CashierCarousel-DFK922WR.js} +214 -178
- package/components/{CashierCarousel-BGfNxDz0.js → CashierCarousel-k7Y3Z9n1.js} +214 -178
- package/components/CashierError-C1W-9X8J.cjs +1 -0
- package/components/CashierError-C9gnnAyr.js +814 -0
- package/components/CashierError-WkiOBVs-.js +798 -0
- package/components/CashierHeader-BK500Xjw.cjs +1 -0
- package/components/{CashierHeader-DR5CIeYH.js → CashierHeader-Byz_chFz.js} +53 -32
- package/components/{CashierHeader-B0I8Hm9N.js → CashierHeader-COwiXVNs.js} +53 -32
- package/components/CashierIframeRedirect-BDGjUNum.cjs +1 -0
- package/components/{CashierIframeRedirect-Kfujv5Tu.js → CashierIframeRedirect-BoyUKotK.js} +69 -60
- package/components/{CashierIframeRedirect-noBV2Gno.js → CashierIframeRedirect-rUhN76X2.js} +69 -60
- package/components/{CashierMethodDetails-DU9_SyL9.js → CashierMethodDetails-CGdI_qop.js} +2487 -2190
- package/components/{CashierMethodDetails-DVwdpgu7.js → CashierMethodDetails-UYwG3pD4.js} +2327 -2030
- package/components/CashierMethodDetails-rXDr1XNZ.cjs +85 -0
- package/components/{CashierMethodsList-lymtCECM.js → CashierMethodsList-BJOLHbcD.js} +169 -133
- package/components/{CashierMethodsList-DV2mPScV.js → CashierMethodsList-BL0sUyuY.js} +182 -146
- package/components/CashierMethodsList-CZV52Zob.cjs +1 -0
- package/components/{CashierModal-4NvydeSM.js → CashierModal-B_7Q4iwq.js} +2 -2
- package/components/{CashierModal-DsSB35zK.cjs → CashierModal-BxI26VGr.cjs} +1 -1
- package/components/{CashierModal-D8XP3k-9.js → CashierModal-Dl0z5NVU.js} +2 -2
- package/components/{CashierNotifications-CWHWRGor.js → CashierNotifications-0c5qC2wE.js} +1 -1
- package/components/{CashierNotifications-70FEIrYI.js → CashierNotifications-BELBGieS.js} +1 -1
- package/components/{CashierNotifications-zBdBB9R9.cjs → CashierNotifications-IlgXqW4M.cjs} +1 -1
- package/components/CashierPage-56J3O0u0.cjs +23 -0
- package/components/{CashierPage-CbgFZrDS.js → CashierPage-D9p8Vv64.js} +1159 -1018
- package/components/{CashierPage-B-Pr7AZy.js → CashierPage-f3Bp0yQu.js} +1058 -917
- package/components/{CashierReceiptPage-j4UIA3mG.cjs → CashierReceiptPage-CiR_vfro.cjs} +2 -2
- package/components/{CashierReceiptPage-Crz_yaNo.js → CashierReceiptPage-D2QaqABB.js} +800 -524
- package/components/{CashierReceiptPage-BwOTRhHh.js → CashierReceiptPage-HHsf22Go.js} +759 -483
- package/components/CashierSessionExpirationModal-BGSdk_Mj.cjs +2 -0
- package/components/{CashierSessionExpirationModal-tMsnWVOO.js → CashierSessionExpirationModal-BgA16ICX.js} +366 -342
- package/components/{CashierSessionExpirationModal-D00ms5oV.js → CashierSessionExpirationModal-YD2SyMu-.js} +342 -318
- package/components/{CashierSpinner-Cwaz-whk.js → CashierSpinner-B1exigYR.js} +2 -2
- package/components/{CashierSpinner-CTU40q6c.js → CashierSpinner-WMxJlzPU.js} +2 -2
- package/components/{CashierSpinner-Bg78eSic.cjs → CashierSpinner-xDUg2Ia3.cjs} +1 -1
- package/components/CashierStepUp-BJcULKh3.cjs +1 -0
- package/components/CashierStepUp-BX4oMHdc.js +1200 -0
- package/components/CashierStepUp-C_ptl1y7.js +1161 -0
- package/components/{CashierTransactionHistory-Bx6vKU6C.js → CashierTransactionHistory-CHZesJO5.js} +563 -488
- package/components/{CashierTransactionHistory-DIIRHvDL.js → CashierTransactionHistory-CrflKpwN.js} +550 -475
- package/components/CashierTransactionHistory-TDbLeWcJ.cjs +1 -0
- package/components/{CashierVerifications-CnE6LY7Z.js → CashierVerifications-BDZn88UR.js} +310 -249
- package/components/{CashierVerifications-BY8szmZd.js → CashierVerifications-CoqfO6l6.js} +309 -256
- package/components/CashierVerifications-QKE-9H4t.cjs +1 -0
- package/components/{TxnStatusIcon-BDHXtxcG.cjs → TxnStatusIcon-BOdjGqDN.cjs} +1 -1
- package/components/{TxnStatusIcon-R_hiKqjU.js → TxnStatusIcon-CXbH_076.js} +1 -1
- package/components/{TxnStatusIcon-fhrjpTWy.js → TxnStatusIcon-Cvq52nxs.js} +1 -1
- package/components/{TxnTypeIcons-BPO0fSnO.js → TxnTypeIcons-BZnwBNqe.js} +1 -1
- package/components/{TxnTypeIcons-CE_BRkD7.js → TxnTypeIcons-D-qWVgkw.js} +1 -1
- package/components/{TxnTypeIcons-K5uY_QVF.cjs → TxnTypeIcons-DuRqxFjm.cjs} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-D9Zltcjf.cjs +0 -1
- package/components/CashierError-CcmTsh3c.js +0 -655
- package/components/CashierError-DUP__3RW.js +0 -639
- package/components/CashierError-DkictxN-.cjs +0 -1
- package/components/CashierHeader-CObNnavj.cjs +0 -1
- package/components/CashierIframeRedirect-BStzG_d5.cjs +0 -1
- package/components/CashierMethodDetails-DYvi8y1l.cjs +0 -85
- package/components/CashierMethodsList-hLtYtrwU.cjs +0 -1
- package/components/CashierPage-5r3a_HdD.cjs +0 -23
- package/components/CashierSessionExpirationModal-DxniesoC.cjs +0 -2
- package/components/CashierStepUp-B00j5Tes.js +0 -1092
- package/components/CashierStepUp-COmbMPwk.js +0 -1131
- package/components/CashierStepUp-eD1Dg1eX.cjs +0 -1
- package/components/CashierTransactionHistory-BbFTZ24M.cjs +0 -1
- package/components/CashierVerifications-BeAwmtS5.cjs +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { s as ei, a as ii, b as ti } from "./CashierHeader-
|
|
1
|
+
import { a as qe, i as Ee, $ as Ie, S as He, b as Re, s as Ue, f as A, d as Ne, z as $, g as L, L as x, l as T, n as V, p as l, q as ee, M as ie, N as je, r as We, C as Ke, y as Ye, O as W, D as te, E as Xe, w as ce, P as re, m as g, G as Ge, A as de, Q as K, o as E, x as ue, H as Je, c as Ze, B as Qe, R as $e } from "./CashierPage-f3Bp0yQu.js";
|
|
2
|
+
import { s as ei, a as ii, b as ti } from "./CashierHeader-COwiXVNs.js";
|
|
3
3
|
function oe(r, i) {
|
|
4
|
-
|
|
4
|
+
qe(r, i);
|
|
5
5
|
}
|
|
6
6
|
function ri(r) {
|
|
7
|
-
|
|
7
|
+
Ee({
|
|
8
8
|
fallbackLocale: "en"
|
|
9
|
-
}),
|
|
9
|
+
}), Ie.set(r);
|
|
10
10
|
}
|
|
11
|
-
const
|
|
11
|
+
const ne = {
|
|
12
12
|
en: {
|
|
13
13
|
verificationsRequired: "Verifications Required",
|
|
14
14
|
"verification.video.how-to": "How to verify yourself?",
|
|
@@ -50,24 +50,81 @@ const se = {
|
|
|
50
50
|
fr: {
|
|
51
51
|
verificationsRequired: "Vérifications requises",
|
|
52
52
|
"verification.video.how-to": "Comment vérifier votre identité ?",
|
|
53
|
-
"verification.idenfy.referred-awaiting": "La vérification d
|
|
54
|
-
"verification.message.failed": "Nous sommes désolés, mais nous n
|
|
53
|
+
"verification.idenfy.referred-awaiting": "La vérification d'identité est en cours. Nous vous informerons dès que la vérification sera terminée et que vous pourrez retirer vos fonds.",
|
|
54
|
+
"verification.message.failed": "Nous sommes désolés, mais nous n'avons pas pu vérifier votre compte. Veuillez contacter l'équipe d'assistance.",
|
|
55
55
|
"verification.idenfy.link-name": "lien",
|
|
56
|
-
"verification.idenfy.in-progress": "Pour retirer des fonds vers votre compte, vous devez effectuer la vérification de l
|
|
57
|
-
"verification.shuftipro.in-progress.Biometric": "Pour poursuivre la transaction, vous devez effectuer la vérification de l
|
|
58
|
-
"verification.shuftipro.in-progress.Biometric.Documents": "Pour poursuivre la transaction, vous devez effectuer la vérification de l
|
|
59
|
-
"verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l
|
|
60
|
-
"verification.shuftipro.in-progress.Biometric.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l
|
|
61
|
-
"verification.shuftipro.in-progress.Documents": "Pour poursuivre la transaction, vous devez effectuer la vérification de l
|
|
62
|
-
"verification.shuftipro.in-progress.Documents.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l
|
|
63
|
-
"verification.shuftipro.in-progress.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l
|
|
56
|
+
"verification.idenfy.in-progress": "Pour retirer des fonds vers votre compte, vous devez effectuer la vérification de l'utilisateur. Veuillez préparer votre pièce d'identité et suivre le {link} pour commencer la vérification.",
|
|
57
|
+
"verification.shuftipro.in-progress.Biometric": "Pour poursuivre la transaction, vous devez effectuer la vérification de l'utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}.",
|
|
58
|
+
"verification.shuftipro.in-progress.Biometric.Documents": "Pour poursuivre la transaction, vous devez effectuer la vérification de l'utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {Documents}.",
|
|
59
|
+
"verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l'utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}, la vérification {Documents} et la vérification {ProofOfAddress}.",
|
|
60
|
+
"verification.shuftipro.in-progress.Biometric.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l'utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {ProofOfAddress}.",
|
|
61
|
+
"verification.shuftipro.in-progress.Documents": "Pour poursuivre la transaction, vous devez effectuer la vérification de l'utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents}.",
|
|
62
|
+
"verification.shuftipro.in-progress.Documents.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l'utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents} et la vérification {ProofOfAddress}.",
|
|
63
|
+
"verification.shuftipro.in-progress.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l'utilisateur. Veuillez suivre le lien pour commencer la vérification {ProofOfAddress}.",
|
|
64
64
|
"verification.shuftipro.link-name.Biometric": "Biométrique",
|
|
65
65
|
"verification.shuftipro.link-name.Documents": "Documents",
|
|
66
66
|
"verification.shuftipro.link-name.ProofOfAddress": "Justificatif de domicile",
|
|
67
67
|
"verification.shuftipro.validations-started": "Après avoir terminé la vérification, veuillez procéder à la transaction."
|
|
68
|
+
},
|
|
69
|
+
da: {
|
|
70
|
+
verificationsRequired: "Bekræftelser påkrævet",
|
|
71
|
+
"verification.video.how-to": "Hvordan verificerer du dig selv?",
|
|
72
|
+
"verification.idenfy.referred-awaiting": "ID-bekræftelse er i gang. Vi vil informere dig, så snart bekræftelsen er afsluttet, og du kan hæve penge igen",
|
|
73
|
+
"verification.message.failed": "Vi beklager, men vi var ikke i stand til at verificere din konto. Kontakt venligst supportteamet",
|
|
74
|
+
"verification.idenfy.link-name": "link",
|
|
75
|
+
"verification.idenfy.in-progress": "For at hæve penge til din konto skal du gennemføre brugerbekræftelse. Hav venligst dit ID klar og følg {link} for at starte bekræftelsen",
|
|
76
|
+
"verification.shuftipro.in-progress.Biometric": "For at fortsætte med en transaktion skal du gennemføre brugerbekræftelse. Følg venligst linket for at starte {Biometric}-bekræftelse.",
|
|
77
|
+
"verification.shuftipro.in-progress.Biometric.Documents": "For at fortsætte med en transaktion skal du gennemføre brugerbekræftelse. Følg venligst linket for at starte {Biometric}-bekræftelse og {Documents}-bekræftelse.",
|
|
78
|
+
"verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "For at fortsætte med en transaktion skal du gennemføre brugerbekræftelse. Følg venligst linket for at starte {Biometric}-bekræftelse, {Documents}-bekræftelse og {ProofOfAddress}-bekræftelse.",
|
|
79
|
+
"verification.shuftipro.in-progress.Biometric.ProofOfAddress": "For at fortsætte med en transaktion skal du gennemføre brugerbekræftelse. Følg venligst linket for at starte {Biometric}-bekræftelse og {ProofOfAddress}-bekræftelse.",
|
|
80
|
+
"verification.shuftipro.in-progress.Documents": "For at fortsætte med en transaktion skal du gennemføre brugerbekræftelse. Følg venligst linket for at starte {Documents}-bekræftelse.",
|
|
81
|
+
"verification.shuftipro.in-progress.Documents.ProofOfAddress": "For at fortsætte med en transaktion skal du gennemføre brugerbekræftelse. Følg venligst linket for at starte {Documents}-bekræftelse og {ProofOfAddress}-bekræftelse.",
|
|
82
|
+
"verification.shuftipro.in-progress.ProofOfAddress": "For at fortsætte med en transaktion skal du gennemføre brugerbekræftelse. Følg venligst linket for at starte {ProofOfAddress}-bekræftelse.",
|
|
83
|
+
"verification.shuftipro.link-name.Biometric": "Biometrisk",
|
|
84
|
+
"verification.shuftipro.link-name.Documents": "Dokumenter",
|
|
85
|
+
"verification.shuftipro.link-name.ProofOfAddress": "Adressedokumentation",
|
|
86
|
+
"verification.shuftipro.validations-started": "Efter at have gennemført bekræftelsen, fortsæt venligst med transaktionen"
|
|
87
|
+
},
|
|
88
|
+
de: {
|
|
89
|
+
verificationsRequired: "Verifizierungen erforderlich",
|
|
90
|
+
"verification.video.how-to": "Wie verifizieren Sie sich?",
|
|
91
|
+
"verification.idenfy.referred-awaiting": "Die ID-Verifizierung läuft. Wir informieren Sie, sobald die Verifizierung abgeschlossen ist und Sie Geld abheben können",
|
|
92
|
+
"verification.message.failed": "Wir entschuldigen uns, aber wir konnten Ihr Konto nicht verifizieren. Bitte kontaktieren Sie das Support-Team",
|
|
93
|
+
"verification.idenfy.link-name": "Link",
|
|
94
|
+
"verification.idenfy.in-progress": "Um Geld auf Ihr Konto abzuheben, müssen Sie die Benutzerverifizierung abschließen. Bitte halten Sie Ihren Ausweis bereit und folgen Sie dem {link}, um die Verifizierung zu starten",
|
|
95
|
+
"verification.shuftipro.in-progress.Biometric": "Um mit einer Transaktion fortzufahren, müssen Sie die Benutzerverifizierung abschließen. Bitte folgen Sie dem Link, um die {Biometric}-Verifizierung zu starten.",
|
|
96
|
+
"verification.shuftipro.in-progress.Biometric.Documents": "Um mit einer Transaktion fortzufahren, müssen Sie die Benutzerverifizierung abschließen. Bitte folgen Sie dem Link, um die {Biometric}-Verifizierung und die {Documents}-Verifizierung zu starten.",
|
|
97
|
+
"verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "Um mit einer Transaktion fortzufahren, müssen Sie die Benutzerverifizierung abschließen. Bitte folgen Sie dem Link, um die {Biometric}-Verifizierung, die {Documents}-Verifizierung und die {ProofOfAddress}-Verifizierung zu starten.",
|
|
98
|
+
"verification.shuftipro.in-progress.Biometric.ProofOfAddress": "Um mit einer Transaktion fortzufahren, müssen Sie die Benutzerverifizierung abschließen. Bitte folgen Sie dem Link, um die {Biometric}-Verifizierung und die {ProofOfAddress}-Verifizierung zu starten.",
|
|
99
|
+
"verification.shuftipro.in-progress.Documents": "Um mit einer Transaktion fortzufahren, müssen Sie die Benutzerverifizierung abschließen. Bitte folgen Sie dem Link, um die {Documents}-Verifizierung zu starten.",
|
|
100
|
+
"verification.shuftipro.in-progress.Documents.ProofOfAddress": "Um mit einer Transaktion fortzufahren, müssen Sie die Benutzerverifizierung abschließen. Bitte folgen Sie dem Link, um die {Documents}-Verifizierung und die {ProofOfAddress}-Verifizierung zu starten.",
|
|
101
|
+
"verification.shuftipro.in-progress.ProofOfAddress": "Um mit einer Transaktion fortzufahren, müssen Sie die Benutzerverifizierung abschließen. Bitte folgen Sie dem Link, um die {ProofOfAddress}-Verifizierung zu starten.",
|
|
102
|
+
"verification.shuftipro.link-name.Biometric": "Biometrisch",
|
|
103
|
+
"verification.shuftipro.link-name.Documents": "Dokumente",
|
|
104
|
+
"verification.shuftipro.link-name.ProofOfAddress": "Adressnachweis",
|
|
105
|
+
"verification.shuftipro.validations-started": "Nach Abschluss der Verifizierung fahren Sie bitte mit der Transaktion fort"
|
|
106
|
+
},
|
|
107
|
+
nl: {
|
|
108
|
+
verificationsRequired: "Verificaties vereist",
|
|
109
|
+
"verification.video.how-to": "Hoe verifieert u uzelf?",
|
|
110
|
+
"verification.idenfy.referred-awaiting": "ID-verificatie is bezig. We informeren u zodra de verificatie is voltooid en u geld kunt opnemen",
|
|
111
|
+
"verification.message.failed": "Onze excuses, maar we konden uw account niet verifiëren. Neem contact op met het supportteam",
|
|
112
|
+
"verification.idenfy.link-name": "link",
|
|
113
|
+
"verification.idenfy.in-progress": "Om geld op uw rekening op te nemen, moet u de gebruikersverificatie doorlopen. Houd uw ID bij de hand en volg de {link} om de verificatie te starten",
|
|
114
|
+
"verification.shuftipro.in-progress.Biometric": "Om door te gaan met een transactie moet u de gebruikersverificatie doorlopen. Volg de link om de {Biometric}-verificatie te starten.",
|
|
115
|
+
"verification.shuftipro.in-progress.Biometric.Documents": "Om door te gaan met een transactie moet u de gebruikersverificatie doorlopen. Volg de link om de {Biometric}-verificatie en de {Documents}-verificatie te starten.",
|
|
116
|
+
"verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "Om door te gaan met een transactie moet u de gebruikersverificatie doorlopen. Volg de link om de {Biometric}-verificatie, de {Documents}-verificatie en de {ProofOfAddress}-verificatie te starten.",
|
|
117
|
+
"verification.shuftipro.in-progress.Biometric.ProofOfAddress": "Om door te gaan met een transactie moet u de gebruikersverificatie doorlopen. Volg de link om de {Biometric}-verificatie en de {ProofOfAddress}-verificatie te starten.",
|
|
118
|
+
"verification.shuftipro.in-progress.Documents": "Om door te gaan met een transactie moet u de gebruikersverificatie doorlopen. Volg de link om de {Documents}-verificatie te starten.",
|
|
119
|
+
"verification.shuftipro.in-progress.Documents.ProofOfAddress": "Om door te gaan met een transactie moet u de gebruikersverificatie doorlopen. Volg de link om de {Documents}-verificatie en de {ProofOfAddress}-verificatie te starten.",
|
|
120
|
+
"verification.shuftipro.in-progress.ProofOfAddress": "Om door te gaan met een transactie moet u de gebruikersverificatie doorlopen. Volg de link om de {ProofOfAddress}-verificatie te starten.",
|
|
121
|
+
"verification.shuftipro.link-name.Biometric": "Biometrisch",
|
|
122
|
+
"verification.shuftipro.link-name.Documents": "Documenten",
|
|
123
|
+
"verification.shuftipro.link-name.ProofOfAddress": "Adresbewijs",
|
|
124
|
+
"verification.shuftipro.validations-started": "Na het voltooien van de verificatie, ga dan door met de transactie"
|
|
68
125
|
}
|
|
69
126
|
};
|
|
70
|
-
if (typeof window
|
|
127
|
+
if (typeof window < "u") {
|
|
71
128
|
let r = function(i) {
|
|
72
129
|
return function(...t) {
|
|
73
130
|
try {
|
|
@@ -79,48 +136,48 @@ if (typeof window != "undefined") {
|
|
|
79
136
|
}
|
|
80
137
|
};
|
|
81
138
|
};
|
|
82
|
-
customElements.define = r(customElements.define), import("./CashierModal-
|
|
139
|
+
customElements.define = r(customElements.define), import("./CashierModal-Dl0z5NVU.js").then(({ default: i }) => {
|
|
83
140
|
!customElements.get("cashier-modal") && customElements.define("cashier-modal", i.element);
|
|
84
141
|
});
|
|
85
142
|
}
|
|
86
143
|
function oi(r) {
|
|
87
|
-
|
|
144
|
+
Ne(r, "svelte-1kmyt1l", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications .CashierVerificationsWrapper:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) auto}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:var(--verifications-list-height, 0);transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}');
|
|
88
145
|
}
|
|
89
|
-
function
|
|
146
|
+
function se(r, i, t) {
|
|
90
147
|
const o = r.slice();
|
|
91
148
|
return o[58] = i[t], o;
|
|
92
149
|
}
|
|
93
|
-
function
|
|
150
|
+
function ni(r) {
|
|
94
151
|
let i, t = (
|
|
95
152
|
/*displayMessages*/
|
|
96
153
|
r[3].length > 0 && ae(r)
|
|
97
154
|
);
|
|
98
155
|
return {
|
|
99
156
|
c() {
|
|
100
|
-
i =
|
|
157
|
+
i = V("div"), t && t.c(), l(i, "class", "CashierVerificationsWrapper");
|
|
101
158
|
},
|
|
102
|
-
m(o,
|
|
103
|
-
T(o, i,
|
|
159
|
+
m(o, s) {
|
|
160
|
+
T(o, i, s), t && t.m(i, null);
|
|
104
161
|
},
|
|
105
|
-
p(o,
|
|
162
|
+
p(o, s) {
|
|
106
163
|
/*displayMessages*/
|
|
107
|
-
o[3].length > 0 ? t ? t.p(o,
|
|
164
|
+
o[3].length > 0 ? t ? t.p(o, s) : (t = ae(o), t.c(), t.m(i, null)) : t && (t.d(1), t = null);
|
|
108
165
|
},
|
|
109
166
|
d(o) {
|
|
110
167
|
o && L(i), t && t.d();
|
|
111
168
|
}
|
|
112
169
|
};
|
|
113
170
|
}
|
|
114
|
-
function
|
|
171
|
+
function si(r) {
|
|
115
172
|
let i;
|
|
116
173
|
return {
|
|
117
174
|
c() {
|
|
118
|
-
i =
|
|
175
|
+
i = V("cashier-spinner"), W(
|
|
119
176
|
i,
|
|
120
177
|
"clientstylingurl",
|
|
121
178
|
/*clientstylingurl*/
|
|
122
179
|
r[1]
|
|
123
|
-
),
|
|
180
|
+
), W(
|
|
124
181
|
i,
|
|
125
182
|
"clientstyling",
|
|
126
183
|
/*clientstyling*/
|
|
@@ -132,13 +189,13 @@ function ni(r) {
|
|
|
132
189
|
},
|
|
133
190
|
p(t, o) {
|
|
134
191
|
o[0] & /*clientstylingurl*/
|
|
135
|
-
2 &&
|
|
192
|
+
2 && W(
|
|
136
193
|
i,
|
|
137
194
|
"clientstylingurl",
|
|
138
195
|
/*clientstylingurl*/
|
|
139
196
|
t[1]
|
|
140
197
|
), o[0] & /*clientstyling*/
|
|
141
|
-
1 &&
|
|
198
|
+
1 && W(
|
|
142
199
|
i,
|
|
143
200
|
"clientstyling",
|
|
144
201
|
/*clientstyling*/
|
|
@@ -151,185 +208,185 @@ function ni(r) {
|
|
|
151
208
|
};
|
|
152
209
|
}
|
|
153
210
|
function ae(r) {
|
|
154
|
-
let i, t, o,
|
|
211
|
+
let i, t, o, s, a, d, h, P = (
|
|
155
212
|
/*$_*/
|
|
156
213
|
r[9]("verificationsRequired") + ""
|
|
157
|
-
), k,
|
|
158
|
-
r[8]}px`,
|
|
214
|
+
), k, z, S, O, w, p, D, I, q = `${/*verificationsListHeight*/
|
|
215
|
+
r[8]}px`, _, M, C = te(
|
|
159
216
|
/*displayMessages*/
|
|
160
217
|
r[3]
|
|
161
218
|
), m = [];
|
|
162
|
-
for (let
|
|
163
|
-
m[
|
|
219
|
+
for (let c = 0; c < C.length; c += 1)
|
|
220
|
+
m[c] = fe(se(r, C, c));
|
|
164
221
|
let v = (
|
|
165
222
|
/*videoExists*/
|
|
166
|
-
r[6] &&
|
|
223
|
+
r[6] && le(r)
|
|
167
224
|
);
|
|
168
225
|
return {
|
|
169
226
|
c() {
|
|
170
|
-
i =
|
|
171
|
-
for (let
|
|
172
|
-
m[
|
|
173
|
-
|
|
227
|
+
i = V("div"), t = K("svg"), o = K("path"), s = K("path"), a = K("path"), d = E(), h = V("p"), k = ue(P), z = E(), S = V("span"), S.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', O = E(), w = V("div"), p = V("div");
|
|
228
|
+
for (let c = 0; c < m.length; c += 1)
|
|
229
|
+
m[c].c();
|
|
230
|
+
D = E(), v && v.c(), l(o, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), l(o, "stroke", "#6E738F"), l(o, "stroke-width", "2"), l(o, "stroke-linecap", "round"), l(o, "stroke-linejoin", "round"), l(s, "d", "M12 8V12"), l(s, "stroke", "#6E738F"), l(s, "stroke-width", "2"), l(s, "stroke-linecap", "round"), l(s, "stroke-linejoin", "round"), l(a, "d", "M12 16H12.01"), l(a, "stroke", "#6E738F"), l(a, "stroke-width", "2"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(t, "width", "24"), l(t, "height", "24"), l(t, "viewBox", "0 0 24 24"), l(t, "fill", "none"), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(S, "class", "CashierVerificationChevron"), x(
|
|
174
231
|
S,
|
|
175
232
|
"ShowVerifications",
|
|
176
233
|
/*allVerificationsVisible*/
|
|
177
234
|
r[4]
|
|
178
|
-
),
|
|
235
|
+
), l(i, "class", "VerificationsHeader"), l(p, "class", "VerificationsListInner"), Je(() => (
|
|
179
236
|
/*div1_elementresize_handler*/
|
|
180
|
-
r[21].call(
|
|
181
|
-
)),
|
|
182
|
-
|
|
237
|
+
r[21].call(p)
|
|
238
|
+
)), l(w, "class", "VerificationsList"), x(
|
|
239
|
+
w,
|
|
183
240
|
"ShowVerifications",
|
|
184
241
|
/*allVerificationsVisible*/
|
|
185
242
|
r[4]
|
|
186
|
-
), re(
|
|
243
|
+
), re(w, "--verifications-list-height", q);
|
|
187
244
|
},
|
|
188
|
-
m(
|
|
189
|
-
T(
|
|
190
|
-
for (let
|
|
191
|
-
m[
|
|
192
|
-
p
|
|
193
|
-
|
|
245
|
+
m(c, y) {
|
|
246
|
+
T(c, i, y), g(i, t), g(t, o), g(t, s), g(t, a), g(i, d), g(i, h), g(h, k), g(i, z), g(i, S), T(c, O, y), T(c, w, y), g(w, p);
|
|
247
|
+
for (let u = 0; u < m.length; u += 1)
|
|
248
|
+
m[u] && m[u].m(p, null);
|
|
249
|
+
g(p, D), v && v.m(p, null), I = Ge(
|
|
250
|
+
p,
|
|
194
251
|
/*div1_elementresize_handler*/
|
|
195
|
-
r[21].bind(
|
|
196
|
-
),
|
|
252
|
+
r[21].bind(p)
|
|
253
|
+
), _ || (M = de(
|
|
197
254
|
i,
|
|
198
255
|
"click",
|
|
199
256
|
/*toggleVerifications*/
|
|
200
257
|
r[10]
|
|
201
|
-
),
|
|
258
|
+
), _ = !0);
|
|
202
259
|
},
|
|
203
|
-
p(
|
|
204
|
-
if (
|
|
205
|
-
512 &&
|
|
206
|
-
|
|
207
|
-
16 &&
|
|
260
|
+
p(c, y) {
|
|
261
|
+
if (y[0] & /*$_*/
|
|
262
|
+
512 && P !== (P = /*$_*/
|
|
263
|
+
c[9]("verificationsRequired") + "") && ce(k, P), y[0] & /*allVerificationsVisible*/
|
|
264
|
+
16 && x(
|
|
208
265
|
S,
|
|
209
266
|
"ShowVerifications",
|
|
210
267
|
/*allVerificationsVisible*/
|
|
211
|
-
|
|
212
|
-
),
|
|
268
|
+
c[4]
|
|
269
|
+
), y[0] & /*displayMessages*/
|
|
213
270
|
8) {
|
|
214
|
-
|
|
271
|
+
C = te(
|
|
215
272
|
/*displayMessages*/
|
|
216
|
-
|
|
273
|
+
c[3]
|
|
217
274
|
);
|
|
218
|
-
let
|
|
219
|
-
for (
|
|
220
|
-
const
|
|
221
|
-
m[
|
|
275
|
+
let u;
|
|
276
|
+
for (u = 0; u < C.length; u += 1) {
|
|
277
|
+
const U = se(c, C, u);
|
|
278
|
+
m[u] ? m[u].p(U, y) : (m[u] = fe(U), m[u].c(), m[u].m(p, D));
|
|
222
279
|
}
|
|
223
|
-
for (;
|
|
224
|
-
m[
|
|
225
|
-
m.length =
|
|
280
|
+
for (; u < m.length; u += 1)
|
|
281
|
+
m[u].d(1);
|
|
282
|
+
m.length = C.length;
|
|
226
283
|
}
|
|
227
284
|
/*videoExists*/
|
|
228
|
-
|
|
229
|
-
16 &&
|
|
230
|
-
|
|
285
|
+
c[6] ? v ? v.p(c, y) : (v = le(c), v.c(), v.m(p, null)) : v && (v.d(1), v = null), y[0] & /*allVerificationsVisible*/
|
|
286
|
+
16 && x(
|
|
287
|
+
w,
|
|
231
288
|
"ShowVerifications",
|
|
232
289
|
/*allVerificationsVisible*/
|
|
233
|
-
|
|
234
|
-
),
|
|
235
|
-
256 &&
|
|
236
|
-
|
|
290
|
+
c[4]
|
|
291
|
+
), y[0] & /*verificationsListHeight*/
|
|
292
|
+
256 && q !== (q = `${/*verificationsListHeight*/
|
|
293
|
+
c[8]}px`) && re(w, "--verifications-list-height", q);
|
|
237
294
|
},
|
|
238
|
-
d(
|
|
239
|
-
|
|
295
|
+
d(c) {
|
|
296
|
+
c && (L(i), L(O), L(w)), Xe(m, c), v && v.d(), I(), _ = !1, M();
|
|
240
297
|
}
|
|
241
298
|
};
|
|
242
299
|
}
|
|
243
|
-
function
|
|
244
|
-
let i, t, o,
|
|
300
|
+
function fe(r) {
|
|
301
|
+
let i, t, o, s, a = (
|
|
245
302
|
/*message*/
|
|
246
303
|
r[58] + ""
|
|
247
304
|
);
|
|
248
305
|
return {
|
|
249
306
|
c() {
|
|
250
|
-
i =
|
|
307
|
+
i = V("div"), t = V("div"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', o = E(), s = V("p"), l(t, "class", "IconVerification"), l(s, "class", "text"), l(i, "class", "CashierVerificationMessage Test");
|
|
251
308
|
},
|
|
252
|
-
m(
|
|
253
|
-
T(
|
|
309
|
+
m(d, h) {
|
|
310
|
+
T(d, i, h), g(i, t), g(i, o), g(i, s), s.innerHTML = a;
|
|
254
311
|
},
|
|
255
|
-
p(
|
|
256
|
-
|
|
312
|
+
p(d, h) {
|
|
313
|
+
h[0] & /*displayMessages*/
|
|
257
314
|
8 && a !== (a = /*message*/
|
|
258
|
-
|
|
315
|
+
d[58] + "") && (s.innerHTML = a);
|
|
259
316
|
},
|
|
260
|
-
d(
|
|
261
|
-
|
|
317
|
+
d(d) {
|
|
318
|
+
d && L(i);
|
|
262
319
|
}
|
|
263
320
|
};
|
|
264
321
|
}
|
|
265
|
-
function
|
|
266
|
-
let i, t, o,
|
|
322
|
+
function le(r) {
|
|
323
|
+
let i, t, o, s, a = (
|
|
267
324
|
/*$_*/
|
|
268
325
|
r[9]("verification.video.how-to") + ""
|
|
269
|
-
),
|
|
326
|
+
), d, h, P;
|
|
270
327
|
return {
|
|
271
328
|
c() {
|
|
272
|
-
i =
|
|
273
|
-
|
|
329
|
+
i = V("div"), t = V("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', o = E(), s = V("div"), d = ue(a), l(t, "class", "IconVideo"), l(s, "class", "CashierVerificationVideoLink"), x(
|
|
330
|
+
s,
|
|
274
331
|
"CashierVerificationVideoLinkDesktop",
|
|
275
332
|
/*desktopView*/
|
|
276
333
|
r[5]
|
|
277
|
-
),
|
|
334
|
+
), l(i, "class", "CashierVerificationVideo Test");
|
|
278
335
|
},
|
|
279
|
-
m(k,
|
|
280
|
-
T(k, i,
|
|
336
|
+
m(k, z) {
|
|
337
|
+
T(k, i, z), g(i, t), g(i, o), g(i, s), g(s, d), h || (P = de(
|
|
281
338
|
i,
|
|
282
339
|
"click",
|
|
283
340
|
/*showVideo*/
|
|
284
341
|
r[11]
|
|
285
|
-
),
|
|
342
|
+
), h = !0);
|
|
286
343
|
},
|
|
287
|
-
p(k,
|
|
288
|
-
|
|
344
|
+
p(k, z) {
|
|
345
|
+
z[0] & /*$_*/
|
|
289
346
|
512 && a !== (a = /*$_*/
|
|
290
|
-
k[9]("verification.video.how-to") + "") &&
|
|
291
|
-
32 &&
|
|
292
|
-
|
|
347
|
+
k[9]("verification.video.how-to") + "") && ce(d, a), z[0] & /*desktopView*/
|
|
348
|
+
32 && x(
|
|
349
|
+
s,
|
|
293
350
|
"CashierVerificationVideoLinkDesktop",
|
|
294
351
|
/*desktopView*/
|
|
295
352
|
k[5]
|
|
296
353
|
);
|
|
297
354
|
},
|
|
298
355
|
d(k) {
|
|
299
|
-
k && L(i),
|
|
356
|
+
k && L(i), h = !1, P();
|
|
300
357
|
}
|
|
301
358
|
};
|
|
302
359
|
}
|
|
303
360
|
function ai(r) {
|
|
304
361
|
let i;
|
|
305
|
-
function t(a,
|
|
362
|
+
function t(a, d) {
|
|
306
363
|
if (
|
|
307
364
|
/*isLoading*/
|
|
308
365
|
a[7]
|
|
309
366
|
)
|
|
310
|
-
return
|
|
367
|
+
return si;
|
|
311
368
|
if (
|
|
312
369
|
/*displayMessages*/
|
|
313
370
|
a[3]
|
|
314
371
|
)
|
|
315
|
-
return
|
|
372
|
+
return ni;
|
|
316
373
|
}
|
|
317
|
-
let o = t(r),
|
|
374
|
+
let o = t(r), s = o && o(r);
|
|
318
375
|
return {
|
|
319
376
|
c() {
|
|
320
|
-
i =
|
|
377
|
+
i = V("div"), s && s.c(), l(i, "class", "CashierVerifications"), x(
|
|
321
378
|
i,
|
|
322
379
|
"CashierVerificationsDesktop",
|
|
323
380
|
/*desktopView*/
|
|
324
381
|
r[5]
|
|
325
382
|
);
|
|
326
383
|
},
|
|
327
|
-
m(a,
|
|
328
|
-
T(a, i,
|
|
384
|
+
m(a, d) {
|
|
385
|
+
T(a, i, d), s && s.m(i, null), r[22](i);
|
|
329
386
|
},
|
|
330
|
-
p(a,
|
|
331
|
-
o === (o = t(a)) &&
|
|
332
|
-
32 &&
|
|
387
|
+
p(a, d) {
|
|
388
|
+
o === (o = t(a)) && s ? s.p(a, d) : (s && s.d(1), s = o && o(a), s && (s.c(), s.m(i, null))), d[0] & /*desktopView*/
|
|
389
|
+
32 && x(
|
|
333
390
|
i,
|
|
334
391
|
"CashierVerificationsDesktop",
|
|
335
392
|
/*desktopView*/
|
|
@@ -339,225 +396,221 @@ function ai(r) {
|
|
|
339
396
|
i: $,
|
|
340
397
|
o: $,
|
|
341
398
|
d(a) {
|
|
342
|
-
a && L(i),
|
|
399
|
+
a && L(i), s && s.d(), r[22](null);
|
|
343
400
|
}
|
|
344
401
|
};
|
|
345
402
|
}
|
|
346
|
-
const
|
|
347
|
-
function
|
|
348
|
-
let o,
|
|
349
|
-
ee(r, Qe, (e) => t(9, o = e)), ee(r, $e, (e) => t(31,
|
|
350
|
-
let { endpoint: a } = i, { lang:
|
|
351
|
-
var
|
|
403
|
+
const fi = "verification_explanation_video_widgets.MP4";
|
|
404
|
+
function li(r, i, t) {
|
|
405
|
+
let o, s;
|
|
406
|
+
ee(r, Qe, (e) => t(9, o = e)), ee(r, $e, (e) => t(31, s = e)), ie.extend(je);
|
|
407
|
+
let { endpoint: a } = i, { lang: d = "en" } = i, { translationurl: h = "" } = i, { clientstyling: P = "" } = i, { clientstylingurl: k = "" } = i, { session: z = "" } = i, { customerid: S = "" } = i, { playersession: O = "" } = i, { userroles: w = "" } = i, { mbsource: p = "" } = i, D, I = /* @__PURE__ */ new Set(), q = /* @__PURE__ */ new Set(), _, M, C, m = !1, v = !0, c = !1, y = "", u = !1, U, N = [], Y = 0, me = window.navigator.userAgent;
|
|
408
|
+
var H;
|
|
352
409
|
(function(e) {
|
|
353
410
|
e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
|
|
354
|
-
})(
|
|
355
|
-
var
|
|
411
|
+
})(H || (H = {}));
|
|
412
|
+
var X;
|
|
356
413
|
(function(e) {
|
|
357
414
|
e.Requested = "Requested";
|
|
358
|
-
})(
|
|
415
|
+
})(X || (X = {}));
|
|
359
416
|
var b;
|
|
360
417
|
(function(e) {
|
|
361
418
|
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";
|
|
362
419
|
})(b || (b = {}));
|
|
363
|
-
var
|
|
420
|
+
var R;
|
|
364
421
|
(function(e) {
|
|
365
422
|
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";
|
|
366
|
-
})(
|
|
423
|
+
})(R || (R = {}));
|
|
367
424
|
const J = (e) => {
|
|
368
425
|
e.data && e.data.type;
|
|
369
426
|
};
|
|
370
|
-
We(() => (window.addEventListener("message", J),
|
|
427
|
+
We(() => (window.addEventListener("message", J), _e(), () => {
|
|
371
428
|
window.removeEventListener("message", J);
|
|
372
429
|
}));
|
|
373
|
-
const
|
|
430
|
+
const ge = [
|
|
374
431
|
b.InProgress,
|
|
375
432
|
b.Referred,
|
|
376
433
|
b.AwaitingForResponse
|
|
377
|
-
],
|
|
378
|
-
let e =
|
|
434
|
+
], ve = () => {
|
|
435
|
+
let e = h;
|
|
379
436
|
if (e)
|
|
380
|
-
return fetch(e).then((
|
|
381
|
-
Object.keys(
|
|
382
|
-
oe(
|
|
437
|
+
return fetch(e).then((n) => n.json()).then((n) => {
|
|
438
|
+
Object.keys(n).forEach((f) => {
|
|
439
|
+
oe(f, n[f]);
|
|
383
440
|
});
|
|
384
|
-
}).catch((
|
|
385
|
-
console.log(
|
|
441
|
+
}).catch((n) => {
|
|
442
|
+
console.log(n);
|
|
386
443
|
});
|
|
387
444
|
};
|
|
388
|
-
Object.keys(
|
|
389
|
-
oe(e,
|
|
445
|
+
Object.keys(ne).forEach((e) => {
|
|
446
|
+
oe(e, ne[e]);
|
|
390
447
|
});
|
|
391
|
-
const
|
|
392
|
-
ri(
|
|
448
|
+
const he = () => {
|
|
449
|
+
ri(d);
|
|
393
450
|
}, Z = () => {
|
|
394
|
-
t(20,
|
|
395
|
-
const e = new URL(`${a}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${
|
|
396
|
-
|
|
397
|
-
const
|
|
451
|
+
t(20, M = we());
|
|
452
|
+
const e = new URL(`${a}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${d}`), n = new Headers();
|
|
453
|
+
n.append("accept", "application/json"), n.append("Content-Type", "application/json"), n.append("x-sessionid", `${O}`), n.append("X-Client-Request-Timestamp", ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(N) && N.length > 0 && N.indexOf("MM_CHANNEL_BETA") != -1 && n.append("MM_CHANNEL", "BETA");
|
|
454
|
+
const f = {
|
|
398
455
|
method: "POST",
|
|
399
|
-
headers:
|
|
456
|
+
headers: n,
|
|
400
457
|
body: JSON.stringify({})
|
|
401
458
|
};
|
|
402
|
-
t(7,
|
|
403
|
-
const
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
}), t(3,
|
|
407
|
-
}).finally(() => t(7,
|
|
408
|
-
},
|
|
409
|
-
|
|
410
|
-
},
|
|
411
|
-
let e = (
|
|
459
|
+
t(7, u = !0), fetch(e, f).then((B) => B.json()).then((B) => {
|
|
460
|
+
const G = pe(B?.Verifications);
|
|
461
|
+
_ = ye(G), _.VerificationStatuses.forEach((j) => {
|
|
462
|
+
j.VerificationUrlType !== "Widget" && I.add(j.Vendor);
|
|
463
|
+
}), t(3, C = Pe());
|
|
464
|
+
}).finally(() => t(7, u = !1));
|
|
465
|
+
}, pe = (e) => e ? e.sort((n, f) => new Date(f.Created).getTime() - new Date(n.Created).getTime()) : [], ke = () => {
|
|
466
|
+
s && Z();
|
|
467
|
+
}, we = () => {
|
|
468
|
+
let e = (z || s).split(".")[1];
|
|
412
469
|
if (e) {
|
|
413
|
-
let
|
|
414
|
-
return
|
|
470
|
+
let n = JSON.parse(atob(e));
|
|
471
|
+
return n.cdn + "/cashier/operator-assets/" + n?.mid;
|
|
415
472
|
}
|
|
416
473
|
return "";
|
|
417
474
|
}, ye = (e) => {
|
|
418
|
-
var l;
|
|
419
475
|
if (!e || !e.length)
|
|
420
476
|
return {
|
|
421
477
|
VerificationSummaryStatus: b.Unverified,
|
|
422
478
|
VerificationStatuses: []
|
|
423
479
|
};
|
|
424
|
-
const
|
|
425
|
-
if (
|
|
426
|
-
const
|
|
480
|
+
const n = Ve(e);
|
|
481
|
+
if (n && n.length) {
|
|
482
|
+
const f = be(n);
|
|
427
483
|
return {
|
|
428
|
-
VerificationSummaryStatus:
|
|
429
|
-
VerificationUrl:
|
|
430
|
-
VerificationStatuses: Q(
|
|
484
|
+
VerificationSummaryStatus: f.Status,
|
|
485
|
+
VerificationUrl: f.Flags?.DeferredUrlKey,
|
|
486
|
+
VerificationStatuses: Q(n, f.Status)
|
|
431
487
|
};
|
|
432
488
|
} else
|
|
433
489
|
return {
|
|
434
|
-
VerificationSummaryStatus: e.some((
|
|
490
|
+
VerificationSummaryStatus: e.some((B) => B.Status === b.Failed) ? b.Failed : b.Verified,
|
|
435
491
|
VerificationStatuses: Q(e, [b.Failed])
|
|
436
492
|
};
|
|
437
|
-
},
|
|
438
|
-
(
|
|
493
|
+
}, be = (e) => e.reduce(
|
|
494
|
+
(n, f) => n ? new Date(n) < new Date(f) ? f : n : f,
|
|
439
495
|
0
|
|
440
|
-
), Q = (e,
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
return s && l;
|
|
452
|
-
}, Ce = (e) => e.VendorName === I.ShuftiPro && e.Status === b.Referred, _e = () => {
|
|
453
|
-
switch (M.VerificationSummaryStatus) {
|
|
496
|
+
), Q = (e, n) => e.filter((f) => n.includes(f.Status)).map((f) => ({
|
|
497
|
+
Type: f.Type,
|
|
498
|
+
Vendor: f.VendorName,
|
|
499
|
+
VerificationDocuments: f.Documents ? [...f.Documents] : [],
|
|
500
|
+
VerificationUrlType: f.FlowInfo?.Type,
|
|
501
|
+
VerificationUrl: f.FlowInfo?.Url
|
|
502
|
+
})), Ve = (e) => e.filter((n) => ge.includes(n.Status) ? n.FlowInfo && n.FlowInfo.Url || ze(n) || De(n) : !1), ze = (e) => {
|
|
503
|
+
const n = e.Documents && e.VendorName === H.Manual, f = e.Documents && e.Documents.some((B) => B.Status === X.Requested);
|
|
504
|
+
return n && f;
|
|
505
|
+
}, De = (e) => e.VendorName === H.ShuftiPro && e.Status === b.Referred, Pe = () => {
|
|
506
|
+
switch (_.VerificationSummaryStatus) {
|
|
454
507
|
case b.InProgress:
|
|
455
508
|
const e = [];
|
|
456
|
-
return
|
|
457
|
-
e.push(
|
|
509
|
+
return I.forEach((n) => {
|
|
510
|
+
e.push(Be(n));
|
|
458
511
|
}), e;
|
|
459
512
|
case b.Referred:
|
|
460
513
|
return [o("verification.idenfy.referred-awaiting")];
|
|
461
514
|
case b.Failed:
|
|
462
515
|
return [o("verification.message.failed")];
|
|
463
516
|
}
|
|
464
|
-
},
|
|
465
|
-
const
|
|
466
|
-
if (e ===
|
|
467
|
-
return Se(
|
|
517
|
+
}, Be = (e) => {
|
|
518
|
+
const n = _.VerificationStatuses.filter((f) => f.Vendor === e);
|
|
519
|
+
if (e === H.ShuftiPro)
|
|
520
|
+
return Se(n);
|
|
468
521
|
{
|
|
469
|
-
const
|
|
470
|
-
link: `<a href="${
|
|
522
|
+
const f = o("verification.idenfy.link-name"), B = {
|
|
523
|
+
link: `<a href="${n[0].VerificationUrl}" target="_blank">${f}</a>`
|
|
471
524
|
};
|
|
472
|
-
return o("verification.idenfy.in-progress", { values:
|
|
525
|
+
return o("verification.idenfy.in-progress", { values: B });
|
|
473
526
|
}
|
|
474
527
|
}, Se = (e) => {
|
|
475
|
-
const
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
528
|
+
const n = [], f = {}, B = [
|
|
529
|
+
R.Biometric,
|
|
530
|
+
R.Documents,
|
|
531
|
+
R.ProofOfAddress
|
|
479
532
|
];
|
|
480
|
-
e.forEach((
|
|
481
|
-
|
|
533
|
+
e.forEach((F) => {
|
|
534
|
+
B.includes(F.Type) && (n.push(F.Type), f[F.Type] = Ae(F, Oe(F.Type)));
|
|
482
535
|
});
|
|
483
|
-
let
|
|
484
|
-
return
|
|
485
|
-
},
|
|
536
|
+
let G = n.every((F) => q.has(F)), j = `verification.shuftipro.in-progress.${n.sort().join(".")}`;
|
|
537
|
+
return G ? o("verification.shuftipro.validations-started") : o(j, { values: f });
|
|
538
|
+
}, Ae = (e, n) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${n}</a>`, Oe = (e) => o(`verification.shuftipro.link-name.${e}`), Ce = () => {
|
|
486
539
|
t(4, m = !m);
|
|
487
|
-
},
|
|
488
|
-
t(5, v = !
|
|
489
|
-
},
|
|
490
|
-
|
|
540
|
+
}, _e = () => {
|
|
541
|
+
t(5, v = !Ke(me));
|
|
542
|
+
}, xe = () => {
|
|
543
|
+
y = M + "/" + d + "/" + fi;
|
|
491
544
|
try {
|
|
492
|
-
fetch(
|
|
493
|
-
t(6,
|
|
545
|
+
fetch(y, { method: "HEAD" }).then((e) => {
|
|
546
|
+
t(6, c = e.ok);
|
|
494
547
|
});
|
|
495
|
-
} catch
|
|
496
|
-
t(6,
|
|
548
|
+
} catch {
|
|
549
|
+
t(6, c = !1);
|
|
497
550
|
}
|
|
498
|
-
}, Be = () => {
|
|
499
|
-
y.length > 0 && (N = y.split(","));
|
|
500
551
|
}, Le = () => {
|
|
552
|
+
w.length > 0 && (N = w.split(","));
|
|
553
|
+
}, Te = () => {
|
|
501
554
|
window.dispatchEvent(new CustomEvent(
|
|
502
555
|
"modal-update",
|
|
503
556
|
{
|
|
504
|
-
detail: { type: "video", data: { videoSrc:
|
|
557
|
+
detail: { type: "video", data: { videoSrc: y } }
|
|
505
558
|
}
|
|
506
559
|
));
|
|
507
560
|
};
|
|
508
|
-
function
|
|
509
|
-
|
|
561
|
+
function Me() {
|
|
562
|
+
Y = this.clientHeight, t(8, Y);
|
|
510
563
|
}
|
|
511
|
-
function
|
|
512
|
-
|
|
513
|
-
|
|
564
|
+
function Fe(e) {
|
|
565
|
+
Ye[e ? "unshift" : "push"](() => {
|
|
566
|
+
D = e, t(2, D);
|
|
514
567
|
});
|
|
515
568
|
}
|
|
516
569
|
return r.$$set = (e) => {
|
|
517
|
-
"endpoint" in e && t(12, a = e.endpoint), "lang" in e && t(13,
|
|
570
|
+
"endpoint" in e && t(12, a = e.endpoint), "lang" in e && t(13, d = e.lang), "translationurl" in e && t(14, h = e.translationurl), "clientstyling" in e && t(0, P = e.clientstyling), "clientstylingurl" in e && t(1, k = e.clientstylingurl), "session" in e && t(15, z = e.session), "customerid" in e && t(16, S = e.customerid), "playersession" in e && t(17, O = e.playersession), "userroles" in e && t(18, w = e.userroles), "mbsource" in e && t(19, p = e.mbsource);
|
|
518
571
|
}, r.$$.update = () => {
|
|
519
572
|
r.$$.dirty[0] & /*userroles*/
|
|
520
|
-
262144 &&
|
|
521
|
-
8192 &&
|
|
522
|
-
167936 && a &&
|
|
523
|
-
167936 && a && !
|
|
524
|
-
16384 &&
|
|
525
|
-
5 &&
|
|
526
|
-
6 && k &&
|
|
527
|
-
1048576 &&
|
|
528
|
-
524292 &&
|
|
573
|
+
262144 && w && Le(), r.$$.dirty[0] & /*lang*/
|
|
574
|
+
8192 && d && he(), r.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
575
|
+
167936 && a && z && O && Z(), r.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
576
|
+
167936 && a && !z && O && ke(), r.$$.dirty[0] & /*translationurl*/
|
|
577
|
+
16384 && h && ve(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
578
|
+
5 && P && D && ei(D, P), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
579
|
+
6 && k && D && ii(D, k), r.$$.dirty[0] & /*staticCdnUrl*/
|
|
580
|
+
1048576 && M && xe(), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
581
|
+
524292 && p && D && ti(D, `${p}.Style`, U);
|
|
529
582
|
}, [
|
|
530
|
-
|
|
583
|
+
P,
|
|
531
584
|
k,
|
|
532
|
-
|
|
533
|
-
|
|
585
|
+
D,
|
|
586
|
+
C,
|
|
534
587
|
m,
|
|
535
588
|
v,
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
589
|
+
c,
|
|
590
|
+
u,
|
|
591
|
+
Y,
|
|
539
592
|
o,
|
|
540
|
-
|
|
541
|
-
|
|
593
|
+
Ce,
|
|
594
|
+
Te,
|
|
542
595
|
a,
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
596
|
+
d,
|
|
597
|
+
h,
|
|
598
|
+
z,
|
|
546
599
|
S,
|
|
547
|
-
|
|
548
|
-
y,
|
|
600
|
+
O,
|
|
549
601
|
w,
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
602
|
+
p,
|
|
603
|
+
M,
|
|
604
|
+
Me,
|
|
605
|
+
Fe
|
|
553
606
|
];
|
|
554
607
|
}
|
|
555
|
-
class
|
|
608
|
+
class ci extends He {
|
|
556
609
|
constructor(i) {
|
|
557
|
-
super(),
|
|
610
|
+
super(), Re(
|
|
558
611
|
this,
|
|
559
612
|
i,
|
|
560
|
-
|
|
613
|
+
li,
|
|
561
614
|
ai,
|
|
562
615
|
Ue,
|
|
563
616
|
{
|
|
@@ -580,64 +633,64 @@ class fi extends Re {
|
|
|
580
633
|
return this.$$.ctx[12];
|
|
581
634
|
}
|
|
582
635
|
set endpoint(i) {
|
|
583
|
-
this.$$set({ endpoint: i }),
|
|
636
|
+
this.$$set({ endpoint: i }), A();
|
|
584
637
|
}
|
|
585
638
|
get lang() {
|
|
586
639
|
return this.$$.ctx[13];
|
|
587
640
|
}
|
|
588
641
|
set lang(i) {
|
|
589
|
-
this.$$set({ lang: i }),
|
|
642
|
+
this.$$set({ lang: i }), A();
|
|
590
643
|
}
|
|
591
644
|
get translationurl() {
|
|
592
645
|
return this.$$.ctx[14];
|
|
593
646
|
}
|
|
594
647
|
set translationurl(i) {
|
|
595
|
-
this.$$set({ translationurl: i }),
|
|
648
|
+
this.$$set({ translationurl: i }), A();
|
|
596
649
|
}
|
|
597
650
|
get clientstyling() {
|
|
598
651
|
return this.$$.ctx[0];
|
|
599
652
|
}
|
|
600
653
|
set clientstyling(i) {
|
|
601
|
-
this.$$set({ clientstyling: i }),
|
|
654
|
+
this.$$set({ clientstyling: i }), A();
|
|
602
655
|
}
|
|
603
656
|
get clientstylingurl() {
|
|
604
657
|
return this.$$.ctx[1];
|
|
605
658
|
}
|
|
606
659
|
set clientstylingurl(i) {
|
|
607
|
-
this.$$set({ clientstylingurl: i }),
|
|
660
|
+
this.$$set({ clientstylingurl: i }), A();
|
|
608
661
|
}
|
|
609
662
|
get session() {
|
|
610
663
|
return this.$$.ctx[15];
|
|
611
664
|
}
|
|
612
665
|
set session(i) {
|
|
613
|
-
this.$$set({ session: i }),
|
|
666
|
+
this.$$set({ session: i }), A();
|
|
614
667
|
}
|
|
615
668
|
get customerid() {
|
|
616
669
|
return this.$$.ctx[16];
|
|
617
670
|
}
|
|
618
671
|
set customerid(i) {
|
|
619
|
-
this.$$set({ customerid: i }),
|
|
672
|
+
this.$$set({ customerid: i }), A();
|
|
620
673
|
}
|
|
621
674
|
get playersession() {
|
|
622
675
|
return this.$$.ctx[17];
|
|
623
676
|
}
|
|
624
677
|
set playersession(i) {
|
|
625
|
-
this.$$set({ playersession: i }),
|
|
678
|
+
this.$$set({ playersession: i }), A();
|
|
626
679
|
}
|
|
627
680
|
get userroles() {
|
|
628
681
|
return this.$$.ctx[18];
|
|
629
682
|
}
|
|
630
683
|
set userroles(i) {
|
|
631
|
-
this.$$set({ userroles: i }),
|
|
684
|
+
this.$$set({ userroles: i }), A();
|
|
632
685
|
}
|
|
633
686
|
get mbsource() {
|
|
634
687
|
return this.$$.ctx[19];
|
|
635
688
|
}
|
|
636
689
|
set mbsource(i) {
|
|
637
|
-
this.$$set({ mbsource: i }),
|
|
690
|
+
this.$$set({ mbsource: i }), A();
|
|
638
691
|
}
|
|
639
692
|
}
|
|
640
|
-
Ze(
|
|
693
|
+
Ze(ci, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
|
|
641
694
|
export {
|
|
642
|
-
|
|
695
|
+
ci as default
|
|
643
696
|
};
|