@zeniai/web-app-ui 4.14.31-dev → 4.14.32-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (375) hide show
  1. package/dist/assets/{ACHDetailsPage-CFhoboVe-JodbwPsQ.js → ACHDetailsPage-BO7lxW8c-CaH7vfBB.js} +2 -2
  2. package/dist/assets/{AIPerformancePage-DB-fTWME-CgGQsnV1.js → AIPerformancePage-SF-quMkk-CZFFBw1a.js} +1 -1
  3. package/dist/assets/AccountInfoPage-v8-NT3FJ-Bw3uGZG4.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-eYEsv7ac-vCK7G4bh.js → AccountInfoPageContent-DIWh6VaI-HqDSQPfy.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-jYWr_8TD-q_Ikf2Tn.js → AccountLockedInfoModal-DloPB9vd-BSxEQO_S.js} +6 -6
  6. package/dist/assets/{AccountReconDetailsDrawerPage-3Q0EPYhL-BH4of7uu.js → AccountReconDetailsDrawerPage-BAgQsFiF-CyK6H2le.js} +4 -4
  7. package/dist/assets/{AccountRow-CdgvnPG8-Cz30EYLJ.js → AccountRow-Dczx5rSu-CwZA98Uy.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-DHo59LLN-SJuuNn3m.js → AccountsPromoCardStack-Ywhto4lV-cevnOXMT.js} +11 -11
  9. package/dist/assets/{AddAddressForCardDrawer-BzO1FXUa-Fyg_NOS1.js → AddAddressForCardDrawer-B8srmVT6-DsXtVyAN.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BfXFbHjk-CMzYyYW2.js → AddToWalletPage-k__RW699-BSoFKwS5.js} +1 -1
  11. package/dist/assets/{AddressRoutes-B6KyTWyT.js → AddressRoutes-Bnm4H7bD.js} +1 -1
  12. package/dist/assets/{AddressScreen-ZPcySSaO.js → AddressScreen-INYb_JGl.js} +2 -2
  13. package/dist/assets/{AgingReportsPage-C1hFq4KH-Zi5GTQ1z.js → AgingReportsPage-BuIXjljE-DwSwkj0s.js} +5 -5
  14. package/dist/assets/{AiCfoScreen-C7jQo3LZ.js → AiCfoScreen-Dg31g97F.js} +1 -1
  15. package/dist/assets/{AllUserItems-B6pnKByY-z-llp8Ld.js → AllUserItems-BdgTe4WF-H7QxO-h-.js} +7 -7
  16. package/dist/assets/ApAgingDetailPage-6F47t31h-BJY-Gjjh.js +46 -0
  17. package/dist/assets/{AppBasePage-DiVxF606-DEIAJtmX.js → AppBasePage-DaTueT-x-Db3mer79.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-B_EWsf8O-nCzxlMlY.js → AppDrawerContent-CtCI6jpp-B-tHPrrL.js} +3 -3
  19. package/dist/assets/{ApprovalRulesSettingsPage-HHjDp_NQ-Dk_su188.js → ApprovalRulesSettingsPage-BVxu4soW-Nu7LfFuU.js} +1 -1
  20. package/dist/assets/{ArAgingChart-Ba4A-i2N-DVKxnxLC.js → ArAgingChart-BK-JyW2V-CpKqA7Z3.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-prgcvsS4-B6KvY1N_.js → ArAgingDetailPage-CvqLu3q8-DFRtVqyv.js} +3 -3
  22. package/dist/assets/{AttachmentView-SsWJw4A8-CiFA7Mtk.js → AttachmentView-DQdb3v_e-BgOMzST7.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-DE6gDjGA-CuriAdQu.js → BalancesInsightWithToolTip-D4q45w1q-CBufZlsy.js} +4 -4
  24. package/dist/assets/{BankAccountSection-B4jmT0lb-D2VaI5gJ.js → BankAccountSection-DgbfU8F--DERufWYy.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-Bz2itMx0-EQdFts4P.js → BankAccountWarningSection-litL0o_Z-YNoMxnsQ.js} +11 -11
  26. package/dist/assets/{BankConnectionsSettingsPage-BcVk7bTt-CcJ2zW2K.js → BankConnectionsSettingsPage-bAj9uB9k-D373ilzg.js} +1 -1
  27. package/dist/assets/{BillDetailPage-Dkqmi4H1-BFTmBvTz.js → BillDetailPage-CiHal44n-DIfTrfpQ.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-CB_WVdNG.js → BillPayApprovalRoutes-BILiu13g.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-CRBli7lk-Cp1ol6-S.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-B_QwggJS-Csxvsi8z.js → BillPayApprovalRulesPage-BTOmSLcs-D3SM4r7K.js} +7 -7
  31. package/dist/assets/{BillPayPromoPage-Bx2AXpWe-DWku5Qhm.js → BillPayPromoPage-B5gkQjT2-D9lr-mmz.js} +9 -9
  32. package/dist/assets/{BillPayRoutes-9FjXpkgQ.js → BillPayRoutes-BIHt-HL2.js} +7 -7
  33. package/dist/assets/{BillPaySetUpPage-CM7_DkHC-B8MycdyA.js → BillPaySetUpPage-DM3r09by-BlBEwtA1.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-DM0OIfxa-B3DQmXkS.js → BillingSettingsPage-CiTKyJeG-BkRQgSD8.js} +2 -2
  35. package/dist/assets/{BillsBulkReviewDrawerPage-C3xmQ7wz-DgU-ZFK3.js → BillsBulkReviewDrawerPage-B6ofRDkg-B-xdke4y.js} +1 -1
  36. package/dist/assets/{BoxItem-CvCo0wr6-QhJ82HMO.js → BoxItem-C39hQSVg-B9WMvkwI.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-BAZmkR4a-DKUcO_Rf.js → BusinessVerificationPage-BiWEnJET-BPuB56i7.js} +2 -2
  38. package/dist/assets/{BusinessVerificationPageScreen-BKBP5CJh.js → BusinessVerificationPageScreen-C9kI0BR_.js} +2 -2
  39. package/dist/assets/{BusyIndication-Cp8KWKB2-C3oZ8Ini.js → BusyIndication-DmApVsF7-DQl3VYqH.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-DHtSIcZZ-kHFdQu5S.js → CardNumberSubText-FNfrozX6-tv8Brnnn.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-CNS1FA6b-Clcw1gL0.js → CashbackDetailPage-DaLICa_v-BHzYFFJ0.js} +7 -7
  42. package/dist/assets/{ChargeCardDetailPage-C4NeG7IM-CcgpSGTB.js → ChargeCardDetailPage-B0Aq7zO5-40fQ7jsk.js} +28 -28
  43. package/dist/assets/{ChargeCardListPage-DNYiWaEf-BZBAcxPe.js → ChargeCardListPage-CfRto2rQ-ClyjE_iT.js} +16 -16
  44. package/dist/assets/{ChargeCardListTable-DdnyzdFf-D27zGMD0.js → ChargeCardListTable-DMdC4lxo-KnHyTkme.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-CXlqzaUt-Cw-q5fHs.js → ChargeCardPaymentHistoryPage-BYTmtF_y-i9mylyuZ.js} +1 -1
  46. package/dist/assets/ChargeCardPromoPage-AI5bladj-BDPOfxSx.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-B9ifIaPD.js → ChargeCardRoutes-CUAUmOPf.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-BtikPFOq-B1Q5Q-k4.js → ChargeCardSetupPage-BjhqdubL-u9TM5_mu.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-RepWBbvJ-BeTG3xG9.js → ChargeCardStatementsPage-DCM92s6v-CAUZgBlq.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-BCqg3irO-LJQj-9cr.js → CheckDepositDrawerPage-CkIxEqHU-B7qz4vrp.js} +1 -1
  51. package/dist/assets/{CollapsableReportTable-gy7Ue_fk-xkuj86hA.js → CollapsableReportTable-ClHwXtCj-BfwfqIOK.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-BsCx7q-g-C5hfQprP.js → CompanyOfficerDetailsSection-BY8hFQnp-DJfNkZb4.js} +16 -16
  53. package/dist/assets/{CompanyPassportCard-BbUWOs1U-Dw1HMrsN.js → CompanyPassportCard-B3rZE3pg-CtuQmTD5.js} +2 -2
  54. package/dist/assets/{CompanyPassportPage-BnP2oA1U-BahIQeuB.js → CompanyPassportPage-4FXVf3EP-DhUTHw6y.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-CT9c7lvA.js → CompanyPassportScreen-m_gXhHG_.js} +1 -1
  56. package/dist/assets/{CompleteProfile-TiRsm2Fm-fE1NUszo.js → CompleteProfile-B1BoilWd-LUJNszjE.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-D7J36hZf-CSVT9V2q.js → ConfettiBurst-CsbAGF65-C9KfsdE7.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-D6BkdM1l.js → ConnectionAuthScreen-Zn6jvlmq.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-vBI13ZbI.js → ConstrainedInnerElement-CgdnMeoA-Dc3P_0OR.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-Dihzr1D5-BUR2QFLa.js → CreateOrEditVendorPage-C50eYOFo-D8POwrMQ.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-CZGzDuxC-BUIdND4_.js → CreditCardPaymentDrawerPage-Dxz_SY7N-D8up_BJ4.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-BTAmIqPa-rlZjvsTh.js → CurrencySelectField-D2Ogwvbr-B4ftuyL3.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-MVI7kqIh-JD8ZqQ1I.js → CustomerOnboardingActivationPage-5Sh7hmI9-DpPsiuW1.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-BhtVN8fo.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-DpOBarI8.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CaI_0pCb-D_9R8ntI.js → CustomerOnboardingDetailPageSkeleton-CL-mOSUp-Crb7CsXj.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-CO_c2COV-CTf7zsp5.js → CustomerOnboardingNoStepsPage-CyL1AK78-Dsu24NnA.js} +9 -9
  68. package/dist/assets/{CustomerOnboardingPage-BF0vuYaJ-DB-M7FrJ.js → CustomerOnboardingPage-C8nxJPwo-UENXO6qW.js} +16 -16
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-BGFdLX1i-C8cOT0zx.js → CustomerOnboardingProductSuitePage-C7FbnHpU-C2FaoJHQ.js} +3 -3
  70. package/dist/assets/{CustomerOnboardingRoutes-BiogvBuq.js → CustomerOnboardingRoutes-DbUQBREw.js} +1 -1
  71. package/dist/assets/{Dashboard-Qjedd4r--CRbsfODt.js → Dashboard-Bpu-6Sm5-CcAT-BJw.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-Deith_ON-D8fEi8Zc.js → DashboardReportPage-B1aAikQG-BWThnMBB.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-BQeGUCAH.js → DashboardRoutes-aFJ2Gmek.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-C7DfUDio-C16c7XTp.js → DashboardSidebarBackgroundAnimation-C6xm-p2j-BW7a7KRi.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-DDgedZUJ.js → DefaultTenantHome-D-V97ZoE.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-7kYotKov-QpJvWZ45.js → DepositAccTransactionItem-DEU0DgtI-DX-mlAdm.js} +7 -7
  77. package/dist/assets/{DepositAccTransactionListPage-Bop4Uj5w-oeif2Id9.js → DepositAccTransactionListPage-Bh0dIkE9-CF_bG5NL.js} +4 -4
  78. package/dist/assets/{DomesticWireDetailScreen-6HCK_7TE.js → DomesticWireDetailScreen-DBNwn4TO.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-_TyXsqEx-BYHoiTtM.js → DomesticWireDetailsPage-2WyD73c9-B2JWW3fS.js} +1 -1
  80. package/dist/assets/{DownloadOverlay-Cmd727bN-C-PzxP5F.js → DownloadOverlay-B7M2VI7K-93vOHyTt.js} +14 -14
  81. package/dist/assets/{DrawerPage-DmGwfnGp-soZmQNN_.js → DrawerPage-DsQTxXa8-D8CWGNJU.js} +4 -4
  82. package/dist/assets/{DrawerScreen-C_1QezB2.js → DrawerScreen-DDmYCdH3.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-YyluIC6R-B0i1VKsb.js → EditPeoplePage-fY0HXvVS-C62IbLj9.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-DeMid2Ko-B5ltV9Cy.js → EditReimbursementDetailPage-D7RUWSTZ-DVOazN97.js} +18 -18
  85. package/dist/assets/EntityDetailPage-BDyO7iLI-DsywTSaM.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes--mZVfECz.js → EntityDetailRoutes-BGXfmx5_.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-5NbutA8l-DL6jpdFo.js → EntitySummarySection-0rRkC5V6-BD_Ykbrq.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-CQ_3WluW-CCAAzH1q.js → ExpenseAutomationOverviewPage-DOGAdZXV-Bv58nG4M.js} +8 -8
  89. package/dist/assets/{ExpenseAutomationPage-VuU4acYd-BNMHy7wa.js → ExpenseAutomationPage-DOsIzX0P-X4utEwdy.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-DyeVLVvz.js → ExpenseAutomationRoutes-eS-fi8G6.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-DhoNmyC2-BM7D8t94.js → ExpressPayPage-CIi6jM8Y-zeultZzf.js} +8 -8
  92. package/dist/assets/{FeaturePreviewPage-GSwhPxgP-CknFQRpv.js → FeaturePreviewPage-BVn6ZUOB-QQqfkJ8p.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-DcXxWeeZ.js → FeaturePreviewScreen-D5VxTq6D.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-DaueHRo4-R5WhFSRV.js → FollowStepsSection-CvWPHXDW-CX31cI67.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-DG7_1HOT-BY_P61_d.js → GlobalReviewListPage-CS_11bx0-BWWUBfxL.js} +1 -1
  96. package/dist/assets/{InformationCardStack-zc-BxR7F-Dc1qaC3e.js → InformationCardStack-B9g7W7Xx-BMa0JHtx.js} +3 -3
  97. package/dist/assets/{InsightsCardStack-DxCA5sFh-BcClR9fT.js → InsightsCardStack-mvzIc2uY-FQWyC3NM.js} +1 -1
  98. package/dist/assets/{InsightsSection-BdFG3j3R-D7JeFV31.js → InsightsSection-rGyA4lY9-ztCddwYb.js} +8 -8
  99. package/dist/assets/{IntegrationsSettingsPage-CaiL3kqS-BK30afn3.js → IntegrationsSettingsPage-Dwz4ukHF-I8L8bnwJ.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-BrQVSzeS-BpNTGybF.js → InternationalWireSwiftDetailsPage-Cm0H9oyf-Dq6HjvzW.js} +1 -1
  101. package/dist/assets/{InternationalWireVerificationPage-NaLnhW9C-xEbEY4G_.js → InternationalWireVerificationPage-woIoME3I-Dczyy-qA.js} +10 -10
  102. package/dist/assets/{InviteFormPage-fjqv2l7h-CN7vzCNz.js → InviteFormPage-DaZ-sJYV-B1D96lar.js} +13 -13
  103. package/dist/assets/{InvitePageListView-CQecQhxr-D7nG5RDJ.js → InvitePageListView-Do7EVQrj-CnaoEv-w.js} +1 -1
  104. package/dist/assets/{InvitePeoplePage-DAEBuOnk-etA_btSE.js → InvitePeoplePage-CpD7YoC2-CAkwuWqR.js} +2 -2
  105. package/dist/assets/{InvoiceUploadSection-58l6ePuH-DGEZcLC_.js → InvoiceUploadSection-DOuTQPee-DNxyr3cj.js} +11 -11
  106. package/dist/assets/{IssueChargeCardPage-Bkxqsgax-BZ-SKXi3.js → IssueChargeCardPage-ClMhr27d-m0kTf6sc.js} +9 -9
  107. package/dist/assets/{LabeledAddressValue-CZfFV97h-Bb57sB9z.js → LabeledAddressValue-B6_PZDTO-xVytB-P9.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-D66XOhMx-DAzGEgKS.js → LabeledAddressValueField-Cz6tRMoW-C7dop0k-.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-BtnsqE4D-pO3EStbM.js → LabeledControlledCheckBoxField-BEpAlnvo-BRLqoAnU.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-kopByxLB-CVmx734o.js → LabeledCountryMultiSelectField-1kTcZMQW-Cq5wOhkQ.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-B6An-cwq-ZwV4dPE-.js → LabeledCreatableSingleSelectField-PiLB1S77-CXLJARhZ.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-D_ZD8JTn-EgNCcbbj.js → LabeledDocumentField-Cicw8ABs-CehJpiD9.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-CJ7ncCzH-yHUhBReW.js → LabeledDropDownFormattedTextField-BEVVgIGK-ByxutmzB.js} +7 -7
  114. package/dist/assets/{LabeledEmailInputField-CSfzMDYO-Ccf6Bxv0.js → LabeledEmailInputField-C6gk3B5x-DQKZx3MY.js} +1 -1
  115. package/dist/assets/{LabeledNameField-DZJXGYR9-C9Z5T7ep.js → LabeledNameField-BpfxLnfN-Dp4_3qSf.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-D_LoOMiZ-CAsbCcep.js → LabeledSingleSelectField-Utmk8KVy-Cxr5xWDf.js} +1 -1
  117. package/dist/assets/{LabeledText-A1h_ionS-CcjmiFmI.js → LabeledText-C56xvYuX-BYR-B_G0.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-EIyuSMIG.js → LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-C2nSJ6yS.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-DmynBXbJ-DglcXxDL.js → LabeledZeniRolesDropDownField-B5rxYfam-qcmbm9V-.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-D6-fL4a6-DlR8vjGO.js → LinkJETransactionPage-DbnaYlRA-UFjDu7p8.js} +10 -10
  121. package/dist/assets/{LockCardPage-BDlnh_zf-64lzFlF5.js → LockCardPage-XHbTmzq8-CizhFaVR.js} +8 -8
  122. package/dist/assets/{LowBalancePopup-CBPl_udd-Nqllub28.js → LowBalancePopup-IF7NG9aL-DyQqJJ_L.js} +5 -5
  123. package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-C6hltO5g.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-D0JDLfbz-Nd5n74ys.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-d6t2QZpk.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-B4rSGEA5.js → MagicLinkRoutes-D4nTqNcw.js} +18 -18
  127. package/dist/assets/{MagicLinkSignInScreen-DL54w9kv.js → MagicLinkSignInScreen-DhnaHV0D.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-Cl461HWp-DrFI3SFX.js → MagicLinkSuccessPage-Cyr3p_8a-CVhCJtyQ.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-DoIMYrRv-BmkYYs3S.js → MagicLinkTitleSection-A4zyF5bg-B40bJuh0.js} +1 -1
  130. package/dist/assets/{MailingDetailsSection-NdwWGQ88-M0GYvrro.js → MailingDetailsSection-DqSOlu2t-CyUaZRam.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-D4KAg1N8.js → MobileAppDrawer-BRK9r0e2.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-CkkW1atP-BhjeSlOV.js → MoreMenuButton-B1OKwXLg-CUWjb2Vn.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-BU6TBzI1-D2Qaudqr.js → MyBankConnectionsSettingsPage-DtTjhna--DTBZyR2y.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-DcunCDU6-NjjjBd7F.js → MyPendingActivationChargeCardListPage-CKSWf7I4-5HMiO4ol.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-DF7ahyXE-BjXkIrz2.js → MyProfileSettingsPage-WF1pNlyU-DCBVPnlL.js} +1 -1
  136. package/dist/assets/NavBarWithPicker-DiCaJ8Qy-BnNZsOl6.js +30 -0
  137. package/dist/assets/{NavigationArrow-CWUL-6kN-DVve579d.js → NavigationArrow-f4Z3TuXg-UuhH1nBa.js} +7 -7
  138. package/dist/assets/{NavigationDots-c-XSrFzE-eujVKwdH.js → NavigationDots-WiVjbUsC-Crp3ArrF.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-FGEO68I8-XZyzhNzP.js → NewGlobalMerchantPage-kvjjwV8d-C2-dLqkh.js} +1 -1
  140. package/dist/assets/{NoDataChart-DJhSgtLu-BSak9fMr.js → NoDataChart-DlSLTzZl-FuGU3dm-.js} +1 -1
  141. package/dist/assets/{NoDataTable-BZiwo2qK-Cb8q0aH6.js → NoDataTable-9vLoRpsR-CqXldB2y.js} +1 -1
  142. package/dist/assets/{NotFoundPage-BN5unYX8-CqJlv_oy.js → NotFoundPage-CFlNCHFs-HVhDj2Ia.js} +5 -5
  143. package/dist/assets/{NotFoundScreen-DxyQKnff.js → NotFoundScreen-YeCuKQy4.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-DqG-dvkw.js → NotificationRoutes-Dd09Cbi8.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-d8kHDj0M-Beqgksyi.js → NotificationSettingsPage-KJzE9v4p-DOQO6pCa.js} +4 -4
  146. package/dist/assets/{NotificationsListConfig-ThKLok_w-B2H6cGPA.js → NotificationsListConfig-6sXXtF_E-BS4C2OAr.js} +1 -1
  147. package/dist/assets/{NotificationsPage-Uvu6XESA-B1Rgn8VW.js → NotificationsPage-D4AmPdo9-BPnTsbgm.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-QyqRkD2_-D5R40Gs5.js → OpExByVendorPage-B5Wtu3ww-DQg4-jJ4.js} +6 -6
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-C7rxXRm5.js → OverlayContainerPage-BG9y5C0t-COHi_UQx.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-DJ2v5qbE-BEs_yDo8.js → PandLWithForecastPage-CjkaxTx7-DQmjDDak.js} +1 -1
  151. package/dist/assets/PandLWithForecastRoutes-C4ljq3MB.js +1 -0
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-q5z8XZFC-DgyJWqIO.js → PaymentAccountSetupBillingAddressSection-eeLSg7xb-CRk9dKLv.js} +1 -1
  153. package/dist/assets/{PeoplePage-C5ZdpVyR-DYtjpv4S.js → PeoplePage-CQREy6SW-aaRJEBLV.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-BODLG-b6.js → PeopleRoutes-ChdDR42u.js} +3 -3
  155. package/dist/assets/{PerformanceRoutes-BqLOjKSO.js → PerformanceRoutes-C9_QucnY.js} +1 -1
  156. package/dist/assets/{Preview-C2UYzTeJ.js → Preview-CQ45ZFEO.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-CXjLTOLy-BLUY71s0.js → ProductsCarousel-COZZMTcH-Bzu55dWw.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-CN9uZfG4-BbNgX9Bb.js → PromoBaseCards-Bmn6TN2k-Bz52UdXc.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-CXSi1Pd9-dALyjXGw.js → QBOConnectionDialog-DYxoiSkA-BahHoGsk.js} +4 -4
  160. package/dist/assets/{QBOConnectionScreen-Ac9DU04j.js → QBOConnectionScreen-CvnGX6ip.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-BrtLMvEP-DHfwqwJo.js → QBOSetupSection-Cdz2PDxV-3UdpeU-_.js} +7 -7
  162. package/dist/assets/ReferralListScreen-rNybuoN2.js +5 -0
  163. package/dist/assets/{ReimbursementApprovalRoutes-B3As-zjk.js → ReimbursementApprovalRoutes-CoADYXXE.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CS1BQ7pL-DnepdUba.js → ReimbursementApprovalRuleDetailPage-C-QEoqCw-nwX6DLtF.js} +5 -5
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-gUYecGxU.js → ReimbursementApprovalRuleDetailScreen-Bqm6EOL1.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-aLRkhkZB-BEmJZKcM.js → ReimbursementApprovalRulesPage-Ch2sxTFV-tKNtb0zE.js} +26 -26
  167. package/dist/assets/{ReimbursementDetailPage-Dr5BTvEq-mnlxt9h1.js → ReimbursementDetailPage-DSF6SfKn--PtdBuMK.js} +5 -5
  168. package/dist/assets/{ReimbursementPromoPage-C5Z0mVhQ-nERw0M4a.js → ReimbursementPromoPage-F1ROFd63-BFHAhlMX.js} +11 -11
  169. package/dist/assets/{ReimbursementRoutes-vASJxFJ_.js → ReimbursementRoutes-DGj3kepc.js} +3 -3
  170. package/dist/assets/{ReimbursementSetUpPage-CXhOBErm-CR6Shq7r.js → ReimbursementSetUpPage-l2mhLFuo-DfOuAAr0.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CA0n0mau-Dwnq8e4l.js → ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BmJ-UskM.js} +1 -1
  172. package/dist/assets/{ReloadCard-Bjp8ygC2-fExG7Dij.js → ReloadCard-CDcJMl9F-DmOo4rMc.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-DTk1dNWC-tS3w4hoK.js → ReportTableViewSelector-DvCk55Hn-DU86kKFX.js} +5 -5
  174. package/dist/assets/ReportsPage-DfqqKSt3-DjEpZpYh.js +269 -0
  175. package/dist/assets/{ReportsRoutes-DYYeCY0N.js → ReportsRoutes-DrS0PfFL.js} +1 -1
  176. package/dist/assets/{RevenueChart-CqGvXDr4-BYM89H6k.js → RevenueChart-BONT9upM-Wgu_yKns.js} +1 -1
  177. package/dist/assets/{ReviewDetailsPage-CWBP7FBN-D5XTlGGP.js → ReviewDetailsPage-857bVurA-DISEdilE.js} +6 -6
  178. package/dist/assets/{ReviewOverlay-Cxkp85Kw-DWi1LLwl.js → ReviewOverlay-ClQg7d2j-DMLhTFSB.js} +1 -1
  179. package/dist/assets/RewardsRoutes-BI3CFx__.js +1 -0
  180. package/dist/assets/RoleWithToolTip-C0G1Hgp_-C6OnScGb.js +22 -0
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjmGalLA.js → ScheduleDetailsFixedAssetsPage-CJ_JBtxS-BI5TWCkt.js} +4 -4
  182. package/dist/assets/{ScheduleDetailsPage-CZXJ15tN-Cvz9LjHh.js → ScheduleDetailsPage-B1aEwPL--CmKbMEkF.js} +3 -3
  183. package/dist/assets/{ScheduleSequenceTable-DNPID_7F-Dpy7XGsr.js → ScheduleSequenceTable-DhU7PI91-B_rwqPJI.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-DMiG7sGl.js → ScreenRoutes-BEfnlKLo.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-_WPR-q2V-D1in60I8.js → SetUpAccountSection-C8dulq9s-NOviRS6G.js} +20 -20
  186. package/dist/assets/{SettingsRoutes-Cq0IT0xM.js → SettingsRoutes-Cv3I5FcH.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-By_64UnM.js → SetupPagesScreen-DXJ1IvhH.js} +1 -1
  188. package/dist/assets/{SignIn-CDEsZw_T-CdZG3KKx.js → SignIn-wDe7lbGR-CsMJoTy9.js} +4 -4
  189. package/dist/assets/{SignInScreen-BbMIUMVO.js → SignInScreen-TFIvhVsE.js} +1 -1
  190. package/dist/assets/{SignOutScreen-D0CN7EZM.js → SignOutScreen-DNlfKKyW.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-MOCWuROI-B6XDQZbP.js → SpendManagementListViewPage-BdddUHrW-DddaRnSk.js} +8 -8
  192. package/dist/assets/{SpendManagementPerTabPage-BeK0SCeE-uu94FLdi.js → SpendManagementPerTabPage-BBJm3884-BFVFYDTY.js} +1 -1
  193. package/dist/assets/{SpendManagementSection-DZFPfKNi-a6NNMz0d.js → SpendManagementSection-6R5y0Hy4-BDNcg1eM.js} +9 -9
  194. package/dist/assets/StatementItem-qsoXKx_p-B1TzdTRA.js +31 -0
  195. package/dist/assets/{StatementsPage-DYLp_e7W-DQJFRbex.js → StatementsPage-Cn7WG5-S-RUted-8P.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-jxaonB4S-BRWCrppB.js → StatusSwitcher-D3qCg5J1-CR1Mcm2E.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-CudjNlsi-B0ZvqQ02.js → SubTabSwitcher-BXajy75j-Dc5sli1z.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-DE_x1Zz_-CSRw6QzL.js → SuccessAnimation-CSblamOQ-Bn7t6Lwt.js} +1 -1
  199. package/dist/assets/SummaryCard-B1d4_5lE-Dcb38d7W.js +1 -0
  200. package/dist/assets/{TaskDetailPage-CXexRKAY-PJYd8Hc8.js → TaskDetailPage-CrsQnhu1-DqJUU9CD.js} +1 -1
  201. package/dist/assets/{TaskListScreen-D5r5oVZW.js → TaskListScreen-DQaj367P.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-CTMoHv0R-DqoYVk-e.js → TaskManagementPage-h3Rb49Jj-CiFXDTcp.js} +1 -1
  203. package/dist/assets/TaskRoutes-DcIHRznV.js +9 -0
  204. package/dist/assets/{TimeRangeSwitcher-SqY2MHGs-vaeYYQAs.js → TimeRangeSwitcher-DpUOmqiR-D_tIz1xP.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-BlJ2fuHy-C0bwk8vS.js → TimeframeSwitcher-BKEtsv_r-CS6zQ4bX.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-Dgc1odUH-6AO25YrU.js → TimeframeSwitcherWithToggle-DECnQIMT-DCOsHatx.js} +10 -10
  207. package/dist/assets/{TopExCard-CG8YLsYe-Dhi0dyPE.js → TopExCard-leQR29Sq-DG9ySZIm.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-TvYCbzSP-CwBViHGc.js → TopExDetailPage-Dgg7Do6D-B22efZAA.js} +3 -3
  209. package/dist/assets/{TransactionActivityLogPage-BL3vEAdU-CS7vD3qG.js → TransactionActivityLogPage-CU2pUJQL-CgftV9ye.js} +5 -5
  210. package/dist/assets/{TransactionDetailPage-DUouBL0o-BaXoqvey.js → TransactionDetailPage-FT2IPLH7-DAfWSPCG.js} +32 -32
  211. package/dist/assets/{TransactionDetailRoutes-B-UBtWLp.js → TransactionDetailRoutes-l4cqdz7w.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-B7XWRVbF.js → TransactionDetailScreen-BxZ1AvRI.js} +1 -1
  213. package/dist/assets/{TransactionList-B16NONME-CRFiM4VM.js → TransactionList-C2MGkQYM-CPp22oMb.js} +8 -8
  214. package/dist/assets/{TransactionListBig-CItPbTRV-UNSverIa.js → TransactionListBig-CZ3jIxzR-BG5pwJlw.js} +6 -6
  215. package/dist/assets/TransactionListPage-PCa4exLO-uM7mJD-y.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-CMu9kV3q.js → TransactionListRoutes-veIGR3tC.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DpqisXN8-D2bHcxtn.js → TransactionVendorDetailPage-BgcqndCu-BSSs2Jcd.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-Dsmbswu0-uDwjyCTF.js → TransferDrawerPage-SirvPH4z-DtzIcgDc.js} +10 -10
  219. package/dist/assets/{TreasuryOverviewPage-BcRpcYmB-OKQJLbcE.js → TreasuryOverviewPage-B_WK1aOv-Bqerf9ct.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-DOO_OMRa-8BGrxptq.js → TreasuryPromoPage-B_D63Dr2-Di08g28n.js} +6 -6
  221. package/dist/assets/{TreasuryRoutes-Cb-myn_k.js → TreasuryRoutes-BDfDMqyl.js} +6 -6
  222. package/dist/assets/{TreasuryStatementsPage-A_U7bEy5-CYr3tH5Z.js → TreasuryStatementsPage-BGe0fhBe-D_xnH4qk.js} +2 -2
  223. package/dist/assets/{TreasuryTaxLetterPage-BsJn-BgX-D1G4s_HP.js → TreasuryTaxLetterPage-9gNdkQZp-CGVWuYY2.js} +2 -2
  224. package/dist/assets/{TrendChart-GMMat-NG-DkIjx5iX.js → TrendChart-COItOWPp-Bqzu2MgM.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-CrA4opNV-BCS_tNQW.js → TrendWithTransactions-DgAw_8CI-MC8wGnO9.js} +8 -8
  226. package/dist/assets/{UncategorizedAccountsMappingPage-CrzbFGOi-7c9nQkHm.js → UncategorizedAccountsMappingPage-B9EziB6Q-gv_x6dec.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-XZY6zJa7-Bog6bLZs.js → UnitIntegrationPage-DGWNyWV1-Dx2SNOLo.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-eqwSLigx-Cfv8NRXy.js → UploadAdditionalDocumentOverlay-DWmMz_8y-Dm_NzTDF.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-BHDivuPB-CB8oiip3.js → Vendor2FAPopup-dh2g8kqu-tmyn1K6T.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-C0vIRpRW-DV0u5MUr.js +1 -0
  231. package/dist/assets/{VendorDetailPage-DEu-yS8w-BHxBRvla.js → VendorDetailPage-CGqoIODq-DATvkiT-.js} +13 -13
  232. package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-DLIihksm.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-C461SzO0-Cw1duzzR.js → VendorFiling1099EditablePage-CsnlHrCl-DrSHAjrS.js} +1 -1
  234. package/dist/assets/{VendorFirstReviewPage-klbCHS04-yDjeltgT.js → VendorFirstReviewPage-DC1j2sO_-BShWc2PZ.js} +7 -7
  235. package/dist/assets/{VendorInternationalWireDetailsPage-DY0V-VbO-BJcPP-gp.js → VendorInternationalWireDetailsPage-Drr00a6C-B8ypeLTf.js} +1 -1
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-Cr3Iymam.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-Cqcr-ArD-BIHA7sqx.js → VendorsAccountsSection-BtdwR8u4-CH_AUGJD.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-CgJOnYMS.js → VendorsRoutes-DTveFO9E.js} +11 -11
  239. package/dist/assets/{VerifyDevice-Dhu5iywf-CpE-kgrB.js → VerifyDevice-Bhr_yHpE-BmXUueZN.js} +4 -4
  240. package/dist/assets/{VideoPlayer-ZGjx_Hp7-BHgQYkml.js → VideoPlayer-wlJX6lEq-BRAB9bV0.js} +1 -1
  241. package/dist/assets/VideoPopup-BPptwR51-Dm-cn-KD.js +31 -0
  242. package/dist/assets/{WiseConfirmationScreen-BTkxegx5.js → WiseConfirmationScreen-Be5nRHHx.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-DQB7sXU9-ZmSVhLSw.js → ZeniAccountDetailPage-CSsu44ls-2H7-YqPq.js} +12 -12
  244. package/dist/assets/{ZeniAccountListViewPage-BwXKgf6g-Ctizh7he.js → ZeniAccountListViewPage-BZwGCrzx-Hl1cOwI1.js} +32 -32
  245. package/dist/assets/{ZeniAccountNavBarPieces-CHUTFAWG-BmLRxXwk.js → ZeniAccountNavBarPieces-CrNjnkNS-CNki38NN.js} +5 -5
  246. package/dist/assets/{ZeniAccountPromoPage-BkfJuMNV-Ckl9m4pN.js → ZeniAccountPromoPage-CahV-Rmf-Dvz1FwqA.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-D71bZRux.js → ZeniAccountRoutes-BMxuBylQ.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-C3drM4Zs-B_sQz9qJ.js → ZeniAccountSetupPage-DSNDNKZr-CwYlMf2d.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-BI6AQKJr.js → ZeniAccountStatementScreen-BJVQBUGi.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-C38T0-5--BSN8GGLN.js → ZeniAvatar-De0hFvIm-DzjTiqNz.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-CznSgVJF-B8RRSTgM.js → ZeniCopyright-BNGdkMOa-Cl7T_xPz.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-Bw9RlgoL-BmT27weB.js → ZeniDatePicker-CYNEE0pM-DG-NDcrF.js} +4 -4
  253. package/dist/assets/{ZeniTransferAmountSlider-C77DEl-C-CruP3RMa.js → ZeniTransferAmountSlider-DuD1JtSv-DhSBAK_q.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-B1SwIfFo.js → accountMappingHelper-FrhvxzcW.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-2vbkyqzY.js → add-to-wallet-DgdBD8_G-BqBidt5n.js} +1 -1
  256. package/dist/assets/{analytics-Qgv3Fhaa.js → analytics-CVqRc8fh.js} +1 -1
  257. package/dist/assets/{analyticsHelper-BtB7CtC3.js → analyticsHelper-DJS6x-LZ.js} +1 -1
  258. package/dist/assets/{analyticsHelper-Bh8o1v3y-DbxZaMDt.js → analyticsHelper-DjQYjslY-BxoS4N1f.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-CHgaZ-yo.js → arrow-south-east-round-PEovUgvH-B3QTzBHA.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-BdBsn5Ol.js → auto-transfer-rule-mbafm5D3-de_8OjuK.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-CxU8IzEu.js → avatar-Dz7aEm3d-B-3VAvb3.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-DhC6VHDB.js → bank-letter-BOcVjN6J-KdddOmyc.js} +1 -1
  263. package/dist/assets/{calculateSize-QoQyn_Ku-BQL_mWcG.js → calculateSize-i9QGr8q0-Dp5VSL_N.js} +1 -1
  264. package/dist/assets/{chartTypes-C14YY2Rq--XZc2xV6.js → chartTypes-BGl-YMiu-DyUWLIfR.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-BBrb7jeK.js → clock-CJkylEKt-CB7HCMZv.js} +1 -1
  266. package/dist/assets/common-Cws59IN1-fneKv-li.js +1 -0
  267. package/dist/assets/{commonDimensions-CVpc-NCw-CA0m656N.js → commonDimensions-CuKo3wam-D08uyy0o.js} +1 -1
  268. package/dist/assets/{commonTypes-Ec-PxfpT-DzRDGsuT.js → commonTypes-CfAg6Jvv-C_Qjl0Ts.js} +1 -1
  269. package/dist/assets/{core-CaikJZHD.js → core-AYNw6kyJ.js} +1 -1
  270. package/dist/assets/{dash.all.min-CteFsaah.js → dash.all.min-Dq_dQY1I.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-DcEFJStp.js → decodeURIComponentSafe-E-sgiudi.js} +1 -1
  272. package/dist/assets/{dnd-CzsffKNn.js → dnd-Dw-riVE4.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-BF4Thvjs.js → dollar-round-D18u7nlm-CvsBoEut.js} +1 -1
  274. package/dist/assets/{downloadPdf-BuPJ6cfr-Bn04BzVs.js → downloadPdf-Dcd8BY_9--BaRfov1.js} +1 -1
  275. package/dist/assets/{empty-B5B-FKq1.js → empty-C9c-cai_.js} +1 -1
  276. package/dist/assets/{empty-CTO6rJhq.js → empty-CX0U2Ty5.js} +1 -1
  277. package/dist/assets/{epic-DtTDCbBB.js → epic-B6fOiqme.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-CWbeOwgA.js → filter-cZIFUNvj-lFkn5gVk.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-dwEXf4rX.js → getLocaleForTenant-x8J8_kQc.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-BfzCBGHZ.js → gift-box-Cmt9OgIZ-BPwbjUGz.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DEuKmvBU.js → graphic-no-data-l-DU4J8fDt-CaJy2HdS.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CIA_wKU3.js → graphic-no-data-net-burn-l-CzmycA0m-C9pmzSAL.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-Z_I5plJl.js → handshake-BPg58FML-BSOSNqUk.js} +1 -1
  284. package/dist/assets/{helper-AgH8nJln-BDBxe9FK.js → helper-DkzA3y2L-CVdrHzZT.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-Bwqrw7ES.js → hyperlink-DQyCeXx2-CVVb97aA.js} +1 -1
  286. package/dist/assets/{index-CuxRoVvZ.js → index-CilRLucN.js} +6 -6
  287. package/dist/assets/{index-BL34svil.js → index-Dm85Hu6Z.js} +1 -1
  288. package/dist/assets/{index-B7wRNic7.js → index-DqcXLX0N.js} +1 -1
  289. package/dist/assets/{index-B9eknY8q.js → index-DubSD1fb.js} +1 -1
  290. package/dist/assets/{index-CLf01Vy8.js → index-NZat51vK.js} +1 -1
  291. package/dist/assets/{index-B9myuWEH.js → index-wicPWwlB.js} +1 -1
  292. package/dist/assets/{lexical-CXNTSpM4.js → lexical-B-dyW3-4.js} +1 -1
  293. package/dist/assets/{liveblocks--AdozwCz.js → liveblocks-DJcRPJQh.js} +1 -1
  294. package/dist/assets/{lottie-D86WIi_0.js → lottie-DdLBMmzp.js} +1 -1
  295. package/dist/assets/{mapLoadingInProgressToTreeNode-DTyQHWMc-tj_AEx0m.js → mapLoadingInProgressToTreeNode-lABm-2N9-Chsh4dr_.js} +1 -1
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D7pjBGp6-bV4CDhWS.js → mapSectionWithAcOnlyToTreeNode-COcUb2pF-DXYL2e9L.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-D6CiBSSk.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-CvVUjW74-CI8ETEqs.js +1 -0
  299. package/dist/assets/mapTimeframeBalancesToTreeNode-CwHF76sn-CrCtE0Hw.js +1 -0
  300. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-Dr2IrdLd.js +1 -0
  301. package/dist/assets/{media-player-OnsEq_AY.js → media-player-V7uSzi45.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-CfgKOIyt.js → money-2cg1MuG4-B7YE6t0I.js} +1 -1
  303. package/dist/assets/{mui-G2MlMTlr.js → mui-Ckdcx_YE.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-CWJ8fnGp.js → page-detail-CWX5S47F-NqWvakND.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-CaK_VLEF.js → page-summary-D7_VQHwN-BvkWkaoT.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-XfdQwEMM.js → panelSelectedMixin-Cddsb26L-CROMd__p.js} +1 -1
  307. package/dist/assets/{pathToGoBack-Dh6AhADv.js → pathToGoBack-C_2xxQDe.js} +1 -1
  308. package/dist/assets/{pdf-DwfifS04.js → pdf-CwWlK-Dr.js} +3 -3
  309. package/dist/assets/{pdf-lib-CuGtb6jg.js → pdf-lib-DhaWOBih.js} +1 -1
  310. package/dist/assets/{plaid-CcxzSXZd.js → plaid-BhP6n1uc.js} +1 -1
  311. package/dist/assets/{pusher-BNSVRSP_.js → pusher-8DhjdTCA.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-CF7OSKL1.js → radio-default-CiSgisfh-BoUlFA9D.js} +1 -1
  313. package/dist/assets/{react-BEcxr4nX.js → react-BHDcRwxI.js} +1 -1
  314. package/dist/assets/{react-V3TERlfD.js → react-BwCmpEw6.js} +1 -1
  315. package/dist/assets/{react-Cobj-_wp.js → react-CB4dPBRZ.js} +3 -3
  316. package/dist/assets/{react-DOvM9ag3.js → react-CE6422aE.js} +1 -1
  317. package/dist/assets/{react-Chqt_ss-.js → react-CGVKTtsW.js} +1 -1
  318. package/dist/assets/{react-BUDcsgZo.js → react-D-APY71d.js} +1 -1
  319. package/dist/assets/{react-C0Whd_8a.js → react-D4pZVe2B.js} +1 -1
  320. package/dist/assets/{react-WpjiT9jD.js → react-D_0srhsg.js} +1 -1
  321. package/dist/assets/{recharts-3tylCZU1.js → recharts-Dr1JzI4y.js} +1 -1
  322. package/dist/assets/{routePaths-CkO80-xL.js → routePaths-DqRhLReO.js} +1 -1
  323. package/dist/assets/{sentry-Cm8I7E9J.js → sentry-D-LCra2M.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-tt-dORuJ.js → shield-DOlUxcFf-D5PHf2Tj.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-d-tIWfnn.js → spend-limit-D6SyboD4-D85B38gI.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-CGYYTIjt-Cbihktyj.js +1 -0
  327. package/dist/assets/{toChartData-G5y-N82I-CpDZEMyX.js → toChartData-B4ligi4c-CgbG1qSk.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-CXIruzlf.js → transaction-placeholder-CpOwZAMG-Ca0HZ2W6.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-5VNbpbUY.js → undo-b_3XZ5CX-CSQ0fDLS.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-8UNw8MhM.js → unlock-BPWn2I5L-DDdPB9QU.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BhCuFTsT.js → upload-reimbursement-receipt-O2N8vcO7-DNsQOTk3.js} +1 -1
  332. package/dist/assets/{uploadAttachment-RbkIBMGO-DWkpV7gc.js → uploadAttachment-DgPDimcm-gkAtAf5q.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-BxCHb2mc.js → uploadReceipts-CIgkuVpu-CPDGmbPp.js} +1 -1
  334. package/dist/assets/{url-CvhemPUG.js → url-BK92KGZc.js} +1 -1
  335. package/dist/assets/{url-BMzuxPwA.js → url-DUid0IO0.js} +1 -1
  336. package/dist/assets/{useDeviceId-BzlY8kf5.js → useDeviceId-BCros22l.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-CtiCksTW.js → useInitialThreadRequest-Wj3ao3U4.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-BgmUYGJ7.js → useLongPress-GCK2COYQ-Bs4IMufW.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-BqojtCEK.js → usp-line-BBd1wKwW-BBaxYQlT.js} +1 -1
  340. package/dist/assets/{utils-BhOlvYO8.js → utils-CI1RvLss.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-DXYKCsTM.js → withTransactionSidePanel-CEBXOpSa.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-lC5X-sam.js → zeni-epic-state-B1zsDZZ4.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-DZ6h0uLr.js → zeni-icon-only-Bb7XRMgX.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/AccountInfoPage-pEEhPqOb-BzcKyQfW.js +0 -18
  347. package/dist/assets/ApAgingDetailPage-CxLVGnpY-BrZpRxc6.js +0 -46
  348. package/dist/assets/BillPayApprovalRuleDetailPage-Blxlv3pa-NuWc5jPY.js +0 -27
  349. package/dist/assets/ChargeCardPromoPage-D4canPX9-B2gMZ94L.js +0 -222
  350. package/dist/assets/CustomerOnboardingAuthScreen-DsZqZ3Im.js +0 -1
  351. package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--zNlFTkjO.js +0 -1
  352. package/dist/assets/EntityDetailPage-DPTSSZdS-CPjJOO2E.js +0 -18
  353. package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-DwBTA9or.js +0 -1
  354. package/dist/assets/MagicLinkDomesticWireDetailsPage-BcNOhJgL-M9e4wRPN.js +0 -1
  355. package/dist/assets/MagicLinkInternationalWireDetailsPage-Df8XYlkg-BKUO0J46.js +0 -1
  356. package/dist/assets/NavBarWithPicker-D2v1fhLS-CH1wdNXM.js +0 -30
  357. package/dist/assets/PandLWithForecastRoutes-CRImnf0E.js +0 -1
  358. package/dist/assets/ReferralListScreen-BaUv0jQW.js +0 -5
  359. package/dist/assets/ReportsPage-DrjOGopt-CEvm9-2-.js +0 -258
  360. package/dist/assets/RewardsRoutes-BcQjimjg.js +0 -1
  361. package/dist/assets/RoleWithToolTip-CqLxmtj6-BxFgYmxI.js +0 -22
  362. package/dist/assets/StatementItem-DjvU5wiI-BbvkEOCR.js +0 -31
  363. package/dist/assets/SummaryCard-DPOhBmkr-Bkvd2_eX.js +0 -1
  364. package/dist/assets/TaskRoutes-ByOGwdlB.js +0 -9
  365. package/dist/assets/TransactionListPage-DNecYY8M-BHlckINI.js +0 -35
  366. package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-ChbQ_fot.js +0 -1
  367. package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-0MxyPK7N.js +0 -1
  368. package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-CFJY5gem.js +0 -1
  369. package/dist/assets/VideoPopup-R3u0N_if-SR7jlWFi.js +0 -31
  370. package/dist/assets/common-Cu5K0AJk-Cxd55kqL.js +0 -1
  371. package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-9PB61B4X.js +0 -1
  372. package/dist/assets/mapTimeframeBalancesToTreeNode-Drhl_lnP-DCqw81Fp.js +0 -1
  373. package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-CPc-fd5T.js +0 -1
  374. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BaY2mTy_.js +0 -1
  375. package/dist/assets/toCOABalancesWithID-wh35N3no-D_L2t0iR.js +0 -1
@@ -1,16 +1,16 @@
1
- import{V as l,f0 as Mt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Qe,J as ft,S as Me,a_ as Gt,o as ce,A as Jt,m as Y,a9 as Zt,ha as Xt,fC as en,f1 as gt,eu as xt,O as Ge,ev as tn,x as fe,fF as ge,cc as nn,l as an,hb as ht,W as St,ck as on,fE as sn}from"./index-CuxRoVvZ.js";import{a as m}from"./sentry-Cm8I7E9J.js";import{n as P,k as Pt}from"./mui-G2MlMTlr.js";import{bQ as B,FH as rn,FI as cn}from"./zeni-epic-state-lC5X-sam.js";import{r as Ct,t as ln}from"./PaymentAccountSetupBillingAddressSection-q5z8XZFC-DgyJWqIO.js";import{b as bt,f as dn,a as It}from"./CustomerOnboardingDetailPageSkeleton-CaI_0pCb-D_9R8ntI.js";import{z as pn,r as un}from"./CompanyOfficerDetailsSection-BsCx7q-g-C5hfQprP.js";import{t as mn}from"./QBOSetupSection-BrtLMvEP-DHfwqwJo.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-Ec-PxfpT-DzRDGsuT.js";import"./SetUpAccountSection-_WPR-q2V-D1in60I8.js";import"./helper-AgH8nJln-BDBxe9FK.js";import"./LabeledAddressValueField-D66XOhMx-DAzGEgKS.js";import"./LabeledCountryMultiSelectField-kopByxLB-CVmx734o.js";import"./LabeledCreatableSingleSelectField-B6An-cwq-ZwV4dPE-.js";import"./LabeledDocumentField-D_ZD8JTn-EgNCcbbj.js";import"./LabeledNameField-DZJXGYR9-C9Z5T7ep.js";import"./avatar-Dz7aEm3d-CxU8IzEu.js";import"./QBOConnectionDialog-CXSi1Pd9-dALyjXGw.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new a.Error().stack;C&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[C]="9bfe7400-00ca-4f43-914e-753dc9869c0d",a._sentryDebugIdIdentifier="sentry-dbid-9bfe7400-00ca-4f43-914e-753dc9869c0d")}catch{}})();const yn=({companyView:a,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:w,onPhoneVerified:h,...k})=>{const f=Ye(),T=a?.companyOfficers.slice(0,10).sort((I,te)=>I.user.createTime?.isAfter(te.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:d}=Ge.getLocalizedStrings().customerOnboardingPage.sections,{title:V}=d,D=a?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(fn,{children:l.jsx(un,{companyOfficerData:C,allOfficers:T??[],allNationalityCountries:r,sectionHeader:V,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:w,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...k})})},fn=P.div`
1
+ import{V as l,f0 as Qt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Me,J as ft,S as Qe,a_ as Gt,o as ce,A as Zt,m as Y,a9 as Jt,ha as Xt,fC as en,f1 as gt,eu as Ot,O as Ge,ev as tn,x as fe,fF as ge,cc as nn,l as an,hb as ht,W as St,ck as on,fE as sn}from"./index-CilRLucN.js";import{a as m}from"./sentry-D-LCra2M.js";import{n as x,k as xt}from"./mui-Ckdcx_YE.js";import{bQ as B,FH as rn,FI as cn}from"./zeni-epic-state-B1zsDZZ4.js";import{r as Ct,t as ln}from"./PaymentAccountSetupBillingAddressSection-eeLSg7xb-CRk9dKLv.js";import{b as bt,f as dn,a as It}from"./CustomerOnboardingDetailPageSkeleton-CL-mOSUp-Crb7CsXj.js";import{z as pn,r as un}from"./CompanyOfficerDetailsSection-BY8hFQnp-DJfNkZb4.js";import{t as mn}from"./QBOSetupSection-Cdz2PDxV-3UdpeU-_.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-CfAg6Jvv-C_Qjl0Ts.js";import"./SetUpAccountSection-C8dulq9s-NOviRS6G.js";import"./helper-DkzA3y2L-CVdrHzZT.js";import"./LabeledAddressValueField-Cz6tRMoW-C7dop0k-.js";import"./LabeledCountryMultiSelectField-1kTcZMQW-Cq5wOhkQ.js";import"./LabeledCreatableSingleSelectField-PiLB1S77-CXLJARhZ.js";import"./LabeledDocumentField-Cicw8ABs-CehJpiD9.js";import"./LabeledNameField-BpfxLnfN-Dp4_3qSf.js";import"./avatar-Dz7aEm3d-B-3VAvb3.js";import"./QBOConnectionDialog-DYxoiSkA-BahHoGsk.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new a.Error().stack;C&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[C]="538f9314-7936-4ed5-88d6-538fbc213feb",a._sentryDebugIdIdentifier="sentry-dbid-538f9314-7936-4ed5-88d6-538fbc213feb")}catch{}})();const yn=({companyView:a,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:w,onPhoneVerified:h,...k})=>{const f=Ye(),T=a?.companyOfficers.slice(0,10).sort((I,te)=>I.user.createTime?.isAfter(te.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:d}=Ge.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=d,V=a?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(fn,{children:l.jsx(un,{companyOfficerData:C,allOfficers:T??[],allNationalityCountries:r,sectionHeader:D,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:V,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:w,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...k})})},fn=x.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
5
- `,gn=({allNationalityCountries:a,fileProps:C,companyDetails:r,companyIndustries:g,sectionId:_,isCompleted:w,isDisabled:h,style:k,onCompanyAddressClick:f,onRegisteredAddressClick:T})=>{const d=Ye(),{company_details:V}=Ge.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=V;return l.jsx(hn,{children:l.jsx(pn,{fileProps:C,companyDetails:r,sectionId:_,isDisabled:h,style:k,sectionHeader:D,productType:"onboarding",showInfoTooltip:d!=="small",showCompletedIcon:d==="small",isCompleted:w,allIndustries:g,allNationalityCountries:a,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","stateOfIncorporation","countriesOfOperations","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:f,onRegisteredAddressClick:T})})},hn=P.div`
5
+ `,gn=({allNationalityCountries:a,fileProps:C,companyDetails:r,companyIndustries:g,sectionId:_,isCompleted:w,isDisabled:h,style:k,onCompanyAddressClick:f,onRegisteredAddressClick:T})=>{const d=Ye(),{company_details:D}=Ge.getLocalizedStrings().customerOnboardingPage.sections,{title:V}=D;return l.jsx(hn,{children:l.jsx(pn,{fileProps:C,companyDetails:r,sectionId:_,isDisabled:h,style:k,sectionHeader:V,productType:"onboarding",showInfoTooltip:d!=="small",showCompletedIcon:d==="small",isCompleted:w,allIndustries:g,allNationalityCountries:a,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","stateOfIncorporation","countriesOfOperations","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:f,onRegisteredAddressClick:T})})},hn=x.div`
6
6
  display: flex;
7
7
  align-items: center;
8
8
  justify-content: center;
9
- `,Sn=P.div`
9
+ `,Sn=x.div`
10
10
  display: flex;
11
- `,Cn=P.input`
11
+ `,Cn=x.input`
12
12
  display: none;
13
- `,bn=({isValid:a,sectionId:C="onboardingQboConnection",...r})=>{const{register:g}=nn();return l.jsxs(Sn,{children:[l.jsx(Cn,{type:"hidden",...g(`${C}.connected`,{validate:_=>_==="true"}),value:a?"true":"false"}),l.jsx(mn,{isValid:a,...r})]})},R="companyDetails",b="companyOfficer",ee="onboardingPaymentAccountSetupSection",Ot="customerOnboardingDetailPage",y="onboardingSubscriptionBillingAddress",he="onboardingQboConnection",Se={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(Y[5],Y[9],112),subTitlePaddingTop:new fe(Y[3],Y[3]),subTitlePaddingBottom:new fe(Y[3],Y[3])},In=a=>`${a}_form`,le=Ge.getLocalizedStrings(),On=({fileProps:a,isRefreshingViewInBackground:C,isAdmin:r,onboardingCustomerView:g,companyTitles:_,connectedAccountProvider:w,analytics:h,cardPaymentView:k,stripeKey:f,googleAPIKey:T,handleCreateCardSetupIntent:d,handleConfirmCardSetupIntent:V,updateCardPaymentModalState:D,handleAddCardPaymentSource:I,resetCardPaymentViewState:te,handleResetCardPaymentErrorStatuses:ve,redirectToProductSuitePage:Ce,onFormErrorsChange:F,..._e})=>{const U=Ye(),Ne=m.useRef(null),Ve=m.useRef(null),G=m.useRef(null),De=m.useRef(null),[be,z]=m.useState(!1),[q,H]=m.useState("next"),[E,Ie]=m.useState(!1),[de,Oe]=m.useState(!1),[ne,J]=m.useState(null),{onAddressClick:ae,onCompanyDetailsChanged:A,onCompanyOfficerUpdated:Ae,onFetchLinkTokenClick:pe,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionClick:ie,onEstablishConnectionSuccess:N,onDeleteFile:Je,onEditFileName:Ze,updateFilesEntity:Xe,onGetOtp:wt,onSkipSetupClick:Te,onUpdateCustomerView:Fe,updateStepHandler:K,onVerifyOtp:kt,onResendOtp:vt,handleOnConnectClick:_t,updateQBOPopupState:Nt,onUpdateStep:$e,onAddressEditHandler:Vt}=_e,Dt=Wt(),s=Yt({mode:"onSubmit",reValidateMode:"onChange",defaultValues:We(g,g.allNationalityCountries),values:We(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),Q=m.useCallback(()=>{const e=[];return(s.getFieldState(ee).error!=null||s.getFieldState(y).error!=null)&&e.push("link_payment_account"),s.getFieldState(he).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=Q();F?.(e)},[Q,F]),m.useEffect(()=>{const e=s.watch((t,{name:n,type:o})=>{n!=null&&(o==="change"||o==="blur")&&ye(()=>{const c=Q();F?.(c)})});return()=>e.unsubscribe()},[s,Q,F]);const et=e=>{at(e)},{companyView:se,companyDetailsLocalData:p,companyOfficerLocalData:L,currentStep:i,completedSteps:tt,saveStatus:v,allSteps:S,allRequiredStepsCompleted:Ee,paymentAccount:M,paymentAccountStatus:nt,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:xe,pendingSaveDetails:{companyDetails:At,officer:Tt},subscriptionBillingAddress:Z}=g,Pe=m.useRef(""),Ft=e=>{Pe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(o=>o?.isSelectedForVerification===!0)??0,n=t<0?0:t;s.clearErrors(`${b}.${n}.phone`)},at=e=>{e==null||ge(e)?wt(e):s.trigger(`${b}.${X}.phone`)},X=Object.values(L).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${X<0?1:X+1}`,$t=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),Re=L[$]?.userId!=null?$t?.find(e=>e.user.userId===L[$]?.userId)?.address:null,ot=L[$]?.addressStatus?.addressToCreate,we=se?.companyAddress,it=p?.addressStatus?.addressToCreate,Ue=se?.registeredAddress,st=p?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:u}=le,{footer:Lt,steps:jt}=Et,{buttons:rt}=Lt,ct=jt[i],ze=S.length,re=Qe(v.fetchState),j=Qe(i),me=()=>{const e=Object.values(je).some(c=>c.fetchStatus.fetchState==="Completed"),t=M?.providerVerificationStatus?.code?.includes("verified")??!1,n=k.cardsList.length>0,o=k.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!M&&n||!n&&!M&&o};function lt(){if(s.getFieldState(y).error)return!1;const e=s.getValues(y),t=Z?.street.join("").trim(),n=Z?.city,o=Z?.state,c=Z?.country,O=Z?.postalCode!=null&&Z.postalCode||e.postalCode||u.strings.empty;return!!(t&&n&&o&&c&&O)}const dt=Qe(M?.providerVerificationStatus?.code);m.useEffect(()=>{dt==="pending_manual_verification"&&M?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,M?.providerVerificationStatus?.code,dt]),m.useEffect(()=>{const e=s.watch((t,{name:n})=>{n!=null&&t!=null&&ye(()=>(async(o,c)=>{if(o.includes(R))A?.(c[R]);else if(o.includes(b))Ae?.(c[b]);else if(o.includes(y)&&c[y]!=null){const O=s.getValues(`${y}`).country;let x=c[y];if(o.includes(`${y}.street`)&&c[y].street!=null){const{addressValue:W}=c[y].street,Ke=xt(W?.country);x={street:c[y].street??u.strings.empty,city:W?.locality??u.strings.empty,state:W?.administrativeAreaLevel1??u.strings.empty,country:Ke,countryCode:W?.countryCode??u.strings.empty,postalCode:W?.postalCode??u.strings.empty,secondaryInfo:c[y].secondaryInfo,suite:c[y].suite},O.selectedOption!==Ke.selectedOption&&(x={...x,country:Ke})}else(o===`${y}.country`&&O.selectedOption!=null||O.selectedOption!=null&&o.includes(`${y}.street`)===!1)&&(x={...x,countryCode:tn(O.selectedOption)});Vt(x)}})(n,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{re==="In-Progress"&&v.fetchState==="Completed"&&(s.reset(We(g,xe),{keepDirtyValues:!1}),j==="company_details"&&i==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Ce())},[s,g,re,v.fetchState,xe,j,i,S,Ce]),m.useEffect(()=>{be&&re==="In-Progress"&&v.fetchState==="Completed"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},[re,be,v.fetchState,Te]),m.useEffect(()=>{ne?.shouldNavigate===!0&&re==="In-Progress"&&v.fetchState==="Completed"&&(J(null),K(ne.fromStep,ne.stepDirection,!0))},[ne,re,v.fetchState,K]),m.useLayoutEffect(()=>{j!=null&&j!==i&&(S.indexOf(j)===S.indexOf(i)-1||S.indexOf(j)===ze-1&&S.indexOf(i)===0?q!=="next"&&H("next"):(S.indexOf(j)-1===S.indexOf(i)||S.indexOf(j)===0&&S.indexOf(i)===ze-1)&&q!=="previous"&&H("previous"))},[S,i,j,q,ze]);const pt=()=>{const e=L[$];return!!(e?.firstName||e?.lastName||e?.email||e?.nationalityCountryCode||e?.birthday||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0)},Bt=!Me(ot!=null?B(ot):null,Re!=null?B(Re):null),Rt=!Me(it!=null?B(it):null,we!=null?B(we):null),Ut=!Me(st!=null?B(st):null,Ue!=null?B(Ue):null),zt=s.getFieldState(R).isDirty||Rt||Ut||At,qe=s.getFieldState(b).isDirty&&pt()||Bt||Tt,ut=s.getFieldState(`${y}`).isDirty,ke=p?.primaryContactLocalData,qt=()=>{v.fetchState!=="In-Progress"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},mt=()=>{const e=L[$],t=e?.email??u.strings.empty,n=e?.phone??u.strings.empty,o=e?.ssn??u.strings.empty,c=e?.ownershipInCompany,O=X<0?0:X;let x=!0,W=!1;return t&&!(e?.firstName&&e?.lastName)&&(s.trigger([`${b}.${O}.name.firstName`,`${b}.${O}.name.lastName`],{shouldFocus:i==="company_officer"}),x=!1),(!t&&pt()||St.test(t)===!1)&&(s.trigger(`${b}.${O}.email`,{shouldFocus:i==="company_officer"}),x=!1),n&&ge(n)===!1&&(s.trigger(`${b}.${O}.phone`,{shouldFocus:i==="company_officer"}),x=!1),n&&ge(n)===!0&&w==="unit"&&(Pe.current!==""&&n===Pe.current||(W=!0,s.setError(`${b}.${O}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:i==="company_officer"}),x=!1)),c!=null&&c>100&&(s.trigger(`${b}.${O}.ownership`,{shouldFocus:i==="company_officer"}),x=!1),o&&sn.test(o)===!1&&(s.trigger(`${b}.${O}.ssn`,{shouldFocus:i==="company_officer"}),x=!1),{isValid:x,needsOtp:W,phoneNumber:n}},Ht=()=>{const e=p?.website?.toString()??u.strings.empty,t=p?.phone??u.strings.empty,n=p?.taxIdOrEIN??u.strings.empty,o=p?.primaryContactLocalData?.email??u.strings.empty;let c=!0;return e&&ht.test(e)===!1&&(s.trigger(`${R}.companyWebsite`,{shouldFocus:i==="company_details"}),c=!1),ht.lastIndex=0,t&&ge(t)===!1&&(s.trigger(`${R}.companyPhone`,{shouldFocus:i==="company_details"}),c=!1),(!o||St.test(o)===!1)&&(s.trigger(`${R}.primaryContactEmail`,{shouldFocus:i==="company_details"}),c=!1),n&&on.test(n)===!1&&(s.trigger(`${R}.companyTaxId`,{shouldFocus:i==="company_details"}),c=!1),c},yt=()=>{const e=L[$];return{email:e?.email??u.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?B(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Kt=()=>{const e=p?.primaryContactLocalData;h.trackBusinessVerificationSave(yt(),{companyDescription:p?.companyDescription,legalName:p?.companyLegalName,phone:p?.phone,website:p?.website?.toString(),industry:p?.companyIndustry??u.strings.empty,formattedAddress:p?.addressStatus?.addressToCreate!=null?B(p?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[He,Qt]=m.useState(!1);return l.jsxs(wn,{children:[l.jsxs(kn,{windowSize:U,children:[S.indexOf(i)>=0?l.jsx(Gt,{title:ct.sectionTitle,showBackButton:!1,backgroundColor:Dt.colors.grey4,style:{zIndex:4},showLeftSection:U!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:ce.sp0,paddingBottom:ce.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx(vn,{windowSize:U,children:l.jsx(Nn,{windowSize:U,children:l.jsx(_n,{})})}),l.jsx(Jt,{...s,children:l.jsx(Dn,{id:In(Ot),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:w,paymentAccount:M,accountStatus:nt,plaidConnectionDetails:je,sectionId:ee,hasError:s.getFieldState(ee).error!=null||de&&!me(),isValid:me(),analytics:h,onFetchLinkTokenClick:pe,onEstablishConnectionClick:ie,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionSuccess:N,cardPaymentView:k,resetCardPaymentViewState:te,updateCardPaymentModalState:D,cardSetupInProgress:He,subscriptionBillingAddressSectionId:y});let n=Ne;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:w,paymentAccount:M,accountStatus:nt,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:y,sectionId:ee,hasError:s.getFieldState(ee).error!=null||de&&!me(),isValid:me(),analytics:h,onFetchLinkTokenClick:pe,onEstablishConnectionClick:ie,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionSuccess:N,updateCardPaymentModalState:D,cardPaymentView:k,resetCardPaymentViewState:te,cardSetupInProgress:He,googleAPIKey:T,subscriptionBillingAddress:Z});break;case"qbo_connection":t=l.jsx(bn,{sectionId:he,hasError:s.getFieldState(he).error!=null,isAdmin:r,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:_t,updateQBOPopupState:Nt}),n=Ve;break;case"company_officer":t=l.jsx(yn,{companyOfficerLocalData:L,allNationalityCountries:xe,isCompleted:tt.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:a.filesEndPoint,authParams:a.authParams,isRefreshingViewInBackground:C,companyTitles:_,isVerificationPopupOpen:E,setIsVerificationPopupOpen:Ie,onGetOtp:et,onVerifyOtp:kt,onResendOtp:vt,onOfficerAddressClick:o=>ae(o,Re?.addressId),updateFilesEntity:Xe,onEditFileName:Ze,onDeleteFile:Je,verifiedPhoneNumber:Pe.current,onPhoneVerified:Ft,isDisabled:v.fetchState==="In-Progress"?"readonly":void 0,triggerError:at}),n=De;break;case"company_details":t=l.jsx(gn,{fileProps:{...a,onEditFileName:Ze,onDeleteFile:Je,updateFilesEntity:Xe},allNationalityCountries:xe,sectionId:R,companyIndustries:g.companyIndustries,companyDetails:p,isDisabled:v.fetchState==="In-Progress"?"readonly":void 0,isCompleted:tt.includes("company_details"),onCompanyAddressClick:o=>{const c=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ae(o,we?.addressId==null&&c!=null?c:we?.addressId)},onRegisteredAddressClick:o=>ae(o,Ue?.addressId)}),n=G}return l.jsxs(Vn,{ref:n,isVisible:i===e,includeAnimation:i==="link_payment_account"||i==="qbo_connection"?!Be.isQBOPopupOpen:i!=="company_officer"||!E,paddingBottom:e==="company_details"||e==="company_officer"?Y[6]:Y[0],stepAnimationDirection:q,children:[S.indexOf(i)>=0?l.jsx(An,{windowSize:U,children:ct.sectionSubTitle}):null,t]},e)})})}),l.jsx(Zt,{formId:`${Ot}`,style:{width:U==="small"?"auto":"100%",paddingTop:ce.sp2,paddingBottom:ce.sp2},primaryBtn:{onClick:()=>{switch(Oe(!1),i){case"link_payment_account":ut?setTimeout(()=>{const e=Q();F?.(e),lt()&&ut?((()=>{const t=s.getValues(y),n={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??u.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(n)})(),Fe($,!1,!0),J({fromStep:i,shouldNavigate:!0,stepDirection:"next"})):K(i,"next",!0)},200):K(i,"next",!0);break;case"qbo_connection":K(i,"next",!0);break;case"company_officer":if(qe){const e=mt();if(ye(()=>{const t=Q();F?.(t)}),e.needsOtp&&e.phoneNumber&&ge(e.phoneNumber)){const t=s.formState.errors[b]?.[X<0?0:X],n=t?.phone,o=t!=null&&Object.keys(t).some(c=>c!=="phone"&&t[c]!=null);if(n!=null&&!o)return void et(e.phoneNumber)}e.isValid&&(Fe($,!1,!1),h.trackOnboardingCompanyOfficerSave(yt(),{legalName:p?.companyLegalName},(()=>{const t=L[$],n=[];return t?.firstName!=null&&t.firstName!==u.strings.empty&&n.push("first_name"),t?.lastName!=null&&t.lastName!==u.strings.empty&&n.push("last_name"),t?.birthday!=null&&n.push("dob"),t?.nationalityCountryCode!=null&&n.push("nationality"),t?.addressStatus?.addressToCreate!=null&&n.push("address"),t?.phone!=null&&t.phone!==u.strings.empty&&t.isPhoneVerified===!0&&n.push("phone"),t?.titleAtCompany!=null&&t.titleAtCompany!==u.strings.empty&&n.push("company_role"),t?.ownershipInCompany!=null&&n.push("ownership"),t?.ssn!=null&&t.ssn!==u.strings.empty&&n.push("ssn"),t?.documentTypeSelectedForVerification!=null&&n.push("document_type"),t?.fileIds!=null&&t.fileIds.length>0&&n.push("document_uploaded"),{completedFields:n,status:n.length===11?"complete":n.length>0?"partially_complete":"incomplete"}})()),J({fromStep:i,shouldNavigate:!0,stepDirection:"next"}))}else K(i,"next",!0);break;case"company_details":Oe(!0);{const e=!(lt()&&me()),t=!Le?.accounting[0]?.isValid&&S.includes("qbo_connection");if(e||t)return e&&(s.trigger(`${ee}`),s.trigger(`${y}`)),t&&s.trigger(he),ye(()=>{const n=Q();F?.(n)}),void(e?$e("link_payment_account"):t&&$e("qbo_connection"))}if(zt||qe||!ke?.email){const e=Ht(),t=qe?mt():{isValid:!0};ye(()=>{const n=Q();F?.(n)}),e&&t.isValid?(Ee&&(z(!0),Kt()),Fe($,!Ee,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:p?.companyDescription,legalName:p?.companyLegalName,industry:p?.companyIndustry??u.strings.empty,incDate:p?.incDate?.toString(),phone:p?.phone,website:p?.website?.toString(),formattedAddress:p?.addressStatus?.addressToCreate!=null?B(p?.addressStatus?.addressToCreate):void 0},(()=>{const n=p,o=[];return n?.companyLegalName!=null&&o.push("legal_name"),n?.companyDescription!=null&&n?.companyDescription!==u.strings.empty&&o.push("company_description"),n?.addressStatus?.addressToCreate!=null&&o.push("company_address"),n?.registeredAddressStatus?.addressToCreate!=null&&o.push("registered_address"),n?.website!=null&&o.push("website"),n?.companyIndustry!=null&&n?.companyIndustry!==u.strings.empty&&o.push("industry"),n?.typeOfIncorporation!=null&&n?.typeOfIncorporation!==u.strings.empty&&o.push("type_of_incorporation"),n?.incDate!=null&&o.push("inc_date"),n?.phone!=null&&o.push("phone"),n?.primaryContactLocalData?.firstName!=null&&n?.primaryContactLocalData?.lastName!=null&&o.push("primary_contact_name"),n?.primaryContactLocalData?.email!=null&&o.push("primary_contact_email"),n?.taxIdOrEIN!=null&&o.push("tax_id_or_ein"),n?.companyFiles.find(c=>c.documentType==="certificate_of_incorporation")!=null&&o.push("certificate_of_incorporation"),n?.companyFiles.find(c=>c.documentType==="tax_ein")!=null&&o.push("ein"),{completedFields:o,status:o.length===14?"complete":o.length>0?"partially_complete":"incomplete"}})(),{firstName:ke?.firstName,lastName:ke?.lastName,email:ke?.email}),J({fromStep:i,shouldNavigate:!0,stepDirection:"next"})):t.isValid||$e("company_officer")}else Ee?qt():K(i,"next",!0)}},label:i==="company_details"?u.footer.submit:rt.next,isLoading:v.fetchState==="In-Progress",isDisabled:v.fetchState==="In-Progress"},cancelBtn:{onClick:()=>{K(i,"previous",!0)},label:rt.back,isDisabled:v.fetchState==="In-Progress"||S.indexOf(i)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(ln,{handleConfirmCardSetupIntent:V,updateCardPaymentModalState:D,handleCreateCardSetupIntent:d,handleAddCardPaymentSource:I,cardPaymentView:k,stripeKey:f,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ve,cardSetupInProgress:He,setCardSetupInProgress:Qt})]})},xn=Pt`
13
+ `,bn=({isValid:a,sectionId:C="onboardingQboConnection",...r})=>{const{register:g}=nn();return l.jsxs(Sn,{children:[l.jsx(Cn,{type:"hidden",...g(`${C}.connected`,{validate:_=>_==="true"}),value:a?"true":"false"}),l.jsx(mn,{isValid:a,...r})]})},z="companyDetails",b="companyOfficer",ee="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",y="onboardingSubscriptionBillingAddress",he="onboardingQboConnection",Se={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(Y[5],Y[9],112),subTitlePaddingTop:new fe(Y[3],Y[3]),subTitlePaddingBottom:new fe(Y[3],Y[3])},In=a=>`${a}_form`,le=Ge.getLocalizedStrings(),Pn=({fileProps:a,isRefreshingViewInBackground:C,isAdmin:r,onboardingCustomerView:g,companyTitles:_,connectedAccountProvider:w,analytics:h,cardPaymentView:k,stripeKey:f,googleAPIKey:T,handleCreateCardSetupIntent:d,handleConfirmCardSetupIntent:D,updateCardPaymentModalState:V,handleAddCardPaymentSource:I,resetCardPaymentViewState:te,handleResetCardPaymentErrorStatuses:ve,redirectToProductSuitePage:Ce,onFormErrorsChange:F,..._e})=>{const U=Ye(),Ne=m.useRef(null),De=m.useRef(null),G=m.useRef(null),Ve=m.useRef(null),[be,R]=m.useState(!1),[q,H]=m.useState("next"),[E,Ie]=m.useState(!1),[de,Pe]=m.useState(!1),[ne,Z]=m.useState(null),{onAddressClick:ae,onCompanyDetailsChanged:A,onCompanyOfficerUpdated:Ae,onFetchLinkTokenClick:pe,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionClick:ie,onEstablishConnectionSuccess:N,onDeleteFile:Ze,onEditFileName:Je,updateFilesEntity:Xe,onGetOtp:wt,onSkipSetupClick:Te,onUpdateCustomerView:Fe,updateStepHandler:K,onVerifyOtp:kt,onResendOtp:vt,handleOnConnectClick:_t,updateQBOPopupState:Nt,onUpdateStep:$e,onAddressEditHandler:Dt}=_e,Vt=Wt(),s=Yt({mode:"onSubmit",reValidateMode:"onChange",defaultValues:We(g,g.allNationalityCountries),values:We(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),M=m.useCallback(()=>{const e=[];return(s.getFieldState(ee).error!=null||s.getFieldState(y).error!=null)&&e.push("link_payment_account"),s.getFieldState(he).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=M();F?.(e)},[M,F]),m.useEffect(()=>{const e=s.watch((t,{name:n,type:o})=>{n!=null&&(o==="change"||o==="blur")&&ye(()=>{const c=M();F?.(c)})});return()=>e.unsubscribe()},[s,M,F]);const et=e=>{at(e)},{companyView:se,companyDetailsLocalData:p,companyOfficerLocalData:L,currentStep:i,completedSteps:tt,saveStatus:v,allSteps:S,allRequiredStepsCompleted:Ee,paymentAccount:Q,paymentAccountStatus:nt,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:Oe,pendingSaveDetails:{companyDetails:At,officer:Tt},subscriptionBillingAddress:J}=g,xe=m.useRef(""),Ft=e=>{xe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(o=>o?.isSelectedForVerification===!0)??0,n=t<0?0:t;s.clearErrors(`${b}.${n}.phone`)},at=e=>{e==null||ge(e)?wt(e):s.trigger(`${b}.${X}.phone`)},X=Object.values(L).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${X<0?1:X+1}`,$t=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),ze=L[$]?.userId!=null?$t?.find(e=>e.user.userId===L[$]?.userId)?.address:null,ot=L[$]?.addressStatus?.addressToCreate,we=se?.companyAddress,it=p?.addressStatus?.addressToCreate,Ue=se?.registeredAddress,st=p?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:u}=le,{footer:Lt,steps:jt}=Et,{buttons:rt}=Lt,ct=jt[i],Re=S.length,re=Me(v.fetchState),j=Me(i),me=()=>{const e=Object.values(je).some(c=>c.fetchStatus.fetchState==="Completed"),t=Q?.providerVerificationStatus?.code?.includes("verified")??!1,n=k.cardsList.length>0,o=k.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!Q&&n||!n&&!Q&&o};function lt(){if(s.getFieldState(y).error)return!1;const e=s.getValues(y),t=J?.street.join("").trim(),n=J?.city,o=J?.state,c=J?.country,P=J?.postalCode!=null&&J.postalCode||e.postalCode||u.strings.empty;return!!(t&&n&&o&&c&&P)}const dt=Me(Q?.providerVerificationStatus?.code);m.useEffect(()=>{dt==="pending_manual_verification"&&Q?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,Q?.providerVerificationStatus?.code,dt]),m.useEffect(()=>{const e=s.watch((t,{name:n})=>{n!=null&&t!=null&&ye(()=>(async(o,c)=>{if(o.includes(z))A?.(c[z]);else if(o.includes(b))Ae?.(c[b]);else if(o.includes(y)&&c[y]!=null){const P=s.getValues(`${y}`).country;let O=c[y];if(o.includes(`${y}.street`)&&c[y].street!=null){const{addressValue:W}=c[y].street,Ke=Ot(W?.country);O={street:c[y].street??u.strings.empty,city:W?.locality??u.strings.empty,state:W?.administrativeAreaLevel1??u.strings.empty,country:Ke,countryCode:W?.countryCode??u.strings.empty,postalCode:W?.postalCode??u.strings.empty,secondaryInfo:c[y].secondaryInfo,suite:c[y].suite},P.selectedOption!==Ke.selectedOption&&(O={...O,country:Ke})}else(o===`${y}.country`&&P.selectedOption!=null||P.selectedOption!=null&&o.includes(`${y}.street`)===!1)&&(O={...O,countryCode:tn(P.selectedOption)});Dt(O)}})(n,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{re==="In-Progress"&&v.fetchState==="Completed"&&(s.reset(We(g,Oe),{keepDirtyValues:!1}),j==="company_details"&&i==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Ce())},[s,g,re,v.fetchState,Oe,j,i,S,Ce]),m.useEffect(()=>{be&&re==="In-Progress"&&v.fetchState==="Completed"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},[re,be,v.fetchState,Te]),m.useEffect(()=>{ne?.shouldNavigate===!0&&re==="In-Progress"&&v.fetchState==="Completed"&&(Z(null),K(ne.fromStep,ne.stepDirection,!0))},[ne,re,v.fetchState,K]),m.useLayoutEffect(()=>{j!=null&&j!==i&&(S.indexOf(j)===S.indexOf(i)-1||S.indexOf(j)===Re-1&&S.indexOf(i)===0?q!=="next"&&H("next"):(S.indexOf(j)-1===S.indexOf(i)||S.indexOf(j)===0&&S.indexOf(i)===Re-1)&&q!=="previous"&&H("previous"))},[S,i,j,q,Re]);const pt=()=>{const e=L[$];return!!(e?.firstName||e?.lastName||e?.email||e?.nationalityCountryCode||e?.birthday||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0)},Bt=!Qe(ot!=null?B(ot):null,ze!=null?B(ze):null),zt=!Qe(it!=null?B(it):null,we!=null?B(we):null),Ut=!Qe(st!=null?B(st):null,Ue!=null?B(Ue):null),Rt=s.getFieldState(z).isDirty||zt||Ut||At,qe=s.getFieldState(b).isDirty&&pt()||Bt||Tt,ut=s.getFieldState(`${y}`).isDirty,ke=p?.primaryContactLocalData,qt=()=>{v.fetchState!=="In-Progress"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},mt=()=>{const e=L[$],t=e?.email??u.strings.empty,n=e?.phone??u.strings.empty,o=e?.ssn??u.strings.empty,c=e?.ownershipInCompany,P=X<0?0:X;let O=!0,W=!1;return t&&!(e?.firstName&&e?.lastName)&&(s.trigger([`${b}.${P}.name.firstName`,`${b}.${P}.name.lastName`],{shouldFocus:i==="company_officer"}),O=!1),(!t&&pt()||St.test(t)===!1)&&(s.trigger(`${b}.${P}.email`,{shouldFocus:i==="company_officer"}),O=!1),n&&ge(n)===!1&&(s.trigger(`${b}.${P}.phone`,{shouldFocus:i==="company_officer"}),O=!1),n&&ge(n)===!0&&w==="unit"&&(xe.current!==""&&n===xe.current||(W=!0,s.setError(`${b}.${P}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:i==="company_officer"}),O=!1)),c!=null&&c>100&&(s.trigger(`${b}.${P}.ownership`,{shouldFocus:i==="company_officer"}),O=!1),o&&sn.test(o)===!1&&(s.trigger(`${b}.${P}.ssn`,{shouldFocus:i==="company_officer"}),O=!1),{isValid:O,needsOtp:W,phoneNumber:n}},Ht=()=>{const e=p?.website?.toString()??u.strings.empty,t=p?.phone??u.strings.empty,n=p?.taxIdOrEIN??u.strings.empty,o=p?.primaryContactLocalData?.email??u.strings.empty;let c=!0;return e&&ht.test(e)===!1&&(s.trigger(`${z}.companyWebsite`,{shouldFocus:i==="company_details"}),c=!1),ht.lastIndex=0,t&&ge(t)===!1&&(s.trigger(`${z}.companyPhone`,{shouldFocus:i==="company_details"}),c=!1),(!o||St.test(o)===!1)&&(s.trigger(`${z}.primaryContactEmail`,{shouldFocus:i==="company_details"}),c=!1),n&&on.test(n)===!1&&(s.trigger(`${z}.companyTaxId`,{shouldFocus:i==="company_details"}),c=!1),c},yt=()=>{const e=L[$];return{email:e?.email??u.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?B(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Kt=()=>{const e=p?.primaryContactLocalData;h.trackBusinessVerificationSave(yt(),{companyDescription:p?.companyDescription,legalName:p?.companyLegalName,phone:p?.phone,website:p?.website?.toString(),industry:p?.companyIndustry??u.strings.empty,formattedAddress:p?.addressStatus?.addressToCreate!=null?B(p?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[He,Mt]=m.useState(!1);return l.jsxs(wn,{children:[l.jsxs(kn,{windowSize:U,children:[S.indexOf(i)>=0?l.jsx(Gt,{title:ct.sectionTitle,showBackButton:!1,backgroundColor:Vt.colors.grey4,style:{zIndex:4},showLeftSection:U!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:ce.sp0,paddingBottom:ce.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx(vn,{windowSize:U,children:l.jsx(Nn,{windowSize:U,children:l.jsx(_n,{})})}),l.jsx(Zt,{...s,children:l.jsx(Vn,{id:In(Pt),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:w,paymentAccount:Q,accountStatus:nt,plaidConnectionDetails:je,sectionId:ee,hasError:s.getFieldState(ee).error!=null||de&&!me(),isValid:me(),analytics:h,onFetchLinkTokenClick:pe,onEstablishConnectionClick:ie,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionSuccess:N,cardPaymentView:k,resetCardPaymentViewState:te,updateCardPaymentModalState:V,cardSetupInProgress:He,subscriptionBillingAddressSectionId:y});let n=Ne;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:w,paymentAccount:Q,accountStatus:nt,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:y,sectionId:ee,hasError:s.getFieldState(ee).error!=null||de&&!me(),isValid:me(),analytics:h,onFetchLinkTokenClick:pe,onEstablishConnectionClick:ie,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionSuccess:N,updateCardPaymentModalState:V,cardPaymentView:k,resetCardPaymentViewState:te,cardSetupInProgress:He,googleAPIKey:T,subscriptionBillingAddress:J});break;case"qbo_connection":t=l.jsx(bn,{sectionId:he,hasError:s.getFieldState(he).error!=null,isAdmin:r,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:_t,updateQBOPopupState:Nt}),n=De;break;case"company_officer":t=l.jsx(yn,{companyOfficerLocalData:L,allNationalityCountries:Oe,isCompleted:tt.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:a.filesEndPoint,authParams:a.authParams,isRefreshingViewInBackground:C,companyTitles:_,isVerificationPopupOpen:E,setIsVerificationPopupOpen:Ie,onGetOtp:et,onVerifyOtp:kt,onResendOtp:vt,onOfficerAddressClick:o=>ae(o,ze?.addressId),updateFilesEntity:Xe,onEditFileName:Je,onDeleteFile:Ze,verifiedPhoneNumber:xe.current,onPhoneVerified:Ft,isDisabled:v.fetchState==="In-Progress"?"readonly":void 0,triggerError:at}),n=Ve;break;case"company_details":t=l.jsx(gn,{fileProps:{...a,onEditFileName:Je,onDeleteFile:Ze,updateFilesEntity:Xe},allNationalityCountries:Oe,sectionId:z,companyIndustries:g.companyIndustries,companyDetails:p,isDisabled:v.fetchState==="In-Progress"?"readonly":void 0,isCompleted:tt.includes("company_details"),onCompanyAddressClick:o=>{const c=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ae(o,we?.addressId==null&&c!=null?c:we?.addressId)},onRegisteredAddressClick:o=>ae(o,Ue?.addressId)}),n=G}return l.jsxs(Dn,{ref:n,isVisible:i===e,includeAnimation:i==="link_payment_account"||i==="qbo_connection"?!Be.isQBOPopupOpen:i!=="company_officer"||!E,paddingBottom:e==="company_details"||e==="company_officer"?Y[6]:Y[0],stepAnimationDirection:q,children:[S.indexOf(i)>=0?l.jsx(An,{windowSize:U,children:ct.sectionSubTitle}):null,t]},e)})})}),l.jsx(Jt,{formId:`${Pt}`,style:{width:U==="small"?"auto":"100%",paddingTop:ce.sp2,paddingBottom:ce.sp2},primaryBtn:{onClick:()=>{switch(Pe(!1),i){case"link_payment_account":ut?setTimeout(()=>{const e=M();F?.(e),lt()&&ut?((()=>{const t=s.getValues(y),n={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??u.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(n)})(),Fe($,!1,!0),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"})):K(i,"next",!0)},200):K(i,"next",!0);break;case"qbo_connection":K(i,"next",!0);break;case"company_officer":if(qe){const e=mt();if(ye(()=>{const t=M();F?.(t)}),e.needsOtp&&e.phoneNumber&&ge(e.phoneNumber)){const t=s.formState.errors[b]?.[X<0?0:X],n=t?.phone,o=t!=null&&Object.keys(t).some(c=>c!=="phone"&&t[c]!=null);if(n!=null&&!o)return void et(e.phoneNumber)}e.isValid&&(Fe($,!1,!1),h.trackOnboardingCompanyOfficerSave(yt(),{legalName:p?.companyLegalName},(()=>{const t=L[$],n=[];return t?.firstName!=null&&t.firstName!==u.strings.empty&&n.push("first_name"),t?.lastName!=null&&t.lastName!==u.strings.empty&&n.push("last_name"),t?.birthday!=null&&n.push("dob"),t?.nationalityCountryCode!=null&&n.push("nationality"),t?.addressStatus?.addressToCreate!=null&&n.push("address"),t?.phone!=null&&t.phone!==u.strings.empty&&t.isPhoneVerified===!0&&n.push("phone"),t?.titleAtCompany!=null&&t.titleAtCompany!==u.strings.empty&&n.push("company_role"),t?.ownershipInCompany!=null&&n.push("ownership"),t?.ssn!=null&&t.ssn!==u.strings.empty&&n.push("ssn"),t?.documentTypeSelectedForVerification!=null&&n.push("document_type"),t?.fileIds!=null&&t.fileIds.length>0&&n.push("document_uploaded"),{completedFields:n,status:n.length===11?"complete":n.length>0?"partially_complete":"incomplete"}})()),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"}))}else K(i,"next",!0);break;case"company_details":Pe(!0);{const e=!(lt()&&me()),t=!Le?.accounting[0]?.isValid&&S.includes("qbo_connection");if(e||t)return e&&(s.trigger(`${ee}`),s.trigger(`${y}`)),t&&s.trigger(he),ye(()=>{const n=M();F?.(n)}),void(e?$e("link_payment_account"):t&&$e("qbo_connection"))}if(Rt||qe||!ke?.email){const e=Ht(),t=qe?mt():{isValid:!0};ye(()=>{const n=M();F?.(n)}),e&&t.isValid?(Ee&&(R(!0),Kt()),Fe($,!Ee,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:p?.companyDescription,legalName:p?.companyLegalName,industry:p?.companyIndustry??u.strings.empty,incDate:p?.incDate?.toString(),phone:p?.phone,website:p?.website?.toString(),formattedAddress:p?.addressStatus?.addressToCreate!=null?B(p?.addressStatus?.addressToCreate):void 0},(()=>{const n=p,o=[];return n?.companyLegalName!=null&&o.push("legal_name"),n?.companyDescription!=null&&n?.companyDescription!==u.strings.empty&&o.push("company_description"),n?.addressStatus?.addressToCreate!=null&&o.push("company_address"),n?.registeredAddressStatus?.addressToCreate!=null&&o.push("registered_address"),n?.website!=null&&o.push("website"),n?.companyIndustry!=null&&n?.companyIndustry!==u.strings.empty&&o.push("industry"),n?.typeOfIncorporation!=null&&n?.typeOfIncorporation!==u.strings.empty&&o.push("type_of_incorporation"),n?.incDate!=null&&o.push("inc_date"),n?.phone!=null&&o.push("phone"),n?.primaryContactLocalData?.firstName!=null&&n?.primaryContactLocalData?.lastName!=null&&o.push("primary_contact_name"),n?.primaryContactLocalData?.email!=null&&o.push("primary_contact_email"),n?.taxIdOrEIN!=null&&o.push("tax_id_or_ein"),n?.companyFiles.find(c=>c.documentType==="certificate_of_incorporation")!=null&&o.push("certificate_of_incorporation"),n?.companyFiles.find(c=>c.documentType==="tax_ein")!=null&&o.push("ein"),{completedFields:o,status:o.length===14?"complete":o.length>0?"partially_complete":"incomplete"}})(),{firstName:ke?.firstName,lastName:ke?.lastName,email:ke?.email}),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"})):t.isValid||$e("company_officer")}else Ee?qt():K(i,"next",!0)}},label:i==="company_details"?u.footer.submit:rt.next,isLoading:v.fetchState==="In-Progress",isDisabled:v.fetchState==="In-Progress"},cancelBtn:{onClick:()=>{K(i,"previous",!0)},label:rt.back,isDisabled:v.fetchState==="In-Progress"||S.indexOf(i)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(ln,{handleConfirmCardSetupIntent:D,updateCardPaymentModalState:V,handleCreateCardSetupIntent:d,handleAddCardPaymentSource:I,cardPaymentView:k,stripeKey:f,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ve,cardSetupInProgress:He,setCardSetupInProgress:Mt})]})},On=xt`
14
14
  from {
15
15
  transform: translateY(100%);
16
16
  opacity: 0;
@@ -19,7 +19,7 @@ import{V as l,f0 as Mt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Qe,J as ft,S as Me
19
19
  transform: translateY(0);
20
20
  opacity: 1;
21
21
  }
22
- `,Pn=Pt`
22
+ `,xn=xt`
23
23
  from {
24
24
  transform: translateY(-100%);
25
25
  opacity: 0;
@@ -28,7 +28,7 @@ import{V as l,f0 as Mt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Qe,J as ft,S as Me
28
28
  transform: translateY(0);
29
29
  opacity: 1;
30
30
  }
31
- `,wn=P.div`
31
+ `,wn=x.div`
32
32
  display: flex;
33
33
  flex-direction: column;
34
34
  align-items: center;
@@ -40,7 +40,7 @@ import{V as l,f0 as Mt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Qe,J as ft,S as Me
40
40
  width: 100%;
41
41
  padding-left: ${ce.sp0};
42
42
  }
43
- `,kn=P.div`
43
+ `,kn=x.div`
44
44
  display: flex;
45
45
  flex-direction: column;
46
46
  align-items: center;
@@ -57,34 +57,34 @@ import{V as l,f0 as Mt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Qe,J as ft,S as Me
57
57
  ${a=>a.theme.breakpoints.down("lg")} {
58
58
  background-size: cover;
59
59
  }
60
- `,vn=P.div`
60
+ `,vn=x.div`
61
61
  display: flex;
62
62
  flex-direction: column;
63
63
  align-items: center;
64
64
  text-align: center;
65
65
  width: ${a=>`calc(100% - ${Se.topNavBarLeftRightSpace.valuePx(a.windowSize)})`};
66
- `,_n=P.div``,Nn=P.div`
66
+ `,_n=x.div``,Nn=x.div`
67
67
  display: flex;
68
68
  align-items: center;
69
69
  justify-content: space-between;
70
70
  width: 100%;
71
71
  min-height: ${a=>Se.topNavBarHeight.valuePx(a.windowSize)};
72
- `,Vn=P.div`
72
+ `,Dn=x.div`
73
73
  min-height: 100%;
74
74
  display: ${a=>a.isVisible?"flex":"none"};
75
75
  flex-direction: column;
76
76
  padding-bottom: ${a=>a.paddingBottom+"px"};
77
- animation-name: ${a=>a.stepAnimationDirection==="next"?xn:Pn};
77
+ animation-name: ${a=>a.stepAnimationDirection==="next"?On:xn};
78
78
  ${a=>a.includeAnimation?`
79
79
  animation-duration: 0.6s;
80
80
  animation-delay: 0s;
81
81
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
82
82
  animation-fill-mode: both;
83
83
  `:null}
84
- `,Dn=P.form`
84
+ `,Vn=x.form`
85
85
  padding-top: ${ce.sp0};
86
86
  flex: 1;
87
- `,An=P(an)`
87
+ `,An=x(an)`
88
88
  color: ${a=>a.theme.colors.hero};
89
89
  display: flex;
90
90
  justify-content: center;
@@ -94,12 +94,12 @@ import{V as l,f0 as Mt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Qe,J as ft,S as Me
94
94
  text-align: ${a=>a.windowSize==="small"?"initial":"center"};
95
95
  width: 100%;
96
96
  white-space: pre-line;
97
- `,We=(a,C)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:g,companyView:_}=a,w=le.commonSetUp.businessVerification,h=le.companyPassport,k=_?.companyOfficers!=null&&_?.companyOfficers.length>0;return{[R]:{companyDescription:r?.companyDescription??le.common.strings.empty,ein:r?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:r?.companyId,syncToken:r?.syncToken,companyLegalName:r?.companyLegalName,companyWebsite:r?.website?.toString()??le.common.strings.empty,companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:a.companyIndustries.map(f=>f.code)},companyIndustryType:{selectedOption:r?.companyIndustryType,allOptions:[...rn]},companySubIndustry:{selectedOption:r?.companySubIndustry,allOptions:cn(r?.companyIndustryType)},companyPhone:r?.phone,companyTaxId:r?.taxIdOrEIN,primaryContactName:{firstName:r?.primaryContactLocalData?.firstName,lastName:r?.primaryContactLocalData?.lastName},primaryContactEmail:r?.primaryContactLocalData?.email,primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((f,T)=>{const d=f,V=en(d?.documentTypeSelectedForVerification);return{userId:d?.userId,officerType:d?.officerType??`Officer_${T+1}`,name:{firstName:d?.firstName,lastName:d?.lastName},email:d?.email,fileIds:d?.fileIds??[],dob:d?.birthday?.toDate(),nationalityCountryCode:xt(d?.nationalityCountryCode,C.map(D=>D.countryCode)),ssn:d?.ssn,role:{selectedOption:d?.titleAtCompany,allOptions:w.allTypesOfRoles},phone:d?.phone,ownership:d?.ownershipInCompany,officerAddress:d?.addressStatus?.addressToCreate,selectDocument:{front:gt(!0,d?.userFiles??[],V),back:gt(!1,d?.userFiles??[],V),selectDocumentType:V},isSelectedForVerification:!k&&T===0||(d?.isSelectedForVerification??!1),userVerificationStatus:d?.userVerificationStatus,syncToken:d?.syncToken,isPhoneVerified:d?.isPhoneVerified,otpChallenge:d?.otpChallenge}}),[ee]:{account:{allOptions:[],selectedOption:void 0}},[y]:Xt(y,a?.subscriptionBillingAddress)[y],[he]:{connected:a.externalConnections?.accounting[0]?.isValid??!1}}},la=a=>{const{onboardingCustomerView:C,cardPaymentView:r,signedInUser:g,currentTenant:_,isOnAddressPage:w,stripeKey:h,googleAPIKey:k,onUpdateStep:f,onZeniLogoClick:T,handleLogOutClick:d,handleCockpitClick:V,meetingUrl:D,analytics:I,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ve,handleFetchPaymentSources:Ce,updateCardPaymentModalState:F,resetCardPaymentViewState:_e,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:Ne,...Ve}=a,{allSteps:G,completedSteps:De,halfCompletedSteps:be,currentStep:z,fetchStatus:q}=C,H=m.useRef(z),E=m.useRef(G),[Ie,de]=m.useState(!1),[Oe,ne]=m.useState([]),J={allSteps:G,isOnAddressPage:w,completedSteps:De,halfCompletedSteps:be,errorSteps:Oe,currentStep:z,fetchStatus:q,signedInUser:g,currentTenant:_,onUpdateStep:A=>{f(A)},onZeniLogoClick:T,handleLogOutClick:d,handleCockpitClick:V,setIsStepClicked:de};m.useEffect(()=>{if(H.current!==z){const A=H.current;Ie===!0&&(I?.trackOnboardingCurrentStep(z,A),de(!1)),H.current=z}},[z,Ie,I]),m.useEffect(()=>{G.length!==E.current.length&&(E.current=G)},[G]);const ae=q.fetchState==="In-Progress"||q.fetchState==="Not-Started";return l.jsx(Tn,{isOnAddressPage:w,children:w?l.jsx(bt,{...J}):l.jsxs(Fn,{children:[l.jsx(bt,{...J}),ae?l.jsx(dn,{isNoStepsPage:!1}):l.jsx(On,{onboardingCustomerView:C,analytics:I,updateStepHandler:(A,Ae,pe)=>{const oe=E.current.length,ue=E.current.indexOf(A);switch(Ae){case"next":{const ie=(ue+1)%oe,N=E.current[ie];H.current=N,f(N),pe===!0?I.trackOnboardingNext(A,N):I.trackOnboardingCurrentStep(N,A);break}case"previous":{const ie=(ue+oe-1)%oe,N=E.current[ie];H.current=N,f(N),pe===!0?I.trackOnboardingBack(A,N):I.trackOnboardingCurrentStep(N,A);break}}},onUpdateStep:f,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ve,updateCardPaymentModalState:F,handleFetchPaymentSources:Ce,cardPaymentView:r,resetCardPaymentViewState:_e,stripeKey:h,googleAPIKey:k,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:Ne,onFormErrorsChange:ne,...Ve}),ae?null:l.jsx(Mt,{isFooterRendered:!0,meetingUrl:D,analytics:I,productType:"onboarding"})]})})},Tn=P.div`
97
+ `,We=(a,C)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:g,companyView:_}=a,w=le.commonSetUp.businessVerification,h=le.companyPassport,k=_?.companyOfficers!=null&&_?.companyOfficers.length>0;return{[z]:{companyDescription:r?.companyDescription??le.common.strings.empty,ein:r?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:r?.companyId,syncToken:r?.syncToken,companyLegalName:r?.companyLegalName,companyWebsite:r?.website?.toString()??le.common.strings.empty,companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:a.companyIndustries.map(f=>f.code)},companyIndustryType:{selectedOption:r?.companyIndustryType,allOptions:[...rn]},companySubIndustry:{selectedOption:r?.companySubIndustry,allOptions:cn(r?.companyIndustryType)},companyPhone:r?.phone,companyTaxId:r?.taxIdOrEIN,primaryContactName:{firstName:r?.primaryContactLocalData?.firstName,lastName:r?.primaryContactLocalData?.lastName},primaryContactEmail:r?.primaryContactLocalData?.email,primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((f,T)=>{const d=f,D=en(d?.documentTypeSelectedForVerification);return{userId:d?.userId,officerType:d?.officerType??`Officer_${T+1}`,name:{firstName:d?.firstName,lastName:d?.lastName},email:d?.email,fileIds:d?.fileIds??[],dob:d?.birthday?.toDate(),nationalityCountryCode:Ot(d?.nationalityCountryCode,C.map(V=>V.countryCode)),ssn:d?.ssn,role:{selectedOption:d?.titleAtCompany,allOptions:w.allTypesOfRoles},phone:d?.phone,ownership:d?.ownershipInCompany,officerAddress:d?.addressStatus?.addressToCreate,selectDocument:{front:gt(!0,d?.userFiles??[],D),back:gt(!1,d?.userFiles??[],D),selectDocumentType:D},isSelectedForVerification:!k&&T===0||(d?.isSelectedForVerification??!1),userVerificationStatus:d?.userVerificationStatus,syncToken:d?.syncToken,isPhoneVerified:d?.isPhoneVerified,otpChallenge:d?.otpChallenge}}),[ee]:{account:{allOptions:[],selectedOption:void 0}},[y]:Xt(y,a?.subscriptionBillingAddress)[y],[he]:{connected:a.externalConnections?.accounting[0]?.isValid??!1}}},la=a=>{const{onboardingCustomerView:C,cardPaymentView:r,signedInUser:g,currentTenant:_,isOnAddressPage:w,stripeKey:h,googleAPIKey:k,onUpdateStep:f,onZeniLogoClick:T,handleLogOutClick:d,handleCockpitClick:D,meetingUrl:V,analytics:I,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ve,handleFetchPaymentSources:Ce,updateCardPaymentModalState:F,resetCardPaymentViewState:_e,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:Ne,...De}=a,{allSteps:G,completedSteps:Ve,halfCompletedSteps:be,currentStep:R,fetchStatus:q}=C,H=m.useRef(R),E=m.useRef(G),[Ie,de]=m.useState(!1),[Pe,ne]=m.useState([]),Z={allSteps:G,isOnAddressPage:w,completedSteps:Ve,halfCompletedSteps:be,errorSteps:Pe,currentStep:R,fetchStatus:q,signedInUser:g,currentTenant:_,onUpdateStep:A=>{f(A)},onZeniLogoClick:T,handleLogOutClick:d,handleCockpitClick:D,setIsStepClicked:de};m.useEffect(()=>{if(H.current!==R){const A=H.current;Ie===!0&&(I?.trackOnboardingCurrentStep(R,A),de(!1)),H.current=R}},[R,Ie,I]),m.useEffect(()=>{G.length!==E.current.length&&(E.current=G)},[G]);const ae=q.fetchState==="In-Progress"||q.fetchState==="Not-Started";return l.jsx(Tn,{isOnAddressPage:w,children:w?l.jsx(bt,{...Z}):l.jsxs(Fn,{children:[l.jsx(bt,{...Z}),ae?l.jsx(dn,{isNoStepsPage:!1}):l.jsx(Pn,{onboardingCustomerView:C,analytics:I,updateStepHandler:(A,Ae,pe)=>{const oe=E.current.length,ue=E.current.indexOf(A);switch(Ae){case"next":{const ie=(ue+1)%oe,N=E.current[ie];H.current=N,f(N),pe===!0?I.trackOnboardingNext(A,N):I.trackOnboardingCurrentStep(N,A);break}case"previous":{const ie=(ue+oe-1)%oe,N=E.current[ie];H.current=N,f(N),pe===!0?I.trackOnboardingBack(A,N):I.trackOnboardingCurrentStep(N,A);break}}},onUpdateStep:f,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ve,updateCardPaymentModalState:F,handleFetchPaymentSources:Ce,cardPaymentView:r,resetCardPaymentViewState:_e,stripeKey:h,googleAPIKey:k,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:Ne,onFormErrorsChange:ne,...De}),ae?null:l.jsx(Qt,{isFooterRendered:!0,meetingUrl:V,analytics:I,productType:"onboarding"})]})})},Tn=x.div`
98
98
  display: flex;
99
99
  flex-direction: column;
100
100
  width: ${a=>a.isOnAddressPage?"fit-content":"100%"};
101
101
  height: 100vh;
102
- `,Fn=P.div`
102
+ `,Fn=x.div`
103
103
  display: flex;
104
104
  flex-direction: column;
105
105
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{e as _,h as B,_ as F,y as I,V as e,a_ as U,o as t,b as k,aL as M,f0 as W,O as A,l as V,r as H,f as l,w as b,u as N,n as R,c2 as J,D as Z,aj as G}from"./index-CuxRoVvZ.js";import{a as n}from"./sentry-Cm8I7E9J.js";import{n as o}from"./mui-G2MlMTlr.js";import{Gk as q}from"./zeni-epic-state-lC5X-sam.js";import K from"./ConfettiBurst-D7J36hZf-CSVT9V2q.js";import{T as Q}from"./ProductsCarousel-CXjLTOLy-BLUY71s0.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new i.Error().stack;p&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[p]="f7d830de-64fb-4ce7-b81f-e10e39466b52",i._sentryDebugIdIdentifier="sentry-dbid-f7d830de-64fb-4ce7-b81f-e10e39466b52")}catch{}})();const X=A.getLocalizedStrings(),Ie=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:f=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=_(),x=B().analytics,w=F(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,O=I(),{customerOnboardingPage:c}=X,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:D}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=D;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]};return e.jsxs(e.Fragment,{children:[e.jsx(Y,{children:e.jsxs(ee,{windowSize:d,children:[e.jsx(te,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(fe,{children:e.jsx(xe,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:f?e.jsxs(ye,{"data-testid":k("update-to-payment-address-details"),onClick:()=>(s=>{if(v(),!s)return;let r="";r=i?"bank_account":"credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,q(s.productSettings))})(a),children:[e.jsx(we,{}),e.jsx(ke,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(be,{})})}),e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(re,{children:[e.jsxs(C,{children:[e.jsx(ne,{children:e.jsx(se,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(ae,{children:e.jsx(le,{children:c.productSuite.sectionTitle})}),e.jsx(de,{children:e.jsx(Q,{scale:1,showUpdatePaymentDetailButton:f,stopCarousel:y})}),e.jsxs(ce,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(pe,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(he,{className:"discover-class"})]})]}),e.jsx(ge,{children:e.jsxs(ue,{children:[e.jsx(me,{windowSize:d,children:e.jsx(M,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:x,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},Y=o.div`
1
+ import{e as _,h as B,_ as F,y as I,V as e,a_ as U,o as t,b as k,aL as M,f0 as W,O as A,l as V,r as H,f as l,w as b,u as N,n as R,c2 as J,D as Z,aj as G}from"./index-CilRLucN.js";import{a as n}from"./sentry-D-LCra2M.js";import{n as o}from"./mui-Ckdcx_YE.js";import{Gk as q}from"./zeni-epic-state-B1zsDZZ4.js";import K from"./ConfettiBurst-CsbAGF65-C9KfsdE7.js";import{T as Q}from"./ProductsCarousel-COZZMTcH-Bzu55dWw.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new i.Error().stack;p&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[p]="9406dffc-2ceb-40a9-a1a2-ae753a17d860",i._sentryDebugIdIdentifier="sentry-dbid-9406dffc-2ceb-40a9-a1a2-ae753a17d860")}catch{}})();const X=A.getLocalizedStrings(),Ie=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=_(),f=B().analytics,w=F(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,O=I(),{customerOnboardingPage:c}=X,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:D}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=D;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]};return e.jsxs(e.Fragment,{children:[e.jsx(Y,{children:e.jsxs(ee,{windowSize:d,children:[e.jsx(te,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(xe,{children:e.jsx(fe,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:x?e.jsxs(ye,{"data-testid":k("update-to-payment-address-details"),onClick:()=>(s=>{if(v(),!s)return;let r="";r=i?"bank_account":"credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,q(s.productSettings))})(a),children:[e.jsx(we,{}),e.jsx(ke,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(be,{})})}),e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(re,{children:[e.jsxs(C,{children:[e.jsx(ne,{children:e.jsx(se,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(ae,{children:e.jsx(le,{children:c.productSuite.sectionTitle})}),e.jsx(de,{children:e.jsx(Q,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(ce,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(pe,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(he,{className:"discover-class"})]})]}),e.jsx(ge,{children:e.jsxs(ue,{children:[e.jsx(me,{windowSize:d,children:e.jsx(M,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},Y=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -164,9 +164,9 @@ import{e as _,h as B,_ as F,y as I,V as e,a_ as U,o as t,b as k,aL as M,f0 as W,
164
164
  justify-content: center;
165
165
  align-items: center;
166
166
  cursor: default;
167
- `,fe=o.div`
167
+ `,xe=o.div`
168
168
  display: flex;
169
- `,xe=o(H)`
169
+ `,fe=o(H)`
170
170
  height: ${t.sp4};
171
171
  width: 102px;
172
172
  color: ${i=>i.theme.colors.primary};
@@ -1,4 +1,4 @@
1
- import{j as a}from"./pdf-DwfifS04.js";import{t as $e,A as Ce}from"./AddressScreen-ZPcySSaO.js";import ze from"./NotFoundScreen-DxyQKnff.js";import{a as g}from"./sentry-Cm8I7E9J.js";import{j as oe,h as se,i as ie,l as re,u as P,N as E,k as ce,g as Qe,R as Me,m as Q}from"./core-CaikJZHD.js";import{N as de,_ as le,js as B,aE as ue,y as qe,aG as _,jO as V,bj as J,jz as N,jQ as we,J as X,ks as Ke,e as Ze,a7 as Ie,jD as te,kt as He,ku as ke,o as Je,kv as We,ev as Ee,kw as Xe}from"./index-CuxRoVvZ.js";import{bm as Ye,ct as ee,cV as et,cA as pe,cy as me,bt as tt,jA as at,cQ as nt,G7 as ot,gp as ae,gs as ve,Hi as st,F3 as it,bE as ge,oR as he,oC as rt,I0 as Y,oS as _e,Dv as ct,hr as Ue,I1 as Ve,I2 as dt,I3 as lt,I4 as ut,gn as pt,gq as mt,oE as Be,oQ as gt,bG as Te,bJ as ht,p2 as xe,mK as yt,my as ft,hj as St,dj as bt,di as Ct,dh as It,I5 as kt,ow as Et,p3 as Tt,p6 as xt,p9 as Ot,pf as At,Gk as Dt}from"./zeni-epic-state-lC5X-sam.js";import{n as ye}from"./mui-G2MlMTlr.js";import{g as Pt,h as Ft,q as ne}from"./QBOConnectionScreen-Ac9DU04j.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./empty-CTO6rJhq.js";import"./pdf-lib-CuGtb6jg.js";import"./index-B9myuWEH.js";import"./url-CvhemPUG.js";import"./index-B9eknY8q.js";import"./decodeURIComponentSafe-DcEFJStp.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="4948eec9-0d0b-42a4-a2a3-6a69c6b7069a",t._sentryDebugIdIdentifier="sentry-dbid-4948eec9-0d0b-42a4-a2a3-6a69c6b7069a")}catch{}})();const jt=ce(function(t,o){const s=[];o.isApAgingFeatureEnabled===!1&&s.push("accounts_payable_aging"),o.isArAgingFeatureEnabled===!1&&s.push("accounts_receivable_aging"),o.shouldFetchZeniAccountsPromoCard===!1&&s.push("zeni_accounts_promo_card"),o.shouldFetchRewardsPlanCard===!1&&s.push("rewards_card"),o.isExpenseAutomationEnabledForUser===!1&&s.push("expense_automation_card");const u=nt(t,s,o.signedInUser,o.isExpenseAutomationFeatureEnabledV2,o.isExpenseAutomationEnabledForUser,o.isTreasuryEnabled);return{dashboardFetchState:ot(u.reportsInOrder.map(d=>({fetchState:d.fetchState,error:d.error}))).fetchState}},function(t,o){const{themeState:s,navigate:u,location:d}=o;return{onZeniLogoClick:()=>{s.toggle()},onDashboardFetchDone:()=>{const r=V(d.state?.pathnameStackToGoBack,d.pathname);u("../../dashboard",{state:{pathnameStackToGoBack:r,message:"activation"}})}}})(Ke),wt=()=>{const t=oe(),o=se(),s=ie(),u=de(),[d,r]=g.useState(!1),[p,S]=g.useState(!1),{tenantEmailDomain:e}=re(),n=le(),i=B.getSignedInUser(),h=Ye(i),{useFeatureGate:m}=ue(),k=qe(),{isFeatureEnabled:T}=m(_.isApAgingFeatureEnabled),{isFeatureEnabled:x}=m(_.isArAgingFeatureEnabled),{isFeatureEnabled:I}=m(_.isDepositAccountsFeatureEnabled),{isFeatureEnabled:y}=m(_.isReferralFeatureEnabled),{isFeatureEnabled:U}=m(_.isExpenseAutomationEnabled),{isFeatureEnabled:C}=m(_.isExpenseAutomationEnabledV2),{isFeatureEnabled:F}=m(_.isDebitCardFeatureEnabled),$=C||U&&h,c=P(l=>ee(l)),{isFeatureEnabled:G}=m(_.isTreasuryEnabled),j=c.company!=null&&et(c.company),L=G&&j,O=P(l=>l.onboardingCustomerViewState.fetchState),b=c.excludedResources,R=c.companyId??B.getSignedInUserTenant(e)?.companyId;if(i==null)throw Error("Can't access onboarding flow without signing in...");const w=pe(F,c),A=me(c),D=[],K=b?.resources?.find(l=>l.resource==="/reports/top_expenses")==null,z=b?.resources?.find(l=>l.resource==="/reports/task_card")==null,M=c?.userRole!=null&&tt(c?.userRole),v=b?.resources?.find(l=>l.resource==="/bills")==null&&!M,q=b?.resources?.find(l=>l.resource==="/reimbursements")==null;if(K===!1&&D.push("top_expenses"),z===!1&&D.push("task_card"),v===!1&&D.push("bill_pay_card","bill_pay_promo_card"),q===!1&&D.push("reimbursement_card","reimbursement_promo_card"),I===!1&&D.push("zeni_accounts_promo_card"),y===!1&&D.push("rewards_card"),g.useEffect(()=>{O!=="Completed"||d||w||A||(r(!0),s(at(i.userId,R,c.tenantId,!0,!1,D)))},[d,O,w,A,i,c.tenantId,s]),g.useEffect(()=>{(w||A)&&setTimeout(()=>{S(!0)},5e3)},[w,A]),O!=="Completed")return a.jsx(E,{to:"../"});if(O==="Completed"&&p){const l=V(o.state?.pathnameStackToGoBack,o.pathname);if(w)return a.jsx(E,{to:"../../checking",state:{...o.state,pathnameStackToGoBack:l,message:"activation"}});if(A)return a.jsx(E,{to:"../../cards",state:{...o.state,pathnameStackToGoBack:l,message:"activation"}})}return n?.loggedInUserRoleMap!=null?a.jsxs(a.Fragment,{children:[a.jsx(J,{analytics:N,onLoad:l=>(Z=>Z.trackPageLoaded(X.Event.onboardingDashboardActivation))(l)}),a.jsx(jt,{navigate:t,location:o,themeState:u,signedInUser:i,isApAgingFeatureEnabled:T,isArAgingFeatureEnabled:x,shouldFetchZeniAccountsPromoCard:I,shouldFetchRewardsPlanCard:y,isExpenseAutomationEnabledForUser:$,isExpenseAutomationFeatureEnabledV2:C,isTreasuryEnabled:L,loggedInUserRoleMap:n?.loggedInUserRoleMap})]}):a.jsx(we,{fetchState:"In-Progress",style:{backgroundColor:k.colors.grey5}})},Oe=ye.div`
1
+ import{j as a}from"./pdf-CwWlK-Dr.js";import{t as $e,A as Ce}from"./AddressScreen-INYb_JGl.js";import ze from"./NotFoundScreen-YeCuKQy4.js";import{a as g}from"./sentry-D-LCra2M.js";import{j as oe,h as se,i as ie,l as re,u as P,N as E,k as ce,g as Qe,R as Me,m as Q}from"./core-AYNw6kyJ.js";import{N as de,_ as le,js as B,aE as ue,y as qe,aG as _,jO as V,bk as J,jz as N,jQ as we,J as X,ks as Ke,e as Ze,a7 as Ie,jD as te,kt as He,ku as ke,o as Je,kv as We,ev as Ee,kw as Xe}from"./index-CilRLucN.js";import{bm as Ye,ct as ee,cV as et,cA as pe,cy as me,bt as tt,jA as at,cQ as nt,G7 as ot,gp as ae,gs as ve,Hi as st,F3 as it,bE as ge,oR as he,oC as rt,I0 as Y,oS as _e,Dv as ct,hr as Ue,I1 as Ve,I2 as dt,I3 as lt,I4 as ut,gn as pt,gq as mt,oE as Be,oQ as gt,bG as Te,bJ as ht,p2 as xe,mK as yt,my as ft,hj as St,dj as bt,di as Ct,dh as It,I5 as kt,ow as Et,p3 as Tt,p6 as xt,p9 as Ot,pf as At,Gk as Dt}from"./zeni-epic-state-B1zsDZZ4.js";import{n as ye}from"./mui-Ckdcx_YE.js";import{g as Pt,h as Ft,q as ne}from"./QBOConnectionScreen-CvnGX6ip.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./empty-CX0U2Ty5.js";import"./pdf-lib-DhaWOBih.js";import"./index-wicPWwlB.js";import"./url-BK92KGZc.js";import"./index-DubSD1fb.js";import"./decodeURIComponentSafe-E-sgiudi.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="769e9de8-ee45-4754-a0ed-2384ecaa384d",t._sentryDebugIdIdentifier="sentry-dbid-769e9de8-ee45-4754-a0ed-2384ecaa384d")}catch{}})();const jt=ce(function(t,o){const s=[];o.isApAgingFeatureEnabled===!1&&s.push("accounts_payable_aging"),o.isArAgingFeatureEnabled===!1&&s.push("accounts_receivable_aging"),o.shouldFetchZeniAccountsPromoCard===!1&&s.push("zeni_accounts_promo_card"),o.shouldFetchRewardsPlanCard===!1&&s.push("rewards_card"),o.isExpenseAutomationEnabledForUser===!1&&s.push("expense_automation_card");const u=nt(t,s,o.signedInUser,o.isExpenseAutomationFeatureEnabledV2,o.isExpenseAutomationEnabledForUser,o.isTreasuryEnabled);return{dashboardFetchState:ot(u.reportsInOrder.map(d=>({fetchState:d.fetchState,error:d.error}))).fetchState}},function(t,o){const{themeState:s,navigate:u,location:d}=o;return{onZeniLogoClick:()=>{s.toggle()},onDashboardFetchDone:()=>{const r=V(d.state?.pathnameStackToGoBack,d.pathname);u("../../dashboard",{state:{pathnameStackToGoBack:r,message:"activation"}})}}})(Ke),wt=()=>{const t=oe(),o=se(),s=ie(),u=de(),[d,r]=g.useState(!1),[p,S]=g.useState(!1),{tenantEmailDomain:e}=re(),n=le(),i=B.getSignedInUser(),h=Ye(i),{useFeatureGate:m}=ue(),k=qe(),{isFeatureEnabled:T}=m(_.isApAgingFeatureEnabled),{isFeatureEnabled:x}=m(_.isArAgingFeatureEnabled),{isFeatureEnabled:I}=m(_.isDepositAccountsFeatureEnabled),{isFeatureEnabled:y}=m(_.isReferralFeatureEnabled),{isFeatureEnabled:U}=m(_.isExpenseAutomationEnabled),{isFeatureEnabled:C}=m(_.isExpenseAutomationEnabledV2),{isFeatureEnabled:F}=m(_.isDebitCardFeatureEnabled),$=C||U&&h,c=P(l=>ee(l)),{isFeatureEnabled:G}=m(_.isTreasuryEnabled),j=c.company!=null&&et(c.company),L=G&&j,O=P(l=>l.onboardingCustomerViewState.fetchState),b=c.excludedResources,R=c.companyId??B.getSignedInUserTenant(e)?.companyId;if(i==null)throw Error("Can't access onboarding flow without signing in...");const w=pe(F,c),A=me(c),D=[],K=b?.resources?.find(l=>l.resource==="/reports/top_expenses")==null,z=b?.resources?.find(l=>l.resource==="/reports/task_card")==null,M=c?.userRole!=null&&tt(c?.userRole),v=b?.resources?.find(l=>l.resource==="/bills")==null&&!M,q=b?.resources?.find(l=>l.resource==="/reimbursements")==null;if(K===!1&&D.push("top_expenses"),z===!1&&D.push("task_card"),v===!1&&D.push("bill_pay_card","bill_pay_promo_card"),q===!1&&D.push("reimbursement_card","reimbursement_promo_card"),I===!1&&D.push("zeni_accounts_promo_card"),y===!1&&D.push("rewards_card"),g.useEffect(()=>{O!=="Completed"||d||w||A||(r(!0),s(at(i.userId,R,c.tenantId,!0,!1,D)))},[d,O,w,A,i,c.tenantId,s]),g.useEffect(()=>{(w||A)&&setTimeout(()=>{S(!0)},5e3)},[w,A]),O!=="Completed")return a.jsx(E,{to:"../"});if(O==="Completed"&&p){const l=V(o.state?.pathnameStackToGoBack,o.pathname);if(w)return a.jsx(E,{to:"../../checking",state:{...o.state,pathnameStackToGoBack:l,message:"activation"}});if(A)return a.jsx(E,{to:"../../cards",state:{...o.state,pathnameStackToGoBack:l,message:"activation"}})}return n?.loggedInUserRoleMap!=null?a.jsxs(a.Fragment,{children:[a.jsx(J,{analytics:N,onLoad:l=>(Z=>Z.trackPageLoaded(X.Event.onboardingDashboardActivation))(l)}),a.jsx(jt,{navigate:t,location:o,themeState:u,signedInUser:i,isApAgingFeatureEnabled:T,isArAgingFeatureEnabled:x,shouldFetchZeniAccountsPromoCard:I,shouldFetchRewardsPlanCard:y,isExpenseAutomationEnabledForUser:$,isExpenseAutomationFeatureEnabledV2:C,isTreasuryEnabled:L,loggedInUserRoleMap:n?.loggedInUserRoleMap})]}):a.jsx(we,{fetchState:"In-Progress",style:{backgroundColor:k.colors.grey5}})},Oe=ye.div`
2
2
  display: flex;
3
3
  height: 100vh;
4
4
  background-color: ${t=>t.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{z as OA,e as AA,_ as se,V as e,K as Ut,O as Q,B as Ot,F as Tt,o as r,G as Ht,I as Yt,J as UA,f as x,P as Kt,Q as Nt,S as zt,U as Ee,X as Gt,Y as Wt,Z as qt,a0 as Xt,a1 as Vt,a2 as Zt,a3 as P,a4 as G,a5 as K,a6 as _,b as k,T as $t,a7 as Ye,a8 as Ke,A as _t,a9 as Ar,x as tA,aa as W,ab as rA,H as oA,ac as Ne,ad as J,ae as U,af as XA,k as er,y as sA,ag as tr,ah as rr,ai as or,aj as ar,C as R,ak as TA,m as v,D as VA,l as HA,al as ze,am as Ge,an as We,ao as ir,ap as ZA,d as gr,M as nr,aq as Cr,ar as qe,as as sr,at as dr,au as $A,av as Er,aw as Br,ax as lr,ay as Qr,L as Xe,w as Ir,az as cr,aA as hr,aB as Ve,aC as Ze,j as pr,aD as mr,u as ur,t as $e}from"./index-CuxRoVvZ.js";import{a as t,b as w}from"./sentry-Cm8I7E9J.js";import{n as g,d as xr,c as kA,k as b}from"./mui-G2MlMTlr.js";import{L as fr}from"./lottie-D86WIi_0.js";import{bt as wr,bs as _e,F4 as At}from"./zeni-epic-state-lC5X-sam.js";import{v as kr}from"./DashboardSidebarBackgroundAnimation-C7DfUDio-C16c7XTp.js";import{L as Dr,k as yr}from"./ArAgingChart-Ba4A-i2N-DVKxnxLC.js";import{E as jr,T as de,I as et}from"./ReloadCard-Bjp8ygC2-fExG7Dij.js";import{L as vr,O as YA,c as cA}from"./TopExCard-CG8YLsYe-Dhi0dyPE.js";import{Y as br,X as Mr,H as Sr,P as Rr,G as Fr}from"./RevenueChart-CqGvXDr4-BYM89H6k.js";import Lr from"./InsightsCardStack-DxCA5sFh-BcClR9fT.js";import{a as Jr}from"./AccountsPromoCardStack-DHo59LLN-SJuuNn3m.js";import{c as eA}from"./SummaryCard-DPOhBmkr-Bkvd2_eX.js";import{t as Pr,o as Ur}from"./arrow-south-east-round-PEovUgvH-CHgaZ-yo.js";import{N as CA}from"./NavigationArrow-CWUL-6kN-DVve579d.js";import{x as _A}from"./NavigationDots-c-XSrFzE-eujVKwdH.js";import Or from"./CompanyPassportCard-BbUWOs1U-Dw1HMrsN.js";import{C as Tr}from"./gift-box-Cmt9OgIZ-BfzCBGHZ.js";import Hr from"./InformationCardStack-zc-BxR7F-Dc1qaC3e.js";import{p as tt}from"./chartTypes-C14YY2Rq--XZc2xV6.js";import{h as Yr}from"./toCOABalancesWithID-wh35N3no-D_L2t0iR.js";import{V as Kr}from"./toChartData-G5y-N82I-CpDZEMyX.js";import{r as Nr,i as zr}from"./graphic-no-data-net-burn-l-CzmycA0m-CIA_wKU3.js";import{N as Gr,J as Wr}from"./PromoBaseCards-CN9uZfG4-BbNgX9Bb.js";import{r as qr}from"./core-CaikJZHD.js";import{N as Xr,I as Vr}from"./VideoPlayer-ZGjx_Hp7-BHgQYkml.js";import Zr from"./ConfettiBurst-D7J36hZf-CSVT9V2q.js";import{N as $r,O as _r,Y as Ao,X as eo,Q as to}from"./recharts-3tylCZU1.js";import"./pdf-DwfifS04.js";import"./liveblocks--AdozwCz.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./graphic-no-data-l-DU4J8fDt-DEuKmvBU.js";import"./media-player-OnsEq_AY.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new A.Error().stack;a&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[a]="6ca35ff2-b4d1-4801-b061-4411adaa7d02",A._sentryDebugIdIdentifier="sentry-dbid-6ca35ff2-b4d1-4801-b061-4411adaa7d02")}catch{}})();const ro=g(rA)`
1
+ import{z as OA,e as AA,_ as se,V as e,K as Ut,O as Q,B as Ot,F as Tt,o as r,G as Ht,I as Yt,J as UA,f as x,P as Kt,Q as Nt,S as zt,U as Ee,X as Gt,Y as Wt,Z as qt,a0 as Xt,a1 as Vt,a2 as Zt,a3 as P,a4 as G,a5 as K,a6 as _,b as k,T as $t,a7 as Ye,a8 as Ke,A as _t,a9 as Ar,x as tA,aa as W,ab as rA,H as oA,ac as Ne,ad as J,ae as U,af as XA,k as er,y as sA,ag as tr,ah as rr,ai as or,aj as ar,C as R,ak as TA,m as v,D as VA,l as HA,al as ze,am as Ge,an as We,ao as ir,ap as ZA,d as gr,M as nr,aq as Cr,ar as qe,as as sr,at as dr,au as $A,av as Er,aw as Br,ax as lr,ay as Qr,L as Xe,w as Ir,az as cr,aA as hr,aB as Ve,aC as Ze,j as pr,aD as mr,u as ur,t as $e}from"./index-CilRLucN.js";import{a as t,b as w}from"./sentry-D-LCra2M.js";import{n as g,d as xr,c as kA,k as b}from"./mui-Ckdcx_YE.js";import{L as fr}from"./lottie-DdLBMmzp.js";import{bt as wr,bs as _e,F4 as At}from"./zeni-epic-state-B1zsDZZ4.js";import{v as kr}from"./DashboardSidebarBackgroundAnimation-C6xm-p2j-BW7a7KRi.js";import{L as Dr,k as yr}from"./ArAgingChart-BK-JyW2V-CpKqA7Z3.js";import{E as jr,T as de,I as et}from"./ReloadCard-CDcJMl9F-DmOo4rMc.js";import{L as vr,O as YA,c as cA}from"./TopExCard-leQR29Sq-DG9ySZIm.js";import{Y as br,X as Mr,H as Sr,P as Rr,G as Fr}from"./RevenueChart-BONT9upM-Wgu_yKns.js";import Lr from"./InsightsCardStack-mvzIc2uY-FQWyC3NM.js";import{a as Jr}from"./AccountsPromoCardStack-Ywhto4lV-cevnOXMT.js";import{c as eA}from"./SummaryCard-B1d4_5lE-Dcb38d7W.js";import{t as Pr,o as Ur}from"./arrow-south-east-round-PEovUgvH-B3QTzBHA.js";import{N as CA}from"./NavigationArrow-f4Z3TuXg-UuhH1nBa.js";import{x as _A}from"./NavigationDots-WiVjbUsC-Crp3ArrF.js";import Or from"./CompanyPassportCard-B3rZE3pg-CtuQmTD5.js";import{C as Tr}from"./gift-box-Cmt9OgIZ-BPwbjUGz.js";import Hr from"./InformationCardStack-B9g7W7Xx-BMa0JHtx.js";import{p as tt}from"./chartTypes-BGl-YMiu-DyUWLIfR.js";import{h as Yr}from"./toCOABalancesWithID-CGYYTIjt-Cbihktyj.js";import{V as Kr}from"./toChartData-B4ligi4c-CgbG1qSk.js";import{r as Nr,i as zr}from"./graphic-no-data-net-burn-l-CzmycA0m-C9pmzSAL.js";import{N as Gr,J as Wr}from"./PromoBaseCards-Bmn6TN2k-Bz52UdXc.js";import{r as qr}from"./core-AYNw6kyJ.js";import{N as Xr,I as Vr}from"./VideoPlayer-wlJX6lEq-BRAB9bV0.js";import Zr from"./ConfettiBurst-CsbAGF65-C9KfsdE7.js";import{N as $r,O as _r,Y as Ao,X as eo,Q as to}from"./recharts-Dr1JzI4y.js";import"./pdf-CwWlK-Dr.js";import"./liveblocks-DJcRPJQh.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./graphic-no-data-l-DU4J8fDt-CaJy2HdS.js";import"./media-player-V7uSzi45.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new A.Error().stack;a&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[a]="b29b0e57-04cd-4f4d-ab5b-adc3064e083a",A._sentryDebugIdIdentifier="sentry-dbid-b29b0e57-04cd-4f4d-ab5b-adc3064e083a")}catch{}})();const ro=g(rA)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,Be=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{e as I,y as Z,O as y,_ as Pe,V as a,a_ as Xe,L as Ke,J as Qe,a$ as et,o as i,x as D,S as K,b0 as tt,b1 as st,C as ae,m as L,an as at,ad as ot,a8 as Le,a as Ne,f as M,D as Ie,ac as nt,au as it,j as rt,b2 as ct,$ as lt,b3 as dt,b4 as oe,b5 as pt,t as gt,H as ht,b6 as mt,b7 as ut}from"./index-CuxRoVvZ.js";import{a as k,b as ee}from"./sentry-Cm8I7E9J.js";import{n as p,k as Re}from"./mui-G2MlMTlr.js";import{bt as ft,F6 as bt,F3 as xt,F7 as _t,F8 as wt,F9 as yt,Fa as St,Fb as vt,Fc as jt,Fd as Ct,Fe as kt}from"./zeni-epic-state-lC5X-sam.js";import{m as G,l as se}from"./analyticsHelper-Bh8o1v3y-DbxZaMDt.js";import{x as $t,b as Ot}from"./ReportTableViewSelector-DTk1dNWC-tS3w4hoK.js";import{F as Bt}from"./InsightsSection-BdFG3j3R-D7JeFV31.js";import{H as te}from"./BalancesInsightWithToolTip-DE6gDjGA-CuriAdQu.js";import{y as Pt,$ as Lt,v as Nt,M as xe,b as fe}from"./TimeRangeSwitcher-SqY2MHGs-vaeYYQAs.js";import{G as It,P as Rt,Y as _e,X as we,H as ye}from"./RevenueChart-CqGvXDr4-BYM89H6k.js";import{C as Tt}from"./NoDataChart-DJhSgtLu-BSak9fMr.js";import{n as F}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{T as Te}from"./TimeframeSwitcher-BlJ2fuHy-C0bwk8vS.js";import{n as Dt,t as W,j as zt,h as me,D as At}from"./CollapsableReportTable-gy7Ue_fk-xkuj86hA.js";import{S as Ft,M as Mt,g as Et,C as J,L as Se,D as ve,T as je}from"./mapSectionWithAcOnlyToTreeNode-D7pjBGp6-bV4CDhWS.js";import{d as Vt}from"./NoDataTable-BZiwo2qK-Cb8q0aH6.js";import{d as ne,l as ie}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BaY2mTy_.js";import{d as re}from"./mapLoadingInProgressToTreeNode-DTyQHWMc-tj_AEx0m.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./filter-cZIFUNvj-CWbeOwgA.js";import"./NavigationDots-c-XSrFzE-eujVKwdH.js";import"./chartTypes-C14YY2Rq--XZc2xV6.js";import"./toCOABalancesWithID-wh35N3no-D_L2t0iR.js";import"./toChartData-G5y-N82I-CpDZEMyX.js";import"./AccountRow-CdgvnPG8-Cz30EYLJ.js";import"./clock-CJkylEKt-BBrb7jeK.js";import"./graphic-no-data-l-DU4J8fDt-DEuKmvBU.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]="e150d0af-631e-4594-b494-14527854c5ef",e._sentryDebugIdIdentifier="sentry-dbid-e150d0af-631e-4594-b494-14527854c5ef")}catch{}})();const Wt=e=>k.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},k.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),k.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),k.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),k.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),k.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Ht=p.div`
1
+ import{e as I,y as Z,O as y,_ as Pe,V as a,a_ as Xe,L as Ke,J as Qe,a$ as et,o as i,x as D,S as K,b0 as tt,b1 as st,C as ae,m as L,an as at,ad as ot,a8 as Le,a as Ne,f as M,D as Ie,ac as nt,au as it,j as rt,b2 as ct,$ as lt,b3 as dt,b4 as oe,b5 as pt,t as gt,H as ht,b6 as mt,b7 as ut}from"./index-CilRLucN.js";import{a as k,b as ee}from"./sentry-D-LCra2M.js";import{n as p,k as Re}from"./mui-Ckdcx_YE.js";import{bt as ft,F6 as bt,F3 as xt,F7 as _t,F8 as wt,F9 as yt,Fa as St,Fb as vt,Fc as jt,Fd as Ct,Fe as kt}from"./zeni-epic-state-B1zsDZZ4.js";import{m as G,l as se}from"./analyticsHelper-DjQYjslY-BxoS4N1f.js";import{x as $t,b as Ot}from"./ReportTableViewSelector-DvCk55Hn-DU86kKFX.js";import{F as Bt}from"./InsightsSection-rGyA4lY9-ztCddwYb.js";import{H as te}from"./BalancesInsightWithToolTip-D4q45w1q-CBufZlsy.js";import{y as Pt,$ as Lt,v as Nt,M as xe,b as fe}from"./TimeRangeSwitcher-DpUOmqiR-D_tIz1xP.js";import{G as It,P as Rt,Y as _e,X as we,H as ye}from"./RevenueChart-BONT9upM-Wgu_yKns.js";import{C as Tt}from"./NoDataChart-DlSLTzZl-FuGU3dm-.js";import{n as F}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{T as Te}from"./TimeframeSwitcher-BKEtsv_r-CS6zQ4bX.js";import{n as Dt,t as W,j as zt,h as me,D as At}from"./CollapsableReportTable-ClHwXtCj-BfwfqIOK.js";import{S as Ft,M as Mt,g as Et,C as J,L as Se,D as ve,T as je}from"./mapSectionWithAcOnlyToTreeNode-COcUb2pF-DXYL2e9L.js";import{d as Vt}from"./NoDataTable-9vLoRpsR-CqXldB2y.js";import{d as ne,l as ie}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-Dr2IrdLd.js";import{d as re}from"./mapLoadingInProgressToTreeNode-lABm-2N9-Chsh4dr_.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./filter-cZIFUNvj-lFkn5gVk.js";import"./NavigationDots-WiVjbUsC-Crp3ArrF.js";import"./chartTypes-BGl-YMiu-DyUWLIfR.js";import"./toCOABalancesWithID-CGYYTIjt-Cbihktyj.js";import"./toChartData-B4ligi4c-CgbG1qSk.js";import"./AccountRow-Dczx5rSu-CwZA98Uy.js";import"./clock-CJkylEKt-CB7HCMZv.js";import"./graphic-no-data-l-DU4J8fDt-CaJy2HdS.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]="1df53a81-d5f3-41df-9015-cc709d88426d",e._sentryDebugIdIdentifier="sentry-dbid-1df53a81-d5f3-41df-9015-cc709d88426d")}catch{}})();const Wt=e=>k.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},k.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),k.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),k.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),k.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),k.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Ht=p.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{j as l}from"./pdf-DwfifS04.js";import{l as V,u as k,h as K,i as Y,j as z,k as $,R as Ze,m as T}from"./core-CaikJZHD.js";import{ct as P,Il as De,bG as Mt,bs as de,Jy as Na,ff as Ka,Jz as It,JA as za,fi as He,JB as xe,JC as $a,fn as Ja,JD as wt,JE as qa,fr as Qe,JF as Ee,JG as Za,F5 as et,JH as Ha,JI as Qa,IF as Xa,gj as Wa,JJ as en,bm as _e,JK as Lt,I9 as Q,bc as Ut,gx as Yt,jK as Gt,gg as Vt,Ib as X,Ia as N,JL as tn,JM as an,JN as Nt,JO as pe,qD as Ce,qE as ke,q$ as ue,qV as W,qI as ye,JP as nn,JQ as on,JR as rn,JS as Kt,JT as he,JU as sn,Fh as Fe,nj as zt,JV as cn,JW as ln,JX as dn,JY as tt,HB as at,r7 as nt,nr as un,JZ as mn,qF as Tt,nm as ie,ni as $t,J_ as ne,J$ as pn,K0 as ot,HA as rt,pj as Jt,K1 as hn,K2 as fn,K3 as gn,K4 as st,pw as bn,K5 as _n,qH as xt,pi as qt,K6 as oe,K7 as Cn,bt as Zt,rb as Ht,K8 as kn,K9 as yn,Ka as Sn,Kb as ct,r6 as vn,Kc as In,qG as Et,ra as Qt,Kd as re,Ke as wn,Kf as Tn,Kg as Xt,gC as Wt,jH as ea,gH as ta,jF as aa,jE as na,jD as oa,oH as xn,cV as En,bN as An,bO as Dn,jA as Fn,cQ as On,jQ as Pn,Kh as jn,z$ as Bn,Ki as Rn,Kj as Mn,Kk as Ln,b5 as it,cG as Un,ee as Yn,dl as Gn,jL as Vn,g9 as Nn,jI as Kn,jG as zn,cA as $n,cy as Jn}from"./zeni-epic-state-lC5X-sam.js";import{js as O,k4 as J,jO as x,jz as v,O as G,kS as qn,bj as Se,kT as ra,J as M,kU as Zn,_ as ve,kV as sa,aE as lt,aG as j,e as ca,y as ia,jQ as la,kW as Hn,x as Qn,m as Ve,kX as Ie,kY as Xn,jx as Wn,a7 as eo,aF as to,jM as ao,k2 as no,I as oo,kZ as ro,a2 as ge}from"./index-CuxRoVvZ.js";import{n as dt}from"./mui-G2MlMTlr.js";import{a as C}from"./sentry-Cm8I7E9J.js";import{w as da}from"./withTransactionSidePanel-DXYKCsTM.js";import{b as ua,t as me,e as ee,a as ut,v as so}from"./routePaths-CkO80-xL.js";import Xe from"./NotFoundScreen-DxyQKnff.js";import{t as ma}from"./analyticsHelper-BtB7CtC3.js";import{C as co}from"./CompanyPassportScreen-CT9c7lvA.js";import{F as io}from"./FeaturePreviewScreen-DcXxWeeZ.js";import{R as lo}from"./ReferralListScreen-BaUv0jQW.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./TransactionDetailScreen-B7XWRVbF.js";import"./decodeURIComponentSafe-DcEFJStp.js";import"./MobileAppDrawer-D4KAg1N8.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]="bc445af1-f564-4d60-b3e3-21605c851bba",e._sentryDebugIdIdentifier="sentry-dbid-bc445af1-f564-4d60-b3e3-21605c851bba")}catch{}})();const uo=da(function({openTransactionPanel:e,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n}){const{vendorId:o,reportDate:s}=V(),r=O.getSignedInUser(),c=k(I=>I.tenantState.currentTenantId),u=k(I=>P(I)),{tenantEmailDomain:m}=V(),_=K(),b=u?.companyName??"",h={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:c??""},i=C.useMemo(()=>({authParams:h,companyName:b,downloadEndPoint:`${J}/agingDetailedReport`,timezone:De()}),[]),d=C.useMemo(()=>s!=null?Mt(s):de(),[s]),p=Y(),g=z(),f=k(I=>Na(I,d,o)),y=C.useCallback(()=>{o!=null&&f.fetchState!=="In-Progress"&&f.fetchState!=="Completed"&&p(Ka(o,d))},[d]),E=C.useCallback(()=>{g("../../",{relative:"path"})},[]),U=C.useCallback((I,q)=>{p(It({sortKey:I,sortOrder:q}))},[]),se=C.useCallback(I=>{p(It({downloadState:I}))},[]),te=C.useCallback(I=>{if(e)e(I.transactionId,I.transactionType);else if(m!=null){const q=ua({id:I.transactionId,type:I.transactionType},m);g(q);const Pe=x(_.state?.pathnameStackToGoBack,_.pathname);g(q,{state:{pathnameStackToGoBack:Pe}})}},[m,e]),D=C.useCallback(()=>{f.vendor!=null&&v.trackApAgingDetail("AP Aging",d.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),f.vendor.id,f.vendor.name)},[f.vendor,d]);return C.useEffect(()=>{y()},[]),C.useEffect(()=>{f.fetchState==="Completed"&&D()},[D,f.fetchState]),l.jsx(qn,{apAgingDetail:f,downloadParams:i,reportDate:d,analytics:v,onTransactionClick:te,onReload:y,onBackClick:E,onColumnSortConfigChanged:U,updateDownloadStateHandler:se,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n})}),mo=()=>{const e=Y(),a=z(),t=k(y=>za(y)),n=O.getSignedInUser(),o=k(y=>y.tenantState.currentTenantId),s=k(y=>P(y)),r=s?.companyName??"",c={userId:n?.userId??"",sessionId:n?.zeniSessionId??"",tenantId:o??""},u=C.useMemo(()=>({authParams:c,companyName:r,downloadEndPoint:`${J}/agingReport`,timezone:De()}),[]),m=t.apAgingUIState.selectedDate??de(),_=C.useCallback(()=>{t.fetchState!=="In-Progress"&&t.fetchState!=="Completed"&&e(He(m))},[]);C.useEffect(()=>{_()},[]);const b=C.useCallback(()=>{a("../",{relative:"path"})},[]),h=C.useCallback(y=>{e(xe({searchString:y}))},[]),i=C.useCallback((y,E)=>{e(xe({sortKey:E,sortOrder:y}))},[]),d=C.useCallback(y=>{a(`./${y}/${m.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat)}`)},[m]),p=C.useCallback(y=>{e(xe({downloadState:y}))},[]),g=C.useCallback((y,E)=>{},[]),f=C.useCallback((y,E)=>{e(xe({selectedDate:y,agingDateSelectionType:E})),e(He(y))},[]);return l.jsxs(l.Fragment,{children:[t.fetchState==="Completed"?l.jsx(Se,{analytics:v,onLoad:y=>y.trackPageLoaded(M.Event.agingReport,"AP Aging")}):null,l.jsx(ra,{uiState:t.apAgingUIState,report:t,downloadParams:u,analytics:v,onReloadReport:_,onBackClick:b,onSearchTextChange:h,onSortOrderChange:i,onEntityNameClick:d,updateDownloadStateHandler:p,onSelectedDateChanged:f,onNodeCollapseToggled:g})]})},po=da(function({openTransactionPanel:e,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n}){const{customerId:o,reportDate:s}=V(),r=O.getSignedInUser(),c=k(D=>P(D)),{tenantEmailDomain:u}=V(),m=K(),_=c.companyName,b={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:c.tenantId},h=C.useMemo(()=>({authParams:b,companyName:_,downloadEndPoint:`${J}/agingDetailedReport`,timezone:De()}),[]),i=C.useMemo(()=>s!=null?Mt(s):de(),[s]),d=Y(),p=z(),g=k(D=>$a(D,i,o)),f=C.useCallback(()=>{o!=null&&g.fetchState!=="In-Progress"&&g.fetchState!=="Completed"&&d(Ja(o,i))},[i]),y=C.useCallback(()=>{p("../../",{relative:"path"})},[]),E=C.useCallback((D,I)=>{d(wt({sortKey:D,sortOrder:I}))},[]),U=C.useCallback(D=>{d(wt({downloadState:D}))},[]),se=C.useCallback(D=>{if(e)e(D.transactionId,D.transactionType);else if(u!=null){const I=ua({id:D.transactionId,type:D.transactionType},u);p(I);const q=x(m.state?.pathnameStackToGoBack,m.pathname);p(I,{state:{pathnameStackToGoBack:q}})}},[u,e]),te=C.useCallback(()=>{g.customer!=null&&v.trackArAgingDetail("AR Aging",i.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),g.customer.id,g.customer.name)},[g.customer,i]);return C.useEffect(()=>{f()},[]),C.useEffect(()=>{g.fetchState==="Completed"&&te()},[g.fetchState,te]),l.jsx(Zn,{arAgingDetail:g,downloadParams:h,reportDate:i,analytics:v,onTransactionClick:se,onReload:f,onBackClick:y,onColumnSortConfigChanged:E,updateDownloadStateHandler:U,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n})}),ho=()=>{const e=Y(),a=z(),t=k(f=>qa(f)),n=O.getSignedInUser(),o=k(f=>P(f)),s=o.companyName,r={userId:n?.userId??"",sessionId:n?.zeniSessionId??"",tenantId:o.tenantId},c=C.useMemo(()=>({authParams:r,companyName:s,downloadEndPoint:`${J}/agingReport`,timezone:De()}),[]),u=t.arAgingUIState.selectedDate??de(),m=C.useCallback(()=>{t.fetchState!=="In-Progress"&&t.fetchState!=="Completed"&&e(Qe(u))},[]);C.useEffect(()=>{m()},[]);const _=C.useCallback(()=>{a("../",{relative:"path"})},[]),b=C.useCallback(f=>{e(Ee({searchString:f}))},[]),h=C.useCallback((f,y)=>{e(Ee({sortKey:y,sortOrder:f}))},[]),i=C.useCallback(f=>{a(`./${f}/${u.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat)}`)},[u]),d=C.useCallback(f=>{e(Ee({downloadState:f}))},[]),p=C.useCallback((f,y)=>{e(Ee({selectedDate:f,agingDateSelectionType:y})),e(Qe(f))},[]),g=C.useCallback((f,y)=>{e(Za({nodeId:f,isCollapsed:y}))},[]);return l.jsxs(l.Fragment,{children:[t.fetchState==="Completed"?l.jsx(Se,{analytics:v,onLoad:f=>f.trackPageLoaded(M.Event.agingReport,"AR Aging")}):null,l.jsx(ra,{uiState:t.arAgingUIState,report:t,downloadParams:c,analytics:v,onReloadReport:m,onBackClick:_,onSearchTextChange:b,onSortOrderChange:h,onEntityNameClick:i,updateDownloadStateHandler:d,onSelectedDateChanged:p,onNodeCollapseToggled:g})]})},pa=(e,a)=>({key:a,title:e.accountName,amount:e.balance?.available,logoUri:e.logo?.toString(),source:e});function ha(e,a){const t=Xa(a.firstMonthOfFY);return{onItemClick:(n,o)=>{const s=o.accountName===""?o.accountDescription:o.accountName,r=me(a.tenantEmailDomain,o.accountId,o.accountType,s,"quarter",t,!1),c=x(a.location.state?.pathnameStackToGoBack,a.location.pathname);a.navigate(r,{state:{pathnameStackToGoBack:c,referrer:a.referrerType}})},onSetAccountsStatementDate:(n,o)=>{e(Wa(n,o))},onPromoCardBtnClick:n=>{if(a.isZeniAccountsAdmin){let o=`../../checking/${n}`;n?v.trackZeniAccountsCashBalancePromoClicked("Move Money"):(v.trackZeniAccountsCashBalancePromoClicked("Sign Up for Free"),o="../../checking/promo");const s=x(a.location.state?.pathnameStackToGoBack,a.location.pathname);a.navigate(o,{state:{pathnameStackToGoBack:s}})}else v.trackZeniAccountsCashBalancePromoClicked("Learn More"),window.open("https://www.zeni.ai/product/business-checking-accounts","_blank")}}}const fo=$(function(e){const a=Ha(e).accountsInOrder.map((n,o)=>pa(n,o)),t=Qa(e);return{sectionTitle:G.getLocalizedStrings().balanceCard.cashBalanceSectionTitle,transactionArray:a,zeniAccountsPromoCardReport:t,analytics:v}},ha)(sa),go=$(function(e){const a=en(e).accountsInOrder.map((o,s)=>pa(o,s)),t=O.getSignedInUser(),n=_e(t);return{sectionTitle:G.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,transactionArray:a,isZeniUser:n,analytics:v}},ha)(sa);function bo(){const e=z(),a=K(),{tenantEmailDomain:t}=V(),n=ve(),o=k(r=>P(r).company?.companyInfo.firstMonthOfFY??1),s=et(n?.loggedInUserRoleMap);return l.jsx(fo,{tenantEmailDomain:t,location:a,referrerType:"Cash Balance",navigate:e,isZeniAccountsAdmin:s,firstMonthOfFY:o})}function _o(){const e=z(),a=K(),{tenantEmailDomain:t}=V(),n=ve(),o=et(n?.loggedInUserRoleMap),s=k(r=>P(r).company?.companyInfo.firstMonthOfFY??1);return l.jsx(go,{tenantEmailDomain:t,location:a,referrerType:"Card Balance",navigate:e,isZeniAccountsAdmin:o,firstMonthOfFY:s})}const At={contentContainerLeftRightMargin:new Qn(Ve[3],Ve[3],Ve[8])},Co=dt.div`
1
+ import{j as l}from"./pdf-CwWlK-Dr.js";import{l as V,u as k,h as K,i as Y,j as z,k as $,R as Ze,m as T}from"./core-AYNw6kyJ.js";import{ct as P,Il as De,bG as Mt,bs as de,Jy as Na,ff as Ka,Jz as It,JA as za,fi as He,JB as xe,JC as $a,fn as Ja,JD as wt,JE as qa,fr as Qe,JF as Ee,JG as Za,F5 as et,JH as Ha,JI as Qa,IF as Xa,gj as Wa,JJ as en,bm as _e,JK as Lt,I9 as Q,bc as Ut,gx as Yt,jK as Gt,gg as Vt,Ib as X,Ia as N,JL as tn,JM as an,JN as Nt,JO as pe,qD as Ce,qE as ke,q$ as ue,qV as W,qI as ye,JP as nn,JQ as on,JR as rn,JS as Kt,JT as he,JU as sn,Fh as Fe,nj as zt,JV as cn,JW as ln,JX as dn,JY as tt,HB as at,r7 as nt,nr as un,JZ as mn,qF as Tt,nm as ie,ni as $t,J_ as ne,J$ as pn,K0 as ot,HA as rt,pj as Jt,K1 as hn,K2 as fn,K3 as gn,K4 as st,pw as bn,K5 as _n,qH as xt,pi as qt,K6 as oe,K7 as Cn,bt as Zt,rb as Ht,K8 as kn,K9 as yn,Ka as Sn,Kb as ct,r6 as vn,Kc as In,qG as Et,ra as Qt,Kd as re,Ke as wn,Kf as Tn,Kg as Xt,gC as Wt,jH as ea,gH as ta,jF as aa,jE as na,jD as oa,oH as xn,cV as En,bN as An,bO as Dn,jA as Fn,cQ as On,jQ as Pn,Kh as jn,z$ as Bn,Ki as Rn,Kj as Mn,Kk as Ln,b5 as it,cG as Un,ee as Yn,dl as Gn,jL as Vn,g9 as Nn,jI as Kn,jG as zn,cA as $n,cy as Jn}from"./zeni-epic-state-B1zsDZZ4.js";import{js as O,k4 as J,jO as x,jz as v,O as G,kS as qn,bk as Se,kT as ra,J as M,kU as Zn,_ as ve,kV as sa,aE as lt,aG as j,e as ca,y as ia,jQ as la,kW as Hn,x as Qn,m as Ve,kX as Ie,kY as Xn,jx as Wn,a7 as eo,aF as to,jM as ao,k2 as no,I as oo,kZ as ro,a2 as ge}from"./index-CilRLucN.js";import{n as dt}from"./mui-Ckdcx_YE.js";import{a as C}from"./sentry-D-LCra2M.js";import{w as da}from"./withTransactionSidePanel-CEBXOpSa.js";import{b as ua,t as me,e as ee,a as ut,v as so}from"./routePaths-DqRhLReO.js";import Xe from"./NotFoundScreen-YeCuKQy4.js";import{t as ma}from"./analyticsHelper-DJS6x-LZ.js";import{C as co}from"./CompanyPassportScreen-m_gXhHG_.js";import{F as io}from"./FeaturePreviewScreen-D5VxTq6D.js";import{R as lo}from"./ReferralListScreen-rNybuoN2.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./TransactionDetailScreen-BxZ1AvRI.js";import"./decodeURIComponentSafe-E-sgiudi.js";import"./MobileAppDrawer-BRK9r0e2.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]="8893327a-be8f-4f60-bca3-802afbd5946c",e._sentryDebugIdIdentifier="sentry-dbid-8893327a-be8f-4f60-bca3-802afbd5946c")}catch{}})();const uo=da(function({openTransactionPanel:e,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n}){const{vendorId:o,reportDate:s}=V(),r=O.getSignedInUser(),c=k(I=>I.tenantState.currentTenantId),u=k(I=>P(I)),{tenantEmailDomain:m}=V(),_=K(),b=u?.companyName??"",h={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:c??""},i=C.useMemo(()=>({authParams:h,companyName:b,downloadEndPoint:`${J}/agingDetailedReport`,timezone:De()}),[]),d=C.useMemo(()=>s!=null?Mt(s):de(),[s]),p=Y(),g=z(),f=k(I=>Na(I,d,o)),y=C.useCallback(()=>{o!=null&&f.fetchState!=="In-Progress"&&f.fetchState!=="Completed"&&p(Ka(o,d))},[d]),E=C.useCallback(()=>{g("../../",{relative:"path"})},[]),U=C.useCallback((I,q)=>{p(It({sortKey:I,sortOrder:q}))},[]),se=C.useCallback(I=>{p(It({downloadState:I}))},[]),te=C.useCallback(I=>{if(e)e(I.transactionId,I.transactionType);else if(m!=null){const q=ua({id:I.transactionId,type:I.transactionType},m);g(q);const Pe=x(_.state?.pathnameStackToGoBack,_.pathname);g(q,{state:{pathnameStackToGoBack:Pe}})}},[m,e]),D=C.useCallback(()=>{f.vendor!=null&&v.trackApAgingDetail("AP Aging",d.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),f.vendor.id,f.vendor.name)},[f.vendor,d]);return C.useEffect(()=>{y()},[]),C.useEffect(()=>{f.fetchState==="Completed"&&D()},[D,f.fetchState]),l.jsx(qn,{apAgingDetail:f,downloadParams:i,reportDate:d,analytics:v,onTransactionClick:te,onReload:y,onBackClick:E,onColumnSortConfigChanged:U,updateDownloadStateHandler:se,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n})}),mo=()=>{const e=Y(),a=z(),t=k(y=>za(y)),n=O.getSignedInUser(),o=k(y=>y.tenantState.currentTenantId),s=k(y=>P(y)),r=s?.companyName??"",c={userId:n?.userId??"",sessionId:n?.zeniSessionId??"",tenantId:o??""},u=C.useMemo(()=>({authParams:c,companyName:r,downloadEndPoint:`${J}/agingReport`,timezone:De()}),[]),m=t.apAgingUIState.selectedDate??de(),_=C.useCallback(()=>{t.fetchState!=="In-Progress"&&t.fetchState!=="Completed"&&e(He(m))},[]);C.useEffect(()=>{_()},[]);const b=C.useCallback(()=>{a("../",{relative:"path"})},[]),h=C.useCallback(y=>{e(xe({searchString:y}))},[]),i=C.useCallback((y,E)=>{e(xe({sortKey:E,sortOrder:y}))},[]),d=C.useCallback(y=>{a(`./${y}/${m.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat)}`)},[m]),p=C.useCallback(y=>{e(xe({downloadState:y}))},[]),g=C.useCallback((y,E)=>{},[]),f=C.useCallback((y,E)=>{e(xe({selectedDate:y,agingDateSelectionType:E})),e(He(y))},[]);return l.jsxs(l.Fragment,{children:[t.fetchState==="Completed"?l.jsx(Se,{analytics:v,onLoad:y=>y.trackPageLoaded(M.Event.agingReport,"AP Aging")}):null,l.jsx(ra,{uiState:t.apAgingUIState,report:t,downloadParams:u,analytics:v,onReloadReport:_,onBackClick:b,onSearchTextChange:h,onSortOrderChange:i,onEntityNameClick:d,updateDownloadStateHandler:p,onSelectedDateChanged:f,onNodeCollapseToggled:g})]})},po=da(function({openTransactionPanel:e,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n}){const{customerId:o,reportDate:s}=V(),r=O.getSignedInUser(),c=k(D=>P(D)),{tenantEmailDomain:u}=V(),m=K(),_=c.companyName,b={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:c.tenantId},h=C.useMemo(()=>({authParams:b,companyName:_,downloadEndPoint:`${J}/agingDetailedReport`,timezone:De()}),[]),i=C.useMemo(()=>s!=null?Mt(s):de(),[s]),d=Y(),p=z(),g=k(D=>$a(D,i,o)),f=C.useCallback(()=>{o!=null&&g.fetchState!=="In-Progress"&&g.fetchState!=="Completed"&&d(Ja(o,i))},[i]),y=C.useCallback(()=>{p("../../",{relative:"path"})},[]),E=C.useCallback((D,I)=>{d(wt({sortKey:D,sortOrder:I}))},[]),U=C.useCallback(D=>{d(wt({downloadState:D}))},[]),se=C.useCallback(D=>{if(e)e(D.transactionId,D.transactionType);else if(u!=null){const I=ua({id:D.transactionId,type:D.transactionType},u);p(I);const q=x(m.state?.pathnameStackToGoBack,m.pathname);p(I,{state:{pathnameStackToGoBack:q}})}},[u,e]),te=C.useCallback(()=>{g.customer!=null&&v.trackArAgingDetail("AR Aging",i.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),g.customer.id,g.customer.name)},[g.customer,i]);return C.useEffect(()=>{f()},[]),C.useEffect(()=>{g.fetchState==="Completed"&&te()},[g.fetchState,te]),l.jsx(Zn,{arAgingDetail:g,downloadParams:h,reportDate:i,analytics:v,onTransactionClick:se,onReload:f,onBackClick:y,onColumnSortConfigChanged:E,updateDownloadStateHandler:U,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n})}),ho=()=>{const e=Y(),a=z(),t=k(f=>qa(f)),n=O.getSignedInUser(),o=k(f=>P(f)),s=o.companyName,r={userId:n?.userId??"",sessionId:n?.zeniSessionId??"",tenantId:o.tenantId},c=C.useMemo(()=>({authParams:r,companyName:s,downloadEndPoint:`${J}/agingReport`,timezone:De()}),[]),u=t.arAgingUIState.selectedDate??de(),m=C.useCallback(()=>{t.fetchState!=="In-Progress"&&t.fetchState!=="Completed"&&e(Qe(u))},[]);C.useEffect(()=>{m()},[]);const _=C.useCallback(()=>{a("../",{relative:"path"})},[]),b=C.useCallback(f=>{e(Ee({searchString:f}))},[]),h=C.useCallback((f,y)=>{e(Ee({sortKey:y,sortOrder:f}))},[]),i=C.useCallback(f=>{a(`./${f}/${u.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat)}`)},[u]),d=C.useCallback(f=>{e(Ee({downloadState:f}))},[]),p=C.useCallback((f,y)=>{e(Ee({selectedDate:f,agingDateSelectionType:y})),e(Qe(f))},[]),g=C.useCallback((f,y)=>{e(Za({nodeId:f,isCollapsed:y}))},[]);return l.jsxs(l.Fragment,{children:[t.fetchState==="Completed"?l.jsx(Se,{analytics:v,onLoad:f=>f.trackPageLoaded(M.Event.agingReport,"AR Aging")}):null,l.jsx(ra,{uiState:t.arAgingUIState,report:t,downloadParams:c,analytics:v,onReloadReport:m,onBackClick:_,onSearchTextChange:b,onSortOrderChange:h,onEntityNameClick:i,updateDownloadStateHandler:d,onSelectedDateChanged:p,onNodeCollapseToggled:g})]})},pa=(e,a)=>({key:a,title:e.accountName,amount:e.balance?.available,logoUri:e.logo?.toString(),source:e});function ha(e,a){const t=Xa(a.firstMonthOfFY);return{onItemClick:(n,o)=>{const s=o.accountName===""?o.accountDescription:o.accountName,r=me(a.tenantEmailDomain,o.accountId,o.accountType,s,"quarter",t,!1),c=x(a.location.state?.pathnameStackToGoBack,a.location.pathname);a.navigate(r,{state:{pathnameStackToGoBack:c,referrer:a.referrerType}})},onSetAccountsStatementDate:(n,o)=>{e(Wa(n,o))},onPromoCardBtnClick:n=>{if(a.isZeniAccountsAdmin){let o=`../../checking/${n}`;n?v.trackZeniAccountsCashBalancePromoClicked("Move Money"):(v.trackZeniAccountsCashBalancePromoClicked("Sign Up for Free"),o="../../checking/promo");const s=x(a.location.state?.pathnameStackToGoBack,a.location.pathname);a.navigate(o,{state:{pathnameStackToGoBack:s}})}else v.trackZeniAccountsCashBalancePromoClicked("Learn More"),window.open("https://www.zeni.ai/product/business-checking-accounts","_blank")}}}const fo=$(function(e){const a=Ha(e).accountsInOrder.map((n,o)=>pa(n,o)),t=Qa(e);return{sectionTitle:G.getLocalizedStrings().balanceCard.cashBalanceSectionTitle,transactionArray:a,zeniAccountsPromoCardReport:t,analytics:v}},ha)(sa),go=$(function(e){const a=en(e).accountsInOrder.map((o,s)=>pa(o,s)),t=O.getSignedInUser(),n=_e(t);return{sectionTitle:G.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,transactionArray:a,isZeniUser:n,analytics:v}},ha)(sa);function bo(){const e=z(),a=K(),{tenantEmailDomain:t}=V(),n=ve(),o=k(r=>P(r).company?.companyInfo.firstMonthOfFY??1),s=et(n?.loggedInUserRoleMap);return l.jsx(fo,{tenantEmailDomain:t,location:a,referrerType:"Cash Balance",navigate:e,isZeniAccountsAdmin:s,firstMonthOfFY:o})}function _o(){const e=z(),a=K(),{tenantEmailDomain:t}=V(),n=ve(),o=et(n?.loggedInUserRoleMap),s=k(r=>P(r).company?.companyInfo.firstMonthOfFY??1);return l.jsx(go,{tenantEmailDomain:t,location:a,referrerType:"Card Balance",navigate:e,isZeniAccountsAdmin:o,firstMonthOfFY:s})}const At={contentContainerLeftRightMargin:new Qn(Ve[3],Ve[3],Ve[8])},Co=dt.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{z as b,V as o,ap as p,o as h}from"./index-CuxRoVvZ.js";import{a as d}from"./sentry-Cm8I7E9J.js";import{d as u,n as m}from"./mui-G2MlMTlr.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]="01c4f5ef-cabb-4dad-b2af-0ee7c4d65a0c",e._sentryDebugIdIdentifier="sentry-dbid-01c4f5ef-cabb-4dad-b2af-0ee7c4d65a0c")}catch{}})();const D=d.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=u(),s=e||n,r=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,l]=b(r,s),[i,c]=d.useState(null);a!=null&&i==null&&!l&&c(a);const f=e&&t.mode==="light"?.7:.2;return(e||n)&&i!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:i,play:!0,loop:!n||5,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
1
+ import{z as b,V as o,ap as p,o as h}from"./index-CilRLucN.js";import{a as d}from"./sentry-D-LCra2M.js";import{d as u,n as m}from"./mui-Ckdcx_YE.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]="01c4f5ef-cabb-4dad-b2af-0ee7c4d65a0c",e._sentryDebugIdIdentifier="sentry-dbid-01c4f5ef-cabb-4dad-b2af-0ee7c4d65a0c")}catch{}})();const D=d.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=u(),s=e||n,r=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,l]=b(r,s),[i,c]=d.useState(null);a!=null&&i==null&&!l&&c(a);const f=e&&t.mode==="light"?.7:.2;return(e||n)&&i!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:i,play:!0,loop:!n||5,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1 +1 @@
1
- import{j as v}from"./pdf-DwfifS04.js";import{a as u}from"./sentry-Cm8I7E9J.js";import{i as y,u as b,k as w,h as A,N as j}from"./core-CaikJZHD.js";import{H7 as k,ct as _,d0 as N,H8 as U,jC as R,H9 as L}from"./zeni-epic-state-lC5X-sam.js";import{jr as O,js as f,jt as T,ju as I,O as z,jv as $}from"./index-CuxRoVvZ.js";import"./mui-G2MlMTlr.js";import{t as H}from"./getLocaleForTenant-dwEXf4rX.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="abeba583-fa96-4e9d-8d04-242caf81f8eb",t._sentryDebugIdIdentifier="sentry-dbid-abeba583-fa96-4e9d-8d04-242caf81f8eb")}catch{}})();const P=w(function(t){return{fetchState:t.tenantState.fetchState,activeTenantFetchState:t.tenantState.activeTenantFetchState.fetchState,currentTenant:_(t),tenantsInOrder:L(t).tenantsInOrder}})(function({fetchState:t,activeTenantFetchState:s,currentTenant:o,tenantsInOrder:h}){const r=A(),p=new URLSearchParams(r.search);if(o==null||t!=="Completed"&&s!=="Completed")return null;{let m="";const n=h.map(l=>l.tenantEmailDomain),i=r.state?.origin,a=r.state?.queryParams;let c=`../${o.tenantEmailDomain}`,d=null,e=!1,g=null,S=null;const C=E(r.pathname);if(C!=null)c=`../${o.tenantEmailDomain}/${C}`,m="comingFromV2UrlPath",C==="ai-cfo/explore"&&(d=p.get("question")?.replace(/^["']|["']$/g,"")??null,e=p.get("should_submit")==="true");else if(i!=null)if(n.reduce((l,F)=>l||i.split("/").find(D=>D===F)!=null,!1))c=i,i.includes("ai-cfo")&&a!=null&&(g=a.aiCfoRef??null,S=a.aiCfoEmailRefId??null);else{const l=E(i);l!=null?(c=`../${o.tenantEmailDomain}/${l}`,m="comingFromV2UrlPath",l==="ai-cfo/explore"&&a!=null&&(a.aiCfoQuestion!=null&&(d=a.aiCfoQuestion),a.aiCfoShouldSubmit==="true"&&(e=!0))):console.warn("Don't have access to previous path tenant!")}const x=$(c,p);return v.jsx(j,{to:x,replace:!0,state:{...r.state,origin:"",message:m,aiCfoInitialQuestion:d,aiCfoShouldSubmit:e,aiCfoRef:g,aiCfoEmailRefId:S}})}});function re(){const t=y(),{setLoading:s,clearAllLoading:o}=O(),h=u.useRef(!1),r=u.useRef(!1),p=u.useRef(null),m=b(e=>k(e)),n=b(e=>e.tenantState.fetchState),i=b(e=>e.tenantState.error),a=b(e=>e.tenantState.activeTenantFetchState.fetchState),c=b(e=>_(e)),d=f.getSignedInUser();return u.useLayoutEffect(()=>{const e=f.getActiveTenantForUser()?.tenantId??null;p.current!==e&&(p.current=e,h.current=!1,r.current=!1,s(T.TENANT_FETCHING)),!h.current||a!=="Completed"&&a!=="Error"||(h.current=!1),!r.current||n!=="Completed"&&n!=="Error"||(r.current=!1)},[a,n]),u.useEffect(()=>{const e=f.getActiveTenantForUser()?.tenantId;h.current===!1&&d!=null&&e!=null&&I.shouldFetchActiveTenant(e)&&(h.current=!0,I.markActiveTenantFetchStarted(e),n==="Completed"||a!=="Not-Started"&&a!=="Error"||(s(T.TENANT_FETCHING),t(N(d.userId,e))))},[n,a,d,t]),u.useEffect(()=>{const e=f.getSignedInUser(),g=f.getActiveTenantForUser()?.tenantId,S=g==null||a==="Completed"||a==="Error";r.current===!1&&e!=null&&S&&I.shouldFetchAllTenants()&&(r.current=!0,I.markAllTenantsFetchStarted(),(n==="Not-Started"||n==="Error"&&!U(i))&&t(R(e.userId)))},[n,a,i,d,t]),u.useEffect(()=>{f.isSignedIn()&&n==="Completed"&&m.tenantsCoreDetailsInOrder.length>0&&(f.saveSignedInUserTenants(m.tenantsCoreDetailsInOrder),o())},[m.tenantsCoreDetailsInOrder,n]),u.useEffect(()=>{!f.isSignedIn()||n!=="Completed"&&a!=="Completed"||c==null||(z.updateAppLocaleID(H(c)),o())},[n,a,c]),v.jsx(P,{})}const Q=["dashboard/cash-balance","dashboard/card-balance","dashboard/operating-expenses","dashboard/revenue","dashboard/burn-rate","dashboard/cash-position","dashboard/top-expenses","dashboard/cash-in-cash-out","dashboard","reports","forecast","uncategorized-expense","uncategorized-income","missing-receipts","bills","cards/activate","cards","reimbursements","wise","checking","aicfo"],q={"dashboard/cash-balance":"dashboard/cash_balance","dashboard/card-balance":"dashboard/card_balance","dashboard/operating-expenses":"dashboard/operating_expenses","dashboard/revenue":"dashboard/revenue","dashboard/burn-rate":"dashboard/net_burn_or_income","dashboard/cash-position":"dashboard/cash_position","dashboard/top-expenses":"dashboard/top_expenses","dashboard/cash-in-cash-out":"dashboard/cash_in_cash_out",dashboard:"dashboard",reports:"reports",forecast:"forecast","uncategorized-expense":"transactions/uncategorized-expense","uncategorized-income":"transactions/uncategorized-income","missing-receipts":"transactions/missing-receipts",bills:"bills",reimbursements:"reimbursements","cards/activate":"cards/activate",cards:"cards",wise:"bills/wise/callback/link-account",checking:"checking",aicfo:"ai-cfo/explore"};function E(t){for(const s of Q)if(t.toLocaleLowerCase().includes(s))return q[s]}export{re as default};
1
+ import{j as v}from"./pdf-CwWlK-Dr.js";import{a as u}from"./sentry-D-LCra2M.js";import{i as y,u as b,k as w,h as A,N as j}from"./core-AYNw6kyJ.js";import{H7 as k,ct as _,d0 as N,H8 as U,jC as R,H9 as L}from"./zeni-epic-state-B1zsDZZ4.js";import{jr as O,js as f,jt as T,ju as I,O as z,jv as $}from"./index-CilRLucN.js";import"./mui-Ckdcx_YE.js";import{t as H}from"./getLocaleForTenant-x8J8_kQc.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="abeba583-fa96-4e9d-8d04-242caf81f8eb",t._sentryDebugIdIdentifier="sentry-dbid-abeba583-fa96-4e9d-8d04-242caf81f8eb")}catch{}})();const P=w(function(t){return{fetchState:t.tenantState.fetchState,activeTenantFetchState:t.tenantState.activeTenantFetchState.fetchState,currentTenant:_(t),tenantsInOrder:L(t).tenantsInOrder}})(function({fetchState:t,activeTenantFetchState:s,currentTenant:o,tenantsInOrder:h}){const r=A(),p=new URLSearchParams(r.search);if(o==null||t!=="Completed"&&s!=="Completed")return null;{let m="";const n=h.map(l=>l.tenantEmailDomain),i=r.state?.origin,a=r.state?.queryParams;let c=`../${o.tenantEmailDomain}`,d=null,e=!1,g=null,S=null;const C=E(r.pathname);if(C!=null)c=`../${o.tenantEmailDomain}/${C}`,m="comingFromV2UrlPath",C==="ai-cfo/explore"&&(d=p.get("question")?.replace(/^["']|["']$/g,"")??null,e=p.get("should_submit")==="true");else if(i!=null)if(n.reduce((l,F)=>l||i.split("/").find(D=>D===F)!=null,!1))c=i,i.includes("ai-cfo")&&a!=null&&(g=a.aiCfoRef??null,S=a.aiCfoEmailRefId??null);else{const l=E(i);l!=null?(c=`../${o.tenantEmailDomain}/${l}`,m="comingFromV2UrlPath",l==="ai-cfo/explore"&&a!=null&&(a.aiCfoQuestion!=null&&(d=a.aiCfoQuestion),a.aiCfoShouldSubmit==="true"&&(e=!0))):console.warn("Don't have access to previous path tenant!")}const x=$(c,p);return v.jsx(j,{to:x,replace:!0,state:{...r.state,origin:"",message:m,aiCfoInitialQuestion:d,aiCfoShouldSubmit:e,aiCfoRef:g,aiCfoEmailRefId:S}})}});function re(){const t=y(),{setLoading:s,clearAllLoading:o}=O(),h=u.useRef(!1),r=u.useRef(!1),p=u.useRef(null),m=b(e=>k(e)),n=b(e=>e.tenantState.fetchState),i=b(e=>e.tenantState.error),a=b(e=>e.tenantState.activeTenantFetchState.fetchState),c=b(e=>_(e)),d=f.getSignedInUser();return u.useLayoutEffect(()=>{const e=f.getActiveTenantForUser()?.tenantId??null;p.current!==e&&(p.current=e,h.current=!1,r.current=!1,s(T.TENANT_FETCHING)),!h.current||a!=="Completed"&&a!=="Error"||(h.current=!1),!r.current||n!=="Completed"&&n!=="Error"||(r.current=!1)},[a,n]),u.useEffect(()=>{const e=f.getActiveTenantForUser()?.tenantId;h.current===!1&&d!=null&&e!=null&&I.shouldFetchActiveTenant(e)&&(h.current=!0,I.markActiveTenantFetchStarted(e),n==="Completed"||a!=="Not-Started"&&a!=="Error"||(s(T.TENANT_FETCHING),t(N(d.userId,e))))},[n,a,d,t]),u.useEffect(()=>{const e=f.getSignedInUser(),g=f.getActiveTenantForUser()?.tenantId,S=g==null||a==="Completed"||a==="Error";r.current===!1&&e!=null&&S&&I.shouldFetchAllTenants()&&(r.current=!0,I.markAllTenantsFetchStarted(),(n==="Not-Started"||n==="Error"&&!U(i))&&t(R(e.userId)))},[n,a,i,d,t]),u.useEffect(()=>{f.isSignedIn()&&n==="Completed"&&m.tenantsCoreDetailsInOrder.length>0&&(f.saveSignedInUserTenants(m.tenantsCoreDetailsInOrder),o())},[m.tenantsCoreDetailsInOrder,n]),u.useEffect(()=>{!f.isSignedIn()||n!=="Completed"&&a!=="Completed"||c==null||(z.updateAppLocaleID(H(c)),o())},[n,a,c]),v.jsx(P,{})}const Q=["dashboard/cash-balance","dashboard/card-balance","dashboard/operating-expenses","dashboard/revenue","dashboard/burn-rate","dashboard/cash-position","dashboard/top-expenses","dashboard/cash-in-cash-out","dashboard","reports","forecast","uncategorized-expense","uncategorized-income","missing-receipts","bills","cards/activate","cards","reimbursements","wise","checking","aicfo"],q={"dashboard/cash-balance":"dashboard/cash_balance","dashboard/card-balance":"dashboard/card_balance","dashboard/operating-expenses":"dashboard/operating_expenses","dashboard/revenue":"dashboard/revenue","dashboard/burn-rate":"dashboard/net_burn_or_income","dashboard/cash-position":"dashboard/cash_position","dashboard/top-expenses":"dashboard/top_expenses","dashboard/cash-in-cash-out":"dashboard/cash_in_cash_out",dashboard:"dashboard",reports:"reports",forecast:"forecast","uncategorized-expense":"transactions/uncategorized-expense","uncategorized-income":"transactions/uncategorized-income","missing-receipts":"transactions/missing-receipts",bills:"bills",reimbursements:"reimbursements","cards/activate":"cards/activate",cards:"cards",wise:"bills/wise/callback/link-account",checking:"checking",aicfo:"ai-cfo/explore"};function E(t){for(const s of Q)if(t.toLocaleLowerCase().includes(s))return q[s]}export{re as default};
@@ -1,11 +1,11 @@
1
- import{a5 as z,g$ as T,e as D,_,V as i,c$ as N,o as n,l as x,H as y,O as C}from"./index-CuxRoVvZ.js";import{n as t}from"./mui-G2MlMTlr.js";import{g as A}from"./BoxItem-CvCo0wr6-QhJ82HMO.js";import{o as E}from"./commonDimensions-CVpc-NCw-CA0m656N.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="ebcedb7b-88d8-421a-ab81-53da5581ce87",e._sentryDebugIdIdentifier="sentry-dbid-ebcedb7b-88d8-421a-ab81-53da5581ce87")}catch{}})();const{common:{strings:{empty:g}}}=C.getLocalizedStrings();function U({data:e,boxType:d,depositAccountId:l,isCheckingCommentingEnabled:h=!1}){const{counterParty:r,typeName:c,amount:f,logo:u,summary:$,direction:k,status:v}=e,j=r.length>0?r:$,p=z("0,0.00",f),s=T(v),o=D(),a=_(),I=`dashboard_${a.currentTenant?.companyId}`,m=`list.${e.id}`,w=l!=null?{application:"dashboard",companyId:a.currentTenant?.companyId,tab:"checking",entityType:`checking.${m}`,entityId:e.id,isGlobalComment:!1,groupId:l}:void 0,S=i.jsxs(G,{children:[i.jsx(B,{src:u?.toString(),loading:"lazy"}),i.jsx(V,{children:i.jsxs(K,{windowSize:o,children:[i.jsx(H,{children:j}),s!=null?i.jsxs(L,{windowSize:o,children:[i.jsx(Y,{windowSize:o}),i.jsx(M,{color:s?.color,children:s?.value})]}):null]})}),i.jsxs(O,{windowSize:o,children:[c!=null?i.jsx(P,{children:i.jsx(W,{className:"tag",children:c})}):null,i.jsx(q,{windowSize:o,children:k==="debit"?`-${p}`:p})]})]}),b=i.jsx(A,{content:S,boxType:d,isDisabled:!1,isNotClickable:!0});return h&&w!=null&&l!=null?i.jsx(N,{isThreadAllowed:!0,entityId:e.id,dashboardTabKey:m,roomId:I,companyId:a.currentTenant?.companyId??g,companyName:a.currentTenant?.companyName??g,dashboardOptionType:"checking",filterMetaData:w,groupId:l,style:{width:"100%",minWidth:0,alignSelf:"stretch"},children:b}):b}const O=t.div`
1
+ import{a5 as z,g$ as T,e as D,_,V as i,c$ as N,o as n,l as f,H as x,O as C}from"./index-CilRLucN.js";import{n as t}from"./mui-Ckdcx_YE.js";import{g as A}from"./BoxItem-C39hQSVg-B9WMvkwI.js";import{o as E}from"./commonDimensions-CuKo3wam-D08uyy0o.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="f7ea648b-d3f6-4d0f-9d72-01a870b179a9",e._sentryDebugIdIdentifier="sentry-dbid-f7ea648b-d3f6-4d0f-9d72-01a870b179a9")}catch{}})();const{common:{strings:{empty:g}}}=C.getLocalizedStrings();function U({data:e,boxType:d,depositAccountId:l,isCheckingCommentingEnabled:y=!1}){const{counterParty:r,typeName:c,amount:h,logo:u,summary:$,direction:k,status:v}=e,j=r.length>0?r:$,p=z("0,0.00",h),s=T(v),o=D(),a=_(),I=`dashboard_${a.currentTenant?.companyId}`,m=`list.${e.id}`,w=l!=null?{application:"dashboard",companyId:a.currentTenant?.companyId,tab:"checking",entityType:`checking.${m}`,entityId:e.id,isGlobalComment:!1,groupId:l}:void 0,S=i.jsxs(K,{children:[i.jsx(B,{src:u?.toString(),loading:"lazy"}),i.jsx(V,{children:i.jsxs(H,{windowSize:o,children:[i.jsx(G,{children:j}),s!=null?i.jsxs(L,{windowSize:o,children:[i.jsx(Y,{windowSize:o}),i.jsx(M,{color:s?.color,children:s?.value})]}):null]})}),i.jsxs(O,{windowSize:o,children:[c!=null?i.jsx(P,{children:i.jsx(W,{className:"tag",children:c})}):null,i.jsx(q,{windowSize:o,children:k==="debit"?`-${p}`:p})]})]}),b=i.jsx(A,{content:S,boxType:d,isDisabled:!1,isNotClickable:!0});return y&&w!=null&&l!=null?i.jsx(N,{isThreadAllowed:!0,entityId:e.id,dashboardTabKey:m,roomId:I,companyId:a.currentTenant?.companyId??g,companyName:a.currentTenant?.companyName??g,dashboardOptionType:"checking",filterMetaData:w,groupId:l,style:{width:"100%",minWidth:0,alignSelf:"stretch"},children:b}):b}const O=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
5
5
  `,P=t.div`
6
6
  display: flex;
7
7
  justify-content: end;
8
- `,W=t(y)`
8
+ `,W=t(x)`
9
9
  -webkit-box-orient: vertical;
10
10
  -webkit-line-clamp: 1;
11
11
  margin-left: ${n.sp3};
@@ -13,7 +13,7 @@ import{a5 as z,g$ as T,e as D,_,V as i,c$ as N,o as n,l as x,H as y,O as C}from"
13
13
  border: 1px solid ${e=>e.theme.colors.grey2};
14
14
  border-radius: ${n.sp1};
15
15
  color: ${e=>e.theme.colors.grey1};
16
- `,G=t.div`
16
+ `,K=t.div`
17
17
  display: flex;
18
18
  align-items: center;
19
19
  padding: ${n.sp3} ${n.sp4};
@@ -29,7 +29,7 @@ import{a5 as z,g$ as T,e as D,_,V as i,c$ as N,o as n,l as x,H as y,O as C}from"
29
29
  display: flex;
30
30
  width: ${n.sp4};
31
31
  height: ${n.sp4};
32
- `,H=t(x)`
32
+ `,G=t(f)`
33
33
  display: -webkit-box;
34
34
  -webkit-box-orient: vertical;
35
35
  -webkit-line-clamp: 1;
@@ -38,7 +38,7 @@ import{a5 as z,g$ as T,e as D,_,V as i,c$ as N,o as n,l as x,H as y,O as C}from"
38
38
  word-break: break-word;
39
39
  text-align: left;
40
40
  overflow: hidden;
41
- `,K=t.div`
41
+ `,H=t.div`
42
42
  display: flex;
43
43
  align-items: center;
44
44
  text-align: left;
@@ -53,7 +53,7 @@ import{a5 as z,g$ as T,e as D,_,V as i,c$ as N,o as n,l as x,H as y,O as C}from"
53
53
  display: flex;
54
54
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
55
55
  align-items: center;
56
- `,M=t(y)`
56
+ `,M=t(x)`
57
57
  color: ${e=>e.color};
58
58
  -webkit-box-orient: vertical;
59
59
  -webkit-line-clamp: 1;
@@ -66,7 +66,7 @@ import{a5 as z,g$ as T,e as D,_,V as i,c$ as N,o as n,l as x,H as y,O as C}from"
66
66
  background-color: ${e=>e.theme.colors.grey1};
67
67
  margin-left: ${n.sp2};
68
68
  margin-right: ${n.sp2};
69
- `,q=t(x)`
69
+ `,q=t(f)`
70
70
  display: -webkit-box;
71
71
  -webkit-box-orient: vertical;
72
72
  -webkit-line-clamp: 1;
@@ -1,4 +1,4 @@
1
- import{y as D,e as S,V as e,a_ as Y,an as z,h8 as F,o,O as A,f as b,bV as B,x as L,C as R,l as T,m as x,cG as _,cH as E,cB as P,cI as V}from"./index-CuxRoVvZ.js";import{a as w}from"./sentry-Cm8I7E9J.js";import{n as r}from"./mui-G2MlMTlr.js";import{bs as H}from"./zeni-epic-state-lC5X-sam.js";import{$ as N}from"./BoxItem-CvCo0wr6-QhJ82HMO.js";import{o as O}from"./commonDimensions-CVpc-NCw-CA0m656N.js";import{Y as G}from"./DepositAccTransactionItem-7kYotKov-QpJvWZ45.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="277f4577-6526-48af-83e7-bd2039edc611",t._sentryDebugIdIdentifier="sentry-dbid-277f4577-6526-48af-83e7-bd2039edc611")}catch{}})();const l=A.getLocalizedStrings(),K={listItemMargin:new L(x[3],x[8])},q=F(function(t){const i=_(t,a=>a.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),c=E(i,a=>a.length>0);return P(c,a=>({date:a[0].transactionDate,transactions:V(a,h=>h.transactionDate,"desc")}))}),ut=({transactionListView:t,onBackClick:i,depositAccountId:c,isCheckingCommentingEnabled:a=!1})=>{const h=D(),p=S(),j=w.createRef(),f=w.useRef(null),d=q(t.transactions),v=t.depositAccountName,g=d.length===0,C=n=>g===!1?d[n].transactions.length*O.transactionItemHeightResponsive.value(p)+45:24,I=({index:n,style:m})=>{if(g===!1){const s=d[n];return e.jsx(y,{style:{...m},children:e.jsx($,{windowSize:p,children:e.jsxs(k,{children:[e.jsx(W,{children:H().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(X,{children:s.transactions.map((M,u)=>e.jsx(G,{data:M,boxType:N(u,s.transactions.length),depositAccountId:c,isCheckingCommentingEnabled:a},u))})]})})})}return e.jsx(y,{style:{...m},children:e.jsx(J,{children:e.jsx($,{windowSize:p,children:e.jsx(U,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(Q,{children:[e.jsx(Y,{title:`${v} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:f.current!=null?f:void 0,source:"DepositAccTransactionListPage"}),e.jsx(k,{children:e.jsx(z,{children:({height:n,width:m})=>e.jsx(Z,{ref:j,height:n,width:m,outerRef:f,itemKey:s=>s,itemCount:d.length,itemSize:C,initialScrollOffset:0,children:I})})})]})},y=r.div``,$=r.div`
1
+ import{y as D,e as S,V as e,a_ as Y,an as z,h8 as F,o,O as A,f as u,bV as B,x as L,C as R,l as T,m as x,cG as _,cH as E,cB as P,cI as V}from"./index-CilRLucN.js";import{a as w}from"./sentry-D-LCra2M.js";import{n as r}from"./mui-Ckdcx_YE.js";import{bs as H}from"./zeni-epic-state-B1zsDZZ4.js";import{$ as N}from"./BoxItem-C39hQSVg-B9WMvkwI.js";import{o as O}from"./commonDimensions-CuKo3wam-D08uyy0o.js";import{Y as G}from"./DepositAccTransactionItem-DEU0DgtI-DX-mlAdm.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="3d0ad0fa-a161-48b2-957f-2995914bba1f",t._sentryDebugIdIdentifier="sentry-dbid-3d0ad0fa-a161-48b2-957f-2995914bba1f")}catch{}})();const l=A.getLocalizedStrings(),K={listItemMargin:new L(x[3],x[8])},q=F(function(t){const i=_(t,a=>a.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),c=E(i,a=>a.length>0);return P(c,a=>({date:a[0].transactionDate,transactions:V(a,h=>h.transactionDate,"desc")}))}),gt=({transactionListView:t,onBackClick:i,depositAccountId:c,isCheckingCommentingEnabled:a=!1})=>{const h=D(),p=S(),j=w.createRef(),f=w.useRef(null),d=q(t.transactions),v=t.depositAccountName,b=d.length===0,C=n=>b===!1?d[n].transactions.length*O.transactionItemHeightResponsive.value(p)+45:24,I=({index:n,style:m})=>{if(b===!1){const s=d[n];return e.jsx(y,{style:{...m},children:e.jsx($,{windowSize:p,children:e.jsxs(k,{children:[e.jsx(W,{children:H().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(X,{children:s.transactions.map((M,g)=>e.jsx(G,{data:M,boxType:N(g,s.transactions.length),depositAccountId:c,isCheckingCommentingEnabled:a},g))})]})})})}return e.jsx(y,{style:{...m},children:e.jsx(J,{children:e.jsx($,{windowSize:p,children:e.jsx(U,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(Q,{children:[e.jsx(Y,{title:`${v} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:f.current!=null?f:void 0,source:"DepositAccTransactionListPage"}),e.jsx(k,{children:e.jsx(z,{children:({height:n,width:m})=>e.jsx(Z,{ref:j,height:n,width:m,outerRef:f,itemKey:s=>s,itemCount:d.length,itemSize:C,initialScrollOffset:0,children:I})})})]})},y=r.div``,$=r.div`
2
2
  margin: ${t=>`${o.sp0} ${K.listItemMargin.valuePx(t.windowSize)}`};
3
3
  `,J=r.div`
4
4
  display: flex;
@@ -43,8 +43,8 @@ import{y as D,e as S,V as e,a_ as Y,an as z,h8 as F,o,O as A,f as b,bV as B,x as
43
43
  background-color: transparent;
44
44
  }
45
45
  &::-webkit-scrollbar-track {
46
- box-shadow: inset 0 0 2px ${b.scrollbarBoxShadow};
47
- -webkit-box-shadow: inset 0 0 2px ${b.scrollbarBoxShadow};
46
+ box-shadow: inset 0 0 2px ${u.scrollbarBoxShadow};
47
+ -webkit-box-shadow: inset 0 0 2px ${u.scrollbarBoxShadow};
48
48
  background-color: transparent;
49
49
  }
50
50
  &::-webkit-scrollbar-thumb {
@@ -63,4 +63,4 @@ import{y as D,e as S,V as e,a_ as Y,an as z,h8 as F,o,O as A,f as b,bV as B,x as
63
63
  border-radius: 2px;
64
64
  }
65
65
  }
66
- `;export{ut as default};
66
+ `;export{gt as default};
@@ -1,4 +1,4 @@
1
- import{j as l}from"./pdf-DwfifS04.js";import{j as w,h as C,u as h,k as A,l as P}from"./core-CaikJZHD.js";import{L3 as k,La as z,dj as K,di as M,dh as Q,fK as W,Ia as q,mB as J,ct as V,KB as D,fI as j,L4 as S,Ld as G,fG as T,g1 as F}from"./zeni-epic-state-lC5X-sam.js";import{le as X,e as R,aE as N,js as U,y as O,jM as b,aG as v,jQ as L,lf as Y,o as Z,lg as ee,jO as te}from"./index-CuxRoVvZ.js";import{n as H}from"./mui-G2MlMTlr.js";import"./sentry-Cm8I7E9J.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]="c9d523f4-9ae9-4316-90ae-6ace0b689889",e._sentryDebugIdIdentifier="sentry-dbid-c9d523f4-9ae9-4316-90ae-6ace0b689889")}catch{}})();const ae=A(null,function(e,t){return{onSaveVendor:a=>{e(W(t.vendorId!==void 0?t.vendorId:void 0,t.billId,void 0,t.isExpressPayPage)),e(q("common")),a!=null&&e(J(a))},onGetOtp:a=>{e(Q(a,"BillPayVendor"))},onResendOtp:a=>{e(M(a,"BillPayVendor"))},onVerifyOtp:(a,n)=>{e(K(a,n,"BillPayVendor"))},onVerifyOtpSuccess:(a,n,o)=>{e(z(a,n,o))}}})(X);function _({vendorId:e,billId:t,isExpressPayPage:a}){const n=w(),o=C(),s=h(d=>k(d,e));return l.jsx(ae,{location:o,navigate:n,vendorId:e,billId:t,vendorViewDetails:s,isExpressPayPage:a??!1})}const ne=H.div`
1
+ import{j as l}from"./pdf-CwWlK-Dr.js";import{j as w,h as C,u as h,k as A,l as P}from"./core-AYNw6kyJ.js";import{L3 as k,La as z,dj as K,di as M,dh as Q,fK as W,Ia as q,mB as J,ct as V,KB as D,fI as j,L4 as S,Ld as G,fG as T,g1 as F}from"./zeni-epic-state-B1zsDZZ4.js";import{le as X,e as R,aE as N,js as U,y as O,jM as b,aG as v,jQ as L,lf as Y,o as Z,lg as ee,jO as te}from"./index-CilRLucN.js";import{n as H}from"./mui-Ckdcx_YE.js";import"./sentry-D-LCra2M.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]="c9d523f4-9ae9-4316-90ae-6ace0b689889",e._sentryDebugIdIdentifier="sentry-dbid-c9d523f4-9ae9-4316-90ae-6ace0b689889")}catch{}})();const ae=A(null,function(e,t){return{onSaveVendor:a=>{e(W(t.vendorId!==void 0?t.vendorId:void 0,t.billId,void 0,t.isExpressPayPage)),e(q("common")),a!=null&&e(J(a))},onGetOtp:a=>{e(Q(a,"BillPayVendor"))},onResendOtp:a=>{e(M(a,"BillPayVendor"))},onVerifyOtp:(a,n)=>{e(K(a,n,"BillPayVendor"))},onVerifyOtpSuccess:(a,n,o)=>{e(z(a,n,o))}}})(X);function _({vendorId:e,billId:t,isExpressPayPage:a}){const n=w(),o=C(),s=h(d=>k(d,e));return l.jsx(ae,{location:o,navigate:n,vendorId:e,billId:t,vendorViewDetails:s,isExpressPayPage:a??!1})}const ne=H.div`
2
2
  display: flex;
3
3
  height: 100vh;
4
4
  width: 100%;