@everymatrix/player-account-controller-nd 1.74.3 → 1.74.5
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-C52-PhwD.js → GeneralLogout-D030tuMl.js} +1298 -1284
- package/components/{GeneralLogout-C-KQBmk3.js → GeneralLogout-DqIgt_tx.js} +1322 -1308
- package/components/GeneralLogout-TofSUXEw.cjs +21 -0
- package/components/PlayerAccountBettingHistory-85apG_ux.cjs +1 -0
- package/components/PlayerAccountBettingHistory-BspqrGzf.js +310 -0
- package/components/PlayerAccountBettingHistory-Dl1_SAM4.js +311 -0
- package/components/{PlayerAccountBiometrics-C5FFOJ5V.js → PlayerAccountBiometrics-DsYJOGIk.js} +5 -5
- package/components/{PlayerAccountBiometrics-DPdT285K.cjs → PlayerAccountBiometrics-N164JTVo.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-DuvDCmjx.js → PlayerAccountBiometrics-YcohloWe.js} +5 -5
- package/components/{PlayerAccountClosureNd-BEMKT7IM.js → PlayerAccountClosureNd-B9z8p3ie.js} +6 -6
- package/components/{PlayerAccountClosureNd-CYHq0859.js → PlayerAccountClosureNd-C5CrElCk.js} +6 -6
- package/components/{PlayerAccountClosureNd-CMzRAP8U.cjs → PlayerAccountClosureNd-DFWHunWk.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-DT1zgS33.js → PlayerAccountControllerNd-BQss9Dux.js} +443 -413
- package/components/{PlayerAccountControllerNd-DiPqm9wR.js → PlayerAccountControllerNd-Dp8bKAPW.js} +431 -401
- package/components/PlayerAccountControllerNd-kfKBZ8NJ.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-B7ppWJQ6.js → PlayerAccountGamingLimits-CUtQADXZ.js} +124 -124
- package/components/{PlayerAccountGamingLimits-DMS9a3TN.js → PlayerAccountGamingLimits-CsAmDJwA.js} +124 -124
- package/components/{PlayerAccountGamingLimits-B2vzRems.cjs → PlayerAccountGamingLimits-DLyOkU8g.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Crt7TSIB.js → PlayerAccountGamingLimitsConfirmationModal-CKwL1tb1.js} +38 -38
- package/components/{PlayerAccountGamingLimitsConfirmationModal-rkO4-ifF.js → PlayerAccountGamingLimitsConfirmationModal-DXqRhhmC.js} +38 -38
- package/components/PlayerAccountGamingLimitsConfirmationModal-cxg0byfD.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs → PlayerAccountGamingLimitsGroupEdit-BEb7Fv28.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-CDRqETAd.js → PlayerAccountGamingLimitsGroupEdit-Cj8Zh8WK.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsGroupEdit-B-MqO4BJ.js → PlayerAccountGamingLimitsGroupEdit-DKNPRs3o.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsHistory2Nd-C85Ls9oF.js → PlayerAccountGamingLimitsHistory2Nd-BhLSHYdC.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CG8WJl-W.cjs → PlayerAccountGamingLimitsHistory2Nd-CP6Lgi2e.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-C5ysmYyV.js → PlayerAccountGamingLimitsHistory2Nd-OS3hwfOI.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-BYwQnhb5.js → PlayerAccountGamingLimitsInfoCard-CLe77Gl9.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-DjnVkaho.js → PlayerAccountGamingLimitsInfoCard-DsRCdtpt.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs → PlayerAccountGamingLimitsInfoCard-XCP1Kxff.cjs} +1 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-BudPLEsD.cjs +35 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-C8ApQooV.js → PlayerAccountGamingLimitsPage2Gm16Nd-Cz0cDwzT.js} +566 -540
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B5anV-nN.js → PlayerAccountGamingLimitsPage2Gm16Nd-DXTbelGY.js} +864 -834
- package/components/{PlayerAccountGamingLimitsPopup-lZ7y_RVP.js → PlayerAccountGamingLimitsPopup-B04Er6pi.js} +21 -21
- package/components/{PlayerAccountGamingLimitsPopup-D16rhs4n.cjs → PlayerAccountGamingLimitsPopup-DNjM-xS5.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-1ObhRFHn.js → PlayerAccountGamingLimitsPopup-oQNgmn2e.js} +21 -21
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BJqrN_4e.js → PlayerAccountGamingLimitsWrapper2Nd-CRPQEiEy.js} +6 -6
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DnDh7MDz.cjs → PlayerAccountGamingLimitsWrapper2Nd-CgXiJZri.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BCujxf1t.js → PlayerAccountGamingLimitsWrapper2Nd-DcUmwaPI.js} +6 -6
- package/components/PlayerAccountGeneralConfirmationModal-BFCCI67b.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-Bgat7eVE.js → PlayerAccountGeneralConfirmationModal-CukB9VCO.js} +53 -53
- package/components/{PlayerAccountGeneralConfirmationModal-DrgjMSLh.js → PlayerAccountGeneralConfirmationModal-ESnfg5wk.js} +53 -53
- package/components/{PlayerAccountMenuNd-V9EOIgPS.js → PlayerAccountMenuNd-BIxULyK_.js} +7 -7
- package/components/{PlayerAccountMenuNd-alDPH0d2.js → PlayerAccountMenuNd-Dz2t35yx.js} +7 -7
- package/components/{PlayerAccountMenuNd-Yk5u12tl.cjs → PlayerAccountMenuNd-y2DyyHIy.cjs} +1 -1
- package/components/{PlayerAccountModal-9FK6eAt0.js → PlayerAccountModal-BUf_-0GM.js} +10 -10
- package/components/{PlayerAccountModal-DCsw7iyn.js → PlayerAccountModal-BZ_7luqG.js} +10 -10
- package/components/{PlayerAccountModal-DvJ0OsPC.cjs → PlayerAccountModal-DaIBO9tP.cjs} +1 -1
- package/components/{PlayerAccountNotifications-CdPeCghS.cjs → PlayerAccountNotifications-BbvJAh0S.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BVfKQdMA.js → PlayerAccountNotifications-CNm0Cac9.js} +6 -6
- package/components/{PlayerAccountNotifications-BzEDVvTZ.js → PlayerAccountNotifications-qzx6Peu-.js} +6 -6
- package/components/{PlayerAccountProductRestriction-SQvhNniP.js → PlayerAccountProductRestriction-CN53RWXW.js} +2489 -2485
- package/components/{PlayerAccountProductRestriction-CcPYpLl8.js → PlayerAccountProductRestriction-Da-DR_H1.js} +2468 -2464
- package/components/{PlayerAccountProductRestriction-DuSld9Fq.cjs → PlayerAccountProductRestriction-nQ_8_MV1.cjs} +256 -256
- package/components/{PlayerAccountSelfExclusionNd-CKKz2hD-.js → PlayerAccountSelfExclusionNd-B5yQ8mL0.js} +1153 -1131
- package/components/{PlayerAccountSelfExclusionNd-C_bVFBeq.cjs → PlayerAccountSelfExclusionNd-B7DjoHrS.cjs} +151 -151
- package/components/{PlayerAccountSelfExclusionNd-D04olil_.js → PlayerAccountSelfExclusionNd-yHby6KUf.js} +1123 -1101
- package/components/{PlayerAccountTimeout-PtXajzgs.js → PlayerAccountTimeout-CkKX0-D_.js} +43 -43
- package/components/{PlayerAccountTimeout-BBMZeoy0.cjs → PlayerAccountTimeout-CohC33sI.cjs} +1 -1
- package/components/{PlayerAccountTimeout-Yl_hqLQQ.js → PlayerAccountTimeout-G31ynBjD.js} +43 -43
- package/components/{PlayerAccountTransactionsHistory-Cc3yOabd.cjs → PlayerAccountTransactionsHistory--O5i9HfY.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-BhssK-Iv.js → PlayerAccountTransactionsHistory-CGq9q7Ak.js} +7 -7
- package/components/{PlayerAccountTransactionsHistory-xfI9u1Su.js → PlayerAccountTransactionsHistory-lEqFBIwn.js} +7 -7
- package/components/{PlayerActiveBonuses-zLuqH4eW.js → PlayerActiveBonuses-CG3MShje.js} +6 -6
- package/components/{PlayerActiveBonuses-Me5Q3o65.cjs → PlayerActiveBonuses-VMRnoY1_.cjs} +1 -1
- package/components/{PlayerActiveBonuses-D4OBnwNa.js → PlayerActiveBonuses-_5tMeqW1.js} +6 -6
- package/components/{PlayerBonusCard-BhW_g3sH.js → PlayerBonusCard-JxCswDEv.js} +7 -7
- package/components/{PlayerBonusCard-DgyhSYBs.cjs → PlayerBonusCard-KehruUku.cjs} +1 -1
- package/components/{PlayerBonusCard-BbRQx8Gg.js → PlayerBonusCard-PjFBuYOQ.js} +7 -7
- package/components/{PlayerBonusHistory-DCywP_Ob.js → PlayerBonusHistory-B9GBjrhp.js} +7 -7
- package/components/{PlayerBonusHistory-DzAVFv5h.js → PlayerBonusHistory-DgZlf4DN.js} +7 -7
- package/components/{PlayerBonusHistory-B1tNYVjn.cjs → PlayerBonusHistory-l9JKc1SI.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-DUzbCK4p.js → PlayerChangePasswordNd-BNKqXdus.js} +4 -4
- package/components/{PlayerChangePasswordNd-DSIi_04v.cjs → PlayerChangePasswordNd-DcgU3jc2.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-DWsHRVAH.js → PlayerChangePasswordNd-DeLVgl-F.js} +4 -4
- package/components/PlayerDeposit-BLDWbMBK.cjs +1 -0
- package/components/{PlayerDeposit-BeGgsgNu.js → PlayerDeposit-CNQfct0C.js} +73 -73
- package/components/{PlayerDeposit-CI5GIyAe.js → PlayerDeposit-DGv0xh8z.js} +73 -73
- package/components/{PlayerGamingHistory-BDRIcUGH.js → PlayerGamingHistory-CUfMRa00.js} +53 -53
- package/components/{PlayerGamingHistory-Dmx0DAm4.js → PlayerGamingHistory-D-rZL0d1.js} +60 -60
- package/components/{PlayerGamingHistory-DEncqPtG.cjs → PlayerGamingHistory-DrygiT7t.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-BL4JTLkC.js → PlayerPendingWithdrawals-BB2HoABl.js} +6 -6
- package/components/{PlayerPendingWithdrawals-o6_OjL5C.js → PlayerPendingWithdrawals-BizDJ0F9.js} +6 -6
- package/components/{PlayerPendingWithdrawals-D-KWiMH6.cjs → PlayerPendingWithdrawals-DfQ_PvkY.cjs} +1 -1
- package/components/{PlayerProfileInfo-xRMbiw1T.js → PlayerProfileInfo-C-g4XepU.js} +95 -95
- package/components/{PlayerProfileInfo-CwZQ79SV.cjs → PlayerProfileInfo-CKJNYYA8.cjs} +1 -1
- package/components/{PlayerProfileInfo-D0A3aRV_.js → PlayerProfileInfo-Cnl1XufF.js} +108 -108
- package/components/{PlayerRealityCheck-BEiZhn6p.js → PlayerRealityCheck-BBmsx1va.js} +6 -6
- package/components/{PlayerRealityCheck-JdOGHDG6.cjs → PlayerRealityCheck-Cq2rIALW.cjs} +1 -1
- package/components/{PlayerRealityCheck-CYU_NrFB.js → PlayerRealityCheck-P7wFyweE.js} +6 -6
- package/components/{PlayerTransactionHistory-BS1LjP09.js → PlayerTransactionHistory-CqY9DKiK.js} +6 -6
- package/components/{PlayerTransactionHistory-DdbQZ6mw.js → PlayerTransactionHistory-DN6FJ2lh.js} +6 -6
- package/components/{PlayerTransactionHistory-Hz2IWD73.cjs → PlayerTransactionHistory-DPvvu8Wp.cjs} +1 -1
- package/components/{PlayerWithdrawal-P_0MIA-u.cjs → PlayerWithdrawal-BcaC1sEF.cjs} +1 -1
- package/components/{PlayerWithdrawal-DGN4Y9QP.js → PlayerWithdrawal-lAVd0flG.js} +6 -6
- package/components/{PlayerWithdrawal-DOec04Iq.js → PlayerWithdrawal-oEAQeQgU.js} +6 -6
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_15-0289QK04.cjs → checkbox-group-input_15-BR0ZwfUi.cjs} +260 -260
- package/stencil/{checkbox-group-input_15-BAlJ2RSB.js → checkbox-group-input_15-BzVCOEV7.js} +3177 -3171
- package/stencil/{checkbox-group-input_15-P5bpc-le.js → checkbox-group-input_15-UyiNBEuH.js} +3173 -3167
- package/stencil/{index-13661b98-Cjrw92L5.js → index-13661b98-B9l_O4QH.js} +245 -245
- package/stencil/index-13661b98-BWdlHLAA.cjs +1 -0
- package/stencil/{index-13661b98-0KqdpSwq.js → index-13661b98-DQ52QmXa.js} +124 -124
- package/stencil/{index-1ef3a64c-DuKSFSN8.js → index-1ef3a64c-BJwg6KZV.js} +201 -201
- package/stencil/index-1ef3a64c-BkMv_VME.cjs +1 -0
- package/stencil/index-1ef3a64c-Cl4fiqPl.js +556 -0
- package/stencil/{index-7c5e707a-B54Yjxc3.js → index-7c5e707a-BZ26MA7_.js} +135 -135
- package/stencil/{index-7c5e707a-BHFN5Fx4.js → index-7c5e707a-CVVnpkZ1.js} +145 -145
- package/stencil/index-7c5e707a-d0LYIjGl.cjs +1 -0
- package/stencil/{index-9c0f6c58-BjPD5eYu.js → index-9c0f6c58-8sXzcKbt.js} +223 -223
- package/stencil/index-9c0f6c58-CbFwvYJ1.cjs +1 -0
- package/stencil/{index-9c0f6c58-BVjt1-QR.js → index-9c0f6c58-DH5Ki39B.js} +118 -118
- package/stencil/{index-b2193545-LzjWxki5.js → index-b2193545-BekNYO1T.js} +176 -176
- package/stencil/index-b2193545-BteAUmdh.cjs +1 -0
- package/stencil/{index-b2193545-DPKCFIaU.js → index-b2193545-DfDFpDFs.js} +169 -169
- package/stencil/{pam-change-password-CCtkdO47.cjs → pam-change-password-CnEeGd5H.cjs} +1 -1
- package/stencil/{pam-change-password-DTgd0kl_.js → pam-change-password-NFSIJ7d0.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-D8x0jD6p.js → pam-change-password-f4a1e7e7-CIk78u1F.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-BN6Jj_HN.cjs → pam-change-password-f4a1e7e7-CbbJR39E.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-DtYo6Qns.js → pam-change-password-f4a1e7e7-rXcaCqmV.js} +1 -1
- package/stencil/{pam-change-password-CGyD6M-i.js → pam-change-password-iphXW9aC.js} +1 -1
- package/stencil/{player-kyc-verification-XNdgNWvR.js → player-kyc-verification-BJuBsd7A.js} +74 -74
- package/stencil/player-kyc-verification-DW2tWbg_.cjs +181 -0
- package/stencil/{player-kyc-verification-BN1-EiQk.js → player-kyc-verification-u-XUlDen.js} +21 -21
- package/stencil/{ui-skeleton-Cbqo0oYF.cjs → ui-skeleton-Bez-iF-R.cjs} +1 -1
- package/stencil/{ui-skeleton-LneRlsD3.js → ui-skeleton-CScGJdv_.js} +2 -2
- package/stencil/{ui-skeleton-2XsWxl4S.js → ui-skeleton-CnxOhYAT.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-OnzqIAY0.js → ui-skeleton-ae35c6f2-Bl0_r9TX.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-8s3Rqu1P.js → ui-skeleton-ae35c6f2-CXRVKjq-.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-B4ncHe9g.cjs → ui-skeleton-ae35c6f2-D37mmp9J.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-CSakhNt1.js → user-deposit-withdrawal-B7dnuKq0.js} +45 -45
- package/stencil/{user-deposit-withdrawal-BP58nPO1.cjs → user-deposit-withdrawal-KqJCF9Hl.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-DcVKAa80.js → user-deposit-withdrawal-ar8K3Kn7.js} +45 -45
- package/stencil/{user-transaction-history-D0jBcRwe.js → user-transaction-history-D86WcqZY.js} +588 -588
- package/stencil/{user-transaction-history-BrBScppC.js → user-transaction-history-o1zvVNkt.js} +600 -600
- package/stencil/user-transaction-history-xgpDQYWU.cjs +1 -0
- package/components/GeneralLogout-COm1JcKW.cjs +0 -21
- package/components/PlayerAccountBettingHistory-5QM3bGgT.js +0 -310
- package/components/PlayerAccountBettingHistory-B91V20F2.js +0 -311
- package/components/PlayerAccountBettingHistory-CE023VGz.cjs +0 -1
- package/components/PlayerAccountControllerNd-DaC8DFbI.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-BHvCpWdQ.cjs +0 -35
- package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +0 -1
- package/components/PlayerDeposit-CmBFg6tX.cjs +0 -1
- package/stencil/index-13661b98-DmQ3LyqA.cjs +0 -1
- package/stencil/index-1ef3a64c-DD-PHh2g.cjs +0 -1
- package/stencil/index-1ef3a64c-DQk1yZfC.js +0 -556
- package/stencil/index-7c5e707a-CFlTnjRT.cjs +0 -1
- package/stencil/index-9c0f6c58-DZU9DhI3.cjs +0 -1
- package/stencil/index-b2193545-BMFR9-V2.cjs +0 -1
- package/stencil/player-kyc-verification-D347xSwD.cjs +0 -181
- package/stencil/user-transaction-history-HA_tfHfo.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var o=(l,i,a)=>new Promise((g,s)=>{var r=e=>{try{t(a.next(e))}catch(n){s(n)}},c=e=>{try{t(a.throw(e))}catch(n){s(n)}},t=e=>e.done?g(e.value):Promise.resolve(e.value).then(r,c);t((a=a.apply(l,i)).next())});const u=require("./index-13661b98-
|
|
1
|
+
"use strict";var o=(l,i,a)=>new Promise((g,s)=>{var r=e=>{try{t(a.next(e))}catch(n){s(n)}},c=e=>{try{t(a.throw(e))}catch(n){s(n)}},t=e=>e.done?g(e.value):Promise.resolve(e.value).then(r,c);t((a=a.apply(l,i)).next())});const u=require("./index-13661b98-BWdlHLAA.cjs"),p=require("./app-globals-0f993ce5-DgYhdguE.cjs");var d=typeof document!="undefined"?document.currentScript:null,m=()=>{const l=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:d&&d.tagName.toUpperCase()==="SCRIPT"&&d.src||new URL("stencil/pam-change-password-CnEeGd5H.cjs",document.baseURI).href,i={};return l!==""&&(i.resourcesUrl=new URL(".",l).href),u.promiseResolve(i)};m().then(l=>o(exports,null,function*(){return yield p.globalScripts(),u.bootstrapLazy([["checkbox-group-input_15",[[1,"pam-change-password",{language:[513],endpoint:[513],session:[513],token:[513],forgotMode:[513,"forgot-mode"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],mbSource:[1,"mb-source"],translationUrl:[513,"translation-url"],isBtnSubmitEnabled:[32],isSkeletonLoading:[32],isMobile:[32]},[[0,"sendValidityState","sendValidityStateHandler"],[0,"sendInputValue","sendInputValueHandler"]],{clientStyling:["handleClientStylingChange","handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}],[1,"general-input",{type:[513],name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],validation:[16],options:[520],language:[513],autofilled:[516],tooltip:[513],defaultValue:[520,"default-value"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],hidePasswordComplexity:[516,"hide-password-complexity"],clientStyling:[520,"client-styling"],dateFormat:[513,"date-format"],translationUrl:[513,"translation-url"],emitOnClick:[516,"emit-on-click"],twofaDestination:[513,"twofa-destination"],twofaResendIntervalSeconds:[514,"twofa-resend-interval-seconds"]}],[1,"toggle-checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],options:[16],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],showFields:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"]}],[1,"checkbox-group-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],selectedValues:[32],showCheckboxes:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],selectedValues:["setValue"],emitValue:["emitValueHandler"]}],[1,"checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"date-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],dateFormat:[513,"date-format"],emitOnClick:[516,"emit-on-click"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"email-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"number-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"password-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],hidePasswordComplexity:[516,"hide-password-complexity"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32],passwordComplexity:[32],showPopup:[32],value:[32]},[[16,"sendOriginalValidityState","originalValidityChangedHandler"],[16,"sendInputValue","valueChangedHandler"],[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}],[1,"radio-input",{name:[513],displayName:[513,"display-name"],optionsGroup:[16],validation:[16],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"select-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"tel-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],showLabels:[516,"show-labels"],action:[513],validation:[16],defaultValue:[520,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"text-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],checkValidity:[516,"check-validity"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"],[16,"validationChange","handleValidationChange"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"twofa-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],tooltip:[513],language:[513],emitValue:[516,"emit-value"],destination:[513],resendIntervalSeconds:[514,"resend-interval-seconds"],clientStyling:[513,"client-styling"],limitStylingAppends:[32],isValid:[32],isResendButtonAvailable:[32],showTooltip:[32],errorMessage:[32],code:[32],resendIntervalSecondsLeft:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}]]]],l)}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("./index-13661b98-
|
|
1
|
+
"use strict";const e=require("./index-13661b98-BWdlHLAA.cjs"),w="en",h={en:{title:"Change Password",btnSubmit:"Change Password",passwordPlaceholderText:"Please enter your password",newPasswordPlaceholderText:"Please enter your new password",confirmPasswordPlaceholderText:"Please confirm your new password",passwordDisplayText:"Current Password",newPasswordDisplayText:"New Password",confirmPasswordDisplayText:"Confirm Password",successMsg:"Password changed successfully",errorMsgGeneric:"There was an error when attempting to change your password","gm.pms.password_not_verified_unauthorized":"The current password you have entered is incorrect","gm.pms.password_policy_failed":"Password cannot be the same as any of the {forbiddenLastPasswordsCount} previous passwords. Password cannot be changed sooner than {minimumPasswordAgeLimitHours} {hours} after the last change."},fr:{title:"Changer le mot de passe",btnSubmit:"Changer le mot de passe",passwordPlaceholderText:"Veuillez entrer votre mot de passe",newPasswordPlaceholderText:"Veuillez entrer votre nouveau mot de passe",confirmPasswordPlaceholderText:"Veuillez confirmer votre nouveau mot de passe",passwordDisplayText:"Mot de passe actuel",newPasswordDisplayText:"Nouveau mot de passe",confirmPasswordDisplayText:"Confirmer le mot de passe",successMsg:"Mot de passe changé avec succès",errorMsgGeneric:"Une erreur est survenue lors de la tentative de changement de mot de passe","gm.pms.password_not_verified_unauthorized":"Le mot de passe actuel que vous avez entré est incorrect","gm.pms.password_policy_failed":"Le mot de passe ne peut pas être identique à l'un des {forbiddenLastPasswordsCount} derniers mots de passe. Le mot de passe ne peut pas être changé avant {minimumPasswordAgeLimitHours} {hours} après le dernier changement."},ro:{title:"Schimbă Parola",btnSubmit:"Schimbă Parola",passwordPlaceholderText:"Vă rugăm să introduceți parola",newPasswordPlaceholderText:"Vă rugăm să introduceți noua parolă",confirmPasswordPlaceholderText:"Vă rugăm să confirmați noua parolă",passwordDisplayText:"Parolă Curentă",newPasswordDisplayText:"Parolă Nouă",confirmPasswordDisplayText:"Confirmă Parola",successMsg:"Parola a fost schimbată cu succes",errorMsgGeneric:"A apărut o eroare la încercarea de schimbare a parolei","gm.pms.password_not_verified_unauthorized":"Parola curentă introdusă este incorectă","gm.pms.password_policy_failed":"Parola nu poate fi aceeași cu oricare dintre ultimele {forbiddenLastPasswordsCount} parole. Parola nu poate fi schimbată mai devreme de {minimumPasswordAgeLimitHours} {hours} după ultima schimbare."},es:{title:"Cambiar Contraseña",btnSubmit:"Cambiar Contraseña",passwordPlaceholderText:"Por favor, introduce tu contraseña",newPasswordPlaceholderText:"Por favor, introduce tu nueva contraseña",confirmPasswordPlaceholderText:"Por favor, confirma tu nueva contraseña",passwordDisplayText:"Contraseña Actual",newPasswordDisplayText:"Nueva Contraseña",confirmPasswordDisplayText:"Confirmar Contraseña",successMsg:"Contraseña cambiada con éxito",errorMsgGeneric:"Hubo un error al intentar cambiar tu contraseña","gm.pms.password_not_verified_unauthorized":"La contraseña actual que has introducido es incorrecta","gm.pms.password_policy_failed":"La contraseña no puede ser la misma que cualquiera de las {forbiddenLastPasswordsCount} contraseñas anteriores. La contraseña no se puede cambiar antes de {minimumPasswordAgeLimitHours} {hours} después del último cambio."},pt:{title:"Alterar Senha",btnSubmit:"Alterar Senha",passwordPlaceholderText:"Por favor, insira sua senha",newPasswordPlaceholderText:"Por favor, insira sua nova senha",confirmPasswordPlaceholderText:"Por favor, confirme sua nova senha",passwordDisplayText:"Senha Atual",newPasswordDisplayText:"Nova Senha",confirmPasswordDisplayText:"Confirmar Senha",successMsg:"Senha alterada com sucesso",errorMsgGeneric:"Ocorreu um erro ao tentar alterar sua senha","gm.pms.password_not_verified_unauthorized":"A senha atual que você inseriu está incorreta","gm.pms.password_policy_failed":"A senha não pode ser a mesma que qualquer uma das últimas {forbiddenLastPasswordsCount} senhas. A senha não pode ser alterada antes de {minimumPasswordAgeLimitHours} {hours} após a última alteração."},hr:{title:"Promijeni lozinku",btnSubmit:"Promijeni lozinku",passwordPlaceholderText:"Unesite svoju lozinku",newPasswordPlaceholderText:"Unesite novu lozinku",confirmPasswordPlaceholderText:"Potvrdite novu lozinku",passwordDisplayText:"Trenutna lozinka",newPasswordDisplayText:"Nova lozinka",confirmPasswordDisplayText:"Potvrdite lozinku",successMsg:"Lozinka je uspješno promijenjena",errorMsgGeneric:"Došlo je do pogreške prilikom pokušaja promjene lozinke","gm.pms.password_not_verified_unauthorized":"Unesena trenutna lozinka nije ispravna","gm.pms.password_policy_failed":"Lozinka ne može biti ista kao bilo koja od posljednjih {forbiddenLastPasswordsCount} lozinki. Lozinka se ne može promijeniti prije nego što prođe {minimumPasswordAgeLimitHours} {hours} od posljednje promjene."},tr:{title:"Şifreyi Değiştir",btnSubmit:"Şifreyi Değiştir",passwordPlaceholderText:"Lütfen şifrenizi girin",newPasswordPlaceholderText:"Lütfen yeni şifrenizi girin",confirmPasswordPlaceholderText:"Lütfen yeni şifrenizi onaylayın",passwordDisplayText:"Mevcut Şifre",newPasswordDisplayText:"Yeni Şifre",confirmPasswordDisplayText:"Şifreyi Onaylayın",successMsg:"Şifre başarıyla değiştirildi",errorMsgGeneric:"Şifrenizi değiştirirken bir hata oluştu","gm.pms.password_not_verified_unauthorized":"Girdiğiniz mevcut şifre yanlış","gm.pms.password_policy_failed":"Şifre, son {forbiddenLastPasswordsCount} şifreden herhangi biriyle aynı olamaz. Şifre, son değişiklikten sonra {minimumPasswordAgeLimitHours} {hours} içinde değiştirilemez."},hu:{title:"Jelszó megváltoztatása",btnSubmit:"Jelszó megváltoztatása",passwordPlaceholderText:"Kérjük, adja meg a jelszavát",newPasswordPlaceholderText:"Kérjük, adja meg az új jelszavát",confirmPasswordPlaceholderText:"Kérjük, erősítse meg az új jelszavát",passwordDisplayText:"Jelenlegi jelszó",newPasswordDisplayText:"Új jelszó",confirmPasswordDisplayText:"Jelszó megerősítése",successMsg:"A jelszó sikeresen megváltozott",errorMsgGeneric:"Hiba történt a jelszó megváltoztatásakor","gm.pms.password_not_verified_unauthorized":"A megadott jelenlegi jelszó helytelen","gm.pms.password_policy_failed":"A jelszó nem egyezhet meg az utolsó {forbiddenLastPasswordsCount} jelszóval. A jelszó nem változtatható meg {minimumPasswordAgeLimitHours} {hours}-on belül az utolsó módosítás óta."}},g=s=>new Promise(t=>{fetch(s).then(a=>a.json()).then(a=>{Object.keys(a).forEach(n=>{for(let i in a[n])h[n][i]=a[n][i]}),t(!0)})}),r=(s,t,a)=>{const n=t;let i=h[n!==void 0?n:w][s];if(a!==void 0)for(const[l,o]of Object.entries(a.values)){const p=new RegExp(`{${l}}`,"g");i=i.replace(p,o)}return i};function d(){const s=navigator.userAgent.toLowerCase(),t=screen.availWidth,a=screen.availHeight;if(s.includes("iphone"))return"mobile";if(s.includes("android")){if(a>t&&t<800)return"mobile";if(t>a&&a<800)return"tablet"}return"desktop"}function c(s,t){if(s){const a=document.createElement("style");a.innerHTML=t,s.appendChild(a)}}function u(s,t){const a=new URL(t);fetch(a.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,s&&s.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function P(s,t,a){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,s&&s.appendChild(n)})}}const f=`:host {
|
|
2
2
|
display: block;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -14,7 +14,7 @@ var s = (l, i, a) => new Promise((o, d) => {
|
|
|
14
14
|
}, t = (e) => e.done ? o(e.value) : Promise.resolve(e.value).then(u, g);
|
|
15
15
|
t((a = a.apply(l, i)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as p, p as r } from "./index-13661b98-
|
|
17
|
+
import { b as p, p as r } from "./index-13661b98-DQ52QmXa.js";
|
|
18
18
|
import { g as c } from "./app-globals-0f993ce5-DzSE6TtH.js";
|
|
19
19
|
var m = () => {
|
|
20
20
|
const l = import.meta.url, i = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as v, p as
|
|
1
|
+
import { b as v, p as k, r as w, h as i, F as m } from "./index-9c0f6c58-DH5Ki39B.js";
|
|
2
2
|
import { a as C } from "./app-globals-0f993ce5-DzSE6TtH.js";
|
|
3
3
|
var x = () => {
|
|
4
4
|
const e = import.meta.url, n = {};
|
|
5
|
-
return e !== "" && (n.resourcesUrl = new URL(".", e).href),
|
|
5
|
+
return e !== "" && (n.resourcesUrl = new URL(".", e).href), k(n);
|
|
6
6
|
};
|
|
7
|
-
x().then(async (e) => (await C(), v([["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], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e)));
|
|
7
|
+
x().then(async (e) => (await C(), v([["player-kyc-verification", [[1, "player-kyc-verification", { hideVulnerabilityCheck: [1, "hide-vulnerability-check"], 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], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e)));
|
|
8
8
|
const S = "en";
|
|
9
9
|
let c = {
|
|
10
10
|
en: {
|
|
@@ -517,37 +517,37 @@ let c = {
|
|
|
517
517
|
}
|
|
518
518
|
};
|
|
519
519
|
const h = (e) => new Promise((n) => {
|
|
520
|
-
fetch(e).then((
|
|
521
|
-
Object.keys(
|
|
522
|
-
c[
|
|
523
|
-
for (let a in t
|
|
524
|
-
c[
|
|
520
|
+
fetch(e).then((o) => o.json()).then((o) => {
|
|
521
|
+
Object.keys(o).forEach((t) => {
|
|
522
|
+
c[t] || (c[t] = {});
|
|
523
|
+
for (let a in o[t])
|
|
524
|
+
c[t][a] = o[t][a];
|
|
525
525
|
}), n(!0);
|
|
526
526
|
});
|
|
527
|
-
}), r = (e, n,
|
|
528
|
-
const
|
|
529
|
-
return c[
|
|
527
|
+
}), r = (e, n, o) => {
|
|
528
|
+
const t = n;
|
|
529
|
+
return c[t !== void 0 && t in c ? t : S][e];
|
|
530
530
|
}, b = (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));
|
|
531
|
-
function
|
|
531
|
+
function y(e, n) {
|
|
532
532
|
if (e) {
|
|
533
|
-
const
|
|
534
|
-
|
|
533
|
+
const o = document.createElement("style");
|
|
534
|
+
o.innerHTML = n, e.appendChild(o);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
|
-
function
|
|
538
|
-
const
|
|
539
|
-
fetch(
|
|
537
|
+
function g(e, n) {
|
|
538
|
+
const o = new URL(n);
|
|
539
|
+
fetch(o.href).then((t) => t.text()).then((t) => {
|
|
540
540
|
const a = document.createElement("style");
|
|
541
|
-
a.innerHTML =
|
|
542
|
-
}).catch((
|
|
543
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
541
|
+
a.innerHTML = t, e && e.appendChild(a);
|
|
542
|
+
}).catch((t) => {
|
|
543
|
+
console.error("There was an error while trying to load client styling from URL", t);
|
|
544
544
|
});
|
|
545
545
|
}
|
|
546
|
-
function P(e, n,
|
|
546
|
+
function P(e, n, o) {
|
|
547
547
|
if (window.emMessageBus) {
|
|
548
|
-
const
|
|
548
|
+
const t = document.createElement("style");
|
|
549
549
|
window.emMessageBus.subscribe(n, (a) => {
|
|
550
|
-
|
|
550
|
+
t.innerHTML = a, e && e.appendChild(t);
|
|
551
551
|
});
|
|
552
552
|
}
|
|
553
553
|
}
|
|
@@ -733,9 +733,9 @@ button, select {
|
|
|
733
733
|
}
|
|
734
734
|
}`, O = D, I = class {
|
|
735
735
|
constructor(e) {
|
|
736
|
-
|
|
736
|
+
w(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = b(this.userAgent), this.handleToggleScreen = () => {
|
|
737
737
|
this.toggleScreen(this.isMobile);
|
|
738
|
-
}, 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.expandedOnDesktop = !1;
|
|
738
|
+
}, this.hideVulnerabilityCheck = "false", 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.expandedOnDesktop = !1;
|
|
739
739
|
}
|
|
740
740
|
handleNewTranslations() {
|
|
741
741
|
this.isLoading = !0, h(this.translationUrl).then(() => {
|
|
@@ -746,13 +746,13 @@ button, select {
|
|
|
746
746
|
this.translationUrl.length > 2 && await h(this.translationUrl);
|
|
747
747
|
}
|
|
748
748
|
handleClientStylingChange(e, n) {
|
|
749
|
-
e != n &&
|
|
749
|
+
e != n && y(this.stylingContainer, this.clientStyling);
|
|
750
750
|
}
|
|
751
751
|
handleClientStylingUrlChange(e, n) {
|
|
752
|
-
e != n && this.clientStylingUrl &&
|
|
752
|
+
e != n && this.clientStylingUrl && g(this.stylingContainer, this.clientStylingUrl);
|
|
753
753
|
}
|
|
754
754
|
async componentDidLoad() {
|
|
755
|
-
this.stylingContainer && (window.emMessageBus != null ? P(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling &&
|
|
755
|
+
this.stylingContainer && (window.emMessageBus != null ? P(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && y(this.stylingContainer, this.clientStyling), this.clientStylingUrl && g(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0);
|
|
756
756
|
try {
|
|
757
757
|
let e = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus`);
|
|
758
758
|
const n = {
|
|
@@ -763,14 +763,14 @@ button, select {
|
|
|
763
763
|
},
|
|
764
764
|
body: JSON.stringify({})
|
|
765
765
|
};
|
|
766
|
-
fetch(e.href, n).then((
|
|
767
|
-
if (
|
|
768
|
-
return
|
|
769
|
-
throw new Error("HTTP status " +
|
|
770
|
-
}).then((
|
|
771
|
-
this.verificationType =
|
|
772
|
-
}).catch((
|
|
773
|
-
console.error(
|
|
766
|
+
fetch(e.href, n).then((o) => {
|
|
767
|
+
if (o.status === 200)
|
|
768
|
+
return o.json();
|
|
769
|
+
throw new Error("HTTP status " + o.status);
|
|
770
|
+
}).then((o) => {
|
|
771
|
+
this.verificationType = o.verifications;
|
|
772
|
+
}).catch((o) => {
|
|
773
|
+
console.error(o);
|
|
774
774
|
});
|
|
775
775
|
} catch (e) {
|
|
776
776
|
console.error("Error fetching verification types:", e);
|
|
@@ -780,16 +780,16 @@ button, select {
|
|
|
780
780
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
781
781
|
}
|
|
782
782
|
handleOptionChange(e, n) {
|
|
783
|
-
const
|
|
784
|
-
this.verificationType = this.verificationType.map((
|
|
783
|
+
const o = e.target;
|
|
784
|
+
this.verificationType = this.verificationType.map((t) => (t.type === n && (t.optionChosen = o.value), t));
|
|
785
785
|
}
|
|
786
|
-
handleDocumentsStatus(e, n,
|
|
787
|
-
this.verificationType = this.verificationType.map((
|
|
788
|
-
if (
|
|
789
|
-
const a =
|
|
786
|
+
handleDocumentsStatus(e, n, o) {
|
|
787
|
+
this.verificationType = this.verificationType.map((t) => {
|
|
788
|
+
if (t.type === e) {
|
|
789
|
+
const a = t.documents.find((s) => s.code === o);
|
|
790
790
|
a && (a.statusUploaded = n);
|
|
791
791
|
}
|
|
792
|
-
return
|
|
792
|
+
return t;
|
|
793
793
|
});
|
|
794
794
|
}
|
|
795
795
|
downloadPDF(e) {
|
|
@@ -797,9 +797,9 @@ button, select {
|
|
|
797
797
|
n.href = e, n.download = "file.pdf", n.target = "_blank", n.dispatchEvent(new MouseEvent("click"));
|
|
798
798
|
}
|
|
799
799
|
toggleVerificationType(e, n) {
|
|
800
|
-
this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((
|
|
801
|
-
var
|
|
802
|
-
return
|
|
800
|
+
this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((o) => {
|
|
801
|
+
var t;
|
|
802
|
+
return o.type === e && ((t = o.flowInfo) === null || t === void 0 ? void 0 : t.type) == n && (o.expanded = !o.expanded), o;
|
|
803
803
|
});
|
|
804
804
|
}
|
|
805
805
|
toggleScreen(e) {
|
|
@@ -807,16 +807,16 @@ button, select {
|
|
|
807
807
|
}
|
|
808
808
|
checkFileSize(e) {
|
|
809
809
|
let n = 0;
|
|
810
|
-
return Object.keys(e).forEach((
|
|
811
|
-
n += e[
|
|
810
|
+
return Object.keys(e).forEach((o) => {
|
|
811
|
+
n += e[o].size;
|
|
812
812
|
}), n <= this.MAX_UPLOAD_SIZE;
|
|
813
813
|
}
|
|
814
|
-
handleFileSelection(e, n,
|
|
814
|
+
handleFileSelection(e, n, o) {
|
|
815
815
|
if (e && e.length > 0)
|
|
816
816
|
if (this.selectedFile = e, !this.checkFileSize(this.selectedFile))
|
|
817
|
-
console.error(r("fileSizeExceeded", this.language)), this.uploadingStatus = r("fileSizeExceeded", this.language), this.handleDocumentsStatus(
|
|
817
|
+
console.error(r("fileSizeExceeded", this.language)), this.uploadingStatus = r("fileSizeExceeded", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, n), this.uploadSizeExceeded = !0;
|
|
818
818
|
else {
|
|
819
|
-
const
|
|
819
|
+
const t = {
|
|
820
820
|
method: "POST",
|
|
821
821
|
headers: {
|
|
822
822
|
"Content-Type": "application/json",
|
|
@@ -824,35 +824,35 @@ button, select {
|
|
|
824
824
|
},
|
|
825
825
|
body: JSON.stringify({ DocumentCode: n })
|
|
826
826
|
};
|
|
827
|
-
fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`,
|
|
827
|
+
fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`, t).then((a) => {
|
|
828
828
|
if (a.ok)
|
|
829
|
-
return this.uploadingStatus = r("uploading", this.language), this.handleDocumentsStatus(
|
|
829
|
+
return this.uploadingStatus = r("uploading", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, n), a.json();
|
|
830
830
|
}).then((a) => {
|
|
831
831
|
if (a.ResponseCode == "Success") {
|
|
832
832
|
const s = new FormData();
|
|
833
|
-
s.append(n, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: s }).then((
|
|
834
|
-
|
|
835
|
-
}).catch((
|
|
836
|
-
console.error("File upload error:",
|
|
833
|
+
s.append(n, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: s }).then((d) => {
|
|
834
|
+
d.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = r("successUploadMultipleFiles", this.language) : this.uploadingStatus = r("successUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, n)) : (this.uploadingStatus = r("failedUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, n), console.error("File upload error:", d.status));
|
|
835
|
+
}).catch((d) => {
|
|
836
|
+
console.error("File upload error:", d);
|
|
837
837
|
});
|
|
838
838
|
} else
|
|
839
|
-
this.uploadingStatus = r("failedUpload", this.language), this.handleDocumentsStatus(
|
|
839
|
+
this.uploadingStatus = r("failedUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, n);
|
|
840
840
|
}).catch((a) => {
|
|
841
841
|
console.error("File upload error:", a);
|
|
842
842
|
});
|
|
843
843
|
}
|
|
844
844
|
}
|
|
845
845
|
importScript(e) {
|
|
846
|
-
return new Promise((n,
|
|
847
|
-
fetch(e).then((
|
|
848
|
-
if (new Function(
|
|
846
|
+
return new Promise((n, o) => {
|
|
847
|
+
fetch(e).then((t) => t.text()).then((t) => {
|
|
848
|
+
if (new Function(t)(), this.scriptInjected)
|
|
849
849
|
n(!0);
|
|
850
850
|
else {
|
|
851
851
|
const s = document.createElement("script");
|
|
852
852
|
s.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(s), this.scriptInjected = !0, n(!0);
|
|
853
853
|
}
|
|
854
|
-
}).catch((
|
|
855
|
-
t
|
|
854
|
+
}).catch((t) => {
|
|
855
|
+
o(t);
|
|
856
856
|
});
|
|
857
857
|
});
|
|
858
858
|
}
|
|
@@ -860,26 +860,26 @@ button, select {
|
|
|
860
860
|
return !!(e && e.status === "Uploaded");
|
|
861
861
|
}
|
|
862
862
|
getFirstRequestedDocument(e) {
|
|
863
|
-
var n,
|
|
864
|
-
let
|
|
863
|
+
var n, o;
|
|
864
|
+
let t;
|
|
865
865
|
return (n = e?.documents) === null || n === void 0 || n.forEach((a) => {
|
|
866
|
-
a.status == "Requested" && (
|
|
867
|
-
}),
|
|
866
|
+
a.status == "Requested" && (t = t ?? a.code);
|
|
867
|
+
}), t || (t = (o = e?.documents[0]) === null || o === void 0 ? void 0 : o.code), t;
|
|
868
868
|
}
|
|
869
869
|
renderVerificationTypeBox(e) {
|
|
870
870
|
this.expandedOnDesktop && (e.expanded = !0);
|
|
871
|
-
let n = this.getFirstRequestedDocument(e),
|
|
871
|
+
let n = this.getFirstRequestedDocument(e), o = e.expanded, t = e.type.trim(), a = e.optionChosen || n, s = e.status, d = e.documents, l = e.flowInfo;
|
|
872
872
|
const f = s === "Verified", u = s === "Failed" || s === "Expired";
|
|
873
|
-
return i("div", { class: `verification-box ${
|
|
873
|
+
return f && t === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" ? null : i("div", { class: `verification-box ${o ? "expanded" : ""} ${u ? "failed" : ""} ${f ? "success" : ""}` }, i("div", { class: `box box-header ${o ? "expanded" : ""}`, onClick: () => {
|
|
874
874
|
var p;
|
|
875
875
|
return this.toggleVerificationType(e.type, (p = e.flowInfo) === null || p === void 0 ? void 0 : p.type);
|
|
876
|
-
} }, i("div", { class: "box-icon" }, f ? 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" }))) : u ? 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(
|
|
876
|
+
} }, i("div", { class: "box-icon" }, f ? 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" }))) : u ? 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(t, 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: o ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), o ? this.renderExpandedContent(e, a, s, d, l, f, u) : i("div", { class: "box box-content" }, i("div", { id: "__avs-wrapper" })));
|
|
877
877
|
}
|
|
878
|
-
renderDocumentsActions(e, n,
|
|
879
|
-
return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, r("uploaded", this.language)) : e?.statusUploaded ? i("div", { class: "upload-status" }, e?.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, e?.sampleType === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(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, #22B04E))" }), i("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), i("span", null, r("download", this.language))) : null), i("div", { class: "upload-button" }, n ? i("label", null, i("input", { type: "file", accept: "*", onChange: (
|
|
878
|
+
renderDocumentsActions(e, n, o) {
|
|
879
|
+
return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, r("uploaded", this.language)) : e?.statusUploaded ? i("div", { class: "upload-status" }, e?.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, e?.sampleType === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(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, #22B04E))" }), i("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), i("span", null, r("download", this.language))) : null), i("div", { class: "upload-button" }, n ? i("label", null, i("input", { type: "file", accept: "*", onChange: (t) => this.handleFileSelection(t.target.files, n, o.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, #22B04E))" }), 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)));
|
|
880
880
|
}
|
|
881
|
-
renderExpandedContent(e, n,
|
|
882
|
-
return 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?.type === "Redirect" && e.vendorName !== "Manual" &&
|
|
881
|
+
renderExpandedContent(e, n, o, t, a, s, d) {
|
|
882
|
+
return 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?.type === "Redirect" && e.vendorName !== "Manual" && o !== "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(m, null, s ? i("div", { class: "verification-status" }, r("verificationComplete", this.language)) : d ? i("div", { class: "verification-status" }, o === "Failed" ? r("verificationFailed", this.language) : r("verificationExpired", this.language)) : t.length > 0 ? i("div", { class: "documents-dropdown" }, i("select", { class: "nice-select", onChange: (l) => this.handleOptionChange(l, e.type) }, t.map((l) => i("option", { selected: l.code == n, value: l.code }, r(l.type, this.language)))), this.renderDocumentsActions(t.find((l) => l.code === n), n, e)) : null));
|
|
883
883
|
}
|
|
884
884
|
render() {
|
|
885
885
|
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(m, null, i("div", { class: "widget-description" }, r("kycDescription", this.language)), i("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
|