@everymatrix/player-account-controller-nd 1.93.15 → 1.93.107
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-DfH4-dBv.js +5018 -0
- package/components/GeneralLogout-jNtcDtLT.js +4981 -0
- package/components/GeneralLogout-lOwXOJ_q.cjs +21 -0
- package/components/{PlayerAccountBettingHistory-DViqHGMz.js → PlayerAccountBettingHistory-5btKgi01.js} +15 -15
- package/components/PlayerAccountBettingHistory-B1uret-q.cjs +1 -0
- package/components/{PlayerAccountBettingHistory-BPC0nfcv.js → PlayerAccountBettingHistory-DXyhOn24.js} +21 -21
- package/components/PlayerAccountBiometrics-Br4pBrNO.cjs +1 -0
- package/components/{PlayerAccountBiometrics-dlVSnOs5.js → PlayerAccountBiometrics-CM09-cWu.js} +23 -23
- package/components/{PlayerAccountBiometrics-dZTKZKi5.js → PlayerAccountBiometrics-Dcd7g9iV.js} +23 -23
- package/components/{PlayerAccountBiometricsAction-uY9r42aH.js → PlayerAccountBiometricsAction-BDQyN8IV.js} +7 -7
- package/components/PlayerAccountBiometricsAction-CrpYQ1xg.cjs +1 -0
- package/components/{PlayerAccountBiometricsAction-BEOu_yxq.js → PlayerAccountBiometricsAction-v8D5J24C.js} +17 -17
- package/components/{PlayerAccountClosureNd-BAzqAr7a.js → PlayerAccountClosureNd-B8GPpMV1.js} +2 -2
- package/components/{PlayerAccountClosureNd-BRQojXyo.js → PlayerAccountClosureNd-B9MpWMnK.js} +2 -2
- package/components/PlayerAccountClosureNd-BQYGeq_J.cjs +1 -0
- package/components/PlayerAccountControllerNd-DbGWajkY.js +8430 -0
- package/components/PlayerAccountControllerNd-Dlpad7Nn.js +8413 -0
- package/components/PlayerAccountControllerNd-QmPMBE66.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-CK7XI_nX.js → PlayerAccountGamingLimits-BF_6uKIN.js} +9 -9
- package/components/{PlayerAccountGamingLimits-Np99Bi7k.js → PlayerAccountGamingLimits-BrLLBjrC.js} +7 -7
- package/components/PlayerAccountGamingLimits-C42Hrx3O.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BjVo-gGU.js → PlayerAccountGamingLimitsConfirmationModal-8xqR77W_.js} +20 -20
- package/components/{PlayerAccountGamingLimitsConfirmationModal-nEq8Zo0o.js → PlayerAccountGamingLimitsConfirmationModal-BQuroDUa.js} +36 -36
- package/components/PlayerAccountGamingLimitsConfirmationModal-C1_X6gfF.cjs +1 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-C9CNneXK.js +4731 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-D-roXLKH.cjs +2 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-DWSaZBiq.js +4731 -0
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CrAX4_U-.js → PlayerAccountGamingLimitsHistory2Nd-0Tzmc_t4.js} +23 -23
- package/components/{PlayerAccountGamingLimitsHistory2Nd-DjkES9Gg.js → PlayerAccountGamingLimitsHistory2Nd-C6fq4IiW.js} +68 -68
- package/components/PlayerAccountGamingLimitsHistory2Nd-Dnlhxcu2.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-CkZjerCE.js → PlayerAccountGamingLimitsInfoCard-BwoIK125.js} +21 -21
- package/components/PlayerAccountGamingLimitsInfoCard-CrSQvlgN.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-Dejqw-vV.js → PlayerAccountGamingLimitsInfoCard-DeaFzp-6.js} +21 -21
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BEF79VIx.js → PlayerAccountGamingLimitsPage2Gm16Nd-BjsWXnLR.js} +2645 -2361
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-bopJyFfV.cjs +35 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DKsfu8ja.js → PlayerAccountGamingLimitsPage2Gm16Nd-oFv-3W4B.js} +2428 -2298
- package/components/{PlayerAccountGamingLimitsPopup-pKKi2aer.js → PlayerAccountGamingLimitsPopup-BJFg8Spi.js} +6 -6
- package/components/{PlayerAccountGamingLimitsPopup-C5BdWuGY.js → PlayerAccountGamingLimitsPopup-CagUy8tO.js} +11 -11
- package/components/PlayerAccountGamingLimitsPopup-Djxg2rKZ.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DSlrqYKX.js → PlayerAccountGamingLimitsWrapper2Nd-B9jiI2o2.js} +31 -31
- package/components/PlayerAccountGamingLimitsWrapper2Nd-C5eaz4JA.cjs +4 -0
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BXRA5w1S.js → PlayerAccountGamingLimitsWrapper2Nd-CagxUVIx.js} +31 -31
- package/components/{PlayerAccountGeneralConfirmationModal-ld36k7oX.js → PlayerAccountGeneralConfirmationModal-CPjDsF_p.js} +42 -42
- package/components/{PlayerAccountGeneralConfirmationModal-B1yP_uzL.js → PlayerAccountGeneralConfirmationModal-DRXR6eUY.js} +34 -34
- package/components/PlayerAccountGeneralConfirmationModal-DXgRiTHH.cjs +1 -0
- package/components/PlayerAccountMenuNd-BFGJNr5c.cjs +1 -0
- package/components/{PlayerAccountMenuNd-D1c9vax3.js → PlayerAccountMenuNd-CHGOdfQp.js} +249 -224
- package/components/{PlayerAccountMenuNd-PLcvZr5w.js → PlayerAccountMenuNd-CbaF6MFU.js} +235 -210
- package/components/{PlayerAccountModal-CYx4M576.js → PlayerAccountModal-CErceviI.js} +58 -58
- package/components/{PlayerAccountModal-8_-LeBhB.js → PlayerAccountModal-WRO8ypL1.js} +29 -29
- package/components/PlayerAccountModal-z2OklRCV.cjs +1 -0
- package/components/{PlayerAccountNotifications-Y6zUPFef.js → PlayerAccountNotifications-BgL_Xr5u.js} +12 -12
- package/components/{PlayerAccountNotifications-3oW7NTJM.js → PlayerAccountNotifications-CSQCA7Z4.js} +12 -12
- package/components/PlayerAccountNotifications-zFaledSd.cjs +1 -0
- package/components/PlayerAccountProductRestriction-Bx0pQJwR.cjs +17823 -0
- package/components/PlayerAccountProductRestriction-CI7qeU96.js +37237 -0
- package/components/PlayerAccountProductRestriction-aDL2iAgE.js +37272 -0
- package/components/PlayerAccountReviewFrequency-BvL0rFW6.cjs +4 -0
- package/components/{PlayerAccountReviewFrequency-DjWH3Pjs.js → PlayerAccountReviewFrequency-CrviuInt.js} +12 -12
- package/components/{PlayerAccountReviewFrequency-DkTu9_Ry.js → PlayerAccountReviewFrequency-Dmr6ENuN.js} +12 -12
- package/components/{PlayerAccountTimeout-CQ3_g5Tr.js → PlayerAccountSelfExclusionNd-BbPbplRY.js} +4639 -3866
- package/components/{PlayerAccountTimeout-CGi7MG5B.cjs → PlayerAccountSelfExclusionNd-CB3ZxZvz.cjs} +190 -165
- package/components/{PlayerAccountTimeout-CjRNSbIj.js → PlayerAccountSelfExclusionNd-Uj3E0Lsq.js} +4699 -3927
- package/components/PlayerAccountTimeout-BOBTlN2J.js +1054 -0
- package/components/PlayerAccountTimeout-CRd-8yIT.js +1053 -0
- package/components/PlayerAccountTimeout-DcXYho1R.cjs +4 -0
- package/components/{PlayerAccountTransactionsHistory-D7ICA6Cs.js → PlayerAccountTransactionsHistory-3A_t5Znc.js} +4 -5
- package/components/{PlayerAccountTransactionsHistory-Ds-MXYYX.js → PlayerAccountTransactionsHistory-BK19JzUm.js} +4 -5
- package/components/PlayerAccountTransactionsHistory-_dDCnpTE.cjs +4 -0
- package/components/PlayerActiveBonuses-DNv_wq0n.js +1434 -0
- package/components/PlayerActiveBonuses-O4itJxBB.cjs +5 -0
- package/components/PlayerActiveBonuses-wUZkbSt8.js +1394 -0
- package/components/{PlayerBonusCard-DxLdbG3i.js → PlayerBonusCard-CvPBmIAm.js} +276 -252
- package/components/{PlayerBonusCard-CyvfUd4D.js → PlayerBonusCard-DExKrXLe.js} +276 -252
- package/components/PlayerBonusCard-FU9-2CsB.cjs +1 -0
- package/components/PlayerBonusHistory-BAKZfPkR.js +1178 -0
- package/components/PlayerBonusHistory-BTOaasoo.cjs +4 -0
- package/components/PlayerBonusHistory-DYqa8rmb.js +1213 -0
- package/components/{PlayerChangePasswordNd--3O96kKq.js → PlayerChangePasswordNd-BCxA9ICV.js} +36 -36
- package/components/{PlayerChangePasswordNd-S-VNpeoW.js → PlayerChangePasswordNd-BU28OwPH.js} +48 -48
- package/components/PlayerChangePasswordNd-CGg0r04Q.cjs +1 -0
- package/components/{PlayerDeposit-CIfEnB3H.js → PlayerDeposit--zt_C28y.js} +9 -9
- package/components/PlayerDeposit-Dv3DVWzm.cjs +1 -0
- package/components/{PlayerDeposit-CRR9qBm7.js → PlayerDeposit-EFUe-vs1.js} +5 -5
- package/components/PlayerGamingHistory-CNsFKvQt.cjs +1 -0
- package/components/{PlayerGamingHistory-Cfi7Xqa-.js → PlayerGamingHistory-CaEQKSib.js} +517 -488
- package/components/{PlayerGamingHistory-BXWsjojq.js → PlayerGamingHistory-bsbEN_XF.js} +524 -495
- package/components/PlayerPendingWithdrawals-CpLhvaRf.cjs +1 -0
- package/components/{PlayerPendingWithdrawals-e19kgjnW.js → PlayerPendingWithdrawals-DSTlmu4W.js} +16 -16
- package/components/{PlayerPendingWithdrawals-Bww6-kzH.js → PlayerPendingWithdrawals-lYWDHTUJ.js} +12 -12
- package/components/PlayerProfileInfo-BP8pCrof.js +3556 -0
- package/components/PlayerProfileInfo-BPjV9HdK.js +3607 -0
- package/components/PlayerProfileInfo-iI0_TWKo.cjs +4 -0
- package/components/{PlayerRealityCheck-DYcya9i_.js → PlayerRealityCheck-CKZEnAbR.js} +30 -30
- package/components/PlayerRealityCheck-CpyK7coU.cjs +1 -0
- package/components/{PlayerRealityCheck-CTDpiY6F.js → PlayerRealityCheck-DNtOLg5d.js} +10 -10
- package/components/PlayerTransactionHistory-BZvNosXH.cjs +1 -0
- package/components/{PlayerTransactionHistory-uQUC94kV.js → PlayerTransactionHistory-BdIdoGDF.js} +14 -14
- package/components/{PlayerTransactionHistory-ty_ZuJXq.js → PlayerTransactionHistory-BkkU37E2.js} +16 -16
- package/components/PlayerWithdrawal-CT4yLg8g.cjs +1 -0
- package/components/{PlayerWithdrawal-1_OZCenP.js → PlayerWithdrawal-D4N_GpG-.js} +9 -9
- package/components/{PlayerWithdrawal-CcrEMmj7.js → PlayerWithdrawal-DVog_nVQ.js} +9 -9
- package/components/{QrSessionGenerator-CCkipgoW.js → QrSessionGenerator-BXU-9Bzy.js} +1 -1
- package/components/{QrSessionGenerator-QO1neLoO.js → QrSessionGenerator-ByKI7pMQ.js} +19 -19
- package/components/{QrSessionGenerator-nP1Bg-og.cjs → QrSessionGenerator-T9dYB8i3.cjs} +5 -5
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +7 -7
- package/esnext/player-account-controller-nd.js +1 -1
- package/lazy/{player-bonus-history-CaUz1Rlf.cjs → general-logout-B1l7EZY3.cjs} +1 -1
- package/lazy/{player-bonus-history-CyDsWfvA.js → general-logout-CMB8hQbp.js} +2 -2
- package/lazy/{player-bonus-history-DYl7MQWT.js → general-logout-Ci97Bbjf.js} +2 -2
- package/lazy/{pam-change-password-D7e6x-yE.js → pam-change-password-BvocmJri.js} +1 -1
- package/lazy/{pam-change-password-Dj2xuuK4.cjs → pam-change-password-CiZgnqNc.cjs} +1 -1
- package/lazy/{pam-change-password-xFIA2xlR.js → pam-change-password-DiWji9h2.js} +1 -1
- package/lazy/{player-account-betting-history-CjoDnkpn.cjs → player-account-betting-history-C8cs8k7X.cjs} +1 -1
- package/lazy/{player-account-betting-history-B4bex6hp.js → player-account-betting-history-DyN6lcgJ.js} +1 -1
- package/lazy/{player-account-betting-history-BBtedjXl.js → player-account-betting-history-QTNcTMLh.js} +1 -1
- package/lazy/{player-account-biometrics-CHoo80HU.js → player-account-biometrics-B_mbNxaQ.js} +1 -1
- package/lazy/{player-account-biometrics-DJw5WGff.cjs → player-account-biometrics-CZ32s6dn.cjs} +1 -1
- package/lazy/{player-account-biometrics-C-H8VfV8.js → player-account-biometrics-DQBynO9h.js} +1 -1
- package/lazy/{player-account-biometrics-action-D8ilGF7S.js → player-account-biometrics-action-HtIgV_S1.js} +1 -1
- package/lazy/{player-account-biometrics-action-BOyFTOxP.js → player-account-biometrics-action-w9wpeoIK.js} +1 -1
- package/lazy/{player-account-biometrics-action-Dbm1_9n8.cjs → player-account-biometrics-action-zfFKIdRj.cjs} +1 -1
- package/lazy/{player-account-closure-nd-BZgae3SX.cjs → player-account-closure-nd-CAZ3T3PO.cjs} +1 -1
- package/lazy/{player-account-closure-nd-9r5bMdSY.js → player-account-closure-nd-CCXz1c-t.js} +1 -1
- package/lazy/{player-account-closure-nd-CWY961fp.js → player-account-closure-nd-DmDkNsaE.js} +1 -1
- package/lazy/{player-account-gaming-limits-DChMsolh.js → player-account-gaming-limits-CK3ebt0J.js} +1 -1
- package/lazy/{player-account-gaming-limits-DtE5z2YE.js → player-account-gaming-limits-CMn32jGB.js} +1 -1
- package/lazy/{player-account-gaming-limits-4PSKckJs.cjs → player-account-gaming-limits-CvrnTCMH.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-BGn7WoCI.js → player-account-gaming-limits-confirmation-modal-CchiQubV.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-BhR9DGr0.js → player-account-gaming-limits-confirmation-modal-f8bs1yO6.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-B76yfdxH.cjs → player-account-gaming-limits-confirmation-modal-mTTJmq_t.cjs} +1 -1
- package/lazy/player-account-gaming-limits-group-edit-Bo392pgU.cjs +1 -0
- package/lazy/{player-account-gaming-limits-group-edit-3MqNVhmp.js → player-account-gaming-limits-group-edit-DBldPgyh.js} +7 -7
- package/lazy/{player-account-gaming-limits-group-edit-C4dei67R.js → player-account-gaming-limits-group-edit-DdjiD6Qs.js} +7 -7
- package/lazy/{player-account-gaming-limits-history-2-nd-CBBd_8El.cjs → player-account-gaming-limits-history-2-nd-9UgcMIqC.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-kgZj_gsX.js → player-account-gaming-limits-history-2-nd-C4GWqxdQ.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-DFiFzozv.js → player-account-gaming-limits-history-2-nd-Cvu_EvxJ.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-B2WkNerL.js → player-account-gaming-limits-info-card-BepXQTIS.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-CRBP0qlj.js → player-account-gaming-limits-info-card-DyR2rurq.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-DZ6FNQOT.cjs → player-account-gaming-limits-info-card-fwwIiuf4.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-DkG-sh8z.cjs → player-account-gaming-limits-page-2-gm16-nd-BTPdGlkp.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-DCqlVEe0.js → player-account-gaming-limits-page-2-gm16-nd-BrFUJyqO.js} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-BEJ7gQ8F.js → player-account-gaming-limits-page-2-gm16-nd-CCDwL9W7.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-ButHGqIX.js → player-account-gaming-limits-popup-CJNm54rn.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-BHAszty9.cjs → player-account-gaming-limits-popup-h8YZiGxW.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-popup-CxXJuVwP.js → player-account-gaming-limits-popup-l0Vm2V8S.js} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-CMT1UnSj.js → player-account-gaming-limits-wrapper-2-nd-BYTctslc.js} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-D1si2xCn.cjs → player-account-gaming-limits-wrapper-2-nd-CFLWhXeO.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-BAmCNT1V.js → player-account-gaming-limits-wrapper-2-nd-_BjsnMom.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-D9MN8kXz.js → player-account-general-confirmation-modal-CTmzMdPG.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-CDmaFNpU.cjs → player-account-general-confirmation-modal-CcTI30Mt.cjs} +1 -1
- package/lazy/{player-account-general-confirmation-modal-B1fyuifJ.js → player-account-general-confirmation-modal-D5GdiEY8.js} +1 -1
- package/lazy/{player-account-menu-nd-Bh-Zrlyl.cjs → player-account-menu-nd-BLFPwfVB.cjs} +1 -1
- package/lazy/{player-account-menu-nd-AeOtklmG.js → player-account-menu-nd-D2gCWgJs.js} +1 -1
- package/lazy/{player-account-menu-nd-Bal2Nkqo.js → player-account-menu-nd-D6QwJJkJ.js} +1 -1
- package/lazy/{player-account-modal-BbEhhuYv.js → player-account-modal-DXDbFO-I.js} +1 -1
- package/lazy/{player-account-modal-DNqzeUhy.js → player-account-modal-DlEatHKQ.js} +1 -1
- package/lazy/{player-account-modal-BLK0XqPY.cjs → player-account-modal-xyw2eAaq.cjs} +1 -1
- package/lazy/{player-account-notifications-3XJDMshq.js → player-account-notifications-BiaT8gHH.js} +1 -1
- package/lazy/{player-account-notifications-CdIxk0LK.cjs → player-account-notifications-CvdGumuA.cjs} +1 -1
- package/lazy/{player-account-notifications-DzlEwfV9.js → player-account-notifications-h6Y9aVUM.js} +1 -1
- package/lazy/{player-account-timeout-CmBjSmQA.js → player-account-product-restriction-BgrQEHnK.js} +2 -2
- package/lazy/player-account-product-restriction-CEJphFHV.cjs +1 -0
- package/lazy/{player-account-timeout-BTT4ptY9.js → player-account-product-restriction-CwQ_H6t0.js} +2 -2
- package/lazy/{player-account-review-frequency-BKki7fJb.js → player-account-review-frequency-8n_E1hOE.js} +1 -1
- package/lazy/{player-account-review-frequency-DpUXICDH.js → player-account-review-frequency-CZLPIv34.js} +1 -1
- package/lazy/{player-account-review-frequency-DbOkM_iE.cjs → player-account-review-frequency-DrbagD3C.cjs} +1 -1
- package/lazy/{player-account-self-exclusion-nd-Da3v9h7j.js → player-account-self-exclusion-nd-C8-GIDx-.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-CN4E70YJ.js → player-account-self-exclusion-nd-DLCInX4e.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-ixCoAaYe.cjs → player-account-self-exclusion-nd-n-bSqoMf.cjs} +1 -1
- package/lazy/{general-logout-DpJv5h-p.js → player-account-timeout-BD4Zh28M.js} +2 -2
- package/lazy/{general-logout-DFs9jYnz.js → player-account-timeout-Bz8IWkAl.js} +2 -2
- package/lazy/player-account-timeout-CMyJG0vF.cjs +1 -0
- package/lazy/{player-account-transactions-history-db2_5N1A.js → player-account-transactions-history-B3dWhfuK.js} +1 -1
- package/lazy/{player-account-transactions-history-tEu5j8eJ.cjs → player-account-transactions-history-Bpwnqiae.cjs} +1 -1
- package/lazy/{player-account-transactions-history-DxudU_GR.js → player-account-transactions-history-D2mAdF6m.js} +1 -1
- package/lazy/{player-active-bonuses-BBGypvsP.cjs → player-active-bonuses-BAyWrSKJ.cjs} +1 -1
- package/lazy/{player-active-bonuses-BU5_yDpZ.js → player-active-bonuses-CMVeIO1I.js} +1 -1
- package/lazy/{player-active-bonuses-DSYd6bOM.js → player-active-bonuses-K5MqDvoA.js} +1 -1
- package/lazy/{player-bonus-card-w6jRuOT8.js → player-bonus-card-CVGhsLKc.js} +1 -1
- package/lazy/{player-bonus-card-Dk05brfq.js → player-bonus-card-ChDFiGni.js} +1 -1
- package/lazy/{player-bonus-card-CqLIGyVR.cjs → player-bonus-card-DWEqlBz1.cjs} +1 -1
- package/lazy/player-bonus-history-BaQlgMFi.js +16 -0
- package/lazy/player-bonus-history-Cs4jjYQ-.js +16 -0
- package/lazy/{general-logout-DqzVYVJe.cjs → player-bonus-history-CxLU9fSa.cjs} +1 -1
- package/lazy/{player-change-password-nd-iKxWdTZv.js → player-change-password-nd-BTUDnNk_.js} +1 -1
- package/lazy/{player-change-password-nd-C2AaIdD1.cjs → player-change-password-nd-Bu6MDztk.cjs} +1 -1
- package/lazy/{player-change-password-nd-D0iUmhpC.js → player-change-password-nd-DxoNMutL.js} +1 -1
- package/lazy/{player-deposit-XfXGa_wv.js → player-deposit-BMjza2Aw.js} +1 -1
- package/lazy/{player-deposit-dSAzdWc3.js → player-deposit-Bm_8x1hl.js} +1 -1
- package/lazy/{player-deposit-ov0ciE_8.cjs → player-deposit-CEgi-Mtk.cjs} +1 -1
- package/lazy/{player-gaming-history-35TnGQvU.cjs → player-gaming-history-BTPL-t8R.cjs} +1 -1
- package/lazy/{player-gaming-history-B-EijkgD.js → player-gaming-history-C8V2u1C0.js} +1 -1
- package/lazy/{player-gaming-history-Ce3V6OJH.js → player-gaming-history-CTi8lvaO.js} +1 -1
- package/lazy/{player-kyc-verification-c6j7OKfW.js → player-kyc-verification-B3-xX9xM.js} +1 -1
- package/lazy/{player-kyc-verification-Cf8e8-1J.js → player-kyc-verification-C76swWpA.js} +1 -1
- package/lazy/{player-kyc-verification-dgrj93to.cjs → player-kyc-verification-C8SV_RYV.cjs} +1 -1
- package/lazy/{player-pending-withdrawals-RC3v7BB9.js → player-pending-withdrawals-1q4pLNkP.js} +1 -1
- package/lazy/{player-pending-withdrawals-D9j5AZFy.cjs → player-pending-withdrawals-CjnhNsh9.cjs} +1 -1
- package/lazy/{player-pending-withdrawals-BI1gwqZV.js → player-pending-withdrawals-JheU_NnK.js} +1 -1
- package/lazy/{player-profile-info-DgmEAe9A.cjs → player-profile-info-BJbmrHsF.cjs} +1 -1
- package/lazy/{player-profile-info-j0THIp9W.js → player-profile-info-CHrrNDyc.js} +1 -1
- package/lazy/{player-profile-info-BwiBM5r3.js → player-profile-info-CahjkVqk.js} +1 -1
- package/lazy/{player-reality-check-2bvBWBfH.js → player-reality-check-BCj8pOXF.js} +1 -1
- package/lazy/{player-reality-check-CIox5Zp2.js → player-reality-check-C97QH2aB.js} +1 -1
- package/lazy/{player-reality-check-BDKdBFK4.cjs → player-reality-check-CTQIHBq1.cjs} +1 -1
- package/lazy/{player-transaction-history-GIi9b0ya.js → player-transaction-history-BERx2xZG.js} +1 -1
- package/lazy/{player-transaction-history-Dh6_EsL1.js → player-transaction-history-BPU0GTOa.js} +1 -1
- package/lazy/{player-transaction-history-BaF1nfoV.cjs → player-transaction-history-vDI1AKr_.cjs} +1 -1
- package/lazy/{player-withdrawal-H81xFfNP.js → player-withdrawal-BYqEn50S.js} +1 -1
- package/lazy/{player-withdrawal-HawMNBu-.js → player-withdrawal-CoGmh9fh.js} +1 -1
- package/lazy/{player-withdrawal-B4huIVjj.cjs → player-withdrawal-JMKUZu6F.cjs} +1 -1
- package/lazy/{qr-session-generator-CJbRo7oZ.js → qr-session-generator-DNdcn7FZ.js} +1 -1
- package/lazy/{qr-session-generator-b2Uq_9KY.js → qr-session-generator-Dt-KIA4V.js} +1 -1
- package/lazy/{qr-session-generator-BYnvQPH2.cjs → qr-session-generator-mD5vLFHR.cjs} +1 -1
- package/lazy/{ui-skeleton-BBQWByBl.js → ui-skeleton-BUCYetAg.js} +1 -1
- package/lazy/{ui-skeleton-DCHcpm1I.cjs → ui-skeleton-BgUTfAtW.cjs} +1 -1
- package/lazy/{ui-skeleton-D_9rhDxL.js → ui-skeleton-C-dgOp3G.js} +1 -1
- package/lazy/{user-deposit-withdrawal-DRL2H07Q.js → user-deposit-withdrawal--XvaPYM4.js} +1 -1
- package/lazy/{user-deposit-withdrawal-bFIIJONR.js → user-deposit-withdrawal-Fjw4I48f.js} +1 -1
- package/lazy/{user-deposit-withdrawal-DuuFc4kw.cjs → user-deposit-withdrawal-j3vQXCPl.cjs} +1 -1
- package/lazy/{user-transaction-history-HY0KaITv.js → user-transaction-history-AS2WxZYn.js} +1 -1
- package/lazy/{user-transaction-history-B0AzGCJo.js → user-transaction-history-BdZ8-Joj.js} +1 -1
- package/lazy/{user-transaction-history-3zhiyTMt.cjs → user-transaction-history-BiHaSaKF.cjs} +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-XUXOuUQl.js → app-globals-0f993ce5-DzSE6TtH.js} +4 -4
- package/stencil/checkbox-group-input_16-Bq2zfVn5.js +40948 -0
- package/stencil/checkbox-group-input_16-CZR716nR.js +40948 -0
- package/stencil/checkbox-group-input_16-I9NKlVZn.cjs +18119 -0
- package/stencil/{pam-change-password-259289fa-CMzhV7v6.js → pam-change-password-259289fa-BG7sGBky.js} +1 -1
- package/stencil/{pam-change-password-259289fa-C0ysebEM.js → pam-change-password-259289fa-DlCrKt6l.js} +1 -1
- package/stencil/{pam-change-password-259289fa-yIegaOpe.cjs → pam-change-password-259289fa-OuczYchB.cjs} +1 -1
- package/stencil/pam-change-password-DDT9MpsO.js +29 -0
- package/stencil/pam-change-password-DURT3csy.cjs +1 -0
- package/stencil/pam-change-password-jvfk9L6x.js +11 -0
- package/stencil/{player-kyc-verification-efqlVlYh.js → player-kyc-verification-D7tigOz6.js} +156 -140
- package/stencil/player-kyc-verification-D8Lg4zGp.cjs +210 -0
- package/stencil/{player-kyc-verification-CHKCxpjq.js → player-kyc-verification-DAG2h23U.js} +164 -148
- package/stencil/player-step-up-auth_2-B-1QyGOd.cjs +78 -0
- package/stencil/{player-step-up-auth_2-Bm_9xj7M.js → player-step-up-auth_2-C80Om-aZ.js} +400 -270
- package/stencil/{player-step-up-auth_2-Bz-vhYbS.js → player-step-up-auth_2-CiznySlT.js} +378 -248
- package/stencil/{ui-skeleton-fEyshHrf.js → ui-skeleton--3Oejuq9.js} +3 -3
- package/stencil/{ui-skeleton-DCajaTYn.cjs → ui-skeleton-Bp-l1XOX.cjs} +1 -1
- package/stencil/{ui-skeleton-Dd7tqzYw.js → ui-skeleton-Ur_BR5_B.js} +3 -3
- package/stencil/{ui-skeleton-ed169f8f-CzsV8lCL.cjs → ui-skeleton-ed169f8f-BC-qcUzg.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-W8BHwBHY.js → ui-skeleton-ed169f8f-CScXzcMr.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-DMVI4VdD.js → ui-skeleton-ed169f8f-Dlrug2eB.js} +1 -1
- package/stencil/user-deposit-withdrawal-BUFJR52M.js +11 -0
- package/stencil/user-deposit-withdrawal-CB6hoNi4.js +29 -0
- package/stencil/user-deposit-withdrawal-CBovM1LX.cjs +1 -0
- package/stencil/{user-transaction-history-2p6NhYUH.cjs → user-transaction-history-Bdl9TsIY.cjs} +1 -1
- package/stencil/{user-transaction-history-BdJmXqSz.js → user-transaction-history-CCamdglk.js} +3 -3
- package/stencil/{user-transaction-history-AKqIgf_3.js → user-transaction-history-CmVmTvfF.js} +3 -3
- package/stencil/user-transaction-history_2-BGSRJC3z.js +39028 -0
- package/stencil/user-transaction-history_2-DxjqgdYW.cjs +17821 -0
- package/stencil/user-transaction-history_2-gjLQnPHS.js +39050 -0
- package/components/GeneralLogout-5G6d0nU7.js +0 -300
- package/components/GeneralLogout-DoMpmSuy.cjs +0 -1
- package/components/GeneralLogout-rT9uoxJG.js +0 -300
- package/components/PlayerAccountBettingHistory-CPr8WAIi.cjs +0 -1
- package/components/PlayerAccountBiometrics-CwX37Dov.cjs +0 -1
- package/components/PlayerAccountBiometricsAction-Cluzv3Rf.cjs +0 -1
- package/components/PlayerAccountClosureNd-BP75r5XE.cjs +0 -1
- package/components/PlayerAccountControllerNd-C7yGxIew.js +0 -12992
- package/components/PlayerAccountControllerNd-CTFxHTi0.js +0 -12950
- package/components/PlayerAccountControllerNd-cf5swLcG.cjs +0 -21
- package/components/PlayerAccountGamingLimits-CObWYALW.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-B-6GG4lt.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-BVyDMw16.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-Cpy1-HVz.js +0 -1535
- package/components/PlayerAccountGamingLimitsGroupEdit-DoE3u0gr.js +0 -1535
- package/components/PlayerAccountGamingLimitsHistory2Nd-BzmJQJj6.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-BDr5gwpE.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DZ_kl0Qx.cjs +0 -35
- package/components/PlayerAccountGamingLimitsPopup-DWNbaoce.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-Cwe_U2Yb.cjs +0 -4
- package/components/PlayerAccountGeneralConfirmationModal-DIi_Nclx.cjs +0 -1
- package/components/PlayerAccountMenuNd-DsZ4nhYQ.cjs +0 -1
- package/components/PlayerAccountModal-D-nlGHPL.cjs +0 -1
- package/components/PlayerAccountNotifications-YrwGiHQn.cjs +0 -1
- package/components/PlayerAccountProductRestriction-BBfmamUN.cjs +0 -4
- package/components/PlayerAccountProductRestriction-DHZ11qU-.js +0 -1495
- package/components/PlayerAccountProductRestriction-DKK2eM1L.js +0 -1460
- package/components/PlayerAccountReviewFrequency-4ZH-6pEH.cjs +0 -4
- package/components/PlayerAccountSelfExclusionNd-BxLNnV8M.js +0 -1565
- package/components/PlayerAccountSelfExclusionNd-CVwefEaU.js +0 -1537
- package/components/PlayerAccountSelfExclusionNd-D6HnYYT_.cjs +0 -1
- package/components/PlayerAccountTransactionsHistory-Btyjamzv.cjs +0 -4
- package/components/PlayerActiveBonuses-BOfhQPPH.js +0 -1239
- package/components/PlayerActiveBonuses-D59CLmkS.js +0 -1238
- package/components/PlayerActiveBonuses-DHG5qSFf.cjs +0 -4
- package/components/PlayerBonusCard-Cv56RJBz.cjs +0 -1
- package/components/PlayerBonusHistory-CFbE-op3.js +0 -20058
- package/components/PlayerBonusHistory-CSAid2vz.js +0 -20069
- package/components/PlayerBonusHistory-an8Ub5jO.cjs +0 -6663
- package/components/PlayerChangePasswordNd-BushVcHW.cjs +0 -1
- package/components/PlayerDeposit-kmlcfnXc.cjs +0 -1
- package/components/PlayerGamingHistory-CCB4leo-.cjs +0 -1
- package/components/PlayerPendingWithdrawals-BBkgN4ZU.cjs +0 -1
- package/components/PlayerProfileInfo-Bv6HoHaQ.js +0 -3234
- package/components/PlayerProfileInfo-CekfIid4.js +0 -3283
- package/components/PlayerProfileInfo-CwV6h27g.cjs +0 -4
- package/components/PlayerRealityCheck-BVCb4W-I.cjs +0 -1
- package/components/PlayerTransactionHistory-RbffcBtb.cjs +0 -1
- package/components/PlayerWithdrawal-BRBKD8EM.cjs +0 -1
- package/lazy/player-account-gaming-limits-group-edit-f5iXpglJ.cjs +0 -1
- package/lazy/player-account-product-restriction-BXzXOoWv.js +0 -16
- package/lazy/player-account-product-restriction-Bd4VOvvo.cjs +0 -1
- package/lazy/player-account-product-restriction-ClcQZGTw.js +0 -16
- package/lazy/player-account-timeout-BKtkZuoE.cjs +0 -1
- package/stencil/app-globals-0f993ce5-BjWsvLzr.cjs +0 -1
- package/stencil/checkbox-group-input_16-BBFWkWeD.js +0 -21216
- package/stencil/checkbox-group-input_16-BmvBBKCA.js +0 -21216
- package/stencil/checkbox-group-input_16-CO-enO8e.cjs +0 -6958
- package/stencil/pam-change-password-BDh7kR7R.cjs +0 -1
- package/stencil/pam-change-password-BmZkR24F.js +0 -29
- package/stencil/pam-change-password-CZIzaI5K.js +0 -11
- package/stencil/player-kyc-verification-Cfr6OdP2.cjs +0 -210
- package/stencil/player-step-up-auth_2-B8-Wde-9.cjs +0 -78
- package/stencil/user-deposit-withdrawal-BfDZ0BPN.js +0 -29
- package/stencil/user-deposit-withdrawal-CpW2KxAK.cjs +0 -1
- package/stencil/user-deposit-withdrawal-gtPpPZFl.js +0 -11
- package/stencil/user-transaction-history_2-Bane584k.js +0 -19319
- package/stencil/user-transaction-history_2-C0V0hS45.js +0 -19297
- package/stencil/user-transaction-history_2-CkuiuZbC.cjs +0 -6660
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
var we = (e, t,
|
|
2
|
-
var
|
|
1
|
+
var we = (e, t, i) => new Promise((n, h) => {
|
|
2
|
+
var b = (E) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
4
|
+
P(i.next(E));
|
|
5
5
|
} catch (L) {
|
|
6
6
|
h(L);
|
|
7
7
|
}
|
|
8
|
-
}, U = (
|
|
8
|
+
}, U = (E) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
10
|
+
P(i.throw(E));
|
|
11
11
|
} catch (L) {
|
|
12
12
|
h(L);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, P = (E) => E.done ? n(E.value) : Promise.resolve(E.value).then(b, U);
|
|
15
|
+
P((i = i.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { r as Ke, h as p, F as We, g as ot, H as st } from "../lazy/user-deposit-withdrawal
|
|
18
|
-
const
|
|
17
|
+
import { r as Ke, h as p, F as We, g as ot, H as st } from "../lazy/user-deposit-withdrawal--XvaPYM4.js";
|
|
18
|
+
const xe = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
19
19
|
function Ue(e, t) {
|
|
20
20
|
if (e) {
|
|
21
|
-
const
|
|
22
|
-
|
|
21
|
+
const i = document.createElement("style");
|
|
22
|
+
i.innerHTML = t, e.appendChild(i);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
function He(e, t) {
|
|
26
26
|
if (!e || !t)
|
|
27
27
|
return;
|
|
28
|
-
const
|
|
29
|
-
fetch(
|
|
28
|
+
const i = new URL(t);
|
|
29
|
+
fetch(i.href).then((n) => n.text()).then((n) => {
|
|
30
30
|
const h = document.createElement("style");
|
|
31
31
|
h.innerHTML = n, e && e.appendChild(h);
|
|
32
32
|
}).catch((n) => {
|
|
33
33
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
function Ze(e, t,
|
|
36
|
+
function Ze(e, t, i, n = !1) {
|
|
37
37
|
if (!window.emMessageBus)
|
|
38
38
|
return;
|
|
39
39
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
40
|
-
return
|
|
41
|
-
window[
|
|
42
|
-
const
|
|
43
|
-
if (window[
|
|
44
|
-
const
|
|
45
|
-
|
|
40
|
+
return i = dt(e, t), i;
|
|
41
|
+
window[xe] || (window[xe] = {}), i = lt(e, t);
|
|
42
|
+
const b = i.unsubscribe.bind(i), U = () => {
|
|
43
|
+
if (window[xe][t]) {
|
|
44
|
+
const P = window[xe][t];
|
|
45
|
+
P.refCount > 1 ? P.refCount = P.refCount - 1 : delete window[xe][t];
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
b();
|
|
48
48
|
};
|
|
49
|
-
return
|
|
49
|
+
return i.unsubscribe = U, i;
|
|
50
50
|
}
|
|
51
51
|
function dt(e, t) {
|
|
52
|
-
const
|
|
52
|
+
const i = document.createElement("style");
|
|
53
53
|
return window.emMessageBus.subscribe(t, (n) => {
|
|
54
|
-
e && (
|
|
54
|
+
e && (i.innerHTML = n, e.appendChild(i));
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
function lt(e, t) {
|
|
58
|
-
return window.emMessageBus.subscribe(t, (
|
|
58
|
+
return window.emMessageBus.subscribe(t, (i) => {
|
|
59
59
|
if (!e)
|
|
60
60
|
return;
|
|
61
|
-
const n = e.getRootNode(), h = window[
|
|
62
|
-
let
|
|
63
|
-
|
|
64
|
-
sheet:
|
|
61
|
+
const n = e.getRootNode(), h = window[xe];
|
|
62
|
+
let b = h[t] && h[t].sheet;
|
|
63
|
+
b ? h[t].refCount = h[t].refCount + 1 : (b = new CSSStyleSheet(), b.replaceSync(i), h[t] = {
|
|
64
|
+
sheet: b,
|
|
65
65
|
refCount: 1
|
|
66
66
|
});
|
|
67
67
|
const U = n.adoptedStyleSheets || [];
|
|
68
|
-
U.includes(
|
|
68
|
+
U.includes(b) || (n.adoptedStyleSheets = [...U, b]);
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
const ut = "en", Qe = {
|
|
@@ -286,15 +286,15 @@ const ut = "en", Qe = {
|
|
|
286
286
|
otpVerified: "OTP verificado com sucesso!"
|
|
287
287
|
}
|
|
288
288
|
}, Ye = (e) => new Promise((t) => {
|
|
289
|
-
fetch(e).then((
|
|
290
|
-
Object.keys(
|
|
291
|
-
for (let h in
|
|
292
|
-
Qe[n][h] =
|
|
289
|
+
fetch(e).then((i) => i.json()).then((i) => {
|
|
290
|
+
Object.keys(i).forEach((n) => {
|
|
291
|
+
for (let h in i[n])
|
|
292
|
+
Qe[n][h] = i[n][h];
|
|
293
293
|
}), t(!0);
|
|
294
294
|
});
|
|
295
295
|
}), k = (e, t) => {
|
|
296
|
-
const
|
|
297
|
-
return Qe[
|
|
296
|
+
const i = t;
|
|
297
|
+
return Qe[i !== void 0 ? i : ut][e];
|
|
298
298
|
}, ct = ".OtpPopupOverlay{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--emw--color-overlay, rgba(0, 0, 0, 0.5));display:flex;align-items:center;justify-content:center}.OtpButton{font-family:var(--emw--button-typography);border:var(--emw--button-border, none);border-radius:var(--emw--button-border-radius, 3px);border-color:var(--emw--button-border-color);background-color:var(--emw--button-background-color, var(--emw--color-primary, #007bff));color:var(--emw--button-typography, var(--emw--color-white, #fff));padding:10px 20px;cursor:pointer;font-size:16px}.OtpButton.error{background:var(--emw--color-error, #dd3434)}.OtpPopupContent{position:relative;background:var(--emw--color-white, #fff);padding:20px;border-radius:5px;text-align:center;min-width:25%;min-height:200px;display:flex;flex-direction:column;justify-content:center;gap:20px}.OtpPopupContent .OtpError{display:flex;flex-direction:column;gap:20px;align-items:center}.OtpPopupContent .OtpError .OtpErrorHeader{display:flex;justify-content:center;gap:5px}.OtpPopupContent .OtpError h2{margin:0}.OtpPopupContent .OtpError svg{width:25px;fill:var(--emw--color-error, #dd3434)}.OtpFieldWrapper{display:flex;flex-direction:column;gap:10px}.OtpFieldWrapper h2{margin:0}.OtpField{display:flex;justify-content:center}.OtpField input{width:24px;font-size:32px;padding:10px;text-align:center;border-radius:5px;margin:2px;border:2px solid var(--emw--otp-border-color, #55525c);font-weight:bold;outline:none;transition:all 0.1s}.OtpField input.space{margin-right:1rem !important}.OtpField input:focus{border:2px solid var(--emw--color-primary, #007bff);box-shadow:0 0 2px 2px var(--emw--color-primary, #007bff)}.OtpActionButtons{display:flex;justify-content:space-between}.OtpErrorMessage{color:var(--emw--color-error, #dd3434);font-weight:bold}.OtpLoaderContainer{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.OtpLoader{width:48px;height:48px;border:5px solid var(--emw--color-secondary, #b3d8ff);border-bottom-color:var(--emw--color-primary, #007bff);border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation 1s linear infinite}.OtpSuccessOverlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(var(--emw--color-green-rgb, 255, 255, 255), 0.95);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;z-index:10}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}", ht = ct, pt = class {
|
|
299
299
|
/**
|
|
300
300
|
* Watch for changes in the translation URL and fetch new translations
|
|
@@ -368,17 +368,17 @@ const ut = "en", Qe = {
|
|
|
368
368
|
try {
|
|
369
369
|
const e = new URL(`/api/v1/mfa/challenge/${this.token}/config`, this.endpoint);
|
|
370
370
|
this.isLoading = !0;
|
|
371
|
-
const t = yield fetch(e.href),
|
|
371
|
+
const t = yield fetch(e.href), i = yield t.json();
|
|
372
372
|
if (t.ok)
|
|
373
|
-
this.config =
|
|
374
|
-
else if (
|
|
373
|
+
this.config = i, this.otp = Array(this.config.inputLength).fill(""), this.isLoading = !1, this.isValidating = !1, this.showResendOtp = !1, this.expirationTime = this.config.expirationTime, this.serverTime = this.config.serverTime, this.config.numberOfValidateAttempts !== 0 && (this.hasErrors = !0, this.errorMessage = k("invalidOtp", this.language)), this.config.numberOfValidateAttempts === this.config.maxValidationAttempts - 1 && (this.isLastWarning = !0), this.calculateTimeLeft(), this.startCountdown();
|
|
374
|
+
else if (i && i.details === "gm.twofa.token_max_attempts_exceeded")
|
|
375
375
|
this.handleCloseWidget();
|
|
376
376
|
else {
|
|
377
|
-
const n =
|
|
377
|
+
const n = i && i.message || `Failed to load config. Status: ${t.status}`;
|
|
378
378
|
throw new Error(n);
|
|
379
379
|
}
|
|
380
380
|
} catch (e) {
|
|
381
|
-
this.isLoading = !1, this.hasConfigErrors = !0, this.errorMessage = k("configError", this.language), console.error("Error loading 2FA config:", e);
|
|
381
|
+
this.isLoading = !1, this.isValidating = !1, this.hasConfigErrors = !0, this.errorMessage = k("configError", this.language), console.error("Error loading 2FA config:", e);
|
|
382
382
|
}
|
|
383
383
|
});
|
|
384
384
|
}
|
|
@@ -387,10 +387,10 @@ const ut = "en", Qe = {
|
|
|
387
387
|
* Adjusts client time based on server offset.
|
|
388
388
|
*/
|
|
389
389
|
calculateTimeLeft() {
|
|
390
|
-
const e = new Date(this.expirationTime), t = new Date(this.serverTime),
|
|
390
|
+
const e = new Date(this.expirationTime), t = new Date(this.serverTime), i = /* @__PURE__ */ new Date(), n = t.getTime() - i.getTime();
|
|
391
391
|
this.expirationTimestamp = e.getTime() - n;
|
|
392
|
-
const h = Date.now(),
|
|
393
|
-
this.timeLeft =
|
|
392
|
+
const h = Date.now(), b = Math.max(0, Math.floor((this.expirationTimestamp - h) / 1e3));
|
|
393
|
+
this.timeLeft = b;
|
|
394
394
|
}
|
|
395
395
|
/**
|
|
396
396
|
* Starts a 1-second interval countdown for OTP expiration.
|
|
@@ -409,8 +409,8 @@ const ut = "en", Qe = {
|
|
|
409
409
|
* @returns A formatted string representing minutes and seconds.
|
|
410
410
|
*/
|
|
411
411
|
formatTime(e) {
|
|
412
|
-
const t = Math.floor(e / 60),
|
|
413
|
-
return `${t.toString().padStart(2, "0")}:${
|
|
412
|
+
const t = Math.floor(e / 60), i = e % 60;
|
|
413
|
+
return `${t.toString().padStart(2, "0")}:${i.toString().padStart(2, "0")}`;
|
|
414
414
|
}
|
|
415
415
|
/**
|
|
416
416
|
* Sets a reference to the OTP inputs.
|
|
@@ -428,8 +428,8 @@ const ut = "en", Qe = {
|
|
|
428
428
|
* @param value - The inputted value.
|
|
429
429
|
*/
|
|
430
430
|
updateOtpState(e, t) {
|
|
431
|
-
const
|
|
432
|
-
|
|
431
|
+
const i = [...this.otp];
|
|
432
|
+
i[e] = t.toUpperCase(), this.otp = i;
|
|
433
433
|
}
|
|
434
434
|
/**
|
|
435
435
|
* Handles pasting an OTP directly into the input fields.
|
|
@@ -438,10 +438,10 @@ const ut = "en", Qe = {
|
|
|
438
438
|
* @param e - The clipboard event containing pasted data.
|
|
439
439
|
*/
|
|
440
440
|
handleOnPasteOtp(e) {
|
|
441
|
-
var t,
|
|
441
|
+
var t, i, n;
|
|
442
442
|
e.preventDefault();
|
|
443
|
-
const
|
|
444
|
-
this.otp = [...
|
|
443
|
+
const b = (((i = (t = e.clipboardData) === null || t === void 0 ? void 0 : t.getData("text")) === null || i === void 0 ? void 0 : i.trim()) || "").slice(0, this.config.inputLength).split("");
|
|
444
|
+
this.otp = [...b, ...Array(this.config.inputLength - b.length).fill("")], (n = this.otpInputs[b.length]) === null || n === void 0 || n.focus(), b.length === this.config.inputLength && this.submitOtp();
|
|
445
445
|
}
|
|
446
446
|
/**
|
|
447
447
|
* Handles OTP input changes.
|
|
@@ -451,13 +451,13 @@ const ut = "en", Qe = {
|
|
|
451
451
|
* @param index - The index of the input field being updated.
|
|
452
452
|
*/
|
|
453
453
|
handleOtpInput(e, t) {
|
|
454
|
-
const
|
|
454
|
+
const i = e.target, n = i.value;
|
|
455
455
|
if (/^[a-z0-9]$/i.test(n)) {
|
|
456
456
|
this.updateOtpState(t, n);
|
|
457
457
|
const h = this.otpInputs[t + 1];
|
|
458
458
|
h == null || h.focus();
|
|
459
459
|
}
|
|
460
|
-
|
|
460
|
+
i.value = "";
|
|
461
461
|
}
|
|
462
462
|
/**
|
|
463
463
|
* Handles key press events for OTP inputs.
|
|
@@ -467,14 +467,14 @@ const ut = "en", Qe = {
|
|
|
467
467
|
* @param index - The index of the input field.
|
|
468
468
|
*/
|
|
469
469
|
handleKeyDown(e, t) {
|
|
470
|
-
const
|
|
471
|
-
if (/^[a-z0-9]$/i.test(
|
|
472
|
-
if (n &&
|
|
470
|
+
const i = e.key, n = e.ctrlKey || e.metaKey;
|
|
471
|
+
if (/^[a-z0-9]$/i.test(i)) {
|
|
472
|
+
if (n && i.toLowerCase() === "v")
|
|
473
473
|
return;
|
|
474
|
-
e.preventDefault(), this.updateOtpState(t,
|
|
474
|
+
e.preventDefault(), this.updateOtpState(t, i);
|
|
475
475
|
const h = this.otpInputs[t + 1];
|
|
476
476
|
h == null || h.focus();
|
|
477
|
-
} else if (
|
|
477
|
+
} else if (i === "Backspace") {
|
|
478
478
|
e.preventDefault(), this.otp[t] !== "" && this.updateOtpState(t, "");
|
|
479
479
|
const h = this.otpInputs[t - 1];
|
|
480
480
|
h == null || h.focus();
|
|
@@ -531,19 +531,19 @@ const ut = "en", Qe = {
|
|
|
531
531
|
const t = new URL(`/api/v1/mfa/challenge/${this.token}/validate`, this.endpoint);
|
|
532
532
|
t.searchParams.append("input", e);
|
|
533
533
|
try {
|
|
534
|
-
const
|
|
535
|
-
if (
|
|
534
|
+
const i = yield fetch(t.href, { method: "POST" });
|
|
535
|
+
if (i.status === 200) {
|
|
536
536
|
this.handleSuccess();
|
|
537
537
|
return;
|
|
538
538
|
}
|
|
539
|
-
const h = (yield
|
|
539
|
+
const h = (yield i.json()).message || "";
|
|
540
540
|
if (h.toLowerCase().includes("expired")) {
|
|
541
541
|
this.hasErrors = !0, this.errorMessage = k("otpExpiredMessage", this.language), this.triggerShakeAnimation(), yield this.getConfig();
|
|
542
542
|
return;
|
|
543
543
|
}
|
|
544
544
|
throw new Error(h);
|
|
545
|
-
} catch (
|
|
546
|
-
if (
|
|
545
|
+
} catch (i) {
|
|
546
|
+
if (i.message === "gm.multifactorauthentication.challenge_internal_server_error" || i.message === "gm.multifactorauthentication.internal_server_error") {
|
|
547
547
|
if (this.config.numberOfValidateAttempts === this.config.maxValidationAttempts - 1) {
|
|
548
548
|
window.dispatchEvent(new CustomEvent("otpSetTimeout")), window.postMessage({
|
|
549
549
|
type: "WidgetNotification",
|
|
@@ -557,7 +557,7 @@ const ut = "en", Qe = {
|
|
|
557
557
|
this.hasErrors = !0, this.errorMessage = k("invalidOtp", this.language), this.triggerShakeAnimation(), this.getConfig();
|
|
558
558
|
return;
|
|
559
559
|
}
|
|
560
|
-
console.error("OTP submission failed:",
|
|
560
|
+
console.error("OTP submission failed:", i), this.hasErrors = !0, this.errorMessage = k("submissionError", this.language), this.triggerShakeAnimation();
|
|
561
561
|
} finally {
|
|
562
562
|
this.isLoading = !1, this.isValidating = !1;
|
|
563
563
|
}
|
|
@@ -614,9 +614,9 @@ const ut = "en", Qe = {
|
|
|
614
614
|
* Displays the OTP popup, input fields, timer, and action buttons.
|
|
615
615
|
*/
|
|
616
616
|
render() {
|
|
617
|
-
return p("div", { key: "
|
|
618
|
-
const
|
|
619
|
-
return p("input", { key: t, ref: (n) => this.setOtpInputRef(n, t), id: `otp-input-${t}`, type: "text", inputmode: this.mode, pattern: this.mode === "numeric" ? "[0-9]" : void 0, class: `otp-box ${
|
|
617
|
+
return p("div", { key: "fda28b7364d091f4a13bfea34e5687756cb00b39", ref: (e) => this.stylingContainer = e }, this.showPopup && p("div", { key: "0166357e829d1f6bc35b88ce1605ca72a691f447", class: "OtpPopupOverlay" }, p("div", { key: "4c616fdeb7d5624a972865e93b0e84778e668995", class: `OtpPopupContent ${this.shakeError ? "shake" : ""}` }, this.isLoading ? p("div", { class: "OtpLoaderContainer" }, p("span", { class: "OtpLoader" })) : this.hasConfigErrors ? p("div", { class: "OtpError" }, p("div", { class: "OtpErrorHeader" }, p("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" }, p("path", { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z" })), p("h2", null, k("errorHeader", this.language))), p("p", null, this.errorMessage), p("button", { class: "OtpButton error", onClick: this.manualClosePopup, "aria-label": k("close", this.language) }, k("close", this.language))) : p(We, null, p("div", { class: "otp-description" }, this.showResendOtp ? p("p", { class: "OtpNoticeMessage", role: "alert" }, k("otpExpiredMessage", this.language)) : p(We, null, p("p", { class: this.isLastWarning ? "LastWarningMessage" : "" }, k(this.isLastWarning ? "popupMessageLastWarning" : "popupMessage", this.language)), this.hasErrors && p("p", { class: "OtpErrorMessage", role: "alert" }, this.errorMessage))), p("div", { class: "OtpFieldWrapper" }, p("h2", null, k("otpHeading", this.language)), p("div", { class: "OtpField" }, this.otp.map((e, t) => {
|
|
618
|
+
const i = this.config.inputLength % 2 === 0 && t === this.config.inputLength / 2 - 1;
|
|
619
|
+
return p("input", { key: t, ref: (n) => this.setOtpInputRef(n, t), id: `otp-input-${t}`, type: "text", inputmode: this.mode, pattern: this.mode === "numeric" ? "[0-9]" : void 0, class: `otp-box ${i ? "space" : ""} ${e ? "filled" : ""} ${this.hasErrors ? "error" : ""}`, maxLength: 1, value: e, onInput: (n) => this.handleOtpInput(n, t), onKeyDown: (n) => this.handleKeyDown(n, t), onPaste: (n) => this.handleOnPasteOtp(n), disabled: this.inputDisabled, autoComplete: "off", "aria-label": `${k("otpDigit", this.language)} ${t + 1}`, "aria-invalid": this.hasErrors });
|
|
620
620
|
})), p("div", { class: "OtpTimerContainer" }, p("div", { class: `OtpTimer ${this.isLastWarning ? "warning" : ""} ${this.timeLeft < 60 ? "critical" : ""}`, role: "timer", "aria-live": "polite" }, p("svg", { class: "timer-icon", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" }, p("path", { d: "M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z" })), p("span", { class: "timer-text" }, this.formatTime(this.timeLeft), " ", k("minutes", this.language))))), this.isSuccess && p("div", { class: "OtpSuccessOverlay" }, p("svg", { class: "success-icon", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" }, p("path", { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z" })), p("span", null, k("otpVerified", this.language))), p("div", { class: "OtpActionButtons" }, this.showResendOtp ? p("button", { class: "OtpButton primary", onClick: this.handleResendOtp, disabled: this.isLoading, "aria-label": k("resendOtp", this.language) }, k("resendOtp", this.language)) : p("button", { class: `OtpButton primary ${this.isValidating ? "loading" : ""}`, onClick: this.submitOtp, disabled: this.otp.join("").length !== this.config.inputLength || this.isValidating || this.isLoading, "aria-label": k("submit", this.language), "aria-busy": this.isValidating }, this.isValidating ? p(We, null, p("span", { class: "button-spinner" }), p("span", { class: "button-text" }, k("verifying", this.language))) : p("span", { class: "button-text" }, k("submit", this.language))), p("button", { class: "OtpButton secondary", onClick: this.manualClosePopup, disabled: this.isValidating, "aria-label": k("close", this.language) }, k("close", this.language)))))));
|
|
621
621
|
}
|
|
622
622
|
get el() {
|
|
@@ -734,15 +734,15 @@ const ft = "en", gt = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es",
|
|
|
734
734
|
errorCode21123: "Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınıza para yatırma işlemi yapamayacağınızı bilgilerinize sunarız. Hata Kodu: 21123"
|
|
735
735
|
}
|
|
736
736
|
}, mt = (e) => new Promise((t) => {
|
|
737
|
-
fetch(e).then((
|
|
738
|
-
Object.keys(
|
|
739
|
-
for (let h in
|
|
740
|
-
Je[n][h] =
|
|
737
|
+
fetch(e).then((i) => i.json()).then((i) => {
|
|
738
|
+
Object.keys(i).forEach((n) => {
|
|
739
|
+
for (let h in i[n])
|
|
740
|
+
Je[n][h] = i[n][h];
|
|
741
741
|
}), t(!0);
|
|
742
742
|
});
|
|
743
743
|
}), Ce = (e, t) => {
|
|
744
|
-
const
|
|
745
|
-
return Je[
|
|
744
|
+
const i = t;
|
|
745
|
+
return Je[i !== void 0 && gt.includes(i) ? i : ft][e];
|
|
746
746
|
}, vt = (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)), yt = (e) => {
|
|
747
747
|
if (!e || typeof e != "string")
|
|
748
748
|
return !1;
|
|
@@ -751,18 +751,18 @@ const ft = "en", gt = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es",
|
|
|
751
751
|
};
|
|
752
752
|
var Ve = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, et = { exports: {} };
|
|
753
753
|
(function(e, t) {
|
|
754
|
-
(function(
|
|
754
|
+
(function(i, n) {
|
|
755
755
|
e.exports = n();
|
|
756
756
|
})(Ve, function() {
|
|
757
|
-
var
|
|
757
|
+
var i = 1e3, n = 6e4, h = 36e5, b = "millisecond", U = "second", P = "minute", E = "hour", L = "day", Se = "week", W = "month", Te = "quarter", q = "year", re = "date", v = "Invalid Date", Y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, ue = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, ce = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(g) {
|
|
758
758
|
var l = ["th", "st", "nd", "rd"], a = g % 100;
|
|
759
759
|
return "[" + g + (l[(a - 20) % 10] || l[a] || l[0]) + "]";
|
|
760
|
-
} },
|
|
760
|
+
} }, x = function(g, l, a) {
|
|
761
761
|
var u = String(g);
|
|
762
762
|
return !u || u.length >= l ? g : "" + Array(l + 1 - u.length).join(a) + g;
|
|
763
|
-
}, ie = { s:
|
|
763
|
+
}, ie = { s: x, z: function(g) {
|
|
764
764
|
var l = -g.utcOffset(), a = Math.abs(l), u = Math.floor(a / 60), s = a % 60;
|
|
765
|
-
return (l <= 0 ? "+" : "-") +
|
|
765
|
+
return (l <= 0 ? "+" : "-") + x(u, 2, "0") + ":" + x(s, 2, "0");
|
|
766
766
|
}, m: function g(l, a) {
|
|
767
767
|
if (l.date() < a.date())
|
|
768
768
|
return -g(a, l);
|
|
@@ -771,7 +771,7 @@ var Ve = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
771
771
|
}, a: function(g) {
|
|
772
772
|
return g < 0 ? Math.ceil(g) || 0 : Math.floor(g);
|
|
773
773
|
}, p: function(g) {
|
|
774
|
-
return { M: W, y: q, w: Se, d: L, D: re, h:
|
|
774
|
+
return { M: W, y: q, w: Se, d: L, D: re, h: E, m: P, s: U, ms: b, Q: Te }[g] || String(g || "").toLowerCase().replace(/s$/, "");
|
|
775
775
|
}, u: function(g) {
|
|
776
776
|
return g === void 0;
|
|
777
777
|
} }, ne = "en", Q = {};
|
|
@@ -863,9 +863,9 @@ var Ve = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
863
863
|
case L:
|
|
864
864
|
case re:
|
|
865
865
|
return R(be + "Hours", 0);
|
|
866
|
-
case
|
|
866
|
+
case E:
|
|
867
867
|
return R(be + "Minutes", 1);
|
|
868
|
-
case
|
|
868
|
+
case P:
|
|
869
869
|
return R(be + "Seconds", 2);
|
|
870
870
|
case U:
|
|
871
871
|
return R(be + "Milliseconds", 3);
|
|
@@ -875,7 +875,7 @@ var Ve = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
875
875
|
}, l.endOf = function(a) {
|
|
876
876
|
return this.startOf(a, !1);
|
|
877
877
|
}, l.$set = function(a, u) {
|
|
878
|
-
var s, m = M.p(a), y = "set" + (this.$u ? "UTC" : ""), T = (s = {}, s[L] = y + "Date", s[re] = y + "Date", s[W] = y + "Month", s[q] = y + "FullYear", s[
|
|
878
|
+
var s, m = M.p(a), y = "set" + (this.$u ? "UTC" : ""), T = (s = {}, s[L] = y + "Date", s[re] = y + "Date", s[W] = y + "Month", s[q] = y + "FullYear", s[E] = y + "Hours", s[P] = y + "Minutes", s[U] = y + "Seconds", s[b] = y + "Milliseconds", s)[m], R = m === L ? this.$D + (u - this.$W) : u;
|
|
879
879
|
if (m === W || m === q) {
|
|
880
880
|
var H = this.clone().set(re, 1);
|
|
881
881
|
H.$d[T](R), H.init(), this.$d = H.set(re, Math.min(this.$D, H.daysInMonth())).$d;
|
|
@@ -901,7 +901,7 @@ var Ve = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
901
901
|
return T(1);
|
|
902
902
|
if (y === Se)
|
|
903
903
|
return T(7);
|
|
904
|
-
var R = (s = {}, s[
|
|
904
|
+
var R = (s = {}, s[P] = n, s[E] = h, s[U] = i, s)[y] || 1, H = this.$d.getTime() + a * R;
|
|
905
905
|
return M.w(H, this);
|
|
906
906
|
}, l.subtract = function(a, u) {
|
|
907
907
|
return this.add(-1 * a, u);
|
|
@@ -994,14 +994,14 @@ var Ve = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
994
994
|
case L:
|
|
995
995
|
m = (N - H) / 864e5;
|
|
996
996
|
break;
|
|
997
|
-
case
|
|
997
|
+
case E:
|
|
998
998
|
m = N / h;
|
|
999
999
|
break;
|
|
1000
|
-
case
|
|
1000
|
+
case P:
|
|
1001
1001
|
m = N / n;
|
|
1002
1002
|
break;
|
|
1003
1003
|
case U:
|
|
1004
|
-
m = N /
|
|
1004
|
+
m = N / i;
|
|
1005
1005
|
break;
|
|
1006
1006
|
default:
|
|
1007
1007
|
m = N;
|
|
@@ -1028,7 +1028,7 @@ var Ve = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1028
1028
|
return this.$d.toUTCString();
|
|
1029
1029
|
}, g;
|
|
1030
1030
|
}(), Re = oe.prototype;
|
|
1031
|
-
return _.prototype = Re, [["$ms",
|
|
1031
|
+
return _.prototype = Re, [["$ms", b], ["$s", U], ["$m", P], ["$H", E], ["$W", L], ["$M", W], ["$y", q], ["$D", re]].forEach(function(g) {
|
|
1032
1032
|
Re[g[1]] = function(l) {
|
|
1033
1033
|
return this.$g(l, g[0], g[1]);
|
|
1034
1034
|
};
|
|
@@ -1042,35 +1042,35 @@ var Ve = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1042
1042
|
const tt = et.exports;
|
|
1043
1043
|
var rt = { exports: {} };
|
|
1044
1044
|
(function(e, t) {
|
|
1045
|
-
(function(
|
|
1045
|
+
(function(i, n) {
|
|
1046
1046
|
e.exports = n();
|
|
1047
1047
|
})(Ve, function() {
|
|
1048
|
-
var
|
|
1049
|
-
return function(
|
|
1050
|
-
var
|
|
1051
|
-
|
|
1048
|
+
var i = "minute", n = /[+-]\d\d(?::?\d\d)?/g, h = /([+-]|\d\d)/g;
|
|
1049
|
+
return function(b, U, P) {
|
|
1050
|
+
var E = U.prototype;
|
|
1051
|
+
P.utc = function(v) {
|
|
1052
1052
|
var Y = { date: v, utc: !0, args: arguments };
|
|
1053
1053
|
return new U(Y);
|
|
1054
|
-
},
|
|
1055
|
-
var Y =
|
|
1056
|
-
return v ? Y.add(this.utcOffset(),
|
|
1057
|
-
},
|
|
1058
|
-
return
|
|
1054
|
+
}, E.utc = function(v) {
|
|
1055
|
+
var Y = P(this.toDate(), { locale: this.$L, utc: !0 });
|
|
1056
|
+
return v ? Y.add(this.utcOffset(), i) : Y;
|
|
1057
|
+
}, E.local = function() {
|
|
1058
|
+
return P(this.toDate(), { locale: this.$L, utc: !1 });
|
|
1059
1059
|
};
|
|
1060
|
-
var L =
|
|
1061
|
-
|
|
1060
|
+
var L = E.parse;
|
|
1061
|
+
E.parse = function(v) {
|
|
1062
1062
|
v.utc && (this.$u = !0), this.$utils().u(v.$offset) || (this.$offset = v.$offset), L.call(this, v);
|
|
1063
1063
|
};
|
|
1064
|
-
var Se =
|
|
1065
|
-
|
|
1064
|
+
var Se = E.init;
|
|
1065
|
+
E.init = function() {
|
|
1066
1066
|
if (this.$u) {
|
|
1067
1067
|
var v = this.$d;
|
|
1068
1068
|
this.$y = v.getUTCFullYear(), this.$M = v.getUTCMonth(), this.$D = v.getUTCDate(), this.$W = v.getUTCDay(), this.$H = v.getUTCHours(), this.$m = v.getUTCMinutes(), this.$s = v.getUTCSeconds(), this.$ms = v.getUTCMilliseconds();
|
|
1069
1069
|
} else
|
|
1070
1070
|
Se.call(this);
|
|
1071
1071
|
};
|
|
1072
|
-
var W =
|
|
1073
|
-
|
|
1072
|
+
var W = E.utcOffset;
|
|
1073
|
+
E.utcOffset = function(v, Y) {
|
|
1074
1074
|
var ue = this.$utils().u;
|
|
1075
1075
|
if (ue(v))
|
|
1076
1076
|
return this.$u ? 0 : ue(this.$offset) ? W.call(this) : this.$offset;
|
|
@@ -1083,40 +1083,40 @@ var rt = { exports: {} };
|
|
|
1083
1083
|
return ae === 0 ? 0 : Ee === "+" ? ae : -ae;
|
|
1084
1084
|
}(v), v === null))
|
|
1085
1085
|
return this;
|
|
1086
|
-
var ce = Math.abs(v) <= 16 ? 60 * v : v,
|
|
1086
|
+
var ce = Math.abs(v) <= 16 ? 60 * v : v, x = this;
|
|
1087
1087
|
if (Y)
|
|
1088
|
-
return
|
|
1088
|
+
return x.$offset = ce, x.$u = v === 0, x;
|
|
1089
1089
|
if (v !== 0) {
|
|
1090
1090
|
var ie = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
1091
|
-
(
|
|
1091
|
+
(x = this.local().add(ce + ie, i)).$offset = ce, x.$x.$localOffset = ie;
|
|
1092
1092
|
} else
|
|
1093
|
-
|
|
1094
|
-
return
|
|
1093
|
+
x = this.utc();
|
|
1094
|
+
return x;
|
|
1095
1095
|
};
|
|
1096
|
-
var Te =
|
|
1097
|
-
|
|
1096
|
+
var Te = E.format;
|
|
1097
|
+
E.format = function(v) {
|
|
1098
1098
|
var Y = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
1099
1099
|
return Te.call(this, Y);
|
|
1100
|
-
},
|
|
1100
|
+
}, E.valueOf = function() {
|
|
1101
1101
|
var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
1102
1102
|
return this.$d.valueOf() - 6e4 * v;
|
|
1103
|
-
},
|
|
1103
|
+
}, E.isUTC = function() {
|
|
1104
1104
|
return !!this.$u;
|
|
1105
|
-
},
|
|
1105
|
+
}, E.toISOString = function() {
|
|
1106
1106
|
return this.toDate().toISOString();
|
|
1107
|
-
},
|
|
1107
|
+
}, E.toString = function() {
|
|
1108
1108
|
return this.toDate().toUTCString();
|
|
1109
1109
|
};
|
|
1110
|
-
var q =
|
|
1111
|
-
|
|
1112
|
-
return v === "s" && this.$offset ?
|
|
1110
|
+
var q = E.toDate;
|
|
1111
|
+
E.toDate = function(v) {
|
|
1112
|
+
return v === "s" && this.$offset ? P(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : q.call(this);
|
|
1113
1113
|
};
|
|
1114
|
-
var re =
|
|
1115
|
-
|
|
1114
|
+
var re = E.diff;
|
|
1115
|
+
E.diff = function(v, Y, ue) {
|
|
1116
1116
|
if (v && this.$u === v.$u)
|
|
1117
1117
|
return re.call(this, v, Y, ue);
|
|
1118
|
-
var ce = this.local(),
|
|
1119
|
-
return re.call(ce,
|
|
1118
|
+
var ce = this.local(), x = P(v).local();
|
|
1119
|
+
return re.call(ce, x, Y, ue);
|
|
1120
1120
|
};
|
|
1121
1121
|
};
|
|
1122
1122
|
});
|
|
@@ -1129,23 +1129,23 @@ var je = { exports: {} };
|
|
|
1129
1129
|
* https://github.com/Yaffle/EventSource/
|
|
1130
1130
|
*/
|
|
1131
1131
|
(function(e, t) {
|
|
1132
|
-
(function(
|
|
1133
|
-
var n =
|
|
1134
|
-
if (typeof window != "undefined" && typeof L != "undefined" && !("readyState" in L) && L.body == null && (L.readyState = "loading", window.addEventListener("load", function(
|
|
1132
|
+
(function(i) {
|
|
1133
|
+
var n = i.setTimeout, h = i.clearTimeout, b = i.XMLHttpRequest, U = i.XDomainRequest, P = i.ActiveXObject, E = i.EventSource, L = i.document, Se = i.Promise, W = i.fetch, Te = i.Response, q = i.TextDecoder, re = i.TextEncoder, v = i.AbortController;
|
|
1134
|
+
if (typeof window != "undefined" && typeof L != "undefined" && !("readyState" in L) && L.body == null && (L.readyState = "loading", window.addEventListener("load", function(r) {
|
|
1135
1135
|
L.readyState = "complete";
|
|
1136
|
-
}, !1)),
|
|
1137
|
-
return new
|
|
1138
|
-
}), Object.create == null && (Object.create = function(
|
|
1136
|
+
}, !1)), b == null && P != null && (b = function() {
|
|
1137
|
+
return new P("Microsoft.XMLHTTP");
|
|
1138
|
+
}), Object.create == null && (Object.create = function(r) {
|
|
1139
1139
|
function d() {
|
|
1140
1140
|
}
|
|
1141
|
-
return d.prototype =
|
|
1141
|
+
return d.prototype = r, new d();
|
|
1142
1142
|
}), Date.now || (Date.now = function() {
|
|
1143
1143
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
1144
1144
|
}), v == null) {
|
|
1145
1145
|
var Y = W;
|
|
1146
|
-
W = function(
|
|
1146
|
+
W = function(r, d) {
|
|
1147
1147
|
var c = d.signal;
|
|
1148
|
-
return Y(
|
|
1148
|
+
return Y(r, { headers: d.headers, credentials: d.credentials, cache: d.cache }).then(function(o) {
|
|
1149
1149
|
var w = o.body.getReader();
|
|
1150
1150
|
return c._reader = w, c._aborted && c._reader.cancel(), {
|
|
1151
1151
|
status: o.status,
|
|
@@ -1170,27 +1170,27 @@ var je = { exports: {} };
|
|
|
1170
1170
|
function ue() {
|
|
1171
1171
|
this.bitsNeeded = 0, this.codePoint = 0;
|
|
1172
1172
|
}
|
|
1173
|
-
ue.prototype.decode = function(
|
|
1174
|
-
function d(D,
|
|
1173
|
+
ue.prototype.decode = function(r) {
|
|
1174
|
+
function d(D, A, S) {
|
|
1175
1175
|
if (S === 1)
|
|
1176
|
-
return D >= 128 >>
|
|
1176
|
+
return D >= 128 >> A && D << A <= 2047;
|
|
1177
1177
|
if (S === 2)
|
|
1178
|
-
return D >= 2048 >>
|
|
1178
|
+
return D >= 2048 >> A && D << A <= 55295 || D >= 57344 >> A && D << A <= 65535;
|
|
1179
1179
|
if (S === 3)
|
|
1180
|
-
return D >= 65536 >>
|
|
1180
|
+
return D >= 65536 >> A && D << A <= 1114111;
|
|
1181
1181
|
throw new Error();
|
|
1182
1182
|
}
|
|
1183
|
-
function c(D,
|
|
1183
|
+
function c(D, A) {
|
|
1184
1184
|
if (D === 6 * 1)
|
|
1185
|
-
return
|
|
1185
|
+
return A >> 6 > 15 ? 3 : A > 31 ? 2 : 1;
|
|
1186
1186
|
if (D === 6 * 2)
|
|
1187
|
-
return
|
|
1187
|
+
return A > 15 ? 3 : 2;
|
|
1188
1188
|
if (D === 6 * 3)
|
|
1189
1189
|
return 3;
|
|
1190
1190
|
throw new Error();
|
|
1191
1191
|
}
|
|
1192
|
-
for (var o = 65533, w = "", f = this.bitsNeeded, C = this.codePoint, $ = 0; $ <
|
|
1193
|
-
var O =
|
|
1192
|
+
for (var o = 65533, w = "", f = this.bitsNeeded, C = this.codePoint, $ = 0; $ < r.length; $ += 1) {
|
|
1193
|
+
var O = r[$];
|
|
1194
1194
|
f !== 0 && (O < 128 || O > 191 || !d(C << 6 | O & 63, f - 6, c(f, C))) && (f = 0, C = o, w += String.fromCharCode(C)), f === 0 ? (O >= 0 && O <= 127 ? (f = 0, C = O) : O >= 192 && O <= 223 ? (f = 6 * 1, C = O & 31) : O >= 224 && O <= 239 ? (f = 6 * 2, C = O & 15) : O >= 240 && O <= 247 ? (f = 6 * 3, C = O & 7) : (f = 0, C = o), f !== 0 && !d(C, f, c(f, C)) && (f = 0, C = o)) : (f -= 6, C = C << 6 | O & 63), f === 0 && (C <= 65535 ? w += String.fromCharCode(C) : (w += String.fromCharCode(55296 + (C - 65535 - 1 >> 10)), w += String.fromCharCode(56320 + (C - 65535 - 1 & 1023))));
|
|
1195
1195
|
}
|
|
1196
1196
|
return this.bitsNeeded = f, this.codePoint = C, w;
|
|
@@ -1198,22 +1198,22 @@ var je = { exports: {} };
|
|
|
1198
1198
|
var ce = function() {
|
|
1199
1199
|
try {
|
|
1200
1200
|
return new q().decode(new re().encode("test"), { stream: !0 }) === "test";
|
|
1201
|
-
} catch (
|
|
1202
|
-
console.debug("TextDecoder does not support streaming option. Using polyfill instead: " +
|
|
1201
|
+
} catch (r) {
|
|
1202
|
+
console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + r);
|
|
1203
1203
|
}
|
|
1204
1204
|
return !1;
|
|
1205
1205
|
};
|
|
1206
1206
|
(q == null || re == null || !ce()) && (q = ue);
|
|
1207
|
-
var
|
|
1207
|
+
var x = function() {
|
|
1208
1208
|
};
|
|
1209
|
-
function ie(
|
|
1210
|
-
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress =
|
|
1209
|
+
function ie(r) {
|
|
1210
|
+
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = x, this.onload = x, this.onerror = x, this.onreadystatechange = x, this._contentType = "", this._xhr = r, this._sendTimeout = 0, this._abort = x;
|
|
1211
1211
|
}
|
|
1212
|
-
ie.prototype.open = function(
|
|
1212
|
+
ie.prototype.open = function(r, d) {
|
|
1213
1213
|
this._abort(!0);
|
|
1214
1214
|
var c = this, o = this._xhr, w = 1, f = 0;
|
|
1215
1215
|
this._abort = function(S) {
|
|
1216
|
-
c._sendTimeout !== 0 && (h(c._sendTimeout), c._sendTimeout = 0), (w === 1 || w === 2 || w === 3) && (w = 4, o.onload =
|
|
1216
|
+
c._sendTimeout !== 0 && (h(c._sendTimeout), c._sendTimeout = 0), (w === 1 || w === 2 || w === 3) && (w = 4, o.onload = x, o.onerror = x, o.onabort = x, o.onprogress = x, o.onreadystatechange = x, o.abort(), f !== 0 && (h(f), f = 0), S || (c.readyState = 4, c.onabort(null), c.onreadystatechange())), w = 0;
|
|
1217
1217
|
};
|
|
1218
1218
|
var C = function() {
|
|
1219
1219
|
if (w === 1) {
|
|
@@ -1240,7 +1240,7 @@ var je = { exports: {} };
|
|
|
1240
1240
|
}
|
|
1241
1241
|
}, O = function(S, I) {
|
|
1242
1242
|
if ((I == null || I.preventDefault == null) && (I = {
|
|
1243
|
-
preventDefault:
|
|
1243
|
+
preventDefault: x
|
|
1244
1244
|
}), $(), w === 1 || w === 2 || w === 3) {
|
|
1245
1245
|
if (w = 4, f !== 0 && (h(f), f = 0), c.readyState = 4, S === "load")
|
|
1246
1246
|
c.onload(I);
|
|
@@ -1254,9 +1254,9 @@ var je = { exports: {} };
|
|
|
1254
1254
|
}
|
|
1255
1255
|
}, D = function(S) {
|
|
1256
1256
|
o != null && (o.readyState === 4 ? (!("onload" in o) || !("onerror" in o) || !("onabort" in o)) && O(o.responseText === "" ? "error" : "load", S) : o.readyState === 3 ? "onprogress" in o || $() : o.readyState === 2 && C());
|
|
1257
|
-
},
|
|
1257
|
+
}, A = function() {
|
|
1258
1258
|
f = n(function() {
|
|
1259
|
-
|
|
1259
|
+
A();
|
|
1260
1260
|
}, 500), o.readyState === 3 && $();
|
|
1261
1261
|
};
|
|
1262
1262
|
"onload" in o && (o.onload = function(S) {
|
|
@@ -1267,23 +1267,23 @@ var je = { exports: {} };
|
|
|
1267
1267
|
O("abort", S);
|
|
1268
1268
|
}), "onprogress" in o && (o.onprogress = $), "onreadystatechange" in o && (o.onreadystatechange = function(S) {
|
|
1269
1269
|
D(S);
|
|
1270
|
-
}), ("contentType" in o || !("ontimeout" in
|
|
1271
|
-
|
|
1270
|
+
}), ("contentType" in o || !("ontimeout" in b.prototype)) && (d += (d.indexOf("?") === -1 ? "?" : "&") + "padding=true"), o.open(r, d, !0), "readyState" in o && (f = n(function() {
|
|
1271
|
+
A();
|
|
1272
1272
|
}, 0));
|
|
1273
1273
|
}, ie.prototype.abort = function() {
|
|
1274
1274
|
this._abort(!1);
|
|
1275
|
-
}, ie.prototype.getResponseHeader = function(
|
|
1275
|
+
}, ie.prototype.getResponseHeader = function(r) {
|
|
1276
1276
|
return this._contentType;
|
|
1277
|
-
}, ie.prototype.setRequestHeader = function(
|
|
1277
|
+
}, ie.prototype.setRequestHeader = function(r, d) {
|
|
1278
1278
|
var c = this._xhr;
|
|
1279
|
-
"setRequestHeader" in c && c.setRequestHeader(
|
|
1279
|
+
"setRequestHeader" in c && c.setRequestHeader(r, d);
|
|
1280
1280
|
}, ie.prototype.getAllResponseHeaders = function() {
|
|
1281
1281
|
return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
|
|
1282
1282
|
}, ie.prototype.send = function() {
|
|
1283
|
-
if ((!("ontimeout" in
|
|
1284
|
-
var
|
|
1285
|
-
|
|
1286
|
-
|
|
1283
|
+
if ((!("ontimeout" in b.prototype) || !("sendAsBinary" in b.prototype) && !("mozAnon" in b.prototype)) && L != null && L.readyState != null && L.readyState !== "complete") {
|
|
1284
|
+
var r = this;
|
|
1285
|
+
r._sendTimeout = n(function() {
|
|
1286
|
+
r._sendTimeout = 0, r.send();
|
|
1287
1287
|
}, 4);
|
|
1288
1288
|
return;
|
|
1289
1289
|
}
|
|
@@ -1295,56 +1295,56 @@ var je = { exports: {} };
|
|
|
1295
1295
|
throw c;
|
|
1296
1296
|
}
|
|
1297
1297
|
};
|
|
1298
|
-
function ne(
|
|
1299
|
-
return
|
|
1298
|
+
function ne(r) {
|
|
1299
|
+
return r.replace(/[A-Z]/g, function(d) {
|
|
1300
1300
|
return String.fromCharCode(d.charCodeAt(0) + 32);
|
|
1301
1301
|
});
|
|
1302
1302
|
}
|
|
1303
|
-
function Q(
|
|
1304
|
-
for (var d = /* @__PURE__ */ Object.create(null), c =
|
|
1303
|
+
function Q(r) {
|
|
1304
|
+
for (var d = /* @__PURE__ */ Object.create(null), c = r.split(`\r
|
|
1305
1305
|
`), o = 0; o < c.length; o += 1) {
|
|
1306
1306
|
var w = c[o], f = w.split(": "), C = f.shift(), $ = f.join(": ");
|
|
1307
1307
|
d[ne(C)] = $;
|
|
1308
1308
|
}
|
|
1309
1309
|
this._map = d;
|
|
1310
1310
|
}
|
|
1311
|
-
Q.prototype.get = function(
|
|
1312
|
-
return this._map[ne(
|
|
1313
|
-
},
|
|
1311
|
+
Q.prototype.get = function(r) {
|
|
1312
|
+
return this._map[ne(r)];
|
|
1313
|
+
}, b != null && b.HEADERS_RECEIVED == null && (b.HEADERS_RECEIVED = 2);
|
|
1314
1314
|
function he() {
|
|
1315
1315
|
}
|
|
1316
|
-
he.prototype.open = function(
|
|
1317
|
-
|
|
1316
|
+
he.prototype.open = function(r, d, c, o, w, f, C) {
|
|
1317
|
+
r.open("GET", w);
|
|
1318
1318
|
var $ = 0;
|
|
1319
|
-
|
|
1320
|
-
var D =
|
|
1321
|
-
$ +=
|
|
1322
|
-
},
|
|
1319
|
+
r.onprogress = function() {
|
|
1320
|
+
var D = r.responseText, A = D.slice($);
|
|
1321
|
+
$ += A.length, c(A);
|
|
1322
|
+
}, r.onerror = function(D) {
|
|
1323
1323
|
D.preventDefault(), o(new Error("NetworkError"));
|
|
1324
|
-
},
|
|
1324
|
+
}, r.onload = function() {
|
|
1325
1325
|
o(null);
|
|
1326
|
-
},
|
|
1326
|
+
}, r.onabort = function() {
|
|
1327
1327
|
o(null);
|
|
1328
|
-
},
|
|
1329
|
-
if (
|
|
1330
|
-
var D =
|
|
1331
|
-
d(D,
|
|
1328
|
+
}, r.onreadystatechange = function() {
|
|
1329
|
+
if (r.readyState === b.HEADERS_RECEIVED) {
|
|
1330
|
+
var D = r.status, A = r.statusText, S = r.getResponseHeader("Content-Type"), I = r.getAllResponseHeaders();
|
|
1331
|
+
d(D, A, S, new Q(I));
|
|
1332
1332
|
}
|
|
1333
|
-
},
|
|
1333
|
+
}, r.withCredentials = f;
|
|
1334
1334
|
for (var O in C)
|
|
1335
|
-
Object.prototype.hasOwnProperty.call(C, O) &&
|
|
1336
|
-
return
|
|
1335
|
+
Object.prototype.hasOwnProperty.call(C, O) && r.setRequestHeader(O, C[O]);
|
|
1336
|
+
return r.send(), r;
|
|
1337
1337
|
};
|
|
1338
|
-
function Ee(
|
|
1339
|
-
this._headers =
|
|
1338
|
+
function Ee(r) {
|
|
1339
|
+
this._headers = r;
|
|
1340
1340
|
}
|
|
1341
|
-
Ee.prototype.get = function(
|
|
1342
|
-
return this._headers.get(
|
|
1341
|
+
Ee.prototype.get = function(r) {
|
|
1342
|
+
return this._headers.get(r);
|
|
1343
1343
|
};
|
|
1344
1344
|
function ae() {
|
|
1345
1345
|
}
|
|
1346
|
-
ae.prototype.open = function(
|
|
1347
|
-
var $ = null, O = new v(), D = O.signal,
|
|
1346
|
+
ae.prototype.open = function(r, d, c, o, w, f, C) {
|
|
1347
|
+
var $ = null, O = new v(), D = O.signal, A = new q();
|
|
1348
1348
|
return W(w, {
|
|
1349
1349
|
headers: C,
|
|
1350
1350
|
credentials: f ? "include" : "same-origin",
|
|
@@ -1357,7 +1357,7 @@ var je = { exports: {} };
|
|
|
1357
1357
|
if (J.done)
|
|
1358
1358
|
I(void 0);
|
|
1359
1359
|
else {
|
|
1360
|
-
var G =
|
|
1360
|
+
var G = A.decode(J.value, { stream: !0 });
|
|
1361
1361
|
c(G), ke();
|
|
1362
1362
|
}
|
|
1363
1363
|
}).catch(function(J) {
|
|
@@ -1380,85 +1380,85 @@ var je = { exports: {} };
|
|
|
1380
1380
|
function _() {
|
|
1381
1381
|
this._listeners = /* @__PURE__ */ Object.create(null);
|
|
1382
1382
|
}
|
|
1383
|
-
function M(
|
|
1383
|
+
function M(r) {
|
|
1384
1384
|
n(function() {
|
|
1385
|
-
throw
|
|
1385
|
+
throw r;
|
|
1386
1386
|
}, 0);
|
|
1387
1387
|
}
|
|
1388
|
-
_.prototype.dispatchEvent = function(
|
|
1389
|
-
|
|
1390
|
-
var d = this._listeners[
|
|
1388
|
+
_.prototype.dispatchEvent = function(r) {
|
|
1389
|
+
r.target = this;
|
|
1390
|
+
var d = this._listeners[r.type];
|
|
1391
1391
|
if (d != null)
|
|
1392
1392
|
for (var c = d.length, o = 0; o < c; o += 1) {
|
|
1393
1393
|
var w = d[o];
|
|
1394
1394
|
try {
|
|
1395
|
-
typeof w.handleEvent == "function" ? w.handleEvent(
|
|
1395
|
+
typeof w.handleEvent == "function" ? w.handleEvent(r) : w.call(this, r);
|
|
1396
1396
|
} catch (f) {
|
|
1397
1397
|
M(f);
|
|
1398
1398
|
}
|
|
1399
1399
|
}
|
|
1400
|
-
}, _.prototype.addEventListener = function(
|
|
1401
|
-
|
|
1402
|
-
var c = this._listeners, o = c[
|
|
1403
|
-
o == null && (o = [], c[
|
|
1400
|
+
}, _.prototype.addEventListener = function(r, d) {
|
|
1401
|
+
r = String(r);
|
|
1402
|
+
var c = this._listeners, o = c[r];
|
|
1403
|
+
o == null && (o = [], c[r] = o);
|
|
1404
1404
|
for (var w = !1, f = 0; f < o.length; f += 1)
|
|
1405
1405
|
o[f] === d && (w = !0);
|
|
1406
1406
|
w || o.push(d);
|
|
1407
|
-
}, _.prototype.removeEventListener = function(
|
|
1408
|
-
|
|
1409
|
-
var c = this._listeners, o = c[
|
|
1407
|
+
}, _.prototype.removeEventListener = function(r, d) {
|
|
1408
|
+
r = String(r);
|
|
1409
|
+
var c = this._listeners, o = c[r];
|
|
1410
1410
|
if (o != null) {
|
|
1411
1411
|
for (var w = [], f = 0; f < o.length; f += 1)
|
|
1412
1412
|
o[f] !== d && w.push(o[f]);
|
|
1413
|
-
w.length === 0 ? delete c[
|
|
1413
|
+
w.length === 0 ? delete c[r] : c[r] = w;
|
|
1414
1414
|
}
|
|
1415
1415
|
};
|
|
1416
|
-
function oe(
|
|
1417
|
-
this.type =
|
|
1416
|
+
function oe(r) {
|
|
1417
|
+
this.type = r, this.target = void 0;
|
|
1418
1418
|
}
|
|
1419
|
-
function Re(
|
|
1420
|
-
oe.call(this,
|
|
1419
|
+
function Re(r, d) {
|
|
1420
|
+
oe.call(this, r), this.data = d.data, this.lastEventId = d.lastEventId;
|
|
1421
1421
|
}
|
|
1422
1422
|
Re.prototype = Object.create(oe.prototype);
|
|
1423
|
-
function g(
|
|
1424
|
-
oe.call(this,
|
|
1423
|
+
function g(r, d) {
|
|
1424
|
+
oe.call(this, r), this.status = d.status, this.statusText = d.statusText, this.headers = d.headers;
|
|
1425
1425
|
}
|
|
1426
1426
|
g.prototype = Object.create(oe.prototype);
|
|
1427
|
-
function l(
|
|
1428
|
-
oe.call(this,
|
|
1427
|
+
function l(r, d) {
|
|
1428
|
+
oe.call(this, r), this.error = d.error;
|
|
1429
1429
|
}
|
|
1430
1430
|
l.prototype = Object.create(oe.prototype);
|
|
1431
|
-
var a = -1, u = 0, s = 1, m = 2, y = -1, T = 0, R = 1, H = 2, N = 3, Z = /^text\/event\-stream(;.*)?$/i, be = 1e3, pe = 18e6, fe = function(
|
|
1432
|
-
var c =
|
|
1431
|
+
var a = -1, u = 0, s = 1, m = 2, y = -1, T = 0, R = 1, H = 2, N = 3, Z = /^text\/event\-stream(;.*)?$/i, be = 1e3, pe = 18e6, fe = function(r, d) {
|
|
1432
|
+
var c = r == null ? d : parseInt(r, 10);
|
|
1433
1433
|
return c !== c && (c = d), se(c);
|
|
1434
|
-
}, se = function(
|
|
1435
|
-
return Math.min(Math.max(
|
|
1436
|
-
}, j = function(
|
|
1434
|
+
}, se = function(r) {
|
|
1435
|
+
return Math.min(Math.max(r, be), pe);
|
|
1436
|
+
}, j = function(r, d, c) {
|
|
1437
1437
|
try {
|
|
1438
|
-
typeof d == "function" && d.call(
|
|
1438
|
+
typeof d == "function" && d.call(r, c);
|
|
1439
1439
|
} catch (o) {
|
|
1440
1440
|
M(o);
|
|
1441
1441
|
}
|
|
1442
1442
|
};
|
|
1443
|
-
function z(
|
|
1444
|
-
_.call(this), d = d || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, it(this,
|
|
1443
|
+
function z(r, d) {
|
|
1444
|
+
_.call(this), d = d || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, it(this, r, d);
|
|
1445
1445
|
}
|
|
1446
1446
|
function Oe() {
|
|
1447
|
-
return
|
|
1447
|
+
return b != null && "withCredentials" in b.prototype || U == null ? new b() : new U();
|
|
1448
1448
|
}
|
|
1449
1449
|
var De = W != null && Te != null && "body" in Te.prototype;
|
|
1450
|
-
function it(
|
|
1450
|
+
function it(r, d, c) {
|
|
1451
1451
|
d = String(d);
|
|
1452
|
-
var o = !!c.withCredentials, w = c.lastEventIdQueryParameterName || "lastEventId", f = se(1e3), C = fe(c.heartbeatTimeout, 45e3), $ = "", O = f, D = !1,
|
|
1452
|
+
var o = !!c.withCredentials, w = c.lastEventIdQueryParameterName || "lastEventId", f = se(1e3), C = fe(c.heartbeatTimeout, 45e3), $ = "", O = f, D = !1, A = 0, S = c.headers || {}, I = c.Transport, ge = De && I == null ? void 0 : new ie(I != null ? new I() : Oe()), ke = I != null && typeof I != "string" ? new I() : ge == null ? new ae() : new he(), J = void 0, G = 0, de = a, Pe = "", Le = "", me = "", $e = "", X = T, ze = 0, Me = 0, nt = function(V, F, ee, te) {
|
|
1453
1453
|
if (de === u)
|
|
1454
1454
|
if (V === 200 && ee != null && Z.test(ee)) {
|
|
1455
|
-
de = s, D = Date.now(), O = f,
|
|
1455
|
+
de = s, D = Date.now(), O = f, r.readyState = s;
|
|
1456
1456
|
var K = new g("open", {
|
|
1457
1457
|
status: V,
|
|
1458
1458
|
statusText: F,
|
|
1459
1459
|
headers: te
|
|
1460
1460
|
});
|
|
1461
|
-
|
|
1461
|
+
r.dispatchEvent(K), j(r, r.onopen, K);
|
|
1462
1462
|
} else {
|
|
1463
1463
|
var B = "";
|
|
1464
1464
|
V !== 200 ? (F && (F = F.replace(/\s+/g, " ")), B = "EventSource's response has a status " + V + " " + F + " that is not 200. Aborting the connection.") : B = "EventSource's response has a Content-Type specifying an unsupported type: " + (ee == null ? "-" : ee.replace(/\s+/g, " ")) + ". Aborting the connection.", Fe();
|
|
@@ -1467,7 +1467,7 @@ var je = { exports: {} };
|
|
|
1467
1467
|
statusText: F,
|
|
1468
1468
|
headers: te
|
|
1469
1469
|
});
|
|
1470
|
-
|
|
1470
|
+
r.dispatchEvent(K), j(r, r.onerror, K), console.error(B);
|
|
1471
1471
|
}
|
|
1472
1472
|
}, at = function(V) {
|
|
1473
1473
|
if (de === s) {
|
|
@@ -1476,7 +1476,7 @@ var je = { exports: {} };
|
|
|
1476
1476
|
(te === 10 || te === 13) && (F = ee);
|
|
1477
1477
|
}
|
|
1478
1478
|
var K = (F !== -1 ? $e : "") + V.slice(0, F + 1);
|
|
1479
|
-
$e = (F === -1 ? $e : "") + V.slice(F + 1), V !== "" && (D = Date.now(),
|
|
1479
|
+
$e = (F === -1 ? $e : "") + V.slice(F + 1), V !== "" && (D = Date.now(), A += V.length);
|
|
1480
1480
|
for (var B = 0; B < K.length; B += 1) {
|
|
1481
1481
|
var te = K.charCodeAt(B);
|
|
1482
1482
|
if (X === y && te === 10)
|
|
@@ -1493,11 +1493,11 @@ var je = { exports: {} };
|
|
|
1493
1493
|
if (X === T) {
|
|
1494
1494
|
if (Pe !== "") {
|
|
1495
1495
|
$ = Le, me === "" && (me = "message");
|
|
1496
|
-
var
|
|
1496
|
+
var Ae = new Re(me, {
|
|
1497
1497
|
data: Pe.slice(1),
|
|
1498
1498
|
lastEventId: Le
|
|
1499
1499
|
});
|
|
1500
|
-
if (
|
|
1500
|
+
if (r.dispatchEvent(Ae), me === "open" ? j(r, r.onopen, Ae) : me === "message" ? j(r, r.onmessage, Ae) : me === "error" && j(r, r.onerror, Ae), de === m)
|
|
1501
1501
|
return;
|
|
1502
1502
|
}
|
|
1503
1503
|
Pe = "", me = "";
|
|
@@ -1511,16 +1511,16 @@ var je = { exports: {} };
|
|
|
1511
1511
|
if (de === s || de === u) {
|
|
1512
1512
|
de = a, G !== 0 && (h(G), G = 0), G = n(function() {
|
|
1513
1513
|
_e();
|
|
1514
|
-
}, O), O = se(Math.min(f * 16, O * 2)),
|
|
1514
|
+
}, O), O = se(Math.min(f * 16, O * 2)), r.readyState = u;
|
|
1515
1515
|
var F = new l("error", { error: V });
|
|
1516
|
-
|
|
1516
|
+
r.dispatchEvent(F), j(r, r.onerror, F), V != null && console.error(V);
|
|
1517
1517
|
}
|
|
1518
1518
|
}, Fe = function() {
|
|
1519
|
-
de = m, J != null && (J.abort(), J = void 0), G !== 0 && (h(G), G = 0),
|
|
1519
|
+
de = m, J != null && (J.abort(), J = void 0), G !== 0 && (h(G), G = 0), r.readyState = m;
|
|
1520
1520
|
}, _e = function() {
|
|
1521
1521
|
if (G = 0, de !== a) {
|
|
1522
1522
|
if (!D && J != null)
|
|
1523
|
-
qe(new Error("No activity within " + C + " milliseconds. " + (de === u ? "No response received." :
|
|
1523
|
+
qe(new Error("No activity within " + C + " milliseconds. " + (de === u ? "No response received." : A + " chars received.") + " Reconnecting.")), J != null && (J.abort(), J = void 0);
|
|
1524
1524
|
else {
|
|
1525
1525
|
var V = Math.max((D || Date.now()) + C - Date.now(), 1);
|
|
1526
1526
|
D = !1, G = n(function() {
|
|
@@ -1529,19 +1529,19 @@ var je = { exports: {} };
|
|
|
1529
1529
|
}
|
|
1530
1530
|
return;
|
|
1531
1531
|
}
|
|
1532
|
-
D = !1,
|
|
1532
|
+
D = !1, A = 0, G = n(function() {
|
|
1533
1533
|
_e();
|
|
1534
1534
|
}, C), de = u, Pe = "", me = "", Le = $, $e = "", ze = 0, Me = 0, X = T;
|
|
1535
1535
|
var F = d;
|
|
1536
1536
|
if (d.slice(0, 5) !== "data:" && d.slice(0, 5) !== "blob:" && $ !== "") {
|
|
1537
1537
|
var ee = d.indexOf("?");
|
|
1538
|
-
F = ee === -1 ? d : d.slice(0, ee + 1) + d.slice(ee + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(ye,
|
|
1539
|
-
return
|
|
1538
|
+
F = ee === -1 ? d : d.slice(0, ee + 1) + d.slice(ee + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(ye, Ae) {
|
|
1539
|
+
return Ae === w ? "" : ye;
|
|
1540
1540
|
}), F += (d.indexOf("?") === -1 ? "?" : "&") + w + "=" + encodeURIComponent($);
|
|
1541
1541
|
}
|
|
1542
|
-
var te =
|
|
1542
|
+
var te = r.withCredentials, K = {};
|
|
1543
1543
|
K.Accept = "text/event-stream";
|
|
1544
|
-
var B =
|
|
1544
|
+
var B = r.headers;
|
|
1545
1545
|
if (B != null)
|
|
1546
1546
|
for (var ve in B)
|
|
1547
1547
|
Object.prototype.hasOwnProperty.call(B, ve) && (K[ve] = B[ve]);
|
|
@@ -1551,19 +1551,19 @@ var je = { exports: {} };
|
|
|
1551
1551
|
throw Fe(), ye;
|
|
1552
1552
|
}
|
|
1553
1553
|
};
|
|
1554
|
-
|
|
1554
|
+
r.url = d, r.readyState = u, r.withCredentials = o, r.headers = S, r._close = Fe, _e();
|
|
1555
1555
|
}
|
|
1556
1556
|
z.prototype = Object.create(_.prototype), z.prototype.CONNECTING = u, z.prototype.OPEN = s, z.prototype.CLOSED = m, z.prototype.close = function() {
|
|
1557
1557
|
this._close();
|
|
1558
1558
|
}, z.CONNECTING = u, z.OPEN = s, z.CLOSED = m, z.prototype.withCredentials = void 0;
|
|
1559
|
-
var Be =
|
|
1560
|
-
|
|
1559
|
+
var Be = E;
|
|
1560
|
+
b != null && (E == null || !("withCredentials" in E.prototype)) && (Be = z), function(r) {
|
|
1561
1561
|
{
|
|
1562
|
-
var d =
|
|
1562
|
+
var d = r(t);
|
|
1563
1563
|
d !== void 0 && (e.exports = d);
|
|
1564
1564
|
}
|
|
1565
|
-
}(function(
|
|
1566
|
-
|
|
1565
|
+
}(function(r) {
|
|
1566
|
+
r.EventSourcePolyfill = z, r.NativeEventSource = E, r.EventSource = Be;
|
|
1567
1567
|
});
|
|
1568
1568
|
})(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : Ve : globalThis);
|
|
1569
1569
|
})(je, je.exports);
|
|
@@ -1669,9 +1669,140 @@ const Ge = "user-deposit-withdrawal", Xe = [
|
|
|
1669
1669
|
tt.extend(wt);
|
|
1670
1670
|
const Tt = class {
|
|
1671
1671
|
constructor(e) {
|
|
1672
|
-
Ke(this, e), this.sseStream = null, this.selectedPaymentMethod = null, this.sseReconnectAttempts = 0, this.sseReconnectTimer = null, this.sseShouldStayConnected = !1, this.SSE_MAX_RECONNECT_ATTEMPTS = 5, this.SSE_RECONNECT_DELAY_BASE_MS = 1e3, this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = vt(this.userAgent), this.errorCodes = [
|
|
1672
|
+
Ke(this, e), this.sseStream = null, this.selectedPaymentMethod = null, this.sseReconnectAttempts = 0, this.sseReconnectTimer = null, this.sseShouldStayConnected = !1, this.SSE_MAX_RECONNECT_ATTEMPTS = 5, this.SSE_RECONNECT_DELAY_BASE_MS = 1e3, this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = vt(this.userAgent), this.errorCodes = [
|
|
1673
|
+
"21123",
|
|
1674
|
+
"21122",
|
|
1675
|
+
"21121",
|
|
1676
|
+
"100003",
|
|
1677
|
+
"100007",
|
|
1678
|
+
"100020",
|
|
1679
|
+
"100102",
|
|
1680
|
+
"100103",
|
|
1681
|
+
"11010",
|
|
1682
|
+
"11020",
|
|
1683
|
+
"11100",
|
|
1684
|
+
"11204",
|
|
1685
|
+
"11408",
|
|
1686
|
+
"11505",
|
|
1687
|
+
"11506",
|
|
1688
|
+
"11601",
|
|
1689
|
+
"11704",
|
|
1690
|
+
"11754",
|
|
1691
|
+
"11755",
|
|
1692
|
+
"11772",
|
|
1693
|
+
"11776",
|
|
1694
|
+
"11778",
|
|
1695
|
+
"11779",
|
|
1696
|
+
"11780",
|
|
1697
|
+
"11781",
|
|
1698
|
+
"11802",
|
|
1699
|
+
"12006",
|
|
1700
|
+
"12126",
|
|
1701
|
+
"12127",
|
|
1702
|
+
"12135",
|
|
1703
|
+
"12136",
|
|
1704
|
+
"12137",
|
|
1705
|
+
"12138",
|
|
1706
|
+
"12139",
|
|
1707
|
+
"12140",
|
|
1708
|
+
"12502",
|
|
1709
|
+
"12503",
|
|
1710
|
+
"13501",
|
|
1711
|
+
"13502",
|
|
1712
|
+
"13503",
|
|
1713
|
+
"13504",
|
|
1714
|
+
"13505",
|
|
1715
|
+
"13506",
|
|
1716
|
+
"13507",
|
|
1717
|
+
"13550",
|
|
1718
|
+
"13555",
|
|
1719
|
+
"13573",
|
|
1720
|
+
"13575",
|
|
1721
|
+
"14006",
|
|
1722
|
+
"14007",
|
|
1723
|
+
"14008",
|
|
1724
|
+
"14009",
|
|
1725
|
+
"14010",
|
|
1726
|
+
"14011",
|
|
1727
|
+
"21050",
|
|
1728
|
+
"21051",
|
|
1729
|
+
"21052",
|
|
1730
|
+
"21054",
|
|
1731
|
+
"21056",
|
|
1732
|
+
"21070",
|
|
1733
|
+
"21073",
|
|
1734
|
+
"21074",
|
|
1735
|
+
"21077",
|
|
1736
|
+
"21079",
|
|
1737
|
+
"21082",
|
|
1738
|
+
"21083",
|
|
1739
|
+
"21104",
|
|
1740
|
+
"21105",
|
|
1741
|
+
"21108",
|
|
1742
|
+
"21116",
|
|
1743
|
+
"21117",
|
|
1744
|
+
"21202",
|
|
1745
|
+
"21289",
|
|
1746
|
+
"21292",
|
|
1747
|
+
"21293",
|
|
1748
|
+
"21294",
|
|
1749
|
+
"21295",
|
|
1750
|
+
"21296",
|
|
1751
|
+
"21297",
|
|
1752
|
+
"21298",
|
|
1753
|
+
"21299",
|
|
1754
|
+
"21301",
|
|
1755
|
+
"21302",
|
|
1756
|
+
"21303",
|
|
1757
|
+
"21304",
|
|
1758
|
+
"21305",
|
|
1759
|
+
"21306",
|
|
1760
|
+
"21307",
|
|
1761
|
+
"21308",
|
|
1762
|
+
"22007",
|
|
1763
|
+
"22011",
|
|
1764
|
+
"22012",
|
|
1765
|
+
"22013",
|
|
1766
|
+
"22014",
|
|
1767
|
+
"22015",
|
|
1768
|
+
"22016",
|
|
1769
|
+
"22017",
|
|
1770
|
+
"22018",
|
|
1771
|
+
"22021",
|
|
1772
|
+
"22022",
|
|
1773
|
+
"22023",
|
|
1774
|
+
"22024",
|
|
1775
|
+
"23601",
|
|
1776
|
+
"29107",
|
|
1777
|
+
"30100",
|
|
1778
|
+
"40003",
|
|
1779
|
+
"40004",
|
|
1780
|
+
"50000",
|
|
1781
|
+
"50001",
|
|
1782
|
+
"50002",
|
|
1783
|
+
"50003",
|
|
1784
|
+
"50004",
|
|
1785
|
+
"50005",
|
|
1786
|
+
"50006",
|
|
1787
|
+
"50007",
|
|
1788
|
+
"50008",
|
|
1789
|
+
"50009",
|
|
1790
|
+
"50010",
|
|
1791
|
+
"50011",
|
|
1792
|
+
"50012",
|
|
1793
|
+
"50013",
|
|
1794
|
+
"50014",
|
|
1795
|
+
"50015",
|
|
1796
|
+
"50100",
|
|
1797
|
+
"50101",
|
|
1798
|
+
"50102",
|
|
1799
|
+
"50103",
|
|
1800
|
+
"50104",
|
|
1801
|
+
"50105",
|
|
1802
|
+
"50106"
|
|
1803
|
+
], this.toggleScreen = () => {
|
|
1673
1804
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
|
|
1674
|
-
}, this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.endpoint = void 0, this.type = void 0, this.channel = void 0, this.language = void 0, this.productType = "", this.userId = void 0, this.session = void 0, this.successUrl = void 0, this.cancelUrl = void 0, this.failUrl = void 0, this.sportsUrl = void 0, this.casinoUrl = void 0, this.contactUrl = void 0, this.depositUrl = void 0, this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.homeUrl = void 0, this.beforeRedirect = Et, this.forwardCashierRedirects = !1, this.enableStepUpAuth = !1, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
|
|
1805
|
+
}, this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.endpoint = void 0, this.type = void 0, this.channel = void 0, this.language = void 0, this.productType = "", this.userId = void 0, this.session = void 0, this.successUrl = void 0, this.cancelUrl = void 0, this.failUrl = void 0, this.sportsUrl = void 0, this.casinoUrl = void 0, this.contactUrl = void 0, this.depositUrl = void 0, this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.homeUrl = void 0, this.beforeRedirect = Et, this.forwardCashierRedirects = !1, this.enableStepUpAuth = !1, this.showApiErrorMessage = !1, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0, this.errorMessage = "", this.errorFromApi = !1;
|
|
1675
1806
|
}
|
|
1676
1807
|
get typeParameter() {
|
|
1677
1808
|
if (this.type === "deposit")
|
|
@@ -1697,7 +1828,7 @@ const Tt = class {
|
|
|
1697
1828
|
window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe(), this.closeSSEStream();
|
|
1698
1829
|
}
|
|
1699
1830
|
render() {
|
|
1700
|
-
return p(st, { key: "
|
|
1831
|
+
return p(st, { key: "338fa8bd00485e7d7c1a92ddbc7622e4eb6bd020" }, this.enableStepUpAuth && p("player-step-up-auth", { key: "b0076f39d95d35b3cae6d6bb0a039feb39764f47", endpoint: this.endpoint, userSession: this.session, language: this.language, "client-styling-url": this.clientStylingUrl, "translation-url": this.translationUrl }), p("div", { key: "00f02636ed279a41dd203bdaea54f41eacaa8f86", ref: (e) => this.stylingContainer = e, class: "" }, p("div", { key: "120c160a3f0729e5aae360e9fc7b99e33c93e01c", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}` }, !(this.isMobile && !this.isShortCashier) && p("h2", { key: "664216161b01c6e49bc36b738eb02ae622eeda09", class: "CategoryTitle" }, Ce(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), p("div", { key: "f57113548723235044ac51485b37e2e9b6e3ee4c", style: { marginTop: this.isShortCashier ? "30px" : "0" } }, this.isMobile && !this.isShortCashier ? p("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, p("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, p("defs", null), p("g", { transform: "translate(-20 -158)" }, p("g", { transform: "translate(20 158)" }, p("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)" })))), p("h2", { class: "CategoryTitleMobile" }, Ce(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? p("iframe", { ref: (e) => this.cashierIframeRef = e, width: "100%", allow: "payment", height: this.dynamicHeight, src: this.cashierInfoUrl }) : this.errorFromApi ? p("h3", { class: "ErrorMessage" }, this.errorMessage) : p("h3", { innerHTML: this.errorMessage || (this.type === "deposit" ? Ce("denyDeposit", this.language) : Ce("denyWithdrawal", this.language)), class: "ErrorMessage" }))));
|
|
1701
1832
|
}
|
|
1702
1833
|
loadWidget() {
|
|
1703
1834
|
return we(this, null, function* () {
|
|
@@ -1715,7 +1846,7 @@ const Tt = class {
|
|
|
1715
1846
|
};
|
|
1716
1847
|
if (!(Object.values(e).some((t) => t === void 0) || !this.endpoint))
|
|
1717
1848
|
try {
|
|
1718
|
-
const t = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,
|
|
1849
|
+
const t = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, i = yield fetch(t, {
|
|
1719
1850
|
method: "POST",
|
|
1720
1851
|
headers: {
|
|
1721
1852
|
"X-Sessionid": this.session,
|
|
@@ -1723,23 +1854,22 @@ const Tt = class {
|
|
|
1723
1854
|
"X-Client-Request-Timestamp": tt.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
|
|
1724
1855
|
},
|
|
1725
1856
|
body: JSON.stringify(e)
|
|
1726
|
-
});
|
|
1727
|
-
if (!
|
|
1728
|
-
|
|
1729
|
-
throw new Error(h);
|
|
1730
|
-
}
|
|
1731
|
-
const n = yield r.json();
|
|
1857
|
+
}), n = yield i.json();
|
|
1858
|
+
if (!i.ok && (console.error(n), !this.showApiErrorMessage))
|
|
1859
|
+
return;
|
|
1732
1860
|
if (n.CashierInfo)
|
|
1733
1861
|
this.cashierInfoUrl = n.CashierInfo.Url;
|
|
1734
1862
|
else {
|
|
1735
1863
|
let h;
|
|
1736
1864
|
if (n.ResponseMessage) {
|
|
1737
|
-
let U = this.errorCodes.find((
|
|
1738
|
-
U ?
|
|
1865
|
+
let U = this.errorCodes.find((E) => n.ResponseMessage.includes(E)) || null;
|
|
1866
|
+
const P = U ? Ce(`errorCode${U}`, this.language) : void 0;
|
|
1867
|
+
P ? h = P : this.showApiErrorMessage ? (h = n.ResponseMessage, this.errorFromApi = !0) : h = Ce("notFoundErrorCode", this.language);
|
|
1739
1868
|
} else
|
|
1740
1869
|
h = this.type === "deposit" ? Ce("denyDeposit", this.language) : Ce("denyWithdrawal", this.language);
|
|
1741
|
-
|
|
1742
|
-
|
|
1870
|
+
this.showApiErrorMessage && (this.errorMessage = h);
|
|
1871
|
+
const b = { type: "error", message: h };
|
|
1872
|
+
window.postMessage({ type: "DenyDepositOrWithdrawal", data: b }, window.location.href);
|
|
1743
1873
|
}
|
|
1744
1874
|
} catch (t) {
|
|
1745
1875
|
console.error(t);
|
|
@@ -1754,10 +1884,10 @@ const Tt = class {
|
|
|
1754
1884
|
if (!t)
|
|
1755
1885
|
return;
|
|
1756
1886
|
this.applyLayoutHints(t);
|
|
1757
|
-
const
|
|
1758
|
-
if (!
|
|
1887
|
+
const i = this.extractCashierRedirectReason(t);
|
|
1888
|
+
if (!i || this.emitForwardedRedirect(e, i))
|
|
1759
1889
|
return;
|
|
1760
|
-
const n = this.resolveRedirectPlan(
|
|
1890
|
+
const n = this.resolveRedirectPlan(i);
|
|
1761
1891
|
n && this.doRedirect(n.reason, n.targetUrl);
|
|
1762
1892
|
}
|
|
1763
1893
|
extractCashierRedirectReason(e) {
|
|
@@ -1805,22 +1935,22 @@ const Tt = class {
|
|
|
1805
1935
|
emitForwardedRedirect(e, t) {
|
|
1806
1936
|
if (!this.forwardCashierRedirects)
|
|
1807
1937
|
return !1;
|
|
1808
|
-
const
|
|
1938
|
+
const i = {
|
|
1809
1939
|
type: `${Ge}:${t}`,
|
|
1810
1940
|
originalType: t,
|
|
1811
1941
|
payload: e.data,
|
|
1812
1942
|
origin: e.origin
|
|
1813
1943
|
};
|
|
1814
|
-
return window.postMessage(
|
|
1944
|
+
return window.postMessage(i, window.location.href), !0;
|
|
1815
1945
|
}
|
|
1816
1946
|
doRedirect(e, t) {
|
|
1817
|
-
const
|
|
1818
|
-
if (this.beforeRedirect(
|
|
1819
|
-
if (!
|
|
1947
|
+
const i = { reason: e, url: t, cancel: !1 };
|
|
1948
|
+
if (this.beforeRedirect(i), !i.cancel) {
|
|
1949
|
+
if (!i.url) {
|
|
1820
1950
|
window.location.href = "/";
|
|
1821
1951
|
return;
|
|
1822
1952
|
}
|
|
1823
|
-
window.location.href =
|
|
1953
|
+
window.location.href = i.url;
|
|
1824
1954
|
}
|
|
1825
1955
|
}
|
|
1826
1956
|
initializeSSE() {
|
|
@@ -1858,12 +1988,12 @@ const Tt = class {
|
|
|
1858
1988
|
handleSSEMessage(e) {
|
|
1859
1989
|
if (this.enableStepUpAuth)
|
|
1860
1990
|
try {
|
|
1861
|
-
const t = JSON.parse(e.data),
|
|
1862
|
-
if (
|
|
1991
|
+
const t = JSON.parse(e.data), i = t.type;
|
|
1992
|
+
if (i === Ne.TWO_FACTOR_AUTH) {
|
|
1863
1993
|
const { body: { challengeId: n } = {} } = t;
|
|
1864
1994
|
n ? this.triggerStepUpAuth(n) : console.error(`${Ne.TWO_FACTOR_AUTH} received but challengeId not found in body`);
|
|
1865
1995
|
} else
|
|
1866
|
-
|
|
1996
|
+
i === Ne.SESSION_EXPIRATION && (console.info("[SSE] SESSION_EXPIRATION received, closing connection"), window.postMessage({ type: "SessionExpiration", reason: St.FAILED_2FA }, window.location.href), this.closeSSEStream());
|
|
1867
1997
|
} catch (t) {
|
|
1868
1998
|
console.error("Error parsing SSE message:", t);
|
|
1869
1999
|
}
|
|
@@ -1915,8 +2045,8 @@ const Tt = class {
|
|
|
1915
2045
|
console.warn("Cashier iframe not available for postMessage");
|
|
1916
2046
|
return;
|
|
1917
2047
|
}
|
|
1918
|
-
const
|
|
1919
|
-
this.cashierIframeRef.contentWindow.postMessage(e,
|
|
2048
|
+
const i = this.getCashierOrigin();
|
|
2049
|
+
this.cashierIframeRef.contentWindow.postMessage(e, i);
|
|
1920
2050
|
}
|
|
1921
2051
|
handleOtpSuccess() {
|
|
1922
2052
|
this.enableStepUpAuth && (this.sendMessageToCashier(Ie.PROCEED), this.closeSSEStream());
|