@zeniai/web-app-ui 4.14.39-dev → 4.14.39-mohali
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-B5qIuZya-Dqn8ZaVl.js → ACHDetailsPage-B5qIuZya-BWHKWW61.js} +1 -1
- package/dist/assets/{AIPerformancePage-BHB45mP--CWtWN8JR.js → AIPerformancePage-BHB45mP--BTR5uGqz.js} +1 -1
- package/dist/assets/{AccountInfoPage-Cd5xYT1g-BylH1aam.js → AccountInfoPage-Cd5xYT1g-By8wNUIl.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-CJ7ycVIK-3aE5KJwU.js → AccountInfoPageContent-CJ7ycVIK-BM1tsyhR.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-Dox7IuAX-C5qPLBPz.js → AccountLockedInfoModal-Dox7IuAX-myDBikQM.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-Bqty08m0-Dbr-jmu7.js → AccountReconDetailsDrawerPage-Bqty08m0-BEwn6Bkg.js} +1 -1
- package/dist/assets/{AccountRow-D1cjRJJD-Dsnq1o4t.js → AccountRow-D1cjRJJD-pCF07R4u.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-Bs3naJHM-DvbUMPbJ.js → AccountsPromoCardStack-Bs3naJHM-DGCYaWJc.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-DZkBMJfp-DwU9s4jD.js → AddAddressForCardDrawer-DZkBMJfp-COYmkts2.js} +1 -1
- package/dist/assets/{AddToWalletPage-CyRfqVDB-DtRghMSs.js → AddToWalletPage-CyRfqVDB-DBl8NFrM.js} +1 -1
- package/dist/assets/{AddressRoutes-DbIoDD0z.js → AddressRoutes-i0umv5jA.js} +1 -1
- package/dist/assets/{AddressScreen-Duz_V-eF.js → AddressScreen-DApTkhik.js} +1 -1
- package/dist/assets/{AgingReportsPage-xBFff3BM-B936IQ2N.js → AgingReportsPage-xBFff3BM-CS2GTKN6.js} +1 -1
- package/dist/assets/{AiCfoScreen-DkKXC6Fw.js → AiCfoScreen-CFxFgebG.js} +1 -1
- package/dist/assets/{AllUserItems-BJf6WPDo-D0H1tMjG.js → AllUserItems-BJf6WPDo-Mh2XiQuz.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-CjBrPyi8-Dy0hX-gn.js → ApAgingDetailPage-CjBrPyi8-BWEQvYgn.js} +1 -1
- package/dist/assets/{AppBasePage-CqDm-hnV-DluaESRo.js → AppBasePage-CqDm-hnV-DFjJyrbf.js} +1 -1
- package/dist/assets/{AppDrawerContent-CVVWj66i-D4zioU_X.js → AppDrawerContent-CVVWj66i-cHYP4oNj.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-Cckd2uVA-Bu-mEOHu.js → ApprovalRulesSettingsPage-Cckd2uVA-B6-AYkhY.js} +1 -1
- package/dist/assets/{ArAgingChart-CBsqOd-4-CVCl4d59.js → ArAgingChart-CBsqOd-4-UPj4OnDk.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-i7JObt60-CsyQx3rL.js → ArAgingDetailPage-i7JObt60-HLzHfSLq.js} +1 -1
- package/dist/assets/{AttachmentView-CzC4skJ3-D2ObdnK2.js → AttachmentView-CzC4skJ3-DHopBzZW.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-B6umvmgL-B94s6jgr.js → BalancesInsightWithToolTip-B6umvmgL-DHVUBayZ.js} +1 -1
- package/dist/assets/{BankAccountSection-Di4sF52j-BobhPzIF.js → BankAccountSection-Di4sF52j-zNwdSC-j.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Cled-2cR-CypxFFmY.js → BankAccountWarningSection-Cled-2cR-C-C4CgFY.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-Ccnzq7st-DGOhp4FX.js → BankConnectionsSettingsPage-Ccnzq7st-lI-ABkXZ.js} +1 -1
- package/dist/assets/{BillDetailPage-XXOwBfO1-DauaxUA2.js → BillDetailPage-XXOwBfO1-CdWlnw8n.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-S9Y_fMTz.js → BillPayApprovalRoutes-B2PD1uYA.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-DFZ0csaT-1KbX_IY6.js → BillPayApprovalRuleDetailPage-DFZ0csaT-CYWOmV-D.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-COCypDcS-BjGZEACH.js → BillPayApprovalRulesPage-COCypDcS-DW3PLflc.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DOE2YIqC-C8ApdrdB.js → BillPayPromoPage-DOE2YIqC-DtPeSVQz.js} +1 -1
- package/dist/assets/{BillPayRoutes-Bz92yFGI.js → BillPayRoutes-BNH0AMcb.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-BCJbZDsV-BF2fTyNr.js → BillPaySetUpPage-BCJbZDsV-CkWADXOA.js} +1 -1
- package/dist/assets/{BillingSettingsPage-iImtlEmO-CBp1rdfh.js → BillingSettingsPage-iImtlEmO-DP1E2lvc.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-B11GWM_0-Crsw24X2.js → BillsBulkReviewDrawerPage-B11GWM_0-DbmnLq9U.js} +1 -1
- package/dist/assets/{BoxItem-Bxa1M4QU-BEQbjRW-.js → BoxItem-Bxa1M4QU-C_cwMPAw.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DSuJFoW1-mYZPYqnm.js → BusinessVerificationPage-DSuJFoW1-DeOUAbt5.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-BlaiKu4I.js → BusinessVerificationPageScreen-Bl-5vp1w.js} +1 -1
- package/dist/assets/{BusyIndication-9zDqSKBP-WSsX6_uU.js → BusyIndication-9zDqSKBP-DJ3Vfbyo.js} +1 -1
- package/dist/assets/{CardNumberSubText-_ZZbaz_k-D2s6-wsQ.js → CardNumberSubText-_ZZbaz_k-BlPsWhfy.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DAZXitLt-Dn6UduwT.js → CashbackDetailPage-DAZXitLt-CgTbLL9O.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-B1VIpASk-D0l4y1IR.js → ChargeCardDetailPage-B1VIpASk-DP05fMJ6.js} +1 -1
- package/dist/assets/{ChargeCardListPage-BOBepN-x-BtfglwWz.js → ChargeCardListPage-BOBepN-x-BdXPwP2x.js} +1 -1
- package/dist/assets/{ChargeCardListTable-YznzSsJo-KwncCUaT.js → ChargeCardListTable-YznzSsJo-DstpQqaj.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage--jOwsMla-DQFHZBZ2.js → ChargeCardPaymentHistoryPage--jOwsMla-O4pmiKbh.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-DIfakIOK-CUSVcG-Z.js → ChargeCardPromoPage-DIfakIOK-BZrA1EKm.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-PKJBtykP.js → ChargeCardRoutes-DEAS2W6j.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-0bpVkeJs-yW1xF9DG.js → ChargeCardSetupPage-0bpVkeJs-D0GFhYcn.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-ChWyQlw6-BDnJUrTu.js → ChargeCardStatementsPage-ChWyQlw6-D184bwrU.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-BS7hnyZn-C-RoPs-w.js → CheckDepositDrawerPage-BS7hnyZn-B4P5pcJ0.js} +1 -1
- package/dist/assets/{CollapsableReportTable-DNfFkAts-CoCUKzx3.js → CollapsableReportTable-DNfFkAts-CWXZiWkJ.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CrOIN4IW-wL1QY22J.js → CompanyOfficerDetailsSection-CrOIN4IW-DvuaTkO6.js} +1 -1
- package/dist/assets/{CompanyPassportCard-CkzYFTrp-DRHCWpeb.js → CompanyPassportCard-CkzYFTrp-CHeq443C.js} +1 -1
- package/dist/assets/{CompanyPassportPage-FE6yli6h-Dd4_9uh3.js → CompanyPassportPage-FE6yli6h-C5GRhZQI.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-BxfK5qi-.js → CompanyPassportScreen-DW2uvsaa.js} +1 -1
- package/dist/assets/{CompleteProfile-Cb8i1XgZ-BjB2Cj8T.js → CompleteProfile-Cb8i1XgZ-Dva3Z577.js} +1 -1
- package/dist/assets/{ConfettiBurst-BZCXEGYA-2D0_Pemr.js → ConfettiBurst-BZCXEGYA-DIkp5z2k.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-Wp_pgh6b.js → ConnectionAuthScreen-Cv2kgMPl.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CE1VZ_Vz.js → ConstrainedInnerElement-CgdnMeoA-LlisdtHN.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CzpSgxbO-k7E9cu5j.js → CreateOrEditVendorPage-CzpSgxbO-PvdVJUZ5.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-c_q0MsSO-dQfGXEwP.js → CreditCardPaymentDrawerPage-c_q0MsSO-BOiAgHoB.js} +1 -1
- package/dist/assets/{CurrencySelectField-BAh7SHrG-BY-wwlD4.js → CurrencySelectField-BAh7SHrG-BsFodvV2.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-f3Aa6E5r-CsLUjIve.js → CustomerOnboardingActivationPage-f3Aa6E5r-BQCnyqe_.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-CTt5imV9.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-B-QWGTWE.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYuiWn8s-Cjt3eU6d.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-yDo1E_es.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-Bh_F0-oC-wTFuOqC8.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-BvywdKwc.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-B9hSO88_-DWmXd-Uc.js → CustomerOnboardingPage-B9hSO88_-B7VeeYtq.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-CG0HKCpQ-GHwnhZEx.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-D8L1OoHO.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-liI38PH4.js → CustomerOnboardingRoutes-DkpEl7xR.js} +1 -1
- package/dist/assets/{Dashboard-BJ_oIHab-R3_sy9De.js → Dashboard-BJ_oIHab-bdJ9cQSe.js} +1 -1
- package/dist/assets/{DashboardReportPage-BemzMw2e-DvGvflyG.js → DashboardReportPage-BemzMw2e-CarBrWI5.js} +1 -1
- package/dist/assets/{DashboardRoutes-C7dEIbTS.js → DashboardRoutes-HcCANGzR.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BtA5oEGG-DP44-3NB.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-CnJGJPOM.js} +1 -1
- package/dist/assets/{DefaultTenantHome-CkG7rrVy.js → DefaultTenantHome-B00izDE9.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-CyFi1P_L-VEy51_-P.js → DepositAccTransactionItem-CyFi1P_L-_zu9sEHc.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-DvBRRUdZ-FPrNb8c2.js → DepositAccTransactionListPage-DvBRRUdZ-DkbsDbqL.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-CgfzlsVD.js → DomesticWireDetailScreen-D2XofLzf.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-DCDo3aHI-DZy_Auc2.js → DomesticWireDetailsPage-DCDo3aHI-DNAivMaH.js} +1 -1
- package/dist/assets/{DownloadOverlay-D_lL1sPW-DBEVtdkQ.js → DownloadOverlay-D_lL1sPW-CXcUoHg5.js} +1 -1
- package/dist/assets/{DrawerPage-DesxXhZk-qxdDcPRN.js → DrawerPage-DesxXhZk-J42eURwa.js} +1 -1
- package/dist/assets/{DrawerScreen-IScn_gPb.js → DrawerScreen-DtHtMz11.js} +1 -1
- package/dist/assets/{EditPeoplePage-QvPy_Six-pqhLCmsP.js → EditPeoplePage-QvPy_Six-BsGTj4sw.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-C0ZDkboO-Ds7tBMbu.js → EditReimbursementDetailPage-C0ZDkboO-Zy0QEPVw.js} +1 -1
- package/dist/assets/{EntityDetailPage-l7nXIsyF-D-OEpTX_.js → EntityDetailPage-l7nXIsyF-gLIS1quB.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-DCBMx6-C.js → EntityDetailRoutes-7thpA8hT.js} +1 -1
- package/dist/assets/{EntitySummarySection-BwX0a4JL-CYDWshdA.js → EntitySummarySection-BwX0a4JL-CqtzqxH7.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-EdyHjbff-QECZrSJL.js → ExpenseAutomationOverviewPage-EdyHjbff-DGvFpjx8.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-DA22Qofw-QWboM4Rp.js → ExpenseAutomationPage-DA22Qofw-D0J1t88o.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DVcJr4np.js → ExpenseAutomationRoutes-BZlrywi-.js} +1 -1
- package/dist/assets/{ExpressPayPage-EMP6inpX-C812vhu_.js → ExpressPayPage-EMP6inpX-CCsjlc8j.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-SYJm-3aR-BnuhMtuP.js → FeaturePreviewPage-SYJm-3aR-BlpFYjD7.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-C3Y9pgiz.js → FeaturePreviewScreen-Bk9iW7O-.js} +1 -1
- package/dist/assets/{FollowStepsSection-BxESVqJD-BFhnhk7r.js → FollowStepsSection-BxESVqJD-B4YXiq5E.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-D5_ACa-q-DZo6UglL.js → GlobalReviewListPage-D5_ACa-q-DixQI1AJ.js} +1 -1
- package/dist/assets/{InformationCardStack-B_qQUEYD-DRekqbq_.js → InformationCardStack-B_qQUEYD-BkeRCagH.js} +1 -1
- package/dist/assets/{InsightsCardStack-BsQzoVzj-BI_nQIXQ.js → InsightsCardStack-BsQzoVzj-gcpn2goe.js} +1 -1
- package/dist/assets/{InsightsSection-B6CNlTNH-BFr6MnTG.js → InsightsSection-B6CNlTNH-BbWu4CoQ.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-DP6fAccq-CigqZ0SM.js → IntegrationsSettingsPage-DP6fAccq-DQlcVhcM.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-VdG7bDZi-Rlu68XJQ.js → InternationalWireSwiftDetailsPage-VdG7bDZi-BYy836YQ.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-COC6lZml-CR1f2JQF.js → InternationalWireVerificationPage-COC6lZml-CMFkOHr1.js} +1 -1
- package/dist/assets/{InviteFormPage-DN02jRy5-UECY6Ai9.js → InviteFormPage-DN02jRy5-yYyYYAXY.js} +1 -1
- package/dist/assets/{InvitePageListView-CP4K9tJi-CrsR5dUL.js → InvitePageListView-CP4K9tJi-DTtx4vPJ.js} +1 -1
- package/dist/assets/{InvitePeoplePage-VTM6kM1u-DEUyoj-n.js → InvitePeoplePage-VTM6kM1u-BbP41Ah4.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-it-ZYl1N-gndqObmu.js → InvoiceUploadSection-it-ZYl1N-CCUfq98I.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CVfuvGey-DLZauQU0.js → IssueChargeCardPage-CVfuvGey-B1ov-u3j.js} +1 -1
- package/dist/assets/{LabeledAddressValue-DDrQcHIE-CrQXufeN.js → LabeledAddressValue-DDrQcHIE-CbyeJIn7.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BgWwd5Gw-BjdQu4oY.js → LabeledAddressValueField-BgWwd5Gw-OwNJCJIh.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-CcPO1k23-wgZTidrw.js → LabeledControlledCheckBoxField-CcPO1k23-DPvpZEVi.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-BYYjzwUG-Dh1nhUsB.js → LabeledCountryMultiSelectField-BYYjzwUG-L1R0Hv-k.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CISYMojq-C0CA90PE.js → LabeledCreatableSingleSelectField-CISYMojq-C-aCk7rm.js} +1 -1
- package/dist/assets/{LabeledDocumentField-C_bcFxdY-rxfuitkN.js → LabeledDocumentField-C_bcFxdY-T4bTBndm.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-ScGGCap8-5XDDElAU.js → LabeledDropDownFormattedTextField-ScGGCap8-zRBCNCAK.js} +1 -1
- package/dist/assets/{LabeledEmailInputField-BppuWRbl-BqM5ToGw.js → LabeledEmailInputField-BppuWRbl-rYJIUMBy.js} +1 -1
- package/dist/assets/{LabeledNameField-mxSNQk3k-DSUzbE3j.js → LabeledNameField-mxSNQk3k-BwZireNV.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-C6ctNzkA-DJY2_gU-.js → LabeledSingleSelectField-C6ctNzkA-DmsB82vW.js} +1 -1
- package/dist/assets/{LabeledText-C8Y7EOsX-BG8Z0MTH.js → LabeledText-C8Y7EOsX-DwTQVJVt.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-eV0BTiQT.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-DKqlyQmJ.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-BZtreVpj-BQKcvtGQ.js → LabeledZeniRolesDropDownField-BZtreVpj-C0kqEM3_.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-CKq4oiX9-BMq1iE01.js → LinkJETransactionPage-CKq4oiX9-CQarkUoE.js} +1 -1
- package/dist/assets/{LockCardPage-CZENNby7-fCE1WXTx.js → LockCardPage-CZENNby7-Cee2SE9c.js} +1 -1
- package/dist/assets/{LowBalancePopup-1727S1ri-CiFxrWZ6.js → LowBalancePopup-1727S1ri-f2rHahyZ.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-BSOlSfNu-C5Jji5Bc.js → MagicLinkACHDetailsPage-BSOlSfNu-BT_MNQgV.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-D1DTPo0E-DNJbU9wA.js → MagicLinkDomesticWireDetailsPage-D1DTPo0E-BbiHs6vy.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-D_wo_2nm-BDPVvMNI.js → MagicLinkInternationalWireDetailsPage-D_wo_2nm-R0--su1U.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-BBf-u6YU.js → MagicLinkRoutes-BRfw_LFb.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-BGYMIMGW.js → MagicLinkSignInScreen-BgXb-Qsc.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-QMkZgQLG-0gaJkIUo.js → MagicLinkSuccessPage-QMkZgQLG-CRVTSvm-.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CARU1oLQ-D-x2cYul.js → MagicLinkTitleSection-CARU1oLQ-mlVnAW2-.js} +1 -1
- package/dist/assets/{MailingDetailsSection-ByOPaJ05-C__aFJd6.js → MailingDetailsSection-ByOPaJ05-7jrl2Qgx.js} +1 -1
- package/dist/assets/{MobileAppDrawer-TF-9OTZ8.js → MobileAppDrawer-D6zuu_M2.js} +1 -1
- package/dist/assets/{MoreMenuButton-BsBKwXvk-DeCIVX9G.js → MoreMenuButton-BsBKwXvk-Bfmamp7e.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BdgIIhL1-DSKnFya9.js → MyBankConnectionsSettingsPage-BdgIIhL1-DPhfXAPl.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-CX38bDdq-CKY6khDW.js → MyPendingActivationChargeCardListPage-CX38bDdq-CqboqotB.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DYu0Fx6I-MQ1Uu5yx.js → MyProfileSettingsPage-DYu0Fx6I-BqnUbVc5.js} +1 -1
- package/dist/assets/{NavBarWithPicker-CGGEvLwe-xLu9BDbC.js → NavBarWithPicker-CGGEvLwe-CUbmEgtr.js} +1 -1
- package/dist/assets/{NavigationArrow-CTNkKUtV-Cv--eO3H.js → NavigationArrow-CTNkKUtV-C6GHmmzo.js} +1 -1
- package/dist/assets/{NavigationDots-Dvce3gHt-B5IBT8ql.js → NavigationDots-Dvce3gHt-DW4VxzwL.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D_f7z47T-DZeAHBD8.js → NewGlobalMerchantPage-D_f7z47T-cf9nYDBn.js} +1 -1
- package/dist/assets/{NoDataChart-CrKeqWSr-aTXx8C4D.js → NoDataChart-CrKeqWSr-G74DMHNg.js} +1 -1
- package/dist/assets/{NoDataTable-4vPXmPYF-MAxQ6k5D.js → NoDataTable-4vPXmPYF-CaxZ13RD.js} +1 -1
- package/dist/assets/{NotFoundPage-BLWPU1wU-BDFevjLh.js → NotFoundPage-BLWPU1wU-tisGDcv0.js} +1 -1
- package/dist/assets/{NotFoundScreen-BOQb1xUE.js → NotFoundScreen-ikiXbHj3.js} +1 -1
- package/dist/assets/{NotificationRoutes-CHyP48D4.js → NotificationRoutes-DwbPSzN6.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CDiDLX3A-CdiPU3_w.js → NotificationSettingsPage-CDiDLX3A-A5SrSjVk.js} +1 -1
- package/dist/assets/{NotificationsListConfig-B5pDa4cJ-C0GWEb8S.js → NotificationsListConfig-B5pDa4cJ-rP783D2h.js} +1 -1
- package/dist/assets/{NotificationsPage-Ccl7Dny1-CsnU2sZr.js → NotificationsPage-Ccl7Dny1-DcuX4J1G.js} +1 -1
- package/dist/assets/{OpExByVendorPage-spd-nKV4-Cz37eGG7.js → OpExByVendorPage-spd-nKV4-FzoKQPOl.js} +1 -1
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-DvO1fY_N.js → OverlayContainerPage-BG9y5C0t-Cc20iSRQ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-TSoe4Z7F-xn1jaFoi.js → PandLWithForecastPage-TSoe4Z7F-BNeJQ7Xo.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-DWeIYgqG.js → PandLWithForecastRoutes-VAcw1HSG.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-9ma8SpIa-BDBHBe3a.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-CW2iadXX.js} +1 -1
- package/dist/assets/{PeoplePage-b5_I0qOw-lWi2XLJ6.js → PeoplePage-b5_I0qOw-ht3-9ADb.js} +1 -1
- package/dist/assets/{PeopleRoutes-D96ZRShY.js → PeopleRoutes-DmpmiR4Z.js} +1 -1
- package/dist/assets/{PerformanceRoutes-w_Iip8ae.js → PerformanceRoutes-CZmcoZOr.js} +1 -1
- package/dist/assets/{Preview-C2zvk1tu.js → Preview-DpEarlTH.js} +1 -1
- package/dist/assets/{ProductsCarousel-C3M0ocdF-2raBZnNq.js → ProductsCarousel-C3M0ocdF-yvCtS1oI.js} +1 -1
- package/dist/assets/{PromoBaseCards-BOGJI2ws-Cm4e0wPQ.js → PromoBaseCards-BOGJI2ws-sgQWsMLW.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CmpnnuzP-BhhJabU7.js → QBOConnectionDialog-CmpnnuzP-DNy9QKqs.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-CCeXLrlB.js → QBOConnectionScreen-n9RNm4Ls.js} +1 -1
- package/dist/assets/{QBOSetupSection-DjnN9dgv-6umyaC6d.js → QBOSetupSection-DjnN9dgv-DYaHb-KP.js} +1 -1
- package/dist/assets/{ReferralListScreen-DY8vZLmY.js → ReferralListScreen-Cah_P_FB.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-kgV17rI7.js → ReimbursementApprovalRoutes-D33t4DVj.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-D5NXjrO9-Bjrjwfbm.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-DA3N1XGv.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CrQlcAIE.js → ReimbursementApprovalRuleDetailScreen-Dc9f9QId.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BsCTIqUJ-CQyWyznw.js → ReimbursementApprovalRulesPage-BsCTIqUJ-BADCjAFQ.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BbyxE2uL-DAWO6MN3.js → ReimbursementDetailPage-BbyxE2uL-a3uiU3Ob.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-CyEgwqcf-D5kNu4r7.js → ReimbursementPromoPage-CyEgwqcf-CLeGQPDO.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-9PVCls-1.js → ReimbursementRoutes-CtJbALZM.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-RETPkEQd-zKPq6P2O.js → ReimbursementSetUpPage-RETPkEQd-DD6LwTIt.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DnmYl0FM-Cp5RXmHi.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DQZjFSjr.js} +1 -1
- package/dist/assets/{ReloadCard-Bdoo0XiI-CgAT4eqC.js → ReloadCard-Bdoo0XiI-BYCbbFTr.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-Bc1K7mU_-CRH7B2Xe.js → ReportTableViewSelector-Bc1K7mU_-DUQ4nq8T.js} +1 -1
- package/dist/assets/{ReportsPage-BOTHMLWh-DYARtx-l.js → ReportsPage-BOTHMLWh-CeYEhfQ6.js} +1 -1
- package/dist/assets/{ReportsRoutes-DAq_Kk7t.js → ReportsRoutes-Frsi-Q8Y.js} +1 -1
- package/dist/assets/{RevenueChart-DvyZ3aO7-D41DyD4f.js → RevenueChart-DvyZ3aO7-Bd1tqtpy.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-BIMg1n2e-w51F2KtJ.js → ReviewDetailsPage-BIMg1n2e-yv64CAZS.js} +1 -1
- package/dist/assets/{ReviewOverlay-CxwoiOLC-C8uqNFMN.js → ReviewOverlay-CxwoiOLC-Cd9Dp_pi.js} +1 -1
- package/dist/assets/{RewardsRoutes-2CDMw_SM.js → RewardsRoutes-CrrVzM3-.js} +1 -1
- package/dist/assets/{RoleWithToolTip-Ct3_VuDM-zYFjvA-a.js → RoleWithToolTip-Ct3_VuDM-DhtqjWvU.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DiL5Dozk-DjOTIJE4.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-DludZhWE.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-5FWpLRtd-DdkQQcuL.js → ScheduleDetailsPage-5FWpLRtd-CEoz8_x8.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-R3-PsXES-F_YuqAKO.js → ScheduleSequenceTable-R3-PsXES-CrwCgbwO.js} +1 -1
- package/dist/assets/{ScreenRoutes-D-VUXgUA.js → ScreenRoutes-C63hP5Jd.js} +2 -2
- package/dist/assets/{SetUpAccountSection-CctbMmoK-BIwzDeUn.js → SetUpAccountSection-CctbMmoK-CrAp2Rha.js} +1 -1
- package/dist/assets/{SettingsRoutes-BCFW0mUs.js → SettingsRoutes-DS8pR7BM.js} +1 -1
- package/dist/assets/{SetupPagesScreen-D_H5m3yT.js → SetupPagesScreen-DMeRMOUQ.js} +1 -1
- package/dist/assets/{SignIn-CmgmnRm4-BefvH7_D.js → SignIn-CmgmnRm4-CLeKP_mg.js} +1 -1
- package/dist/assets/{SignInScreen-DNDiNfUZ.js → SignInScreen-9kJpSL2F.js} +1 -1
- package/dist/assets/{SignOutScreen-CGgsrBqm.js → SignOutScreen-Bl46PB7k.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-CFUxCqkU-DWVJ8T34.js → SpendManagementListViewPage-CFUxCqkU-BWMLeiXB.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-C-kqNTci-61EpQHHf.js → SpendManagementPerTabPage-C-kqNTci-DpdXSMEn.js} +1 -1
- package/dist/assets/{SpendManagementSection-CIz4nE_w-CLtvB3Jo.js → SpendManagementSection-CIz4nE_w-EjDUgL9k.js} +1 -1
- package/dist/assets/{StatementItem-vVtoBN2w-CGfe2rf-.js → StatementItem-vVtoBN2w-CNjZ6vSP.js} +1 -1
- package/dist/assets/{StatementsPage-As5WOnMR-C07ZcwWR.js → StatementsPage-As5WOnMR-DNxGulXT.js} +1 -1
- package/dist/assets/{StatusSwitcher-Bv-ozN6U-BMGDezKv.js → StatusSwitcher-Bv-ozN6U-C5Nu_MEh.js} +1 -1
- package/dist/assets/{SubTabSwitcher-D7QeM6nb-C5vo1QLg.js → SubTabSwitcher-D7QeM6nb-Bd7HbwXr.js} +1 -1
- package/dist/assets/{SuccessAnimation-hijccO_0-CXGCZdn9.js → SuccessAnimation-hijccO_0-C5KKfhSL.js} +1 -1
- package/dist/assets/{SummaryCard-C2qoTsAY-LkZgmc3l.js → SummaryCard-C2qoTsAY-DRgZWvFQ.js} +1 -1
- package/dist/assets/{TaskDetailPage-QMk4DTDK-DuNonnMy.js → TaskDetailPage-QMk4DTDK-CzxOHbSw.js} +1 -1
- package/dist/assets/{TaskListScreen-DXCPcaMg.js → TaskListScreen-WJ_oZff3.js} +1 -1
- package/dist/assets/{TaskManagementPage-BJwp32Ph-D-u68mRD.js → TaskManagementPage-BJwp32Ph-DQqYstM3.js} +1 -1
- package/dist/assets/{TaskRoutes-Biii2LFo.js → TaskRoutes-KVOJeUTF.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-D00bDDhP-BG1zi2IK.js → TimeRangeSwitcher-D00bDDhP-B7Ov8u4I.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-DA99HdHt-BQziHQmj.js → TimeframeSwitcher-DA99HdHt-DpnlgY1W.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DyggDIQj-BfhUUfrK.js → TimeframeSwitcherWithToggle-DyggDIQj-dXidpIRI.js} +1 -1
- package/dist/assets/{TopExCard-Z1WabZ8c-CBwSMJxd.js → TopExCard-Z1WabZ8c-sEidG-Jj.js} +1 -1
- package/dist/assets/{TopExDetailPage-CzHG4f9E-gwAj-hq_.js → TopExDetailPage-CzHG4f9E-BHJTdjtp.js} +1 -1
- package/dist/assets/{TransactionActivityLogPage-CGKnjNfU-BApvDmwN.js → TransactionActivityLogPage-CGKnjNfU-CfLMExSb.js} +1 -1
- package/dist/assets/{TransactionDetailPage-1-mLOWSz-rzQ235mE.js → TransactionDetailPage-1-mLOWSz-DcOhNptF.js} +1 -1
- package/dist/assets/{TransactionDetailRoutes-C36yIgf5.js → TransactionDetailRoutes-dBKV5I0G.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-B9QxqSWW.js → TransactionDetailScreen-vq5zw3s_.js} +1 -1
- package/dist/assets/{TransactionList-BB-xoIGm-Cfa3U35Q.js → TransactionList-BB-xoIGm-VG7PQewQ.js} +1 -1
- package/dist/assets/{TransactionListBig-C5Sf5Xh--ILOBUs5F.js → TransactionListBig-C5Sf5Xh--DoCKCPqR.js} +1 -1
- package/dist/assets/{TransactionListPage-Cj7h1Ros-C0trpcRO.js → TransactionListPage-Cj7h1Ros-v78cTbWl.js} +1 -1
- package/dist/assets/{TransactionListRoutes-DYDLTelW.js → TransactionListRoutes-B8c0yDN7.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-SsrSOk3O-DvVZeIE6.js → TransactionVendorDetailPage-SsrSOk3O-CQRR7Gxj.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BvKZ7vHF-gusMX693.js → TransferDrawerPage-BvKZ7vHF-DhOO5Djd.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-DwvjMR4_-v_PwtYfB.js → TreasuryOverviewPage-DwvjMR4_-Dy5JtyPY.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-CtTFvSQW-CBUcln_7.js → TreasuryPromoPage-CtTFvSQW-DDzc-yUe.js} +1 -1
- package/dist/assets/{TreasuryRoutes-BL7M49IT.js → TreasuryRoutes-BjirOq5w.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-Catz8shX-B10cgIs5.js → TreasuryStatementsPage-Catz8shX-BLfZBc5X.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-D8hzCL5o-8bU6d1vy.js → TreasuryTaxLetterPage-D8hzCL5o-B24wpuDP.js} +1 -1
- package/dist/assets/{TrendChart-Bnp4Pcdf-CsoTufL2.js → TrendChart-Bnp4Pcdf-DyT9Pbcv.js} +1 -1
- package/dist/assets/{TrendWithTransactions-3D1FvM8G-Dwn_v3ES.js → TrendWithTransactions-3D1FvM8G-DbCHqjUQ.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-DbyY-dYB-DJ-xU1nq.js → UncategorizedAccountsMappingPage-DbyY-dYB-DDygYAcn.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-CTzme1te-Kzmir-JV.js → UnitIntegrationPage-CTzme1te-E-PRVs2f.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-Wl4Spdpn-vi85vqk-.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-t6sc9Jy9.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-D0zYKkIv-Corqbsks.js → Vendor2FAPopup-D0zYKkIv-CcCDxzpN.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-YYX9aQdw-DWmocppw.js → VendorACHDetailsPage-YYX9aQdw-Xgtau_lZ.js} +1 -1
- package/dist/assets/{VendorDetailPage-Br9wIOnI-D1eJIjzb.js → VendorDetailPage-Br9wIOnI-Dvn8_zNT.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-BpPgQRHI-BpbupYob.js → VendorDomesticWireDetailsPage-BpPgQRHI-BGGIbVgJ.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-himC7iD3-DuTr9_9d.js → VendorFiling1099EditablePage-himC7iD3-B4nRVhEz.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-BbknTCBD-DB1g9Qot.js → VendorFirstReviewPage-BbknTCBD-DMZtHaZD.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CS595Xgc-CmEESHX6.js → VendorInternationalWireDetailsPage-CS595Xgc-DVL2WVbJ.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-yhTjWXvw-D43LaVfJ.js → VendorInternationalWireSwiftDetailsPage-yhTjWXvw-DXzCK7R2.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-CgSJu8wq-CW2zmnnP.js → VendorsAccountsSection-CgSJu8wq-Br9V_xZx.js} +1 -1
- package/dist/assets/{VendorsRoutes-C4N6gRBp.js → VendorsRoutes-wqogIAiJ.js} +1 -1
- package/dist/assets/{VerifyDevice-Dvf0JsNN-CSGpw0v_.js → VerifyDevice-Dvf0JsNN-C8PIVnmh.js} +1 -1
- package/dist/assets/{VideoPlayer-VAzOGCDL-BYL37uoQ.js → VideoPlayer-VAzOGCDL-CQ-F6ZYB.js} +1 -1
- package/dist/assets/{VideoPopup-BqvZ-XIh-DBw1PWZ3.js → VideoPopup-BqvZ-XIh-BRa78_cs.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-DNU9Mqxk.js → WiseConfirmationScreen-fmoJ8aym.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-GcwTJdB8-_6oIn_wc.js → ZeniAccountDetailPage-GcwTJdB8-CFcHGro5.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-CdwO0Duy-G5U6kbnQ.js → ZeniAccountListViewPage-CdwO0Duy-BIEpP_x1.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-BrSIfL36-CgdxCVoA.js → ZeniAccountNavBarPieces-BrSIfL36-mbWADvrC.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-JrcedQYB-BtfY6t2a.js → ZeniAccountPromoPage-JrcedQYB-CoLzZRX3.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-uUgaZh13.js → ZeniAccountRoutes-BEMe66tt.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-TKBfbgzJ-Ovrdcrt5.js → ZeniAccountSetupPage-TKBfbgzJ-AFFqmHLs.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-CPFcfx6A.js → ZeniAccountStatementScreen-D26Qkk4B.js} +1 -1
- package/dist/assets/{ZeniAvatar-Bzhq25CU-DO1x3yqH.js → ZeniAvatar-Bzhq25CU-B99_6YEt.js} +1 -1
- package/dist/assets/{ZeniCopyright-DglqrTpl-iRqjfc19.js → ZeniCopyright-DglqrTpl-DZ7269q9.js} +1 -1
- package/dist/assets/{ZeniDatePicker-BHXPxPnI-CRe89Wst.js → ZeniDatePicker-BHXPxPnI-3TUixdQt.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BcaZZuAw-BeVI8Qc_.js → ZeniTransferAmountSlider-BcaZZuAw-Txv0Xrn5.js} +1 -1
- package/dist/assets/{accountMappingHelper-BVO1DeGB.js → accountMappingHelper-DG-4_iJq.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-CV8RMwhX.js → add-to-wallet-DgdBD8_G-DgIZrzUE.js} +1 -1
- package/dist/assets/{analytics-CZ3wLx3P.js → analytics-5lp27QV6.js} +1 -1
- package/dist/assets/{analyticsHelper-CAYdbjhS-CB8PHHr8.js → analyticsHelper-CAYdbjhS-Mdn5LyGO.js} +1 -1
- package/dist/assets/{analyticsHelper-RqmdZ4w4.js → analyticsHelper-YBzaJab4.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DB6pjtdO.js → arrow-south-east-round-PEovUgvH-CJ4vNxl8.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CrxycPHV.js → auto-transfer-rule-mbafm5D3-DRWIqF2E.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-B1h__iIh.js → avatar-Dz7aEm3d-DP6fbxRB.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-B0RfZgcz.js → bank-letter-BOcVjN6J-DycrnP8v.js} +1 -1
- package/dist/assets/{calculateSize-B2w5JPEU-BqvYgtxt.js → calculateSize-B2w5JPEU-BEy6I0xe.js} +1 -1
- package/dist/assets/{chartTypes-CD3vrBsI-4eICteeW.js → chartTypes-CD3vrBsI-tT4Uc4OB.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-o4osYW2f.js → clock-CJkylEKt-CFJ24M_y.js} +1 -1
- package/dist/assets/{common-BpxEACHl-SqfXrkK_.js → common-BpxEACHl-DJrchDx2.js} +1 -1
- package/dist/assets/{commonDimensions-Oz1tdAcx-Cf4qEJmU.js → commonDimensions-Oz1tdAcx-BqTGlffv.js} +1 -1
- package/dist/assets/{commonTypes-5tEXwrX4-F6mC0EfI.js → commonTypes-5tEXwrX4-CWUtm8pk.js} +1 -1
- package/dist/assets/{core-CVVdXRky.js → core-Bup_6r8s.js} +1 -1
- package/dist/assets/{dash.all.min-C2vle8BQ.js → dash.all.min-Bm2mSDc0.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-Da8IsQO4.js → decodeURIComponentSafe-DN4PY86A.js} +1 -1
- package/dist/assets/{dnd-CcRW__D6.js → dnd-6DI5OLjD.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-BkHqkGHG.js → dollar-round-D18u7nlm-D-YAdqzN.js} +1 -1
- package/dist/assets/{downloadPdf-Dsuxeias-CPZEuUrl.js → downloadPdf-Dsuxeias-Bh_UlPCl.js} +1 -1
- package/dist/assets/{empty-M26y6UyA.js → empty-DaEjrIPL.js} +1 -1
- package/dist/assets/{empty-BHbH22vT.js → empty-pzpqBeQU.js} +1 -1
- package/dist/assets/{epic-CiCSO3K5.js → epic-DfsKOE3-.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-BeqNUW3e.js → filter-cZIFUNvj-DpLTtq1K.js} +1 -1
- package/dist/assets/{getLocaleForTenant-DBVI4ovb.js → getLocaleForTenant-BUtXm3SM.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-CR0qdQnT.js → gift-box-Cmt9OgIZ-CF-m_VkT.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CslJm2fU.js → graphic-no-data-l-DU4J8fDt-6cwGHfUj.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Cj977U7E.js → graphic-no-data-net-burn-l-CzmycA0m-CyAeI3ri.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-tq0X0Kiz.js → handshake-BPg58FML-MIOutm04.js} +1 -1
- package/dist/assets/{helper-Ckm10Uko-U81O1HXL.js → helper-Ckm10Uko-CASYaqd_.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-D504LM2b.js → hyperlink-DQyCeXx2-CW4eETGG.js} +1 -1
- package/dist/assets/{index-jI4vB8VC.js → index-Br5jO2cX.js} +1 -1
- package/dist/assets/{index-uxYir9Bm.js → index-By1nWfzb.js} +1 -1
- package/dist/assets/{index-BngCC-zG.js → index-CpaD5zWS.js} +6 -6
- package/dist/assets/{index-DiKwyzh3.js → index-Doj_Dvf5.js} +1 -1
- package/dist/assets/{index-ClO_SXUU.js → index-DqxDpr80.js} +1 -1
- package/dist/assets/{index-BZOQWoRX.js → index-Dzd5jEzs.js} +1 -1
- package/dist/assets/{lexical-DPtIv0jk.js → lexical-cxjQsXy3.js} +1 -1
- package/dist/assets/{liveblocks-CHs9GmLG.js → liveblocks-DC1MsMik.js} +1 -1
- package/dist/assets/{lottie-D68Xb3aQ.js → lottie-BQVzdLy7.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-jcHEi-mv-cRyD83dc.js → mapLoadingInProgressToTreeNode-jcHEi-mv-UiIaPjU8.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Cgyt68f3-C2AYKRBA.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-VmgA45AR.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-XgUp1xUb-VRJ6un-L.js → mapSpacerToTreeNode-XgUp1xUb-BelX8Fbk.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Bre8FfBF-XT9mQqpQ.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-D5DrZE9V.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DOyCX6ij-CGvd2Wmc.js → mapTimeframeBalancesToTreeNode-DOyCX6ij-DI0yRMub.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-BVVmyoym.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Deecbpwe.js} +1 -1
- package/dist/assets/{media-player-D-MhIu5T.js → media-player-CQ6yBzQ2.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-DZxnWrWu.js → money-2cg1MuG4-B3FwBIwT.js} +1 -1
- package/dist/assets/{mui-DyGc7Pg8.js → mui-CrML1f8O.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CXX81aXy.js → page-detail-CWX5S47F-14Y1GYN1.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-V_V9hbFl.js → page-summary-D7_VQHwN-g6tBufQw.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-bdcPTs-R.js → panelSelectedMixin-Cddsb26L-Anmi9mqw.js} +1 -1
- package/dist/assets/{pathToGoBack-CsNBJVc2.js → pathToGoBack-DeYc4T8U.js} +1 -1
- package/dist/assets/{pdf-BxqSCr4b.js → pdf-70cGw_kx.js} +3 -3
- package/dist/assets/{pdf-lib-jHogAi_2.js → pdf-lib-DL3pvGjy.js} +1 -1
- package/dist/assets/{plaid-xWfKHEqu.js → plaid-DUNGunmx.js} +1 -1
- package/dist/assets/{pusher-pngVK7xY.js → pusher-DKklLNX6.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-sLqGTxQv.js → radio-default-CiSgisfh-RS3VdzyB.js} +1 -1
- package/dist/assets/{react-DyZ9MM_3.js → react-BDHQfx9m.js} +3 -3
- package/dist/assets/{react-B3z4onjT.js → react-CKGaejfg.js} +1 -1
- package/dist/assets/{react-BC4BTRLG.js → react-Ca8D4O0H.js} +1 -1
- package/dist/assets/{react-BuoJ-wtg.js → react-Ch54ajFj.js} +1 -1
- package/dist/assets/{react-DpxbyLPn.js → react-CwmRDC4k.js} +1 -1
- package/dist/assets/{react-BElDOWJc.js → react-D0OY7EyT.js} +1 -1
- package/dist/assets/{react-mv5GPJR4.js → react-DT2HJ4dl.js} +1 -1
- package/dist/assets/{react-CuUL9Ybl.js → react-EWoztr7a.js} +1 -1
- package/dist/assets/{recharts-CMjB5mmq.js → recharts-CtJQnN36.js} +1 -1
- package/dist/assets/{routePaths-B2Ez8xiG.js → routePaths-BjVGjzDi.js} +1 -1
- package/dist/assets/{sentry-CHlUi953.js → sentry-ByK32NK-.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-u1WG480f.js → shield-DOlUxcFf-BbNjyTlv.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-DKcfJ6au.js → spend-limit-D6SyboD4-uBFgkcqC.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-aLNB35t7-DBx2vR3D.js → toCOABalancesWithID-aLNB35t7-7Tt_7ik0.js} +1 -1
- package/dist/assets/{toChartData-DUL6vnzJ-CHvhrhF4.js → toChartData-DUL6vnzJ-BQL-gYy0.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-BRNI97Lv.js → transaction-placeholder-CpOwZAMG-Bg0WD2U2.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-CHRencVP.js → undo-b_3XZ5CX-C5q__jVa.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-BfuVrsIJ.js → unlock-BPWn2I5L-AQif6k_b.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-vYnAE0FP.js → upload-reimbursement-receipt-O2N8vcO7-DZGMxr87.js} +1 -1
- package/dist/assets/{uploadAttachment-Ck4wivBR-D3iFmRh8.js → uploadAttachment-Ck4wivBR-CXra5vkU.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-DQDaRUPe.js → uploadReceipts-CIgkuVpu-CCRs-PGP.js} +1 -1
- package/dist/assets/{url-7B3Yv5Zc.js → url-CE2hYXFA.js} +1 -1
- package/dist/assets/{url-CDjIygfF.js → url-vR1N1m0Y.js} +1 -1
- package/dist/assets/{useDeviceId-CPhY1yO5.js → useDeviceId-DqxaPeP2.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-D3BmEojQ.js → useInitialThreadRequest-D0uUtC-2.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-C-ro8Pxu.js → useLongPress-GCK2COYQ-D5CT9_nV.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BHKdiO38.js → usp-line-BBd1wKwW-CN9IBf07.js} +1 -1
- package/dist/assets/{utils-BpkJZQMI.js → utils-DtsUvZkm.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-D4jXMzEn.js → withTransactionSidePanel-p7FrtPWC.js} +1 -1
- package/dist/assets/{zeni-epic-state-D8D2Skiq.js → zeni-epic-state-BYs-FQva.js} +3 -3
- package/dist/assets/{zeni-icon-only-BUIVMYdQ.js → zeni-icon-only-BrsSXXFP.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-CTK0e_jx.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-CHM5gdzL.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as m,V as a,O as w,w as y,o as r,d as b,M as x}from"./index-
|
|
1
|
+
import{e as m,V as a,O as w,w as y,o as r,d as b,M as x}from"./index-CpaD5zWS.js";import{n as o}from"./mui-CrML1f8O.js";import{a as c}from"./sentry-ByK32NK-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="1b02f9bd-b331-4840-9932-09c8983062af",e._sentryDebugIdIdentifier="sentry-dbid-1b02f9bd-b331-4840-9932-09c8983062af")}catch{}})();const{common:p,spendManagement:{chargeCard:t}}=w.getLocalizedStrings(),C={subText:new b("extraSmallRegular","standardRegular")},V=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=m(),h=e.type.code.includes("credit")?t.chargeCardsPromo.credit:t.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?t.cardList.physicalCard:t.cardList.virtualCard;const i=p.strings.space+t.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,f=e.status.code!=="request_on_hold"&&s?i:d,n=e.type.code.includes("physical");return a.jsxs($,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${f}`,children:[h,a.jsx(v,{}),d,n&&!s?a.jsx(u,{className:"physical-card-icon"}):null,e.status.code!=="request_on_hold"&&s?i:null,n&&s?a.jsx(u,{}):null]})},$=o(x)`
|
|
2
2
|
${e=>e.forDetailPage?{...y.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
|
|
3
3
|
color: ${e=>e.theme.colors.hero};
|
|
4
4
|
max-width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as S,e as b,V as i,a_ as ee,eO as z,w as u,an as N,bu as ie,o as t,O as w,f as O,x as h,l as v,cI as te,m as l,ag as oe,a5 as B,bm as re,C as $,b as L,iu as X,iv as q,ib as ae,b_ as se,c1 as ne,H as T}from"./index-
|
|
1
|
+
import{y as S,e as b,V as i,a_ as ee,eO as z,w as u,an as N,bu as ie,o as t,O as w,f as O,x as h,l as v,cI as te,m as l,ag as oe,a5 as B,bm as re,C as $,b as L,iu as X,iv as q,ib as ae,b_ as se,c1 as ne,H as T}from"./index-CpaD5zWS.js";import{n as o}from"./mui-CrML1f8O.js";import{Gu as f,bs as de}from"./zeni-epic-state-BYs-FQva.js";import{b as K,a as Y}from"./sentry-ByK32NK-.js";import{F as le}from"./InsightsSection-B6CNlTNH-BbWu4CoQ.js";import{M as ce,S as he}from"./common-BpxEACHl-DJrchDx2.js";import{J as pe,E as me,X as ge,Y as xe,F as we,K as ue,W as ye}from"./recharts-CtJQnN36.js";import"./pdf-70cGw_kx.js";import"./core-Bup_6r8s.js";import"./lottie-BQVzdLy7.js";import"./liveblocks-DC1MsMik.js";import"./dnd-6DI5OLjD.js";import"./analytics-5lp27QV6.js";import"./plaid-DUNGunmx.js";import"./utils-DtsUvZkm.js";import"./NavigationDots-Dvce3gHt-DW4VxzwL.js";import"./calculateSize-B2w5JPEU-BEy6I0xe.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="f13469d5-f078-4ba2-a536-4d8bb58c9d49",e._sentryDebugIdIdentifier="sentry-dbid-f13469d5-f078-4ba2-a536-4d8bb58c9d49")}catch{}})();const be=({x:e,y:a,width:n,height:s,payload:r})=>{const c=S();return i.jsx(ye,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:a,width:n,height:s})},V=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,fe=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,W=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${t.sp1};
|
|
4
4
|
`,$e=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as Qe,e as ve,_ as Dt,h as It,gm as fr,h1 as $i,ad as Xe,gn as $r,a7 as Je,V as t,a_ as vi,m as l,fn as vr,a5 as _e,b as ee,aZ as ki,bo as ta,f as d,o as a,O as $e,ie as kr,w as H,bR as ji,ig as Li,eI as Di,gd as Ii,ih as Ai,b1 as Ti,bd as jr,ab as aa,x as T,ar as ra,b6 as Lr,C as ue,e6 as Ri,au as ia,i6 as Ei,ac as Dr,aA as mt,gq as Ir,bF as Fi,L as ut,an as Pi,cO as zi,bV as Mi,ii as Vi,ij as Ar,ik as it,er as Oi,aj as Hi,il as Ni,im as Bi,bS as Wi,cw as _i,g_ as Ui,l as Fe,bq as Zi,z as Ut,io as Ma,ip as Gi,cJ as Yi,d as Va,M as Tr,at as qi,P as Ki,i5 as ht,ia as Xi,ic as Ji,id as Qi,cR as Oa,en as eo,a as Rr,b_ as Er,bt as to,n as Fr,iq as ao,v as kt,bu as Ha,aV as ro,cF as io,D as oo,H as nt,gl as no,a8 as so,b2 as co,ir as At,eT as lo,is as Pr,fX as zr,it as Lt,hC as Mr,df as Vr,bm as ho,dL as Or,ib as po,c1 as uo,de as mo,cq as go,dR as Co,bK as wo,bL as xo}from"./index-
|
|
1
|
+
import{y as Qe,e as ve,_ as Dt,h as It,gm as fr,h1 as $i,ad as Xe,gn as $r,a7 as Je,V as t,a_ as vi,m as l,fn as vr,a5 as _e,b as ee,aZ as ki,bo as ta,f as d,o as a,O as $e,ie as kr,w as H,bR as ji,ig as Li,eI as Di,gd as Ii,ih as Ai,b1 as Ti,bd as jr,ab as aa,x as T,ar as ra,b6 as Lr,C as ue,e6 as Ri,au as ia,i6 as Ei,ac as Dr,aA as mt,gq as Ir,bF as Fi,L as ut,an as Pi,cO as zi,bV as Mi,ii as Vi,ij as Ar,ik as it,er as Oi,aj as Hi,il as Ni,im as Bi,bS as Wi,cw as _i,g_ as Ui,l as Fe,bq as Zi,z as Ut,io as Ma,ip as Gi,cJ as Yi,d as Va,M as Tr,at as qi,P as Ki,i5 as ht,ia as Xi,ic as Ji,id as Qi,cR as Oa,en as eo,a as Rr,b_ as Er,bt as to,n as Fr,iq as ao,v as kt,bu as Ha,aV as ro,cF as io,D as oo,H as nt,gl as no,a8 as so,b2 as co,ir as At,eT as lo,is as Pr,fX as zr,it as Lt,hC as Mr,df as Vr,bm as ho,dL as Or,ib as po,c1 as uo,de as mo,cq as go,dR as Co,bK as wo,bL as xo}from"./index-CpaD5zWS.js";import{a as o,b as bo}from"./sentry-ByK32NK-.js";import{n as r,c as ge,k as Hr}from"./mui-CrML1f8O.js";import{F4 as Tt,bs as yo,c0 as So,Gt as fo}from"./zeni-epic-state-BYs-FQva.js";import{y as $o}from"./MoreMenuButton-BsBKwXvk-Bfmamp7e.js";import{x as vo}from"./NavigationDots-Dvce3gHt-DW4VxzwL.js";import{A as ko,i as jo,a as Lo,l as Do,r as Io,t as Ao,n as To}from"./add-to-wallet-DgdBD8_G-DgIZrzUE.js";import{L as Zt}from"./lottie-BQVzdLy7.js";import{t as Ro}from"./spend-limit-D6SyboD4-uBFgkcqC.js";import{j as Eo}from"./CardNumberSubText-_ZZbaz_k-BlPsWhfy.js";import{t as Fo}from"./panelSelectedMixin-Cddsb26L-Anmi9mqw.js";import{M as Po,S as zo}from"./common-BpxEACHl-DJrchDx2.js";import{r as Nr}from"./core-Bup_6r8s.js";import{l as Br}from"./uploadReceipts-CIgkuVpu-CCRs-PGP.js";import{L as Mo,z as Vo,k as Oo,P as Ho}from"./LockCardPage-CZENNby7-Cee2SE9c.js";import"./pdf-70cGw_kx.js";import"./liveblocks-DC1MsMik.js";import"./recharts-CtJQnN36.js";import"./dnd-6DI5OLjD.js";import"./analytics-5lp27QV6.js";import"./plaid-DUNGunmx.js";import"./utils-DtsUvZkm.js";import"./bank-letter-BOcVjN6J-DycrnP8v.js";import"./dollar-round-D18u7nlm-D-YAdqzN.js";import"./money-2cg1MuG4-B3FwBIwT.js";import"./page-summary-D7_VQHwN-g6tBufQw.js";import"./transaction-placeholder-CpOwZAMG-Bg0WD2U2.js";import"./unlock-BPWn2I5L-AQif6k_b.js";import"./calculateSize-B2w5JPEU-BEy6I0xe.js";import"./RoleWithToolTip-Ct3_VuDM-DhtqjWvU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="0a376432-6f60-4cc5-b42a-4852f5df6b2b",e._sentryDebugIdIdentifier="sentry-dbid-0a376432-6f60-4cc5-b42a-4852f5df6b2b")}catch{}})();const Wr=$e.getLocalizedStrings().spendManagement.chargeCard,No=({controllerEmails:e,classListFetchState:i,isChargeCardFeatureEnabled:s,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:c,isChargeCardSetupEnabled:$,chargeCardDetailView:h,productInformation:g,creditAccountInformation:u,debitAccountInformation:C,creditAccount:x,creditAccountRepayment:n,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,appleWalletLink:L,googleWalletLink:A,style:p,showDrawerAnimation:R,setWalletType:v,setIsAddToWalletDrawerOpen:V,isDebitCard:O})=>{const f=It().analytics,{isIPadScreen:Z}=Ni(),{isAndroidScreen:K}=Bi(),X=Dt(),E=Tt(X.loggedInUserRoleMap);return t.jsx(Bo,{style:p,children:Z===!0?t.jsx(ea,{onClick:()=>{it({chargeCardDetailView:h,classListFetchState:i,analytics:f,isDebitCard:O,isChargeCardAdmin:E,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",productInformation:g,creditAccountInformation:u,debitAccountInformation:C,isChargeCardFeatureEnabled:s,creditAccount:x,creditAccountRepayment:n}),window.open(L,"_blank")}}):K===!0?t.jsx(Qt,{onClick:()=>{it({chargeCardDetailView:h,classListFetchState:i,analytics:f,isDebitCard:O,isChargeCardAdmin:E,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",productInformation:g,creditAccountInformation:u,debitAccountInformation:C,isChargeCardFeatureEnabled:s,creditAccount:x,creditAccountRepayment:n}),window.open(A,"_blank")}}):t.jsxs(t.Fragment,{children:[t.jsx(ea,{onClick:()=>{v("apple"),R.current="slide-in-right-to-left-add-to-wallet",it({chargeCardDetailView:h,classListFetchState:i,analytics:f,isDebitCard:O,isChargeCardAdmin:E,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",isChargeCardFeatureEnabled:s,productInformation:g,creditAccountInformation:u,debitAccountInformation:C,creditAccount:x,creditAccountRepayment:n}),V(!0)}}),t.jsx(Qt,{onClick:()=>{v("google"),R.current="slide-in-right-to-left-add-to-wallet",it({chargeCardDetailView:h,classListFetchState:i,analytics:f,isDebitCard:O,isChargeCardAdmin:E,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",isChargeCardFeatureEnabled:s,productInformation:g,creditAccountInformation:u,debitAccountInformation:C,creditAccount:x,creditAccountRepayment:n}),V(!0)}})]})})},Qt=({onClick:e})=>{const i=Qe();return t.jsx(Rr,{prefixIcon:t.jsx(Wo,{}),label:Wr.cardDetails.addToGoogleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":ee("add-to-google-wallet-button")})},ea=({onClick:e})=>{const i=Qe();return t.jsx(Rr,{prefixIcon:t.jsx(_o,{}),label:Wr.cardDetails.addToAppleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":ee("add-to-apple-wallet-button")})},Bo=r.div`
|
|
2
2
|
margin-top: ${a.sp4};
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as Ja,a7 as _,_ as Ka,fm as Wa,i5 as z,e as Fe,o as a,y as ta,V as t,a_ as Xa,eO as ae,w as D,bo as nt,f as p,a5 as he,b as M,ag as st,O as Ee,x as V,C as q,d as Za,M as Qa,co as er,t as aa,b6 as tr,aj as ct,ab as ar,H as lt,T as rr,gf as ir,dX as or,k as nr,A as sr,fD as dr,a as Ot,m as O,cy as ra,D as cr,l as lr,c2 as hr,cn as ur,aT as mr,bq as pr}from"./index-
|
|
1
|
+
import{h as Ja,a7 as _,_ as Ka,fm as Wa,i5 as z,e as Fe,o as a,y as ta,V as t,a_ as Xa,eO as ae,w as D,bo as nt,f as p,a5 as he,b as M,ag as st,O as Ee,x as V,C as q,d as Za,M as Qa,co as er,t as aa,b6 as tr,aj as ct,ab as ar,H as lt,T as rr,gf as ir,dX as or,k as nr,A as sr,fD as dr,a as Ot,m as O,cy as ra,D as cr,l as lr,c2 as hr,cn as ur,aT as mr,bq as pr}from"./index-CpaD5zWS.js";import{a as c}from"./sentry-ByK32NK-.js";import{n as r,c as ht,k as Cr}from"./mui-CrML1f8O.js";import{F4 as gr,Gs as xr,bs as Bt,bG as br,c6 as yr}from"./zeni-epic-state-BYs-FQva.js";import{m as fr}from"./BusyIndication-9zDqSKBP-DJ3Vfbyo.js";import{t as Sr}from"./SpendManagementSection-CIz4nE_w-EjDUgL9k.js";import{D as re,r as wr,i as kr}from"./ChargeCardListTable-YznzSsJo-DstpQqaj.js";import{ChargeCardPromoUserContent as $r}from"./ChargeCardPromoPage-DIfakIOK-BZrA1EKm.js";import{N as Ir,J as vr}from"./PromoBaseCards-BOGJI2ws-sgQWsMLW.js";import{z as Mt,L as zt,k as jr,P as Ar}from"./LockCardPage-CZENNby7-Cee2SE9c.js";import{r as Lr,i as Pr}from"./graphic-no-data-net-burn-l-CzmycA0m-CyAeI3ri.js";import{t as Fr,o as Er}from"./arrow-south-east-round-PEovUgvH-CJ4vNxl8.js";import"./pdf-70cGw_kx.js";import"./core-Bup_6r8s.js";import"./lottie-BQVzdLy7.js";import"./liveblocks-DC1MsMik.js";import"./recharts-CtJQnN36.js";import"./dnd-6DI5OLjD.js";import"./analytics-5lp27QV6.js";import"./plaid-DUNGunmx.js";import"./utils-DtsUvZkm.js";import"./MoreMenuButton-BsBKwXvk-Bfmamp7e.js";import"./bank-letter-BOcVjN6J-DycrnP8v.js";import"./spend-limit-D6SyboD4-uBFgkcqC.js";import"./dollar-round-D18u7nlm-D-YAdqzN.js";import"./money-2cg1MuG4-B3FwBIwT.js";import"./page-summary-D7_VQHwN-g6tBufQw.js";import"./transaction-placeholder-CpOwZAMG-Bg0WD2U2.js";import"./unlock-BPWn2I5L-AQif6k_b.js";import"./filter-cZIFUNvj-DpLTtq1K.js";import"./ZeniDatePicker-BHXPxPnI-3TUixdQt.js";import"./avatar-Dz7aEm3d-DP6fbxRB.js";import"./common-BpxEACHl-DJrchDx2.js";import"./calculateSize-B2w5JPEU-BEy6I0xe.js";import"./ZeniAvatar-Bzhq25CU-B99_6YEt.js";import"./RoleWithToolTip-Ct3_VuDM-DhtqjWvU.js";import"./CardNumberSubText-_ZZbaz_k-BlPsWhfy.js";import"./NavigationDots-Dvce3gHt-DW4VxzwL.js";import"./usp-line-BBd1wKwW-CN9IBf07.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="f4a56bb7-96e4-47b8-9ec2-16cc7a7eb4fc",e._sentryDebugIdIdentifier="sentry-dbid-f4a56bb7-96e4-47b8-9ec2-16cc7a7eb4fc")}catch{}})();const ut={infoSubheadingTextMarginTop:new V(O[0],O[0]),cardsMinWidth:new V(343,353)},Pe=Ee.getLocalizedStrings().spendManagement.chargeCard.chargeCardsPromo.listPage,Vt=({cardPromoType:e,cardText:m,header:l,title:d,subTitle:n,slidingTextList:h,onClick:B,status:$,statusMessage:Y})=>{const U=Fe(),A=$!==void 0,G=$==="rejected"?Pe.status.requestRejected:$==="under_review"?Pe.status.requestUnderReview:"";return t.jsxs(Dr,{windowSize:U,cardPromoType:e,"data-testid":M("list-page-promo-card",e),onClick:()=>B(e),children:[t.jsxs(ia,{isStatusMode:A,children:[t.jsxs(na,{children:[A?t.jsx(_r,{children:G}):t.jsx(oa,{children:l}),t.jsx(Or,{children:d}),A?null:t.jsx(zr,{children:n})]}),!A&&t.jsxs(Vr,{children:[t.jsx(Ur,{}),h.length>0&&t.jsx(dt,{slideUpCount:h.length,children:h.map((ie,oe)=>t.jsx(sa,{children:ie},`card-promo-${oe.toString()}`))}),t.jsx(Gr,{})]}),Y!=null&&A?t.jsx(Nr,{status:$,children:Y}):null]}),t.jsx(Hr,{isStatusMode:A,children:t.jsx(Ir,{cardPromoType:e,cardText:m,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(qr,{isStatusMode:A,children:t.jsx(vr,{cardPromoType:e,cardText:m,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})})]})},Ut=({cardType:e,header:m,title:l,creditLimit:d,onCreateNowClick:n})=>{const h=Fe();return t.jsx(Tr,{windowSize:h,cardType:e,children:t.jsxs(Rr,{children:[t.jsxs(na,{children:[t.jsx(oa,{children:m}),t.jsx(Mr,{children:t.jsx(Br,{children:l})}),t.jsx(Yr,{windowSize:h,children:t.jsxs(Jr,{windowSize:h,onClick:()=>n(e),"data-testid":M("total-cashback-info"),children:[t.jsx(sa,{children:Pe.createNow}),t.jsx(Kr,{})]})})]}),e==="creditCard"?t.jsxs(Wr,{children:[t.jsx(Xr,{children:Pe.creditLimit}),t.jsx(Zr,{children:d})]}):null]})})},Dr=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{bF as st,V as i,T as nt,A as at,O as le,e as oe,_ as ke,h as lt,y as ze,gm as dt,a9 as ct,o as t,b as G,bN as ht,w as Be,f as I,an as pt,bV as ut,bo as ye,bX as Oe,bd as mt,ab as gt,x as C,e6 as xt,au as wt,i6 as Ct,ac as ft,aA as yt,C as ee,gq as kt,H as J,l as X,m as u,cc as St,e4 as vt,i7 as jt,i8 as $t,d as Ci,bt as fi,i9 as bt,bm as It,b_ as Je,ia as yi,cR as Lt,cS as q,a5 as de,L as ki,ib as zt,c1 as At,h_ as Xe,b6 as Si,b8 as vi,ad as je,aR as Ft}from"./index-BngCC-zG.js";import{b as he,a as f}from"./sentry-CHlUi953.js";import{n as o,c as Ye}from"./mui-DyGc7Pg8.js";import{H as Pt,o as Rt,R as Bt,L as Dt,_ as _t,M as Et,S as Tt}from"./common-BpxEACHl-SqfXrkK_.js";import{d as ji}from"./ZeniAvatar-Bzhq25CU-DO1x3yqH.js";import{T as $i}from"./RoleWithToolTip-Ct3_VuDM-zYFjvA-a.js";import{j as Ve}from"./CardNumberSubText-_ZZbaz_k-D2s6-wsQ.js";import{t as bi,r as Ot}from"./spend-limit-D6SyboD4-DKcfJ6au.js";import{o as Vt,r as Nt}from"./unlock-BPWn2I5L-BfuVrsIJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="be3a5107-26de-4f70-9eb3-d6257260180e",e._sentryDebugIdIdentifier="sentry-dbid-be3a5107-26de-4f70-9eb3-d6257260180e")}catch{}})();const me=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Mt=le.getLocalizedStrings().common.strings.empty,Qe={key:"owner",value:me.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Ze={key:"cardName",value:me.cardName,sortOrder:"ascending",width:new C(120,120,160,171,171)},ei={key:"cardType",value:me.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},ii={key:"status",value:me.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},ti={key:"utilisation",value:me.utilisation,sortOrder:"ascending",width:new C(u[11],u[11],u[11],u[12],120)},oi={key:"limit",value:me.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},Ii=e=>e===!0?[{...Qe,width:new C(0,0),value:Mt},Ze,ei,ii,ti,oi]:[Qe,Ze,ei,ii,ti,oi],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Ut}},chargeCard:j}}=le.getLocalizedStrings(),se={containerPaddingLeft:new C(u[3],u[2]),containerPaddingRight:new C(u[2],u[3]),containerPaddingTop:new C(u[2],u[3]),containerPaddingBottom:new C(u[2],u[3]),containerMarginLeft:new C(u[4],u[0]),containerMarginRight:new C(u[4],u[0]),webkitLineClamp:new C(2,1,1,1,1)};var Wt=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Wt||{});const Ht={moreItemFont:new Ci("extraSmallRegular","smallRegular")},Kt=({setCardIdForRowAction:e,setActionTypeForRowAction:r,rowActionView:s,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:n,isCardControlsEnabled:a,showViewForCardUser:x,signedInUser:m,resendInviteId:y,index:k,onChargeCardRowClick:S,onChargeCardResendInviteClick:h})=>{const[p,w]=f.useState(!1),[$,R]=f.useState(!1);f.useEffect(()=>{p||R(!1)},[p]),f.useEffect(()=>{l.length>0&&p&&(w(!1),R(!1))},[l.length,p]);const B=s.cardId===n.id,D=l.includes(n.id),z=B&&s.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",M=B&&s.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",g=z||M,v=oe(),_=!!ke().loggedInUserRole.includes("charge_card_user")||x,U=f.useCallback(()=>{S(n.id,k)},[n.id]),T=yi(n)/n.limit.amount*100,W=n?.cardHolderUserId===m.userId,F=n.status.code!=="closed"&&n.status.code!=="closed_by_customer",O=Lt(n.cardHolderUser,!1),K=n.balance,A=Ii(_),H=i.jsxs(i.Fragment,{children:[i.jsx(q,{isLoading:g,customStyle:{width:t.sp9,height:"20px",borderRadius:t.sp1},children:i.jsx(ho,{title:de("0,0.[00]",K),className:"amountToUtilize",children:de("0,0.[00]",K)})}),T!==0?i.jsx(q,{isLoading:g,customStyle:{width:t.sp11,height:t.sp3,borderRadius:t.sp1},children:i.jsx(po,{className:"amountToUtilize",children:`${Math.round(T)}${Ut}`})}):null]}),V=n.type.code,ie=j.cardList.tooltip[V],te=ie!=null?W?ie.self:`${O} ${ie.cardUser}`:Ce.strings.empty;return i.jsx(Gt,{windowSize:v,children:i.jsx(Jt,{onClick:U,"data-testid":G("card-row",n.id),children:i.jsxs(Yt,{children:[_?null:i.jsx(pe,{children:i.jsxs(Qt,{windowSize:v,responsiveWidth:A[0].width,children:[i.jsx(q,{isLoading:g,flex:"0 0",customStyle:{width:t.sp6,height:t.sp6,borderRadius:"50%"},children:i.jsx(ji,{personBasic:n.cardHolderUser,styles:{height:t.sp6,width:t.sp6,minWidth:t.sp6}})}),i.jsxs(eo,{isLoading:g,children:[i.jsx(Zt,{isLoading:g,children:i.jsx(q,{isLoading:g,customStyle:{width:"88px",height:"20px",borderRadius:t.sp1},children:i.jsx(io,{windowSize:v,title:O,className:"cardHolderName",children:O===Ce.strings.empty?Ce.strings.hyphen:O})})}),i.jsx(q,{isLoading:g,customStyle:{width:"104px",height:t.sp3,borderRadius:t.sp1},children:i.jsx(ai,{className:"additionalInfoContainer",children:n.cardHolderRoles?.userRoles!=null&&i.jsx($i,{roles:n.cardHolderRoles?.userRoles})})})]})]})}),i.jsx(pe,{children:i.jsxs(so,{isLoading:g,windowSize:v,responsiveWidth:A[1].width,children:[i.jsx(q,{isLoading:g,customStyle:{width:"88px",height:"20px",borderRadius:t.sp1},children:i.jsx(no,{title:n.cardName,className:"cardName",children:n.cardName})}),i.jsxs(q,{isLoading:g,customStyle:{width:"104px",height:t.sp3,borderRadius:t.sp1},children:[" ",i.jsx(Co,{windowSize:v,className:"cardNameSubText",children:n.status.code==="request_on_hold"?Ce.strings.hyphen:j.cardDetails.expiryHideOut+Ce.strings.space+n.accountLast4})]})]})}),i.jsx(pe,{children:i.jsx(ao,{windowSize:v,responsiveWidth:A[2].width,children:i.jsx(lo,{className:"card-type",children:i.jsx(q,{isLoading:g,customStyle:{width:"144px",height:t.sp4,borderRadius:t.sp1},children:i.jsx(Ve,{cardDetail:n,forDetailPage:!1})})})})}),i.jsx(pe,{children:i.jsx(li,{windowSize:v,isLoading:g,responsiveWidth:A[3].width,children:i.jsx(q,{isLoading:g,customStyle:{width:"112px",height:t.sp4,borderRadius:t.sp1},children:y===n.id?i.jsx(ki,{size:"Small",start:!0}):i.jsxs(co,{children:[i.jsx(go,{children:n.status.code==="request_on_hold"?i.jsxs(ye,{display:"flex",title:te,placement:"top",style:{padding:`${t.sp2} ${t.sp3}`},children:[i.jsx(Le,{status:n.status.code,style:{cursor:"pointer"}}),i.jsx(uo,{style:{marginLeft:t.sp1},className:"infoIconTooltip"})]}):i.jsx(Le,{status:n.status.code})}),n.status.code!=="request_on_hold"||W?null:i.jsx(mo,{onClick:Y=>{Y.stopPropagation(),h(n.id)},"data-testid":G("send-reminder",n.id),children:j.cardList.sendReminder})]})})})}),i.jsx(pe,{children:i.jsx(li,{windowSize:v,isLoading:g,responsiveWidth:A[4].width,children:H})}),i.jsx(pe,{children:i.jsxs(to,{windowSize:v,responsiveWidth:A[5].width,children:[i.jsxs(oo,{windowSize:v,isLoading:g,children:[i.jsx(q,{isLoading:g,customStyle:{width:"68px",height:"20px",borderRadius:t.sp1},children:i.jsx(ro,{className:"limitAmount",windowSize:v,title:de("0,0.[00]",n.limit),children:de("0,0.[00]",n.limit)})}),i.jsx(ai,{className:"additionalInfoContainer",children:i.jsx(q,{isLoading:g,customStyle:{width:t.sp8,height:t.sp3,borderRadius:t.sp1},children:n.creditLimitFrequency.name})})]}),i.jsx(xo,{className:"menu-icon",onMouseEnter:()=>{!p&&F&&R(!0)},onMouseLeave:()=>{F&&R(!1)},children:(()=>{const Y=n.status.code==="locked",ge=n.status.code==="closed"||n.status.code==="closed_by_customer",xe=_?a&&!g&&!ge&&!(Y&&n.isLockedByAdmin):a?!g&&F:n.status.code==="request_on_hold",b=l.length>0;return xe&&i.jsx(ye,{open:$&&!p&&!b,variant:"standard",title:j.cardList.moreActionsTooltip,placement:"bottom-end",children:i.jsx(Oe,{isMenuVisible:!0,menuItems:i.jsx(wo,{children:i.jsx(Li,{cardDetail:n,isCardControlsEnabled:a,isChargeCardUser:_,setIsMenuOpen:w,setCardIdForRowAction:e,setActionTypeForRowAction:r})}),setIsMenuOpen:Ae=>{b||w(Ae)},isMenuOpen:p&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${t.sp3},${t.sp2})`}})})})()})]})})]})})})},Li=({cardDetail:e,isCardControlsEnabled:r,isChargeCardUser:s,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const n=oe();return r?e.status.code==="request_on_hold"?s?i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}):i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsx($e,{}),i.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[i.jsx(Xt,{}),i.jsx(fe,{children:j.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?s?i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}):i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsx($e,{}),i.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[i.jsx(Re,{}),i.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?s?i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[i.jsx(ni,{}),i.jsx(E,{children:j.cardDetails.moreOptions.unlock})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[i.jsx(ni,{}),i.jsx(E,{children:j.cardDetails.moreOptions.unlock})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[i.jsx(ri,{}),i.jsx(E,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),i.jsx($e,{}),i.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[i.jsx(Re,{}),i.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):s?i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("lock")},children:[i.jsx(si,{}),i.jsx(E,{children:j.cardDetails.moreOptions.lock})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[i.jsx(ri,{}),i.jsx(E,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("lock")},children:[i.jsx(si,{}),i.jsx(E,{children:j.cardDetails.moreOptions.lock})]}),i.jsx($e,{}),i.jsxs(L,{windowSize:n,hoverImportant:!0,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[i.jsx(Re,{}),i.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?i.jsx(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:i.jsx(fe,{children:j.cardDetails.revokeInvite})}):null},Le=({status:e,style:r})=>{const s=ze(),d=qt(e,s),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return oe()==="small"?i.jsx(Xe,{textColor:d,text:c[e],tagStyles:{maxWidth:t.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...r}}):i.jsx(Xe,{textColor:d,text:c[e],styles:r,tagStyles:{padding:"1px 6px"}})},qt=(e,r)=>{switch(e){case"active":return new je(I.success);case"request_on_hold":return new je(I.graphColor36);case"inactive":return new je(I.alert);default:return new je(r.colors.grey1)}},E=o(X)`
|
|
1
|
+
import{bF as st,V as i,T as nt,A as at,O as le,e as oe,_ as ke,h as lt,y as ze,gm as dt,a9 as ct,o as t,b as G,bN as ht,w as Be,f as I,an as pt,bV as ut,bo as ye,bX as Oe,bd as mt,ab as gt,x as C,e6 as xt,au as wt,i6 as Ct,ac as ft,aA as yt,C as ee,gq as kt,H as J,l as X,m as u,cc as St,e4 as vt,i7 as jt,i8 as $t,d as Ci,bt as fi,i9 as bt,bm as It,b_ as Je,ia as yi,cR as Lt,cS as q,a5 as de,L as ki,ib as zt,c1 as At,h_ as Xe,b6 as Si,b8 as vi,ad as je,aR as Ft}from"./index-CpaD5zWS.js";import{b as he,a as f}from"./sentry-ByK32NK-.js";import{n as o,c as Ye}from"./mui-CrML1f8O.js";import{H as Pt,o as Rt,R as Bt,L as Dt,_ as _t,M as Et,S as Tt}from"./common-BpxEACHl-DJrchDx2.js";import{d as ji}from"./ZeniAvatar-Bzhq25CU-B99_6YEt.js";import{T as $i}from"./RoleWithToolTip-Ct3_VuDM-DhtqjWvU.js";import{j as Ve}from"./CardNumberSubText-_ZZbaz_k-BlPsWhfy.js";import{t as bi,r as Ot}from"./spend-limit-D6SyboD4-uBFgkcqC.js";import{o as Vt,r as Nt}from"./unlock-BPWn2I5L-AQif6k_b.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="be3a5107-26de-4f70-9eb3-d6257260180e",e._sentryDebugIdIdentifier="sentry-dbid-be3a5107-26de-4f70-9eb3-d6257260180e")}catch{}})();const me=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Mt=le.getLocalizedStrings().common.strings.empty,Qe={key:"owner",value:me.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Ze={key:"cardName",value:me.cardName,sortOrder:"ascending",width:new C(120,120,160,171,171)},ei={key:"cardType",value:me.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},ii={key:"status",value:me.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},ti={key:"utilisation",value:me.utilisation,sortOrder:"ascending",width:new C(u[11],u[11],u[11],u[12],120)},oi={key:"limit",value:me.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},Ii=e=>e===!0?[{...Qe,width:new C(0,0),value:Mt},Ze,ei,ii,ti,oi]:[Qe,Ze,ei,ii,ti,oi],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Ut}},chargeCard:j}}=le.getLocalizedStrings(),se={containerPaddingLeft:new C(u[3],u[2]),containerPaddingRight:new C(u[2],u[3]),containerPaddingTop:new C(u[2],u[3]),containerPaddingBottom:new C(u[2],u[3]),containerMarginLeft:new C(u[4],u[0]),containerMarginRight:new C(u[4],u[0]),webkitLineClamp:new C(2,1,1,1,1)};var Wt=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Wt||{});const Ht={moreItemFont:new Ci("extraSmallRegular","smallRegular")},Kt=({setCardIdForRowAction:e,setActionTypeForRowAction:r,rowActionView:s,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:n,isCardControlsEnabled:a,showViewForCardUser:x,signedInUser:m,resendInviteId:y,index:k,onChargeCardRowClick:S,onChargeCardResendInviteClick:h})=>{const[p,w]=f.useState(!1),[$,R]=f.useState(!1);f.useEffect(()=>{p||R(!1)},[p]),f.useEffect(()=>{l.length>0&&p&&(w(!1),R(!1))},[l.length,p]);const B=s.cardId===n.id,D=l.includes(n.id),z=B&&s.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",M=B&&s.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",g=z||M,v=oe(),_=!!ke().loggedInUserRole.includes("charge_card_user")||x,U=f.useCallback(()=>{S(n.id,k)},[n.id]),T=yi(n)/n.limit.amount*100,W=n?.cardHolderUserId===m.userId,F=n.status.code!=="closed"&&n.status.code!=="closed_by_customer",O=Lt(n.cardHolderUser,!1),K=n.balance,A=Ii(_),H=i.jsxs(i.Fragment,{children:[i.jsx(q,{isLoading:g,customStyle:{width:t.sp9,height:"20px",borderRadius:t.sp1},children:i.jsx(ho,{title:de("0,0.[00]",K),className:"amountToUtilize",children:de("0,0.[00]",K)})}),T!==0?i.jsx(q,{isLoading:g,customStyle:{width:t.sp11,height:t.sp3,borderRadius:t.sp1},children:i.jsx(po,{className:"amountToUtilize",children:`${Math.round(T)}${Ut}`})}):null]}),V=n.type.code,ie=j.cardList.tooltip[V],te=ie!=null?W?ie.self:`${O} ${ie.cardUser}`:Ce.strings.empty;return i.jsx(Gt,{windowSize:v,children:i.jsx(Jt,{onClick:U,"data-testid":G("card-row",n.id),children:i.jsxs(Yt,{children:[_?null:i.jsx(pe,{children:i.jsxs(Qt,{windowSize:v,responsiveWidth:A[0].width,children:[i.jsx(q,{isLoading:g,flex:"0 0",customStyle:{width:t.sp6,height:t.sp6,borderRadius:"50%"},children:i.jsx(ji,{personBasic:n.cardHolderUser,styles:{height:t.sp6,width:t.sp6,minWidth:t.sp6}})}),i.jsxs(eo,{isLoading:g,children:[i.jsx(Zt,{isLoading:g,children:i.jsx(q,{isLoading:g,customStyle:{width:"88px",height:"20px",borderRadius:t.sp1},children:i.jsx(io,{windowSize:v,title:O,className:"cardHolderName",children:O===Ce.strings.empty?Ce.strings.hyphen:O})})}),i.jsx(q,{isLoading:g,customStyle:{width:"104px",height:t.sp3,borderRadius:t.sp1},children:i.jsx(ai,{className:"additionalInfoContainer",children:n.cardHolderRoles?.userRoles!=null&&i.jsx($i,{roles:n.cardHolderRoles?.userRoles})})})]})]})}),i.jsx(pe,{children:i.jsxs(so,{isLoading:g,windowSize:v,responsiveWidth:A[1].width,children:[i.jsx(q,{isLoading:g,customStyle:{width:"88px",height:"20px",borderRadius:t.sp1},children:i.jsx(no,{title:n.cardName,className:"cardName",children:n.cardName})}),i.jsxs(q,{isLoading:g,customStyle:{width:"104px",height:t.sp3,borderRadius:t.sp1},children:[" ",i.jsx(Co,{windowSize:v,className:"cardNameSubText",children:n.status.code==="request_on_hold"?Ce.strings.hyphen:j.cardDetails.expiryHideOut+Ce.strings.space+n.accountLast4})]})]})}),i.jsx(pe,{children:i.jsx(ao,{windowSize:v,responsiveWidth:A[2].width,children:i.jsx(lo,{className:"card-type",children:i.jsx(q,{isLoading:g,customStyle:{width:"144px",height:t.sp4,borderRadius:t.sp1},children:i.jsx(Ve,{cardDetail:n,forDetailPage:!1})})})})}),i.jsx(pe,{children:i.jsx(li,{windowSize:v,isLoading:g,responsiveWidth:A[3].width,children:i.jsx(q,{isLoading:g,customStyle:{width:"112px",height:t.sp4,borderRadius:t.sp1},children:y===n.id?i.jsx(ki,{size:"Small",start:!0}):i.jsxs(co,{children:[i.jsx(go,{children:n.status.code==="request_on_hold"?i.jsxs(ye,{display:"flex",title:te,placement:"top",style:{padding:`${t.sp2} ${t.sp3}`},children:[i.jsx(Le,{status:n.status.code,style:{cursor:"pointer"}}),i.jsx(uo,{style:{marginLeft:t.sp1},className:"infoIconTooltip"})]}):i.jsx(Le,{status:n.status.code})}),n.status.code!=="request_on_hold"||W?null:i.jsx(mo,{onClick:Y=>{Y.stopPropagation(),h(n.id)},"data-testid":G("send-reminder",n.id),children:j.cardList.sendReminder})]})})})}),i.jsx(pe,{children:i.jsx(li,{windowSize:v,isLoading:g,responsiveWidth:A[4].width,children:H})}),i.jsx(pe,{children:i.jsxs(to,{windowSize:v,responsiveWidth:A[5].width,children:[i.jsxs(oo,{windowSize:v,isLoading:g,children:[i.jsx(q,{isLoading:g,customStyle:{width:"68px",height:"20px",borderRadius:t.sp1},children:i.jsx(ro,{className:"limitAmount",windowSize:v,title:de("0,0.[00]",n.limit),children:de("0,0.[00]",n.limit)})}),i.jsx(ai,{className:"additionalInfoContainer",children:i.jsx(q,{isLoading:g,customStyle:{width:t.sp8,height:t.sp3,borderRadius:t.sp1},children:n.creditLimitFrequency.name})})]}),i.jsx(xo,{className:"menu-icon",onMouseEnter:()=>{!p&&F&&R(!0)},onMouseLeave:()=>{F&&R(!1)},children:(()=>{const Y=n.status.code==="locked",ge=n.status.code==="closed"||n.status.code==="closed_by_customer",xe=_?a&&!g&&!ge&&!(Y&&n.isLockedByAdmin):a?!g&&F:n.status.code==="request_on_hold",b=l.length>0;return xe&&i.jsx(ye,{open:$&&!p&&!b,variant:"standard",title:j.cardList.moreActionsTooltip,placement:"bottom-end",children:i.jsx(Oe,{isMenuVisible:!0,menuItems:i.jsx(wo,{children:i.jsx(Li,{cardDetail:n,isCardControlsEnabled:a,isChargeCardUser:_,setIsMenuOpen:w,setCardIdForRowAction:e,setActionTypeForRowAction:r})}),setIsMenuOpen:Ae=>{b||w(Ae)},isMenuOpen:p&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${t.sp3},${t.sp2})`}})})})()})]})})]})})})},Li=({cardDetail:e,isCardControlsEnabled:r,isChargeCardUser:s,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const n=oe();return r?e.status.code==="request_on_hold"?s?i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}):i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsx($e,{}),i.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[i.jsx(Xt,{}),i.jsx(fe,{children:j.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?s?i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}):i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsx($e,{}),i.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[i.jsx(Re,{}),i.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?s?i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[i.jsx(ni,{}),i.jsx(E,{children:j.cardDetails.moreOptions.unlock})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[i.jsx(ni,{}),i.jsx(E,{children:j.cardDetails.moreOptions.unlock})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[i.jsx(ri,{}),i.jsx(E,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),i.jsx($e,{}),i.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[i.jsx(Re,{}),i.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):s?i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("lock")},children:[i.jsx(si,{}),i.jsx(E,{children:j.cardDetails.moreOptions.lock})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[i.jsx(ri,{}),i.jsx(E,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("lock")},children:[i.jsx(si,{}),i.jsx(E,{children:j.cardDetails.moreOptions.lock})]}),i.jsx($e,{}),i.jsxs(L,{windowSize:n,hoverImportant:!0,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[i.jsx(Re,{}),i.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?i.jsx(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:i.jsx(fe,{children:j.cardDetails.revokeInvite})}):null},Le=({status:e,style:r})=>{const s=ze(),d=qt(e,s),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return oe()==="small"?i.jsx(Xe,{textColor:d,text:c[e],tagStyles:{maxWidth:t.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...r}}):i.jsx(Xe,{textColor:d,text:c[e],styles:r,tagStyles:{padding:"1px 6px"}})},qt=(e,r)=>{switch(e){case"active":return new je(I.success);case"request_on_hold":return new je(I.graphColor36);case"inactive":return new je(I.alert);default:return new je(r.colors.grey1)}},E=o(X)`
|
|
2
2
|
color: inherit;
|
|
3
3
|
`,fe=o(X)`
|
|
4
4
|
color: ${I.important};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as Pe,_ as Le,e as H,y as V,V as t,a_ as ze,w as I,O as T,m as l,o as i,x,bF as Re,b as O,an as Ie,bV as Te,bd as De,ab as Be,l as W,cS as b,gk as U,a5 as K,bo as Oe,bm as Me,H as N,b_ as J,f,gl as he,fi as pe,fe as me,bH as Ae,C as F,h_ as ge,b8 as Ne,iw as He,ib as We,c1 as _e,ad as z}from"./index-
|
|
1
|
+
import{h as Pe,_ as Le,e as H,y as V,V as t,a_ as ze,w as I,O as T,m as l,o as i,x,bF as Re,b as O,an as Ie,bV as Te,bd as De,ab as Be,l as W,cS as b,gk as U,a5 as K,bo as Oe,bm as Me,H as N,b_ as J,f,gl as he,fi as pe,fe as me,bH as Ae,C as F,h_ as ge,b8 as Ne,iw as He,ib as We,c1 as _e,ad as z}from"./index-CpaD5zWS.js";import{a as S,b as G}from"./sentry-ByK32NK-.js";import{n,c as Q}from"./mui-CrML1f8O.js";import{m as Ee}from"./BusyIndication-9zDqSKBP-DJ3Vfbyo.js";import{t as Ke}from"./SpendManagementSection-CIz4nE_w-EjDUgL9k.js";import{r as Ve,a as Fe,i as ye,g as Ye}from"./SpendManagementListViewPage-CFUxCqkU-BWMLeiXB.js";import{m as Ze}from"./MoreMenuButton-BsBKwXvk-Bfmamp7e.js";import{c as X,L as Ue,M as Ge,S as qe}from"./common-BpxEACHl-DJrchDx2.js";import{Gv as ue,Gw as xe}from"./zeni-epic-state-BYs-FQva.js";import{d as Je}from"./ZeniAvatar-Bzhq25CU-B99_6YEt.js";import{r as Qe}from"./auto-transfer-rule-mbafm5D3-DRWIqF2E.js";import"./pdf-70cGw_kx.js";import"./core-Bup_6r8s.js";import"./lottie-BQVzdLy7.js";import"./liveblocks-DC1MsMik.js";import"./recharts-CtJQnN36.js";import"./dnd-6DI5OLjD.js";import"./analytics-5lp27QV6.js";import"./plaid-DUNGunmx.js";import"./utils-DtsUvZkm.js";import"./filter-cZIFUNvj-DpLTtq1K.js";import"./ZeniDatePicker-BHXPxPnI-3TUixdQt.js";import"./avatar-Dz7aEm3d-DP6fbxRB.js";import"./StatusSwitcher-Bv-ozN6U-C5Nu_MEh.js";import"./bank-letter-BOcVjN6J-DycrnP8v.js";import"./spend-limit-D6SyboD4-uBFgkcqC.js";import"./dollar-round-D18u7nlm-D-YAdqzN.js";import"./money-2cg1MuG4-B3FwBIwT.js";import"./page-summary-D7_VQHwN-g6tBufQw.js";import"./transaction-placeholder-CpOwZAMG-Bg0WD2U2.js";import"./unlock-BPWn2I5L-AQif6k_b.js";import"./calculateSize-B2w5JPEU-BEy6I0xe.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="7bc2edc3-9079-4186-bad8-6b5f97fe7684",e._sentryDebugIdIdentifier="sentry-dbid-7bc2edc3-9079-4186-bad8-6b5f97fe7684")}catch{}})();const _=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,Xe={key:"paymentDate",value:_.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},et={key:"sourceAccount",value:_.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},tt={key:"paymentStatus",value:_.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},it={key:"initiatedBy",value:_.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},nt={key:"amount",value:_.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},we=()=>[Xe,et,tt,it,nt],P={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ge,qe)},ot=G.memo(function({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=V(),s=H(),[d,y]=S.useState(we());S.useEffect(()=>{const r=[...d];for(const g of r)g.key===o.sortKey?g.sortOrder=o.sortOrder:g.sortOrder="ascending";y(r)},[o.sortKey,o.sortOrder]);const u=(r,g)=>{let w=g;o.sortKey===r&&(w=g==="ascending"?"descending":"ascending"),c(r,w)},h=d.find(r=>r.key===o.sortKey)??d[0],p=d.map(r=>r.key),m=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return s==="small"?t.jsxs(st,{windowSize:s,children:[t.jsxs(ct,{children:[t.jsx(pt,{children:t.jsx(ht,{})}),t.jsx(Me,{title:m.header.paymentDate,placeholder:m.header.paymentDate,pickerValues:p,valueToLabel:r=>d.find(g=>g.key===r)?.value??"",selectedValue:o.sortKey,onPickerSelectionChanged:r=>{u(r,"ascending")},optionTextStyle:I.extraSmallRegular,titleTextStyle:I.extraSmallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.grey4})]}),t.jsxs(yt,{onClick:()=>u(h.key,h.sortOrder),"data-testid":O("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(ee,{windowSize:s,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:s,children:t.jsx(J,{})})})]})]}):t.jsx(at,{windowSize:s,children:t.jsx(rt,{children:d.map(r=>r.width.value(s)!==0&&t.jsxs(dt,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:r.key,wrapperWidth:r.width,windowSize:s,children:[t.jsxs(gt,{onClick:()=>u(r.key,r.sortOrder),"data-testid":O("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:r.value}),t.jsx(ee,{windowSize:s,sortDataValue:o.sortKey,headerdata:r,children:t.jsx(te,{windowSize:s,children:t.jsx(J,{})})})]}),t.jsx(mt,{sortDataValue:o.sortKey,windowSize:s,isVisible:o.sortKey===r.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(lt,{onClick:()=>u("paymentDate","ascending"),"data-testid":O("payment-history-list-sort-cancel",o.sortKey)})})]},r.key))})})}),at=n.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as b,V as r,y as O,_ as ye,h as be,a7 as $e,a5 as je,fm as Se,a_ as Te,eY as ze,a as Q,b as ee,O as oe,o as i,c2 as ve,n as J,c3 as Pe,D as ke,x,s as Ie,bo as Ae,i2 as Be,C as _e,m as p,d as j,f,au as Le,ac as Re,i3 as Me}from"./index-BngCC-zG.js";import{a as S}from"./sentry-CHlUi953.js";import{n,c as Ee,k as De}from"./mui-DyGc7Pg8.js";import{F4 as Fe}from"./zeni-epic-state-D8D2Skiq.js";import{x as Ne}from"./NavigationDots-Dvce3gHt-B5IBT8ql.js";import{J as H,N as G}from"./PromoBaseCards-BOGJI2ws-Cm4e0wPQ.js";import{M as _}from"./usp-line-BBd1wKwW-BHKdiO38.js";import"./pdf-BxqSCr4b.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="a413c61c-581e-4554-a48f-9c373c0c46e5",e._sentryDebugIdIdentifier="sentry-dbid-a413c61c-581e-4554-a48f-9c373c0c46e5")}catch{}})();const g={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},T={promoBadgeText:new j("standardRegular","largeRegular"),promoBadgeTextBold:new j("standardBold","largeBold"),cardsContent:new j("extraSmallRegular","smallRegular"),contactAdmin:new j("extraSmallRegular","largeRegular"),uspText:new j("smallRegular","standardRegular"),uspBoldText:new j("smallMedium","standardMedium")},{common:N,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),Mr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:t,showEnableCardButton:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,admins:$,cashbackRate:v,cardPromoType:d="credit",isCheckingEnabled:l,onSetupButtonClick:L,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:X,onExpressInterestClick:ge})=>{const he=O(),V=ye(),z=b(),W=be().analytics,{chargeCardTermsDetails:R,companyChargeCardInfo:C,companyLocaleInfo:M}=t,Z=$e(R?.fetchStatus.fetchState),[xe,Y]=S.useState(!1),we=C!=null&&M!=null?je("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;S.useEffect(()=>{Z==="In-Progress"&&R?.fetchStatus.fetchState==="Completed"&&X()},[Z,X,R?.fetchStatus]);const q=Fe(V.loggedInUserRoleMap),ue=Se(V),E=d==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=d==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=d==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=d==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:fe}=t,K=E?o.getPreApprovedNow:a?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Xe,{children:[r.jsx(Te,{title:o.title[d],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:z==="medium-compact"||z==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ze,{onCancelClick:()=>{Y(!1)},meetingUrl:e}):null,r.jsx(Ye,{windowSize:z,children:q===!0?r.jsxs(Ze,{children:[r.jsxs(We,{children:[r.jsx(He,{isApproved:Ce,creditAmount:we,cardPromoType:d,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:d,cashbackRate:v})]}),r.jsx(ne,{showEnableCardButton:a,cardPromoType:d,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Ge,{companyLegalName:s,cards:[],admins:$,cashbackRate:v,hasZeniFinopsRoles:ue,cardPromoType:d,isCheckingEnabled:l})}),!q||F||D?null:r.jsxs(tr,{windowSize:z,children:[r.jsx(Q,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:()=>{W.trackCardsPromoPageClicked("schedule demo"),W.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:w,isCreditCardEnabled:u},"Cards Promo"),Y(!0)},"data-testid":ee("schedule-demo-button")}),r.jsx(Ve,{windowSize:z,children:o.orText}),r.jsx(Q,{variant:"primary",label:K,style:{minWidth:166},loading:t.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||fe==="In-Progress",onClick:K===o.getPreApprovedNow?ge:()=>L(d),"data-testid":ee("enable-card-button")})]})]})},Ue=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.user?.lastName).join(", "),t=b();return r.jsxs(pr,{windowSize:t,children:[r.jsx(U,{underline:!1,windowSize:t,children:o.noCardAssigned.pre}),r.jsx(Ae,{title:s,placement:"top-start",style:{padding:`2px ${i.sp2}`},children:r.jsx(U,{underline:!0,windowSize:t,children:o.noCardAssigned.tooltip})}),r.jsx(U,{underline:!1,windowSize:t,children:o.noCardAssigned.post})]})},ne=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:t,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const w=b();return r.jsx(ir,{windowSize:w,children:r.jsx(Be,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:a===!0||c===!0||h===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&a===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(w)},cardPromoType:e,isCheckingEnabled:t})})},He=({isApproved:e,cardPromoType:s,creditAmount:t,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const w=b(),u=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,$=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(ie,{children:t}),o.creditLimit,N.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(er,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,N.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):a?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(ie,{children:t}),o.creditLimit,N.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:u}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ke,{cardPromoType:s,hasContent:$!=null,hideBadge:t==null||s==="debit",windowSize:w,children:[a||c||m?null:r.jsx(fr,{}),r.jsx(Qe,{windowSize:w,children:$})]})]})},Ge=({companyLegalName:e,cards:s,admins:t,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const w=b(),u=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:u}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(cr,{windowSize:w}):r.jsx(Oe,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(Ue,{admins:t}),r.jsx(ne,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Oe=({cards:e,companyLegalName:s})=>{const t=O(),a=b();let c,m="";if(e.length===1){c=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;m=o.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else m=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(gr,{children:[c!=null?r.jsx(qe,{width:i.sp5,height:i.sp5,style:{paddingTop:a==="small"?i.sp1:i.sp0},src:c.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ie},loading:"lazy"}):null,r.jsx(mr,{windowSize:a,mode:t.mode,children:r.jsx(hr,{windowSize:a,children:m})})]})},re=({windowSize:e,cardPromoType:s})=>{let t=o.businessText;return s==="debit"&&(t=`${t} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Je,{}):r.jsxs(nr,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:t,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(G,{cardPromoType:s,cardText:t,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ae=({cardPromoType:e,cashbackRate:s})=>{const t=b(),a=o.benefits;return r.jsxs(rr,{windowSize:t,children:[t==="small"?r.jsx(re,{windowSize:t,cardPromoType:e}):null,r.jsxs(or,{windowSize:t,children:[r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(dr,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item1.pre}),r.jsx(I,{windowSize:t,children:a.item1.bold.replace("__cashback__",(100*s).toFixed(2))}),r.jsx(y,{windowSize:t,children:`${e==="credit"||e==="debit_and_credit"?a.singleStarred:""}${a.item1.post}`})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(ar,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item2.pre}),r.jsx(I,{windowSize:t,children:a.item2.bold}),r.jsx(y,{windowSize:t,children:a.item2.post})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(lr,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item3.pre}),r.jsx(I,{windowSize:t,children:a.item3.bold}),r.jsx(y,{windowSize:t,children:a.item3.post})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(sr,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item4.pre}),r.jsx(I,{windowSize:t,children:a.item4.bold}),r.jsx(y,{windowSize:t,children:a.item4.post})]})]})]}),t==="small"?null:r.jsx(re,{windowSize:t,cardPromoType:e})]})};let P;const Je=()=>{const e=b(),s=O(),[t,a]=S.useState(0),[c,m]=S.useState(!1),h=o.businessText,w=`${h} ${o.debit}`,u=[{id:1,cardType:"debit",cardText:w},{id:2,cardType:"debit",cardText:w},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];S.useEffect(()=>(c||(P=setInterval(()=>{a(d=>{const l=d+1;return l===u.length?(m(!0),0):l})},2e3)),()=>clearInterval(P)),[c,u.length]),S.useEffect(()=>{c&&P!=null&&clearInterval(P)},[c]);const $=(d,l)=>{switch((d-t+u.length)%u.length){case 0:return{transform:`translate(0,${l?"100%":0}) scale(1)`,zIndex:l?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${l?"80%":"5%"}) scale(0.75)`,zIndex:l?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};default:return}},v=d=>{const l=$(d,!0);return{...l,transform:`${l?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}};return r.jsxs(xr,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:u.map((d,l)=>r.jsxs(ur,{children:[r.jsx(te,{isReflection:!1,style:{...$(l,!1)},onClick:()=>(L=>{c||m(!0),a(L)})(l),children:l===0||l===2?r.jsx(H,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(G,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},d.id),r.jsx(te,{isReflection:!0,style:{...v(l)},children:l===0||l===2?r.jsx(H,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(G,{cardPromoType:d.cardType,cardText:d.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${d.id}`)]},d.id))}),c&&r.jsx(Ne,{numberOfDots:u.length,activeIndex:t,handleClick:a,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:i.sp2,height:i.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},Xe=n.div`
|
|
1
|
+
import{e as b,V as r,y as O,_ as ye,h as be,a7 as $e,a5 as je,fm as Se,a_ as Te,eY as ze,a as Q,b as ee,O as oe,o as i,c2 as ve,n as J,c3 as Pe,D as ke,x,s as Ie,bo as Ae,i2 as Be,C as _e,m as p,d as j,f,au as Le,ac as Re,i3 as Me}from"./index-CpaD5zWS.js";import{a as S}from"./sentry-ByK32NK-.js";import{n,c as Ee,k as De}from"./mui-CrML1f8O.js";import{F4 as Fe}from"./zeni-epic-state-BYs-FQva.js";import{x as Ne}from"./NavigationDots-Dvce3gHt-DW4VxzwL.js";import{J as H,N as G}from"./PromoBaseCards-BOGJI2ws-sgQWsMLW.js";import{M as _}from"./usp-line-BBd1wKwW-CN9IBf07.js";import"./pdf-70cGw_kx.js";import"./core-Bup_6r8s.js";import"./lottie-BQVzdLy7.js";import"./liveblocks-DC1MsMik.js";import"./recharts-CtJQnN36.js";import"./dnd-6DI5OLjD.js";import"./analytics-5lp27QV6.js";import"./plaid-DUNGunmx.js";import"./utils-DtsUvZkm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="a413c61c-581e-4554-a48f-9c373c0c46e5",e._sentryDebugIdIdentifier="sentry-dbid-a413c61c-581e-4554-a48f-9c373c0c46e5")}catch{}})();const g={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},T={promoBadgeText:new j("standardRegular","largeRegular"),promoBadgeTextBold:new j("standardBold","largeBold"),cardsContent:new j("extraSmallRegular","smallRegular"),contactAdmin:new j("extraSmallRegular","largeRegular"),uspText:new j("smallRegular","standardRegular"),uspBoldText:new j("smallMedium","standardMedium")},{common:N,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),Mr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:t,showEnableCardButton:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,admins:$,cashbackRate:v,cardPromoType:d="credit",isCheckingEnabled:l,onSetupButtonClick:L,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:X,onExpressInterestClick:ge})=>{const he=O(),V=ye(),z=b(),W=be().analytics,{chargeCardTermsDetails:R,companyChargeCardInfo:C,companyLocaleInfo:M}=t,Z=$e(R?.fetchStatus.fetchState),[xe,Y]=S.useState(!1),we=C!=null&&M!=null?je("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;S.useEffect(()=>{Z==="In-Progress"&&R?.fetchStatus.fetchState==="Completed"&&X()},[Z,X,R?.fetchStatus]);const q=Fe(V.loggedInUserRoleMap),ue=Se(V),E=d==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=d==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=d==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=d==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:fe}=t,K=E?o.getPreApprovedNow:a?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Xe,{children:[r.jsx(Te,{title:o.title[d],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:z==="medium-compact"||z==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ze,{onCancelClick:()=>{Y(!1)},meetingUrl:e}):null,r.jsx(Ye,{windowSize:z,children:q===!0?r.jsxs(Ze,{children:[r.jsxs(We,{children:[r.jsx(He,{isApproved:Ce,creditAmount:we,cardPromoType:d,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:d,cashbackRate:v})]}),r.jsx(ne,{showEnableCardButton:a,cardPromoType:d,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Ge,{companyLegalName:s,cards:[],admins:$,cashbackRate:v,hasZeniFinopsRoles:ue,cardPromoType:d,isCheckingEnabled:l})}),!q||F||D?null:r.jsxs(tr,{windowSize:z,children:[r.jsx(Q,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:()=>{W.trackCardsPromoPageClicked("schedule demo"),W.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:w,isCreditCardEnabled:u},"Cards Promo"),Y(!0)},"data-testid":ee("schedule-demo-button")}),r.jsx(Ve,{windowSize:z,children:o.orText}),r.jsx(Q,{variant:"primary",label:K,style:{minWidth:166},loading:t.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||fe==="In-Progress",onClick:K===o.getPreApprovedNow?ge:()=>L(d),"data-testid":ee("enable-card-button")})]})]})},Ue=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.user?.lastName).join(", "),t=b();return r.jsxs(pr,{windowSize:t,children:[r.jsx(U,{underline:!1,windowSize:t,children:o.noCardAssigned.pre}),r.jsx(Ae,{title:s,placement:"top-start",style:{padding:`2px ${i.sp2}`},children:r.jsx(U,{underline:!0,windowSize:t,children:o.noCardAssigned.tooltip})}),r.jsx(U,{underline:!1,windowSize:t,children:o.noCardAssigned.post})]})},ne=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:t,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const w=b();return r.jsx(ir,{windowSize:w,children:r.jsx(Be,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:a===!0||c===!0||h===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&a===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(w)},cardPromoType:e,isCheckingEnabled:t})})},He=({isApproved:e,cardPromoType:s,creditAmount:t,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const w=b(),u=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,$=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(ie,{children:t}),o.creditLimit,N.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(er,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,N.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):a?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(ie,{children:t}),o.creditLimit,N.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:u}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ke,{cardPromoType:s,hasContent:$!=null,hideBadge:t==null||s==="debit",windowSize:w,children:[a||c||m?null:r.jsx(fr,{}),r.jsx(Qe,{windowSize:w,children:$})]})]})},Ge=({companyLegalName:e,cards:s,admins:t,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const w=b(),u=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:u}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(cr,{windowSize:w}):r.jsx(Oe,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(Ue,{admins:t}),r.jsx(ne,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Oe=({cards:e,companyLegalName:s})=>{const t=O(),a=b();let c,m="";if(e.length===1){c=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;m=o.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else m=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(gr,{children:[c!=null?r.jsx(qe,{width:i.sp5,height:i.sp5,style:{paddingTop:a==="small"?i.sp1:i.sp0},src:c.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ie},loading:"lazy"}):null,r.jsx(mr,{windowSize:a,mode:t.mode,children:r.jsx(hr,{windowSize:a,children:m})})]})},re=({windowSize:e,cardPromoType:s})=>{let t=o.businessText;return s==="debit"&&(t=`${t} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Je,{}):r.jsxs(nr,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:t,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(G,{cardPromoType:s,cardText:t,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ae=({cardPromoType:e,cashbackRate:s})=>{const t=b(),a=o.benefits;return r.jsxs(rr,{windowSize:t,children:[t==="small"?r.jsx(re,{windowSize:t,cardPromoType:e}):null,r.jsxs(or,{windowSize:t,children:[r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(dr,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item1.pre}),r.jsx(I,{windowSize:t,children:a.item1.bold.replace("__cashback__",(100*s).toFixed(2))}),r.jsx(y,{windowSize:t,children:`${e==="credit"||e==="debit_and_credit"?a.singleStarred:""}${a.item1.post}`})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(ar,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item2.pre}),r.jsx(I,{windowSize:t,children:a.item2.bold}),r.jsx(y,{windowSize:t,children:a.item2.post})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(lr,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item3.pre}),r.jsx(I,{windowSize:t,children:a.item3.bold}),r.jsx(y,{windowSize:t,children:a.item3.post})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(sr,{})}),r.jsxs(B,{children:[r.jsx(y,{windowSize:t,children:a.item4.pre}),r.jsx(I,{windowSize:t,children:a.item4.bold}),r.jsx(y,{windowSize:t,children:a.item4.post})]})]})]}),t==="small"?null:r.jsx(re,{windowSize:t,cardPromoType:e})]})};let P;const Je=()=>{const e=b(),s=O(),[t,a]=S.useState(0),[c,m]=S.useState(!1),h=o.businessText,w=`${h} ${o.debit}`,u=[{id:1,cardType:"debit",cardText:w},{id:2,cardType:"debit",cardText:w},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];S.useEffect(()=>(c||(P=setInterval(()=>{a(d=>{const l=d+1;return l===u.length?(m(!0),0):l})},2e3)),()=>clearInterval(P)),[c,u.length]),S.useEffect(()=>{c&&P!=null&&clearInterval(P)},[c]);const $=(d,l)=>{switch((d-t+u.length)%u.length){case 0:return{transform:`translate(0,${l?"100%":0}) scale(1)`,zIndex:l?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${l?"80%":"5%"}) scale(0.75)`,zIndex:l?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};default:return}},v=d=>{const l=$(d,!0);return{...l,transform:`${l?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}};return r.jsxs(xr,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:u.map((d,l)=>r.jsxs(ur,{children:[r.jsx(te,{isReflection:!1,style:{...$(l,!1)},onClick:()=>(L=>{c||m(!0),a(L)})(l),children:l===0||l===2?r.jsx(H,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(G,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},d.id),r.jsx(te,{isReflection:!0,style:{...v(l)},children:l===0||l===2?r.jsx(H,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(G,{cardPromoType:d.cardType,cardText:d.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${d.id}`)]},d.id))}),c&&r.jsx(Ne,{numberOfDots:u.length,activeIndex:t,handleClick:a,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:i.sp2,height:i.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},Xe=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as s}from"./pdf-BxqSCr4b.js";import{j as ue,l as oa,i as me,u as S,h as be,k as he,N as pa,o as ot,R as Mt,m as te}from"./core-CVVdXRky.js";import{ct as ce,F4 as Be,MN as Ia,cy as ye,cz as Se,cA as Ie,dt as Me,bH as $e,MO as Ge,MP as Va,pS as ha,gT as ga,MQ as fa,eg as ra,v$ as Xe,w1 as Ha,w2 as Ma,gL as ct,MR as ze,vP as it,MS as $t,MT as Gt,vS as ka,MU as zt,Lh as Ea,o2 as dt,vY as $a,er as Yt,MV as lt,MW as Ye,bs as Zt,MX as Kt,dj as Aa,di as Da,ww as Wt,dh as _a,KZ as qt,MY as ut,F5 as mt,bM as Qt,Lg as ca,x6 as Xt,MZ as Ja,wI as wa,M_ as Ct,x7 as Jt,LH as en,x8 as an,y2 as tn,pc as nn,xY as rn,wh as pt,wa as sn,M$ as on,dv as cn,wq as ht,wu as gt,du as dn,N0 as ln,wU as ft,N1 as un,N2 as mn,N3 as Cn,ws as bt,wd as yt,vV as St,wm as It,wk as kt,wo as pn,w0 as et,N4 as Et,N5 as Pa,wF as ba,HX as At,bN as Ga,N6 as hn,N7 as gn,N8 as fn,N9 as bn,wC as Oa,w$ as yn,wX as Sn,wy as In,wZ as kn,wP as En,wR as An,Na as Dt,x5 as _t,Dr as Dn,Nb as _n,Nc as wn,Nd as Pn,Ne as wt,Nf as Tn,xs as Fn,wH as Pt,wB as sa,wG as vn,Ng as xn,Nh as Ln,vM as Bn,Ni as Tt,Nj as Ft,Nk as Un,vO as Rn,vN as at,Nl as On,Nm as Nn,Nn as jn,HT as Vn,No as za,Np as Hn,sE as vt,hr as Mn,eh as $n,xx as Gn,Nq as xt,Nr as zn,xy as Yn,Ns as Zn,cg as Kn,pM as Wn,xn as qn,xh as Le,bt as Qn,FX as Xn,FY as Jn,G5 as er,Hb as ar}from"./zeni-epic-state-D8D2Skiq.js";import{js as X,_ as Re,aE as oe,aG as K,jQ as _e,lM as Ta,lX as tr,lY as nr,jM as Te,e as ia,aF as Pe,jO as fe,l8 as Ya,lZ as rr,x as da,jD as Fa,y as va,jz as q,O as Za,l_ as sr,a7 as Ka,i5 as qe,cR as Na,L as or,bk as Wa,k9 as cr,l$ as ir,kv as Lt,k4 as ja,k2 as Bt,J as Ut,m0 as dr,m1 as lr,m2 as ur,m3 as mr,o as ya,m4 as Cr,m5 as pr,m as Ba,N as hr,m6 as gr,m7 as fr,m8 as br,kc as yr}from"./index-BngCC-zG.js";import{n as ke,D as Rt,S as Sr}from"./mui-DyGc7Pg8.js";import{a as l}from"./sentry-CHlUi953.js";import{g as pe,a as la,b as Ot,c as Ee,d as Ae,e as Ue,f as Oe,A as Ir,h as qa,P as kr,i as Qa,s as Qe,j as Nt,k as He,l as jt,m as Er,n as Vt,p as Ar,S as tt}from"./SetupPagesScreen-D_H5m3yT.js";import xa from"./NotFoundScreen-BOQb1xUE.js";import{M as ua}from"./MobileAppDrawer-TF-9OTZ8.js";import{v as nt}from"./utils-BpkJZQMI.js";import{t as Dr}from"./AddressScreen-Duz_V-eF.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./analyticsHelper-RqmdZ4w4.js";import"./routePaths-B2Ez8xiG.js";import"./BusinessVerificationPageScreen-BlaiKu4I.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1bb7015f-ae9d-4ae4-8974-bd252d3d5892",e._sentryDebugIdIdentifier="sentry-dbid-1bb7015f-ae9d-4ae4-8974-bd252d3d5892")}catch{}})();function _r(){const e=ue(),{cardId:t}=oa(),a=me(),r=X.getSignedInUser(),n=S(W=>ce(W)),c=Re(),u=Be(c?.loggedInUserRoleMap),{useFeatureGate:m}=oe();if(r==null)throw Error("Can't access Add To Wallet Page without signing in...");const[E,i]=l.useState(!1),g=S(W=>Ia(W).firstViewAfterActivation);if(t==null)throw Error("Empty card id is not valid...");const I=n.userRole.includes("charge_card_user"),{isFeatureEnabled:_}=m(K.isChargeCardFeatureEnabled),C=!!n.companyChargeCardInfo?.info?.isChargeCardEnabled,{isFeatureEnabled:U}=m(K.isDebitCardFeatureEnabled),v=ye(n),T=Se(n),d=Ie(U,n),f=n.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,b=Ee({isDebitCardFeatureEnabled:U,isBankingOnlyTenant:d}),o=Ae({isCardsOnlyTenant:v,isChargeCardFeatureEnabled:_,isBookKeepingTenant:T,isDebitCardProductVisible:b,chargeCardsCreditAccountLimit:f}),w=!!n.companyDebitCardInfo?.info?.isDebitCardEnabled,O=S(W=>Me(W,n.companyId)),N=$e(O.controllers),{creditAccount:L,creditAccountRepayment:F}=S(W=>Ge(W)),R=S(W=>W.classListState.fetchState),p=!I&&o&&C,h=S(W=>Va(W,t,p,o)),[k,A]=l.useState(!1),M=h.chargeCard,$=M?.cardCreatedByUser?.userId,H=S(W=>$!=null?ha(W.userRoleState,$):void 0),B=H?.accountingClassIDs[0],y=S(W=>B!=null?ga(W.classState,{classId:B,reportId:"class_list"}):void 0),Y=M?.cardHolderUser?.userId,x=S(W=>Y!=null?ha(W.userRoleState,Y):void 0),P=x?.accountingClassIDs[0],z=S(W=>P!=null?ga(W.classState,{classId:P,reportId:"class_list"}):void 0),D=M?.type.code==="business_physical_credit_card"||M?.type.code==="business_physical_debit_card",Z=M?.type.code==="business_physical_debit_card";l.useEffect(()=>{g&&E===!1&&D&&(i(!0),setTimeout(()=>{a(fa()),Z&&a(ra({messageSection:"set_debit_card_pin",messageText:"success",type:"success",showStatusIcon:!0}))},5e3))},[g,E,D,Z]),l.useEffect(()=>{k||h.fetchState==="Completed"||h.fetchState==="In-Progress"||t==null||(A(!0),a(Xe(t,p,!1)))},[k,h,t,a]),l.useEffect(()=>{if(h.fetchState==="Completed"&&(D===!1||D&&M?.status?.code!=="active"||M?.cardHolderUserId!==r.userId||g===!1&&E===!1||M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card")){const W=pe(n.tenantEmailDomain,t,r,M,g);e(W)}},[h.fetchState,g,D]),l.useEffect(()=>{L.fetchState!=="Completed"&&L.fetchState!=="In-Progress"&&o&&C&&u&&a(Ha()),F.fetchState!=="Completed"&&F.fetchState!=="In-Progress"&&o&&C&&u&&a(Ma()),R!=="Completed"&&R!=="In-Progress"&&a(ct())},[L.fetchState,F.fetchState,a,o,C,u,R]);const G=()=>{if(r!=null&&t!=null){a(fa());const W=pe(n.tenantEmailDomain,t,r);e(W)}},ae=M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card",se=Ue(o,b,w,C),J=la(o,C,u,L,F),de=Ot(ae,h);return h.fetchState!=="Completed"?s.jsx(_e,{fetchState:"In-Progress"}):s.jsxs(s.Fragment,{children:[s.jsx(Ta,{showConfetti:g}),s.jsx(tr,{onGotItClick:G,isDebitCard:M?.type.code==="business_physical_debit_card",controllerEmails:N,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:b,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:C,productInformation:se,creditAccountInformation:J,debitAccountInformation:de,chargeCardDetailView:h,creditAccount:L,classListFetchState:R,creditAccountRepayment:F,cardIssuedByRoles:H?.userRoles,cardIssuedByDepartmentName:y?.className,cardHolderRoles:x?.userRoles,cardHolderDepartmentName:z?.className})]})}const wr=he(function(e){const t=ze(e);return{insightsData:t.insight,cashbackByPeriod:t.cashbackByPeriod,uiState:t.uiState,cashbackSummary:t.cashbackSummary}},function(e,t){const{currentTenant:a,navigate:r,location:n}=t,{tenantEmailDomain:c}=a;return{onColumnSortConfigChanged:(u,m)=>{e($t({uiState:{sortKey:u,sortOrder:m}}))},onBackClick:()=>{const u=Te(n.state?.pathnameStackToGoBack),m=u.poppedPathname??Tr(c);r(m,{state:{pathnameStackToGoBack:u.newStack}})}}})(nr);function Pr(){const e=ue(),t=me(),a=be(),r=X.getSignedInUser(),n=S(E=>ce(E)),[c,u]=l.useState(!1),m=S(E=>ze(E));if(l.useEffect(()=>{c||m.fetchState==="Completed"||m.fetchState==="In-Progress"||(u(!0),t(it()))},[c,m,t]),r==null)throw Error("Can't access cashback detail page without signing in...");return m.fetchState==="In-Progress"?s.jsx(_e,{fetchState:m.fetchState}):m.cashbackSummary.cashbackEarned.amount===0&&m.fetchState==="Completed"?s.jsx(xa,{}):s.jsx(wr,{navigate:e,location:a,currentTenant:n})}const Tr=e=>`/${e}/cards`,Fr={containerWidth:new da(100,58)},vr=({appContent:e})=>{const t=ia(),a=me(),r=ue(),{cardId:n}=oa(),c=be(),{useDynamicConfig:u}=oe(),[m,E]=l.useState(!1),[i,g]=l.useState(!1),[I,_]=l.useState(!1),[C,U]=l.useState(!1),v=X.getSignedInUser();if(v==null)throw Error("Can't access onboarding card page without signing in...");const T=S(z=>ce(z));if(n==null)throw Error("Empty card id is not valid...");const{configValue:d}=u(Pe.zeniCardsConfig),f=d.max_charge_card_activation_attempts_by_card_id,b=S(z=>Gt(z,n)),o=b.chargeCard,w=S(z=>z.chargeCardConfigState.fetchState),{useFeatureGate:O}=oe(),{isFeatureEnabled:N}=O(K.isChargeCardFeatureEnabled),{isFeatureEnabled:L}=O(K.isDebitCardFeatureEnabled),F=Ie(L,T),R=Ee({isDebitCardFeatureEnabled:L,isBankingOnlyTenant:F}),p=!!T.companyChargeCardInfo?.info?.isChargeCardEnabled,h=T.userRole.includes("charge_card_user"),k=ye(T),A=Se(T),M=T.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,$=Ae({isCardsOnlyTenant:k,isChargeCardFeatureEnabled:N,isBookKeepingTenant:A,isDebitCardProductVisible:R,chargeCardsCreditAccountLimit:M}),H=!h&&$&&p;l.useEffect(()=>{m===!1&&w!=="In-Progress"&&w!=="Completed"&&(a(ka()),E(!0)),i===!1&&b.fetchState==="Not-Started"&&(g(!0),a(Xe(n,H,$)))},[i,b.fetchState,m,w]);const B=o?.type.code==="business_physical_credit_card"||o?.type.code==="business_physical_debit_card";l.useEffect(()=>{if(b.fetchState==="Completed"){if(I===!1&&(B===!1||B&&o?.status?.code!=="inactive"||o?.cardHolderUserId!==v.userId)){const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);r(z,{state:{pathnameStackToGoBack:D}})}else if(I&&b.isRefreshingViewInBackground===!1&&o?.status?.code==="active"){a(zt({chargeCardId:n}));const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);a(Ea()),r(z,{state:{pathnameStackToGoBack:D}})}}},[b.fetchState,o?.type.code,I,b.isRefreshingViewInBackground]);const y=X.getZeniOtpTokenForCardHolder(n),Y=S(z=>dt(z.userState,v.userId)),x=()=>{o?.status?.code!=="active"&&a($a(n,!0))};l.useEffect(()=>{b.updatePhysicalChargeCardAttemptFetchState.fetchState==="Completed"&&o?.cardActivationAttemptHistory.some(z=>z.statusCode==="success")===!0&&I===!1&&(setTimeout(x,3e3),_(!0))},[b.updatePhysicalChargeCardAttemptFetchState.fetchState,o?.cardActivationAttemptHistory]);const P=z=>{U(z)};if(w!=="Completed"||o==null)return s.jsx(_e,{fetchState:"In-Progress"});if(o.shippingAddressId==null)throw Error("Can't access shippingAddressId.");if(Y?.phone==null)throw Error("Can't access user phone number.");return s.jsxs(Br,{children:[s.jsx(ua,{isAppContentDrawerOpen:C,handleDrawerToggle:P}),s.jsx(xr,{cardId:n,card:o,shippingAddressId:o.shippingAddressId,phone:Y.phone,signedInUser:v,isSandboxEnv:Ya(),chargeCardDetailState:b,signedInUserToken:y,navigate:r,currentTenant:T,location:c,maxChargeCardActivationAttempts:f[n]!=null?f[n]:d.default_max_charge_card_activation_attempts!=null?d.default_max_charge_card_activation_attempts:3,chargeCardCashbackRatePerTransaction:d.charge_card_cashback_rate_per_transaction!=null?d.charge_card_cashback_rate_per_transaction:.0175,onClickMenuIcon:()=>{P(!0)}}),e!=null?s.jsx(Lr,{windowSize:t,children:e}):null]})},xr=he(function(e,{chargeCardDetailState:t,shippingAddressId:a,location:r,cardId:n}){const c=Yt(e.addressState,a);if(c==null)throw Error("Can't access shippingAddress.");const u=lt(e,n),m=t.updateStatus,E=Ye(e,!1,!1,!1);let i=!1;E.fetchState==="Completed"&&E.cards.length<=1&&(i=!0);const g=r.state?.message==="comingFromV2UrlPath";return{showActivatePage:t.chargeCard?.providerCardCreateTime!=null&&t.chargeCard.providerCardCreateTime.add(24,"h").isBefore(Zt())||g,showMenuIcon:i,shippingAddress:c,vgsVaultId:Fa.cardVaultId,twoFAView:u,activationWaitStatus:m,isRefreshingViewInBackground:t.isRefreshingViewInBackground}},function(e,t){const{navigate:a,cardId:r,location:n,currentTenant:c,chargeCardDetailState:u}=t,m=u.chargeCard?.cardProviderID,{tenantEmailDomain:E}=c;return{onGetOtp:i=>{m!=null&&e(_a(i,"ChargeCardHolder",r))},onUpdatePhysicalChargeCardAttempt:i=>{e(Wt(r,i))},onResendOtp:i=>{m!=null&&e(Da(i,"ChargeCardHolder",r))},onVerifyOtp:(i,g)=>{m!=null&&e(Aa(i,g,"ChargeCardHolder",r))},onVerifyOtpSuccess:i=>{i!=null&&X.saveZeniOtpTokenForCardHolder(i,r)},onCVVActivateSuccess:()=>{e(Kt({chargeCardId:r}))},onBackClick:()=>{const i=Te(n.state?.pathnameStackToGoBack),g=i.poppedPathname==null||i.poppedPathname.includes("onboard")===!0?Oe(E):i.poppedPathname;a(g,{state:{pathnameStackToGoBack:i.newStack}})}}})(rr),Lr=ke.div`
|
|
1
|
+
import{j as s}from"./pdf-70cGw_kx.js";import{j as ue,l as oa,i as me,u as S,h as be,k as he,N as pa,o as ot,R as Mt,m as te}from"./core-Bup_6r8s.js";import{ct as ce,F4 as Be,MN as Ia,cy as ye,cz as Se,cA as Ie,dt as Me,bH as $e,MO as Ge,MP as Va,pS as ha,gT as ga,MQ as fa,eg as ra,v$ as Xe,w1 as Ha,w2 as Ma,gL as ct,MR as ze,vP as it,MS as $t,MT as Gt,vS as ka,MU as zt,Lh as Ea,o2 as dt,vY as $a,er as Yt,MV as lt,MW as Ye,bs as Zt,MX as Kt,dj as Aa,di as Da,ww as Wt,dh as _a,KZ as qt,MY as ut,F5 as mt,bM as Qt,Lg as ca,x6 as Xt,MZ as Ja,wI as wa,M_ as Ct,x7 as Jt,LH as en,x8 as an,y2 as tn,pc as nn,xY as rn,wh as pt,wa as sn,M$ as on,dv as cn,wq as ht,wu as gt,du as dn,N0 as ln,wU as ft,N1 as un,N2 as mn,N3 as Cn,ws as bt,wd as yt,vV as St,wm as It,wk as kt,wo as pn,w0 as et,N4 as Et,N5 as Pa,wF as ba,HX as At,bN as Ga,N6 as hn,N7 as gn,N8 as fn,N9 as bn,wC as Oa,w$ as yn,wX as Sn,wy as In,wZ as kn,wP as En,wR as An,Na as Dt,x5 as _t,Dr as Dn,Nb as _n,Nc as wn,Nd as Pn,Ne as wt,Nf as Tn,xs as Fn,wH as Pt,wB as sa,wG as vn,Ng as xn,Nh as Ln,vM as Bn,Ni as Tt,Nj as Ft,Nk as Un,vO as Rn,vN as at,Nl as On,Nm as Nn,Nn as jn,HT as Vn,No as za,Np as Hn,sE as vt,hr as Mn,eh as $n,xx as Gn,Nq as xt,Nr as zn,xy as Yn,Ns as Zn,cg as Kn,pM as Wn,xn as qn,xh as Le,bt as Qn,FX as Xn,FY as Jn,G5 as er,Hb as ar}from"./zeni-epic-state-BYs-FQva.js";import{js as X,_ as Re,aE as oe,aG as K,jQ as _e,lM as Ta,lX as tr,lY as nr,jM as Te,e as ia,aF as Pe,jO as fe,l8 as Ya,lZ as rr,x as da,jD as Fa,y as va,jz as q,O as Za,l_ as sr,a7 as Ka,i5 as qe,cR as Na,L as or,bk as Wa,k9 as cr,l$ as ir,kv as Lt,k4 as ja,k2 as Bt,J as Ut,m0 as dr,m1 as lr,m2 as ur,m3 as mr,o as ya,m4 as Cr,m5 as pr,m as Ba,N as hr,m6 as gr,m7 as fr,m8 as br,kc as yr}from"./index-CpaD5zWS.js";import{n as ke,D as Rt,S as Sr}from"./mui-CrML1f8O.js";import{a as l}from"./sentry-ByK32NK-.js";import{g as pe,a as la,b as Ot,c as Ee,d as Ae,e as Ue,f as Oe,A as Ir,h as qa,P as kr,i as Qa,s as Qe,j as Nt,k as He,l as jt,m as Er,n as Vt,p as Ar,S as tt}from"./SetupPagesScreen-DMeRMOUQ.js";import xa from"./NotFoundScreen-ikiXbHj3.js";import{M as ua}from"./MobileAppDrawer-D6zuu_M2.js";import{v as nt}from"./utils-DtsUvZkm.js";import{t as Dr}from"./AddressScreen-DApTkhik.js";import"./lottie-BQVzdLy7.js";import"./liveblocks-DC1MsMik.js";import"./recharts-CtJQnN36.js";import"./dnd-6DI5OLjD.js";import"./analytics-5lp27QV6.js";import"./plaid-DUNGunmx.js";import"./analyticsHelper-YBzaJab4.js";import"./routePaths-BjVGjzDi.js";import"./BusinessVerificationPageScreen-Bl-5vp1w.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1bb7015f-ae9d-4ae4-8974-bd252d3d5892",e._sentryDebugIdIdentifier="sentry-dbid-1bb7015f-ae9d-4ae4-8974-bd252d3d5892")}catch{}})();function _r(){const e=ue(),{cardId:t}=oa(),a=me(),r=X.getSignedInUser(),n=S(W=>ce(W)),c=Re(),u=Be(c?.loggedInUserRoleMap),{useFeatureGate:m}=oe();if(r==null)throw Error("Can't access Add To Wallet Page without signing in...");const[E,i]=l.useState(!1),g=S(W=>Ia(W).firstViewAfterActivation);if(t==null)throw Error("Empty card id is not valid...");const I=n.userRole.includes("charge_card_user"),{isFeatureEnabled:_}=m(K.isChargeCardFeatureEnabled),C=!!n.companyChargeCardInfo?.info?.isChargeCardEnabled,{isFeatureEnabled:U}=m(K.isDebitCardFeatureEnabled),v=ye(n),T=Se(n),d=Ie(U,n),f=n.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,b=Ee({isDebitCardFeatureEnabled:U,isBankingOnlyTenant:d}),o=Ae({isCardsOnlyTenant:v,isChargeCardFeatureEnabled:_,isBookKeepingTenant:T,isDebitCardProductVisible:b,chargeCardsCreditAccountLimit:f}),w=!!n.companyDebitCardInfo?.info?.isDebitCardEnabled,O=S(W=>Me(W,n.companyId)),N=$e(O.controllers),{creditAccount:L,creditAccountRepayment:F}=S(W=>Ge(W)),R=S(W=>W.classListState.fetchState),p=!I&&o&&C,h=S(W=>Va(W,t,p,o)),[k,A]=l.useState(!1),M=h.chargeCard,$=M?.cardCreatedByUser?.userId,H=S(W=>$!=null?ha(W.userRoleState,$):void 0),B=H?.accountingClassIDs[0],y=S(W=>B!=null?ga(W.classState,{classId:B,reportId:"class_list"}):void 0),Y=M?.cardHolderUser?.userId,x=S(W=>Y!=null?ha(W.userRoleState,Y):void 0),P=x?.accountingClassIDs[0],z=S(W=>P!=null?ga(W.classState,{classId:P,reportId:"class_list"}):void 0),D=M?.type.code==="business_physical_credit_card"||M?.type.code==="business_physical_debit_card",Z=M?.type.code==="business_physical_debit_card";l.useEffect(()=>{g&&E===!1&&D&&(i(!0),setTimeout(()=>{a(fa()),Z&&a(ra({messageSection:"set_debit_card_pin",messageText:"success",type:"success",showStatusIcon:!0}))},5e3))},[g,E,D,Z]),l.useEffect(()=>{k||h.fetchState==="Completed"||h.fetchState==="In-Progress"||t==null||(A(!0),a(Xe(t,p,!1)))},[k,h,t,a]),l.useEffect(()=>{if(h.fetchState==="Completed"&&(D===!1||D&&M?.status?.code!=="active"||M?.cardHolderUserId!==r.userId||g===!1&&E===!1||M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card")){const W=pe(n.tenantEmailDomain,t,r,M,g);e(W)}},[h.fetchState,g,D]),l.useEffect(()=>{L.fetchState!=="Completed"&&L.fetchState!=="In-Progress"&&o&&C&&u&&a(Ha()),F.fetchState!=="Completed"&&F.fetchState!=="In-Progress"&&o&&C&&u&&a(Ma()),R!=="Completed"&&R!=="In-Progress"&&a(ct())},[L.fetchState,F.fetchState,a,o,C,u,R]);const G=()=>{if(r!=null&&t!=null){a(fa());const W=pe(n.tenantEmailDomain,t,r);e(W)}},ae=M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card",se=Ue(o,b,w,C),J=la(o,C,u,L,F),de=Ot(ae,h);return h.fetchState!=="Completed"?s.jsx(_e,{fetchState:"In-Progress"}):s.jsxs(s.Fragment,{children:[s.jsx(Ta,{showConfetti:g}),s.jsx(tr,{onGotItClick:G,isDebitCard:M?.type.code==="business_physical_debit_card",controllerEmails:N,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:b,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:C,productInformation:se,creditAccountInformation:J,debitAccountInformation:de,chargeCardDetailView:h,creditAccount:L,classListFetchState:R,creditAccountRepayment:F,cardIssuedByRoles:H?.userRoles,cardIssuedByDepartmentName:y?.className,cardHolderRoles:x?.userRoles,cardHolderDepartmentName:z?.className})]})}const wr=he(function(e){const t=ze(e);return{insightsData:t.insight,cashbackByPeriod:t.cashbackByPeriod,uiState:t.uiState,cashbackSummary:t.cashbackSummary}},function(e,t){const{currentTenant:a,navigate:r,location:n}=t,{tenantEmailDomain:c}=a;return{onColumnSortConfigChanged:(u,m)=>{e($t({uiState:{sortKey:u,sortOrder:m}}))},onBackClick:()=>{const u=Te(n.state?.pathnameStackToGoBack),m=u.poppedPathname??Tr(c);r(m,{state:{pathnameStackToGoBack:u.newStack}})}}})(nr);function Pr(){const e=ue(),t=me(),a=be(),r=X.getSignedInUser(),n=S(E=>ce(E)),[c,u]=l.useState(!1),m=S(E=>ze(E));if(l.useEffect(()=>{c||m.fetchState==="Completed"||m.fetchState==="In-Progress"||(u(!0),t(it()))},[c,m,t]),r==null)throw Error("Can't access cashback detail page without signing in...");return m.fetchState==="In-Progress"?s.jsx(_e,{fetchState:m.fetchState}):m.cashbackSummary.cashbackEarned.amount===0&&m.fetchState==="Completed"?s.jsx(xa,{}):s.jsx(wr,{navigate:e,location:a,currentTenant:n})}const Tr=e=>`/${e}/cards`,Fr={containerWidth:new da(100,58)},vr=({appContent:e})=>{const t=ia(),a=me(),r=ue(),{cardId:n}=oa(),c=be(),{useDynamicConfig:u}=oe(),[m,E]=l.useState(!1),[i,g]=l.useState(!1),[I,_]=l.useState(!1),[C,U]=l.useState(!1),v=X.getSignedInUser();if(v==null)throw Error("Can't access onboarding card page without signing in...");const T=S(z=>ce(z));if(n==null)throw Error("Empty card id is not valid...");const{configValue:d}=u(Pe.zeniCardsConfig),f=d.max_charge_card_activation_attempts_by_card_id,b=S(z=>Gt(z,n)),o=b.chargeCard,w=S(z=>z.chargeCardConfigState.fetchState),{useFeatureGate:O}=oe(),{isFeatureEnabled:N}=O(K.isChargeCardFeatureEnabled),{isFeatureEnabled:L}=O(K.isDebitCardFeatureEnabled),F=Ie(L,T),R=Ee({isDebitCardFeatureEnabled:L,isBankingOnlyTenant:F}),p=!!T.companyChargeCardInfo?.info?.isChargeCardEnabled,h=T.userRole.includes("charge_card_user"),k=ye(T),A=Se(T),M=T.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,$=Ae({isCardsOnlyTenant:k,isChargeCardFeatureEnabled:N,isBookKeepingTenant:A,isDebitCardProductVisible:R,chargeCardsCreditAccountLimit:M}),H=!h&&$&&p;l.useEffect(()=>{m===!1&&w!=="In-Progress"&&w!=="Completed"&&(a(ka()),E(!0)),i===!1&&b.fetchState==="Not-Started"&&(g(!0),a(Xe(n,H,$)))},[i,b.fetchState,m,w]);const B=o?.type.code==="business_physical_credit_card"||o?.type.code==="business_physical_debit_card";l.useEffect(()=>{if(b.fetchState==="Completed"){if(I===!1&&(B===!1||B&&o?.status?.code!=="inactive"||o?.cardHolderUserId!==v.userId)){const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);r(z,{state:{pathnameStackToGoBack:D}})}else if(I&&b.isRefreshingViewInBackground===!1&&o?.status?.code==="active"){a(zt({chargeCardId:n}));const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);a(Ea()),r(z,{state:{pathnameStackToGoBack:D}})}}},[b.fetchState,o?.type.code,I,b.isRefreshingViewInBackground]);const y=X.getZeniOtpTokenForCardHolder(n),Y=S(z=>dt(z.userState,v.userId)),x=()=>{o?.status?.code!=="active"&&a($a(n,!0))};l.useEffect(()=>{b.updatePhysicalChargeCardAttemptFetchState.fetchState==="Completed"&&o?.cardActivationAttemptHistory.some(z=>z.statusCode==="success")===!0&&I===!1&&(setTimeout(x,3e3),_(!0))},[b.updatePhysicalChargeCardAttemptFetchState.fetchState,o?.cardActivationAttemptHistory]);const P=z=>{U(z)};if(w!=="Completed"||o==null)return s.jsx(_e,{fetchState:"In-Progress"});if(o.shippingAddressId==null)throw Error("Can't access shippingAddressId.");if(Y?.phone==null)throw Error("Can't access user phone number.");return s.jsxs(Br,{children:[s.jsx(ua,{isAppContentDrawerOpen:C,handleDrawerToggle:P}),s.jsx(xr,{cardId:n,card:o,shippingAddressId:o.shippingAddressId,phone:Y.phone,signedInUser:v,isSandboxEnv:Ya(),chargeCardDetailState:b,signedInUserToken:y,navigate:r,currentTenant:T,location:c,maxChargeCardActivationAttempts:f[n]!=null?f[n]:d.default_max_charge_card_activation_attempts!=null?d.default_max_charge_card_activation_attempts:3,chargeCardCashbackRatePerTransaction:d.charge_card_cashback_rate_per_transaction!=null?d.charge_card_cashback_rate_per_transaction:.0175,onClickMenuIcon:()=>{P(!0)}}),e!=null?s.jsx(Lr,{windowSize:t,children:e}):null]})},xr=he(function(e,{chargeCardDetailState:t,shippingAddressId:a,location:r,cardId:n}){const c=Yt(e.addressState,a);if(c==null)throw Error("Can't access shippingAddress.");const u=lt(e,n),m=t.updateStatus,E=Ye(e,!1,!1,!1);let i=!1;E.fetchState==="Completed"&&E.cards.length<=1&&(i=!0);const g=r.state?.message==="comingFromV2UrlPath";return{showActivatePage:t.chargeCard?.providerCardCreateTime!=null&&t.chargeCard.providerCardCreateTime.add(24,"h").isBefore(Zt())||g,showMenuIcon:i,shippingAddress:c,vgsVaultId:Fa.cardVaultId,twoFAView:u,activationWaitStatus:m,isRefreshingViewInBackground:t.isRefreshingViewInBackground}},function(e,t){const{navigate:a,cardId:r,location:n,currentTenant:c,chargeCardDetailState:u}=t,m=u.chargeCard?.cardProviderID,{tenantEmailDomain:E}=c;return{onGetOtp:i=>{m!=null&&e(_a(i,"ChargeCardHolder",r))},onUpdatePhysicalChargeCardAttempt:i=>{e(Wt(r,i))},onResendOtp:i=>{m!=null&&e(Da(i,"ChargeCardHolder",r))},onVerifyOtp:(i,g)=>{m!=null&&e(Aa(i,g,"ChargeCardHolder",r))},onVerifyOtpSuccess:i=>{i!=null&&X.saveZeniOtpTokenForCardHolder(i,r)},onCVVActivateSuccess:()=>{e(Kt({chargeCardId:r}))},onBackClick:()=>{const i=Te(n.state?.pathnameStackToGoBack),g=i.poppedPathname==null||i.poppedPathname.includes("onboard")===!0?Oe(E):i.poppedPathname;a(g,{state:{pathnameStackToGoBack:i.newStack}})}}})(rr),Lr=ke.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: ${e=>`${Fr.containerWidth.value(e.windowSize)}%`};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as je,e as Be,h as Ue,a7 as G,T as _e,c8 as ze,ad as Z,V as t,eI as Re,f as Le,x as d,a_ as We,L as $e,A as Ne,eZ as qe,de as He,e_ as Me,o as B,w as Ge,i4 as J,aU as Ze,a9 as Je,f0 as Ke,O as Qe,m as a,l as Xe}from"./index-
|
|
1
|
+
import{y as je,e as Be,h as Ue,a7 as G,T as _e,c8 as ze,ad as Z,V as t,eI as Re,f as Le,x as d,a_ as We,L as $e,A as Ne,eZ as qe,de as He,e_ as Me,o as B,w as Ge,i4 as J,aU as Ze,a9 as Je,f0 as Ke,O as Qe,m as a,l as Xe}from"./index-CpaD5zWS.js";import{a as f}from"./sentry-ByK32NK-.js";import{n as S}from"./mui-CrML1f8O.js";import{cg as Ye}from"./zeni-epic-state-BYs-FQva.js";import{x as et}from"./LabeledControlledCheckBoxField-CcPO1k23-DPvpZEVi.js";import{g as tt}from"./UploadAdditionalDocumentOverlay-Wl4Spdpn-t6sc9Jy9.js";import"./pdf-70cGw_kx.js";import"./core-Bup_6r8s.js";import"./lottie-BQVzdLy7.js";import"./liveblocks-DC1MsMik.js";import"./recharts-CtJQnN36.js";import"./dnd-6DI5OLjD.js";import"./analytics-5lp27QV6.js";import"./plaid-DUNGunmx.js";import"./utils-DtsUvZkm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="46c50f30-eade-4d61-887a-834dbee714f5",e._sentryDebugIdIdentifier="sentry-dbid-46c50f30-eade-4d61-887a-834dbee714f5")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(a[1],a[0])},K="chargeCardSetUpPage",g="payAccount",{commonSetUp:nt,spendManagement:it}=Qe.getLocalizedStrings(),{chargeCard:Y}=it,{chargeCardSetUp:m}=Y,{setUp:U}=nt,At=({autoPayThreshold:e,isDisabled:r,meetingUrl:w,isEarlyPayEnabled:h,chargeCardSetUpView:i,connectedAccountProvider:ee,filesEndPoint:te,authParams:ne,isAccountsEnabled:ie,isDebitCardOnlyEnabled:k,isCreditCardOnlyEnabled:oe,accountsPromoConfig:ae,onFetchLinkTokenClick:ce,onBackClick:se,onEnableChargeCardClick:le,onUpdateChargeCardClick:de,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:ue,onUpdatePaymentAccountLoginStatus:pe,onUpdatePrimaryFundingAccount:fe,onUpdateAutoPayClick:me,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:he,onClickMenuIcon:ye,onEnableChargeCardSuccess:x,onEditFileName:be,onDeleteFile:Ce,updateFilesEntity:Se,onCompanyOfficerUpdated:we,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const y=je(),n=Be(),T=Ue().analytics,[P,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:_,isRefreshingViewInBackground:Ae,updateStatus:u,accountUpdateStatus:ke,plaidConnectionDetails:Te,allBankAccounts:Ee,companyChargeCardInfo:E,companyDebitCardInfo:z,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:R}=i,L=G(C),A=G(u.fetchState),v=_e({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>Q(i),[i]),values:Q(i)}),ve=v.handleSubmit(le);f.useEffect(()=>{const Oe=v.watch((H,{name:M})=>{M!=null&&H!=null&&ze(()=>(async(V,Ve)=>{const o=Ve[g];if(V.includes(g))if(V.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&l?.id!=o.fundingAccount.selectedOption){const p=R.find(j=>j.id===o.fundingAccount.selectedOption);p!=null&&fe(o.fundingAccount.selectedOption,p.accType)}}else if(o.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=o.account.selectedOption){const p=o.account.allOptions.find(j=>j.value===o.account.selectedOption);p!=null&&typeof p.label=="string"&&T.trackConnectBankLink(p.value,p.label,"charge_cards"),de(o.account.selectedOption,l.id,l.accType)}else V.includes("enableAutoPay")&&o.enableAutoPay!=null&&me(o.enableAutoPay)})(M,H))});return()=>{Oe.unsubscribe()}}),f.useEffect(()=>{!P&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),P&&L==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,L]),f.useEffect(()=>{A==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,A,u.fetchState]);const I=E?.isChargeCardEnabled===!0,D=z?.isDebitCardEnabled===!0,W=z?.isDebitCardTOSAccepted===!0,$=E?.isChargeCardTOSAccepted===!0,N=_?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),F=k?N:N&&Ie,De=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{A==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,A,u.fetchState]);const O=k?F&&!D&&W:oe?F&&!I&&$:F&&!(I&&D)&&$&&W,Fe=O?m.setupSubTitleNotEnabled:m.setupSubTitle,q=y.mode==="light"?new Z(y.colors.brandColorJadeLight):new Z(y.colors.brandColorJadeDark);return t.jsxs(at,{children:[t.jsx(Re,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(n),boxShadow:"none"}},open:P,onClose:()=>b(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(tt,{authParams:ne,filesEndPoint:te,updateStatus:u,onEditFileName:be,onDeleteFile:Ce,updateFilesEntity:Se,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:xe})}),t.jsx(We,{title:m.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:se,showMenuIcon:!(I||D||n!=="medium-compact"&&n!=="small"),onClickMenuIcon:ye,source:"ChargeCardSetupPage"}),t.jsxs(ot,{windowSize:n,children:[t.jsx(ct,{windowSize:n,children:Fe}),De?t.jsx(st,{children:t.jsx($e,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...v,children:t.jsx("form",{id:X(K),onSubmit:ve,children:t.jsxs(lt,{windowSize:n,children:[t.jsx(qe,{onClick:()=>{P||s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")!==!0||!s.areAdditionalDocumentsRequestedForVerification||s.areAdditionalDocumentsSubmittedForVerification||s.userVerificationStatus?.code!=="require_info"?re?.():b(!0)},title:U.businessVerificationTitle,subTitle:U.businessVerificationSubTitle,header:U.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(n),height:c.iconWidthHeight.valuePx(n)}),color:q},status:_?.businessVerificationStatus,isLoading:Ae,isActiveWhileLoading:!0}),k?null:t.jsx(Me,{connectedAccountProvider:ee,primaryFundingAccount:l,allFundingAccounts:R,plaidConnectionDetails:Te,allBankAccounts:Ee,sectionId:g,isDisabled:r,onFetchLinkTokenClick:ce,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:ue,onUpdatePaymentAccountLoginStatus:pe,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:he,icon:{element:t.jsx(Ze,{width:c.iconWidthHeight.valuePx(n),height:c.iconWidthHeight.valuePx(n)}),color:q},analytics:T,productType:"charge_cards",isAccountsEnabled:ie,onSignUpClick:Pe,pageName:m.pageName,accountsPromoConfig:ae,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(et,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Ge.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:n==="small"?"flex-start":"center"},checkBoxField:{name:J(g,"enableAutoPay"),checkBoxValue:J(g,"enableAutoPay"),defaultChecked:E?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(n)}}})})]})})})]}),O?t.jsx(Je,{formId:X(K),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:O,meetingUrl:w,analytics:T,productType:"charge_cards"})]})},Q=e=>{const{allBankAccounts:r,allFundingAccounts:w,primaryFundingAccount:h}=e;return{[g]:{fundingAccount:{selectedOption:h?.id,allOptions:w.map(i=>({label:i.label,value:i.id,isRecommended:i.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(i=>({label:i.accountName,value:i.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,ot=S.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: flex-start;
|
|
4
4
|
height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as F,e as T,V as t,a_ as W,o as h,O as R,x as g,l as B,at as _,h as O,h9 as V,L as q,b as J,m as s,by as U}from"./index-
|
|
1
|
+
import{y as F,e as T,V as t,a_ as W,o as h,O as R,x as g,l as B,at as _,h as O,h9 as V,L as q,b as J,m as s,by as U}from"./index-CpaD5zWS.js";import{n as o}from"./mui-CrML1f8O.js";import{$ as G,g as H}from"./BoxItem-Bxa1M4QU-C_cwMPAw.js";import{a as K}from"./sentry-ByK32NK-.js";import{w as Q}from"./downloadPdf-Dsuxeias-Bh_UlPCl.js";import"./pdf-70cGw_kx.js";import"./zeni-epic-state-BYs-FQva.js";import"./core-Bup_6r8s.js";import"./lottie-BQVzdLy7.js";import"./liveblocks-DC1MsMik.js";import"./recharts-CtJQnN36.js";import"./dnd-6DI5OLjD.js";import"./analytics-5lp27QV6.js";import"./plaid-DUNGunmx.js";import"./utils-DtsUvZkm.js";import"./commonDimensions-Oz1tdAcx-BqTGlffv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="0adb18df-8ae6-4665-9b24-3ad858139bdb",e._sentryDebugIdIdentifier="sentry-dbid-0adb18df-8ae6-4665-9b24-3ad858139bdb")}catch{}})();const E=R.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},X=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: ${h.sp3} ${h.sp4};
|
|
4
4
|
flex-direction: row;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as oe,V as t,b as y,a5 as R,a as X,o,a9 as de,x as n,a8 as te,n as pe,O as ie,at as he,c2 as ae,C as ue,l as B,a7 as me,T as ge,c8 as fe,f as j,A as xe,fD as ke,cd as De,el as Y,cj as J,m as a,eT as we,bH as be,bv as $e,ex as ye,gk as je,H as G,gl as Le}from"./index-
|
|
1
|
+
import{e as oe,V as t,b as y,a5 as R,a as X,o,a9 as de,x as n,a8 as te,n as pe,O as ie,at as he,c2 as ae,C as ue,l as B,a7 as me,T as ge,c8 as fe,f as j,A as xe,fD as ke,cd as De,el as Y,cj as J,m as a,eT as we,bH as be,bv as $e,ex as ye,gk as je,H as G,gl as Le}from"./index-CpaD5zWS.js";import{a as w}from"./sentry-ByK32NK-.js";import{n as i}from"./mui-CrML1f8O.js";import{v as Pe}from"./SuccessAnimation-hijccO_0-C5KKfhSL.js";import"./pdf-70cGw_kx.js";import"./zeni-epic-state-BYs-FQva.js";import"./core-Bup_6r8s.js";import"./lottie-BQVzdLy7.js";import"./liveblocks-DC1MsMik.js";import"./recharts-CtJQnN36.js";import"./dnd-6DI5OLjD.js";import"./analytics-5lp27QV6.js";import"./plaid-DUNGunmx.js";import"./utils-DtsUvZkm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="f221fd94-d221-4c60-8e3c-9ccb1c0a4b21",e._sentryDebugIdIdentifier="sentry-dbid-f221fd94-d221-4c60-8e3c-9ccb1c0a4b21")}catch{}})();const m="checkDepositDetails",Se="amount",ve="depositTo",Fe="source",se="fileIds",O="selectDocument",M=e=>{const l=[];return e.checkFront!=null&&l.push(e.checkFront.fileId),e.checkBack!=null&&l.push(e.checkBack.fileId),{[m]:{[Se]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Fe]:e.checkDepositLocalData.source,[ve]:{allOptions:e.depositAccounts.depositAccounts.map(g=>({label:g.accountName,value:g.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[se]:l,[O]:{front:e.checkFront,back:e.checkBack}}}},$=(e,l)=>`${e}.${l}`,Ce=e=>`${e}_form`,p={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(a[3],a[4]),checkPicRowContentPaddingXAxis:new n(a[3],a[4]),labeleMarginLeft:new n(a[0],a[0]),labeleMarginBottom:new n(a[2],a[0]),labelMarginRight:new n(a[3],a[3]),labeledFieldPaddingLeft:new n(a[3],a[0]),labeledFieldPaddingRight:new n(a[3],a[2]),labeledFieldPaddingTop:new n(a[3],a[3]),labeledFieldPaddingBottom:new n(a[3],a[2]),infoLabelPaddingRight:new n(a[0],a[3]),infoLabelMarginTop:new n(a[1],a[0])},{spendManagement:Te,common:q}=ie.getLocalizedStrings(),r=Te.zeniAccounts.zeniAccountList,Be=q.documents;function ze({checkDeposit:e,analytics:l,filesEndPoint:g,openPopup:L,authParams:P,onSaveChangesToLocalStore:z,updateFilesEntity:S,onDeleteFile:v,onEditFileName:F,onCheckDpositClick:A}){const c=oe(),d=e.fetchState,C=me(d),[T,H]=w.useState(!1),[le,I]=w.useState(!1),E=p.largeLabelWidth.value(c),k=ge({mode:"all",reValidateMode:"onBlur",defaultValues:M(e),values:M(e)}),{isValid:re}=k.formState,W=s=>{const f={amount:{amount:s[m].amount??0,currencyCode:q.currency.currencyCode,currencySymbol:q.currency.currencySymbol},source:s[m].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===s[m].depositTo.selectedOption),fileIds:s[m][se]};z(f)};w.useEffect(()=>{const s=k.watch((f,{name:h})=>{h!=null&&f!=null&&fe(()=>(async(D,x)=>{if(D!=null){if(D.includes("source")||D.includes("amount"))return;const b=Object.assign({},x);W(b)}})(h,f))});return()=>{s.unsubscribe()}}),w.useEffect(()=>{C==="Completed"&&d==="Not-Started"&&k.reset(M(e))},[C,d,k,e]),w.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const ne=k.handleSubmit(()=>{if(re){l.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const s=k.getValues();W(s),A?.()}});return t.jsxs(t.Fragment,{children:[le?t.jsx(Ve,{children:t.jsxs(Re,{children:[t.jsxs(Oe,{children:[t.jsx(_e,{}),t.jsxs(Ge,{children:[t.jsx(He,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(qe,{children:t.jsx(ao,{"data-testid":y("check-deposit-form-close"),onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),I(!1)},style:{width:o.sp3,height:o.sp3,color:j.heroLight}})})]})}):null,t.jsx(Xe,{children:R("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(xe,{...k,children:t.jsx("form",{id:Ce("checkDepositDetailPage"),onSubmit:ne,children:t.jsxs(Je,{children:[t.jsx(ke,{showAdditionalInfoLabel:!1,label:{label:r.checkDepositDrawer.amountLabel,width:E},formattedTextField:{type:"number",name:$(m,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:r.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(V,{}),t.jsx(De,{label:{label:r.checkDepositDrawer.sourceLabel,width:E},style:{width:"100%"},text:{type:"text",name:$(m,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:r.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:s=>s!=null}}}),t.jsx(V,{}),t.jsx(ce,{size:c,children:t.jsx(Qe,{size:c,children:t.jsx(Ye,{label:{label:r.checkDepositDrawer.depositToLabel,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(c),marginBottom:p.labeleMarginBottom.valuePx(c),marginRight:p.labelMarginRight.valuePx(c)}},style:{paddingTop:p.labeledFieldPaddingTop.valuePx(c),paddingBottom:p.labeledFieldPaddingBottom.valuePx(c),paddingLeft:p.labeledFieldPaddingLeft.valuePx(c),paddingRight:p.labeledFieldPaddingRight.valuePx(c),border:"none",width:"100%",outline:"none",padding:0,display:c==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:c==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(c),marginTop:p.infoLabelMarginTop.valuePx(c)},singleSelectPickerField:{valueToLogo:(s,f)=>((h,D)=>{if(!h)return null;const x=e.depositAccounts.depositAccounts.find(N=>N.id===h),b=e.depositAccounts.depositAccounts.findIndex(N=>N.id===h);return x?t.jsx(Me,{color:je(b),isSelectedValue:D}):null})(s,f),valueToSubLabels:(s,f)=>((h,D)=>{if(!h)return null;const x=e.depositAccounts.depositAccounts.find(b=>b.id===h);return x?D===!0?t.jsx(Ne,{children:x?.maskedAccountNumber}):t.jsxs(Ee,{children:[t.jsx(Z,{children:x?.maskedAccountNumber}),t.jsx(eo,{}),t.jsx(Z,{children:R("0,0[.]00",x?.accountBalance?.available)})]}):null})(s,f),name:$(m,"depositTo"),placeholder:r.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(s=>({label:s.accountName,value:s.id}))},textAlignment:"right",registerOptions:{required:!0,validate:s=>!(s==null||!s.selectedOption)}}})})}),t.jsx(V,{}),t.jsxs(Ze,{size:c,children:[t.jsxs(Ke,{size:c,children:[t.jsx(Ae,{children:r.checkDepositDrawer.checkPicLabel}),t.jsx(K,{isLast:!1,children:r.checkDepositDrawer.frontSide}),t.jsx(Y,{name:`${$(m,O)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:g,authParams:P,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:c==="small"?r.checkDepositDrawer.uploadDocument:r.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:T,updateFilesEntity:S,onDeleteFile:v,onFileSizeError:s=>H(s),onEditFileName:F,openPopup:L,showPhotoPicker:!0,errorInfoLabel:r.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(K,{isLast:!0,children:r.checkDepositDrawer.backSide}),t.jsx(Y,{name:`${$(m,O)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:g,authParams:P,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:c==="small"?r.checkDepositDrawer.uploadDocument:r.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:T,updateFilesEntity:S,onDeleteFile:v,onFileSizeError:s=>H(s),onEditFileName:F,openPopup:L,showPhotoPicker:!0,errorInfoLabel:r.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(oo,{children:r.checkDepositDrawer.picGuides.map(s=>t.jsxs(to,{children:[t.jsx(Ue,{}),t.jsx(Ie,{children:s})]},s))})]}),t.jsx(io,{windowSize:c,children:Be.formatJPGText10MB})]})]})})})]})}const Ae=i(B)`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
`,Ie=i(B)`
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a7 as Wn,e as W,S as Pn,B as Ui,cN as zn,cO as Zi,O as N,m as C,cP as qt,bE as Jt,cQ as Qt,x as E,cs as Xt,_ as en,E as st,bO as He,bg as Y,L as qi,aE as Ji,aG as Qi,y as de,ad as I,aj as wo,bj as yo,j as Te,cR as Xi,cS as se,bD as tn,bu as Fn,C as er,H as Ce,cT as dt,cU as Ve,cV as mt,l as _,bH as ne,cW as bo,cX as tr,w as nn,cY as Qe,cZ as Tn,c_ as nr,c$ as or,d0 as Vn,d1 as ir,d2 as rr,d3 as ar,at as ko,aq as lr,b_ as on,bZ as rn,d4 as cr,ar as jo,c1 as So,bm as sr,d5 as dr,d6 as hr,d7 as Dn,d8 as En,d9 as ur,da as pr,bo as gr,b6 as xr,db as fr}from"./index-
|
|
1
|
+
import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a7 as Wn,e as W,S as Pn,B as Ui,cN as zn,cO as Zi,O as N,m as C,cP as qt,bE as Jt,cQ as Qt,x as E,cs as Xt,_ as en,E as st,bO as He,bg as Y,L as qi,aE as Ji,aG as Qi,y as de,ad as I,aj as wo,bj as yo,j as Te,cR as Xi,cS as se,bD as tn,bu as Fn,C as er,H as Ce,cT as dt,cU as Ve,cV as mt,l as _,bH as ne,cW as bo,cX as tr,w as nn,cY as Qe,cZ as Tn,c_ as nr,c$ as or,d0 as Vn,d1 as ir,d2 as rr,d3 as ar,at as ko,aq as lr,b_ as on,bZ as rn,d4 as cr,ar as jo,c1 as So,bm as sr,d5 as dr,d6 as hr,d7 as Dn,d8 as En,d9 as ur,da as pr,bo as gr,b6 as xr,db as fr}from"./index-CpaD5zWS.js";import{n as a,c as F}from"./mui-CrML1f8O.js";import{a as V,b as mr}from"./sentry-ByK32NK-.js";import{Fu as Ot,Ff as an,FM as ln,FN as Ke,FO as cn,FP as sn,FQ as dn,FR as hn,FS as Co,FT as wr,Fh as Me,cj as Gn,bt as vo,FU as $o,cs as yr,cp as br,Fv as _o}from"./zeni-epic-state-BYs-FQva.js";import{N as ct,D as kr,R as jr,B as ve,u as A}from"./AccountRow-D1cjRJJD-pCF07R4u.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4e910a2e-3b44-4c2d-93ad-c68d89b7f6b1",e._sentryDebugIdIdentifier="sentry-dbid-4e910a2e-3b44-4c2d-93ad-c68d89b7f6b1")}catch{}})();const Nt=[O.graphColor34,O.graphColor08,O.graphColor11,O.graphColor13,O.graphColor19,O.graphColor20,O.graphColor14,O.graphColor35,O.graphColor32,O.graphColor02,O.graphColor06,O.graphColor04,O.graphColor10,O.graphColor12,O.graphColor15,O.graphColor18];function un(e,n=0){const o=(i=>{const r=String.prototype.concat(...new Set(i));let l=0;for(let c=0;c<r.length;++c)l+=r.charCodeAt(c);return l})(e)+n*n*n;return Nt[Math.floor(o/Nt.length)%Nt.length]}function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return Z("0,0",e?.balance)}function Q(e){return Z("0,0",e?.forecast)}function Lo(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.totalPercentValue)}return Z("0,0",e?.totalBalance)}function Tt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.forecastPercentValue)}return Z("0,0",e?.totalForecast)}function pe(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return ye("0.00%",Math.floor(100*n)/100)}return ye("0.00%",void 0)}function ge(e){if(e!=null&&e.forecast!=null){const n=Math.floor(100*(e.balance.amount-e.forecast.amount)/100);return Z("0,0",Object.assign({},e.forecast,{amount:n}))}return Z("0,0",null)}function Ao(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return ye("0.00%",Math.floor(100*n)/100)}return ye("0.00%",void 0)}function Bo(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor(100*(e.totalBalance.amount-e.totalForecast.amount)/100);return Z("0,0",Object.assign({},e.totalForecast,{amount:n}))}return Z("0,0",null)}const Ye=(e,n,o)=>{const{startDate:i,balanceType:r}=n,{dateFormat:{visual:l}}=N.getLocalizedStrings();switch(o){case"month":return r==="default"||r==="default_with_percent"?`${Ot(i,l.MMMYYYYFormat,e)}`:Mt(r,o);case"quarter":return r==="default"||r==="default_with_percent"?`${N.getLocalizedStrings().reports.quarterPrefix}${Ot(i,l.QYYYYformat,e)}`:Mt(r,o);case"year":return r==="default"||r==="default_with_percent"?`${Ot(i,l.YYYYformat,e)}`:Mt(r,o);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function Mt(e,n){return N.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const fg=(e,n,o)=>{const i=n.length==0?e:`${e}_${n.join("_")}`;return o!=null&&o.trim().length>0?`${i}_${o}`:`${i}_${Yi(10)}`},Sr=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as kl,V as e,bo as gl,f9 as wl,s as Je,fw as Ke,o,fC as Tl,cd as A,cf as Se,ci as Sl,ew as zl,eu as Nl,ch as Il,cg as J,fD as el,fE as Al,f2 as Bl,cj as He,f1 as ll,ca as ql,f as B,c6 as il,al as _e,ck as Rl,fh as Ol,d as Ee,b6 as jl,f8 as vl,l as Xe,w as De,k as Wl,b3 as Ml,m as q,cM as Ul,z as Gl,fF as Hl,C as Qe,H as Zl,fG as Yl,b4 as Pe,ap as Jl,M as $l,cq as Kl,$ as Xl,b2 as Ql}from"./index-
|
|
1
|
+
import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as kl,V as e,bo as gl,f9 as wl,s as Je,fw as Ke,o,fC as Tl,cd as A,cf as Se,ci as Sl,ew as zl,eu as Nl,ch as Il,cg as J,fD as el,fE as Al,f2 as Bl,cj as He,f1 as ll,ca as ql,f as B,c6 as il,al as _e,ck as Rl,fh as Ol,d as Ee,b6 as jl,f8 as vl,l as Xe,w as De,k as Wl,b3 as Ml,m as q,cM as Ul,z as Gl,fF as Hl,C as Qe,H as Zl,fG as Yl,b4 as Pe,ap as Jl,M as $l,cq as Kl,$ as Xl,b2 as Ql}from"./index-CpaD5zWS.js";import{a as h}from"./sentry-ByK32NK-.js";import{d as ei,n as r}from"./mui-CrML1f8O.js";import{bs as Ll,FH as li,FI as ol,bG as ii,FG as oi,FF as ti,FD as ai,FE as ri}from"./zeni-epic-state-BYs-FQva.js";import{x as ni,p as si,h as di,g as ci,m as pi,b as ui,f as mi}from"./helper-Ckm10Uko-CASYaqd_.js";import{C as Ze}from"./LabeledAddressValueField-BgWwd5Gw-OwNJCJIh.js";import{b as hi}from"./LabeledCountryMultiSelectField-BYYjzwUG-L1R0Hv-k.js";import{D as tl}from"./LabeledCreatableSingleSelectField-CISYMojq-C-aCk7rm.js";import{Y as al}from"./LabeledDocumentField-C_bcFxdY-T4bTBndm.js";import{Z as Fl}from"./LabeledNameField-mxSNQk3k-BwZireNV.js";import{p as fi,i as yi,t as bi}from"./commonTypes-5tEXwrX4-CWUtm8pk.js";import{r as Cl}from"./avatar-Dz7aEm3d-DP6fbxRB.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new l.Error().stack;u&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[u]="bfd23068-b423-47e9-8d13-5a5f9413ecf7",l._sentryDebugIdIdentifier="sentry-dbid-bfd23068-b423-47e9-8d13-5a5f9413ecf7")}catch{}})();const{commonSetUp:xi}=se.getLocalizedStrings(),{businessVerification:rl}=xi,Oe={iconSize:new _(q[6],q[10]),gap:new _(q[2],q[3])},_l={title:new Ee("smallSemiBold","standardSemiBold"),description:new Ee("smallRegular","standardRegular")},Dl=()=>{const[l]=Gl("Secure"),u=Ye();return e.jsxs(gi,{windowSize:u,children:[l!=null?e.jsx(wi,{windowSize:u,animationData:l,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):e.jsx(Si,{windowSize:u}),e.jsxs(Ii,{children:[e.jsx(Oi,{windowSize:u,children:rl.securityMessageTitle}),e.jsx(ji,{windowSize:u,children:rl.securityMessageDescription})]})]})},gi=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: ${l=>l.windowSize==="small"?"flex-start":"center"};
|
|
4
4
|
gap: ${l=>Oe.gap.valuePx(l.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as r,a3 as E,a4 as x,O as p,o as l,b as M,aa as w,C as g,ab as H}from"./index-
|
|
1
|
+
import{V as r,a3 as E,a4 as x,O as p,o as l,b as M,aa as w,C as g,ab as H}from"./index-CpaD5zWS.js";import{n as o}from"./mui-CrML1f8O.js";import{c as j}from"./SummaryCard-C2qoTsAY-DRgZWvFQ.js";import{a as t}from"./sentry-ByK32NK-.js";import"./pdf-70cGw_kx.js";import"./zeni-epic-state-BYs-FQva.js";import"./core-Bup_6r8s.js";import"./lottie-BQVzdLy7.js";import"./liveblocks-DC1MsMik.js";import"./recharts-CtJQnN36.js";import"./dnd-6DI5OLjD.js";import"./analytics-5lp27QV6.js";import"./plaid-DUNGunmx.js";import"./utils-DtsUvZkm.js";import"./ReloadCard-Bdoo0XiI-BYCbbFTr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="3545698a-d00e-4269-9a7e-9ae03d9d13da",e._sentryDebugIdIdentifier="sentry-dbid-3545698a-d00e-4269-9a7e-9ae03d9d13da")}catch{}})();const y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}))},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}))},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}))}],B=o(w)`
|
|
2
2
|
margin: ${l.sp5};
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
`,D=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as V,V as t,c6 as ne,x as m,c7 as vt,m as h,y as Ft,a7 as Ct,T as Tt,c8 as kt,O as z,a_ as Lt,A as Nt,c9 as Pt,a9 as zt,ca as nt,cb as Et,a8 as Vt,o as a,l as we,cc as st,cd as P,ce as qe,cf as A,cg as ee,f as L,al as fe,ch as rt,ci as Mt,cj as dt,_ as At,ck as Wt,cl as Bt,cm as _t,cn as Rt,co as Yt,aQ as Ut,ab as qt,at as Q,C as Ie,a as He,cp as Ht,S as Gt,cq as Zt,bH as Jt,cr as Xt,H as Qt,cs as Kt}from"./index-
|
|
1
|
+
import{e as V,V as t,c6 as ne,x as m,c7 as vt,m as h,y as Ft,a7 as Ct,T as Tt,c8 as kt,O as z,a_ as Lt,A as Nt,c9 as Pt,a9 as zt,ca as nt,cb as Et,a8 as Vt,o as a,l as we,cc as st,cd as P,ce as qe,cf as A,cg as ee,f as L,al as fe,ch as rt,ci as Mt,cj as dt,_ as At,ck as Wt,cl as Bt,cm as _t,cn as Rt,co as Yt,aQ as Ut,ab as qt,at as Q,C as Ie,a as He,cp as Ht,S as Gt,cq as Zt,bH as Jt,cr as Xt,H as Qt,cs as Kt}from"./index-CpaD5zWS.js";import{a as Y,b as ea}from"./sentry-ByK32NK-.js";import{n,d as ta,k as aa}from"./mui-CrML1f8O.js";import{FC as la,FD as ct,FE as pt,FF as mt,FG as ut,FH as ht,bR as ft,FI as ke,bG as oa,bs as Le,bE as ia,FJ as na}from"./zeni-epic-state-BYs-FQva.js";import{D as yt}from"./LabeledCreatableSingleSelectField-CISYMojq-C-aCk7rm.js";import{Y as gt}from"./LabeledDocumentField-C_bcFxdY-T4bTBndm.js";import{e as sa}from"./LabeledSingleSelectField-C6ctNzkA-DmsB82vW.js";import{p as ra,i as da,t as ca}from"./commonTypes-5tEXwrX4-CWUtm8pk.js";import{b as pa}from"./LabeledCountryMultiSelectField-BYYjzwUG-L1R0Hv-k.js";import{x as ma,f as ua,p as ha,h as fa,m as bt,b as ya,g as ga}from"./helper-Ckm10Uko-CASYaqd_.js";import{$ as xt}from"./LabeledAddressValue-DDrQcHIE-CbyeJIn7.js";import{Z as wt}from"./LabeledNameField-mxSNQk3k-BwZireNV.js";import"./pdf-70cGw_kx.js";import"./core-Bup_6r8s.js";import"./lottie-BQVzdLy7.js";import"./liveblocks-DC1MsMik.js";import"./recharts-CtJQnN36.js";import"./dnd-6DI5OLjD.js";import"./analytics-5lp27QV6.js";import"./plaid-DUNGunmx.js";import"./utils-DtsUvZkm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="28b712e2-7c5c-4b86-bd26-9a41119fb60d",e._sentryDebugIdIdentifier="sentry-dbid-28b712e2-7c5c-4b86-bd26-9a41119fb60d")}catch{}})();const W={width:new m(343,580,726),height:new m(h[6],h[6]),controlHeight:new m(h[6],h[6]),paddingTopBottom:new m(h[2],h[2]),marginRight:new m(h[2],h[2]),labelMarginLeft:new m(h[3],h[4]),labelMarginRight:new m(h[3],h[4]),labelMarginTop:new m(h[2],h[2])};function ba({isDisabled:e,label:o,button:p,style:i}){const r=V();return t.jsxs(xa,{size:r,style:i,children:[t.jsx(ne,{isDisabled:e,label:o.label,style:{marginLeft:W.labelMarginLeft.value(r),marginRight:W.labelMarginRight.value(r),marginTop:W.labelMarginTop.value(r),width:o.width??"auto"}}),t.jsx(vt,{...p,style:{minHeight:W.controlHeight.value(r),display:"flex",flexGrow:1,...p.style}})]})}const xa=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|