@everymatrix/player-account-controller 1.60.0 → 1.60.2
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/{GeneralLogout-CrdxxT-0.js → GeneralLogout-C38FmUFl.js} +627 -649
- package/components/GeneralLogout-CneHnHyh.cjs +21 -0
- package/components/{GeneralLogout-Cs6a0Woe.js → GeneralLogout-D-G0wJfI.js} +730 -752
- package/components/{PlayerAccountBettingHistory-HLjCXypd.js → PlayerAccountBettingHistory-At0LtRRx.js} +127 -126
- package/components/PlayerAccountBettingHistory-C7ncnu-s.js +328 -0
- package/components/PlayerAccountBettingHistory-ClvAJn7G.cjs +1 -0
- package/components/{PlayerAccountBiometrics-CIo8pkfn.js → PlayerAccountBiometrics-CY06pWs8.js} +22 -22
- package/components/{PlayerAccountBiometrics-DvJlyQ8z.cjs → PlayerAccountBiometrics-CqDrX8sl.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-DpVTOI5S.js → PlayerAccountBiometrics-DKhi-g1X.js} +22 -22
- package/components/{PlayerAccountClosure-DUnNJuF0.js → PlayerAccountClosure-D5r1hdkX.js} +32 -32
- package/components/{PlayerAccountClosure-DJx7NuYi.js → PlayerAccountClosure-D9uP7QYP.js} +32 -32
- package/components/{PlayerAccountClosure-Bgcd5aWK.cjs → PlayerAccountClosure-PhH0M42z.cjs} +1 -1
- package/components/{PlayerAccountController-BHULNGiG.js → PlayerAccountController-1pHrtkdF.js} +301 -301
- package/components/{PlayerAccountController-oC2_eSvR.js → PlayerAccountController-BgblJNy4.js} +301 -301
- package/components/PlayerAccountController-BhhrsiNx.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-UmFJS4yG.cjs → PlayerAccountGamingLimits-BnzPj9tx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-t-Kt6fD1.js → PlayerAccountGamingLimits-C0_hRUCj.js} +81 -81
- package/components/{PlayerAccountGamingLimits-DiTQMKO-.js → PlayerAccountGamingLimits-D3pKs0ht.js} +81 -81
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BOqmU6ao.js → PlayerAccountGamingLimitsConfirmationModal-BazG22ih.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BTGWvZ_H.cjs → PlayerAccountGamingLimitsConfirmationModal-Cg2EZjXZ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CJS6pzAL.js → PlayerAccountGamingLimitsConfirmationModal-xjZZUbpF.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-DQ4LAIh3.js → PlayerAccountGamingLimitsGroupEdit-CnW3YzfS.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-DWXrW8rz.cjs → PlayerAccountGamingLimitsGroupEdit-DGnRlAUZ.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-Cohx9d0h.js → PlayerAccountGamingLimitsGroupEdit-DeUVEnCP.js} +54 -54
- package/components/{PlayerAccountGamingLimitsHistory2-1CxT-5pd.cjs → PlayerAccountGamingLimitsHistory2-CsxTesLB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-DuWgdsnY.js → PlayerAccountGamingLimitsHistory2-D7J0FgHo.js} +48 -48
- package/components/{PlayerAccountGamingLimitsHistory2-CZWoK_f5.js → PlayerAccountGamingLimitsHistory2-TkOqxfj1.js} +46 -46
- package/components/{PlayerAccountGamingLimitsInfoCard-AOCz2477.js → PlayerAccountGamingLimitsInfoCard-BRpxiqVR.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-wb1MgSRM.js → PlayerAccountGamingLimitsInfoCard-D1qSvNxW.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-7dQquqQ4.cjs → PlayerAccountGamingLimitsInfoCard-jhpuGIrw.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DQhfQZf3.cjs → PlayerAccountGamingLimitsPage2Gm16-BjlDW58o.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-yGmurNY8.js → PlayerAccountGamingLimitsPage2Gm16-DeJCm4u2.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DqVb6gUu.js → PlayerAccountGamingLimitsPage2Gm16-r8hmIPcw.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPopup-Byk1Oi5A.js → PlayerAccountGamingLimitsPopup-Bst4PQwl.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-Bq6g8_Ex.cjs → PlayerAccountGamingLimitsPopup-Cvl_mdrl.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Cou16qpk.js → PlayerAccountGamingLimitsPopup-D3DnB3bN.js} +42 -42
- package/components/{PlayerAccountGamingLimitsWrapper2-BMjMekAI.js → PlayerAccountGamingLimitsWrapper2-BcKG_TxP.js} +55 -55
- package/components/{PlayerAccountGamingLimitsWrapper2-BTn_7__K.cjs → PlayerAccountGamingLimitsWrapper2-C8_zv-Gl.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BEDe0nx6.js → PlayerAccountGamingLimitsWrapper2-CrOkdCAL.js} +20 -20
- package/components/{PlayerAccountGeneralConfirmationModal-kdUl-EBq.js → PlayerAccountGeneralConfirmationModal-BbAXu7LA.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-DTd4PiMe.js → PlayerAccountGeneralConfirmationModal-CNr7wBeh.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-DoognqGf.cjs → PlayerAccountGeneralConfirmationModal-DNkcN7ty.cjs} +1 -1
- package/components/{PlayerAccountMenu-DNaPK2TZ.js → PlayerAccountMenu-0dwfNXzd.js} +29 -29
- package/components/{PlayerAccountMenu-C5GtMCo6.cjs → PlayerAccountMenu-Bra1jlKa.cjs} +1 -1
- package/components/{PlayerAccountMenu-CqVrDqg2.js → PlayerAccountMenu-CIexYUdx.js} +32 -32
- package/components/{PlayerAccountModal-Cgwoz0_A.js → PlayerAccountModal-DcuNgIsg.js} +42 -42
- package/components/{PlayerAccountModal-zI2QLAL1.cjs → PlayerAccountModal-Dmgt5WVr.cjs} +1 -1
- package/components/{PlayerAccountModal-ZSZxImk8.js → PlayerAccountModal-IFpCl0Uz.js} +42 -42
- package/components/{PlayerAccountNotifications-B1K_Z2TT.js → PlayerAccountNotifications-BJWMhwFJ.js} +31 -31
- package/components/{PlayerAccountNotifications-B-wkpb9J.cjs → PlayerAccountNotifications-BgE2Nu5e.cjs} +1 -1
- package/components/{PlayerAccountNotifications-Cf28JRBn.js → PlayerAccountNotifications-C69KyNWq.js} +32 -32
- package/components/{PlayerAccountSelfExclusion-DSxM_f45.js → PlayerAccountSelfExclusion-BK4Qt06B.js} +781 -786
- package/components/{PlayerAccountSelfExclusion-DxRAfTZT.js → PlayerAccountSelfExclusion-C3aFEBGZ.js} +1684 -1689
- package/components/{PlayerAccountSelfExclusion-DlekYIJO.cjs → PlayerAccountSelfExclusion-EEwqevwK.cjs} +153 -153
- package/components/{PlayerAccountTimeout-BVATVPRq.js → PlayerAccountTimeout-C5AtNWo7.js} +58 -58
- package/components/{PlayerAccountTimeout-Bb58NRXY.js → PlayerAccountTimeout-Dt4WJonL.js} +58 -58
- package/components/{PlayerAccountTimeout-BBpwfboX.cjs → PlayerAccountTimeout-gK_YDrBY.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CBqsWQfE.cjs → PlayerActiveBonuses-B3sDjZPu.cjs} +1 -1
- package/components/{PlayerActiveBonuses-DXMMRNp0.js → PlayerActiveBonuses-BVXu2xEB.js} +73 -73
- package/components/{PlayerActiveBonuses-Dt0N6Bn0.js → PlayerActiveBonuses-CLoyGNwd.js} +74 -74
- package/components/{PlayerBonusCard-CJXjuXsU.cjs → PlayerBonusCard-4A6XzJO6.cjs} +1 -1
- package/components/{PlayerBonusCard-CH-ncifJ.js → PlayerBonusCard-B6SaZ0cC.js} +54 -54
- package/components/{PlayerBonusCard-Di1Znpi1.js → PlayerBonusCard-DMwbLjEW.js} +54 -54
- package/components/{PlayerBonusHistory-Dt0nm--k.cjs → PlayerBonusHistory-BmOgSTUS.cjs} +1 -1
- package/components/{PlayerBonusHistory-CHDc8kFG.js → PlayerBonusHistory-D3v1Hfnf.js} +33 -33
- package/components/{PlayerBonusHistory-CG4iedyf.js → PlayerBonusHistory-DLUJJGqO.js} +33 -33
- package/components/{PlayerChangePassword-DMiyyEYC.js → PlayerChangePassword-DIJxZkuX.js} +71 -71
- package/components/{PlayerChangePassword-awaQVsiP.cjs → PlayerChangePassword-DkVY0JFR.cjs} +1 -1
- package/components/{PlayerChangePassword-Cy_iUEwl.js → PlayerChangePassword-sZQBKHjd.js} +71 -71
- package/components/{PlayerDeposit-BUbpr-x6.js → PlayerDeposit-C8yaYj_O.js} +75 -75
- package/components/{PlayerDeposit-BFpoULil.js → PlayerDeposit-DJdl_B5Q.js} +75 -75
- package/components/PlayerDeposit-DgZ1K6jf.cjs +1 -0
- package/components/{PlayerGamingHistory-RqKyBLJf.js → PlayerGamingHistory-BYvXvoys.js} +84 -84
- package/components/{PlayerGamingHistory-Cy9FMn9D.js → PlayerGamingHistory-C5cNuG6o.js} +74 -74
- package/components/{PlayerGamingHistory-Bw_u3E09.cjs → PlayerGamingHistory-CNBltDve.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-Dc91b0Cm.js → PlayerPendingWithdrawals-D9Yxc7FK.js} +26 -26
- package/components/{PlayerPendingWithdrawals-ttbTlX0c.js → PlayerPendingWithdrawals-DtwQGdZm.js} +26 -26
- package/components/{PlayerPendingWithdrawals-aaHugNLD.cjs → PlayerPendingWithdrawals-H49FURps.cjs} +1 -1
- package/components/{PlayerProfileInfo-tYfJSyL9.cjs → PlayerProfileInfo-4pEf39os.cjs} +1 -1
- package/components/{PlayerProfileInfo-DXGC3Nhp.js → PlayerProfileInfo-CpFhQZ8r.js} +60 -60
- package/components/{PlayerProfileInfo-yGYztqLK.js → PlayerProfileInfo-DKjkFgUz.js} +60 -60
- package/components/{PlayerRealityCheck-C9j8cYwx.js → PlayerRealityCheck-CEu6HPSc.js} +33 -33
- package/components/{PlayerRealityCheck-D7YLuHGQ.js → PlayerRealityCheck-CYMfPzuq.js} +33 -33
- package/components/{PlayerRealityCheck-BobhhM62.cjs → PlayerRealityCheck-DiJJz_Fj.cjs} +1 -1
- package/components/{PlayerTransactionHistory-Dff51WQG.cjs → PlayerTransactionHistory-Bb8js_3p.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BHDwTuEi.js → PlayerTransactionHistory-CSHYcAs1.js} +24 -24
- package/components/{PlayerTransactionHistory-fsxifDQz.js → PlayerTransactionHistory-D31yO5X5.js} +24 -24
- package/components/{PlayerWithdrawal-4QbyF-GU.js → PlayerWithdrawal-BcoiHu5m.js} +19 -19
- package/components/{PlayerWithdrawal-D6ic1PCk.js → PlayerWithdrawal-Byr8jun8.js} +19 -19
- package/components/{PlayerWithdrawal-DdPBGufW.cjs → PlayerWithdrawal-xHn3kl2k.cjs} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_9-OVj7AW5S.js → checkbox-group-input_9-Cge1uYJD.js} +11 -13
- package/stencil/checkbox-group-input_9-DDKGgkML.cjs +2 -0
- package/stencil/{checkbox-group-input_9-C7zEH4Cn.js → checkbox-group-input_9-DEGGgpku.js} +11 -13
- package/stencil/{general-input-BlFYbInU.cjs → general-input-CbzyUMpM.cjs} +199 -199
- package/stencil/{general-input-C7B1PVb4.js → general-input-D6ZzAION.js} +1243 -1249
- package/stencil/{general-input-DoSeJn3k.js → general-input-DGX9cnfM.js} +1241 -1247
- package/stencil/index-1ef3a64c-C4-h3nXC.js +572 -0
- package/stencil/index-1ef3a64c-Cb8qLHe4.js +556 -0
- package/stencil/index-1ef3a64c-CzlpRJE7.cjs +1 -0
- package/stencil/index-7c5e707a-40SRy2Ab.js +616 -0
- package/stencil/index-7c5e707a-B9tD4t-g.js +643 -0
- package/stencil/index-7c5e707a-DosLPDO6.cjs +1 -0
- package/stencil/{index-9c0f6c58-CqoLeK5G.js → index-9c0f6c58-D5txcAjr.js} +197 -197
- package/stencil/index-9c0f6c58-DeCWAW-B.cjs +1 -0
- package/stencil/index-9c0f6c58-DeLVbTUg.js +576 -0
- package/stencil/index-9cd44522-BZa-k0xO.cjs +1 -0
- package/stencil/index-9cd44522-DNHOiqex.js +626 -0
- package/stencil/index-9cd44522-bcseM6Tc.js +610 -0
- package/stencil/index-b2193545-C2qi7zn0.js +519 -0
- package/stencil/index-b2193545-DRVj_AmB.js +503 -0
- package/stencil/index-b2193545-lh5NrH1l.cjs +1 -0
- package/stencil/password-input_2-ChFdsN2L.cjs +193 -0
- package/stencil/{password-input_2-5nC89CMj.js → password-input_2-DfibVL8H.js} +3 -3
- package/stencil/{password-input_2-DJSgcWve.js → password-input_2-IaELIWPu.js} +3 -3
- package/stencil/{player-change-password-gm2-039e300e-C_f58yBE.js → player-change-password-gm2-039e300e-Cbvlv_Cc.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-D4KfL3dW.js → player-change-password-gm2-039e300e-DQu1Qy42.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-C-kbOfS1.cjs → player-change-password-gm2-039e300e-h73P3BnO.cjs} +1 -1
- package/stencil/{player-change-password-gm2-3aRR8E4W.js → player-change-password-gm2-CZ4CLVdX.js} +1 -1
- package/stencil/{player-change-password-gm2-CHK-mhQ9.cjs → player-change-password-gm2-Ddu97gwX.cjs} +1 -1
- package/stencil/{player-change-password-gm2-BJ2Ur7Zx.js → player-change-password-gm2-o8J_07IZ.js} +1 -1
- package/stencil/player-kyc-verification-C0h2CP_Y.cjs +180 -0
- package/stencil/{player-kyc-verification-Di40xn9z.js → player-kyc-verification-dmJNIHni.js} +148 -117
- package/stencil/{player-kyc-verification-B8arDCja.js → player-kyc-verification-z8R7nMzo.js} +132 -101
- package/stencil/{toggle-checkbox-input-BRL1Xahc.js → toggle-checkbox-input-BJReK7u2.js} +2 -2
- package/stencil/{toggle-checkbox-input-cLWFox9n.js → toggle-checkbox-input-CphJPGIs.js} +2 -2
- package/stencil/toggle-checkbox-input-DPSvf8jJ.cjs +1 -0
- package/stencil/ui-skeleton-BAxmxOly.cjs +1 -0
- package/stencil/{ui-skeleton-T4HYbNcC.js → ui-skeleton-BCpuJt-t.js} +8 -8
- package/stencil/{ui-skeleton-DT0OMDC6.js → ui-skeleton-BnjJK_-z.js} +4 -4
- package/stencil/ui-skeleton-ea659b95-79vEjTsx.js +152 -0
- package/stencil/ui-skeleton-ea659b95-BrjFstai.js +152 -0
- package/stencil/ui-skeleton-ea659b95-DuSAPIG5.cjs +73 -0
- package/stencil/{user-deposit-withdrawal-BQKFgZ31.cjs → user-deposit-withdrawal-CBWlU3d2.cjs} +3 -3
- package/stencil/{user-deposit-withdrawal-DRe5oBqv.js → user-deposit-withdrawal-CE9oDw4W.js} +71 -71
- package/stencil/{user-deposit-withdrawal-Dj3Po03r.js → user-deposit-withdrawal-Dnqg2IvK.js} +77 -77
- package/stencil/{user-transaction-history-Dca7qx08.js → user-transaction-history-BO92Qvk4.js} +1 -1
- package/stencil/{user-transaction-history-6-z3byrF.js → user-transaction-history-Bg6onQ-I.js} +1 -1
- package/stencil/{user-transaction-history-DrhquxkJ.cjs → user-transaction-history-COJbthDt.cjs} +1 -1
- package/components/GeneralLogout-BjsDUNrm.cjs +0 -21
- package/components/PlayerAccountBettingHistory-Bu3VS2Sg.cjs +0 -1
- package/components/PlayerAccountBettingHistory-DznJRKHH.js +0 -329
- package/components/PlayerAccountController-C7RCoOhc.cjs +0 -1
- package/components/PlayerDeposit-_oIOMh8l.cjs +0 -1
- package/stencil/checkbox-group-input_9-CMfQeYlH.cjs +0 -2
- package/stencil/index-1ef3a64c-BnB-ATuA.js +0 -556
- package/stencil/index-1ef3a64c-BvKbNMH8.cjs +0 -1
- package/stencil/index-1ef3a64c-Nsr9PDe6.js +0 -572
- package/stencil/index-7c5e707a-CTC8RpEi.js +0 -643
- package/stencil/index-7c5e707a-CWE0q0mP.js +0 -616
- package/stencil/index-7c5e707a-D1Fv8nel.cjs +0 -1
- package/stencil/index-9c0f6c58-C1yzTenw.js +0 -576
- package/stencil/index-9c0f6c58-DEsDY2nb.cjs +0 -1
- package/stencil/index-9cd44522-BOHK5Ehb.js +0 -626
- package/stencil/index-9cd44522-C8s3TvoU.js +0 -610
- package/stencil/index-9cd44522-D9raG3xx.cjs +0 -1
- package/stencil/index-ae04a8b1-D4wvtXTw.cjs +0 -1
- package/stencil/index-ae04a8b1-fpBaOn88.js +0 -516
- package/stencil/index-ae04a8b1-ixlRj3zC.js +0 -532
- package/stencil/password-input_2-ZOEOuaOe.cjs +0 -193
- package/stencil/player-kyc-verification-GFBDUbhm.cjs +0 -180
- package/stencil/toggle-checkbox-input-CPDZs55S.cjs +0 -1
- package/stencil/ui-skeleton-BC4mw1ae.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-B8H73O_q.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-Ba-weZ4g.js +0 -122
- package/stencil/ui-skeleton-a642cced-DhjmNsN7.js +0 -122
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var p = (e, t, n) => new Promise((o, a) => {
|
|
2
|
+
var s = (d) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
5
|
-
} catch (
|
|
6
|
-
|
|
4
|
+
l(n.next(d));
|
|
5
|
+
} catch (f) {
|
|
6
|
+
a(f);
|
|
7
7
|
}
|
|
8
8
|
}, c = (d) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
11
|
-
} catch (
|
|
12
|
-
|
|
10
|
+
l(n.throw(d));
|
|
11
|
+
} catch (f) {
|
|
12
|
+
a(f);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, l = (d) => d.done ? o(d.value) : Promise.resolve(d.value).then(s, c);
|
|
15
|
+
l((n = n.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as
|
|
18
|
-
import { a as
|
|
19
|
-
var
|
|
20
|
-
const e = import.meta.url,
|
|
21
|
-
return e !== "" && (
|
|
17
|
+
import { b as w, p as C, r as k, h as i, F as h } from "./index-9c0f6c58-DeLVbTUg.js";
|
|
18
|
+
import { a as x } from "./app-globals-0f993ce5-DzSE6TtH.js";
|
|
19
|
+
var S = () => {
|
|
20
|
+
const e = import.meta.url, t = {};
|
|
21
|
+
return e !== "" && (t.resourcesUrl = new URL(".", e).href), C(t);
|
|
22
22
|
};
|
|
23
|
-
|
|
24
|
-
return yield
|
|
23
|
+
S().then((e) => p(void 0, null, function* () {
|
|
24
|
+
return yield x(), w([["player-kyc-verification", [[1, "player-kyc-verification", { userId: [1, "user-id"], session: [1], language: [1], endpoint: [1], translationUrl: [1, "translation-url"], clientStyling: [1, "client-styling"], verifiedIcon: [1, "verified-icon"], failedIcon: [1, "failed-icon"], defaultIcon: [1, "default-icon"], clientStylingUrl: [1, "client-styling-url"], mbSource: [1, "mb-source"], verificationType: [32], isLoading: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], selectedOption: [32], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e);
|
|
25
25
|
}));
|
|
26
|
-
const
|
|
26
|
+
const b = "en";
|
|
27
27
|
let u = {
|
|
28
28
|
en: {
|
|
29
29
|
loading: "Loading, please wait ...",
|
|
@@ -51,6 +51,9 @@ let u = {
|
|
|
51
51
|
SourceOfWealth: "Source of Wealth",
|
|
52
52
|
SocialMedia: "Social Media",
|
|
53
53
|
ProofOfPayment: "Proof of Payment",
|
|
54
|
+
ProofOfIdentityFront: "Proof of identity (front side)",
|
|
55
|
+
ProofOfIdentityBack: "Proof of identity (back side)",
|
|
56
|
+
SourceOfFunds: "Source of Funds",
|
|
54
57
|
uploaded: "Document already uploaded.",
|
|
55
58
|
Unknown: "Unknown",
|
|
56
59
|
Passport: "Passport",
|
|
@@ -109,6 +112,9 @@ let u = {
|
|
|
109
112
|
Biometric: "Biometric",
|
|
110
113
|
Recheck: "Recheck",
|
|
111
114
|
ProofOfAddress: "Proof of Address",
|
|
115
|
+
ProofOfIdentityFront: "Proof of identity (front side)",
|
|
116
|
+
ProofOfIdentityBack: "Proof of identity (back side)",
|
|
117
|
+
SourceOfFunds: "Source of Funds",
|
|
112
118
|
SourceOfWealth: "Source of Wealth",
|
|
113
119
|
SocialMedia: "Social Media",
|
|
114
120
|
ProofOfPayment: "Proof of Payment",
|
|
@@ -170,6 +176,9 @@ let u = {
|
|
|
170
176
|
Biometric: "Biometric",
|
|
171
177
|
Recheck: "Recheck",
|
|
172
178
|
ProofOfAddress: "Proof of Address",
|
|
179
|
+
ProofOfIdentityFront: "Proof of identity (front side)",
|
|
180
|
+
ProofOfIdentityBack: "Proof of identity (back side)",
|
|
181
|
+
SourceOfFunds: "Source of Funds",
|
|
173
182
|
SourceOfWealth: "Source of Wealth",
|
|
174
183
|
SocialMedia: "Social Media",
|
|
175
184
|
ProofOfPayment: "Proof of Payment",
|
|
@@ -234,6 +243,9 @@ let u = {
|
|
|
234
243
|
SourceOfWealth: "Source of Wealth",
|
|
235
244
|
SocialMedia: "Social Media",
|
|
236
245
|
ProofOfPayment: "Proof of Payment",
|
|
246
|
+
ProofOfIdentityFront: "Proof of identity (front side)",
|
|
247
|
+
ProofOfIdentityBack: "Proof of identity (back side)",
|
|
248
|
+
SourceOfFunds: "Source of Funds",
|
|
237
249
|
uploaded: "Document déjà téléchargé.",
|
|
238
250
|
Unknown: "Unknown",
|
|
239
251
|
Passport: "Passport",
|
|
@@ -295,6 +307,9 @@ let u = {
|
|
|
295
307
|
SourceOfWealth: "Source of Wealth",
|
|
296
308
|
SocialMedia: "Social Media",
|
|
297
309
|
ProofOfPayment: "Proof of Payment",
|
|
310
|
+
ProofOfIdentityFront: "Proof of identity (front side)",
|
|
311
|
+
ProofOfIdentityBack: "Proof of identity (back side)",
|
|
312
|
+
SourceOfFunds: "Source of Funds",
|
|
298
313
|
uploaded: "Document already uploaded.",
|
|
299
314
|
Unknown: "Unknown",
|
|
300
315
|
Passport: "Passport",
|
|
@@ -356,6 +371,9 @@ let u = {
|
|
|
356
371
|
SourceOfWealth: "Izvor sredstava",
|
|
357
372
|
SocialMedia: "Društvene mreže",
|
|
358
373
|
ProofOfPayment: "Platna metoda",
|
|
374
|
+
ProofOfIdentityFront: "Proof of identity (front side)",
|
|
375
|
+
ProofOfIdentityBack: "Proof of identity (back side)",
|
|
376
|
+
SourceOfFunds: "Source of Funds",
|
|
359
377
|
uploaded: "Dokument je već učitan.",
|
|
360
378
|
Unknown: "Nepoznato",
|
|
361
379
|
Passport: "Putovnica",
|
|
@@ -415,6 +433,9 @@ let u = {
|
|
|
415
433
|
SourceOfWealth: "Source of Wealth",
|
|
416
434
|
SocialMedia: "Social Media",
|
|
417
435
|
ProofOfPayment: "Proof of Payment",
|
|
436
|
+
ProofOfIdentityFront: "Proof of identity (front side)",
|
|
437
|
+
ProofOfIdentityBack: "Proof of identity (back side)",
|
|
438
|
+
SourceOfFunds: "Source of Funds",
|
|
418
439
|
uploaded: "Documento já carregado.",
|
|
419
440
|
Unknown: "Unknown",
|
|
420
441
|
Passport: "Passport",
|
|
@@ -474,6 +495,9 @@ let u = {
|
|
|
474
495
|
SourceOfWealth: "Source of Wealth",
|
|
475
496
|
SocialMedia: "Social Media",
|
|
476
497
|
ProofOfPayment: "Proof of Payment",
|
|
498
|
+
ProofOfIdentityFront: "Proof of identity (front side)",
|
|
499
|
+
ProofOfIdentityBack: "Proof of identity (back side)",
|
|
500
|
+
SourceOfFunds: "Source of Funds",
|
|
477
501
|
uploaded: "Documento ya subido.",
|
|
478
502
|
Unknown: "Unknown",
|
|
479
503
|
Passport: "Passport",
|
|
@@ -510,42 +534,42 @@ let u = {
|
|
|
510
534
|
Voucher: "Voucher"
|
|
511
535
|
}
|
|
512
536
|
};
|
|
513
|
-
const
|
|
514
|
-
fetch(e).then((
|
|
515
|
-
Object.keys(
|
|
516
|
-
u[
|
|
517
|
-
for (let
|
|
518
|
-
u[
|
|
519
|
-
}),
|
|
537
|
+
const y = (e) => new Promise((t) => {
|
|
538
|
+
fetch(e).then((n) => n.json()).then((n) => {
|
|
539
|
+
Object.keys(n).forEach((o) => {
|
|
540
|
+
u[o] || (u[o] = {});
|
|
541
|
+
for (let a in n[o])
|
|
542
|
+
u[o][a] = n[o][a];
|
|
543
|
+
}), t(!0);
|
|
520
544
|
});
|
|
521
|
-
}), r = (e,
|
|
522
|
-
const
|
|
523
|
-
return u[
|
|
524
|
-
},
|
|
525
|
-
function g(e,
|
|
545
|
+
}), r = (e, t, n) => {
|
|
546
|
+
const o = t;
|
|
547
|
+
return u[o !== void 0 && o in u ? o : b][e];
|
|
548
|
+
}, P = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
549
|
+
function g(e, t) {
|
|
526
550
|
if (e) {
|
|
527
|
-
const
|
|
528
|
-
|
|
551
|
+
const n = document.createElement("style");
|
|
552
|
+
n.innerHTML = t, e.appendChild(n);
|
|
529
553
|
}
|
|
530
554
|
}
|
|
531
|
-
function
|
|
532
|
-
const
|
|
533
|
-
fetch(
|
|
534
|
-
const
|
|
535
|
-
|
|
536
|
-
}).catch((
|
|
537
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
555
|
+
function v(e, t) {
|
|
556
|
+
const n = new URL(t);
|
|
557
|
+
fetch(n.href).then((o) => o.text()).then((o) => {
|
|
558
|
+
const a = document.createElement("style");
|
|
559
|
+
a.innerHTML = o, e && e.appendChild(a);
|
|
560
|
+
}).catch((o) => {
|
|
561
|
+
console.error("There was an error while trying to load client styling from URL", o);
|
|
538
562
|
});
|
|
539
563
|
}
|
|
540
|
-
function
|
|
564
|
+
function D(e, t, n) {
|
|
541
565
|
if (window.emMessageBus) {
|
|
542
|
-
const
|
|
543
|
-
window.emMessageBus.subscribe(
|
|
544
|
-
|
|
566
|
+
const o = document.createElement("style");
|
|
567
|
+
window.emMessageBus.subscribe(t, (a) => {
|
|
568
|
+
o.innerHTML = a, e && e.appendChild(o);
|
|
545
569
|
});
|
|
546
570
|
}
|
|
547
571
|
}
|
|
548
|
-
const
|
|
572
|
+
const O = `:host {
|
|
549
573
|
font-family: inherit;
|
|
550
574
|
}
|
|
551
575
|
|
|
@@ -724,34 +748,34 @@ button, select {
|
|
|
724
748
|
.player-kyc-verification-widget .verification-types {
|
|
725
749
|
grid-template-columns: repeat(2, 1fr);
|
|
726
750
|
}
|
|
727
|
-
}`, I =
|
|
751
|
+
}`, I = O, B = class {
|
|
728
752
|
constructor(e) {
|
|
729
|
-
|
|
753
|
+
k(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = P(this.userAgent), this.handleToggleScreen = () => {
|
|
730
754
|
this.toggleScreen(this.isMobile);
|
|
731
755
|
}, this.userId = "", this.session = "", this.language = void 0, this.endpoint = "", this.translationUrl = "", this.clientStyling = "", this.verifiedIcon = "", this.failedIcon = "", this.defaultIcon = "", this.clientStylingUrl = "", this.mbSource = void 0, this.verificationType = [], this.isLoading = !1, this.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.selectedOption = void 0, this.expandedOnDesktop = !1;
|
|
732
756
|
}
|
|
733
757
|
handleNewTranslations() {
|
|
734
|
-
this.isLoading = !0,
|
|
758
|
+
this.isLoading = !0, y(this.translationUrl).then(() => {
|
|
735
759
|
this.isLoading = !1;
|
|
736
760
|
});
|
|
737
761
|
}
|
|
738
762
|
componentWillLoad() {
|
|
739
|
-
return
|
|
740
|
-
this.translationUrl.length > 2 && (yield
|
|
763
|
+
return p(this, null, function* () {
|
|
764
|
+
this.translationUrl.length > 2 && (yield y(this.translationUrl));
|
|
741
765
|
});
|
|
742
766
|
}
|
|
743
|
-
handleClientStylingChange(e,
|
|
744
|
-
e !=
|
|
767
|
+
handleClientStylingChange(e, t) {
|
|
768
|
+
e != t && g(this.stylingContainer, this.clientStyling);
|
|
745
769
|
}
|
|
746
|
-
handleClientStylingUrlChange(e,
|
|
747
|
-
e !=
|
|
770
|
+
handleClientStylingUrlChange(e, t) {
|
|
771
|
+
e != t && this.clientStylingUrl && v(this.stylingContainer, this.clientStylingUrl);
|
|
748
772
|
}
|
|
749
773
|
componentDidLoad() {
|
|
750
|
-
return
|
|
751
|
-
this.stylingContainer && (window.emMessageBus != null ?
|
|
774
|
+
return p(this, null, function* () {
|
|
775
|
+
this.stylingContainer && (window.emMessageBus != null ? D(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && g(this.stylingContainer, this.clientStyling), this.clientStylingUrl && v(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0);
|
|
752
776
|
try {
|
|
753
777
|
let e = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus`);
|
|
754
|
-
const
|
|
778
|
+
const t = {
|
|
755
779
|
method: "POST",
|
|
756
780
|
headers: {
|
|
757
781
|
"X-SessionId": this.session,
|
|
@@ -759,14 +783,14 @@ button, select {
|
|
|
759
783
|
},
|
|
760
784
|
body: JSON.stringify({})
|
|
761
785
|
};
|
|
762
|
-
fetch(e.href,
|
|
763
|
-
if (
|
|
764
|
-
return
|
|
765
|
-
throw new Error("HTTP status " +
|
|
766
|
-
}).then((
|
|
767
|
-
this.verificationType =
|
|
768
|
-
}).catch((
|
|
769
|
-
console.error(
|
|
786
|
+
fetch(e.href, t).then((n) => {
|
|
787
|
+
if (n.status === 200)
|
|
788
|
+
return n.json();
|
|
789
|
+
throw new Error("HTTP status " + n.status);
|
|
790
|
+
}).then((n) => {
|
|
791
|
+
this.verificationType = n.verifications;
|
|
792
|
+
}).catch((n) => {
|
|
793
|
+
console.error(n);
|
|
770
794
|
});
|
|
771
795
|
} catch (e) {
|
|
772
796
|
console.error("Error fetching verification types:", e);
|
|
@@ -776,100 +800,107 @@ button, select {
|
|
|
776
800
|
disconnectedCallback() {
|
|
777
801
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
778
802
|
}
|
|
779
|
-
handleOptionChange(e,
|
|
780
|
-
const
|
|
781
|
-
this.selectedOption =
|
|
803
|
+
handleOptionChange(e, t) {
|
|
804
|
+
const n = e.target;
|
|
805
|
+
this.selectedOption = n.value, this.verificationType = this.verificationType.map((o) => (o.type === t && (o.optionChosen = n.value), o));
|
|
782
806
|
}
|
|
783
|
-
handleDocumentsStatus(e,
|
|
784
|
-
this.verificationType = this.verificationType.map((
|
|
785
|
-
if (
|
|
786
|
-
const
|
|
787
|
-
|
|
807
|
+
handleDocumentsStatus(e, t, n) {
|
|
808
|
+
this.verificationType = this.verificationType.map((o) => {
|
|
809
|
+
if (o.type === e) {
|
|
810
|
+
const a = o.documents.find((s) => s.code === n);
|
|
811
|
+
a && (a.statusUploaded = t);
|
|
788
812
|
}
|
|
789
|
-
return
|
|
813
|
+
return o;
|
|
790
814
|
});
|
|
791
815
|
}
|
|
792
816
|
downloadPDF(e) {
|
|
793
|
-
const
|
|
794
|
-
|
|
817
|
+
const t = document.createElement("a");
|
|
818
|
+
t.href = e, t.download = "file.pdf", t.target = "_blank", t.dispatchEvent(new MouseEvent("click"));
|
|
795
819
|
}
|
|
796
|
-
toggleVerificationType(e,
|
|
797
|
-
this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((
|
|
798
|
-
var
|
|
799
|
-
return
|
|
820
|
+
toggleVerificationType(e, t) {
|
|
821
|
+
this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((n) => {
|
|
822
|
+
var o;
|
|
823
|
+
return n.type === e && ((o = n.flowInfo) === null || o === void 0 ? void 0 : o.type) == t && (n.expanded = !n.expanded), n;
|
|
800
824
|
});
|
|
801
825
|
}
|
|
802
826
|
toggleScreen(e) {
|
|
803
827
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: e }, window.location.href);
|
|
804
828
|
}
|
|
805
829
|
checkFileSize(e) {
|
|
806
|
-
let
|
|
807
|
-
return Object.keys(e).forEach((
|
|
808
|
-
|
|
809
|
-
}),
|
|
830
|
+
let t = 0;
|
|
831
|
+
return Object.keys(e).forEach((n) => {
|
|
832
|
+
t += e[n].size;
|
|
833
|
+
}), t <= this.MAX_UPLOAD_SIZE;
|
|
810
834
|
}
|
|
811
|
-
handleFileSelection(e,
|
|
835
|
+
handleFileSelection(e, t, n) {
|
|
812
836
|
if (e && e.length > 0)
|
|
813
837
|
if (this.selectedFile = e, !this.checkFileSize(this.selectedFile))
|
|
814
|
-
console.error(r("fileSizeExceeded", this.language)), this.uploadingStatus = r("fileSizeExceeded", this.language), this.handleDocumentsStatus(
|
|
838
|
+
console.error(r("fileSizeExceeded", this.language)), this.uploadingStatus = r("fileSizeExceeded", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, t), this.uploadSizeExceeded = !0;
|
|
815
839
|
else {
|
|
816
|
-
const
|
|
840
|
+
const o = {
|
|
817
841
|
method: "POST",
|
|
818
842
|
headers: {
|
|
819
843
|
"Content-Type": "application/json",
|
|
820
844
|
"X-SessionId": this.session
|
|
821
845
|
},
|
|
822
|
-
body: JSON.stringify({ DocumentCode:
|
|
846
|
+
body: JSON.stringify({ DocumentCode: t })
|
|
823
847
|
};
|
|
824
|
-
fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`,
|
|
825
|
-
if (
|
|
826
|
-
return this.uploadingStatus = r("uploading", this.language), this.handleDocumentsStatus(
|
|
827
|
-
}).then((
|
|
828
|
-
const
|
|
829
|
-
|
|
830
|
-
c.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = r("successUploadMultipleFiles", this.language) : this.uploadingStatus = r("successUpload", this.language), this.handleDocumentsStatus(
|
|
848
|
+
fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`, o).then((a) => {
|
|
849
|
+
if (a.ok)
|
|
850
|
+
return this.uploadingStatus = r("uploading", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, t), a.json();
|
|
851
|
+
}).then((a) => {
|
|
852
|
+
const s = new FormData();
|
|
853
|
+
s.append(t, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: s }).then((c) => {
|
|
854
|
+
c.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = r("successUploadMultipleFiles", this.language) : this.uploadingStatus = r("successUpload", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, t)) : (this.uploadingStatus = r("failedUpload", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, t), console.error("File upload error:", c.status));
|
|
831
855
|
}).catch((c) => {
|
|
832
856
|
console.error("File upload error:", c);
|
|
833
857
|
});
|
|
834
|
-
}).catch((
|
|
835
|
-
console.error("File upload error:",
|
|
858
|
+
}).catch((a) => {
|
|
859
|
+
console.error("File upload error:", a);
|
|
836
860
|
});
|
|
837
861
|
}
|
|
838
862
|
}
|
|
839
863
|
importScript(e) {
|
|
840
|
-
return new Promise((
|
|
841
|
-
fetch(e).then((
|
|
842
|
-
if (new Function(
|
|
843
|
-
|
|
864
|
+
return new Promise((t, n) => {
|
|
865
|
+
fetch(e).then((o) => o.text()).then((o) => {
|
|
866
|
+
if (new Function(o)(), this.scriptInjected)
|
|
867
|
+
t(!0);
|
|
844
868
|
else {
|
|
845
|
-
const
|
|
846
|
-
|
|
869
|
+
const s = document.createElement("script");
|
|
870
|
+
s.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(s), this.scriptInjected = !0, t(!0);
|
|
847
871
|
}
|
|
848
|
-
}).catch((
|
|
849
|
-
|
|
872
|
+
}).catch((o) => {
|
|
873
|
+
n(o);
|
|
850
874
|
});
|
|
851
875
|
});
|
|
852
876
|
}
|
|
853
877
|
isStatusUploaded(e) {
|
|
854
878
|
return !!(e && e.status === "Uploaded");
|
|
855
879
|
}
|
|
880
|
+
getFirstRequestedDocument(e) {
|
|
881
|
+
var t;
|
|
882
|
+
let n;
|
|
883
|
+
return (t = e == null ? void 0 : e.documents) === null || t === void 0 || t.forEach((o) => {
|
|
884
|
+
o.status == "Requested" && (n = n != null ? n : o.code);
|
|
885
|
+
}), n;
|
|
886
|
+
}
|
|
856
887
|
renderVerificationTypeBox(e) {
|
|
857
888
|
this.expandedOnDesktop && (e.expanded = !0);
|
|
858
|
-
let n = e.expanded,
|
|
859
|
-
const
|
|
860
|
-
return i("div", { class: `verification-box ${n ? "expanded" : ""} ${
|
|
861
|
-
var
|
|
862
|
-
return this.toggleVerificationType(e.type, (
|
|
863
|
-
} }, i("div", { class: "box-icon" },
|
|
889
|
+
let t = this.getFirstRequestedDocument(e), n = e.expanded, o = e.type.trim(), a = e.optionChosen || t, s = e.status, c = e.documents, l = e.flowInfo;
|
|
890
|
+
const d = s === "Verified", f = s === "Failed" || s === "Expired";
|
|
891
|
+
return i("div", { class: `verification-box ${n ? "expanded" : ""} ${f ? "failed" : ""} ${d ? "success" : ""}` }, i("div", { class: `box box-header ${n ? "expanded" : ""}`, onClick: () => {
|
|
892
|
+
var m;
|
|
893
|
+
return this.toggleVerificationType(e.type, (m = e.flowInfo) === null || m === void 0 ? void 0 : m.type);
|
|
894
|
+
} }, i("div", { class: "box-icon" }, d ? i("div", null, this.verifiedIcon ? i("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), i("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), i("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : f ? i("div", null, this.failedIcon ? i("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), i("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), i("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : i("div", null, this.defaultIcon ? i("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : i("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), i("div", { class: "box-title" }, r(o, this.language)), i("div", { class: "chevron-icon" }, i("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, i("path", { d: n ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), n ? this.renderExpandedContent(e, a, s, c, l, d, f) : i("div", { class: "box box-content" }, i("div", { id: "__avs-wrapper" })));
|
|
864
895
|
}
|
|
865
|
-
renderDocumentsActions(e,
|
|
866
|
-
return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, r("uploaded", this.language)) : e != null && e.statusUploaded ? i("div", { class: "upload-status" }, e == null ? void 0 : e.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, (e == null ? void 0 : e.sampleType) === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(e == null ? void 0 : e.sampleUrl) }, i("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" }), i("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" })), i("span", null, r("download", this.language))) : null), i("div", { class: "upload-button" },
|
|
896
|
+
renderDocumentsActions(e, t, n) {
|
|
897
|
+
return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, r("uploaded", this.language)) : e != null && e.statusUploaded ? i("div", { class: "upload-status" }, e == null ? void 0 : e.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, (e == null ? void 0 : e.sampleType) === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(e == null ? void 0 : e.sampleUrl) }, i("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" }), i("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" })), i("span", null, r("download", this.language))) : null), i("div", { class: "upload-button" }, t ? i("label", null, i("input", { type: "file", accept: "*", onChange: (o) => this.handleFileSelection(o.target.files, this.selectedOption, n.type), style: { display: "none" } }), i("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" }), i("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), i("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
|
|
867
898
|
}
|
|
868
|
-
renderExpandedContent(e, n,
|
|
869
|
-
return (
|
|
899
|
+
renderExpandedContent(e, t, n, o, a, s, c) {
|
|
900
|
+
return (a == null ? void 0 : a.type) === "Widget" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : (a == null ? void 0 : a.type) === "Redirect" && e.vendorName !== "Manual" && n !== "Verified" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : i("div", { class: "box box-content" }, i(h, null, s ? i("div", { class: "verification-status" }, r("verificationComplete", this.language)) : c ? i("div", { class: "verification-status" }, n === "Failed" ? r("verificationFailed", this.language) : r("verificationExpired", this.language)) : o.length > 0 ? i("div", { class: "documents-dropdown" }, i("select", { class: "nice-select", onChange: (l) => this.handleOptionChange(l, e.type) }, o.map((l) => i("option", { selected: l.code == t, value: l.code }, r(l.type, this.language)))), this.renderDocumentsActions(o.find((l) => l.code === t), t, e)) : null));
|
|
870
901
|
}
|
|
871
902
|
render() {
|
|
872
|
-
return this.isLoading ? i("div", null, i("p", null, r("loading", this.language))) : i("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, i("div", { class: "player-kyc-verification-widget" }, this.isMobile ? i("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, i("defs", null), i("g", { transform: "translate(-20 -158)" }, i("g", { transform: "translate(20 158)" }, i("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), i("h2", null, r("kycTitle", this.language))) : i("h2", null, r("kycTitle", this.language)), this.verificationType.length === 0 ? i("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, r("noVerificationRequired", this.language)) : i(
|
|
903
|
+
return this.isLoading ? i("div", null, i("p", null, r("loading", this.language))) : i("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, i("div", { class: "player-kyc-verification-widget" }, this.isMobile ? i("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, i("defs", null), i("g", { transform: "translate(-20 -158)" }, i("g", { transform: "translate(20 158)" }, i("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), i("h2", null, r("kycTitle", this.language))) : i("h2", null, r("kycTitle", this.language)), this.verificationType.length === 0 ? i("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, r("noVerificationRequired", this.language)) : i(h, null, i("div", { class: "widget-description" }, r("kycDescription", this.language)), i("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
|
|
873
904
|
}
|
|
874
905
|
static get watchers() {
|
|
875
906
|
return {
|
|
@@ -879,7 +910,7 @@ button, select {
|
|
|
879
910
|
};
|
|
880
911
|
}
|
|
881
912
|
};
|
|
882
|
-
|
|
913
|
+
B.style = I;
|
|
883
914
|
export {
|
|
884
|
-
|
|
915
|
+
B as player_kyc_verification
|
|
885
916
|
};
|