@zeniai/web-cockpit-ui 1.14.88-prod → 1.14.89-dev
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/dist/assets/{ACHDetailsPage-BBq7KpbY-DF9mhOLo.js → ACHDetailsPage-BBq7KpbY-DmD51smT.js} +1 -1
- package/dist/assets/{AIPerformancePage-Djq6mgKa-D2-ZMcc5.js → AIPerformancePage-Djq6mgKa-C2iGvIUP.js} +11 -11
- package/dist/assets/{AccountInfoPage-CxWBk_t_-B6N9dho0.js → AccountInfoPage-CxWBk_t_-BI9wbnyE.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DO6aVqBW-D2G7pMZi.js → AccountInfoPageContent-DO6aVqBW-6U18ww_h.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-DVvzKHJQ-BusmcQJv.js → AccountLockedInfoModal-DVvzKHJQ-BlItIAEt.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DEKzSPCP-BYDoTrOZ.js → AccountReconDetailsDrawerPage-DEKzSPCP-DohPnhDC.js} +14 -14
- package/dist/assets/{AccountRow-Ck53DDbT-pVq02fp8.js → AccountRow-Ck53DDbT-BeebPIea.js} +21 -21
- package/dist/assets/{AccountsPromoCardStack-BYjuB-4I-Hx7dozh-.js → AccountsPromoCardStack-BYjuB-4I-DMxflS-k.js} +8 -8
- package/dist/assets/{AddAddressForCardDrawer-e8qbO2Y5-nX0udyvd.js → AddAddressForCardDrawer-e8qbO2Y5-CvQDLLw2.js} +1 -1
- package/dist/assets/{AddToWalletPage-DA6AmuaY-qriIpnYe.js → AddToWalletPage-DA6AmuaY-e01eq7ol.js} +5 -5
- package/dist/assets/{AgingReportsPage-B_Hhl_Is-g-SRao1T.js → AgingReportsPage-B_Hhl_Is-4sV-u-EE.js} +5 -5
- package/dist/assets/{AllUserItems-BV22Ibpn-CEp8prrW.js → AllUserItems-BV22Ibpn-WegHhloq.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-DqV1vOVH-CNER43iu.js → ApAgingDetailPage-DqV1vOVH-DDYGtIes.js} +1 -1
- package/dist/assets/{AppBasePage-LrgCcvIv-pzRDvRIV.js → AppBasePage-LrgCcvIv-CPbTcwwM.js} +4 -4
- package/dist/assets/{AppDrawerContent-aZG5Qc_X-HF__9zgn.js → AppDrawerContent-aZG5Qc_X-0oLi5_ah.js} +1 -1
- package/dist/assets/ApprovalRulesSettingsPage-DQQw30S5-BEsS6TL7.js +47 -0
- package/dist/assets/{ArAgingChart-Am7LTkqG-E4lvgjGa.js → ArAgingChart-Am7LTkqG-CEoxIo8X.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-BEKsyA9Q-CPaZNWaY.js → ArAgingDetailPage-BEKsyA9Q-DyjljPZX.js} +1 -1
- package/dist/assets/{AttachmentView-Bujbmx1d-BpqKAITM.js → AttachmentView-Bujbmx1d-B9I0wNAl.js} +1 -1
- package/dist/assets/{BankAccountSection-C5rYUW3V-BCOrI2zz.js → BankAccountSection-C5rYUW3V-B24i3wVy.js} +3 -3
- package/dist/assets/{BankAccountWarningSection-DakysSbk-BrOBdVlr.js → BankAccountWarningSection-DakysSbk-CfJ3ZIAx.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BjZDNgZG-BqTLt_Xy.js → BankConnectionsSettingsPage-BjZDNgZG-CWXR52fl.js} +7 -7
- package/dist/assets/{BillDetailPage-DYc_nZRU-9SJltYSx.js → BillDetailPage-DYc_nZRU-BRz45yqn.js} +2 -2
- package/dist/assets/{BillPayApprovalRuleDetailPage-ppU1Epmy-DvxlAPhL.js → BillPayApprovalRuleDetailPage-ppU1Epmy-CKu9yeh6.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-UblNi2mR-DWfMi9Ia.js → BillPayApprovalRulesPage-UblNi2mR-DDdlB9l6.js} +1 -1
- package/dist/assets/{BillPayPromoPage-BK2J56U5-CXL9s4dw.js → BillPayPromoPage-BK2J56U5-BV_HtQh9.js} +5 -5
- package/dist/assets/{BillPaySetUpPage-Jic5E25q-CMtH3BoF.js → BillPaySetUpPage-Jic5E25q-B-iLCf2O.js} +2 -2
- package/dist/assets/{BillingSettingsPage-CKZVChEm-CQVpThSa.js → BillingSettingsPage-CKZVChEm-D4ayDBSH.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-C4Ra5e82-CQ4D75c-.js → BillsBulkReviewDrawerPage-C4Ra5e82-Ci4V1_TC.js} +1 -1
- package/dist/assets/{BoxItem-8PfNfaHq-6bFTfHVl.js → BoxItem-8PfNfaHq-CqIGaIYz.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-JGge-Iiw-IDjENT0s.js → BusinessVerificationPage-JGge-Iiw-DkN8E6Gl.js} +5 -5
- package/dist/assets/{CardNumberSubText-W81SQ4GF-Bt4a5S33.js → CardNumberSubText-W81SQ4GF-D5AG2b-c.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DnOcmx2i-CN8nuDt2.js → CashbackDetailPage-DnOcmx2i-DuXs2k0a.js} +7 -7
- package/dist/assets/{ChargeCardDetailPage-DNVMsxzE-CvKk_X-x.js → ChargeCardDetailPage-DNVMsxzE-W83HRYcY.js} +1 -1
- package/dist/assets/{ChargeCardListPage-Dgj-WWWI-CWkcKwWI.js → ChargeCardListPage-Dgj-WWWI-C1jII8Vl.js} +14 -14
- package/dist/assets/{ChargeCardListTable-uJZKWoh7-C3lLpElH.js → ChargeCardListTable-uJZKWoh7-DGMj8Kk8.js} +16 -16
- package/dist/assets/{ChargeCardPromoPage-uqT96W3_-XA2uFoR4.js → ChargeCardPromoPage-uqT96W3_-DGpf3zxD.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-BDbJU-vm-BIb3iQQG.js → ChargeCardSetupPage-BDbJU-vm-DZJfRa0I.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DImRqpH1-3qgtBy5g.js → ChargeCardStatementsPage-DImRqpH1-BlCyBAS3.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-BVtOOPoa-Bq-u7DD4.js → CheckDepositDrawerPage-BVtOOPoa-CKWcHjV6.js} +6 -6
- package/dist/assets/{CollapsableReportTable-Crihcv_z-JDVTRjtF.js → CollapsableReportTable-Crihcv_z-B6sIoSI3.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CNxtAkKM-CFmiXK6n.js → CompanyOfficerDetailsSection-CNxtAkKM-D2joEvpM.js} +8 -8
- package/dist/assets/{CompanyPassportCard-DMRQkRPb-CQZMGO1o.js → CompanyPassportCard-DMRQkRPb-BLaDLsxp.js} +1 -1
- package/dist/assets/{CompanyPassportPage-D3XvbSF_-gJDrPWNT.js → CompanyPassportPage-D3XvbSF_-BPFOIUV0.js} +16 -16
- package/dist/assets/{CompleteProfile-BqjXO5ze-724nDXDc.js → CompleteProfile-BqjXO5ze-fJjklbCs.js} +1 -1
- package/dist/assets/{ConfettiBurst-DtwLo4WZ-BQ9rTQt1.js → ConfettiBurst-DtwLo4WZ-DhNKCJ7F.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-FrGRJxMy-B6tzs6XZ.js → CreateOrEditVendorPage-FrGRJxMy-lyDeY9QD.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-BvifQpD3-DUnP1Hl9.js → CreditCardPaymentDrawerPage-BvifQpD3-CJD0XzyN.js} +6 -6
- package/dist/assets/{CurrencySelectField-ClOg6nnS-CXTbcHfQ.js → CurrencySelectField-ClOg6nnS-wUZ5kAZB.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-Du-zzeL2-Cmigo4pK.js → CustomerOnboardingActivationPage-Du-zzeL2-DGgRqDAq.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DMZOvVMM-ly2XWpHL.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BgY95XeU-CH2FPWha.js → CustomerOnboardingDetailPageSkeleton-BgY95XeU-Dah0hLGQ.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-BsKoqUta-BSSSviGT.js → CustomerOnboardingNoStepsPage-BsKoqUta-D3bS1mcO.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-DUMQKVfM-BQ_3ahBW.js → CustomerOnboardingPage-DUMQKVfM-C7dz_0GY.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-DGVV8Tkk-CXq_43y8.js → CustomerOnboardingProductSuitePage-DGVV8Tkk-CiyIz1Ai.js} +5 -5
- package/dist/assets/{Dashboard-CdYlvep--BOQlMB6O.js → Dashboard-CdYlvep--B2Vkh5DQ.js} +1 -1
- package/dist/assets/{DashboardReportPage-c6q027Qp-CEv30LzY.js → DashboardReportPage-c6q027Qp-B9wSLZAf.js} +16 -16
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BdDVYK19-CIZN44Ie.js → DashboardSidebarBackgroundAnimation-BdDVYK19-COjDYEak.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-D8kL8enp-DsKpkg7T.js → DepositAccTransactionItem-D8kL8enp-J-22cTZM.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-BS-OReem-B9dYkMDH.js → DepositAccTransactionListPage-BS-OReem-Daf8x2X1.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-CjM1DXnn-CE0TmGGK.js → DomesticWireDetailsPage-CjM1DXnn-ByLr_bfJ.js} +1 -1
- package/dist/assets/{DownloadOverlay-Dr4uLNpZ-IlzYnrMA.js → DownloadOverlay-Dr4uLNpZ-PWDmhVak.js} +38 -38
- package/dist/assets/{DrawerPage-CbKBsc7w-C-goZ7Of.js → DrawerPage-CbKBsc7w-BANqCEyN.js} +1 -1
- package/dist/assets/{EditPeoplePage-BgsR09q8-DKcwe5Om.js → EditPeoplePage-BgsR09q8-DQro3ypx.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-BTrwOX_s-CPvDWqQm.js → EditReimbursementDetailPage-BTrwOX_s-Bpc20RR2.js} +25 -25
- package/dist/assets/{EntityDetailPage-Cvd4MG0F-nlXXz9VB.js → EntityDetailPage-Cvd4MG0F-Uu1ExrMV.js} +1 -1
- package/dist/assets/{EntitySummarySection-BIV9aAq2-0J_nJAr8.js → EntitySummarySection-BIV9aAq2-CUHksODf.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-B5MtjO2p-Vj6NPROh.js → ExpenseAutomationOverviewPage-B5MtjO2p-B5sSDEu8.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-DW6Pxoah-CB3Tfm3S.js → ExpenseAutomationPage-DW6Pxoah-DpT-FAIA.js} +62 -62
- package/dist/assets/{ExpressPayPage-DnpQuDmt-BosPEUCq.js → ExpressPayPage-DnpQuDmt-CY033VTz.js} +5 -5
- package/dist/assets/{FeaturePreviewPage-BmwBZ7ZP-DSVKcIYC.js → FeaturePreviewPage-BmwBZ7ZP-kerQig1g.js} +1 -1
- package/dist/assets/{FollowStepsSection-B2I9SddL-J1soan6Z.js → FollowStepsSection-B2I9SddL-BxrnE678.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-D3GCP5Xd-CGt9cYLb.js → GlobalReviewListPage-D3GCP5Xd-Bht9J0K_.js} +6 -6
- package/dist/assets/{InformationCardStack-mEhasBqu-BANEJOaT.js → InformationCardStack-mEhasBqu-BZ_Gox0K.js} +1 -1
- package/dist/assets/{InsightsCardStack-Mj7QcQnH-ZGIADW1_.js → InsightsCardStack-Mj7QcQnH-CT4vpE1x.js} +1 -1
- package/dist/assets/{InsightsSection-B3xD0SZ9-8NqkLzS9.js → InsightsSection-B3xD0SZ9-CKtY4Hiz.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-CsI_agJB-DpD5mnNa.js → IntegrationsSettingsPage-CsI_agJB-CclnkA74.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-Dszmi69h-Dfu9jHvI.js → InternationalWireSwiftDetailsPage-Dszmi69h-BjjhlMpG.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-DG9Enrpo-DWaY5PDJ.js → InternationalWireVerificationPage-DG9Enrpo-DEQAkYYx.js} +11 -11
- package/dist/assets/{InviteFormPage-DK6X9Zwi-BQ256tgK.js → InviteFormPage-DK6X9Zwi-DR66hPVd.js} +1 -1
- package/dist/assets/{InvitePageListView-CwKbcKlM-I7Ohbwjv.js → InvitePageListView-CwKbcKlM-BOO2EOMw.js} +32 -32
- package/dist/assets/{InvitePeoplePage-BqzJOjVI-BLUo4Jmn.js → InvitePeoplePage-BqzJOjVI-hAq8wZOI.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-CokNNkKu-Dv9862-R.js → InvoiceUploadSection-CokNNkKu-CL4OwcxH.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CRtJDmrZ-BNG_ehsF.js → IssueChargeCardPage-CRtJDmrZ-CFmNSL2f.js} +1 -1
- package/dist/assets/{LabeledAddressValue-BhwrrtZX-NBqZDzVl.js → LabeledAddressValue-BhwrrtZX-BVe1F8jA.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DzmwP7hP-BsQFVdWX.js → LabeledAddressValueField-DzmwP7hP-7gvUeBGH.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-B6ndrF2e-k3wZsE8I.js → LabeledControlledCheckBoxField-B6ndrF2e-LWUc8yBI.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CfzLlkho-D0dzeF5z.js → LabeledCreatableSingleSelectField-CfzLlkho-CxZaZJZN.js} +1 -1
- package/dist/assets/{LabeledDocumentField-p3pI5qLu-BapUynJg.js → LabeledDocumentField-p3pI5qLu-I9C3lX6x.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-oQX33Fim-Dqqs8MYf.js → LabeledDropDownFormattedTextField-oQX33Fim-Bbplhays.js} +1 -1
- package/dist/assets/{LabeledText-Db46hFZY-J41ZQ_mQ.js → LabeledText-Db46hFZY-CvrCjgF_.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B9Xx3bxn-BymSRQN9.js → LabeledUserSingleSelectWithSubtitlesField-B9Xx3bxn-f0PElM5i.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-Docjgj8Y-BRH41KM8.js → LabeledZeniRolesDropDownField-Docjgj8Y-C6xxx7IQ.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-BZSRaZqY-BIj3-LRc.js → LinkJETransactionPage-BZSRaZqY-9NIG46T3.js} +6 -6
- package/dist/assets/{LockCardPage-KTyESoXL-CynH1u5U.js → LockCardPage-KTyESoXL-C_hGUeR9.js} +12 -12
- package/dist/assets/{LowBalancePopup-B0BDCEui-lDZBZxzO.js → LowBalancePopup-B0BDCEui-BMVW4mzF.js} +4 -4
- package/dist/assets/MagicLinkACHDetailsPage-DwFvuGwG-C2ShsQ5E.js +1 -0
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CDB2igue-C6hTpHgJ.js → MagicLinkDomesticWireDetailsPage-CDB2igue-CMZ17cvq.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C2kxncrD-CjSbvmVH.js → MagicLinkInternationalWireDetailsPage-C2kxncrD-DZt4WyHf.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-DNVe2qMu-jvVb0tmX.js → MagicLinkSuccessPage-DNVe2qMu-BMSr-yiU.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CWw516D8-CfrqLlUk.js → MagicLinkTitleSection-CWw516D8-CjWjg4GW.js} +1 -1
- package/dist/assets/{MailingDetailsSection-CugAM90r-CXu3j2VQ.js → MailingDetailsSection-CugAM90r-CMuXq6mA.js} +1 -1
- package/dist/assets/{Menu-CGN2qO6T-B9QNiLm_.js → Menu-CGN2qO6T-CKP1jX2H.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CQUfVa0r-D8KvFo_x.js → MyBankConnectionsSettingsPage-CQUfVa0r-9xTXMtPS.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-TOQWRGjp-DjE457A_.js → MyPendingActivationChargeCardListPage-TOQWRGjp-DCcWmjzI.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-lCG03Uoh-Cjm9P5Re.js → MyProfileSettingsPage-lCG03Uoh-DnrGHNt2.js} +1 -1
- package/dist/assets/{NavBarWithPicker-DLLvivn4-WaKxMQjP.js → NavBarWithPicker-DLLvivn4-6K-3U9T7.js} +1 -1
- package/dist/assets/{NavigationArrow-B4j2t8Qu-D6OO4KlW.js → NavigationArrow-B4j2t8Qu-C8IxiTof.js} +1 -1
- package/dist/assets/{NavigationDots-DyMqwpgy-DNLVSzMW.js → NavigationDots-DyMqwpgy-DXf5bt3G.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Bx7iBsCP-IP0KNY_t.js → NewGlobalMerchantPage-Bx7iBsCP-DGrKqfpE.js} +1 -1
- package/dist/assets/{NoDataChart-Ce1_TZ5w-5hIzERi0.js → NoDataChart-Ce1_TZ5w-BfNH_4T8.js} +1 -1
- package/dist/assets/{NoDataTable-l2T5Hw3t-B0z8hv-n.js → NoDataTable-l2T5Hw3t-Bh_N31mD.js} +1 -1
- package/dist/assets/{NotFoundPage-msdN-Eu6-DQAQsO37.js → NotFoundPage-msdN-Eu6-BKPOdh9t.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-_ovcjr8E-DrJTkLSs.js → NotificationSettingsPage-_ovcjr8E-Bj-DE2Dk.js} +15 -15
- package/dist/assets/{NotificationsListConfig-BJm7A9Mz-BeqhPVEF.js → NotificationsListConfig-BJm7A9Mz-Dg3_VsE9.js} +1 -1
- package/dist/assets/{NotificationsPage-Ddxb5kE0-CwY6pmpP.js → NotificationsPage-Ddxb5kE0-DzIBWdK5.js} +13 -13
- package/dist/assets/{OpExByVendorPage-BLAHey0l-xcBa1Yeo.js → OpExByVendorPage-BLAHey0l-neBDRa7k.js} +4 -4
- package/dist/assets/{OverlayContainerPage-CrZuT2Jj-D_iBtRRr.js → OverlayContainerPage-CrZuT2Jj-DMNYxA7f.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-B7Z73Sq--BhUvjEFj.js → PandLWithForecastPage-B7Z73Sq--BDluLKs7.js} +5 -5
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-pL7omrJk-DYJ63jM7.js → PaymentAccountSetupBillingAddressSection-pL7omrJk-Cgju1Qqc.js} +1 -1
- package/dist/assets/{PeoplePage-BHRFiM0D-CFVJOOEe.js → PeoplePage-BHRFiM0D-FOmgjcav.js} +1 -1
- package/dist/assets/{ProductsCarousel-D2bf_6Gb-BAq59KMZ.js → ProductsCarousel-D2bf_6Gb-NT7Dhd8p.js} +1 -1
- package/dist/assets/{PromoBaseCards-CI7UOpeY-Ux3ixF8F.js → PromoBaseCards-CI7UOpeY-DI52WXKx.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-D7MeKn1t-DvScIKzD.js → QBOConnectionDialog-D7MeKn1t-DelTIGIf.js} +4 -4
- package/dist/assets/{QBOSetupSection-DWhfA4Xv-DJQNsbuL.js → QBOSetupSection-DWhfA4Xv-kSdJytyB.js} +7 -7
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-C_dTOk5P-BzneGv9j.js → ReimbursementApprovalRuleDetailPage-C_dTOk5P-Dc_LvsYr.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B5lca4qx-opdeKE45.js → ReimbursementApprovalRulesPage-B5lca4qx-DAjvVIOI.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-COIRwy7i-BUmCrQMr.js → ReimbursementDetailPage-COIRwy7i-W0eUs7nE.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-Bjm0UHcm-rsVpHrAZ.js → ReimbursementPromoPage-Bjm0UHcm-Crjakfj5.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-CMYR8CcH-Bc_PR4Gk.js → ReimbursementSetUpPage-CMYR8CcH-B6Pjnu_N.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BDdhVfaz-Dz0KzTvk.js → ReimbursementsBulkReviewDrawerPage-BDdhVfaz-Qu76KNt7.js} +1 -1
- package/dist/assets/{ReloadCard-B2sJR97f-BIaVdWBP.js → ReloadCard-B2sJR97f-4aiyry-A.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-_IO343vS-Bd9be2IV.js → ReportTableViewSelector-_IO343vS-DFegVWwX.js} +1 -1
- package/dist/assets/{ReportsPage-C-aQ1bdd-BbBsZ9pq.js → ReportsPage-C-aQ1bdd-DQkYUdHM.js} +5 -5
- package/dist/assets/{RevenueChart-Bgq6My4J-BiDvlJvs.js → RevenueChart-Bgq6My4J-Bd7qmjtO.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-COx9R71r-BZZC_0cP.js → ReviewDetailsPage-COx9R71r-BNEXmQ6j.js} +1 -1
- package/dist/assets/{ReviewOverlay-CPU7RPiJ-Bs2eF6px.js → ReviewOverlay-CPU7RPiJ-LkDgAnlD.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DSSGBzvw-w9nfatYk.js → RoleWithToolTip-DSSGBzvw-1jeqwzcs.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DKGBfhAM-Cgt85on9.js → ScheduleDetailsFixedAssetsPage-DKGBfhAM-DIiqwEOV.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-B-fKJ7Ct-Cn0um4-b.js → ScheduleDetailsPage-B-fKJ7Ct-DSkiCN2O.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Dh_aT47H-DNxHXj-E.js → ScheduleSequenceTable-Dh_aT47H-BHM_c04w.js} +15 -15
- package/dist/assets/{ScreenRoutes-v_76HEQb.js → ScreenRoutes-DuXEW70Q.js} +48 -48
- package/dist/assets/{SetUpAccountSection-DrMCC1IY-DUMtEDGs.js → SetUpAccountSection-DrMCC1IY-D33epaX0.js} +4 -4
- package/dist/assets/{SignIn-Ij6tlYI5-Df2WXZVd.js → SignIn-Ij6tlYI5-DeE6t8Fq.js} +7 -7
- package/dist/assets/{SignInScreen-C4ZK30De.js → SignInScreen-LCpnq8M3.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-AI676Urw-EYS2bzVL.js → SpendManagementListViewPage-AI676Urw-DJru7ByR.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-D79c3Xqh-B-bFDlPr.js → SpendManagementPerTabPage-D79c3Xqh-D8DfakVn.js} +1 -1
- package/dist/assets/{SpendManagementSection-BqWbsmBW-DKtanA-9.js → SpendManagementSection-BqWbsmBW-BhpclPa8.js} +7 -7
- package/dist/assets/{StatementItem-Aal79YaO-BQZc18ts.js → StatementItem-Aal79YaO-3cBWg-5i.js} +1 -1
- package/dist/assets/{StatementsPage-BG_pNQzc-CzvxwtLg.js → StatementsPage-BG_pNQzc-C7UMTTVJ.js} +1 -1
- package/dist/assets/{StatusSwitcher-DYRXaLvx-AQ5F23zs.js → StatusSwitcher-DYRXaLvx-GT20DbHu.js} +1 -1
- package/dist/assets/{SubTabSwitcher-C75XU1EG-C5X1b7VC.js → SubTabSwitcher-C75XU1EG-BZOngUzL.js} +1 -1
- package/dist/assets/{SummaryCard-DEnzgi31-DU7b1H9O.js → SummaryCard-DEnzgi31-BhOErS-o.js} +1 -1
- package/dist/assets/{TaskManagementPage-BacWm0wS-CxwBoTNG.js → TaskManagementPage-BacWm0wS-tQV5bDZ1.js} +12 -12
- package/dist/assets/{TimeRangeSwitcher-BOzR-0O6-EGXiDQ0Z.js → TimeRangeSwitcher-BOzR-0O6-8myc4JmX.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BVgI_VZw-BXU7EPFq.js → TimeframeSwitcher-BVgI_VZw-Re-kZX07.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CPVSAvFa-CHmXrP90.js → TimeframeSwitcherWithToggle-CPVSAvFa-Bg7OmG92.js} +1 -1
- package/dist/assets/{TopExCard-ImUx-vXr-CCfEzo-r.js → TopExCard-ImUx-vXr--haKJkNG.js} +1 -1
- package/dist/assets/{TopExDetailPage-Dg_8DQk8-ByzYxzfA.js → TopExDetailPage-Dg_8DQk8-4TF178rD.js} +2 -2
- package/dist/assets/{TransactionDetailPage-BzaDB50S-CcgKIVvo.js → TransactionDetailPage-BzaDB50S-CJmLmWoQ.js} +31 -31
- package/dist/assets/{TransactionList-DMd3dgoK-jIPFWuzK.js → TransactionList-DMd3dgoK-DFvlE42h.js} +5 -5
- package/dist/assets/{TransactionListBig-BxHqh8u6-Cd7KnFj9.js → TransactionListBig-BxHqh8u6-eMcF_DZh.js} +1 -1
- package/dist/assets/{TransactionListPage-CN9fZznd-k0wJ66Rn.js → TransactionListPage-CN9fZznd-DZJjs91-.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-CykcquSh-X7txd8Uw.js → TransactionVendorDetailPage-CykcquSh-UwSp0CrJ.js} +1 -1
- package/dist/assets/{TransferDrawerPage-oV7ickRP-DK8yvBjK.js → TransferDrawerPage-oV7ickRP-yOers3_6.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CECDKjNn-B51H5BQA.js → TreasuryOverviewPage-CECDKjNn-HTBJsJ5M.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-Bgt7uGAE-BvHndp-i.js → TreasuryPromoPage-Bgt7uGAE-oIwaWu5X.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-QyWxshsI-vvKelSCQ.js → TreasuryStatementsPage-QyWxshsI-BxKUXQKE.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BLmfU0VD-Bk_hdnHl.js → TreasuryTaxLetterPage-BLmfU0VD-CZkFVEWV.js} +1 -1
- package/dist/assets/{TrendChart-C_6ob-SX-m0EmlBC5.js → TrendChart-C_6ob-SX-BWR7UfmP.js} +2 -2
- package/dist/assets/{TrendWithTransactions-lMD2sZ-C-XUwPuFCO.js → TrendWithTransactions-lMD2sZ-C-B_BL8w82.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-DEgz17_R-C8HrLzdo.js → UncategorizedAccountsMappingPage-DEgz17_R-CooBTMrf.js} +7 -7
- package/dist/assets/{UnitIntegrationPage-D9Pzxqju-C2A5K_Pc.js → UnitIntegrationPage-D9Pzxqju-CvrKT10L.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CJYvOjh0-D58Kj8VW.js → UploadAdditionalDocumentOverlay-CJYvOjh0-D-S1zfGQ.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-D-r0NVE--CH70A67b.js → Vendor2FAPopup-D-r0NVE--CwiNcgO0.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-Dv6bTD6Y-EAp4jOT9.js → VendorACHDetailsPage-Dv6bTD6Y-13eGKSpU.js} +1 -1
- package/dist/assets/{VendorDetailPage-BhfawsBd-X9ppQyZg.js → VendorDetailPage-BhfawsBd-Caqe1lVz.js} +11 -11
- package/dist/assets/{VendorDomesticWireDetailsPage-BjmlrfTQ-B1OQJ-PX.js → VendorDomesticWireDetailsPage-BjmlrfTQ-t6Qb8_Zl.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-glvi0GTU-Db8a7MT5.js → VendorFiling1099EditablePage-glvi0GTU-Ctoy4jdk.js} +7 -7
- package/dist/assets/{VendorFirstReviewPage-DUuUM8ZT-D91xrJnc.js → VendorFirstReviewPage-DUuUM8ZT-CU9frkxN.js} +23 -23
- package/dist/assets/{VendorInternationalWireDetailsPage--Lb-TviQ-YoEXSyjJ.js → VendorInternationalWireDetailsPage--Lb-TviQ-DUgeyPBL.js} +13 -13
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C6KviV2Z-BZwXuirg.js → VendorInternationalWireSwiftDetailsPage-C6KviV2Z-CuCByIJB.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-EmHO3wQ0-Co8ekhdh.js → VendorsAccountsSection-EmHO3wQ0-CSPWzKcg.js} +2 -2
- package/dist/assets/{VerifyDevice-DE3UbLEe-CyUiyNY7.js → VerifyDevice-DE3UbLEe-DJm7Kfur.js} +1 -1
- package/dist/assets/{VideoPlayer-Gw_PLr8F-B2qovwmK.js → VideoPlayer-Gw_PLr8F-BcD3Qyt1.js} +2 -2
- package/dist/assets/{VideoPopup-DPZYhLgy-B-KPrxJA.js → VideoPopup-DPZYhLgy-CJt98Dbq.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-CZvToguS-XDiwFZJB.js → WarningsDrawerPage-CZvToguS-Ba7pscqf.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CQhqngBz-CENmz8Ua.js → ZeniAccountDetailPage-CQhqngBz-CmRc3epW.js} +6 -6
- package/dist/assets/{ZeniAccountListViewPage-CpX8vqYa-CK8_GdHY.js → ZeniAccountListViewPage-CpX8vqYa-CrcimjI_.js} +5 -5
- package/dist/assets/{ZeniAccountNavBarPieces-DsUwG15z-Di--PMn-.js → ZeniAccountNavBarPieces-DsUwG15z-DiPlFFTl.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DA611IgH-iuu7zQBs.js → ZeniAccountPromoPage-DA611IgH-CipxvQgU.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-CJv2Fk1i-5fsPz9xO.js → ZeniAccountSetupPage-CJv2Fk1i-BEZSbbPm.js} +3 -3
- package/dist/assets/{ZeniCopyright-FFqiWypL-Cm4f2TI5.js → ZeniCopyright-FFqiWypL-DiiU36pR.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DSrBZUbA-BloT7n7Q.js → ZeniTransferAmountSlider-DSrBZUbA-BFqVxMPD.js} +1 -1
- package/dist/assets/{analytics-CThNEnNw.js → analytics-XaDXTZcq.js} +1 -1
- package/dist/assets/{analyticsHelper-lLrERKZn.js → analyticsHelper-CPNXs_BN.js} +1 -1
- package/dist/assets/{analyticsHelper-CczQLvkM-Bib0YVO4.js → analyticsHelper-CczQLvkM-BG3MqU2b.js} +1 -1
- package/dist/assets/{chartTypes-CwQl8aoN-BQd1i_cE.js → chartTypes-CwQl8aoN-DVag5uGx.js} +1 -1
- package/dist/assets/{commonDimensions-B1u_MhON-NVIOlvy5.js → commonDimensions-B1u_MhON-D3_HfKhE.js} +1 -1
- package/dist/assets/{dash.all.min-BUPngCw6.js → dash.all.min-DBAY9LgI.js} +1 -1
- package/dist/assets/{detailCommon-nYxvvV_i-DTtGx6HY.js → detailCommon-nYxvvV_i-CatRpXM4.js} +1 -1
- package/dist/assets/{downloadPdf-yGlKpV2--BfE42mHv.js → downloadPdf-yGlKpV2--PjZSq5HD.js} +1 -1
- package/dist/assets/{epic-Bko4IStj.js → epic-BLwHhkRJ.js} +2 -2
- package/dist/assets/{index-KtBRorGi.js → index-CEtuJXY3.js} +1 -1
- package/dist/assets/{index-BxXAQ-Kq.js → index-CdTBIE6I.js} +1 -1
- package/dist/assets/{index-BP8jc2MZ.js → index-Ci63exms.js} +6 -6
- package/dist/assets/{index-BV-YAw0P.js → index-DYDdrdFx.js} +1 -1
- package/dist/assets/{index-CwsnnJzI.js → index-DrmeEdvK.js} +1 -1
- package/dist/assets/{liveblocks-B3KbWbMM.js → liveblocks-CNYVvsag.js} +1 -1
- package/dist/assets/{lottie-CaGAfnTY.js → lottie-22bRan8M.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-DIAuL28N-C-4Ag6Dq.js → mapLoadingInProgressToTreeNode-DIAuL28N-uQ9ZpPGq.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DRSmQ56_-CSRhLO-g.js → mapSectionWithAcOnlyToTreeNode-DRSmQ56_-BfuaGrUM.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DOEVwUIo-FsL3Wvr0.js → mapSpacerToTreeNode-DOEVwUIo-DiQ0KiMB.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DbnAvW1M-DM4HsE8s.js → mapTimeframeBalancesToTreeNode-DbnAvW1M-DvZ_ljbo.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DkrEWOxt-CGsx1h8W.js → mapTimeframeBalancesToTreeNode-DkrEWOxt-u1VbFdjk.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-CSuR34Jn.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-DJb78S-u.js} +1 -1
- package/dist/assets/{react-C2wGlvWj.js → react-BUQtf2po.js} +2 -2
- package/dist/assets/{recharts-CXSQ4XPK.js → recharts-h5iNQbFd.js} +1 -1
- package/dist/assets/{sentry-DxvQlcJu.js → sentry-cYFeB6Pw.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-rZFEkHuM-CHyvHGmW.js → toCOABalancesWithID-rZFEkHuM-BjqaEj9u.js} +1 -1
- package/dist/assets/{toChartData-C-dHC-Oz-C2z1PJfR.js → toChartData-C-dHC-Oz-CLJWjMkx.js} +1 -1
- package/dist/assets/{uploadAttachment-D3clfqPu-vNbeEBN-.js → uploadAttachment-D3clfqPu-NbmOED_L.js} +15 -15
- package/dist/assets/{uploadReceipts-Bkf_PaOH-DRTWmNKJ.js → uploadReceipts-Bkf_PaOH-DuaAGaHX.js} +1 -1
- package/dist/assets/{url-DuX7Wo4B.js → url-B-8T_WZb.js} +1 -1
- package/dist/assets/{url-y5lCWhwX.js → url-DPKHmOp_.js} +1 -1
- package/dist/assets/{utils-C70QTjQC.js → utils-fBOyu0sO.js} +1 -1
- package/dist/assets/{zeni-epic-state-xFtF3OLs.js → zeni-epic-state-BwKvATgd.js} +5 -5
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/ApprovalRulesSettingsPage-DQQw30S5-p4f66PTl.js +0 -47
- package/dist/assets/CustomerOnboardingContainerPage-DMZOvVMM-BzRvblFe.js +0 -1
- package/dist/assets/MagicLinkACHDetailsPage-DwFvuGwG-DX8NF4Kz.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-CA3XI5Yc.js","assets/core-3dlyNYRL.js","assets/mixin-D3UDm--6.js","assets/hls-BA0yQjS5.js","assets/react-
|
|
2
|
-
import{Q as W,V as f,an as X,p as Y}from"./index-BP8jc2MZ.js";import{w as _,a as t,c as K}from"./core-3dlyNYRL.js";import{n as k,k as Z}from"./mui-bYXq4XMS.js";import{bb as y}from"./zeni-epic-state-xFtF3OLs.js";const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,Q=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,J=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,R=(e,r)=>{if(Array.isArray(e)){for(const c of e)if(typeof c=="string"&&R(c,r)||R(c.src,r))return!0;return!1}return r(e)},m={html:e=>R(e,r=>N.test(r)||z.test(r)),hls:e=>R(e,r=>V.test(r)),dash:e=>R(e,r=>q.test(r)),mux:e=>Q.test(e),youtube:e=>J.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const c=N.test(`${e.src}`)?"audio":"video";return _.createElement(c,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CA3XI5Yc.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-C2wGlvWj.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-DQmBF4-D.js"),__vite__mapDeps([7,1,6,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-BpmEXSTM.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-BuvI16A0.js"),__vite__mapDeps([9,1,6])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-Egsc5mMa.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-B84192hO.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-Cz0zQhlY.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BvHTyLQY.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var D=ie;const se={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},H=_.forwardRef((e,r)=>{const{playing:c,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&c===!0&&a.current.play(),!a.current.paused&&c===!1&&a.current.pause(),a.current.playbackRate=(l=e.playbackRate)!=null?l:1,a.current.volume=(i=e.volume)!=null?i:1)}),t.useEffect(()=>{var l,i,s,P,v;if(!(!a.current||!globalThis.document)){if(u&&!document.pictureInPictureElement)try{(i=(l=a.current).requestPictureInPicture)==null||i.call(l)}catch{}if(!u&&document.pictureInPictureElement)try{(P=(s=a.current).exitPictureInPicture)==null||P.call(s),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const g=l=>{var i,s;o.current=!0,(i=e.onReady)==null||i.call(e),(s=e.onLoadStart)==null||s.call(e,l)},h=l=>{var i,s;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(s=e.onPlay)==null||s.call(e,l)};if(!n)return null;const b={},E=["onReady","onStart"];for(const l in e)l.startsWith("on")&&!E.includes(l)&&(b[l]=e[l]);return _.createElement(n,{...b,style:e.style,className:e.className,slot:e.slot,ref:t.useCallback(l=>{a.current=l,typeof r=="function"?r(l):r!==null&&(r.current=l)},[r]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:g,onPlay:h},e.children)});H.displayName="Player";var ce=H;const ue=t.lazy(()=>y(()=>import("./Preview-Bnbo8Nq1.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const c=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:g,slot:h,className:b,style:E,width:l,height:i,fallback:s,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const w=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:T,previewTabIndex:C,oEmbedUrl:U,previewAriaLabel:F}=o;return _.createElement(ue,{src:p,light:x,playIcon:T,previewTabIndex:C,previewAriaLabel:F,oEmbedUrl:U,onClickPreview:w})},O=p=>{var x,T;const C=c(p);if(!C)return null;const{style:U,width:F,height:$,wrapper:B}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(T=C.player)!=null?T:C,slot:B?void 0:h,className:B?void 0:b,style:B?{display:"block",width:"100%",height:"100%"}:{display:"block",width:F,height:$,...U},config:G})},L=P??M,S=s===!1?M:t.Suspense;return _.createElement(L,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(S,{fallback:s},v?I(g):O(g)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=D[D.length-1];var j=de(D,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function Ce({src:e,autoPlay:r=!0,config:c,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:g=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:s,onPlay:P}){const v=W(),[d,w]=t.useState(!1);t.useEffect(()=>{a===!0&&r?w(!0):a===!1&&w(!1)},[a,r]);const I={};c?.youtube&&(I.youtube=c.youtube);const O=()=>{w(!0),P?.()},L=()=>{w(!1),s?.()},S=()=>{w(!1),i?.(),a!=null&&s?.()},p=()=>{w(!0),P?.()};return a!=null?a?K.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:L,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:g,loop:o,width:"100%",height:"100%",onEnded:S,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:g,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:S,onPlay:p,config:I})}const ye=Z`
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-CA3XI5Yc.js","assets/core-3dlyNYRL.js","assets/mixin-D3UDm--6.js","assets/hls-BA0yQjS5.js","assets/react-BUQtf2po.js","assets/zeni-epic-state-BwKvATgd.js","assets/mui-bYXq4XMS.js","assets/index-DQmBF4-D.js","assets/react-BpmEXSTM.js","assets/react-BuvI16A0.js","assets/react-Egsc5mMa.js","assets/react-B84192hO.js","assets/react-Cz0zQhlY.js","assets/react-BvHTyLQY.js","assets/Preview-Bnbo8Nq1.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{Q as W,V as f,an as X,p as Y}from"./index-Ci63exms.js";import{w as _,a as t,c as K}from"./core-3dlyNYRL.js";import{n as k,k as Z}from"./mui-bYXq4XMS.js";import{bb as y}from"./zeni-epic-state-BwKvATgd.js";const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,Q=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,J=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,R=(e,r)=>{if(Array.isArray(e)){for(const c of e)if(typeof c=="string"&&R(c,r)||R(c.src,r))return!0;return!1}return r(e)},m={html:e=>R(e,r=>N.test(r)||z.test(r)),hls:e=>R(e,r=>V.test(r)),dash:e=>R(e,r=>q.test(r)),mux:e=>Q.test(e),youtube:e=>J.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const c=N.test(`${e.src}`)?"audio":"video";return _.createElement(c,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CA3XI5Yc.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-BUQtf2po.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-DQmBF4-D.js"),__vite__mapDeps([7,1,6,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-BpmEXSTM.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-BuvI16A0.js"),__vite__mapDeps([9,1,6])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-Egsc5mMa.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-B84192hO.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-Cz0zQhlY.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BvHTyLQY.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var D=ie;const se={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},H=_.forwardRef((e,r)=>{const{playing:c,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&c===!0&&a.current.play(),!a.current.paused&&c===!1&&a.current.pause(),a.current.playbackRate=(l=e.playbackRate)!=null?l:1,a.current.volume=(i=e.volume)!=null?i:1)}),t.useEffect(()=>{var l,i,s,P,v;if(!(!a.current||!globalThis.document)){if(u&&!document.pictureInPictureElement)try{(i=(l=a.current).requestPictureInPicture)==null||i.call(l)}catch{}if(!u&&document.pictureInPictureElement)try{(P=(s=a.current).exitPictureInPicture)==null||P.call(s),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const g=l=>{var i,s;o.current=!0,(i=e.onReady)==null||i.call(e),(s=e.onLoadStart)==null||s.call(e,l)},h=l=>{var i,s;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(s=e.onPlay)==null||s.call(e,l)};if(!n)return null;const b={},E=["onReady","onStart"];for(const l in e)l.startsWith("on")&&!E.includes(l)&&(b[l]=e[l]);return _.createElement(n,{...b,style:e.style,className:e.className,slot:e.slot,ref:t.useCallback(l=>{a.current=l,typeof r=="function"?r(l):r!==null&&(r.current=l)},[r]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:g,onPlay:h},e.children)});H.displayName="Player";var ce=H;const ue=t.lazy(()=>y(()=>import("./Preview-Bnbo8Nq1.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const c=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:g,slot:h,className:b,style:E,width:l,height:i,fallback:s,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const w=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:T,previewTabIndex:C,oEmbedUrl:U,previewAriaLabel:F}=o;return _.createElement(ue,{src:p,light:x,playIcon:T,previewTabIndex:C,previewAriaLabel:F,oEmbedUrl:U,onClickPreview:w})},O=p=>{var x,T;const C=c(p);if(!C)return null;const{style:U,width:F,height:$,wrapper:B}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(T=C.player)!=null?T:C,slot:B?void 0:h,className:B?void 0:b,style:B?{display:"block",width:"100%",height:"100%"}:{display:"block",width:F,height:$,...U},config:G})},L=P??M,S=s===!1?M:t.Suspense;return _.createElement(L,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(S,{fallback:s},v?I(g):O(g)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=D[D.length-1];var j=de(D,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function Ce({src:e,autoPlay:r=!0,config:c,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:g=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:s,onPlay:P}){const v=W(),[d,w]=t.useState(!1);t.useEffect(()=>{a===!0&&r?w(!0):a===!1&&w(!1)},[a,r]);const I={};c?.youtube&&(I.youtube=c.youtube);const O=()=>{w(!0),P?.()},L=()=>{w(!1),s?.()},S=()=>{w(!1),i?.(),a!=null&&s?.()},p=()=>{w(!0),P?.()};return a!=null?a?K.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:L,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:g,loop:o,width:"100%",height:"100%",onEnded:S,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:g,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:S,onPlay:p,config:I})}const ye=Z`
|
|
3
3
|
0% {
|
|
4
4
|
transform: rotate(0deg);
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as l,V as i,an as s,aK as a,p as c,o as n,y as r}from"./index-
|
|
1
|
+
import{Q as l,V as i,an as s,aK as a,p as c,o as n,y as r}from"./index-Ci63exms.js";import{n as t}from"./mui-bYXq4XMS.js";import{N as h}from"./VideoPlayer-Gw_PLr8F-BcD3Qyt1.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as C,F as j,V as s,P as B,U as D,n as S,b as M,o as n,y as $,B as E,M as L,_ as P,E as z,p as h,s as N,a as A,u as g,c as T}from"./index-
|
|
1
|
+
import{Q as C,F as j,V as s,P as B,U as D,n as S,b as M,o as n,y as $,B as E,M as L,_ as P,E as z,p as h,s as N,a as A,u as g,c as T}from"./index-Ci63exms.js";import{n as t}from"./mui-bYXq4XMS.js";import{cH as F}from"./zeni-epic-state-BwKvATgd.js";import"./core-3dlyNYRL.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const e=j.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},Q={title:new E("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?F(r):0,v=r?.onboardingInfo?.bankAccountLinked,x=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=R(v,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=V(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=O(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=_(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(G,{children:[s.jsx(H,{windowSize:l,children:s.jsx(U,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(q,{children:[s.jsx(W,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:B(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
|
|
2
2
|
${B(e.cockpit.review.warningsDrawer.issueFound)}`})}),u.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(D,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(S,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...M.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},R=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},V=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},O=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},_=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},G=t.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a8 as Te,Q as M,av as Pe,d as pe,aN as Be,V as t,F as Z,aL as P,bQ as B,o,bz as Le,b as A,cm as O,cn as R,co as Y,ab as Ne,
|
|
1
|
+
import{a8 as Te,Q as M,av as Pe,d as pe,aN as Be,V as t,F as Z,aL as P,bQ as B,o,bz as Le,b as A,cm as O,cn as R,co as Y,ab as Ne,ek as Me,p as y,cW as He,aK as C,A as he,ag as b,bI as Ee,bL as Ie,aQ as Ue,y as j,gR as We,fc as ae,u as p,ak as q,hq as Oe,b5 as Re,aZ as Ye,hr as Fe,c as Ve,hs as Ge,s as Je,gT as Ke,d2 as Xe,al as Ze,B as qe,cf as Qe}from"./index-Ci63exms.js";import{a as r}from"./core-3dlyNYRL.js";import{n as a}from"./mui-bYXq4XMS.js";import{Fx as _e,bO as F}from"./zeni-epic-state-BwKvATgd.js";import{$ as et}from"./BoxItem-8PfNfaHq-CqIGaIYz.js";import{w as tt}from"./downloadPdf-yGlKpV2--PjZSq5HD.js";import{H as ot}from"./DepositAccTransactionItem-D8kL8enp-J-22cTZM.js";import{U as at}from"./ZeniAccountNavBarPieces-DsUwG15z-DiPlFFTl.js";import{h as it,A as nt,C as lt,X as rt,Y as ct,T as st,a as dt}from"./recharts-h5iNQbFd.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./lexical-DPEnH3HH.js";import"./commonDimensions-B1u_MhON-D3_HfKhE.js";const pt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ht=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100vh;
|
|
@@ -8,12 +8,12 @@ import{a8 as Te,Q as M,av as Pe,d as pe,aN as Be,V as t,F as Z,aL as P,bQ as B,o
|
|
|
8
8
|
background-color: ${e=>e.theme.colors.grey5};
|
|
9
9
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
10
10
|
background-color: ${e=>e.theme.colors.grey4};
|
|
11
|
-
`,ie="editNickName-form",F="checkingAccountNickName",ut={tickLabelText:new qe("extraSmallRegular","smallRegular")},h={accountDetailHeaderPaddingRight:new j(p[3],p[8]),accountDetailHeaderPaddingBottom:new j(p[3],p[6]),accountDetailHeaderPaddingLeft:new j(p[3],p[8]),accountDetailContentMarginTop:new j(p[5],p[7]),areaChartHeight:new j(114,209),accountDetailHeaderGap:new j(18,100,184),accBtnsGap:new j(0,p[11]),styledNoTransactionIconSize:new j(60,120)},{common:N,spendManagement:mt}=Z.getLocalizedStrings(),{zeniAccounts:i}=mt,G=Z.getLocalizedStrings().dateFormat,xt=Z.getLocalizedStrings().peoplePage,ne=e=>t.jsx(Kt,{children:e}),ue=r.memo(({accountHistory:e})=>{const u=M(),n=pe(),[m,$]=r.useState(),w=r.useMemo(()=>e.accountHistoryWithBalance.map(l=>({...l,date:l.date.toISOString()})),[e.accountHistoryWithBalance]),x=r.useCallback(l=>{let d="",c="";return l&&l[0]&&(c=P("0,0[.]00",l[0].payload?.balance?.available),d=V(l[0].payload?.date).format(G.visual.DMMMYYYYFormat)),t.jsxs(Gt,{children:[t.jsx(le,{children:d}),t.jsx(le,{isSublabel:!0,children:c})]})},[]),g=r.useCallback(l=>{const{x:d,y:c}=l,{value:v}=l.payload;let D=!1;e.accountHistoryWithBalance.length>360&&(D=!0);const S=D?V(v).format(G.visual.MMMformat):V(v).format(G.visual.MMMDFormat);return t.jsx(zt,{translateX:d,translateY:c,children:t.jsx(Nt,{windowSize:u,dy:20,dx:-25,children:S})})},[e.accountHistoryWithBalance.length,u]),k=r.useCallback(({cx:l,cy:d,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==l||m?.y!==d)&&$({x:l,y:d}),t.jsx(Jt,{cx:l,cy:d,strokeWidth:1,r:p[1]})),[m]),f=r.useMemo(()=>{const l=e.accountHistoryWithBalance.length;return l<=0?0:l>360?Math.floor(l/12):Math.floor(l/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(po,{children:t.jsx(ho,{children:N.texts.noData})}):t.jsx(Ut,{children:t.jsx(it,{height:h.areaChartHeight.value(u),width:"99%",children:t.jsxs(nt,{data:w,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Mt,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Ht,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(Et,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(lt,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(rt,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:l=>g(l),padding:{right:p[4]},interval:f}),t.jsx(ct,{tick:!1,axisLine:!1}),t.jsx(st,{position:m,content:({payload:l})=>x(l),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(dt,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:y.brandColorJade,fill:"url(#colorUv)"})]})})})});ue.displayName="AccountBalanceGraph";const me=r.memo(({zeniAccountDetail:e,getToolTipContent:u,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:w,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const f=M(),l=r.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(kt,{windowSize:f,children:[t.jsx(gt,{getToolTipContent:u,zeniAccountDetail:e}),t.jsxs(Dt,{children:[t.jsx(ue,{accountHistory:l}),t.jsxs(It,{windowSize:f,children:[t.jsxs(Yt,{onClick:n,"data-testid":C("view-account-detail-button"),children:[t.jsx(io,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Vt,{"data-testid":C("download-bank-verification-letter"),onClick:()=>tt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[w?t.jsx(he,{size:"Standard",start:!0}):t.jsx(no,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs(jt,{windowSize:f,children:[t.jsxs(bt,{children:[t.jsx(Qt,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(_t,{onClick:g,"data-testid":C("view-all-account-transactions"),children:[t.jsx(to,{children:i.zeniAccountDetail.viewAll}),t.jsx(eo,{})]}):null]}),t.jsx(Ct,{children:e.transactionList.map((d,c)=>t.jsx(ot,{data:d,boxType:et(c,e.transactionList.length)},d.id))})]}):t.jsxs(ft,{children:[t.jsx(yt,{windowSize:f}),t.jsx($t,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const zo=({authParams:e,downloadEndPoint:u,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:w,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:f,onEditNameClick:l,onReloadZeniAccountDetailPage:d})=>{const c=Te({mode:"all"}),{setFocus:v}=c,[D,S]=r.useState(!1),[H,E]=r.useState(!1),[Q,xe]=r.useState(!1),_=M(),ee=Pe(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||_e(ee.loggedInUserRoleMap);r.useEffect(()=>{const s=setTimeout(()=>{n.fetchState==="Completed"&&n.accountDetail?.accountBalance.available.amount===0&&!te&&g("transfer",n.accountDetail)},500);return()=>{clearTimeout(s)}},[n.accountDetail?.id,n.fetchState,te]),r.useEffect(()=>{Q===!0&&setTimeout(()=>{xe(!1)},800)},[Q]);const ge=n.transactionList.length>4,I=pe(),[fe,ye]=r.useState(!1),[$e,U]=r.useState(!1),W=n.accountUpdateStatus.editName.fetchState,oe=Be(W),je=s=>{s==="closeAccount"?S(!0):s==="editNickName"?E(!0):s==="payBill"?U(!0):g(s,n.accountDetail)},be={onOkClick:()=>{f?.(),S(!1)},onCancelClick:()=>{S(!1)}},we={onOkClick:()=>{},onCancelClick:()=>{c.reset(),E(!1)}};r.useEffect(()=>{oe==="In-Progress"&&W==="Completed"&&(E(!1),c.reset())},[oe,W,c]),r.useEffect(()=>{H&&v(F)},[H,v]);const ke={pageName:"detailPage",onOptionSelection:je},Ce=n.accountDetail?.accountName??"",z=n.accountSummary,ve=c.handleSubmit(s=>{l?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),U(!1)},onCancelClick:()=>{U(!1)}},Ae=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},De=r.useCallback(s=>{let T=null;switch(s){case"insuredBalance":T=t.jsx(t.Fragment,{});break;case"totalInterest":T=t.jsx(so,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":T=t.jsxs(ro,{children:[t.jsx(lo,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(J,{children:[t.jsx(K,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(X,{children:P("0,0[.]00",z?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(K,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(X,{children:P("0,0[.]00",z?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(K,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(X,{children:P("0,0[.]00",z?.totalBalance.available)})]})]});break}return t.jsx(L,{children:t.jsx(B,{style:{textAlign:"left",padding:o.sp1},maxWidth:Ae(s),display:"flex",placement:_==="small"?"bottom":"top",title:T,children:t.jsx(co,{})})})},[z,_]),ze=t.jsx(at,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(wt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:I.colors.grey4,style:{zIndex:3,...A.largeSemiBold.cssObject},rightSideComponent:ze,source:"ZeniAccountDetailPage"}),D?t.jsx(O,{titleComponent:t.jsx(Y,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(R,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${N.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:be}):null,$e?t.jsx(O,{titleComponent:t.jsx(Y,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,H?t.jsx(O,{titleComponent:t.jsx(Y,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:we,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:ve,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(Me,{type:"text",name:F,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:He(c.formState.errors,F)===!0?y.importantLight:I.colors.background,border:`1px solid ${I.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:u,getToolTipContent:De,onAccountDetailClick:x,onViewAllTransactionClick:w,setShowLoader:ye,showLoader:fe,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(Pt,{onClick:d,"data-testid":C("account-detail-reload"),children:t.jsx(Lt,{})}),t.jsx(Bt,{children:xt.reloadPage.label})]}):t.jsx(ht,{children:t.jsx(he,{size:"ExtraLarge",start:!0})})]})},gt=({zeniAccountDetail:e,getToolTipContent:u})=>{const n=M(),[m,$]=r.useState(!1),[,w]=We(),[x,g]=r.useState(!1),k=()=>{w(e.accountDetail?.accountNumber??""),g(!0)};return r.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(St,{children:[t.jsx(Ft,{children:t.jsxs(re,{children:[ne(i.zeniAccountList.totalAvailableBalance),u("totalBalance")]})}),t.jsx(qt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:A.h2Regular.cssObject,decimalStyles:A.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Zt,{"data-testid":C("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"right",title:x?N.copyToClipBoard.copied:N.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(ao,{}):t.jsx(oo,{onClick:k,"data-testid":C("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Xt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(At,{children:[t.jsxs(re,{children:[ne(i.common.totalYieldEarned),u("totalInterest")]}),t.jsxs(Wt,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:A.largeRegular.cssObject,decimalStyles:A.smallRegular.cssObject}),t.jsx(Ot,{}),t.jsx(Rt,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},ft=a.div`
|
|
11
|
+
`,ie="editNickName-form",V="checkingAccountNickName",ut={tickLabelText:new qe("extraSmallRegular","smallRegular")},h={accountDetailHeaderPaddingRight:new j(p[3],p[8]),accountDetailHeaderPaddingBottom:new j(p[3],p[6]),accountDetailHeaderPaddingLeft:new j(p[3],p[8]),accountDetailContentMarginTop:new j(p[5],p[7]),areaChartHeight:new j(114,209),accountDetailHeaderGap:new j(18,100,184),accBtnsGap:new j(0,p[11]),styledNoTransactionIconSize:new j(60,120)},{common:N,spendManagement:mt}=Z.getLocalizedStrings(),{zeniAccounts:i}=mt,G=Z.getLocalizedStrings().dateFormat,xt=Z.getLocalizedStrings().peoplePage,ne=e=>t.jsx(Kt,{children:e}),ue=r.memo(({accountHistory:e})=>{const u=M(),n=pe(),[m,$]=r.useState(),w=r.useMemo(()=>e.accountHistoryWithBalance.map(l=>({...l,date:l.date.toISOString()})),[e.accountHistoryWithBalance]),x=r.useCallback(l=>{let d="",c="";return l&&l[0]&&(c=P("0,0[.]00",l[0].payload?.balance?.available),d=F(l[0].payload?.date).format(G.visual.DMMMYYYYFormat)),t.jsxs(Gt,{children:[t.jsx(le,{children:d}),t.jsx(le,{isSublabel:!0,children:c})]})},[]),g=r.useCallback(l=>{const{x:d,y:c}=l,{value:v}=l.payload;let D=!1;e.accountHistoryWithBalance.length>360&&(D=!0);const S=D?F(v).format(G.visual.MMMformat):F(v).format(G.visual.MMMDFormat);return t.jsx(zt,{translateX:d,translateY:c,children:t.jsx(Nt,{windowSize:u,dy:20,dx:-25,children:S})})},[e.accountHistoryWithBalance.length,u]),k=r.useCallback(({cx:l,cy:d,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==l||m?.y!==d)&&$({x:l,y:d}),t.jsx(Jt,{cx:l,cy:d,strokeWidth:1,r:p[1]})),[m]),f=r.useMemo(()=>{const l=e.accountHistoryWithBalance.length;return l<=0?0:l>360?Math.floor(l/12):Math.floor(l/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(po,{children:t.jsx(ho,{children:N.texts.noData})}):t.jsx(Ut,{children:t.jsx(it,{height:h.areaChartHeight.value(u),width:"99%",children:t.jsxs(nt,{data:w,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Mt,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Ht,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(Et,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(lt,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(rt,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:l=>g(l),padding:{right:p[4]},interval:f}),t.jsx(ct,{tick:!1,axisLine:!1}),t.jsx(st,{position:m,content:({payload:l})=>x(l),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(dt,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:y.brandColorJade,fill:"url(#colorUv)"})]})})})});ue.displayName="AccountBalanceGraph";const me=r.memo(({zeniAccountDetail:e,getToolTipContent:u,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:w,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const f=M(),l=r.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(kt,{windowSize:f,children:[t.jsx(gt,{getToolTipContent:u,zeniAccountDetail:e}),t.jsxs(Dt,{children:[t.jsx(ue,{accountHistory:l}),t.jsxs(It,{windowSize:f,children:[t.jsxs(Yt,{onClick:n,"data-testid":C("view-account-detail-button"),children:[t.jsx(io,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Ft,{"data-testid":C("download-bank-verification-letter"),onClick:()=>tt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[w?t.jsx(he,{size:"Standard",start:!0}):t.jsx(no,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs(jt,{windowSize:f,children:[t.jsxs(bt,{children:[t.jsx(Qt,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(_t,{onClick:g,"data-testid":C("view-all-account-transactions"),children:[t.jsx(to,{children:i.zeniAccountDetail.viewAll}),t.jsx(eo,{})]}):null]}),t.jsx(Ct,{children:e.transactionList.map((d,c)=>t.jsx(ot,{data:d,boxType:et(c,e.transactionList.length)},d.id))})]}):t.jsxs(ft,{children:[t.jsx(yt,{windowSize:f}),t.jsx($t,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const zo=({authParams:e,downloadEndPoint:u,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:w,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:f,onEditNameClick:l,onReloadZeniAccountDetailPage:d})=>{const c=Te({mode:"all"}),{setFocus:v}=c,[D,S]=r.useState(!1),[H,E]=r.useState(!1),[Q,xe]=r.useState(!1),_=M(),ee=Pe(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||_e(ee.loggedInUserRoleMap);r.useEffect(()=>{const s=setTimeout(()=>{n.fetchState==="Completed"&&n.accountDetail?.accountBalance.available.amount===0&&!te&&g("transfer",n.accountDetail)},500);return()=>{clearTimeout(s)}},[n.accountDetail?.id,n.fetchState,te]),r.useEffect(()=>{Q===!0&&setTimeout(()=>{xe(!1)},800)},[Q]);const ge=n.transactionList.length>4,I=pe(),[fe,ye]=r.useState(!1),[$e,U]=r.useState(!1),W=n.accountUpdateStatus.editName.fetchState,oe=Be(W),je=s=>{s==="closeAccount"?S(!0):s==="editNickName"?E(!0):s==="payBill"?U(!0):g(s,n.accountDetail)},be={onOkClick:()=>{f?.(),S(!1)},onCancelClick:()=>{S(!1)}},we={onOkClick:()=>{},onCancelClick:()=>{c.reset(),E(!1)}};r.useEffect(()=>{oe==="In-Progress"&&W==="Completed"&&(E(!1),c.reset())},[oe,W,c]),r.useEffect(()=>{H&&v(V)},[H,v]);const ke={pageName:"detailPage",onOptionSelection:je},Ce=n.accountDetail?.accountName??"",z=n.accountSummary,ve=c.handleSubmit(s=>{l?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),U(!1)},onCancelClick:()=>{U(!1)}},Ae=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},De=r.useCallback(s=>{let T=null;switch(s){case"insuredBalance":T=t.jsx(t.Fragment,{});break;case"totalInterest":T=t.jsx(so,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":T=t.jsxs(ro,{children:[t.jsx(lo,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(J,{children:[t.jsx(K,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(X,{children:P("0,0[.]00",z?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(K,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(X,{children:P("0,0[.]00",z?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(K,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(X,{children:P("0,0[.]00",z?.totalBalance.available)})]})]});break}return t.jsx(L,{children:t.jsx(B,{style:{textAlign:"left",padding:o.sp1},maxWidth:Ae(s),display:"flex",placement:_==="small"?"bottom":"top",title:T,children:t.jsx(co,{})})})},[z,_]),ze=t.jsx(at,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(wt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:I.colors.grey4,style:{zIndex:3,...A.largeSemiBold.cssObject},rightSideComponent:ze,source:"ZeniAccountDetailPage"}),D?t.jsx(O,{titleComponent:t.jsx(Y,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(R,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${N.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:be}):null,$e?t.jsx(O,{titleComponent:t.jsx(Y,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,H?t.jsx(O,{titleComponent:t.jsx(Y,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:we,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:ve,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(Me,{type:"text",name:V,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:He(c.formState.errors,V)===!0?y.importantLight:I.colors.background,border:`1px solid ${I.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:u,getToolTipContent:De,onAccountDetailClick:x,onViewAllTransactionClick:w,setShowLoader:ye,showLoader:fe,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(Pt,{onClick:d,"data-testid":C("account-detail-reload"),children:t.jsx(Lt,{})}),t.jsx(Bt,{children:xt.reloadPage.label})]}):t.jsx(ht,{children:t.jsx(he,{size:"ExtraLarge",start:!0})})]})},gt=({zeniAccountDetail:e,getToolTipContent:u})=>{const n=M(),[m,$]=r.useState(!1),[,w]=We(),[x,g]=r.useState(!1),k=()=>{w(e.accountDetail?.accountNumber??""),g(!0)};return r.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(St,{children:[t.jsx(Vt,{children:t.jsxs(re,{children:[ne(i.zeniAccountList.totalAvailableBalance),u("totalBalance")]})}),t.jsx(qt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:A.h2Regular.cssObject,decimalStyles:A.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Zt,{"data-testid":C("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"right",title:x?N.copyToClipBoard.copied:N.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(ao,{}):t.jsx(oo,{onClick:k,"data-testid":C("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Xt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(At,{children:[t.jsxs(re,{children:[ne(i.common.totalYieldEarned),u("totalInterest")]}),t.jsxs(Wt,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:A.largeRegular.cssObject,decimalStyles:A.smallRegular.cssObject}),t.jsx(Ot,{}),t.jsx(Rt,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},ft=a.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
align-items: center;
|
|
15
15
|
justify-content: center;
|
|
16
|
-
`,yt=a(
|
|
16
|
+
`,yt=a(Fe)`
|
|
17
17
|
width: ${e=>h.styledNoTransactionIconSize.valuePx(e.windowSize)};
|
|
18
18
|
height: ${e=>h.styledNoTransactionIconSize.valuePx(e.windowSize)};
|
|
19
19
|
margin-top: 128px;
|
|
@@ -150,7 +150,7 @@ import{a8 as Te,Q as M,av as Pe,d as pe,aN as Be,V as t,F as Z,aL as P,bQ as B,o
|
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
margin-left: ${o.sp3};
|
|
153
|
-
`,
|
|
153
|
+
`,Ft=a.div`
|
|
154
154
|
display: flex;
|
|
155
155
|
flex-direction: row;
|
|
156
156
|
align-items: center;
|
|
@@ -165,7 +165,7 @@ import{a8 as Te,Q as M,av as Pe,d as pe,aN as Be,V as t,F as Z,aL as P,bQ as B,o
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
margin-right: ${o.sp3};
|
|
168
|
-
`,
|
|
168
|
+
`,Vt=a(b)`
|
|
169
169
|
display: flex;
|
|
170
170
|
color: ${e=>e.theme.colors.hero};
|
|
171
171
|
`,Gt=a.div`
|
|
@@ -190,7 +190,7 @@ import{a8 as Te,Q as M,av as Pe,d as pe,aN as Be,V as t,F as Z,aL as P,bQ as B,o
|
|
|
190
190
|
gap: ${o.sp1};
|
|
191
191
|
`,Kt=a(b)`
|
|
192
192
|
color: ${e=>e.theme.colors.hero};
|
|
193
|
-
`,ce=a(
|
|
193
|
+
`,ce=a(Ve)`
|
|
194
194
|
text-transform: capitalize;
|
|
195
195
|
color: ${e=>`${e.windowSize==="small"?e.theme.colors.hero:e.theme.colors.champion}`};
|
|
196
196
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as
|
|
1
|
+
import{Q as K,a8 as Ie,aN as _e,d as De,aV as Ee,F as H,aM as Fe,V as t,cm as W,p as o,ab as Ge,o as n,ek as Ne,cW as Ue,cn as ne,co as ie,hl as Re,aL as G,bQ as fe,bz as Oe,b as C,ap as We,ak as Ye,c as Ve,bY as Ze,bI as ye,ag as b,av as Qe,ca as qe,fc as F,aK as N,y as j,al as X,hm as Je,B as Ke,M as He,am as Xe,cY as et,cf as tt,g1 as nt,u,dK as it,fF as ot,hn as rt,n as st,ho as at,bL as ct,aQ as lt}from"./index-Ci63exms.js";import{a as g}from"./core-3dlyNYRL.js";import{n as i}from"./mui-bYXq4XMS.js";import{Fx as dt}from"./zeni-epic-state-BwKvATgd.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-iFkTgScT.js";import{o as ut}from"./shield-DOlUxcFf-BXuToJ7O.js";import{U as mt}from"./ZeniAccountNavBarPieces-DsUwG15z-DiPlFFTl.js";import{v as ht}from"./ZeniTransferAmountSlider-DSrBZUbA-BFqVxMPD.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const gt=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=H.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:w,style:S})=>{const s=K(),v=(c,T)=>Object.entries(T).reduce((M,[A,$])=>M.replace(new RegExp(`__${A}__`,"g"),$),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),L=[{icon:t.jsx(zt,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs($t,{style:S,children:[t.jsx(wt,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(jt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(bt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsxs(At,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},$t=i.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -177,7 +177,7 @@ import{Q as H,a8 as Ie,aN as _e,d as De,aV as Ee,F as K,aM as Fe,V as t,cm as W,
|
|
|
177
177
|
width: ${n.sp3};
|
|
178
178
|
height: ${n.sp3};
|
|
179
179
|
color: ${o.brandColorGoldDark};
|
|
180
|
-
`,Lt=e=>g.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M1.50005 3.41819V11.3868C1.49582 13.9724 2.27853 16.4989 3.74542 18.6344C5.2123 20.77 7.29478 22.4147 9.71941 23.3528L10.8398 23.7848C11.5863 24.0717 12.4137 24.0717 13.1602 23.7848L14.2806 23.3528C16.7052 22.4147 18.7877 20.77 20.2546 18.6344C21.7215 16.4989 22.5042 13.9724 22.4999 11.3868V3.41819C22.5025 3.11029 22.4157 2.80819 22.2499 2.54802C22.0842 2.28785 21.8466 2.08063 21.5655 1.95114C18.5518 0.635546 15.2915 -0.0291648 12 0.000981362C8.70855 -0.0291648 5.44817 0.635546 2.43455 1.95114C2.15343 2.08063 1.91579 2.28785 1.75007 2.54802C1.58435 2.80819 1.49755 3.11029 1.50005 3.41819Z",fill:"#36B37E"}),g.createElement("path",{d:"M16.5194 8.42881L11.3671 13.3387C11.3022 13.4007 11.2254 13.4489 11.1414 13.4802C11.0573 13.5116 10.9677 13.5256 10.8781 13.5212C10.7897 13.517 10.703 13.4951 10.6232 13.4568C10.5434 13.4185 10.4721 13.3646 10.4135 13.2982L8.06814 10.6339",stroke:"#FAFAFA",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),x={bankAccListBottomMargin:new j(u[7],u[6]),containerWidth:new j(96,67),containerTopMargin:new j(u[4],u[6]),BankAccListTopMargin:new j(u[4],u[8]),containerSidePadding:new j(u[3],u[0]),accountRowTopBottomPadding:new j(u[3],u[4]),accountRowBottomMargin:new j(u[3],u[5]),totalInsuredAndYieldContainerTopMargin:new j(u[3],u[0])},Pt={bankAccountName:new
|
|
180
|
+
`,Lt=e=>g.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M1.50005 3.41819V11.3868C1.49582 13.9724 2.27853 16.4989 3.74542 18.6344C5.2123 20.77 7.29478 22.4147 9.71941 23.3528L10.8398 23.7848C11.5863 24.0717 12.4137 24.0717 13.1602 23.7848L14.2806 23.3528C16.7052 22.4147 18.7877 20.77 20.2546 18.6344C21.7215 16.4989 22.5042 13.9724 22.4999 11.3868V3.41819C22.5025 3.11029 22.4157 2.80819 22.2499 2.54802C22.0842 2.28785 21.8466 2.08063 21.5655 1.95114C18.5518 0.635546 15.2915 -0.0291648 12 0.000981362C8.70855 -0.0291648 5.44817 0.635546 2.43455 1.95114C2.15343 2.08063 1.91579 2.28785 1.75007 2.54802C1.58435 2.80819 1.49755 3.11029 1.50005 3.41819Z",fill:"#36B37E"}),g.createElement("path",{d:"M16.5194 8.42881L11.3671 13.3387C11.3022 13.4007 11.2254 13.4489 11.1414 13.4802C11.0573 13.5116 10.9677 13.5256 10.8781 13.5212C10.7897 13.517 10.703 13.4951 10.6232 13.4568C10.5434 13.4185 10.4721 13.3646 10.4135 13.2982L8.06814 10.6339",stroke:"#FAFAFA",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),x={bankAccListBottomMargin:new j(u[7],u[6]),containerWidth:new j(96,67),containerTopMargin:new j(u[4],u[6]),BankAccListTopMargin:new j(u[4],u[8]),containerSidePadding:new j(u[3],u[0]),accountRowTopBottomPadding:new j(u[3],u[4]),accountRowBottomMargin:new j(u[3],u[5]),totalInsuredAndYieldContainerTopMargin:new j(u[3],u[0])},Pt={bankAccountName:new Ke("standardRegular","largeMedium")},d=H.getLocalizedStrings(),Y=e=>t.jsx(Ot,{children:e}),Bt=({fetchState:e,onReloadTransactions:a})=>e==="Error"?t.jsxs(cn,{children:[t.jsx(ln,{onClick:a,"data-testid":N("zeni-account-list-reload"),children:t.jsx(dn,{})}),t.jsx(pn,{children:d.peoplePage.reloadPage.label})]}):t.jsx(nt,{fetchState:e,styles:{margin:"auto"}}),Tt=({zeniAccountListView:e,zeniAccountsConfigDetail:a,maxInsuredAmountString:w,analytics:S,onZeniAccountRowClick:s,onReloadTransactions:v,handleAddInternalAccountClick:P,onAddFundClick:B,onTreasuryGetStartedClick:f,treasuryYieldPercentage:L,treasuryInsuredAmount:c,showTreasuryPromo:T})=>{const{depositAccountsSelectorView:M,fetchState:A,summary:$}=e,p=K(),I=Qe(),y=I.loggedInUserRoleMap.deposit_accounts_user===!0||dt(I.loggedInUserRoleMap),_=r=>{S.trackAccountsListPageClicked("Add Funds",r.accountName,"active"),B("transfer",r)},E=r=>{switch(r){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"290px";default:return"320px"}},z=r=>{let k=t.jsx(t.Fragment,{});switch(r){case"insuredBalance":k=t.jsx(Z,{style:{width:"300px"},children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceTooltip.replace("__amount__",w)});break;case"totalInterest":k=t.jsx(Z,{children:d.spendManagement.zeniAccounts.zeniAccountList.yieldTooltip});break;case"totalBalance":k=t.jsxs(Z,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[t.jsx(xn,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.base}),t.jsxs(Q,{children:[t.jsx(q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.balance}),t.jsx(J,{children:G("0,0[.]00",$?.totalBalance.current)})]}),t.jsxs(Q,{children:[t.jsx(q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(J,{children:G("0,0[.]00",$?.totalBalance.hold)})]}),t.jsxs(Q,{children:[t.jsx(q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(J,{children:G("0,0[.]00",$?.totalBalance.available)})]})]});break}return t.jsx(mn,{children:t.jsx(fe,{style:{textAlign:"left",padding:n.sp1},maxWidth:E(r),display:"flex",placement:p==="small"?"bottom":"top",title:k,children:r==="insuredBalance"?t.jsx(gn,{}):t.jsx(hn,{})})})},U=r=>t.jsx(Ut,{color:Je(r)});return qe({componentName:"checking.list",enabled:A==="Completed"}),t.jsx(Mt,{children:A==="Completed"?t.jsxs(un,{windowSize:p,children:[t.jsxs(Et,{windowSize:p,children:[t.jsxs(Rt,{windowSize:p,children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.totalAvailableBalance),z("totalBalance")]}),t.jsx(F,{amount:$?.totalBalance.available})]}),t.jsxs(It,{windowSize:p,children:[t.jsxs(Qt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.insuredFund),z("insuredBalance")]}),t.jsx(F,{amount:$?.insuredBalance.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsx(Vt,{children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceInfo.replace("__amount__",w)})]}),t.jsxs(qt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.common.totalYieldEarned),z("totalInterest")]}),t.jsx(F,{amount:$?.totalInterest.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsxs(Wt,{children:[d.spendManagement.zeniAccounts.zeniAccountList.currentAverageYield,t.jsx(Yt,{children:a.zeniAccountsConfigDetail.annualPercentageYield})]})]})]})]}),T===!0&&t.jsx($n,{windowSize:p,children:t.jsx(xt,{yieldPercentage:L,insuredAmount:c,onGetStartedClick:()=>{S.trackAccountsListPageClicked("Move Money"),f?.()}})}),t.jsxs(Nt,{windowSize:p,children:[M.depositAccounts.map((r,k)=>t.jsxs(Jt,{isClickEnabled:!0,windowSize:p,onClick:()=>s?.(r.id,r.accountName),"data-testid":N("deposit-account-clicked",r.id),children:[t.jsxs(Zt,{children:[U(k),t.jsxs(Kt,{children:[t.jsx(Ht,{windowSize:p,children:r.accountName}),t.jsxs(Xt,{windowSize:p,children:[t.jsx(Ft,{children:t.jsx(en,{children:r.maskedAccountNumber})}),t.jsxs(Gt,{children:[p==="small"?null:t.jsx(tn,{}),t.jsx(nn,{windowSize:p,children:d.spendManagement.zeniAccounts.zeniAccountList.active})]})]})]})]}),t.jsxs(on,{children:[t.jsx(F,{amount:r.accountBalance.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),y?null:t.jsx(_t,{onClick:D=>{D.stopPropagation(),_(r)},"data-testid":N("add-fund",r.id),children:t.jsx(Dt,{children:d.spendManagement.zeniAccounts.zeniAccountList.addFundBtnText})})]})]},r.id)),t.jsxs(rn,{onClick:P,"data-testid":N("add-new-internal-zeni-account"),children:[t.jsx(sn,{}),t.jsx(an,{children:d.spendManagement.zeniAccounts.zeniAccountList.addAccountText})]})]})]}):t.jsx(Bt,{fetchState:A,onReloadTransactions:v})})},Mt=i.div`
|
|
181
181
|
display: block;
|
|
182
182
|
height: 100%;
|
|
183
183
|
`,It=i.div`
|
|
@@ -256,12 +256,12 @@ import{Q as H,a8 as Ie,aN as _e,d as De,aV as Ee,F as K,aM as Fe,V as t,cm as W,
|
|
|
256
256
|
border-color: ${e=>e.theme.colors.primary};
|
|
257
257
|
color: ${e=>e.isClickEnabled?e.theme.colors.champion:e.theme.colors.hero};
|
|
258
258
|
}
|
|
259
|
-
`,
|
|
259
|
+
`,Kt=i.div`
|
|
260
260
|
max-width: calc(100% - 30px);
|
|
261
261
|
width: calc(100% - 40px);
|
|
262
262
|
white-space: nowrap;
|
|
263
263
|
overflow: hidden;
|
|
264
|
-
`,
|
|
264
|
+
`,Ht=i(He)`
|
|
265
265
|
${e=>`${Pt.bankAccountName.style(e.windowSize)}`};
|
|
266
266
|
color: ${e=>e.theme.colors.primary};
|
|
267
267
|
max-width: ${`calc(100% - ${n.sp3})`};
|
|
@@ -387,7 +387,7 @@ import{Q as H,a8 as Ie,aN as _e,d as De,aV as Ee,F as K,aM as Fe,V as t,cm as W,
|
|
|
387
387
|
color: ${o.primaryDark};
|
|
388
388
|
`,$n=i.div`
|
|
389
389
|
margin-top: ${n.sp4};
|
|
390
|
-
`,{common:wn,spendManagement:{zeniAccounts:l}}=
|
|
390
|
+
`,{common:wn,spendManagement:{zeniAccounts:l}}=H.getLocalizedStrings(),we="checkingAccountCreation-form",Wn=({zeniAccountListView:e,analytics:a,maxInsuredAmount:w,isBillPayEnabled:S,isExpressPayEnabled:s,onBackClick:v,onZeniAccountClick:P,onSettingsClick:B,handleMoveMoneyOptionSelection:f,onReloadTransactions:L,onCreateCheckingClick:c,onClickMenuIcon:T,onTreasuryGetStartedClick:M,showTreasuryPromo:A,treasuryYieldPercentage:$,treasuryInsuredAmount:p})=>{const I=K(),y=Ie({mode:"all"}),_=e.newCheckingAccount.fetchState,E=_e(_);g.useEffect(()=>{E==="In-Progress"&&_==="Completed"&&(r(!1),D(!0),y.reset())},[E,_,y]);const z=De(),[U,r]=g.useState(!1),[k,D]=g.useState(!1),[ke,R]=g.useState(!1),[je,be]=g.useState(0),[Ae,ze]=g.useState(0),Ce=(h,O)=>{P(h,O)},Se={pageName:"listPage",onOptionSelection:h=>{h==="payBill"?(a.trackAccountsListPageClicked("Pay Someone"),R(!0)):(h==="sendMoney"?a.trackSendMoneyClick():h==="checkDeposit"?a.trackAccountsListPageClicked("Deposit a Check"):h==="transfer"&&a.trackAccountsListPageClicked("Transfer Between Accounts"),f(h))}},ve={onOkClick:()=>{},onCancelClick:()=>{a.trackAccountsListPageClicked("Add Business Account Cancel"),y.reset(),r(!1)}},Le={onOkClick:()=>{const h=e.depositAccountsSelectorView.depositAccounts.find(O=>O.id===e.newCheckingAccount.accountId);a.trackAccountsListPageClicked("Add Business Account Add Funds"),f("transfer",h),D(!1)},onCancelClick:()=>{a.trackAccountsListPageClicked("Add Business Account Not Now"),D(!1)}},Pe={onOkClick:()=>{a.trackAccountsListPageClicked("Proceed on Bills pop up"),f("payBill"),R(!1)},onCancelClick:()=>{a.trackAccountsListPageClicked("Not Now on Bills pop up"),R(!1)}},Be=y.handleSubmit(h=>{a.trackAccountsListPageClicked("Add Business Account Create"),c?.(h.checkingAccountNickName)}),ee=e.zeniAccountsConfig.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Te=ee[ee.length-1].annualPercentageYield.toString(),te=Ee(Fe(w),w,wn.currency.currencySymbol).toUpperCase(),Me=t.jsx(mt,{onSettingsClick:B,isBillPayEnabled:S,isExpressPayEnabled:s,zeniBankProps:Se,analytics:a});return t.jsxs(fn,{children:[U?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.createPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.createPopUpInfo.description}),primaryButtonText:l.zeniAccountList.createPopUpInfo.primaryButtonText,isLoading:e.newCheckingAccount.fetchState==="In-Progress",formId:we,secondaryButtonText:l.zeniAccountList.createPopUpInfo.secondaryButtonText,style:{background:o.overlayLight},action:ve,children:t.jsx(Ge,{...y,children:t.jsx("form",{id:we,onSubmit:Be,style:{height:n.sp8,width:"80%",marginBottom:n.sp5},children:t.jsx(Ne,{type:"text",name:"checkingAccountNickName",placeholder:l.zeniAccountList.createPopUpInfo.placeholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:n.sp7,textAlign:"left",width:"100%",background:Ue(y.formState.errors,"checkingAccountNickName")===!0?o.importantLight:z.colors.grey5,border:`1px solid ${z.colors.grey2}`},registerOptions:{required:!0,validate:h=>!!h}})})})}):null,k?t.jsx(W,{titleComponent:t.jsx(t.Fragment,{}),descriptionComponent:t.jsx(t.Fragment,{}),primaryButtonText:l.zeniAccountList.addFundsPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.addFundsPopUpInfo.secondaryButtonText,action:Le,primaryButtonWidth:130,secondaryButtonWidth:130,containerStyle:{minWidth:352,maxWidth:544,width:"90%"},children:t.jsxs(kn,{children:[t.jsx(Re,{width:150,height:150,shouldDisplay:!0,animationInLoop:1,styles:{marginBottom:-n.sp4}}),t.jsx(jn,{children:l.zeniAccountList.addFundsPopUpInfo.title}),t.jsx(bn,{children:l.zeniAccountList.addFundsPopUpInfo.description.replace("__rate__",Te).replace("__amount__",te)}),t.jsx(ht,{transferAmount:5e5,currentAccountBalance:0,zeniAccountsConfigDetail:e.zeniAccountsConfig,minStep:.1,setTotalBalance:ze,setYieldEarned:be}),t.jsxs(An,{children:[t.jsxs(Cn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarned,t.jsx(zn,{children:G("0,0",{amount:je,currencySymbol:"$"})}),t.jsx(fe,{variant:"small-description",maxWidth:"280px",data:l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,display:"flex",placement:"left",children:t.jsx(vn,{})})]}),t.jsxs(Sn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.for,Intl.NumberFormat("en",{currency:"USD",notation:"compact",style:"currency",minimumFractionDigits:0}).format(Ae)]})]})]})}):null,ke?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:l.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Pe,primaryButtonWidth:130,secondaryButtonWidth:130}):null,t.jsx(Oe,{title:l.zeniAccountList.tabsById.zeniAccounts,onBackClick:v,showMenuIcon:I==="medium-compact"||I==="small",backgroundColor:z.colors.grey4,style:{zIndex:3,...C.largeSemiBold.cssObject},rightSideComponent:Me,onClickMenuIcon:T,hideSearchBtn:!0,source:"ZeniAccountListViewPage"}),t.jsx(yn,{isLoading:e.fetchState==="In-Progress",children:t.jsx(Tt,{zeniAccountsConfigDetail:e.zeniAccountsConfig,zeniAccountListView:e,onZeniAccountRowClick:Ce,onAddFundClick:f,handleAddInternalAccountClick:()=>{a.trackAccountsListPageClicked("Add Business Account"),r(!0)},analytics:a,onReloadTransactions:L,maxInsuredAmountString:te,onTreasuryGetStartedClick:M,treasuryYieldPercentage:$,treasuryInsuredAmount:p,showTreasuryPromo:A})})]})},fn=i.div`
|
|
391
391
|
display: flex;
|
|
392
392
|
min-height: 100%;
|
|
393
393
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{av as P,fP as O,F as $,V as a,aK as w,gU as p,hp as u,o as s,gW as z}from"./index-
|
|
1
|
+
import{av as P,fP as O,F as $,V as a,aK as w,gU as p,hp as u,o as s,gW as z}from"./index-Ci63exms.js";import{n as d}from"./mui-bYXq4XMS.js";import{bV as B}from"./zeni-epic-state-BwKvATgd.js";const o=$.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:o.moveMoney.editNickName},{value:"accountStatement",label:o.moveMoney.accountStatement}],y={value:"payBill",label:o.moveMoney.payBills},g={value:"transfer",label:o.moveMoney.transfer},v={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:o.moveMoney.checkDeposit},A=[y,g,v,M],C=[v,g,y,M],F=({zeniBankProps:e,isBillPayEnabled:f,isExpressPayEnabled:h,analytics:b,onSettingsClick:k})=>{const i=P(),l=i.loggedInUserRoleMap.deposit_accounts_user===!0||O(i),x=B(i.loggedInUserRoleMap),S=m.filter(t=>t.value==="accountStatement"),c=f===!0?A:C,r=h===!0?c:c.filter(t=>t.value!=="sendMoney"),N=x?r:r.filter(t=>t.value!=="payBill");return a.jsxs(D,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!l?a.jsx(j,{onClick:k,"data-testid":w("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!0,options:l?S:m,title:o.moveMoney.title}),l?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:N,title:o.moveMoney.title,onMenuOpen:()=>b?.trackAccountsListPageClicked("Move Money")})]})},j=d(z)`
|
|
2
2
|
cursor: pointer;
|
|
3
3
|
min-width: ${s.sp4};
|
|
4
4
|
width: ${s.sp4};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as ae,Q as v,aN as ce,av as xe,fP as me,V as i,bz as pe,F as I,fo as ue,c as he,o,cz as ge,ap as J,n as D,aK as L,ad as j,E as we,aV as b,aM as k,aQ as Q,bw as je,y as x,p as A,cA as $e,aR as ye,b8 as Se,u as W,B as $,M as C,al as T,ae as fe}from"./index-
|
|
1
|
+
import{d as ae,Q as v,aN as ce,av as xe,fP as me,V as i,bz as pe,F as I,fo as ue,c as he,o,cz as ge,ap as J,n as D,aK as L,ad as j,E as we,aV as b,aM as k,aQ as Q,bw as je,y as x,p as A,cA as $e,aR as ye,b8 as Se,u as W,B as $,M as C,al as T,ae as fe}from"./index-Ci63exms.js";import{a as F}from"./core-3dlyNYRL.js";import{n}from"./mui-bYXq4XMS.js";import{M as B}from"./usp-line-BBd1wKwW-ClwDS-nj.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(W[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,W[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},ze=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as be,Q as Se,aN as I,a8 as we,cB as Ae,F as xe,aS as B,V as t,f6 as Ce,p as Pe,y as r,bz as ke,A as Fe,ab as ve,fp as ze,
|
|
1
|
+
import{d as be,Q as Se,aN as I,a8 as we,cB as Ae,F as xe,aS as B,V as t,f6 as Ce,p as Pe,y as r,bz as ke,A as Fe,ab as ve,fp as ze,dM as Ve,fq as Te,bu as je,aO as Ee,o as Oe,fs as Ue,u as a,ak as De}from"./index-Ci63exms.js";import{a as m}from"./core-3dlyNYRL.js";import{n as b}from"./mui-bYXq4XMS.js";import{g as Ie}from"./UploadAdditionalDocumentOverlay-CJYvOjh0-D-S1zfGQ.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,a[5],a[5]),sectionRowGap:new r(a[5],a[9],a[9]),iconWidthHeight:new r(20,a[4]),subTitlePaddingTop:new r(12,a[3]),subTitlePaddingBottom:new r(a[3],a[3]),overlayWidth:new r(100,100,59)},L="zeniAccountSetUpPage",k="payAccount",{common:Be,commonSetUp:W,spendManagement:Le}=xe.getLocalizedStrings(),{zeniAccounts:_}=Le,{zeniAccountSetUp:T}=_,{setUp:j}=W,nt=({isDisabled:e,meetingUrl:F,zeniAccountSetUpView:p,analytics:l,connectedAccountProvider:s,filesEndPoint:H,authParams:q,accountsPromoConfig:Z,onFetchLinkTokenClick:M,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:K,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:S,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const w=be(),i=Se(),[A,g]=m.useState(!1),{fetchState:h,companyBillPayInfo:E,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:ue,plaidConnectionDetails:de,allBankAccounts:re,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:f,allFundingAccounts:O}=p,U=I(h),x=I(u.fetchState),v=we({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>$(p),[p]),values:$(p)}),fe=v.handleSubmit(y=>{l.trackEnableZeniAccounts(),G()}),me=async(y,P)=>{const n=P[k];if(y.includes(k)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&f?.id!=n.fundingAccount.selectedOption){const d=O.find(V=>V.id===n.fundingAccount.selectedOption);d!=null&&J(n.fundingAccount.selectedOption,d.accType)}}else if(n.account.selectedOption!=null&&f?.id!=null&&f?.zeniAccountId!=n.account.selectedOption){const d=n.account.allOptions.find(V=>V.value===n.account.selectedOption);d!=null&&typeof d.label=="string"&&l.trackConnectBankLink(d.value,d.label,"zeni_accounts"),Q(n.account.selectedOption,f.id,f.accType)}}};m.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&g(!0),A&&U==="In-Progress"&&h==="Completed"&&g(!1)},[o,h,U]),m.useEffect(()=>{const y=v.watch((P,{name:n})=>{n!=null&&P!=null&&Ae(()=>me(n,P))});return()=>{y.unsubscribe()}}),m.useEffect(()=>{x==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,x,u.fetchState]);const C=pe?.isZeniAccountEnabled===!0,z=E?.isBusinessVerified===!0,ge=h==="In-Progress"||h==="Not-Started";m.useEffect(()=>{x==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,x,u.fetchState]);const he=z?W.setUp.setupVerifiedSubTitle:T.setupSubTitle,D=w.mode==="light"?new B(w.colors.brandColorJadeLight):new B(w.colors.brandColorJadeDark),ye=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?g(!0):K?.()};return t.jsxs(Re,{children:[t.jsx(Ce,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>g(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Ie,{authParams:q,filesEndPoint:H,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>g(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(ke,{title:T.setupTitle,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs($e,{windowSize:i,children:[t.jsx(We,{windowSize:i,children:he}),ge?t.jsx(_e,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...v,children:t.jsx("form",{id:R(L),onSubmit:fe,children:t.jsxs(He,{windowSize:i,children:[t.jsx(ze,{onClick:ye,title:j.businessVerificationTitle,subTitle:j.businessVerificationSubTitle,header:j.businessVerificationHeader,icon:{element:t.jsx(Ve,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:D},status:E?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Te,{connectedAccountProvider:s,plaidConnectionDetails:de,allBankAccounts:re,sectionId:k,isDisabled:e,header:_.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:D},analytics:l,productType:"zeni_accounts",primaryFundingAccount:f,isAccountsEnabled:C,allFundingAccounts:O,pageName:"Zeni Account Setup",accountsPromoConfig:Z})]})})})]}),z&&!C?t.jsx(Ee,{formId:R(L),primaryBtn:{label:T.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||ue.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Be.strings.empty},style:{padding:`12px ${Oe.sp3}`}}):null,t.jsx(Ue,{isFooterRendered:z&&!C,meetingUrl:F,analytics:l,productType:"zeni_accounts"})]})},$=e=>{const{allBankAccounts:F,allFundingAccounts:p,primaryFundingAccount:l}=e;return{[k]:{fundingAccount:{selectedOption:l?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:l?.zeniAccountId,allOptions:F.map(s=>({label:s.accountName,value:s.accountId}))}}}},$e=b.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: flex-start;
|
|
4
4
|
height: 100%;
|
|
@@ -6,7 +6,7 @@ import{d as be,Q as Se,aN as I,a8 as we,cB as Ae,F as xe,aS as B,V as t,f6 as Ce
|
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
align-items: center;
|
|
8
8
|
row-gap: ${e=>c.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
-
|
|
9
|
+
`,Re=b.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
min-height: 100%;
|
|
12
12
|
height: 100%;
|
|
@@ -33,4 +33,4 @@ import{d as be,Q as Se,aN as I,a8 as we,cB as Ae,F as xe,aS as B,V as t,f6 as Ce
|
|
|
33
33
|
display: flex;
|
|
34
34
|
flex-direction: column;
|
|
35
35
|
row-gap: ${e=>c.sectionRowGap.valuePx(e.windowSize)};
|
|
36
|
-
|
|
36
|
+
`,R=e=>`${e}_form`;export{nt as default,R as uniqueName};
|
package/dist/assets/{ZeniCopyright-FFqiWypL-Cm4f2TI5.js → ZeniCopyright-FFqiWypL-DiiU36pR.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{F as r,V as e}from"./index-
|
|
1
|
+
import{F as r,V as e}from"./index-Ci63exms.js";function i(){const t=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",t.toString());return e.jsx(e.Fragment,{children:n})}export{i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as g,F as T,aK as V,o as i,p as j,ag as S}from"./index-
|
|
1
|
+
import{V as g,F as T,aK as V,o as i,p as j,ag as S}from"./index-Ci63exms.js";import{a as b}from"./core-3dlyNYRL.js";import{n as m}from"./mui-bYXq4XMS.js";const D=T.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function U({zeniAccountsConfigDetail:o,transferAmount:x,minStep:p,currentAccountBalance:w,setYieldEarned:$,setTotalBalance:k}){const[l,A]=b.useState(0),{depositProductConfig:h}=o.zeniAccountsConfigDetail,c=b.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=b.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[t,r]=e.range;return r==null&&t!=null?t+25e5:r??0}):[],[h?.depositProducts]),M=e=>{const t=parseFloat(e.target.value),{returnedYield:r,totalAmount:u}=P(t);A(t),$(r),k(u)},z=e=>`${C(e)}${D.transferDrawer.calculator.sliderTooltipText}`,C=e=>e===0?c[0]:e>0&&e<1?c[1]:e>=1&&e<2?c[2]:e>=2&&e<3?c[3]:c[4],P=e=>{const t=C(e),[r,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else return{returnedYield:f(5e6,t),totalAmount:5e6}},F=e=>{const{returnedYield:t,totalAmount:r}=P(e);A(e),k(r),$(t)},Y=b.useCallback((e,t,r,u)=>{let a=0,s=0,v=0,y=0;if(e<r[0])a=t[0];else{for(let d=0;d<r.length-1;d++)if(e>=r[d]&&e<r[d+1]){a=t[d+1],s=(r[d+1]-r[d])*u,v=e-r[d],y=v/s*u+d;break}e>=r[r.length-1]&&(a=t[t.length-1],y=r.length-1)}A(y),$(f(e,a))},[$]);return b.useEffect(()=>{const e=x+w;k(e),Y(e,c,n,p)},[x,w,k,c,p,$,n,Y]),g.jsxs(B,{sliderValue:l,children:[g.jsx(I,{sliderValue:l,type:"range",min:0,max:c.length-1,step:p,value:l,onChange:M}),g.jsx(H,{style:{width:`calc(${l/(c.length-1)*100}% - ${l*7.5}px)`}}),g.jsx(G,{sliderValue:l,style:{left:`calc(${l/(c.length-1)*100}% - ${l*10+20}px)`},children:z(l)}),g.jsx(K,{children:n.map((e,t)=>g.jsx(N,{onClick:()=>F(t),"data-testid":V("slider-label",e.toString()),style:{left:L(t)},children:g.jsx(X,{isSelected:l>=t,children:E(e)})},t))})]})}const f=(o,x)=>{const p=x/100,w=o*Math.pow(1+p/12,12);return Math.floor(w-o)},L=o=>{switch(o){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},E=o=>o===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(o)}`:o===5e6?D.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(o),I=m.input`
|
|
2
2
|
width: 100%;
|
|
3
3
|
&[type="range"]::-webkit-slider-runnable-track {
|
|
4
4
|
height: 2px;
|