@everymatrix/cashier-page 1.98.7 → 1.98.9
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-CLl1dEO0.js → CashierCarousel-BzdUV7XF.js} +160 -136
- package/components/{CashierCarousel-jiScaw1m.js → CashierCarousel-FFsdS-lS.js} +166 -142
- package/components/CashierCarousel-zmZZjXPR.cjs +1 -0
- package/components/{CashierError-BgzGU74G.js → CashierError-DM9cHWYk.js} +282 -178
- package/components/{CashierError-nb2MHtLH.cjs → CashierError-DtmAFp4L.cjs} +1 -1
- package/components/{CashierError-ulLnVgQF.js → CashierError-R9QTGjHi.js} +282 -178
- package/components/{CashierHeader-DEksQqYQ.js → CashierHeader-BGa8_twf.js} +144 -130
- package/components/{CashierHeader-jQ2-E617.js → CashierHeader-BoWdCzOy.js} +144 -130
- package/components/CashierHeader-DL7CeVPX.cjs +1 -0
- package/components/{CashierIframeRedirect-BUy5m6fN.js → CashierIframeRedirect-BGDgKj5q.js} +38 -32
- package/components/{CashierIframeRedirect-CyY79191.js → CashierIframeRedirect-ByL4GN6L.js} +38 -32
- package/components/CashierIframeRedirect-DwOnILP1.cjs +1 -0
- package/components/{CashierMethodDetails-DmHKHr2M.cjs → CashierMethodDetails-CMadBp5s.cjs} +4 -4
- package/components/{CashierMethodDetails-BHGrCcE3.js → CashierMethodDetails-DgFi6GOg.js} +1345 -1149
- package/components/{CashierMethodDetails-B-klrcoA.js → CashierMethodDetails-DwAKidqM.js} +1500 -1304
- package/components/{CashierMethodsList-u11i0SYf.js → CashierMethodsList-B0Y7Ov2y.js} +136 -112
- package/components/CashierMethodsList-BKSWzfhx.cjs +1 -0
- package/components/{CashierMethodsList-KXr3hScy.js → CashierMethodsList-BttlgP8I.js} +152 -128
- package/components/{CashierModal-Ke9TZX5s.js → CashierModal-BAqyZ3yN.js} +2 -2
- package/components/{CashierModal-4iF9ylQT.js → CashierModal-CTEreymk.js} +2 -2
- package/components/{CashierModal-CcawnfUI.cjs → CashierModal-DYiiDdjF.cjs} +1 -1
- package/components/{CashierNotifications-DquKOU8w.js → CashierNotifications-5vMGexnB.js} +1 -1
- package/components/{CashierNotifications-CY2B13Wf.js → CashierNotifications-C9DAtUCd.js} +1 -1
- package/components/{CashierNotifications-wQG099OX.cjs → CashierNotifications-DeciL3hL.cjs} +1 -1
- package/components/{CashierPage-895aolw0.js → CashierPage-Cyh00U_t.js} +1216 -1118
- package/components/{CashierPage-DEYpTaJv.cjs → CashierPage-Datx6Ztd.cjs} +6 -6
- package/components/{CashierPage-Bz6JgmrH.js → CashierPage-DmSMSwFD.js} +712 -614
- package/components/{CashierReceiptPage-CGcmTBRp.js → CashierReceiptPage-2QLgzHKu.js} +486 -302
- package/components/{CashierReceiptPage-BCh5OfiT.cjs → CashierReceiptPage-CljAf_RX.cjs} +2 -2
- package/components/{CashierReceiptPage-DNsdCwQQ.js → CashierReceiptPage-zipsq7HA.js} +483 -299
- package/components/{CashierSessionExpirationModal-i5NfYzNE.js → CashierSessionExpirationModal-BHUuaz3G.js} +141 -125
- package/components/CashierSessionExpirationModal-BhdcM6-i.cjs +2 -0
- package/components/{CashierSessionExpirationModal-IfrOHdOp.js → CashierSessionExpirationModal-CPiyWnR6.js} +141 -125
- package/components/{CashierSpinner-bOYmQpsr.js → CashierSpinner-CfN6GP0k.js} +2 -2
- package/components/{CashierSpinner-CKdmXXKt.cjs → CashierSpinner-DK9MV_jW.cjs} +1 -1
- package/components/{CashierSpinner-C9Ra-0IT.js → CashierSpinner-DlmmgiCp.js} +2 -2
- package/components/{CashierStepUp-B3Ph1OSf.js → CashierStepUp-D4IutqnI.js} +397 -351
- package/components/{CashierStepUp-CKae09kD.js → CashierStepUp-DBkCHzU6.js} +371 -325
- package/components/CashierStepUp-f6d-L0Pv.cjs +1 -0
- package/components/{CashierTransactionHistory-_uQpfmaM.js → CashierTransactionHistory-Bfx6cEFg.js} +522 -472
- package/components/{CashierTransactionHistory-DkPMVofl.js → CashierTransactionHistory-BmgU4GU7.js} +494 -444
- package/components/CashierTransactionHistory-Bxd87eQt.cjs +1 -0
- package/components/CashierVerifications-B-u47VhR.cjs +1 -0
- package/components/{CashierVerifications-CA42knBf.js → CashierVerifications-Bi_7cW9r.js} +256 -210
- package/components/{CashierVerifications-C3vBxGTw.js → CashierVerifications-UTO3n0Ei.js} +245 -199
- package/components/{TxnStatusIcon-T3_oGTiJ.js → TxnStatusIcon-CDynHfdT.js} +1 -1
- package/components/{TxnStatusIcon-_ohfqibs.js → TxnStatusIcon-XWXNjZi6.js} +1 -1
- package/components/{TxnStatusIcon-ObLzHWKw.cjs → TxnStatusIcon-xNz_TX3o.cjs} +1 -1
- package/components/{TxnTypeIcons-DhQNGQt2.js → TxnTypeIcons-Bui9VGqk.js} +1 -1
- package/components/{TxnTypeIcons-gD4j8VCB.js → TxnTypeIcons-D0YhmAk8.js} +1 -1
- package/components/{TxnTypeIcons-mX1zqVBL.cjs → TxnTypeIcons-D3xjja9q.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-Dh5Q3q4o.cjs +0 -1
- package/components/CashierHeader-DA_ReO25.cjs +0 -1
- package/components/CashierIframeRedirect-CB1_eaMN.cjs +0 -1
- package/components/CashierMethodsList-BvOniQPF.cjs +0 -1
- package/components/CashierSessionExpirationModal-CIrMZkSD.cjs +0 -2
- package/components/CashierStepUp-DIQ9DrxX.cjs +0 -1
- package/components/CashierTransactionHistory-Bkqw8dMT.cjs +0 -1
- package/components/CashierVerifications-BZPBsrmc.cjs +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { s as ei, a as ii, b as
|
|
3
|
-
function oe(
|
|
4
|
-
|
|
1
|
+
import { a as Me, i as We, $ as Ee, S as He, b as Ie, s as Re, f as B, d as Ue, z as $, g as q, L as _, l as T, n as P, p as l, q as ee, M as ie, N as je, r as Ne, C as Ye, y as Ke, O as N, D as re, E as Xe, w as ce, P as te, m as v, G as Ze, A as de, Q as Y, o as E, x as ue, H as Ge, c as Je, B as Qe, R as $e } from "./CashierPage-DmSMSwFD.js";
|
|
2
|
+
import { s as ei, a as ii, b as ri } from "./CashierHeader-BoWdCzOy.js";
|
|
3
|
+
function oe(t, i) {
|
|
4
|
+
Me(t, i);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function ti(t) {
|
|
7
7
|
We({
|
|
8
8
|
fallbackLocale: "en"
|
|
9
|
-
}), Ee.set(
|
|
9
|
+
}), Ee.set(t);
|
|
10
10
|
}
|
|
11
11
|
const ne = {
|
|
12
12
|
en: {
|
|
@@ -146,13 +146,59 @@ const ne = {
|
|
|
146
146
|
"verification.shuftipro.link-name.ProofOfPayment": "Betalingsbewijs",
|
|
147
147
|
"verification.shuftipro.link-name.SourceOfWealth": "Herkomst van vermogen",
|
|
148
148
|
"verification.shuftipro.validations-started": "Na het voltooien van de verificatie, ga dan door met de transactie"
|
|
149
|
+
},
|
|
150
|
+
ru: {
|
|
151
|
+
verificationsRequired: "Требуется верификация",
|
|
152
|
+
"verification.video.how-to": "Как пройти верификацию?",
|
|
153
|
+
"verification.idenfy.referred-awaiting": "Верификация личности выполняется. Мы сообщим вам, как только верификация будет завершена и вы сможете вывести средства обратно",
|
|
154
|
+
"verification.message.failed": "Приносим извинения, но мы не смогли верифицировать ваш аккаунт. Пожалуйста, свяжитесь со службой поддержки",
|
|
155
|
+
"verification.idenfy.link-name": "ссылка",
|
|
156
|
+
"verification.idenfy.in-progress": "Для вывода средств на ваш счёт вам необходимо пройти верификацию. Пожалуйста, подготовьте удостоверение личности и перейдите по {link}, чтобы начать верификацию",
|
|
157
|
+
"verification.shuftipro.in-progress.Biometric": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {Biometric}.",
|
|
158
|
+
"verification.shuftipro.in-progress.Biometric.Documents": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {Biometric} и верификацию {Documents}.",
|
|
159
|
+
"verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {Biometric}, верификацию {Documents} и верификацию {ProofOfAddress}.",
|
|
160
|
+
"verification.shuftipro.in-progress.Biometric.ProofOfAddress": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {Biometric} и верификацию {ProofOfAddress}.",
|
|
161
|
+
"verification.shuftipro.in-progress.Documents": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {Documents}.",
|
|
162
|
+
"verification.shuftipro.in-progress.Documents.ProofOfAddress": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {Documents} и верификацию {ProofOfAddress}.",
|
|
163
|
+
"verification.shuftipro.in-progress.ProofOfAddress": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {ProofOfAddress}.",
|
|
164
|
+
"verification.shuftipro.in-progress.ProofOfPayment": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {ProofOfPayment}.",
|
|
165
|
+
"verification.shuftipro.in-progress.SourceOfWealth": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {SourceOfWealth}.",
|
|
166
|
+
"verification.shuftipro.link-name.Biometric": "Биометрия",
|
|
167
|
+
"verification.shuftipro.link-name.Documents": "Документы",
|
|
168
|
+
"verification.shuftipro.link-name.ProofOfAddress": "Подтверждение адреса",
|
|
169
|
+
"verification.shuftipro.link-name.ProofOfPayment": "Подтверждение платежа",
|
|
170
|
+
"verification.shuftipro.link-name.SourceOfWealth": "Источник происхождения средств",
|
|
171
|
+
"verification.shuftipro.validations-started": "После завершения верификации, пожалуйста, продолжите операцию"
|
|
172
|
+
},
|
|
173
|
+
az: {
|
|
174
|
+
verificationsRequired: "Yoxlama tələb olunur",
|
|
175
|
+
"verification.video.how-to": "Özünüzü necə təsdiqləyə bilərsiniz?",
|
|
176
|
+
"verification.idenfy.referred-awaiting": "Şəxsiyyət yoxlaması davam edir. Yoxlama tamamlandıqdan sonra sizə məlumat verəcəyik və pulu geri çıxara biləcəksiniz",
|
|
177
|
+
"verification.message.failed": "Üzr istəyirik, lakin hesabınızı təsdiqləyə bilmədik. Zəhmət olmasa dəstək komandası ilə əlaqə saxlayın",
|
|
178
|
+
"verification.idenfy.link-name": "link",
|
|
179
|
+
"verification.idenfy.in-progress": "Hesabınıza vəsait çıxarmaq üçün istifadəçi yoxlamasından keçməlisiniz. Zəhmət olmasa şəxsiyyət vəsiqənizi hazır saxlayın və yoxlamanı başlatmaq üçün {link} keçidini izləyin",
|
|
180
|
+
"verification.shuftipro.in-progress.Biometric": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {Biometric} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
181
|
+
"verification.shuftipro.in-progress.Biometric.Documents": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {Biometric} yoxlamasını və {Documents} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
182
|
+
"verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {Biometric} yoxlamasını, {Documents} yoxlamasını və {ProofOfAddress} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
183
|
+
"verification.shuftipro.in-progress.Biometric.ProofOfAddress": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {Biometric} yoxlamasını və {ProofOfAddress} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
184
|
+
"verification.shuftipro.in-progress.Documents": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {Documents} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
185
|
+
"verification.shuftipro.in-progress.Documents.ProofOfAddress": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {Documents} yoxlamasını və {ProofOfAddress} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
186
|
+
"verification.shuftipro.in-progress.ProofOfAddress": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {ProofOfAddress} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
187
|
+
"verification.shuftipro.in-progress.ProofOfPayment": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {ProofOfPayment} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
188
|
+
"verification.shuftipro.in-progress.SourceOfWealth": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {SourceOfWealth} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
189
|
+
"verification.shuftipro.link-name.Biometric": "Biometrik",
|
|
190
|
+
"verification.shuftipro.link-name.Documents": "Sənədlər",
|
|
191
|
+
"verification.shuftipro.link-name.ProofOfAddress": "Ünvan sübutu",
|
|
192
|
+
"verification.shuftipro.link-name.ProofOfPayment": "Ödəniş sübutu",
|
|
193
|
+
"verification.shuftipro.link-name.SourceOfWealth": "Sərvətin mənbəyi",
|
|
194
|
+
"verification.shuftipro.validations-started": "Yoxlamanı tamamladıqdan sonra əməliyyata davam edin"
|
|
149
195
|
}
|
|
150
196
|
};
|
|
151
197
|
if (typeof window < "u") {
|
|
152
|
-
let
|
|
153
|
-
return function(...
|
|
198
|
+
let t = function(i) {
|
|
199
|
+
return function(...r) {
|
|
154
200
|
try {
|
|
155
|
-
return i.apply(this,
|
|
201
|
+
return i.apply(this, r);
|
|
156
202
|
} catch (o) {
|
|
157
203
|
if (o instanceof DOMException && o.message.includes("has already been used with this registry") || o.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
158
204
|
return !1;
|
|
@@ -160,39 +206,39 @@ if (typeof window < "u") {
|
|
|
160
206
|
}
|
|
161
207
|
};
|
|
162
208
|
};
|
|
163
|
-
customElements.define =
|
|
209
|
+
customElements.define = t(customElements.define), import("./CashierModal-BAqyZ3yN.js").then(({ default: i }) => {
|
|
164
210
|
!customElements.get("cashier-modal") && customElements.define("cashier-modal", i.element);
|
|
165
211
|
});
|
|
166
212
|
}
|
|
167
|
-
function oi(
|
|
168
|
-
|
|
213
|
+
function oi(t) {
|
|
214
|
+
Ue(t, "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)}');
|
|
169
215
|
}
|
|
170
|
-
function se(
|
|
171
|
-
const o =
|
|
172
|
-
return o[58] = i[
|
|
216
|
+
function se(t, i, r) {
|
|
217
|
+
const o = t.slice();
|
|
218
|
+
return o[58] = i[r], o;
|
|
173
219
|
}
|
|
174
|
-
function ni(
|
|
175
|
-
let i,
|
|
220
|
+
function ni(t) {
|
|
221
|
+
let i, r = (
|
|
176
222
|
/*displayMessages*/
|
|
177
|
-
|
|
223
|
+
t[3].length > 0 && ae(t)
|
|
178
224
|
);
|
|
179
225
|
return {
|
|
180
226
|
c() {
|
|
181
|
-
i = P("div"),
|
|
227
|
+
i = P("div"), r && r.c(), l(i, "class", "CashierVerificationsWrapper");
|
|
182
228
|
},
|
|
183
229
|
m(o, s) {
|
|
184
|
-
|
|
230
|
+
T(o, i, s), r && r.m(i, null);
|
|
185
231
|
},
|
|
186
232
|
p(o, s) {
|
|
187
233
|
/*displayMessages*/
|
|
188
|
-
o[3].length > 0 ?
|
|
234
|
+
o[3].length > 0 ? r ? r.p(o, s) : (r = ae(o), r.c(), r.m(i, null)) : r && (r.d(1), r = null);
|
|
189
235
|
},
|
|
190
236
|
d(o) {
|
|
191
|
-
o &&
|
|
237
|
+
o && q(i), r && r.d();
|
|
192
238
|
}
|
|
193
239
|
};
|
|
194
240
|
}
|
|
195
|
-
function si(
|
|
241
|
+
function si(t) {
|
|
196
242
|
let i;
|
|
197
243
|
return {
|
|
198
244
|
c() {
|
|
@@ -200,176 +246,176 @@ function si(r) {
|
|
|
200
246
|
i,
|
|
201
247
|
"clientstylingurl",
|
|
202
248
|
/*clientstylingurl*/
|
|
203
|
-
|
|
249
|
+
t[1]
|
|
204
250
|
), N(
|
|
205
251
|
i,
|
|
206
252
|
"clientstyling",
|
|
207
253
|
/*clientstyling*/
|
|
208
|
-
|
|
254
|
+
t[0]
|
|
209
255
|
);
|
|
210
256
|
},
|
|
211
|
-
m(
|
|
212
|
-
|
|
257
|
+
m(r, o) {
|
|
258
|
+
T(r, i, o);
|
|
213
259
|
},
|
|
214
|
-
p(
|
|
260
|
+
p(r, o) {
|
|
215
261
|
o[0] & /*clientstylingurl*/
|
|
216
262
|
2 && N(
|
|
217
263
|
i,
|
|
218
264
|
"clientstylingurl",
|
|
219
265
|
/*clientstylingurl*/
|
|
220
|
-
|
|
266
|
+
r[1]
|
|
221
267
|
), o[0] & /*clientstyling*/
|
|
222
268
|
1 && N(
|
|
223
269
|
i,
|
|
224
270
|
"clientstyling",
|
|
225
271
|
/*clientstyling*/
|
|
226
|
-
|
|
272
|
+
r[0]
|
|
227
273
|
);
|
|
228
274
|
},
|
|
229
|
-
d(
|
|
230
|
-
|
|
275
|
+
d(r) {
|
|
276
|
+
r && q(i);
|
|
231
277
|
}
|
|
232
278
|
};
|
|
233
279
|
}
|
|
234
|
-
function ae(
|
|
235
|
-
let i,
|
|
280
|
+
function ae(t) {
|
|
281
|
+
let i, r, o, s, a, d, p, V = (
|
|
236
282
|
/*$_*/
|
|
237
|
-
|
|
238
|
-
), k,
|
|
239
|
-
|
|
283
|
+
t[9]("verificationsRequired") + ""
|
|
284
|
+
), k, z, S, A, y, g, O, H, W = `${/*verificationsListHeight*/
|
|
285
|
+
t[8]}px`, C, L, x = re(
|
|
240
286
|
/*displayMessages*/
|
|
241
|
-
|
|
287
|
+
t[3]
|
|
242
288
|
), m = [];
|
|
243
|
-
for (let c = 0; c <
|
|
244
|
-
m[c] = fe(se(
|
|
289
|
+
for (let c = 0; c < x.length; c += 1)
|
|
290
|
+
m[c] = fe(se(t, x, c));
|
|
245
291
|
let h = (
|
|
246
292
|
/*videoExists*/
|
|
247
|
-
|
|
293
|
+
t[6] && le(t)
|
|
248
294
|
);
|
|
249
295
|
return {
|
|
250
296
|
c() {
|
|
251
|
-
i = P("div"),
|
|
297
|
+
i = P("div"), r = Y("svg"), o = Y("path"), s = Y("path"), a = Y("path"), d = E(), p = P("p"), k = ue(V), z = E(), S = P("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>', A = E(), y = P("div"), g = P("div");
|
|
252
298
|
for (let c = 0; c < m.length; c += 1)
|
|
253
299
|
m[c].c();
|
|
254
|
-
|
|
255
|
-
|
|
300
|
+
O = E(), h && h.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(r, "width", "24"), l(r, "height", "24"), l(r, "viewBox", "0 0 24 24"), l(r, "fill", "none"), l(r, "xmlns", "http://www.w3.org/2000/svg"), l(S, "class", "CashierVerificationChevron"), _(
|
|
301
|
+
S,
|
|
256
302
|
"ShowVerifications",
|
|
257
303
|
/*allVerificationsVisible*/
|
|
258
|
-
|
|
259
|
-
), l(i, "class", "VerificationsHeader"), l(
|
|
304
|
+
t[4]
|
|
305
|
+
), l(i, "class", "VerificationsHeader"), l(g, "class", "VerificationsListInner"), Ge(() => (
|
|
260
306
|
/*div1_elementresize_handler*/
|
|
261
|
-
|
|
262
|
-
)), l(
|
|
263
|
-
|
|
307
|
+
t[21].call(g)
|
|
308
|
+
)), l(y, "class", "VerificationsList"), _(
|
|
309
|
+
y,
|
|
264
310
|
"ShowVerifications",
|
|
265
311
|
/*allVerificationsVisible*/
|
|
266
|
-
|
|
267
|
-
),
|
|
312
|
+
t[4]
|
|
313
|
+
), te(y, "--verifications-list-height", W);
|
|
268
314
|
},
|
|
269
|
-
m(c,
|
|
270
|
-
|
|
271
|
-
for (let
|
|
272
|
-
m[
|
|
273
|
-
v(
|
|
274
|
-
|
|
315
|
+
m(c, w) {
|
|
316
|
+
T(c, i, w), v(i, r), v(r, o), v(r, s), v(r, a), v(i, d), v(i, p), v(p, k), v(i, z), v(i, S), T(c, A, w), T(c, y, w), v(y, g);
|
|
317
|
+
for (let u = 0; u < m.length; u += 1)
|
|
318
|
+
m[u] && m[u].m(g, null);
|
|
319
|
+
v(g, O), h && h.m(g, null), H = Ze(
|
|
320
|
+
g,
|
|
275
321
|
/*div1_elementresize_handler*/
|
|
276
|
-
|
|
277
|
-
),
|
|
322
|
+
t[21].bind(g)
|
|
323
|
+
), C || (L = de(
|
|
278
324
|
i,
|
|
279
325
|
"click",
|
|
280
326
|
/*toggleVerifications*/
|
|
281
|
-
|
|
282
|
-
),
|
|
327
|
+
t[10]
|
|
328
|
+
), C = !0);
|
|
283
329
|
},
|
|
284
|
-
p(c,
|
|
285
|
-
if (
|
|
286
|
-
512 &&
|
|
287
|
-
c[9]("verificationsRequired") + "") && ce(k,
|
|
288
|
-
16 &&
|
|
289
|
-
|
|
330
|
+
p(c, w) {
|
|
331
|
+
if (w[0] & /*$_*/
|
|
332
|
+
512 && V !== (V = /*$_*/
|
|
333
|
+
c[9]("verificationsRequired") + "") && ce(k, V), w[0] & /*allVerificationsVisible*/
|
|
334
|
+
16 && _(
|
|
335
|
+
S,
|
|
290
336
|
"ShowVerifications",
|
|
291
337
|
/*allVerificationsVisible*/
|
|
292
338
|
c[4]
|
|
293
|
-
),
|
|
339
|
+
), w[0] & /*displayMessages*/
|
|
294
340
|
8) {
|
|
295
|
-
|
|
341
|
+
x = re(
|
|
296
342
|
/*displayMessages*/
|
|
297
343
|
c[3]
|
|
298
344
|
);
|
|
299
|
-
let
|
|
300
|
-
for (
|
|
301
|
-
const
|
|
302
|
-
m[
|
|
345
|
+
let u;
|
|
346
|
+
for (u = 0; u < x.length; u += 1) {
|
|
347
|
+
const R = se(c, x, u);
|
|
348
|
+
m[u] ? m[u].p(R, w) : (m[u] = fe(R), m[u].c(), m[u].m(g, O));
|
|
303
349
|
}
|
|
304
|
-
for (;
|
|
305
|
-
m[
|
|
306
|
-
m.length =
|
|
350
|
+
for (; u < m.length; u += 1)
|
|
351
|
+
m[u].d(1);
|
|
352
|
+
m.length = x.length;
|
|
307
353
|
}
|
|
308
354
|
/*videoExists*/
|
|
309
|
-
c[6] ? h ? h.p(c,
|
|
310
|
-
16 &&
|
|
311
|
-
|
|
355
|
+
c[6] ? h ? h.p(c, w) : (h = le(c), h.c(), h.m(g, null)) : h && (h.d(1), h = null), w[0] & /*allVerificationsVisible*/
|
|
356
|
+
16 && _(
|
|
357
|
+
y,
|
|
312
358
|
"ShowVerifications",
|
|
313
359
|
/*allVerificationsVisible*/
|
|
314
360
|
c[4]
|
|
315
|
-
),
|
|
361
|
+
), w[0] & /*verificationsListHeight*/
|
|
316
362
|
256 && W !== (W = `${/*verificationsListHeight*/
|
|
317
|
-
c[8]}px`) &&
|
|
363
|
+
c[8]}px`) && te(y, "--verifications-list-height", W);
|
|
318
364
|
},
|
|
319
365
|
d(c) {
|
|
320
|
-
c && (
|
|
366
|
+
c && (q(i), q(A), q(y)), Xe(m, c), h && h.d(), H(), C = !1, L();
|
|
321
367
|
}
|
|
322
368
|
};
|
|
323
369
|
}
|
|
324
|
-
function fe(
|
|
325
|
-
let i,
|
|
370
|
+
function fe(t) {
|
|
371
|
+
let i, r, o, s, a = (
|
|
326
372
|
/*message*/
|
|
327
|
-
|
|
373
|
+
t[58] + ""
|
|
328
374
|
);
|
|
329
375
|
return {
|
|
330
376
|
c() {
|
|
331
|
-
i = P("div"),
|
|
377
|
+
i = P("div"), r = P("div"), r.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 = P("p"), l(r, "class", "IconVerification"), l(s, "class", "text"), l(i, "class", "CashierVerificationMessage Test");
|
|
332
378
|
},
|
|
333
|
-
m(
|
|
334
|
-
|
|
379
|
+
m(d, p) {
|
|
380
|
+
T(d, i, p), v(i, r), v(i, o), v(i, s), s.innerHTML = a;
|
|
335
381
|
},
|
|
336
|
-
p(
|
|
337
|
-
|
|
382
|
+
p(d, p) {
|
|
383
|
+
p[0] & /*displayMessages*/
|
|
338
384
|
8 && a !== (a = /*message*/
|
|
339
|
-
|
|
385
|
+
d[58] + "") && (s.innerHTML = a);
|
|
340
386
|
},
|
|
341
|
-
d(
|
|
342
|
-
|
|
387
|
+
d(d) {
|
|
388
|
+
d && q(i);
|
|
343
389
|
}
|
|
344
390
|
};
|
|
345
391
|
}
|
|
346
|
-
function le(
|
|
347
|
-
let i,
|
|
392
|
+
function le(t) {
|
|
393
|
+
let i, r, o, s, a = (
|
|
348
394
|
/*$_*/
|
|
349
|
-
|
|
350
|
-
),
|
|
395
|
+
t[9]("verification.video.how-to") + ""
|
|
396
|
+
), d, p, V;
|
|
351
397
|
return {
|
|
352
398
|
c() {
|
|
353
|
-
i = P("div"),
|
|
399
|
+
i = P("div"), r = P("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>', o = E(), s = P("div"), d = ue(a), l(r, "class", "IconVideo"), l(s, "class", "CashierVerificationVideoLink"), _(
|
|
354
400
|
s,
|
|
355
401
|
"CashierVerificationVideoLinkDesktop",
|
|
356
402
|
/*desktopView*/
|
|
357
|
-
|
|
403
|
+
t[5]
|
|
358
404
|
), l(i, "class", "CashierVerificationVideo Test");
|
|
359
405
|
},
|
|
360
|
-
m(k,
|
|
361
|
-
|
|
406
|
+
m(k, z) {
|
|
407
|
+
T(k, i, z), v(i, r), v(i, o), v(i, s), v(s, d), p || (V = de(
|
|
362
408
|
i,
|
|
363
409
|
"click",
|
|
364
410
|
/*showVideo*/
|
|
365
|
-
|
|
366
|
-
),
|
|
411
|
+
t[11]
|
|
412
|
+
), p = !0);
|
|
367
413
|
},
|
|
368
|
-
p(k,
|
|
369
|
-
|
|
414
|
+
p(k, z) {
|
|
415
|
+
z[0] & /*$_*/
|
|
370
416
|
512 && a !== (a = /*$_*/
|
|
371
|
-
k[9]("verification.video.how-to") + "") && ce(
|
|
372
|
-
32 &&
|
|
417
|
+
k[9]("verification.video.how-to") + "") && ce(d, a), z[0] & /*desktopView*/
|
|
418
|
+
32 && _(
|
|
373
419
|
s,
|
|
374
420
|
"CashierVerificationVideoLinkDesktop",
|
|
375
421
|
/*desktopView*/
|
|
@@ -377,13 +423,13 @@ function le(r) {
|
|
|
377
423
|
);
|
|
378
424
|
},
|
|
379
425
|
d(k) {
|
|
380
|
-
k &&
|
|
426
|
+
k && q(i), p = !1, V();
|
|
381
427
|
}
|
|
382
428
|
};
|
|
383
429
|
}
|
|
384
|
-
function ai(
|
|
430
|
+
function ai(t) {
|
|
385
431
|
let i;
|
|
386
|
-
function
|
|
432
|
+
function r(a, d) {
|
|
387
433
|
if (
|
|
388
434
|
/*isLoading*/
|
|
389
435
|
a[7]
|
|
@@ -395,22 +441,22 @@ function ai(r) {
|
|
|
395
441
|
)
|
|
396
442
|
return ni;
|
|
397
443
|
}
|
|
398
|
-
let o = t
|
|
444
|
+
let o = r(t), s = o && o(t);
|
|
399
445
|
return {
|
|
400
446
|
c() {
|
|
401
|
-
i = P("div"), s && s.c(), l(i, "class", "CashierVerifications"),
|
|
447
|
+
i = P("div"), s && s.c(), l(i, "class", "CashierVerifications"), _(
|
|
402
448
|
i,
|
|
403
449
|
"CashierVerificationsDesktop",
|
|
404
450
|
/*desktopView*/
|
|
405
|
-
|
|
451
|
+
t[5]
|
|
406
452
|
);
|
|
407
453
|
},
|
|
408
|
-
m(a,
|
|
409
|
-
|
|
454
|
+
m(a, d) {
|
|
455
|
+
T(a, i, d), s && s.m(i, null), t[22](i);
|
|
410
456
|
},
|
|
411
|
-
p(a,
|
|
412
|
-
o === (o =
|
|
413
|
-
32 &&
|
|
457
|
+
p(a, d) {
|
|
458
|
+
o === (o = r(a)) && s ? s.p(a, d) : (s && s.d(1), s = o && o(a), s && (s.c(), s.m(i, null))), d[0] & /*desktopView*/
|
|
459
|
+
32 && _(
|
|
414
460
|
i,
|
|
415
461
|
"CashierVerificationsDesktop",
|
|
416
462
|
/*desktopView*/
|
|
@@ -420,15 +466,15 @@ function ai(r) {
|
|
|
420
466
|
i: $,
|
|
421
467
|
o: $,
|
|
422
468
|
d(a) {
|
|
423
|
-
a &&
|
|
469
|
+
a && q(i), s && s.d(), t[22](null);
|
|
424
470
|
}
|
|
425
471
|
};
|
|
426
472
|
}
|
|
427
473
|
const fi = "verification_explanation_video_widgets.MP4";
|
|
428
|
-
function li(
|
|
474
|
+
function li(t, i, r) {
|
|
429
475
|
let o, s;
|
|
430
|
-
ee(
|
|
431
|
-
let { endpoint: a } = i, { lang:
|
|
476
|
+
ee(t, Qe, (e) => r(9, o = e)), ee(t, $e, (e) => r(31, s = e)), ie.extend(je);
|
|
477
|
+
let { endpoint: a } = i, { lang: d = "en" } = i, { translationurl: p = "" } = i, { clientstyling: V = "" } = i, { clientstylingurl: k = "" } = i, { session: z = "" } = i, { customerid: S = "" } = i, { playersession: A = "" } = i, { userroles: y = "" } = i, { mbsource: g = "" } = i, O, H = /* @__PURE__ */ new Set(), W = /* @__PURE__ */ new Set(), C, L, x, m = !1, h = !0, c = !1, w = "", u = !1, R, U = [], K = 0, me = window.navigator.userAgent;
|
|
432
478
|
var I;
|
|
433
479
|
(function(e) {
|
|
434
480
|
e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
|
|
@@ -441,22 +487,22 @@ function li(r, i, t) {
|
|
|
441
487
|
(function(e) {
|
|
442
488
|
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";
|
|
443
489
|
})(b || (b = {}));
|
|
444
|
-
var
|
|
490
|
+
var F;
|
|
445
491
|
(function(e) {
|
|
446
492
|
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", e.ProofOfPayment = "ProofOfPayment";
|
|
447
|
-
})(
|
|
448
|
-
const
|
|
493
|
+
})(F || (F = {}));
|
|
494
|
+
const G = (e) => {
|
|
449
495
|
e.data && e.data.type;
|
|
450
496
|
};
|
|
451
|
-
Ne(() => (window.addEventListener("message",
|
|
452
|
-
window.removeEventListener("message",
|
|
497
|
+
Ne(() => (window.addEventListener("message", G), Ce(), () => {
|
|
498
|
+
window.removeEventListener("message", G);
|
|
453
499
|
}));
|
|
454
500
|
const ve = [
|
|
455
501
|
b.InProgress,
|
|
456
502
|
b.Referred,
|
|
457
503
|
b.AwaitingForResponse
|
|
458
504
|
], he = () => {
|
|
459
|
-
let e =
|
|
505
|
+
let e = p;
|
|
460
506
|
if (e)
|
|
461
507
|
return fetch(e).then((n) => n.json()).then((n) => {
|
|
462
508
|
Object.keys(n).forEach((f) => {
|
|
@@ -469,33 +515,33 @@ function li(r, i, t) {
|
|
|
469
515
|
Object.keys(ne).forEach((e) => {
|
|
470
516
|
oe(e, ne[e]);
|
|
471
517
|
});
|
|
472
|
-
const
|
|
473
|
-
|
|
518
|
+
const pe = () => {
|
|
519
|
+
ti(d);
|
|
474
520
|
}, J = () => {
|
|
475
|
-
|
|
476
|
-
const e = new URL(`${a}/v1/player/${
|
|
477
|
-
n.append("accept", "application/json"), n.append("Content-Type", "application/json"), n.append("x-sessionid", `${A}`), n.append("X-Client-Request-Timestamp", ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(
|
|
521
|
+
r(20, L = ye());
|
|
522
|
+
const e = new URL(`${a}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${d}`), n = new Headers();
|
|
523
|
+
n.append("accept", "application/json"), n.append("Content-Type", "application/json"), n.append("x-sessionid", `${A}`), n.append("X-Client-Request-Timestamp", ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(U) && U.length > 0 && U.indexOf("MM_CHANNEL_BETA") != -1 && n.append("MM_CHANNEL", "BETA");
|
|
478
524
|
const f = {
|
|
479
525
|
method: "POST",
|
|
480
526
|
headers: n,
|
|
481
527
|
body: JSON.stringify({})
|
|
482
528
|
};
|
|
483
|
-
|
|
484
|
-
const
|
|
485
|
-
|
|
529
|
+
r(7, u = !0), fetch(e, f).then((D) => D.json()).then((D) => {
|
|
530
|
+
const Z = ge(D?.Verifications);
|
|
531
|
+
C = we(Z), C.VerificationStatuses.forEach((j) => {
|
|
486
532
|
j.VerificationUrlType !== "Widget" && H.add(j.Vendor);
|
|
487
|
-
}),
|
|
488
|
-
}).finally(() =>
|
|
489
|
-
},
|
|
533
|
+
}), r(3, x = Ve());
|
|
534
|
+
}).finally(() => r(7, u = !1));
|
|
535
|
+
}, ge = (e) => e ? e.sort((n, f) => new Date(f.Created).getTime() - new Date(n.Created).getTime()) : [], ke = () => {
|
|
490
536
|
s && J();
|
|
491
|
-
},
|
|
492
|
-
let e = (
|
|
537
|
+
}, ye = () => {
|
|
538
|
+
let e = (z || s).split(".")[1];
|
|
493
539
|
if (e) {
|
|
494
540
|
let n = JSON.parse(atob(e));
|
|
495
541
|
return n.cdn + "/cashier/operator-assets/" + n?.mid;
|
|
496
542
|
}
|
|
497
543
|
return "";
|
|
498
|
-
},
|
|
544
|
+
}, we = (e) => {
|
|
499
545
|
if (!e || !e.length)
|
|
500
546
|
return {
|
|
501
547
|
VerificationSummaryStatus: b.Unverified,
|
|
@@ -511,7 +557,7 @@ function li(r, i, t) {
|
|
|
511
557
|
};
|
|
512
558
|
} else
|
|
513
559
|
return {
|
|
514
|
-
VerificationSummaryStatus: e.some((
|
|
560
|
+
VerificationSummaryStatus: e.some((D) => D.Status === b.Failed) ? b.Failed : b.Verified,
|
|
515
561
|
VerificationStatuses: Q(e, [b.Failed])
|
|
516
562
|
};
|
|
517
563
|
}, be = (e) => e.reduce(
|
|
@@ -523,112 +569,112 @@ function li(r, i, t) {
|
|
|
523
569
|
VerificationDocuments: f.Documents ? [...f.Documents] : [],
|
|
524
570
|
VerificationUrlType: f.FlowInfo?.Type,
|
|
525
571
|
VerificationUrl: f.FlowInfo?.Url
|
|
526
|
-
})), Pe = (e) => e.filter((n) => ve.includes(n.Status) ? n.FlowInfo && n.FlowInfo.Url ||
|
|
527
|
-
const n = e.Documents && e.VendorName === I.Manual, f = e.Documents && e.Documents.some((
|
|
572
|
+
})), Pe = (e) => e.filter((n) => ve.includes(n.Status) ? n.FlowInfo && n.FlowInfo.Url || ze(n) || Oe(n) : !1), ze = (e) => {
|
|
573
|
+
const n = e.Documents && e.VendorName === I.Manual, f = e.Documents && e.Documents.some((D) => D.Status === X.Requested);
|
|
528
574
|
return n && f;
|
|
529
|
-
},
|
|
530
|
-
switch (
|
|
575
|
+
}, Oe = (e) => e.VendorName === I.ShuftiPro && e.Status === b.Referred, Ve = () => {
|
|
576
|
+
switch (C.VerificationSummaryStatus) {
|
|
531
577
|
case b.InProgress:
|
|
532
578
|
const e = [];
|
|
533
579
|
return H.forEach((n) => {
|
|
534
|
-
e.push(
|
|
580
|
+
e.push(De(n));
|
|
535
581
|
}), e;
|
|
536
582
|
case b.Referred:
|
|
537
583
|
return [o("verification.idenfy.referred-awaiting")];
|
|
538
584
|
case b.Failed:
|
|
539
585
|
return [o("verification.message.failed")];
|
|
540
586
|
}
|
|
541
|
-
},
|
|
542
|
-
const n =
|
|
587
|
+
}, De = (e) => {
|
|
588
|
+
const n = C.VerificationStatuses.filter((f) => f.Vendor === e);
|
|
543
589
|
if (e === I.ShuftiPro)
|
|
544
|
-
return
|
|
590
|
+
return Se(n);
|
|
545
591
|
{
|
|
546
|
-
const f = o("verification.idenfy.link-name"),
|
|
592
|
+
const f = o("verification.idenfy.link-name"), D = {
|
|
547
593
|
link: `<a href="${n[0].VerificationUrl}" target="_blank">${f}</a>`
|
|
548
594
|
};
|
|
549
|
-
return o("verification.idenfy.in-progress", { values:
|
|
595
|
+
return o("verification.idenfy.in-progress", { values: D });
|
|
550
596
|
}
|
|
551
|
-
},
|
|
552
|
-
const n = [], f = {},
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
597
|
+
}, Se = (e) => {
|
|
598
|
+
const n = [], f = {}, D = [
|
|
599
|
+
F.Biometric,
|
|
600
|
+
F.Documents,
|
|
601
|
+
F.ProofOfAddress,
|
|
602
|
+
F.ProofOfPayment,
|
|
603
|
+
F.SourceOfWealth
|
|
558
604
|
];
|
|
559
|
-
e.forEach((
|
|
560
|
-
|
|
605
|
+
e.forEach((M) => {
|
|
606
|
+
D.includes(M.Type) && (n.push(M.Type), f[M.Type] = Be(M, Ae(M.Type)));
|
|
561
607
|
});
|
|
562
|
-
let
|
|
563
|
-
return
|
|
564
|
-
}, Be = (e, n) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${n}</a>`, Ae = (e) => o(`verification.shuftipro.link-name.${e}`),
|
|
565
|
-
|
|
608
|
+
let Z = n.every((M) => W.has(M)), j = `verification.shuftipro.in-progress.${n.sort().join(".")}`;
|
|
609
|
+
return Z ? o("verification.shuftipro.validations-started") : o(j, { values: f });
|
|
610
|
+
}, Be = (e, n) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${n}</a>`, Ae = (e) => o(`verification.shuftipro.link-name.${e}`), xe = () => {
|
|
611
|
+
r(4, m = !m);
|
|
612
|
+
}, Ce = () => {
|
|
613
|
+
r(5, h = !Ye(me));
|
|
566
614
|
}, _e = () => {
|
|
567
|
-
|
|
568
|
-
}, xe = () => {
|
|
569
|
-
y = F + "/" + u + "/" + fi;
|
|
615
|
+
w = L + "/" + d + "/" + fi;
|
|
570
616
|
try {
|
|
571
|
-
fetch(
|
|
572
|
-
|
|
617
|
+
fetch(w, { method: "HEAD" }).then((e) => {
|
|
618
|
+
r(6, c = e.ok);
|
|
573
619
|
});
|
|
574
620
|
} catch {
|
|
575
|
-
|
|
621
|
+
r(6, c = !1);
|
|
576
622
|
}
|
|
623
|
+
}, qe = () => {
|
|
624
|
+
y.length > 0 && (U = y.split(","));
|
|
577
625
|
}, Te = () => {
|
|
578
|
-
w.length > 0 && (R = w.split(","));
|
|
579
|
-
}, Le = () => {
|
|
580
626
|
window.dispatchEvent(new CustomEvent(
|
|
581
627
|
"modal-update",
|
|
582
628
|
{
|
|
583
|
-
detail: { type: "video", data: { videoSrc:
|
|
629
|
+
detail: { type: "video", data: { videoSrc: w } }
|
|
584
630
|
}
|
|
585
631
|
));
|
|
586
632
|
};
|
|
587
|
-
function
|
|
588
|
-
|
|
633
|
+
function Le() {
|
|
634
|
+
K = this.clientHeight, r(8, K);
|
|
589
635
|
}
|
|
590
|
-
function
|
|
591
|
-
|
|
592
|
-
|
|
636
|
+
function Fe(e) {
|
|
637
|
+
Ke[e ? "unshift" : "push"](() => {
|
|
638
|
+
O = e, r(2, O);
|
|
593
639
|
});
|
|
594
640
|
}
|
|
595
|
-
return
|
|
596
|
-
"endpoint" in e &&
|
|
597
|
-
},
|
|
598
|
-
|
|
599
|
-
262144 &&
|
|
600
|
-
8192 &&
|
|
601
|
-
167936 && a &&
|
|
602
|
-
167936 && a && !
|
|
603
|
-
16384 &&
|
|
604
|
-
5 &&
|
|
605
|
-
6 && k &&
|
|
606
|
-
1048576 &&
|
|
607
|
-
524292 &&
|
|
641
|
+
return t.$$set = (e) => {
|
|
642
|
+
"endpoint" in e && r(12, a = e.endpoint), "lang" in e && r(13, d = e.lang), "translationurl" in e && r(14, p = e.translationurl), "clientstyling" in e && r(0, V = e.clientstyling), "clientstylingurl" in e && r(1, k = e.clientstylingurl), "session" in e && r(15, z = e.session), "customerid" in e && r(16, S = e.customerid), "playersession" in e && r(17, A = e.playersession), "userroles" in e && r(18, y = e.userroles), "mbsource" in e && r(19, g = e.mbsource);
|
|
643
|
+
}, t.$$.update = () => {
|
|
644
|
+
t.$$.dirty[0] & /*userroles*/
|
|
645
|
+
262144 && y && qe(), t.$$.dirty[0] & /*lang*/
|
|
646
|
+
8192 && d && pe(), t.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
647
|
+
167936 && a && z && A && J(), t.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
648
|
+
167936 && a && !z && A && ke(), t.$$.dirty[0] & /*translationurl*/
|
|
649
|
+
16384 && p && he(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
650
|
+
5 && V && O && ei(O, V), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
651
|
+
6 && k && O && ii(O, k), t.$$.dirty[0] & /*staticCdnUrl*/
|
|
652
|
+
1048576 && L && _e(), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
653
|
+
524292 && g && O && ri(O, `${g}.Style`, R);
|
|
608
654
|
}, [
|
|
609
|
-
|
|
655
|
+
V,
|
|
610
656
|
k,
|
|
611
|
-
|
|
612
|
-
|
|
657
|
+
O,
|
|
658
|
+
x,
|
|
613
659
|
m,
|
|
614
660
|
h,
|
|
615
661
|
c,
|
|
616
|
-
|
|
617
|
-
|
|
662
|
+
u,
|
|
663
|
+
K,
|
|
618
664
|
o,
|
|
619
|
-
|
|
620
|
-
|
|
665
|
+
xe,
|
|
666
|
+
Te,
|
|
621
667
|
a,
|
|
622
|
-
|
|
623
|
-
g,
|
|
624
|
-
V,
|
|
625
|
-
D,
|
|
626
|
-
A,
|
|
627
|
-
w,
|
|
668
|
+
d,
|
|
628
669
|
p,
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
670
|
+
z,
|
|
671
|
+
S,
|
|
672
|
+
A,
|
|
673
|
+
y,
|
|
674
|
+
g,
|
|
675
|
+
L,
|
|
676
|
+
Le,
|
|
677
|
+
Fe
|
|
632
678
|
];
|
|
633
679
|
}
|
|
634
680
|
class ci extends He {
|
|
@@ -638,7 +684,7 @@ class ci extends He {
|
|
|
638
684
|
i,
|
|
639
685
|
li,
|
|
640
686
|
ai,
|
|
641
|
-
|
|
687
|
+
Re,
|
|
642
688
|
{
|
|
643
689
|
endpoint: 12,
|
|
644
690
|
lang: 13,
|