@zeniai/web-app-ui 4.14.36-prod → 4.14.36-qa
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-fOu5grd7-DtKrvplH.js → ACHDetailsPage-fOu5grd7-BgitUCnK.js} +1 -1
- package/dist/assets/{AIPerformancePage-Da3gFo8A-D7GNRsCR.js → AIPerformancePage-Da3gFo8A-B6fd9yMu.js} +1 -1
- package/dist/assets/{AccountInfoPage-o7hTXtgZ-B2dOh6zh.js → AccountInfoPage-o7hTXtgZ-NjcAzXFT.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DqErO8FH-BzjZe2AM.js → AccountInfoPageContent-DqErO8FH-BeoOImtE.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-BJjCuLHa-BzlPa0go.js → AccountLockedInfoModal-BJjCuLHa-Dwc4Twfa.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-CVjH1p0d-C_Gd41A_.js → AccountReconDetailsDrawerPage-CVjH1p0d-B1ewqXBW.js} +1 -1
- package/dist/assets/{AccountRow-CpftykFx-BYdmHBcI.js → AccountRow-CpftykFx-BJ3WZo2I.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-D7xvgmOH-VKAOHHjH.js → AccountsPromoCardStack-D7xvgmOH-B_Z0IcIc.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-vecchYEf-ebIJJIIw.js → AddAddressForCardDrawer-vecchYEf-lmlcPBf7.js} +1 -1
- package/dist/assets/{AddToWalletPage-zJy9QCjx-CK9utT0P.js → AddToWalletPage-zJy9QCjx-CAgD66cB.js} +1 -1
- package/dist/assets/{AddressRoutes-DUSS9tuc.js → AddressRoutes-BeSQWOrw.js} +1 -1
- package/dist/assets/{AddressScreen-BWfJAlfj.js → AddressScreen-CE8x2lDp.js} +1 -1
- package/dist/assets/{AgingReportsPage-wAvQb1d8-D6uRym4u.js → AgingReportsPage-wAvQb1d8-bRB2pbCU.js} +1 -1
- package/dist/assets/{AiCfoScreen-KzOydU1K.js → AiCfoScreen-BszigZh8.js} +1 -1
- package/dist/assets/{AllUserItems-DEv_CXOA-D-bq2iN2.js → AllUserItems-DEv_CXOA-D8XKRK3i.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-BOV1WFVF-CHgoe9J2.js → ApAgingDetailPage-BOV1WFVF-Bn0q4RYM.js} +1 -1
- package/dist/assets/{AppBasePage-DMlomvFS-D2hGShit.js → AppBasePage-DMlomvFS-CQMcvMHZ.js} +1 -1
- package/dist/assets/{AppDrawerContent-Dc2sHnR3-LavVuLGE.js → AppDrawerContent-Dc2sHnR3-B11HecZn.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-BnbPSy4U-CVVk0lGA.js → ApprovalRulesSettingsPage-BnbPSy4U-CIEnHFVH.js} +1 -1
- package/dist/assets/{ArAgingChart-m-Xp3HAW-DyehsuTU.js → ArAgingChart-m-Xp3HAW-CnkoHC-y.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-b_NpDpWj-bvIIfM8q.js → ArAgingDetailPage-b_NpDpWj-B3kCWqKT.js} +1 -1
- package/dist/assets/{AttachmentView-DB_V1qT1-pu05HN8u.js → AttachmentView-DB_V1qT1-CUnw9dFs.js} +1 -1
- package/dist/assets/{BankAccountSection-BabhrBM7-Dd_u70sl.js → BankAccountSection-BabhrBM7-CjKNHuqx.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-yT2UAd12-OOunsZf0.js → BankAccountWarningSection-yT2UAd12-DDru0TbG.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-CbxXykMM-8U9Rn4at.js → BankConnectionsSettingsPage-CbxXykMM-DSyYDFRR.js} +1 -1
- package/dist/assets/{BillDetailPage-7TMkWo3V-CFxRvOU4.js → BillDetailPage-7TMkWo3V-Bx_V8TNq.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-3120qDp_.js → BillPayApprovalRoutes-D-Lr-knt.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-COyDRpaF-Cab_XJ4M.js → BillPayApprovalRuleDetailPage-COyDRpaF-Cw59nmg3.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-9pxkgFAT-DtRl9cAs.js → BillPayApprovalRulesPage-9pxkgFAT-C0fukcC-.js} +1 -1
- package/dist/assets/{BillPayPromoPage-AGffhbY3-Ds-4kTJZ.js → BillPayPromoPage-AGffhbY3-CtBTCqHG.js} +1 -1
- package/dist/assets/{BillPayRoutes-BIMlh4Mo.js → BillPayRoutes-CLxgVQoZ.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-Cs5rkWBu-f5jRFn_I.js → BillPaySetUpPage-Cs5rkWBu-uFttJJzg.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CQ117tT9-DFy0vzQN.js → BillingSettingsPage-CQ117tT9-BttuaXcF.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DRkGQQAe-Dns4H6Uq.js → BillsBulkReviewDrawerPage-DRkGQQAe-DERm9Zoh.js} +1 -1
- package/dist/assets/{BoxItem-DRwx0M5a-Dw0b9ELb.js → BoxItem-DRwx0M5a-CDlEJbUh.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-1h0z3N9u-Cr_duL5n.js → BusinessVerificationPage-1h0z3N9u-RMOZ1n1-.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-C7iPYOZn.js → BusinessVerificationPageScreen-CsiX3KGh.js} +1 -1
- package/dist/assets/{BusyIndication-DizZe0Gu-CnZz6mNW.js → BusyIndication-DizZe0Gu-1EWobmeT.js} +1 -1
- package/dist/assets/{CardNumberSubText-DqtLT1w5-C1PSe701.js → CardNumberSubText-DqtLT1w5-3-jd_gkY.js} +1 -1
- package/dist/assets/{CashbackDetailPage-ChdQcvkC-SWWq0YlX.js → CashbackDetailPage-ChdQcvkC-ICsGmTUH.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-DFOKlPNG-CJjKm9Bc.js → ChargeCardDetailPage-DFOKlPNG-DAT7wsUl.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DhLUsUhd-tb3tejt8.js → ChargeCardListPage-DhLUsUhd-Cb0G0I2o.js} +1 -1
- package/dist/assets/{ChargeCardListTable-DE72YU_i-Cgx4aKdo.js → ChargeCardListTable-DE72YU_i-CnPve3es.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-CbGR18s--Bfhj07GO.js → ChargeCardPaymentHistoryPage-CbGR18s--D1FALKZp.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-CPpNh89o-B7oJlSNp.js → ChargeCardPromoPage-CPpNh89o-CvxWAl-t.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-HvRzXvjz.js → ChargeCardRoutes-B2VyUVyE.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-ITi25kUD-C8OGLAOo.js → ChargeCardSetupPage-ITi25kUD-DQrLuHzm.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CTJc1BCc-Bqf8iiVh.js → ChargeCardStatementsPage-CTJc1BCc-B3iOfWLi.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-BrzeSj-3-BiABNIOO.js → CheckDepositDrawerPage-BrzeSj-3-qP1HtOIM.js} +1 -1
- package/dist/assets/{CollapsableReportTable-CDEe9s_E-C_oaF72K.js → CollapsableReportTable-CDEe9s_E-BVFWKHUA.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BaPhFsLx-BbMqIHn4.js → CompanyOfficerDetailsSection-BaPhFsLx-DHUewusV.js} +1 -1
- package/dist/assets/{CompanyPassportCard-B9ymV6Az-BunSwLXV.js → CompanyPassportCard-B9ymV6Az-CvyAeev5.js} +1 -1
- package/dist/assets/{CompanyPassportPage-BQ68t7oK--72XszNt.js → CompanyPassportPage-BQ68t7oK-BgIAIBvG.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-B9qTxVsv.js → CompanyPassportScreen-UiOT42U6.js} +1 -1
- package/dist/assets/{CompleteProfile-C5n9b8gQ-BGdWCltL.js → CompleteProfile-C5n9b8gQ-BqfKsPPd.js} +1 -1
- package/dist/assets/{ConfettiBurst-BizTW0hz-CTQBBE5b.js → ConfettiBurst-BizTW0hz-BTsH0Adk.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-CyqiWQ_E.js → ConnectionAuthScreen-hHSL4PoV.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BsgBpeqj.js → ConstrainedInnerElement-BeIpAPjB-2qMgM4hb.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BIfOA5Nr-9lRrsge2.js → CreateOrEditVendorPage-BIfOA5Nr-DmMOi9Py.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-CCpS-31h-DToKME04.js → CreditCardPaymentDrawerPage-CCpS-31h-D2E09eId.js} +1 -1
- package/dist/assets/{CurrencySelectField-KvKyemY6-BTAXQVpc.js → CurrencySelectField-KvKyemY6-Bi0fspzF.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-6VlMI4oY-BOdglKaR.js → CustomerOnboardingActivationPage-6VlMI4oY-C6UkeafC.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-DMW5eYly.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-p4P1_J3p.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BzbZb27J-Bbf8x6S7.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-BjFDDxCU.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CWF_00EM-BnqhwetY.js → CustomerOnboardingNoStepsPage-CWF_00EM-BKydcoC-.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-DkW66A-p-mjPzi4YN.js → CustomerOnboardingPage-DkW66A-p-CqCCkCYq.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-Ba0yotpP-CvaQ2DPj.js → CustomerOnboardingProductSuitePage-Ba0yotpP-B65VLjH4.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-BMZ34WsY.js → CustomerOnboardingRoutes-BbuQETSm.js} +1 -1
- package/dist/assets/{Dashboard-bX3cWkmP-C6SjsI37.js → Dashboard-bX3cWkmP-D2iKKw2J.js} +1 -1
- package/dist/assets/{DashboardReportPage-DuZ4d4CE-BrQWIXDX.js → DashboardReportPage-DuZ4d4CE-Cp1XRSMC.js} +1 -1
- package/dist/assets/{DashboardRoutes-BbIXO7iZ.js → DashboardRoutes-CXkTMDXA.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-UV2CZToG-CJzaFyVR.js → DashboardSidebarBackgroundAnimation-UV2CZToG-BePjXuRd.js} +1 -1
- package/dist/assets/{DefaultTenantHome-x3GPonXU.js → DefaultTenantHome-DAGhRU2p.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BY_OvuKg-BLaTgMIz.js → DepositAccTransactionItem-BY_OvuKg-BV-rFk5q.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-a__bpCOB-DEu6_Tp1.js → DepositAccTransactionListPage-a__bpCOB-CF9PDDNQ.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-Cijy0Efi.js → DomesticWireDetailScreen-DacvZAfq.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BumMT4QM-CYj_JgcI.js → DomesticWireDetailsPage-BumMT4QM-xDzQX0lF.js} +1 -1
- package/dist/assets/{DownloadOverlay-DqiL3-FB-DFUDhoKK.js → DownloadOverlay-DqiL3-FB-DATHjVq3.js} +1 -1
- package/dist/assets/{DrawerPage-CaG-xx5d-5p8e_YBN.js → DrawerPage-CaG-xx5d-DCOdzFu5.js} +1 -1
- package/dist/assets/{DrawerScreen-DVazDF-l.js → DrawerScreen-B1Tmjk6I.js} +1 -1
- package/dist/assets/{EditPeoplePage-BcsdEp_d-DFKIh_fD.js → EditPeoplePage-BcsdEp_d-83JmqDcO.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-DNUmwdsH-CG4gk9wM.js → EditReimbursementDetailPage-DNUmwdsH-BwDh21om.js} +1 -1
- package/dist/assets/{EntityDetailPage-DtX5TjBc-BEQz1Hbt.js → EntityDetailPage-DtX5TjBc-C1gOmTYV.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-SleakL8l.js → EntityDetailRoutes-DH6Oay7j.js} +1 -1
- package/dist/assets/{EntitySummarySection-LEA5m6mN-Dwg0kUjR.js → EntitySummarySection-LEA5m6mN-COsxmiXN.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-Dmhn7gfp-COPPJr9M.js → ExpenseAutomationOverviewPage-Dmhn7gfp-DRKfvdpQ.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-B8C4BxoV-n_yUZYRj.js → ExpenseAutomationPage-B8C4BxoV-DDvaiJ6I.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-B_snNt3h.js → ExpenseAutomationRoutes-CVAejH_S.js} +1 -1
- package/dist/assets/{ExpressPayPage-C-nqret2-Cs-fZ8Mg.js → ExpressPayPage-C-nqret2-KetoqTaI.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-BHjUZ7s6-Cbu7pHbq.js → FeaturePreviewPage-BHjUZ7s6-CDfaoOXm.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-CsodJgmF.js → FeaturePreviewScreen-DqxtfQjE.js} +1 -1
- package/dist/assets/{FollowStepsSection-0eFMS0c5-DZBefIWn.js → FollowStepsSection-0eFMS0c5-BaucUfRt.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-4eiopkzw-Cw7Qt1Gu.js → GlobalReviewListPage-4eiopkzw-B9-MVo2q.js} +1 -1
- package/dist/assets/{InformationCardStack-C7XJCUlh-Q3M0f8VA.js → InformationCardStack-C7XJCUlh-DjdOTgGS.js} +1 -1
- package/dist/assets/{InsightsCardStack-fBAbQwhK-B-D5ZqRY.js → InsightsCardStack-fBAbQwhK-Ben65oUn.js} +1 -1
- package/dist/assets/{InsightsSection-De9zu_me-CkgNcopq.js → InsightsSection-De9zu_me-BVBRSj8O.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-BD5jqAv8-DELKKZ32.js → IntegrationsSettingsPage-BD5jqAv8-jCqAB96Y.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-BftrE612-B1FpsHHY.js → InternationalWireSwiftDetailsPage-BftrE612-C1oqAYKw.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-CDf7equc-Bv_Mlbyz.js → InternationalWireVerificationPage-CDf7equc-BWfDz-qh.js} +1 -1
- package/dist/assets/{InviteFormPage-E2igwKEh-i9Ejfzju.js → InviteFormPage-E2igwKEh-BfamEOA0.js} +1 -1
- package/dist/assets/{InvitePageListView-Cuq9dlgu-OdcePVjj.js → InvitePageListView-Cuq9dlgu-BswYJOcw.js} +1 -1
- package/dist/assets/{InvitePeoplePage-Db4P4ZEq-D2qC3MWl.js → InvitePeoplePage-Db4P4ZEq-D8yQs7Vc.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DYCjz9CI-kkT5494W.js → InvoiceUploadSection-DYCjz9CI-CGqj6KTI.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CK6fnO24-P9WUVudZ.js → IssueChargeCardPage-CK6fnO24-CZaBXPmq.js} +1 -1
- package/dist/assets/{LabeledAddressValue-Ma1WURjK-OaNz0PUE.js → LabeledAddressValue-Ma1WURjK-SOyeFnDb.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-C6-hVsPb-BrwGoslB.js → LabeledAddressValueField-C6-hVsPb-Cx3qxpIQ.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-CgZg0uOW-CR4JIvno.js → LabeledControlledCheckBoxField-CgZg0uOW-CRnqdJf1.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-sj8p7Rne-DX3ttOa8.js → LabeledCountryMultiSelectField-sj8p7Rne-BB5IjdKT.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DUTQh416-CXgMt8c7.js → LabeledCreatableSingleSelectField-DUTQh416-C_C7TgJg.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Bp9m-OrP-DsdEjHL5.js → LabeledDocumentField-Bp9m-OrP-BZJ1R-di.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-3-KekP79-Cwkv98QC.js → LabeledDropDownFormattedTextField-3-KekP79-BFouZsyb.js} +1 -1
- package/dist/assets/{LabeledEmailInputField-BRJyFvVd-kiNKCxOc.js → LabeledEmailInputField-BRJyFvVd-CLFwXbdl.js} +1 -1
- package/dist/assets/{LabeledNameField--saAep-_-DBD-AVmo.js → LabeledNameField--saAep-_-CReVVQpK.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-Ul4tlTiO-Den1ewqF.js → LabeledSingleSelectField-Ul4tlTiO-B5-cTLoa.js} +1 -1
- package/dist/assets/{LabeledText-DvzVOku6-CefkvW9I.js → LabeledText-DvzVOku6-C1r6b0lJ.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-D-q2p9T4.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-Dfj0gvkd.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-kWC0ShEy-CVsIgZCg.js → LabeledZeniRolesDropDownField-kWC0ShEy-BPt5mqTD.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-WufhDGDQ-BAvUkjof.js → LinkJETransactionPage-WufhDGDQ-CzSZY5Ji.js} +1 -1
- package/dist/assets/{LockCardPage-BBIVLYVD-D-wCiOvp.js → LockCardPage-BBIVLYVD-CLo11134.js} +1 -1
- package/dist/assets/{LowBalancePopup-ScEqPY9J-gzuIRHXd.js → LowBalancePopup-ScEqPY9J-wCMhmKTa.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-C494txw0-C1bmf-0v.js → MagicLinkACHDetailsPage-C494txw0-B6Ad2Ian.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CONBCbOQ-Bln_80Rn.js → MagicLinkDomesticWireDetailsPage-CONBCbOQ-BnDh5s_P.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-fSY3JGpz-DK5kviAV.js → MagicLinkInternationalWireDetailsPage-fSY3JGpz-DQpa109r.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-CmfDNM9F.js → MagicLinkRoutes-DGEyZyp5.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-BFjmnsBM.js → MagicLinkSignInScreen-CeYyqoa0.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BDRXSAO4-BidmJipa.js → MagicLinkSuccessPage-BDRXSAO4-Te4RRaTi.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-ZnbKPIvJ-TyHn4cte.js → MagicLinkTitleSection-ZnbKPIvJ-C28UB4ql.js} +1 -1
- package/dist/assets/{MailingDetailsSection-DZT7JPlI-BJWdOrL7.js → MailingDetailsSection-DZT7JPlI-C38hqmub.js} +1 -1
- package/dist/assets/{MobileAppDrawer-CDJXGCc5.js → MobileAppDrawer-B2Fzw8F_.js} +1 -1
- package/dist/assets/{MoreMenuButton-CJue6xR9-BbSipzeZ.js → MoreMenuButton-CJue6xR9-DaOmUQCK.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-aQDVaEG1-CaNC5sNf.js → MyBankConnectionsSettingsPage-aQDVaEG1-BQj6U5VD.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BJrk56oA-6BRLJ-N-.js → MyPendingActivationChargeCardListPage-BJrk56oA-a4lk-FRm.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-L9WuP6HZ-Db8rdNHA.js → MyProfileSettingsPage-L9WuP6HZ-D4wjrOZn.js} +1 -1
- package/dist/assets/{NavBarWithPicker-zmvBmWS1-BJLXNi9F.js → NavBarWithPicker-zmvBmWS1-C1LKFsDL.js} +1 -1
- package/dist/assets/{NavigationArrow-D26UG3p--4hBtDCeO.js → NavigationArrow-D26UG3p--CCqiziIA.js} +1 -1
- package/dist/assets/{NavigationDots-Bv4tBDN3-Bbc9Y5nB.js → NavigationDots-Bv4tBDN3-CX4VVQFS.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-vOn2O6B9-CZ-KVTn5.js → NewGlobalMerchantPage-vOn2O6B9-BmOnDaTo.js} +1 -1
- package/dist/assets/{NoDataChart-CgT19fV7-YzA74zXg.js → NoDataChart-CgT19fV7-BnUaWo2A.js} +1 -1
- package/dist/assets/{NoDataTable-CPjJmo4s-DC_mvjeS.js → NoDataTable-CPjJmo4s-BDfqEXQj.js} +1 -1
- package/dist/assets/{NotFoundPage-CP2i3FTm-g8WrWuym.js → NotFoundPage-CP2i3FTm-DrcRl_rx.js} +1 -1
- package/dist/assets/{NotFoundScreen-C-f3wZff.js → NotFoundScreen-BBemVqe2.js} +1 -1
- package/dist/assets/{NotificationRoutes-Dg3XIX9Z.js → NotificationRoutes-U-LaNI42.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CT9Dnb03-CCebCFV1.js → NotificationSettingsPage-CT9Dnb03-Dm7KyS7f.js} +1 -1
- package/dist/assets/{NotificationsListConfig-Bn1zmx6b-DJcpP8xc.js → NotificationsListConfig-Bn1zmx6b-CgwI3kB8.js} +1 -1
- package/dist/assets/{NotificationsPage-DDwdR_Jq-tej2yJGV.js → NotificationsPage-DDwdR_Jq-CLxtwJ7_.js} +1 -1
- package/dist/assets/{OpExByVendorPage-DukFYlqO-CYuzPdO5.js → OpExByVendorPage-DukFYlqO-DLkue9kB.js} +1 -1
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-DLRAVdMQ.js → OverlayContainerPage-D4QU0p4o-C-Icci7k.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Bgflh9Om-c5nThMSc.js → PandLWithForecastPage-Bgflh9Om-BLh8XrcC.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-C5n-QYrM.js → PandLWithForecastRoutes-D-HhWNvF.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-JPO-rPAd-CdhcYMbE.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-Dmaxec0g.js} +1 -1
- package/dist/assets/{PeoplePage-CDvKreQl-CENmGC_v.js → PeoplePage-CDvKreQl-Br9fXMF2.js} +1 -1
- package/dist/assets/{PeopleRoutes-B8sI0j_D.js → PeopleRoutes-Dq51UjI9.js} +1 -1
- package/dist/assets/{PerformanceRoutes-WZ7erXWO.js → PerformanceRoutes-cKruQlcS.js} +1 -1
- package/dist/assets/{Preview-Qum01O_7.js → Preview-B_UHWYM5.js} +1 -1
- package/dist/assets/{ProductsCarousel-7R3cvGiS-CXIq3yeY.js → ProductsCarousel-7R3cvGiS-DmQ2H6G4.js} +1 -1
- package/dist/assets/{PromoBaseCards-DdCMZIc7-DUsRLuwv.js → PromoBaseCards-DdCMZIc7-Df8cZl94.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-Ca36jKz2-VzJ-tNft.js → QBOConnectionDialog-Ca36jKz2-DAMkmB7c.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-BKn1bsKK.js → QBOConnectionScreen-JiiEAGy2.js} +1 -1
- package/dist/assets/{QBOSetupSection-CzBfIVqR-BsH0kNj1.js → QBOSetupSection-CzBfIVqR-CbTARgMf.js} +1 -1
- package/dist/assets/{ReferralListScreen-CLDDODhh.js → ReferralListScreen-CSsSh4ih.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-BzZGabOs.js → ReimbursementApprovalRoutes-CVWnCLDW.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DUVSGQJ6-BF8arjsj.js → ReimbursementApprovalRuleDetailPage-DUVSGQJ6-DvpCvtrE.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-DgkaZC29.js → ReimbursementApprovalRuleDetailScreen-DZcx_Ou3.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B48x1gPM-Bhu7VNJX.js → ReimbursementApprovalRulesPage-B48x1gPM-DxxLWTnS.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-oIC9QEyF-BYQFBAjr.js → ReimbursementDetailPage-oIC9QEyF-DlTQsBwh.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-BKgsJieE-BqeZtzWt.js → ReimbursementPromoPage-BKgsJieE-C2_bC473.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-DxWYRF54.js → ReimbursementRoutes-Djc8hIjc.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-B_c-ZgFT-C3cbeaxi.js → ReimbursementSetUpPage-B_c-ZgFT-BBt2uEqx.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CeyGWbKR-Bg0aREFm.js → ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CZtSd4TM.js} +1 -1
- package/dist/assets/{ReloadCard-DKGn1uxF-BBMNpGcO.js → ReloadCard-DKGn1uxF-CkrmOtQv.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-CXDvZEbR-Cuxyf1PL.js → ReportTableViewSelector-CXDvZEbR-B4WtL-_p.js} +1 -1
- package/dist/assets/{ReportsPage-BoUyXSBC-B1CIrnsP.js → ReportsPage-BoUyXSBC-D_vUbcSy.js} +1 -1
- package/dist/assets/{ReportsRoutes-PkdA0G8P.js → ReportsRoutes-tnBiH82P.js} +1 -1
- package/dist/assets/{RevenueChart-SvdhwBcE-BdTQ1klG.js → RevenueChart-SvdhwBcE-DFVZ2SH4.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-tT1l4R2r-P7Hp1_9i.js → ReviewDetailsPage-tT1l4R2r-DKl8wtRU.js} +1 -1
- package/dist/assets/{ReviewOverlay-BoM41t8W-CtjlqWcE.js → ReviewOverlay-BoM41t8W-Tjo8TsbC.js} +1 -1
- package/dist/assets/{RewardsRoutes-iOGCALA_.js → RewardsRoutes-DS51i8ZJ.js} +1 -1
- package/dist/assets/{RoleWithToolTip-C8x5yXaK-CKUn0-uO.js → RoleWithToolTip-C8x5yXaK-oTqAGBzT.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Bkp0mCOn-CM1N9pbH.js → ScheduleDetailsFixedAssetsPage-Bkp0mCOn-NjexzQQI.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-Dg9rYJbn-D2Q_4uuS.js → ScheduleDetailsPage-Dg9rYJbn-mJi37FRF.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-J6Eja8XA-CqmKdbDZ.js → ScheduleSequenceTable-J6Eja8XA-uTDNIyeO.js} +1 -1
- package/dist/assets/{ScreenRoutes-BjC7YyGq.js → ScreenRoutes-DvoBFpYl.js} +2 -2
- package/dist/assets/{SetUpAccountSection-sfIB1h4i-BlFfIjSJ.js → SetUpAccountSection-sfIB1h4i-OQRP6w_s.js} +1 -1
- package/dist/assets/{SettingsRoutes-BNSu8ey7.js → SettingsRoutes-_PBfx_CH.js} +1 -1
- package/dist/assets/{SetupPagesScreen-dWvv8Vkm.js → SetupPagesScreen-Bjv1_530.js} +1 -1
- package/dist/assets/{SignIn-Cu2nzuEC-W7neZnzv.js → SignIn-Cu2nzuEC-CgFcNFK3.js} +1 -1
- package/dist/assets/{SignInScreen-B2DjBagP.js → SignInScreen-CCXIdR_f.js} +1 -1
- package/dist/assets/{SignOutScreen-DOoQWNkA.js → SignOutScreen-nUR_nQi4.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-9V9u1jPF-CNmMfdC5.js → SpendManagementListViewPage-9V9u1jPF-CAhShlf6.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-COvEPq7V-BfGw3h9d.js → SpendManagementPerTabPage-COvEPq7V-Enwnkp6K.js} +1 -1
- package/dist/assets/{SpendManagementSection-dT-N4bSQ-VqvaACUn.js → SpendManagementSection-dT-N4bSQ-BU7QcxyK.js} +1 -1
- package/dist/assets/{StatementItem-g5tfNBjV-DCaidCDa.js → StatementItem-g5tfNBjV-B8DjDGkB.js} +1 -1
- package/dist/assets/{StatementsPage-DaFrVUeK-BW2Dp2V6.js → StatementsPage-DaFrVUeK-Bb78Acqy.js} +1 -1
- package/dist/assets/{StatusSwitcher-CaoFw0cf-Ch4dQfH4.js → StatusSwitcher-CaoFw0cf-BSUpAcCG.js} +1 -1
- package/dist/assets/{SubTabSwitcher-zrkVj1aP-D6VIyY-Z.js → SubTabSwitcher-zrkVj1aP-kI_QH-yK.js} +1 -1
- package/dist/assets/{SuccessAnimation-oz7yQ6H3-DCH4pSDl.js → SuccessAnimation-oz7yQ6H3-mzE9epVx.js} +1 -1
- package/dist/assets/{SummaryCard-B9wqNSwM-BQORweBl.js → SummaryCard-B9wqNSwM-BiOPMjla.js} +1 -1
- package/dist/assets/{TaskDetailPage-044JwAvz-BsxB5wXt.js → TaskDetailPage-044JwAvz-CIchaLt5.js} +1 -1
- package/dist/assets/{TaskListScreen-COe20neh.js → TaskListScreen-BTd0K2Ah.js} +1 -1
- package/dist/assets/{TaskManagementPage-dAK9tl2b-DpxnMG8s.js → TaskManagementPage-dAK9tl2b-B8eIax2u.js} +1 -1
- package/dist/assets/{TaskRoutes-CqUuXVTM.js → TaskRoutes-C34_uNkE.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-r1TNqVRb-DDWjaMZm.js → TimeRangeSwitcher-r1TNqVRb-ca11ciDj.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-DHfHCTa4-DIsvW45z.js → TimeframeSwitcher-DHfHCTa4-CRY0pI2L.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DvBvguRl-DJysAVHF.js → TimeframeSwitcherWithToggle-DvBvguRl-zevKhD94.js} +1 -1
- package/dist/assets/{TopExCard-BUjnGDUB-ttJkE96A.js → TopExCard-BUjnGDUB-HxwM-fNF.js} +1 -1
- package/dist/assets/{TopExDetailPage-CNDkfc3u-eQOjfT63.js → TopExDetailPage-CNDkfc3u-IVplKWSE.js} +1 -1
- package/dist/assets/{TransactionActivityLogPage-kSQqJVpX-B9afzw67.js → TransactionActivityLogPage-kSQqJVpX-Dthtq0jn.js} +1 -1
- package/dist/assets/{TransactionDetailPage-f7vWtXWL-BHkxNNoi.js → TransactionDetailPage-f7vWtXWL-DFjYfEw-.js} +1 -1
- package/dist/assets/{TransactionDetailRoutes-CFxJlCDv.js → TransactionDetailRoutes-D0IUp-c0.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-RMm3yh3q.js → TransactionDetailScreen-DuZvqtgf.js} +1 -1
- package/dist/assets/{TransactionList-3-mUZOsw-BRm-0gwi.js → TransactionList-3-mUZOsw-kAZ-qL0T.js} +1 -1
- package/dist/assets/{TransactionListBig-Bx_Rm9ho-BW3qg5px.js → TransactionListBig-Bx_Rm9ho-Du7QkIGC.js} +1 -1
- package/dist/assets/{TransactionListPage-q6x4_jni-Ck3BfjqI.js → TransactionListPage-q6x4_jni-D2QSW9vu.js} +1 -1
- package/dist/assets/{TransactionListRoutes-FdD6hwPS.js → TransactionListRoutes-PB1J2m8T.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-MjSH5hfq-AIc-njlZ.js → TransactionVendorDetailPage-MjSH5hfq-BRDls23z.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BayVa6po-DzuT5ckv.js → TransferDrawerPage-BayVa6po-u89zHtOp.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CuqWmrO5-DQP2rVmX.js → TreasuryOverviewPage-CuqWmrO5-Duo1If9V.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-BCjz1EKX-HfD9h1oo.js → TreasuryPromoPage-BCjz1EKX-9FM2wcwv.js} +1 -1
- package/dist/assets/{TreasuryRoutes-SUWjRFNC.js → TreasuryRoutes-BFHIVJGR.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-CGr00SXF-CDKxxWlC.js → TreasuryStatementsPage-CGr00SXF-CPBafn5H.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-D9_qnlK4-B94LHF1S.js → TreasuryTaxLetterPage-D9_qnlK4-BmLnB6xa.js} +1 -1
- package/dist/assets/{TrendChart-JTOG0a7B-BP3jqykN.js → TrendChart-JTOG0a7B-B1HzEifS.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CTJhTpAM-B82CLfKh.js → TrendWithTransactions-CTJhTpAM-FxLucl6g.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-TGKYpC5A-CyjKlDmg.js → UncategorizedAccountsMappingPage-TGKYpC5A-DrDVb8s-.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-mt2IjA5X-CV4KfkCa.js → UnitIntegrationPage-mt2IjA5X-B0h7UR57.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DZfpwE5J-BKhXo9Nh.js → UploadAdditionalDocumentOverlay-DZfpwE5J-BZwjrrpj.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DAOf5cJD-CIUFbRo1.js → Vendor2FAPopup-DAOf5cJD-GFzHEit0.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CCOupiSZ-DAoMIzt9.js → VendorACHDetailsPage-CCOupiSZ-BPHL9d4l.js} +1 -1
- package/dist/assets/{VendorDetailPage-DufNphGD-BCVjx7rq.js → VendorDetailPage-DufNphGD-DqlByCd7.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-BayV34Rt-DE4GVLFX.js → VendorDomesticWireDetailsPage-BayV34Rt-Du-36wGx.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-CRnO7Ubw-D0wpTO-8.js → VendorFiling1099EditablePage-CRnO7Ubw-CSnvYMK9.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-DA0EL4RJ-H5XWEMm0.js → VendorFirstReviewPage-DA0EL4RJ-CKfw2PVJ.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-HUtNyn9Z-DWZVbqks.js → VendorInternationalWireDetailsPage-HUtNyn9Z-C58PYE3l.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DRVMUeXi-C6tRB2gd.js → VendorInternationalWireSwiftDetailsPage-DRVMUeXi-ln7X-i9Z.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-D6Qa1zf9-DANPCbwg.js → VendorsAccountsSection-D6Qa1zf9-CVqHH4cq.js} +1 -1
- package/dist/assets/{VendorsRoutes-BVCRqCEG.js → VendorsRoutes-D3omEpvR.js} +1 -1
- package/dist/assets/{VerifyDevice-B6B_nk3v-DJK02mA1.js → VerifyDevice-B6B_nk3v-7J7PFtZ-.js} +1 -1
- package/dist/assets/{VideoPlayer-BRAgZThr-DohfH4SH.js → VideoPlayer-BRAgZThr-BbqnCIc-.js} +1 -1
- package/dist/assets/{VideoPopup-C_SkBI9U-BZBvhjwG.js → VideoPopup-C_SkBI9U-BL3_M3X0.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-DPzL3Nm5.js → WiseConfirmationScreen-DvushDs-.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-Dp-eo-Vq-COZCEmi9.js → ZeniAccountDetailPage-Dp-eo-Vq-B3WRlZyy.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-S-XmAYqD-D7H8v3r1.js → ZeniAccountListViewPage-S-XmAYqD-BHUjzyQE.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-DhjBxfEr-Cs-gaW1N.js → ZeniAccountNavBarPieces-DhjBxfEr-BkpO-_U2.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BgYCHYLO-oZ6IBRNP.js → ZeniAccountPromoPage-BgYCHYLO-g5oLmJuT.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-47ve1PwB.js → ZeniAccountRoutes-JNlaxrz8.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-CvnIMdcY-dKy7tH_r.js → ZeniAccountSetupPage-CvnIMdcY-BSUOWmK4.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-BpjEIKgA.js → ZeniAccountStatementScreen-Df6Ut17b.js} +1 -1
- package/dist/assets/{ZeniAvatar-CwHVUcMc-C16MROkP.js → ZeniAvatar-CwHVUcMc-CqvMhhIi.js} +1 -1
- package/dist/assets/{ZeniCopyright-BlLvlGZV-DW5yyzHt.js → ZeniCopyright-BlLvlGZV-D_cpkbcT.js} +1 -1
- package/dist/assets/{ZeniDatePicker-DCurorsW-CYLvWUcS.js → ZeniDatePicker-DCurorsW-D16AsniI.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BNYgPwHs-DSQbkcUQ.js → ZeniTransferAmountSlider-BNYgPwHs-rAtxCD8c.js} +1 -1
- package/dist/assets/{accountMappingHelper-C-aWzSgw.js → accountMappingHelper-DaPjToYl.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-DXAWHlrW.js → add-to-wallet-DgdBD8_G-DvLI4jaw.js} +1 -1
- package/dist/assets/{analytics-BmnY7Of2.js → analytics-BuacLKrs.js} +1 -1
- package/dist/assets/{analyticsHelper-Bh2orC3q.js → analyticsHelper-CHcSxJdc.js} +1 -1
- package/dist/assets/{analyticsHelper-CYr5V2MV-y-wB64MS.js → analyticsHelper-CYr5V2MV-DP0yfEiC.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-D1I1BAuQ.js → arrow-south-east-round-PEovUgvH-90lG1L3u.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-r5N7lB7E.js → auto-transfer-rule-mbafm5D3-CL7RFrAP.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-CWSJfcBr.js → avatar-Dz7aEm3d--QTMwhPr.js} +1 -1
- package/dist/assets/{calculateSize-Bn1NnCzV-TroXRAr5.js → calculateSize-Bn1NnCzV-SxKA7C8w.js} +1 -1
- package/dist/assets/{chartTypes-40RenddT-Bnggt3nP.js → chartTypes-40RenddT-D0AbAyeZ.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-CcT-fN9H.js → clock-CJkylEKt-Cp3w47l8.js} +1 -1
- package/dist/assets/{common-DEB71I4X-BP6KIcNH.js → common-DEB71I4X-D2h2kF8O.js} +1 -1
- package/dist/assets/{commonDimensions-BMnB1-xU-1VIWnl3s.js → commonDimensions-BMnB1-xU-CuHaP4qo.js} +1 -1
- package/dist/assets/{commonTypes-DsWS6Ccc-BDxz0JyY.js → commonTypes-DsWS6Ccc-D27m4dJL.js} +1 -1
- package/dist/assets/{core-B3AUZ034.js → core-twTS7Cne.js} +1 -1
- package/dist/assets/{dash.all.min-CqgOQ8Xc.js → dash.all.min-BOiJW2p5.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-D4h--dTH.js → decodeURIComponentSafe-B0iGosVv.js} +1 -1
- package/dist/assets/{detailCommon-CrcyqWtZ-BELajPOa.js → detailCommon-CrcyqWtZ-Co4x3-EY.js} +1 -1
- package/dist/assets/{dnd-mmN84DSl.js → dnd-BWijMgNi.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-BWc-oi1O.js → dollar-round-D18u7nlm-CiBCyYiG.js} +1 -1
- package/dist/assets/{downloadPdf-CUUx8PWn-DMS-X4cm.js → downloadPdf-CUUx8PWn-B-oFkl1r.js} +1 -1
- package/dist/assets/{empty-ClYhFGkg.js → empty-BAMh3RJk.js} +1 -1
- package/dist/assets/{empty-DVr7EnEn.js → empty-BuEMRnA-.js} +1 -1
- package/dist/assets/{epic-CbXz6OFl.js → epic-Dx6vN-UO.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-CBkV_xVZ.js → filter-cZIFUNvj-CH_l3zIc.js} +1 -1
- package/dist/assets/{getLocaleForTenant-DD-EE4Du.js → getLocaleForTenant-CY5R0VDK.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-Cp742cB5.js → gift-box-Cmt9OgIZ-BCDDcFDZ.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-aEBiiMn8.js → graphic-no-data-l-DU4J8fDt-DVAyGHzA.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DujNi495.js → graphic-no-data-net-burn-l-CzmycA0m-DlMg8P68.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DXe8dYDO.js → handshake-BPg58FML-7TxvMz9v.js} +1 -1
- package/dist/assets/{helper-BMiMbXMj-DaIOHAer.js → helper-BMiMbXMj-B-wSFTz-.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-CXNsIl9J.js → hyperlink-DQyCeXx2-DhYPEFJi.js} +1 -1
- package/dist/assets/{index-thVhxS1z.js → index-BYeMrBg9.js} +1 -1
- package/dist/assets/{index-CXU2FVzB.js → index-DO6IEWSk.js} +1 -1
- package/dist/assets/{index-D6tI4qS0.js → index-DoiSNwZH.js} +1 -1
- package/dist/assets/{index-D0KjvO9E.js → index-Mx2SsGnu.js} +1 -1
- package/dist/assets/{index-BtPm9NIK.js → index-k1doZNFg.js} +444 -444
- package/dist/assets/{index-DHw8aJ44.js → index-zkfIzc9c.js} +1 -1
- package/dist/assets/{lexical-Bg0iM57w.js → lexical-CZE2Lq-0.js} +1 -1
- package/dist/assets/{liveblocks-DFhc43aC.js → liveblocks-CM0QMS_I.js} +1 -1
- package/dist/assets/{lottie-BaQk2SMe.js → lottie-Bdr-9mLw.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-DGnyXKBT-Wps1a9Kl.js → mapLoadingInProgressToTreeNode-DGnyXKBT-BSjhxbWc.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BkPRWtaj-B4027zU8.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-CxIv2d9v.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CvGdU9Ma-Cc1qVXN0.js → mapSpacerToTreeNode-CvGdU9Ma-oI33_r0x.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BCOsOvxo-BX8RS135.js → mapTimeframeBalancesToTreeNode-BCOsOvxo-BejLDcnD.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DIqYP3NK-DcYeE0sW.js → mapTimeframeBalancesToTreeNode-DIqYP3NK-CPJM42M2.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-CrJ8hg5j.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-DquHI1rq.js} +1 -1
- package/dist/assets/{media-player-DZNXgAVG.js → media-player-DTa5D54u.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-BI9DAoQY.js → money-2cg1MuG4-B6SZvN8P.js} +1 -1
- package/dist/assets/{mui-BHPGtaMB.js → mui-Bi07oTwe.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-iWLSE6no.js → page-detail-CWX5S47F-y9rokQDc.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-BgG0ZQev.js → page-summary-D7_VQHwN-pIoT3Pmw.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-Cgco5JZt.js → panelSelectedMixin-CzfD5-Zs-Bh-ojoWH.js} +1 -1
- package/dist/assets/{pathToGoBack-Z7p6r6H4.js → pathToGoBack-Md2zV7uG.js} +1 -1
- package/dist/assets/{pdf-BC9fZG9d.js → pdf-emb33J2I.js} +3 -3
- package/dist/assets/{pdf-lib-BMom1oAq.js → pdf-lib-CILJewzg.js} +1 -1
- package/dist/assets/{plaid-Koifne5k.js → plaid-Dw_qIY4R.js} +1 -1
- package/dist/assets/{pusher-BdSpE7Mf.js → pusher-DynBuu5N.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-nXNoiiEG.js → radio-default-CiSgisfh-GKL562Zm.js} +1 -1
- package/dist/assets/{react-DTD1FjkF.js → react-1mNX_DRd.js} +1 -1
- package/dist/assets/{react-NRHLHLBh.js → react-Ar6ZOtfZ.js} +1 -1
- package/dist/assets/{react-BpR3neXG.js → react-BL4qYNQl.js} +1 -1
- package/dist/assets/{react-BFPsGEjR.js → react-CHxjXjfJ.js} +3 -3
- package/dist/assets/{react-C1IHISvT.js → react-DiCJT7O0.js} +1 -1
- package/dist/assets/{react-yyp5ThFM.js → react-DvA2K4aW.js} +1 -1
- package/dist/assets/{react-CIV5YenX.js → react-Xs8hOk7X.js} +1 -1
- package/dist/assets/{react-VDSbRVm5.js → react-vzV2OwEE.js} +1 -1
- package/dist/assets/{recharts-DCahVeG0.js → recharts-CS0s98U8.js} +1 -1
- package/dist/assets/{routePaths-Dqvnjt0t.js → routePaths-DiyiibEL.js} +1 -1
- package/dist/assets/{sentry-DU2EcgXN.js → sentry-CytkDQe2.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-YrgbzvCT.js → shield-DOlUxcFf-CuS9M_ww.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-BIEmtKpL.js → spend-limit-D6SyboD4-DuCQ_jaT.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DkMGvlEt-Chva4nz-.js → toCOABalancesWithID-DkMGvlEt-DFgINRIk.js} +1 -1
- package/dist/assets/{toChartData-C6s-eBzE-xR7CEkgo.js → toChartData-C6s-eBzE-BfIZvn48.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-CNW_yHtL.js → transaction-placeholder-CpOwZAMG-DuWev16q.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-BTtZXb5Z.js → undo-b_3XZ5CX-Cg47YjTI.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-CYQ3BxxF.js → unlock-BPWn2I5L-DplIQ8y4.js} +1 -1
- package/dist/assets/{uploadAttachment-BlLqRIXe-CGlO_7vi.js → uploadAttachment-BlLqRIXe-B6ElpyTj.js} +1 -1
- package/dist/assets/{uploadReceipts-Dge0cNF1-CtZmuvXk.js → uploadReceipts-Dge0cNF1-Co75nE7C.js} +1 -1
- package/dist/assets/{url-DX7gND89.js → url-DlqX0g3J.js} +1 -1
- package/dist/assets/{url-Dqzk0kdF.js → url-wSyZyUAL.js} +1 -1
- package/dist/assets/{useDeviceId-BmcpsNHk.js → useDeviceId-CW9B9UlH.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-QVhB5q5V.js → useInitialThreadRequest-1tDzaux1.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DY5WLHMQ.js → useLongPress-GCK2COYQ-DxXBKjrG.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DNpFJb5T.js → usp-line-BBd1wKwW-DHy4exHr.js} +1 -1
- package/dist/assets/{utils-CPca4UDN.js → utils-CSjogEj5.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-Dgn2a95s.js → withTransactionSidePanel-kYDF1Rc9.js} +1 -1
- package/dist/assets/{zeni-epic-state-Bnfd9FE6.js → zeni-epic-state-DyRbb6Q5.js} +3 -3
- package/dist/assets/{zeni-icon-only-Bl-Y4_od.js → zeni-icon-only-C6-rv1y7.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-CIAq5RQZ.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-C6RxLb64.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as S,J as b,V as i,a_ as ee,eC as z,j as u,an as N,bm as ie,o as t,O as w,e as O,b as h,s as v,cz as te,u as l,ag as oe,a4 as T,be as re,x as $,a6 as L,ih as X,ii as q,h$ as ae,bT as se,bW as ne,W as B}from"./index-
|
|
1
|
+
import{y as S,J as b,V as i,a_ as ee,eC as z,j as u,an as N,bm as ie,o as t,O as w,e as O,b as h,s as v,cz as te,u as l,ag as oe,a4 as T,be as re,x as $,a6 as L,ih as X,ii as q,h$ as ae,bT as se,bW as ne,W as B}from"./index-k1doZNFg.js";import{n as o}from"./mui-Bi07oTwe.js";import{FJ as f,bs as de}from"./zeni-epic-state-DyRbb6Q5.js";import{b as K,a as Y}from"./sentry-CytkDQe2.js";import{F as le}from"./InsightsSection-De9zu_me-BVBRSj8O.js";import{M as ce,S as he}from"./common-DEB71I4X-D2h2kF8O.js";import{J as pe,E as ge,X as me,Y as xe,F as we,K as ue,W as ye}from"./recharts-CS0s98U8.js";import"./pdf-emb33J2I.js";import"./core-twTS7Cne.js";import"./lottie-Bdr-9mLw.js";import"./liveblocks-CM0QMS_I.js";import"./dnd-BWijMgNi.js";import"./analytics-BuacLKrs.js";import"./plaid-Dw_qIY4R.js";import"./utils-CSjogEj5.js";import"./NavigationDots-Bv4tBDN3-CX4VVQFS.js";import"./calculateSize-Bn1NnCzV-SxKA7C8w.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]="fe5d3b38-14f4-4a42-8041-60485f26d9bd",e._sentryDebugIdIdentifier="sentry-dbid-fe5d3b38-14f4-4a42-8041-60485f26d9bd")}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,J as ve,t as It,c as Dt,gc as fr,gP as $i,ad as Xe,gd as $r,a7 as Je,V as t,a_ as vi,u as l,fd as vr,a4 as _e,a6 as ee,aZ as ki,bg as ta,e as d,o as a,O as $e,i2 as kr,j as H,bK as ji,i3 as Li,ew as Ii,g3 as Di,i4 as Ai,b1 as Ti,ba as jr,ab as aa,b as T,ar as ra,b6 as Lr,x as ue,dW as Ri,au as ia,hW as Ei,ac as Ir,aA as mt,gf as Dr,bz as Fi,f as ut,an as Pi,cF as zi,bO as Mi,i5 as Vi,i6 as Ar,i7 as it,ef as Oi,aj as Hi,i8 as Ni,i9 as Bi,bL as Wi,cn as _i,gM as Ui,s as Fe,bi as Zi,r as Ut,ia as Ma,ib as Gi,cA as Yi,H as Va,B as Tr,at as qi,L as Ki,hV as ht,h_ as Xi,i0 as Ji,i1 as Qi,cK as Oa,eb as eo,i as Rr,bT as Er,bl as to,l as Fr,ic as ao,q as kt,bm as Ha,aV as ro,cw as io,I as oo,W as nt,gb as no,a8 as so,b2 as co,id as At,eJ as lo,ie as Pr,fQ as zr,ig as Lt,hp as Mr,he as Vr,be as ho,dz as Or,h$ as po,bW as uo,d3 as mo,ch as go,dF as Co,bE as wo,bF as xo}from"./index-
|
|
1
|
+
import{y as Qe,J as ve,t as It,c as Dt,gc as fr,gP as $i,ad as Xe,gd as $r,a7 as Je,V as t,a_ as vi,u as l,fd as vr,a4 as _e,a6 as ee,aZ as ki,bg as ta,e as d,o as a,O as $e,i2 as kr,j as H,bK as ji,i3 as Li,ew as Ii,g3 as Di,i4 as Ai,b1 as Ti,ba as jr,ab as aa,b as T,ar as ra,b6 as Lr,x as ue,dW as Ri,au as ia,hW as Ei,ac as Ir,aA as mt,gf as Dr,bz as Fi,f as ut,an as Pi,cF as zi,bO as Mi,i5 as Vi,i6 as Ar,i7 as it,ef as Oi,aj as Hi,i8 as Ni,i9 as Bi,bL as Wi,cn as _i,gM as Ui,s as Fe,bi as Zi,r as Ut,ia as Ma,ib as Gi,cA as Yi,H as Va,B as Tr,at as qi,L as Ki,hV as ht,h_ as Xi,i0 as Ji,i1 as Qi,cK as Oa,eb as eo,i as Rr,bT as Er,bl as to,l as Fr,ic as ao,q as kt,bm as Ha,aV as ro,cw as io,I as oo,W as nt,gb as no,a8 as so,b2 as co,id as At,eJ as lo,ie as Pr,fQ as zr,ig as Lt,hp as Mr,he as Vr,be as ho,dz as Or,h$ as po,bW as uo,d3 as mo,ch as go,dF as Co,bE as wo,bF as xo}from"./index-k1doZNFg.js";import{a as o,b as bo}from"./sentry-CytkDQe2.js";import{n as r,c as ge,k as Hr}from"./mui-Bi07oTwe.js";import{Ej as Tt,bs as yo,c3 as So,FI as fo}from"./zeni-epic-state-DyRbb6Q5.js";import{w as $o}from"./MoreMenuButton-CJue6xR9-DaOmUQCK.js";import{k as vo}from"./NavigationDots-Bv4tBDN3-CX4VVQFS.js";import{A as ko,i as jo,a as Lo,l as Io,r as Do,t as Ao,n as To}from"./add-to-wallet-DgdBD8_G-DvLI4jaw.js";import{L as Zt}from"./lottie-Bdr-9mLw.js";import{t as Ro}from"./spend-limit-D6SyboD4-DuCQ_jaT.js";import{j as Eo}from"./CardNumberSubText-DqtLT1w5-3-jd_gkY.js";import{l as Fo}from"./panelSelectedMixin-CzfD5-Zs-Bh-ojoWH.js";import{M as Po,S as zo}from"./common-DEB71I4X-D2h2kF8O.js";import{r as Nr}from"./core-twTS7Cne.js";import{l as Br}from"./uploadReceipts-Dge0cNF1-Co75nE7C.js";import{L as Mo,z as Vo,k as Oo,P as Ho}from"./LockCardPage-BBIVLYVD-CLo11134.js";import"./pdf-emb33J2I.js";import"./liveblocks-CM0QMS_I.js";import"./recharts-CS0s98U8.js";import"./dnd-BWijMgNi.js";import"./analytics-BuacLKrs.js";import"./plaid-Dw_qIY4R.js";import"./utils-CSjogEj5.js";import"./dollar-round-D18u7nlm-CiBCyYiG.js";import"./money-2cg1MuG4-B6SZvN8P.js";import"./page-summary-D7_VQHwN-pIoT3Pmw.js";import"./transaction-placeholder-CpOwZAMG-DuWev16q.js";import"./unlock-BPWn2I5L-DplIQ8y4.js";import"./calculateSize-Bn1NnCzV-SxKA7C8w.js";import"./RoleWithToolTip-C8x5yXaK-oTqAGBzT.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]="af957bf2-f729-477a-b97b-1cc3ba26a2aa",e._sentryDebugIdIdentifier="sentry-dbid-af957bf2-f729-477a-b97b-1cc3ba26a2aa")}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:D,cardHolderDepartmentName:j,appleWalletLink:L,googleWalletLink:A,style:p,showDrawerAnimation:R,setWalletType:v,setIsAddToWalletDrawerOpen:V,isDebitCard:O})=>{const f=Dt().analytics,{isIPadScreen:Z}=Ni(),{isAndroidScreen:K}=Bi(),X=It(),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:D,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:D,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:D,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:D,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{c as Ja,a7 as _,t as Ka,fc as Wa,hV as N,J as Ee,o as a,y as ta,V as t,a_ as Xa,eC as ae,j as D,bg as nt,e as p,a4 as he,a6 as M,ag as st,O as Fe,b as V,x as Y,H as Za,B as Qa,cf as er,N as aa,b6 as tr,aj as ct,ab as ar,W as lt,T as rr,g5 as ir,dL as or,m as nr,A as sr,ft as dr,i as Ot,u as O,cp as ra,I as cr,s as lr,bX as hr,ce as ur,aT as mr,bi as pr}from"./index-
|
|
1
|
+
import{c as Ja,a7 as _,t as Ka,fc as Wa,hV as N,J as Ee,o as a,y as ta,V as t,a_ as Xa,eC as ae,j as D,bg as nt,e as p,a4 as he,a6 as M,ag as st,O as Fe,b as V,x as Y,H as Za,B as Qa,cf as er,N as aa,b6 as tr,aj as ct,ab as ar,W as lt,T as rr,g5 as ir,dL as or,m as nr,A as sr,ft as dr,i as Ot,u as O,cp as ra,I as cr,s as lr,bX as hr,ce as ur,aT as mr,bi as pr}from"./index-k1doZNFg.js";import{a as c}from"./sentry-CytkDQe2.js";import{n as r,c as ht,k as Cr}from"./mui-Bi07oTwe.js";import{Ej as gr,FH as xr,bs as Bt,bG as br,b_ as yr}from"./zeni-epic-state-DyRbb6Q5.js";import{m as fr}from"./BusyIndication-DizZe0Gu-1EWobmeT.js";import{t as Sr}from"./SpendManagementSection-dT-N4bSQ-BU7QcxyK.js";import{D as re,r as wr,i as kr}from"./ChargeCardListTable-DE72YU_i-CnPve3es.js";import{ChargeCardPromoUserContent as $r}from"./ChargeCardPromoPage-CPpNh89o-CvxWAl-t.js";import{N as Ir,J as vr}from"./PromoBaseCards-DdCMZIc7-Df8cZl94.js";import{z as Mt,L as Nt,k as jr,P as Ar}from"./LockCardPage-BBIVLYVD-CLo11134.js";import{r as Lr,i as Pr}from"./graphic-no-data-net-burn-l-CzmycA0m-DlMg8P68.js";import{t as Er,o as Fr}from"./arrow-south-east-round-PEovUgvH-90lG1L3u.js";import"./pdf-emb33J2I.js";import"./core-twTS7Cne.js";import"./lottie-Bdr-9mLw.js";import"./liveblocks-CM0QMS_I.js";import"./recharts-CS0s98U8.js";import"./dnd-BWijMgNi.js";import"./analytics-BuacLKrs.js";import"./plaid-Dw_qIY4R.js";import"./utils-CSjogEj5.js";import"./MoreMenuButton-CJue6xR9-DaOmUQCK.js";import"./spend-limit-D6SyboD4-DuCQ_jaT.js";import"./dollar-round-D18u7nlm-CiBCyYiG.js";import"./money-2cg1MuG4-B6SZvN8P.js";import"./page-summary-D7_VQHwN-pIoT3Pmw.js";import"./transaction-placeholder-CpOwZAMG-DuWev16q.js";import"./unlock-BPWn2I5L-DplIQ8y4.js";import"./filter-cZIFUNvj-CH_l3zIc.js";import"./ZeniDatePicker-DCurorsW-D16AsniI.js";import"./avatar-Dz7aEm3d--QTMwhPr.js";import"./common-DEB71I4X-D2h2kF8O.js";import"./calculateSize-Bn1NnCzV-SxKA7C8w.js";import"./ZeniAvatar-CwHVUcMc-CqvMhhIi.js";import"./RoleWithToolTip-C8x5yXaK-oTqAGBzT.js";import"./CardNumberSubText-DqtLT1w5-3-jd_gkY.js";import"./NavigationDots-Bv4tBDN3-CX4VVQFS.js";import"./usp-line-BBd1wKwW-DHy4exHr.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]="d26da907-e8d6-4b08-aca6-587f1fdb8bdf",e._sentryDebugIdIdentifier="sentry-dbid-d26da907-e8d6-4b08-aca6-587f1fdb8bdf")}catch{}})();const ut={infoSubheadingTextMarginTop:new V(O[0],O[0]),cardsMinWidth:new V(343,353)},Pe=Fe.getLocalizedStrings().spendManagement.chargeCard.chargeCardsPromo.listPage,Vt=({cardPromoType:e,cardText:m,header:l,title:d,subTitle:n,slidingTextList:h,onClick:B,status:$,statusMessage:q})=>{const U=Ee(),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(Nr,{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,{})]}),q!=null&&A?t.jsx(zr,{status:$,children:q}):null]}),t.jsx(Hr,{isStatusMode:A,children:t.jsx(Ir,{cardPromoType:e,cardText:m,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(Yr,{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=Ee();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(qr,{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{bz as si,V as t,T as ni,A as ai,O as le,J as oe,t as ke,c as li,y as ze,gc as di,a9 as ci,o as i,a6 as J,bH as hi,j as Be,e as I,an as pi,bO as ui,bg as ye,bQ as Oe,ba as mi,ab as gi,b as C,dW as xi,au as wi,hW as Ci,ac as fi,aA as yi,x as ee,gf as ki,W as Y,s as G,u,c3 as Si,dU as vi,hX as ji,hY as $i,H as Ct,bl as ft,hZ as bi,be as Ii,bT as Ye,h_ as yt,cK as Li,cL as q,a4 as de,f as kt,h$ as zi,bW as Ai,hO as Ge,b6 as St,b8 as vt,ad as je,aR as Fi}from"./index-BtPm9NIK.js";import{b as he,a as f}from"./sentry-DU2EcgXN.js";import{n as o,c as Qe}from"./mui-BHPGtaMB.js";import{H as Pi,o as Ri,R as Bi,L as Di,_ as _i,M as Ei,S as Ti}from"./common-DEB71I4X-BP6KIcNH.js";import{d as jt}from"./ZeniAvatar-CwHVUcMc-C16MROkP.js";import{T as $t}from"./RoleWithToolTip-C8x5yXaK-CKUn0-uO.js";import{j as Ve}from"./CardNumberSubText-DqtLT1w5-C1PSe701.js";import{t as bt,r as Oi}from"./spend-limit-D6SyboD4-BIEmtKpL.js";import{o as Vi,r as Ui}from"./unlock-BPWn2I5L-CYQ3BxxF.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]="5f21976f-582e-4e6b-810b-2ff0c0c99d86",e._sentryDebugIdIdentifier="sentry-dbid-5f21976f-582e-4e6b-810b-2ff0c0c99d86")}catch{}})();const me=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Mi=le.getLocalizedStrings().common.strings.empty,Xe={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)},et={key:"cardType",value:me.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},tt={key:"status",value:me.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},it={key:"utilisation",value:me.utilisation,sortOrder:"ascending",width:new C(u[11],u[11],u[11],u[12],120)},ot={key:"limit",value:me.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},It=e=>e===!0?[{...Xe,width:new C(0,0),value:Mi},Ze,et,tt,it,ot]:[Xe,Ze,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Ni}},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 Wi=(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))(Wi||{});const Hi={moreItemFont:new Ct("extraSmallRegular","smallRegular")},Ki=({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,N=f.useCallback(()=>{S(n.id,k)},[n.id]),T=yt(n)/n.limit.amount*100,W=n?.cardHolderUserId===m.userId,F=n.status.code!=="closed"&&n.status.code!=="closed_by_customer",O=Li(n.cardHolderUser,!1),K=n.balance,A=It(_),H=t.jsxs(t.Fragment,{children:[t.jsx(q,{isLoading:g,customStyle:{width:i.sp9,height:"20px",borderRadius:i.sp1},children:t.jsx(ho,{title:de("0,0.[00]",K),className:"amountToUtilize",children:de("0,0.[00]",K)})}),T!==0?t.jsx(q,{isLoading:g,customStyle:{width:i.sp11,height:i.sp3,borderRadius:i.sp1},children:t.jsx(po,{className:"amountToUtilize",children:`${Math.round(T)}${Ni}`})}):null]}),V=n.type.code,te=j.cardList.tooltip[V],ie=te!=null?W?te.self:`${O} ${te.cardUser}`:Ce.strings.empty;return t.jsx(Ji,{windowSize:v,children:t.jsx(Yi,{onClick:N,"data-testid":J("card-row",n.id),children:t.jsxs(Qi,{children:[_?null:t.jsx(pe,{children:t.jsxs(Xi,{windowSize:v,responsiveWidth:A[0].width,children:[t.jsx(q,{isLoading:g,flex:"0 0",customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:t.jsx(jt,{personBasic:n.cardHolderUser,styles:{height:i.sp6,width:i.sp6,minWidth:i.sp6}})}),t.jsxs(eo,{isLoading:g,children:[t.jsx(Zi,{isLoading:g,children:t.jsx(q,{isLoading:g,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(to,{windowSize:v,title:O,className:"cardHolderName",children:O===Ce.strings.empty?Ce.strings.hyphen:O})})}),t.jsx(q,{isLoading:g,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:t.jsx(at,{className:"additionalInfoContainer",children:n.cardHolderRoles?.userRoles!=null&&t.jsx($t,{roles:n.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(pe,{children:t.jsxs(so,{isLoading:g,windowSize:v,responsiveWidth:A[1].width,children:[t.jsx(q,{isLoading:g,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(no,{title:n.cardName,className:"cardName",children:n.cardName})}),t.jsxs(q,{isLoading:g,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(Co,{windowSize:v,className:"cardNameSubText",children:n.status.code==="request_on_hold"?Ce.strings.hyphen:j.cardDetails.expiryHideOut+Ce.strings.space+n.accountLast4})]})]})}),t.jsx(pe,{children:t.jsx(ao,{windowSize:v,responsiveWidth:A[2].width,children:t.jsx(lo,{className:"card-type",children:t.jsx(q,{isLoading:g,customStyle:{width:"144px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Ve,{cardDetail:n,forDetailPage:!1})})})})}),t.jsx(pe,{children:t.jsx(lt,{windowSize:v,isLoading:g,responsiveWidth:A[3].width,children:t.jsx(q,{isLoading:g,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:y===n.id?t.jsx(kt,{size:"Small",start:!0}):t.jsxs(co,{children:[t.jsx(go,{children:n.status.code==="request_on_hold"?t.jsxs(ye,{display:"flex",title:ie,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:[t.jsx(Le,{status:n.status.code,style:{cursor:"pointer"}}),t.jsx(uo,{style:{marginLeft:i.sp1},className:"infoIconTooltip"})]}):t.jsx(Le,{status:n.status.code})}),n.status.code!=="request_on_hold"||W?null:t.jsx(mo,{onClick:Q=>{Q.stopPropagation(),h(n.id)},"data-testid":J("send-reminder",n.id),children:j.cardList.sendReminder})]})})})}),t.jsx(pe,{children:t.jsx(lt,{windowSize:v,isLoading:g,responsiveWidth:A[4].width,children:H})}),t.jsx(pe,{children:t.jsxs(io,{windowSize:v,responsiveWidth:A[5].width,children:[t.jsxs(oo,{windowSize:v,isLoading:g,children:[t.jsx(q,{isLoading:g,customStyle:{width:"68px",height:"20px",borderRadius:i.sp1},children:t.jsx(ro,{className:"limitAmount",windowSize:v,title:de("0,0.[00]",n.limit),children:de("0,0.[00]",n.limit)})}),t.jsx(at,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:g,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:n.creditLimitFrequency.name})})]}),t.jsx(xo,{className:"menu-icon",onMouseEnter:()=>{!p&&F&&R(!0)},onMouseLeave:()=>{F&&R(!1)},children:(()=>{const Q=n.status.code==="locked",ge=n.status.code==="closed"||n.status.code==="closed_by_customer",xe=_?a&&!g&&!ge&&!(Q&&n.isLockedByAdmin):a?!g&&F:n.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:$&&!p&&!b,variant:"standard",title:j.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Oe,{isMenuVisible:!0,menuItems:t.jsx(wo,{children:t.jsx(Lt,{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(${i.sp3},${i.sp2})`}})})})()})]})})]})})})},Lt=({cardDetail:e,isCardControlsEnabled:r,isChargeCardUser:s,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const n=oe();return r?e.status.code==="request_on_hold"?s?t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(re,{}),t.jsx(E,{children:j.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(re,{}),t.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Gi,{}),t.jsx(fe,{children:j.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?s?t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(re,{}),t.jsx(E,{children:j.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(re,{}),t.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?s?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(nt,{}),t.jsx(E,{children:j.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(re,{}),t.jsx(E,{children:j.cardDetails.moreOptions.rename})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(nt,{}),t.jsx(E,{children:j.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(re,{}),t.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(rt,{}),t.jsx(E,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):s?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(re,{}),t.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(st,{}),t.jsx(E,{children:j.cardDetails.moreOptions.lock})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(rt,{}),t.jsx(E,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(re,{}),t.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(st,{}),t.jsx(E,{children:j.cardDetails.moreOptions.lock})]}),t.jsx($e,{}),t.jsxs(L,{windowSize:n,hoverImportant:!0,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?t.jsx(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:t.jsx(fe,{children:j.cardDetails.revokeInvite})}):null},Le=({status:e,style:r})=>{const s=ze(),d=qi(e,s),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return oe()==="small"?t.jsx(Ge,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...r}}):t.jsx(Ge,{textColor:d,text:c[e],styles:r,tagStyles:{padding:"1px 6px"}})},qi=(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(G)`
|
|
1
|
+
import{bz as si,V as t,T as ni,A as ai,O as le,J as oe,t as ke,c as li,y as ze,gc as di,a9 as ci,o as i,a6 as J,bH as hi,j as Be,e as I,an as pi,bO as ui,bg as ye,bQ as Oe,ba as mi,ab as gi,b as C,dW as xi,au as wi,hW as Ci,ac as fi,aA as yi,x as ee,gf as ki,W as Y,s as G,u,c3 as Si,dU as vi,hX as ji,hY as $i,H as Ct,bl as ft,hZ as bi,be as Ii,bT as Ye,h_ as yt,cK as Li,cL as q,a4 as de,f as kt,h$ as zi,bW as Ai,hO as Ge,b6 as St,b8 as vt,ad as je,aR as Fi}from"./index-k1doZNFg.js";import{b as he,a as f}from"./sentry-CytkDQe2.js";import{n as o,c as Qe}from"./mui-Bi07oTwe.js";import{H as Pi,o as Ri,R as Bi,L as Di,_ as _i,M as Ei,S as Ti}from"./common-DEB71I4X-D2h2kF8O.js";import{d as jt}from"./ZeniAvatar-CwHVUcMc-CqvMhhIi.js";import{T as $t}from"./RoleWithToolTip-C8x5yXaK-oTqAGBzT.js";import{j as Ve}from"./CardNumberSubText-DqtLT1w5-3-jd_gkY.js";import{t as bt,r as Oi}from"./spend-limit-D6SyboD4-DuCQ_jaT.js";import{o as Vi,r as Ui}from"./unlock-BPWn2I5L-DplIQ8y4.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]="5f21976f-582e-4e6b-810b-2ff0c0c99d86",e._sentryDebugIdIdentifier="sentry-dbid-5f21976f-582e-4e6b-810b-2ff0c0c99d86")}catch{}})();const me=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Mi=le.getLocalizedStrings().common.strings.empty,Xe={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)},et={key:"cardType",value:me.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},tt={key:"status",value:me.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},it={key:"utilisation",value:me.utilisation,sortOrder:"ascending",width:new C(u[11],u[11],u[11],u[12],120)},ot={key:"limit",value:me.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},It=e=>e===!0?[{...Xe,width:new C(0,0),value:Mi},Ze,et,tt,it,ot]:[Xe,Ze,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Ni}},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 Wi=(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))(Wi||{});const Hi={moreItemFont:new Ct("extraSmallRegular","smallRegular")},Ki=({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,N=f.useCallback(()=>{S(n.id,k)},[n.id]),T=yt(n)/n.limit.amount*100,W=n?.cardHolderUserId===m.userId,F=n.status.code!=="closed"&&n.status.code!=="closed_by_customer",O=Li(n.cardHolderUser,!1),K=n.balance,A=It(_),H=t.jsxs(t.Fragment,{children:[t.jsx(q,{isLoading:g,customStyle:{width:i.sp9,height:"20px",borderRadius:i.sp1},children:t.jsx(ho,{title:de("0,0.[00]",K),className:"amountToUtilize",children:de("0,0.[00]",K)})}),T!==0?t.jsx(q,{isLoading:g,customStyle:{width:i.sp11,height:i.sp3,borderRadius:i.sp1},children:t.jsx(po,{className:"amountToUtilize",children:`${Math.round(T)}${Ni}`})}):null]}),V=n.type.code,te=j.cardList.tooltip[V],ie=te!=null?W?te.self:`${O} ${te.cardUser}`:Ce.strings.empty;return t.jsx(Ji,{windowSize:v,children:t.jsx(Yi,{onClick:N,"data-testid":J("card-row",n.id),children:t.jsxs(Qi,{children:[_?null:t.jsx(pe,{children:t.jsxs(Xi,{windowSize:v,responsiveWidth:A[0].width,children:[t.jsx(q,{isLoading:g,flex:"0 0",customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:t.jsx(jt,{personBasic:n.cardHolderUser,styles:{height:i.sp6,width:i.sp6,minWidth:i.sp6}})}),t.jsxs(eo,{isLoading:g,children:[t.jsx(Zi,{isLoading:g,children:t.jsx(q,{isLoading:g,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(to,{windowSize:v,title:O,className:"cardHolderName",children:O===Ce.strings.empty?Ce.strings.hyphen:O})})}),t.jsx(q,{isLoading:g,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:t.jsx(at,{className:"additionalInfoContainer",children:n.cardHolderRoles?.userRoles!=null&&t.jsx($t,{roles:n.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(pe,{children:t.jsxs(so,{isLoading:g,windowSize:v,responsiveWidth:A[1].width,children:[t.jsx(q,{isLoading:g,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(no,{title:n.cardName,className:"cardName",children:n.cardName})}),t.jsxs(q,{isLoading:g,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(Co,{windowSize:v,className:"cardNameSubText",children:n.status.code==="request_on_hold"?Ce.strings.hyphen:j.cardDetails.expiryHideOut+Ce.strings.space+n.accountLast4})]})]})}),t.jsx(pe,{children:t.jsx(ao,{windowSize:v,responsiveWidth:A[2].width,children:t.jsx(lo,{className:"card-type",children:t.jsx(q,{isLoading:g,customStyle:{width:"144px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Ve,{cardDetail:n,forDetailPage:!1})})})})}),t.jsx(pe,{children:t.jsx(lt,{windowSize:v,isLoading:g,responsiveWidth:A[3].width,children:t.jsx(q,{isLoading:g,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:y===n.id?t.jsx(kt,{size:"Small",start:!0}):t.jsxs(co,{children:[t.jsx(go,{children:n.status.code==="request_on_hold"?t.jsxs(ye,{display:"flex",title:ie,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:[t.jsx(Le,{status:n.status.code,style:{cursor:"pointer"}}),t.jsx(uo,{style:{marginLeft:i.sp1},className:"infoIconTooltip"})]}):t.jsx(Le,{status:n.status.code})}),n.status.code!=="request_on_hold"||W?null:t.jsx(mo,{onClick:Q=>{Q.stopPropagation(),h(n.id)},"data-testid":J("send-reminder",n.id),children:j.cardList.sendReminder})]})})})}),t.jsx(pe,{children:t.jsx(lt,{windowSize:v,isLoading:g,responsiveWidth:A[4].width,children:H})}),t.jsx(pe,{children:t.jsxs(io,{windowSize:v,responsiveWidth:A[5].width,children:[t.jsxs(oo,{windowSize:v,isLoading:g,children:[t.jsx(q,{isLoading:g,customStyle:{width:"68px",height:"20px",borderRadius:i.sp1},children:t.jsx(ro,{className:"limitAmount",windowSize:v,title:de("0,0.[00]",n.limit),children:de("0,0.[00]",n.limit)})}),t.jsx(at,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:g,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:n.creditLimitFrequency.name})})]}),t.jsx(xo,{className:"menu-icon",onMouseEnter:()=>{!p&&F&&R(!0)},onMouseLeave:()=>{F&&R(!1)},children:(()=>{const Q=n.status.code==="locked",ge=n.status.code==="closed"||n.status.code==="closed_by_customer",xe=_?a&&!g&&!ge&&!(Q&&n.isLockedByAdmin):a?!g&&F:n.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:$&&!p&&!b,variant:"standard",title:j.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Oe,{isMenuVisible:!0,menuItems:t.jsx(wo,{children:t.jsx(Lt,{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(${i.sp3},${i.sp2})`}})})})()})]})})]})})})},Lt=({cardDetail:e,isCardControlsEnabled:r,isChargeCardUser:s,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const n=oe();return r?e.status.code==="request_on_hold"?s?t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(re,{}),t.jsx(E,{children:j.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(re,{}),t.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Gi,{}),t.jsx(fe,{children:j.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?s?t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(re,{}),t.jsx(E,{children:j.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(re,{}),t.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?s?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(nt,{}),t.jsx(E,{children:j.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(re,{}),t.jsx(E,{children:j.cardDetails.moreOptions.rename})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(nt,{}),t.jsx(E,{children:j.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(re,{}),t.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(rt,{}),t.jsx(E,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):s?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(re,{}),t.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(st,{}),t.jsx(E,{children:j.cardDetails.moreOptions.lock})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(rt,{}),t.jsx(E,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(re,{}),t.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(st,{}),t.jsx(E,{children:j.cardDetails.moreOptions.lock})]}),t.jsx($e,{}),t.jsxs(L,{windowSize:n,hoverImportant:!0,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?t.jsx(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:t.jsx(fe,{children:j.cardDetails.revokeInvite})}):null},Le=({status:e,style:r})=>{const s=ze(),d=qi(e,s),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return oe()==="small"?t.jsx(Ge,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...r}}):t.jsx(Ge,{textColor:d,text:c[e],styles:r,tagStyles:{padding:"1px 6px"}})},qi=(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(G)`
|
|
2
2
|
color: inherit;
|
|
3
3
|
`,fe=o(G)`
|
|
4
4
|
color: ${I.important};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as Pe,t as Le,J as H,y as V,V as t,a_ as ze,j as I,O as T,u as l,o as i,b as x,bz as Re,a6 as O,an as Ie,bO as Te,ba as De,ab as Be,s as W,cL as j,ga as U,a4 as _,bg as Oe,be as Me,W as N,bT as G,e as f,gb as he,f8 as pe,f4 as me,bB as Ae,x as F,hO as ge,b8 as Ne,ij as He,h$ as We,bW as Ee,ad as z}from"./index-
|
|
1
|
+
import{c as Pe,t as Le,J as H,y as V,V as t,a_ as ze,j as I,O as T,u as l,o as i,b as x,bz as Re,a6 as O,an as Ie,bO as Te,ba as De,ab as Be,s as W,cL as j,ga as U,a4 as _,bg as Oe,be as Me,W as N,bT as G,e as f,gb as he,f8 as pe,f4 as me,bB as Ae,x as F,hO as ge,b8 as Ne,ij as He,h$ as We,bW as Ee,ad as z}from"./index-k1doZNFg.js";import{a as S,b as J}from"./sentry-CytkDQe2.js";import{n,c as Q}from"./mui-Bi07oTwe.js";import{m as Ke}from"./BusyIndication-DizZe0Gu-1EWobmeT.js";import{t as _e}from"./SpendManagementSection-dT-N4bSQ-BU7QcxyK.js";import{r as Ve,a as Fe,i as ye,g as Ye}from"./SpendManagementListViewPage-9V9u1jPF-CAhShlf6.js";import{u as Ze}from"./MoreMenuButton-CJue6xR9-DaOmUQCK.js";import{c as X,L as Ue,M as Je,S as qe}from"./common-DEB71I4X-D2h2kF8O.js";import{FK as ue,FL as xe}from"./zeni-epic-state-DyRbb6Q5.js";import{d as Ge}from"./ZeniAvatar-CwHVUcMc-CqvMhhIi.js";import{r as Qe}from"./auto-transfer-rule-mbafm5D3-CL7RFrAP.js";import"./pdf-emb33J2I.js";import"./core-twTS7Cne.js";import"./lottie-Bdr-9mLw.js";import"./liveblocks-CM0QMS_I.js";import"./recharts-CS0s98U8.js";import"./dnd-BWijMgNi.js";import"./analytics-BuacLKrs.js";import"./plaid-Dw_qIY4R.js";import"./utils-CSjogEj5.js";import"./filter-cZIFUNvj-CH_l3zIc.js";import"./ZeniDatePicker-DCurorsW-D16AsniI.js";import"./avatar-Dz7aEm3d--QTMwhPr.js";import"./StatusSwitcher-CaoFw0cf-BSUpAcCG.js";import"./spend-limit-D6SyboD4-DuCQ_jaT.js";import"./dollar-round-D18u7nlm-CiBCyYiG.js";import"./money-2cg1MuG4-B6SZvN8P.js";import"./page-summary-D7_VQHwN-pIoT3Pmw.js";import"./transaction-placeholder-CpOwZAMG-DuWev16q.js";import"./unlock-BPWn2I5L-DplIQ8y4.js";import"./calculateSize-Bn1NnCzV-SxKA7C8w.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]="79091401-3029-487c-8c41-4d43e22e8674",e._sentryDebugIdIdentifier="sentry-dbid-79091401-3029-487c-8c41-4d43e22e8674")}catch{}})();const E=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,Xe={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},et={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},tt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},it={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},nt={key:"amount",value:E.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(Je,qe)},ot=J.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(G,{})})})]})]}):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(G,{})})})]}),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{J as b,V as r,y as O,t as ye,c as be,a7 as $e,a4 as je,fc as Se,a_ as Te,eO as ze,i as Q,a6 as ee,O as ne,o as i,bX as ve,l as J,bY as Pe,I as ke,b as x,n as Ie,bg as Ae,hS as Be,x as Le,u as p,H as j,e as C,au as _e,ac as Re,hT as Me}from"./index-BtPm9NIK.js";import{a as S}from"./sentry-DU2EcgXN.js";import{n as o,c as Ee,k as De}from"./mui-BHPGtaMB.js";import{Ej as Fe}from"./zeni-epic-state-Bnfd9FE6.js";import{k as Ne}from"./NavigationDots-Bv4tBDN3-Bbc9Y5nB.js";import{J as H,N as G}from"./PromoBaseCards-DdCMZIc7-DUsRLuwv.js";import{M as L}from"./usp-line-BBd1wKwW-DNpFJb5T.js";import"./pdf-BC9fZG9d.js";import"./core-B3AUZ034.js";import"./lottie-BaQk2SMe.js";import"./liveblocks-DFhc43aC.js";import"./recharts-DCahVeG0.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./plaid-Koifne5k.js";import"./utils-CPca4UDN.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]="9ecb5c3f-b338-43d9-9560-ae65fc3ca799",e._sentryDebugIdIdentifier="sentry-dbid-9ecb5c3f-b338-43d9-9560-ae65fc3ca799")}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:n}}}=ne.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:_,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:X,onExpressInterestClick:ge})=>{const he=O(),V=ye(),z=b(),W=be().analytics,{chargeCardTermsDetails:R,companyChargeCardInfo:f,companyLocaleInfo:M}=t,Y=$e(R?.fetchStatus.fetchState),[xe,Z]=S.useState(!1),we=f!=null&&M!=null?je("0,0",{amount:f.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;S.useEffect(()=>{Y==="In-Progress"&&R?.fetchStatus.fetchState==="Completed"&&X()},[Y,X,R?.fetchStatus]);const q=Fe(V.loggedInUserRoleMap),ue=Se(V),E=d==="credit"&&f?.isCompanyInterestedInChargeCard===!1&&f.chargeCardsCreditAccountLimit===0,D=d==="credit"&&f?.isCompanyInterestedInChargeCard===!0&&f.chargeCardsCreditAccountLimit===-1,F=d==="credit"&&f?.isCompanyInterestedInChargeCard===!0&&f.chargeCardsCreditAccountLimit===0,fe=d==="credit"&&f?.isCompanyInterestedInChargeCard===!0&&f.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:Ce}=t,K=E?n.getPreApprovedNow:a?n.enableCardsButton:n.setupCardsButton;return r.jsxs(Xe,{children:[r.jsx(Te,{title:n.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:()=>{Z(!1)},meetingUrl:e}):null,r.jsx(Ze,{windowSize:z,children:q===!0?r.jsxs(Ye,{children:[r.jsxs(We,{children:[r.jsx(He,{isApproved:fe,creditAmount:we,cardPromoType:d,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:f?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:d,cashbackRate:v})]}),r.jsx(oe,{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:n.scheduleDemoButton,style:{width:166},onClick:()=>{W.trackCardsPromoPageClicked("schedule demo"),W.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:w,isCreditCardEnabled:u},"Cards Promo"),Z(!0)},"data-testid":ee("schedule-demo-button")}),r.jsx(Ve,{windowSize:z,children:n.orText}),r.jsx(Q,{variant:"primary",label:K,style:{minWidth:166},loading:t.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||Ce==="In-Progress",onClick:K===n.getPreApprovedNow?ge:()=>_(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:n.noCardAssigned.pre}),r.jsx(Ae,{title:s,placement:"top-start",style:{padding:`2px ${i.sp2}`},children:r.jsx(U,{underline:!0,windowSize:t,children:n.noCardAssigned.tooltip})}),r.jsx(U,{underline:!1,windowSize:t,children:n.noCardAssigned.post})]})},oe=({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:n.terms.checkingAccountTerm,buttonTermLabel:a===!0||c===!0||h===!0?void 0:m===!0?n.terms.getPreApprovedNowTerm:s?n.terms.alternateTerm1:n.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"?n.promoTextDebitCreditCard:s==="debit"?n.promoTextDebitCard:n.promoTextCreditCard,$=e?r.jsxs(r.Fragment,{children:[n.promoBadgeText.approved,r.jsx(ie,{children:t}),n.creditLimit,N.strings.space]}):m?r.jsxs(r.Fragment,{children:[n.promoBadgeText.nonPreApproved.get,r.jsx(er,{children:n.promoBadgeText.nonPreApproved.scale}),n.promoBadgeText.nonPreApproved.doubleStarred,N.strings.space,n.promoBadgeText.nonPreApproved.higherLimits]}):a?n.promoBadgeText.underReview:c?n.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[n.promoBadgeText.preApproved,r.jsx(ie,{children:t}),n.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:n.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:n.promoSubText})]})}),r.jsxs(Ke,{cardPromoType:s,hasContent:$!=null,hideBadge:t==null||s==="debit",windowSize:w,children:[a||c||m?null:r.jsx(Cr,{}),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"?n.promoTextDebitCreditCard:m==="debit"?n.promoTextDebitCard:n.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:u}),r.jsx(ce,{children:n.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:n.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(oe,{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=n.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else m=n.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:ne.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=n.businessText;return s==="debit"&&(t=`${t} ${n.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Je,{}):r.jsxs(or,{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=n.benefits;return r.jsxs(rr,{windowSize:t,children:[t==="small"?r.jsx(re,{windowSize:t,cardPromoType:e}):null,r.jsxs(nr,{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=n.businessText,w=`${h} ${n.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:()=>(_=>{c||m(!0),a(_)})(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=o.div`
|
|
1
|
+
import{J as b,V as r,y as O,t as ye,c as be,a7 as $e,a4 as je,fc as Se,a_ as Te,eO as ze,i as Q,a6 as ee,O as ne,o as i,bX as ve,l as J,bY as Pe,I as ke,b as x,n as Ie,bg as Ae,hS as Be,x as Le,u as p,H as j,e as C,au as _e,ac as Re,hT as Me}from"./index-k1doZNFg.js";import{a as S}from"./sentry-CytkDQe2.js";import{n as o,c as Ee,k as De}from"./mui-Bi07oTwe.js";import{Ej as Fe}from"./zeni-epic-state-DyRbb6Q5.js";import{k as Ne}from"./NavigationDots-Bv4tBDN3-CX4VVQFS.js";import{J as H,N as G}from"./PromoBaseCards-DdCMZIc7-Df8cZl94.js";import{M as L}from"./usp-line-BBd1wKwW-DHy4exHr.js";import"./pdf-emb33J2I.js";import"./core-twTS7Cne.js";import"./lottie-Bdr-9mLw.js";import"./liveblocks-CM0QMS_I.js";import"./recharts-CS0s98U8.js";import"./dnd-BWijMgNi.js";import"./analytics-BuacLKrs.js";import"./plaid-Dw_qIY4R.js";import"./utils-CSjogEj5.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]="9ecb5c3f-b338-43d9-9560-ae65fc3ca799",e._sentryDebugIdIdentifier="sentry-dbid-9ecb5c3f-b338-43d9-9560-ae65fc3ca799")}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:n}}}=ne.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:_,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:X,onExpressInterestClick:ge})=>{const he=O(),V=ye(),z=b(),W=be().analytics,{chargeCardTermsDetails:R,companyChargeCardInfo:f,companyLocaleInfo:M}=t,Y=$e(R?.fetchStatus.fetchState),[xe,Z]=S.useState(!1),we=f!=null&&M!=null?je("0,0",{amount:f.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;S.useEffect(()=>{Y==="In-Progress"&&R?.fetchStatus.fetchState==="Completed"&&X()},[Y,X,R?.fetchStatus]);const q=Fe(V.loggedInUserRoleMap),ue=Se(V),E=d==="credit"&&f?.isCompanyInterestedInChargeCard===!1&&f.chargeCardsCreditAccountLimit===0,D=d==="credit"&&f?.isCompanyInterestedInChargeCard===!0&&f.chargeCardsCreditAccountLimit===-1,F=d==="credit"&&f?.isCompanyInterestedInChargeCard===!0&&f.chargeCardsCreditAccountLimit===0,fe=d==="credit"&&f?.isCompanyInterestedInChargeCard===!0&&f.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:Ce}=t,K=E?n.getPreApprovedNow:a?n.enableCardsButton:n.setupCardsButton;return r.jsxs(Xe,{children:[r.jsx(Te,{title:n.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:()=>{Z(!1)},meetingUrl:e}):null,r.jsx(Ze,{windowSize:z,children:q===!0?r.jsxs(Ye,{children:[r.jsxs(We,{children:[r.jsx(He,{isApproved:fe,creditAmount:we,cardPromoType:d,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:f?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:d,cashbackRate:v})]}),r.jsx(oe,{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:n.scheduleDemoButton,style:{width:166},onClick:()=>{W.trackCardsPromoPageClicked("schedule demo"),W.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:w,isCreditCardEnabled:u},"Cards Promo"),Z(!0)},"data-testid":ee("schedule-demo-button")}),r.jsx(Ve,{windowSize:z,children:n.orText}),r.jsx(Q,{variant:"primary",label:K,style:{minWidth:166},loading:t.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||Ce==="In-Progress",onClick:K===n.getPreApprovedNow?ge:()=>_(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:n.noCardAssigned.pre}),r.jsx(Ae,{title:s,placement:"top-start",style:{padding:`2px ${i.sp2}`},children:r.jsx(U,{underline:!0,windowSize:t,children:n.noCardAssigned.tooltip})}),r.jsx(U,{underline:!1,windowSize:t,children:n.noCardAssigned.post})]})},oe=({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:n.terms.checkingAccountTerm,buttonTermLabel:a===!0||c===!0||h===!0?void 0:m===!0?n.terms.getPreApprovedNowTerm:s?n.terms.alternateTerm1:n.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"?n.promoTextDebitCreditCard:s==="debit"?n.promoTextDebitCard:n.promoTextCreditCard,$=e?r.jsxs(r.Fragment,{children:[n.promoBadgeText.approved,r.jsx(ie,{children:t}),n.creditLimit,N.strings.space]}):m?r.jsxs(r.Fragment,{children:[n.promoBadgeText.nonPreApproved.get,r.jsx(er,{children:n.promoBadgeText.nonPreApproved.scale}),n.promoBadgeText.nonPreApproved.doubleStarred,N.strings.space,n.promoBadgeText.nonPreApproved.higherLimits]}):a?n.promoBadgeText.underReview:c?n.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[n.promoBadgeText.preApproved,r.jsx(ie,{children:t}),n.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:n.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:n.promoSubText})]})}),r.jsxs(Ke,{cardPromoType:s,hasContent:$!=null,hideBadge:t==null||s==="debit",windowSize:w,children:[a||c||m?null:r.jsx(Cr,{}),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"?n.promoTextDebitCreditCard:m==="debit"?n.promoTextDebitCard:n.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:u}),r.jsx(ce,{children:n.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:n.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(oe,{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=n.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else m=n.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:ne.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=n.businessText;return s==="debit"&&(t=`${t} ${n.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Je,{}):r.jsxs(or,{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=n.benefits;return r.jsxs(rr,{windowSize:t,children:[t==="small"?r.jsx(re,{windowSize:t,cardPromoType:e}):null,r.jsxs(nr,{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=n.businessText,w=`${h} ${n.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:()=>(_=>{c||m(!0),a(_)})(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=o.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-BC9fZG9d.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 Ht,m as te}from"./core-B3AUZ034.js";import{cs as ce,Ej as Be,L_ as Ia,cx as ye,cy as Se,cz as Ie,ds as He,bH as Ge,L$ as $e,M0 as Va,p6 as ha,gS as ga,M1 as fa,ef as ra,vf as Qe,vh as Na,vi as Ha,gK as ct,M2 as ze,v3 as it,M3 as Gt,M4 as $t,v6 as Ea,M5 as zt,Ku as ka,ni as dt,vc as Ga,eq as Kt,M6 as lt,M7 as Ke,bs as Zt,M8 as Yt,di as Aa,dh as Da,vM as Wt,dg as _a,Ka as qt,M9 as ut,Ek as mt,bM as Jt,Kt as ca,wm as Qt,Ma as Xa,vY as wa,Mb as Ct,wn as Xt,KU as en,wo as an,xi as tn,os as nn,xc as rn,vx as pt,vq as sn,Mc as on,du as cn,vG as ht,vK as gt,dt as dn,Md as ln,w8 as ft,Me as un,Mf as mn,Mg as Cn,vI as bt,vt as yt,v9 as St,vC as It,vA as Et,vE as pn,vg as et,Mh as kt,Mi as Pa,vV as ba,H8 as At,bN as $a,Mj as hn,Mk as gn,Ml as fn,Mm as bn,vS as Oa,wf as yn,wb as Sn,vO as In,wd as En,w3 as kn,w5 as An,Mn as Dt,wl as _t,CI as Dn,Mo as _n,Mp as wn,Mq as Pn,Mr as wt,Ms as Tn,wI as Fn,vX as Pt,vR as sa,vW as vn,Mt as xn,Mu as Ln,v0 as Bn,Mv as Tt,Mw as Ft,Mx as Un,v2 as Rn,v1 as at,My as On,Mz as Mn,MA as jn,H4 as Vn,MB as za,MC as Nn,rU as vt,hq as Hn,eg as Gn,wN as $n,MD as xt,ME as zn,wO as Kn,MF as Zn,ca as Yn,p0 as Wn,wD as qn,wx as Le,bt as Jn,Fa as Qn,Fb as Xn,Fk as er,Gp as ar}from"./zeni-epic-state-Bnfd9FE6.js";import{je as Q,t as Re,aE as oe,aG as Y,jC as _e,ly as Ta,lJ as tr,lK as nr,jy as Te,J as ia,aF as Pe,jA as fe,kV as Ka,lL as rr,b as da,jp as Fa,y as va,jl as q,O as Za,lM as sr,a7 as Ya,hV as qe,cK as Ma,f as or,bc as Wa,jX as cr,lN as ir,kg as Lt,jT as ja,jR as Bt,G as Ut,lO as dr,lP as lr,lQ as ur,lR as mr,o as ya,lS as Cr,lT as pr,u as Ba,w as hr,lU as gr,lV as fr,lW as br,jZ as yr}from"./index-BtPm9NIK.js";import{n as Ee,D as Rt,S as Sr}from"./mui-BHPGtaMB.js";import{a as l}from"./sentry-DU2EcgXN.js";import{g as pe,a as la,b as Ot,c as ke,d as Ae,e as Ue,f as Oe,A as Ir,h as qa,P as Er,i as Ja,s as Je,j as Mt,k as Ne,l as jt,m as kr,n as Vt,p as Ar,S as tt}from"./SetupPagesScreen-dWvv8Vkm.js";import xa from"./NotFoundScreen-C-f3wZff.js";import{M as ua}from"./MobileAppDrawer-CDJXGCc5.js";import{v as nt}from"./utils-CPca4UDN.js";import{t as Dr}from"./AddressScreen-BWfJAlfj.js";import"./lottie-BaQk2SMe.js";import"./liveblocks-DFhc43aC.js";import"./recharts-DCahVeG0.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./plaid-Koifne5k.js";import"./analyticsHelper-Bh2orC3q.js";import"./routePaths-Dqvnjt0t.js";import"./BusinessVerificationPageScreen-C7iPYOZn.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]="8e699aea-0d83-47a0-9155-9a98ff52d8ea",e._sentryDebugIdIdentifier="sentry-dbid-8e699aea-0d83-47a0-9155-9a98ff52d8ea")}catch{}})();function _r(){const e=ue(),{cardId:t}=oa(),a=me(),r=Q.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[k,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(Y.isChargeCardFeatureEnabled),C=!!n.companyChargeCardInfo?.info?.isChargeCardEnabled,{isFeatureEnabled:U}=m(Y.isDebitCardFeatureEnabled),v=ye(n),T=Se(n),d=Ie(U,n),f=n.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,b=ke({isDebitCardFeatureEnabled:U,isBankingOnlyTenant:d}),o=Ae({isCardsOnlyTenant:v,isChargeCardFeatureEnabled:_,isBookKeepingTenant:T,isDebitCardProductVisible:b,chargeCardsCreditAccountLimit:f}),w=!!n.companyDebitCardInfo?.info?.isDebitCardEnabled,O=S(W=>He(W,n.companyId)),M=Ge(O.controllers),{creditAccount:L,creditAccountRepayment:F}=S(W=>$e(W)),R=S(W=>W.classListState.fetchState),p=!I&&o&&C,h=S(W=>Va(W,t,p,o)),[E,A]=l.useState(!1),H=h.chargeCard,G=H?.cardCreatedByUser?.userId,N=S(W=>G!=null?ha(W.userRoleState,G):void 0),B=N?.accountingClassIDs[0],y=S(W=>B!=null?ga(W.classState,{classId:B,reportId:"class_list"}):void 0),K=H?.cardHolderUser?.userId,x=S(W=>K!=null?ha(W.userRoleState,K):void 0),P=x?.accountingClassIDs[0],z=S(W=>P!=null?ga(W.classState,{classId:P,reportId:"class_list"}):void 0),D=H?.type.code==="business_physical_credit_card"||H?.type.code==="business_physical_debit_card",Z=H?.type.code==="business_physical_debit_card";l.useEffect(()=>{g&&k===!1&&D&&(i(!0),setTimeout(()=>{a(fa()),Z&&a(ra({messageSection:"set_debit_card_pin",messageText:"success",type:"success",showStatusIcon:!0}))},5e3))},[g,k,D,Z]),l.useEffect(()=>{E||h.fetchState==="Completed"||h.fetchState==="In-Progress"||t==null||(A(!0),a(Qe(t,p,!1)))},[E,h,t,a]),l.useEffect(()=>{if(h.fetchState==="Completed"&&(D===!1||D&&H?.status?.code!=="active"||H?.cardHolderUserId!==r.userId||g===!1&&k===!1||H?.type.code==="business_physical_debit_card"||H?.type.code==="business_virtual_debit_card")){const W=pe(n.tenantEmailDomain,t,r,H,g);e(W)}},[h.fetchState,g,D]),l.useEffect(()=>{L.fetchState!=="Completed"&&L.fetchState!=="In-Progress"&&o&&C&&u&&a(Na()),F.fetchState!=="Completed"&&F.fetchState!=="In-Progress"&&o&&C&&u&&a(Ha()),R!=="Completed"&&R!=="In-Progress"&&a(ct())},[L.fetchState,F.fetchState,a,o,C,u,R]);const $=()=>{if(r!=null&&t!=null){a(fa());const W=pe(n.tenantEmailDomain,t,r);e(W)}},ae=H?.type.code==="business_physical_debit_card"||H?.type.code==="business_virtual_debit_card",se=Ue(o,b,w,C),X=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:$,isDebitCard:H?.type.code==="business_physical_debit_card",controllerEmails:M,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:b,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:C,productInformation:se,creditAccountInformation:X,debitAccountInformation:de,chargeCardDetailView:h,creditAccount:L,classListFetchState:R,creditAccountRepayment:F,cardIssuedByRoles:N?.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(Gt({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=Q.getSignedInUser(),n=S(k=>ce(k)),[c,u]=l.useState(!1),m=S(k=>ze(k));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,k]=l.useState(!1),[i,g]=l.useState(!1),[I,_]=l.useState(!1),[C,U]=l.useState(!1),v=Q.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=>$t(z,n)),o=b.chargeCard,w=S(z=>z.chargeCardConfigState.fetchState),{useFeatureGate:O}=oe(),{isFeatureEnabled:M}=O(Y.isChargeCardFeatureEnabled),{isFeatureEnabled:L}=O(Y.isDebitCardFeatureEnabled),F=Ie(L,T),R=ke({isDebitCardFeatureEnabled:L,isBankingOnlyTenant:F}),p=!!T.companyChargeCardInfo?.info?.isChargeCardEnabled,h=T.userRole.includes("charge_card_user"),E=ye(T),A=Se(T),H=T.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,G=Ae({isCardsOnlyTenant:E,isChargeCardFeatureEnabled:M,isBookKeepingTenant:A,isDebitCardProductVisible:R,chargeCardsCreditAccountLimit:H}),N=!h&&G&&p;l.useEffect(()=>{m===!1&&w!=="In-Progress"&&w!=="Completed"&&(a(Ea()),k(!0)),i===!1&&b.fetchState==="Not-Started"&&(g(!0),a(Qe(n,N,G)))},[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(ka()),r(z,{state:{pathnameStackToGoBack:D}})}}},[b.fetchState,o?.type.code,I,b.isRefreshingViewInBackground]);const y=Q.getZeniOtpTokenForCardHolder(n),K=S(z=>dt(z.userState,v.userId)),x=()=>{o?.status?.code!=="active"&&a(Ga(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(K?.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:K.phone,signedInUser:v,isSandboxEnv:Ka(),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=Kt(e.addressState,a);if(c==null)throw Error("Can't access shippingAddress.");const u=lt(e,n),m=t.updateStatus,k=Ke(e,!1,!1,!1);let i=!1;k.fetchState==="Completed"&&k.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:k}=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&&Q.saveZeniOtpTokenForCardHolder(i,r)},onCVVActivateSuccess:()=>{e(Yt({chargeCardId:r}))},onBackClick:()=>{const i=Te(n.state?.pathnameStackToGoBack),g=i.poppedPathname==null||i.poppedPathname.includes("onboard")===!0?Oe(k):i.poppedPathname;a(g,{state:{pathnameStackToGoBack:i.newStack}})}}})(rr),Lr=Ee.div`
|
|
1
|
+
import{j as s}from"./pdf-emb33J2I.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 Ht,m as te}from"./core-twTS7Cne.js";import{cs as ce,Ej as Be,L_ as Ia,cx as ye,cy as Se,cz as Ie,ds as He,bH as Ge,L$ as $e,M0 as Va,p6 as ha,gS as ga,M1 as fa,ef as ra,vf as Qe,vh as Na,vi as Ha,gK as ct,M2 as ze,v3 as it,M3 as Gt,M4 as $t,v6 as Ea,M5 as zt,Ku as ka,ni as dt,vc as Ga,eq as Kt,M6 as lt,M7 as Ke,bs as Zt,M8 as Yt,di as Aa,dh as Da,vM as Wt,dg as _a,Ka as qt,M9 as ut,Ek as mt,bM as Jt,Kt as ca,wm as Qt,Ma as Xa,vY as wa,Mb as Ct,wn as Xt,KU as en,wo as an,xi as tn,os as nn,xc as rn,vx as pt,vq as sn,Mc as on,du as cn,vG as ht,vK as gt,dt as dn,Md as ln,w8 as ft,Me as un,Mf as mn,Mg as Cn,vI as bt,vt as yt,v9 as St,vC as It,vA as Et,vE as pn,vg as et,Mh as kt,Mi as Pa,vV as ba,H8 as At,bN as $a,Mj as hn,Mk as gn,Ml as fn,Mm as bn,vS as Oa,wf as yn,wb as Sn,vO as In,wd as En,w3 as kn,w5 as An,Mn as Dt,wl as _t,CI as Dn,Mo as _n,Mp as wn,Mq as Pn,Mr as wt,Ms as Tn,wI as Fn,vX as Pt,vR as sa,vW as vn,Mt as xn,Mu as Ln,v0 as Bn,Mv as Tt,Mw as Ft,Mx as Un,v2 as Rn,v1 as at,My as On,Mz as Mn,MA as jn,H4 as Vn,MB as za,MC as Nn,rU as vt,hq as Hn,eg as Gn,wN as $n,MD as xt,ME as zn,wO as Kn,MF as Zn,ca as Yn,p0 as Wn,wD as qn,wx as Le,bt as Jn,Fa as Qn,Fb as Xn,Fk as er,Gp as ar}from"./zeni-epic-state-DyRbb6Q5.js";import{je as Q,t as Re,aE as oe,aG as Y,jC as _e,ly as Ta,lJ as tr,lK as nr,jy as Te,J as ia,aF as Pe,jA as fe,kV as Ka,lL as rr,b as da,jp as Fa,y as va,jl as q,O as Za,lM as sr,a7 as Ya,hV as qe,cK as Ma,f as or,bc as Wa,jX as cr,lN as ir,kg as Lt,jT as ja,jR as Bt,G as Ut,lO as dr,lP as lr,lQ as ur,lR as mr,o as ya,lS as Cr,lT as pr,u as Ba,w as hr,lU as gr,lV as fr,lW as br,jZ as yr}from"./index-k1doZNFg.js";import{n as Ee,D as Rt,S as Sr}from"./mui-Bi07oTwe.js";import{a as l}from"./sentry-CytkDQe2.js";import{g as pe,a as la,b as Ot,c as ke,d as Ae,e as Ue,f as Oe,A as Ir,h as qa,P as Er,i as Ja,s as Je,j as Mt,k as Ne,l as jt,m as kr,n as Vt,p as Ar,S as tt}from"./SetupPagesScreen-Bjv1_530.js";import xa from"./NotFoundScreen-BBemVqe2.js";import{M as ua}from"./MobileAppDrawer-B2Fzw8F_.js";import{v as nt}from"./utils-CSjogEj5.js";import{t as Dr}from"./AddressScreen-CE8x2lDp.js";import"./lottie-Bdr-9mLw.js";import"./liveblocks-CM0QMS_I.js";import"./recharts-CS0s98U8.js";import"./dnd-BWijMgNi.js";import"./analytics-BuacLKrs.js";import"./plaid-Dw_qIY4R.js";import"./analyticsHelper-CHcSxJdc.js";import"./routePaths-DiyiibEL.js";import"./BusinessVerificationPageScreen-CsiX3KGh.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]="8e699aea-0d83-47a0-9155-9a98ff52d8ea",e._sentryDebugIdIdentifier="sentry-dbid-8e699aea-0d83-47a0-9155-9a98ff52d8ea")}catch{}})();function _r(){const e=ue(),{cardId:t}=oa(),a=me(),r=Q.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[k,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(Y.isChargeCardFeatureEnabled),C=!!n.companyChargeCardInfo?.info?.isChargeCardEnabled,{isFeatureEnabled:U}=m(Y.isDebitCardFeatureEnabled),v=ye(n),T=Se(n),d=Ie(U,n),f=n.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,b=ke({isDebitCardFeatureEnabled:U,isBankingOnlyTenant:d}),o=Ae({isCardsOnlyTenant:v,isChargeCardFeatureEnabled:_,isBookKeepingTenant:T,isDebitCardProductVisible:b,chargeCardsCreditAccountLimit:f}),w=!!n.companyDebitCardInfo?.info?.isDebitCardEnabled,O=S(W=>He(W,n.companyId)),M=Ge(O.controllers),{creditAccount:L,creditAccountRepayment:F}=S(W=>$e(W)),R=S(W=>W.classListState.fetchState),p=!I&&o&&C,h=S(W=>Va(W,t,p,o)),[E,A]=l.useState(!1),H=h.chargeCard,G=H?.cardCreatedByUser?.userId,N=S(W=>G!=null?ha(W.userRoleState,G):void 0),B=N?.accountingClassIDs[0],y=S(W=>B!=null?ga(W.classState,{classId:B,reportId:"class_list"}):void 0),K=H?.cardHolderUser?.userId,x=S(W=>K!=null?ha(W.userRoleState,K):void 0),P=x?.accountingClassIDs[0],z=S(W=>P!=null?ga(W.classState,{classId:P,reportId:"class_list"}):void 0),D=H?.type.code==="business_physical_credit_card"||H?.type.code==="business_physical_debit_card",Z=H?.type.code==="business_physical_debit_card";l.useEffect(()=>{g&&k===!1&&D&&(i(!0),setTimeout(()=>{a(fa()),Z&&a(ra({messageSection:"set_debit_card_pin",messageText:"success",type:"success",showStatusIcon:!0}))},5e3))},[g,k,D,Z]),l.useEffect(()=>{E||h.fetchState==="Completed"||h.fetchState==="In-Progress"||t==null||(A(!0),a(Qe(t,p,!1)))},[E,h,t,a]),l.useEffect(()=>{if(h.fetchState==="Completed"&&(D===!1||D&&H?.status?.code!=="active"||H?.cardHolderUserId!==r.userId||g===!1&&k===!1||H?.type.code==="business_physical_debit_card"||H?.type.code==="business_virtual_debit_card")){const W=pe(n.tenantEmailDomain,t,r,H,g);e(W)}},[h.fetchState,g,D]),l.useEffect(()=>{L.fetchState!=="Completed"&&L.fetchState!=="In-Progress"&&o&&C&&u&&a(Na()),F.fetchState!=="Completed"&&F.fetchState!=="In-Progress"&&o&&C&&u&&a(Ha()),R!=="Completed"&&R!=="In-Progress"&&a(ct())},[L.fetchState,F.fetchState,a,o,C,u,R]);const $=()=>{if(r!=null&&t!=null){a(fa());const W=pe(n.tenantEmailDomain,t,r);e(W)}},ae=H?.type.code==="business_physical_debit_card"||H?.type.code==="business_virtual_debit_card",se=Ue(o,b,w,C),X=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:$,isDebitCard:H?.type.code==="business_physical_debit_card",controllerEmails:M,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:b,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:C,productInformation:se,creditAccountInformation:X,debitAccountInformation:de,chargeCardDetailView:h,creditAccount:L,classListFetchState:R,creditAccountRepayment:F,cardIssuedByRoles:N?.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(Gt({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=Q.getSignedInUser(),n=S(k=>ce(k)),[c,u]=l.useState(!1),m=S(k=>ze(k));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,k]=l.useState(!1),[i,g]=l.useState(!1),[I,_]=l.useState(!1),[C,U]=l.useState(!1),v=Q.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=>$t(z,n)),o=b.chargeCard,w=S(z=>z.chargeCardConfigState.fetchState),{useFeatureGate:O}=oe(),{isFeatureEnabled:M}=O(Y.isChargeCardFeatureEnabled),{isFeatureEnabled:L}=O(Y.isDebitCardFeatureEnabled),F=Ie(L,T),R=ke({isDebitCardFeatureEnabled:L,isBankingOnlyTenant:F}),p=!!T.companyChargeCardInfo?.info?.isChargeCardEnabled,h=T.userRole.includes("charge_card_user"),E=ye(T),A=Se(T),H=T.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,G=Ae({isCardsOnlyTenant:E,isChargeCardFeatureEnabled:M,isBookKeepingTenant:A,isDebitCardProductVisible:R,chargeCardsCreditAccountLimit:H}),N=!h&&G&&p;l.useEffect(()=>{m===!1&&w!=="In-Progress"&&w!=="Completed"&&(a(Ea()),k(!0)),i===!1&&b.fetchState==="Not-Started"&&(g(!0),a(Qe(n,N,G)))},[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(ka()),r(z,{state:{pathnameStackToGoBack:D}})}}},[b.fetchState,o?.type.code,I,b.isRefreshingViewInBackground]);const y=Q.getZeniOtpTokenForCardHolder(n),K=S(z=>dt(z.userState,v.userId)),x=()=>{o?.status?.code!=="active"&&a(Ga(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(K?.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:K.phone,signedInUser:v,isSandboxEnv:Ka(),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=Kt(e.addressState,a);if(c==null)throw Error("Can't access shippingAddress.");const u=lt(e,n),m=t.updateStatus,k=Ke(e,!1,!1,!1);let i=!1;k.fetchState==="Completed"&&k.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:k}=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&&Q.saveZeniOtpTokenForCardHolder(i,r)},onCVVActivateSuccess:()=>{e(Yt({chargeCardId:r}))},onBackClick:()=>{const i=Te(n.state?.pathnameStackToGoBack),g=i.poppedPathname==null||i.poppedPathname.includes("onboard")===!0?Oe(k):i.poppedPathname;a(g,{state:{pathnameStackToGoBack:i.newStack}})}}})(rr),Lr=Ee.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 Ve,J as Ue,c as Be,a7 as G,T as _e,b$ as ze,ad as J,V as t,ew as Re,e as $e,b as d,a_ as Le,f as We,A as Ne,eP as qe,d3 as He,eQ as Me,o as U,j as Ge,hU as Q,aU as Je,a9 as Qe,eS as Ke,O as Xe,u as o,s as Ye}from"./index-
|
|
1
|
+
import{y as Ve,J as Ue,c as Be,a7 as G,T as _e,b$ as ze,ad as J,V as t,ew as Re,e as $e,b as d,a_ as Le,f as We,A as Ne,eP as qe,d3 as He,eQ as Me,o as U,j as Ge,hU as Q,aU as Je,a9 as Qe,eS as Ke,O as Xe,u as o,s as Ye}from"./index-k1doZNFg.js";import{a as m}from"./sentry-CytkDQe2.js";import{n as S}from"./mui-Bi07oTwe.js";import{ca as Ze}from"./zeni-epic-state-DyRbb6Q5.js";import{x as et}from"./LabeledControlledCheckBoxField-CgZg0uOW-CRnqdJf1.js";import{g as tt}from"./UploadAdditionalDocumentOverlay-DZfpwE5J-BZwjrrpj.js";import"./pdf-emb33J2I.js";import"./core-twTS7Cne.js";import"./lottie-Bdr-9mLw.js";import"./liveblocks-CM0QMS_I.js";import"./recharts-CS0s98U8.js";import"./dnd-BWijMgNi.js";import"./analytics-BuacLKrs.js";import"./plaid-Dw_qIY4R.js";import"./utils-CSjogEj5.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]="e29153d3-cd65-4cdd-a571-bd6c239669ea",e._sentryDebugIdIdentifier="sentry-dbid-e29153d3-cd65-4cdd-a571-bd6c239669ea")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,o[5],o[5]),sectionRowGap:new d(o[5],o[9],o[9]),iconWidthHeight:new d(20,o[4]),subTitlePaddingTop:new d(12,o[3]),subTitlePaddingBottom:new d(o[3],o[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(o[1],o[0])},K="chargeCardSetUpPage",f="payAccount",{commonSetUp:nt,spendManagement:it}=Xe.getLocalizedStrings(),{chargeCard:Z}=it,{chargeCardSetUp:g}=Z,{setUp:B}=nt,At=({autoPayThreshold:e,isDisabled:r,meetingUrl:w,isEarlyPayEnabled:h,chargeCardSetUpView:i,connectedAccountProvider:ee,filesEndPoint:te,authParams:ne,isAccountsEnabled:ie,isDebitCardOnlyEnabled:k,isCreditCardOnlyEnabled:ae,accountsPromoConfig:oe,onFetchLinkTokenClick:ce,onBackClick:se,onEnableChargeCardClick:le,onUpdateChargeCardClick:de,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:ue,onUpdatePaymentAccountLoginStatus:pe,onUpdatePrimaryFundingAccount:me,onUpdateAutoPayClick:ge,onEstablishConnectionClick:fe,onEstablishConnectionSuccess:he,onClickMenuIcon:ye,onEnableChargeCardSuccess:x,onEditFileName:be,onDeleteFile:Ce,updateFilesEntity:Se,onCompanyOfficerUpdated:we,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const y=Ve(),n=Ue(),T=Be().analytics,[P,b]=m.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,$=G(C),A=G(u.fetchState),v=_e({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>X(i),[i]),values:X(i)}),ve=v.handleSubmit(le);m.useEffect(()=>{const je=v.watch((H,{name:M})=>{M!=null&&H!=null&&ze(()=>(async(O,Oe)=>{const a=Oe[f];if(O.includes(f))if(O.includes("fundingAccount")){if(a.fundingAccount.selectedOption!=null&&l?.id!=a.fundingAccount.selectedOption){const p=R.find(V=>V.id===a.fundingAccount.selectedOption);p!=null&&me(a.fundingAccount.selectedOption,p.accType)}}else if(a.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=a.account.selectedOption){const p=a.account.allOptions.find(V=>V.value===a.account.selectedOption);p!=null&&typeof p.label=="string"&&T.trackConnectBankLink(p.value,p.label,"charge_cards"),de(a.account.selectedOption,l.id,l.accType)}else O.includes("enableAutoPay")&&a.enableAutoPay!=null&&ge(a.enableAutoPay)})(M,H))});return()=>{je.unsubscribe()}}),m.useEffect(()=>{!P&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),P&&$==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,$]),m.useEffect(()=>{A==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,A,u.fetchState]);const I=E?.isChargeCardEnabled===!0,D=z?.isDebitCardEnabled===!0,L=z?.isDebitCardTOSAccepted===!0,W=E?.isChargeCardTOSAccepted===!0,N=_?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ze(l?.providerVerificationStatus?.code??""),F=k?N:N&&Ie,De=C==="In-Progress"||C==="Not-Started";m.useEffect(()=>{A==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,A,u.fetchState]);const j=k?F&&!D&&L:ae?F&&!I&&W:F&&!(I&&D)&&W&&L,Fe=j?g.setupSubTitleNotEnabled:g.setupSubTitle,q=y.mode==="light"?new J(y.colors.brandColorJadeLight):new J(y.colors.brandColorJadeDark);return t.jsxs(ot,{children:[t.jsx(Re,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(n),boxShadow:"none"}},open:P,onClose:()=>b(!1),style:{backgroundColor:$e.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(Le,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:se,showMenuIcon:!(I||D||n!=="medium-compact"&&n!=="small"),onClickMenuIcon:ye,source:"ChargeCardSetupPage"}),t.jsxs(at,{windowSize:n,children:[t.jsx(ct,{windowSize:n,children:Fe}),De?t.jsx(st,{children:t.jsx(We,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...v,children:t.jsx("form",{id:Y(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:B.businessVerificationTitle,subTitle:B.businessVerificationSubTitle,header:B.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:f,isDisabled:r,onFetchLinkTokenClick:ce,onEstablishConnectionClick:fe,onUpdatePaymentAccountStatus:ue,onUpdatePaymentAccountLoginStatus:pe,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:he,icon:{element:t.jsx(Je,{width:c.iconWidthHeight.valuePx(n),height:c.iconWidthHeight.valuePx(n)}),color:q},analytics:T,productType:"charge_cards",isAccountsEnabled:ie,onSignUpClick:Pe,pageName:g.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(et,{label:{label:Z.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Ge.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:U.sp4,marginTop:U.sp1,alignItems:n==="small"?"flex-start":"center"},checkBoxField:{name:Q(f,"enableAutoPay"),checkBoxValue:Q(f,"enableAutoPay"),defaultChecked:E?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(n)}}})})]})})})]}),j?t.jsx(Qe,{formId:Y(K),primaryBtn:{label:g.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 ${U.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:j,meetingUrl:w,analytics:T,productType:"charge_cards"})]})},X=e=>{const{allBankAccounts:r,allFundingAccounts:w,primaryFundingAccount:h}=e;return{[f]:{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}}},Y=e=>`${e}_form`,at=S.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: flex-start;
|
|
4
4
|
height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as W,J as T,V as t,a_ as F,o as h,O as R,b as g,s as B,at as _,c as O,gX as q,f as J,a6 as V,u as s,bq as U}from"./index-
|
|
1
|
+
import{y as W,J as T,V as t,a_ as F,o as h,O as R,b as g,s as B,at as _,c as O,gX as q,f as J,a6 as V,u as s,bq as U}from"./index-k1doZNFg.js";import{n as o}from"./mui-Bi07oTwe.js";import{$ as X,g as G}from"./BoxItem-DRwx0M5a-CDlEJbUh.js";import{a as H}from"./sentry-CytkDQe2.js";import{w as K}from"./downloadPdf-CUUx8PWn-B-oFkl1r.js";import"./pdf-emb33J2I.js";import"./zeni-epic-state-DyRbb6Q5.js";import"./core-twTS7Cne.js";import"./lottie-Bdr-9mLw.js";import"./liveblocks-CM0QMS_I.js";import"./recharts-CS0s98U8.js";import"./dnd-BWijMgNi.js";import"./analytics-BuacLKrs.js";import"./plaid-Dw_qIY4R.js";import"./utils-CSjogEj5.js";import"./commonDimensions-BMnB1-xU-CuHaP4qo.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]="4ed6d3bd-a337-411a-94a3-f84bbd754581",e._sentryDebugIdIdentifier="sentry-dbid-4ed6d3bd-a337-411a-94a3-f84bbd754581")}catch{}})();const E=R.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},Q=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: ${h.sp3} ${h.sp4};
|
|
4
4
|
flex-direction: row;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as oe,V as t,a6 as y,a4 as R,i as G,o,a9 as de,b as n,a8 as te,l as pe,O as ie,at as he,bX as ae,x as ue,s as B,a7 as me,T as ge,b$ as xe,e as j,A as fe,ft as ke,c4 as De,e9 as Y,ca as Z,u as a,eJ as be,bB as we,bn as $e,el as ye,ga as je,W as J,gb as Le}from"./index-
|
|
1
|
+
import{J as oe,V as t,a6 as y,a4 as R,i as G,o,a9 as de,b as n,a8 as te,l as pe,O as ie,at as he,bX as ae,x as ue,s as B,a7 as me,T as ge,b$ as xe,e as j,A as fe,ft as ke,c4 as De,e9 as Y,ca as Z,u as a,eJ as be,bB as we,bn as $e,el as ye,ga as je,W as J,gb as Le}from"./index-k1doZNFg.js";import{a as b}from"./sentry-CytkDQe2.js";import{n as i}from"./mui-Bi07oTwe.js";import{v as Pe}from"./SuccessAnimation-oz7yQ6H3-mzE9epVx.js";import"./pdf-emb33J2I.js";import"./zeni-epic-state-DyRbb6Q5.js";import"./core-twTS7Cne.js";import"./lottie-Bdr-9mLw.js";import"./liveblocks-CM0QMS_I.js";import"./recharts-CS0s98U8.js";import"./dnd-BWijMgNi.js";import"./analytics-BuacLKrs.js";import"./plaid-Dw_qIY4R.js";import"./utils-CSjogEj5.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]="db32740f-71be-4bb4-b148-b07a3378ed63",e._sentryDebugIdIdentifier="sentry-dbid-db32740f-71be-4bb4-b148-b07a3378ed63")}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(),c=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 r=oe(),d=e.fetchState,C=me(d),[T,W]=b.useState(!1),[le,I]=b.useState(!1),E=p.largeLabelWidth.value(r),k=ge({mode:"all",reValidateMode:"onBlur",defaultValues:M(e),values:M(e)}),{isValid:ce}=k.formState,X=s=>{const x={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(x)};b.useEffect(()=>{const s=k.watch((x,{name:h})=>{h!=null&&x!=null&&xe(()=>(async(D,f)=>{if(D!=null){if(D.includes("source")||D.includes("amount"))return;const w=Object.assign({},f);X(w)}})(h,x))});return()=>{s.unsubscribe()}}),b.useEffect(()=>{C==="Completed"&&d==="Not-Started"&&k.reset(M(e))},[C,d,k,e]),b.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const ne=k.handleSubmit(()=>{if(ce){l.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const s=k.getValues();X(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(Je,{children:[t.jsx(We,{children:e.error?.title}),t.jsx(Xe,{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(Ge,{children:R("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(fe,{...k,children:t.jsx("form",{id:Ce("checkDepositDetailPage"),onSubmit:ne,children:t.jsxs(Ze,{children:[t.jsx(ke,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:E},formattedTextField:{type:"number",name:$(m,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.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:c.checkDepositDrawer.sourceLabel,width:E},style:{width:"100%"},text:{type:"text",name:$(m,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:s=>s!=null}}}),t.jsx(V,{}),t.jsx(re,{size:r,children:t.jsx(Qe,{size:r,children:t.jsx(Ye,{label:{label:c.checkDepositDrawer.depositToLabel,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(r),marginBottom:p.labeleMarginBottom.valuePx(r),marginRight:p.labelMarginRight.valuePx(r)}},style:{paddingTop:p.labeledFieldPaddingTop.valuePx(r),paddingBottom:p.labeledFieldPaddingBottom.valuePx(r),paddingLeft:p.labeledFieldPaddingLeft.valuePx(r),paddingRight:p.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(r),marginTop:p.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(s,x)=>((h,D)=>{if(!h)return null;const f=e.depositAccounts.depositAccounts.find(N=>N.id===h),w=e.depositAccounts.depositAccounts.findIndex(N=>N.id===h);return f?t.jsx(Me,{color:je(w),isSelectedValue:D}):null})(s,x),valueToSubLabels:(s,x)=>((h,D)=>{if(!h)return null;const f=e.depositAccounts.depositAccounts.find(w=>w.id===h);return f?D===!0?t.jsx(Ne,{children:f?.maskedAccountNumber}):t.jsxs(Ee,{children:[t.jsx(H,{children:f?.maskedAccountNumber}),t.jsx(eo,{}),t.jsx(H,{children:R("0,0[.]00",f?.accountBalance?.available)})]}):null})(s,x),name:$(m,"depositTo"),placeholder:c.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(He,{size:r,children:[t.jsxs(Ke,{size:r,children:[t.jsx(Ae,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(K,{isLast:!1,children:c.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:Z,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:T,updateFilesEntity:S,onDeleteFile:v,onFileSizeError:s=>W(s),onEditFileName:F,openPopup:L,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(K,{isLast:!0,children:c.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:Z,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:T,updateFilesEntity:S,onDeleteFile:v,onFileSizeError:s=>W(s),onEditFileName:F,openPopup:L,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(oo,{children:c.checkDepositDrawer.picGuides.map(s=>t.jsxs(to,{children:[t.jsx(Ue,{}),t.jsx(Ie,{children:s})]},s))})]}),t.jsx(io,{windowSize:r,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 N,b9 as xe,a4 as q,V as t,an as Ei,a6 as y,cD as Ri,o as s,e as te,a7 as On,J as I,Q as Nn,z as Hi,cE as Mn,cF as Ki,O as M,u as S,cG as Et,bx as Rt,cH as Ht,b as G,cj as Kt,t as go,_ as ot,cI as ze,bb as K,f as Yi,y as le,ad as O,aj as po,cJ as xo,k as Me,cK as Ui,cL as ae,bw as Yt,bm as In,x as qi,W as be,cM as it,cN as Ie,cO as ht,s as v,bB as oe,cP as fo,cQ as Zi,j as Ut,cR as Ke,cS as Wn,cT as Pn,cU as Ji,cV as Qi,at as mo,aq as Xi,bT as qt,bS as Zt,cW as er,ar as wo,bW as yo,be as tr,cX as nr,cY as Fn,cZ as zn,c_ as or,c$ as ir,bg as rr,b6 as ar,d0 as lr}from"./index-
|
|
1
|
+
import{ae as N,b9 as xe,a4 as q,V as t,an as Ei,a6 as y,cD as Ri,o as s,e as te,a7 as On,J as I,Q as Nn,z as Hi,cE as Mn,cF as Ki,O as M,u as S,cG as Et,bx as Rt,cH as Ht,b as G,cj as Kt,t as go,_ as ot,cI as ze,bb as K,f as Yi,y as le,ad as O,aj as po,cJ as xo,k as Me,cK as Ui,cL as ae,bw as Yt,bm as In,x as qi,W as be,cM as it,cN as Ie,cO as ht,s as v,bB as oe,cP as fo,cQ as Zi,j as Ut,cR as Ke,cS as Wn,cT as Pn,cU as Ji,cV as Qi,at as mo,aq as Xi,bT as qt,bS as Zt,cW as er,ar as wo,bW as yo,be as tr,cX as nr,cY as Fn,cZ as zn,c_ as or,c$ as ir,bg as rr,b6 as ar,d0 as lr}from"./index-k1doZNFg.js";import{n as a,c as T}from"./mui-Bi07oTwe.js";import{a as z,b as cr}from"./sentry-CytkDQe2.js";import{Eu as Jt,E_ as Qt,E$ as Te,F0 as Xt,F1 as en,F2 as tn,F3 as nn,F4 as bo,F5 as sr,EH as _t,Ev as Le,ck as Tn,bt as ko,F6 as jo,F7 as dr,cp as hr,EI as So}from"./zeni-epic-state-DyRbb6Q5.js";import{N as nt,D as ur,R as gr,B as ke,u as L}from"./AccountRow-CpftykFx-BJ3WZo2I.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]="6c2a97ef-0ea7-40a9-a91d-6305b43c9195",e._sentryDebugIdIdentifier="sentry-dbid-6c2a97ef-0ea7-40a9-a91d-6305b43c9195")}catch{}})();const vt=[N.graphColor34,N.graphColor08,N.graphColor11,N.graphColor13,N.graphColor19,N.graphColor20,N.graphColor14,N.graphColor35,N.graphColor32,N.graphColor02,N.graphColor06,N.graphColor04,N.graphColor10,N.graphColor12,N.graphColor15,N.graphColor18];function on(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 vt[Math.floor(o/vt.length)%vt.length]}function J(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 xe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return q("0,0",e?.balance)}function Q(e){return q("0,0",e?.forecast)}function Co(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return xe("0.00%",e.totalPercentValue)}return q("0,0",e?.totalBalance)}function Nt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return xe("0.00%",e.forecastPercentValue)}return q("0,0",e?.totalForecast)}function ce(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return xe("0.00%",Math.floor(100*n)/100)}return xe("0.00%",void 0)}function se(e){if(e!=null&&e.forecast!=null){const n=Math.floor(100*(e.balance.amount-e.forecast.amount)/100);return q("0,0",Object.assign({},e.forecast,{amount:n}))}return q("0,0",null)}function _o(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 xe("0.00%",Math.floor(100*n)/100)}return xe("0.00%",void 0)}function vo(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor(100*(e.totalBalance.amount-e.totalForecast.amount)/100);return q("0,0",Object.assign({},e.totalForecast,{amount:n}))}return q("0,0",null)}const Ve=(e,n,o)=>{const{startDate:i,balanceType:r}=n,{dateFormat:{visual:l}}=M.getLocalizedStrings();switch(o){case"month":return r==="default"||r==="default_with_percent"?`${_t(i,l.MMMYYYYFormat,e)}`:$t(r,o);case"quarter":return r==="default"||r==="default_with_percent"?`${M.getLocalizedStrings().reports.quarterPrefix}${_t(i,l.QYYYYformat,e)}`:$t(r,o);case"year":return r==="default"||r==="default_with_percent"?`${_t(i,l.YYYYformat,e)}`:$t(r,o);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function $t(e,n){return M.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const Ug=(e,n,o)=>{const i=n.length==0?e:`${e}_${n.join("_")}`;return o!=null&&o.trim().length>0?`${i}_${o}`:`${i}_${Ri(10)}`},pr=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as Ye,y as bl,c3 as xl,O as se,b as F,a7 as kl,V as e,bg as gl,e$ as wl,n as Je,fm as Ke,o as t,fs as Tl,c4 as A,c6 as Se,c9 as Sl,ek as zl,ei as Pl,c8 as Il,c7 as J,ft as el,fu as Al,eU as Bl,ca as He,eT as ll,c1 as Rl,e as B,bZ as il,al as Fe,cb as ql,f7 as Ol,H as De,b6 as jl,e_ as vl,s as Qe,j as Ee,m as Wl,b3 as Ml,u as R,cD as Ul,r as Gl,fv as Hl,x as Xe,W as Zl,fw as Yl,b4 as Ne,ap as Jl,B as $l,ch as Kl,$ as Ql,b2 as Xl}from"./index-
|
|
1
|
+
import{J as Ye,y as bl,c3 as xl,O as se,b as F,a7 as kl,V as e,bg as gl,e$ as wl,n as Je,fm as Ke,o as t,fs as Tl,c4 as A,c6 as Se,c9 as Sl,ek as zl,ei as Pl,c8 as Il,c7 as J,ft as el,fu as Al,eU as Bl,ca as He,eT as ll,c1 as Rl,e as B,bZ as il,al as Fe,cb as ql,f7 as Ol,H as De,b6 as jl,e_ as vl,s as Qe,j as Ee,m as Wl,b3 as Ml,u as R,cD as Ul,r as Gl,fv as Hl,x as Xe,W as Zl,fw as Yl,b4 as Ne,ap as Jl,B as $l,ch as Kl,$ as Ql,b2 as Xl}from"./index-k1doZNFg.js";import{a as h}from"./sentry-CytkDQe2.js";import{d as ei,n as r}from"./mui-Bi07oTwe.js";import{bs as Ll,EV as li,EW as tl,bG as ii,EU as ti,ET as oi,ER as ai,ES as ri}from"./zeni-epic-state-DyRbb6Q5.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-BMiMbXMj-B-wSFTz-.js";import{C as Ze}from"./LabeledAddressValueField-C6-hVsPb-Cx3qxpIQ.js";import{b as hi}from"./LabeledCountryMultiSelectField-sj8p7Rne-BB5IjdKT.js";import{I as ol}from"./LabeledCreatableSingleSelectField-DUTQh416-C_C7TgJg.js";import{Y as al}from"./LabeledDocumentField-Bp9m-OrP-BZJ1R-di.js";import{Z as Cl}from"./LabeledNameField--saAep-_-CReVVQpK.js";import{p as fi,i as yi,t as bi}from"./commonTypes-DsWS6Ccc-D27m4dJL.js";import{r as _l}from"./avatar-Dz7aEm3d--QTMwhPr.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]="c4ced502-1010-4e31-a526-3a77cbb71c60",l._sentryDebugIdIdentifier="sentry-dbid-c4ced502-1010-4e31-a526-3a77cbb71c60")}catch{}})();const{commonSetUp:xi}=se.getLocalizedStrings(),{businessVerification:rl}=xi,Oe={iconSize:new F(R[6],R[10]),gap:new F(R[2],R[3])},Fl={title:new De("smallSemiBold","standardSemiBold"),description:new De("smallRegular","standardRegular")},El=()=>{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,a2 as E,a3 as x,O as p,o as l,a6 as M,aa as w,x as g,ab as H}from"./index-
|
|
1
|
+
import{V as r,a2 as E,a3 as x,O as p,o as l,a6 as M,aa as w,x as g,ab as H}from"./index-k1doZNFg.js";import{n as o}from"./mui-Bi07oTwe.js";import{c as b}from"./SummaryCard-B9wqNSwM-BiOPMjla.js";import{a as t}from"./sentry-CytkDQe2.js";import"./pdf-emb33J2I.js";import"./zeni-epic-state-DyRbb6Q5.js";import"./core-twTS7Cne.js";import"./lottie-Bdr-9mLw.js";import"./liveblocks-CM0QMS_I.js";import"./recharts-CS0s98U8.js";import"./dnd-BWijMgNi.js";import"./analytics-BuacLKrs.js";import"./plaid-Dw_qIY4R.js";import"./utils-CSjogEj5.js";import"./ReloadCard-DKGn1uxF-CkrmOtQv.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]="f5339eb3-4677-48ec-95f6-07b9b0db8a52",e._sentryDebugIdIdentifier="sentry-dbid-f5339eb3-4677-48ec-95f6-07b9b0db8a52")}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"}))}],j=o(w)`
|
|
2
2
|
margin: ${l.sp5};
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
`,B=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as V,V as t,bZ as ne,b as m,b_ as vt,u as h,y as Ft,a7 as Ct,T as Tt,b$ as kt,O as z,a_ as Lt,A as Nt,c0 as Pt,a9 as zt,c1 as nt,c2 as Et,a8 as Vt,o as a,s as we,c3 as st,c4 as P,c5 as qe,c6 as A,c7 as ee,e as L,al as fe,c8 as rt,c9 as Mt,ca as dt,t as At,cb as Wt,cc as Bt,cd as _t,ce as Rt,cf as Yt,aQ as Ut,ab as qt,at as J,x as Ie,i as He,cg as Ht,Q as Zt,ch as Gt,bB as Qt,ci as Xt,W as Jt,cj as Kt}from"./index-
|
|
1
|
+
import{J as V,V as t,bZ as ne,b as m,b_ as vt,u as h,y as Ft,a7 as Ct,T as Tt,b$ as kt,O as z,a_ as Lt,A as Nt,c0 as Pt,a9 as zt,c1 as nt,c2 as Et,a8 as Vt,o as a,s as we,c3 as st,c4 as P,c5 as qe,c6 as A,c7 as ee,e as L,al as fe,c8 as rt,c9 as Mt,ca as dt,t as At,cb as Wt,cc as Bt,cd as _t,ce as Rt,cf as Yt,aQ as Ut,ab as qt,at as J,x as Ie,i as He,cg as Ht,Q as Zt,ch as Gt,bB as Qt,ci as Xt,W as Jt,cj as Kt}from"./index-k1doZNFg.js";import{a as Y,b as ea}from"./sentry-CytkDQe2.js";import{n,d as ta,k as aa}from"./mui-Bi07oTwe.js";import{EQ as la,ER as ct,ES as pt,ET as mt,EU as ut,EV as ht,bR as ft,EW as ke,bG as oa,bs as Le,bE as ia,EX as na}from"./zeni-epic-state-DyRbb6Q5.js";import{I as yt}from"./LabeledCreatableSingleSelectField-DUTQh416-C_C7TgJg.js";import{Y as gt}from"./LabeledDocumentField-Bp9m-OrP-BZJ1R-di.js";import{e as sa}from"./LabeledSingleSelectField-Ul4tlTiO-B5-cTLoa.js";import{p as ra,i as da,t as ca}from"./commonTypes-DsWS6Ccc-D27m4dJL.js";import{b as pa}from"./LabeledCountryMultiSelectField-sj8p7Rne-BB5IjdKT.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-BMiMbXMj-B-wSFTz-.js";import{$ as xt}from"./LabeledAddressValue-Ma1WURjK-SOyeFnDb.js";import{Z as wt}from"./LabeledNameField--saAep-_-CReVVQpK.js";import"./pdf-emb33J2I.js";import"./core-twTS7Cne.js";import"./lottie-Bdr-9mLw.js";import"./liveblocks-CM0QMS_I.js";import"./recharts-CS0s98U8.js";import"./dnd-BWijMgNi.js";import"./analytics-BuacLKrs.js";import"./plaid-Dw_qIY4R.js";import"./utils-CSjogEj5.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]="f79a44cf-3def-4fac-a235-582b4531735d",e._sentryDebugIdIdentifier="sentry-dbid-f79a44cf-3def-4fac-a235-582b4531735d")}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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as l}from"./pdf-
|
|
1
|
+
import{j as l}from"./pdf-emb33J2I.js";import{a as g}from"./sentry-CytkDQe2.js";import{j as v,i as w,h as T,l as x,u as O,k as E}from"./core-twTS7Cne.js";import{y as j,je as C,jC as P,kL as F,bc as V,jl as A,G as L,k3 as b,kM as U,kg as B,ej as M,jA as _}from"./index-k1doZNFg.js";import{cs as h,dk as G,nT as R,df as z,bE as J,Jy as Y,bm as H,l_ as Z,lO as $,hi as q,iN as S,Jz as K,bG as Q,bJ as N,iV as W,iY as X}from"./zeni-epic-state-DyRbb6Q5.js";import"./mui-Bi07oTwe.js";import{c as ee}from"./routePaths-DiyiibEL.js";import{M as te}from"./MobileAppDrawer-B2Fzw8F_.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new n.Error().stack;s&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[s]="292bd0dd-00c2-4761-b8e4-9d083bf41723",n._sentryDebugIdIdentifier="sentry-dbid-292bd0dd-00c2-4761-b8e4-9d083bf41723")}catch{}})();const ne=E(function(n){const s=z(n),r=C.getSignedInUser(),p=h(n),u=p.tenantId,d={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:u??""},f=J(p?.userRole??[])&&s.localData.updateStatus.fetchState!=="In-Progress"?void 0:"readonly",e=Y(n.companyConfigState),t=n.countryListState?.byCountryListCode?.nationalityCountryList?.countries??[];return{isCompanyVerified:s.companyView?.company?.company?.companyBillPayInfo?.companyVerificationStatus?.code==="verified",companyPassportView:s,allIndustries:e.companyIndustries??[],allNationalityCountries:t,isDisabled:f,authParams:d,filesEndPoint:`${B.fileMicroServiceBaseUrl}`,isZeniUser:H(r)}},function(n,s){const{companyId:r,currentTenant:p,navigate:u,location:d}=s,{tenantEmailDomain:f}=p;return{onScheduleClick:e=>{let t=e.href;t.includes("http")||(t="https://".concat(t)),window.open(t,"_blank")},onSaveAll:()=>{n(X())},onAddressClick:e=>{const t=ee(f,e),a=_(d.state?.pathnameStackToGoBack,d.pathname);u(t,{state:{pathnameStackToGoBack:a}})},onResetClick:()=>{n(W({companyId:r}))},onBackClick:()=>{u("../")},onCompanyDetailsChanged:e=>{const{companyInfo:t,incInfo:a,taxDetails:o,zeniFinanceTeam:I}=e,{website:c}=t,{meetingLink:m}=I,{incDate:i}=a,{taxesFiledYears:D}=o,k={companyInfo:{...t,website:c!=""&&c!=null?N(c):void 0,meetingLink:m!=""&&m!=null?N(m):void 0,industry:t.industry.selectedOption,companyIndustryType:t.companyIndustryType?.selectedOption??void 0,companySubIndustry:t.subIndustry?.selectedOption??void 0,businessModel:t.businessModel.selectedOption??"",companySourceOfFunds:t.companySourceOfFunds?.selectedOption,companySourceOfFundsDescription:t.companySourceOfFundsDescription??void 0,countriesOfOperations:t.countriesOfOperations?.selectedOptions?.map(y=>y.length===2?y:M(y))??[],transactionVolume:t.transactionVolume?.selectedOption??void 0,transactionVolumeDescription:t.transactionVolumeDescription??void 0,regulatedStatus:t.regulatedStatus??void 0,regulatedStatusDescription:t.regulatedStatusDescription??void 0,usNexus:t.usNexus??void 0,usNexusTypes:t.usNexusTypes?.selectedOptions??[],purposeOfAccount:t.purposeOfAccount?.selectedOption??void 0,purposeOfAccountDescription:t.purposeOfAccountDescription??void 0},incInfo:{typeOfInc:a.typeOfInc.selectedOption??"",stateOfInc:a.stateOfInc.selectedOption??"",incDate:i!=null?Q(i?.toString()):i,fileId:a.fileIds[0]},taxDetails:{taxIdOrEIN:o.taxIdOrEIN,sicCode:o.sicCode,naicsCode:o.naicsCode,dunsNumber:o.dunsNumber,taxesFiledYears:D.selectedOptions.map(y=>parseInt(y)),fileId:o.fileIds[0]}};n(S({companyDetails:k}))},onPrimaryContactDetailsUpdated:e=>{n(S({primaryContact:{userId:e.userId,email:e.email.trim(),firstName:e.name.firstName,lastName:e.name.lastName}}))},onNewCompanyOfficerAdded:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:void 0}]}))},onNewCompanyOfficerRemoved:e=>{n(K(e))},onCompanyOfficerUpdated:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:e.userId}]}))},updateFilesEntity:e=>{n(q({files:e}))},onDeleteFile:e=>{n($(e))},onEditFileName:(e,t)=>{n(Z(e,t.split(".")[0]))}}})(U);function pe(){const n=v(),s=w(),r=T(),{tenantEmailDomain:p}=x(),u=j(),[d,f]=g.useState(!1),[e,t]=g.useState(!1),a=O(i=>i.companyViewState.passportView.fetchState),o=O(i=>i.companyConfigState.fetchState),I=O(i=>h(i)),c=I.companyId??C.getSignedInUserTenant(p)?.companyId;if(C.getSignedInUser()==null)throw Error("Can't access company details page without signing in...");g.useEffect(()=>{d||a!=="Not-Started"||c==null||(f(!0),s(G(c)))},[d,a,c,s]),g.useEffect(()=>{o==="Not-Started"&&s(R())},[o,s]);const m=i=>{t(i)};return a==="Not-Started"||a==="In-Progress"||o==="Not-Started"||o==="In-Progress"?l.jsx(P,{fetchState:a==="In-Progress"?a:o,style:{backgroundColor:u.colors.grey5}}):c!=null&&a==="Error"?l.jsx(F,{onGoHome:()=>n("../",{replace:!0}),onReload:()=>window.location.reload()}):l.jsxs(l.Fragment,{children:[l.jsx(V,{analytics:A,onLoad:i=>i.trackPageLoaded(L.Event.companyPassport,b(r)?"Settings":"Company Passport")}),b(r)?l.jsx(te,{isAppContentDrawerOpen:e,handleDrawerToggle:m}):null,l.jsx(ne,{companyId:c,navigate:n,location:r,currentTenant:I,isSettings:b(r),onClickMenuIcon:()=>{m(!0)}})]})}export{pe as C};
|