@zeniai/web-cockpit-ui 1.14.98-dev → 1.14.98-qa

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. package/dist/assets/{ACHDetailsPage-DSdNOxQ9-Cve45-FP.js → ACHDetailsPage-DSdNOxQ9-BUDY7ebN.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-TtdFArUl-j0kjTnVR.js → AIPerformancePage-TtdFArUl-uXser-uf.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-BVK7wWF2-D6Zwr__G.js → AccountInfoPage-BVK7wWF2-DkuUb7hY.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BXX4TyeS-SAgRb0Wy.js → AccountInfoPageContent-BXX4TyeS-C4EJ3VMJ.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-CiHVEVZY-D75r_EpP.js → AccountLockedInfoModal-CiHVEVZY-DS_3He1-.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BZsVhDyw-NNurOrkC.js → AccountReconDetailsDrawerPage-BZsVhDyw-B570cCNk.js} +1 -1
  7. package/dist/assets/{AccountRow-COxNWv3J-Dkf6Savq.js → AccountRow-COxNWv3J-B4EUrg0i.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BW7r2R96-BzoEoVWx.js → AccountsPromoCardStack-BW7r2R96-D8N78ah8.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-BB7h_VuN-BW-_Qu7Y.js → AddAddressForCardDrawer-BB7h_VuN-JKCzRF55.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CXhBOHda-b2nCfyTx.js → AddToWalletPage-CXhBOHda-BeDX9RGw.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-CX3Te0mD-BjuuVeMz.js → AgingReportsPage-CX3Te0mD-BIMPcWZD.js} +1 -1
  12. package/dist/assets/{AllUserItems-Cd2jEIM9-DycIVbwH.js → AllUserItems-Cd2jEIM9-B9hdjONU.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-BCBhgQDY-m3orWzJK.js → ApAgingDetailPage-BCBhgQDY-C0EKPdXU.js} +1 -1
  14. package/dist/assets/{AppBasePage-BRcQ7IPJ-DssY-F_Q.js → AppBasePage-BRcQ7IPJ-DutcAwno.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DQlHQEcs-DrKgTlSj.js → AppDrawerContent-DQlHQEcs-DLSmKyRJ.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-Cqt8FvLJ-CEOV0Ixl.js → ApprovalRulesSettingsPage-Cqt8FvLJ-Dcokd50I.js} +1 -1
  17. package/dist/assets/{ArAgingChart-BvAQf_dB-CCF75Uiv.js → ArAgingChart-BvAQf_dB-DuZvWO-Q.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BjvQEK0m-N2ygiYcL.js → ArAgingDetailPage-BjvQEK0m-CiJw0H2M.js} +1 -1
  19. package/dist/assets/{AttachmentView-e6OZT5St-CRHdzPSa.js → AttachmentView-e6OZT5St-DqYOouQl.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DWKYMZid-XH_pxLOm.js → BankAccountSection-DWKYMZid-VBEJaF0G.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-neFg-P9--B7Ex5Gby.js → BankAccountWarningSection-neFg-P9--TJDw43tL.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-DLnQeHtD-CQ9CrcQ2.js → BankConnectionsSettingsPage-DLnQeHtD-BXUv6CG7.js} +1 -1
  23. package/dist/assets/{BillDetailPage-Caang31I-CV8BSbsx.js → BillDetailPage-Caang31I-DbNvy9BW.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-4n9jmsl3-C-Id93Y1.js → BillPayApprovalRuleDetailPage-4n9jmsl3-DclQvVS0.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-BPX-ygl8-NB7YIybj.js → BillPayApprovalRulesPage-BPX-ygl8-D9MJjP_M.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-KojRs3th-CbM1NPfP.js → BillPayPromoPage-KojRs3th-BYB9Z023.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-CneIMbul-lrmOziwC.js → BillPaySetUpPage-CneIMbul-BFdnuBwg.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-35KDGxi0-Ct237R_x.js → BillingSettingsPage-35KDGxi0-CUXbiJI4.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-B2SeSM_K-CBWl1wuN.js → BillsBulkReviewDrawerPage-B2SeSM_K-KjC1YEHo.js} +1 -1
  30. package/dist/assets/{BoxItem-BGDuiQll-BzndiGjI.js → BoxItem-BGDuiQll-SbLnCH_S.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-GZnJ9G9I-Crwn_TZB.js → BusinessVerificationPage-GZnJ9G9I-BIwYlUUz.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-COHmqgEx-BK8P_Xt5.js → CardNumberSubText-COHmqgEx-CwfhKSB3.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-DvA_0POP-D_6kuYkj.js → CashbackDetailPage-DvA_0POP-zs6KXs-G.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DF69jsTG-COjz_Wle.js → ChargeCardDetailPage-DF69jsTG-hPfyciQI.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-BaxxkyMM-Tr5RRdcf.js → ChargeCardListPage-BaxxkyMM-MzCs1Y26.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-BEYWfP5G-1q8VKxw1.js → ChargeCardListTable-BEYWfP5G-BRCBGTIM.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-5dwl-3gt-Cg-FZFeP.js → ChargeCardPaymentHistoryPage-5dwl-3gt-B3dNp_0o.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-DXHFY90F-COAtEu6_.js → ChargeCardPromoPage-DXHFY90F-BtTao1XR.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-BsTAJGSf-BVABxQAh.js → ChargeCardSetupPage-BsTAJGSf-CKUm4_l7.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-BwuOooT4-Ds9c5zWv.js → ChargeCardStatementsPage-BwuOooT4-CHM4k28L.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-CC3EUXpO-Fr7mH3zN.js → CheckDepositDrawerPage-CC3EUXpO-CF5fGfSc.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-Bju2JSCg-BqWf1iHn.js → CollapsableReportTable-Bju2JSCg-BSE4kNvo.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-CtHtINKb-ChsViTKu.js → CompanyOfficerDetailsSection-CtHtINKb-CFehJGSv.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-ClihOV6I-659ckUvl.js → CompanyPassportCard-ClihOV6I-GVUlJP8e.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-Bzbp9vtj-DZ2qH-RA.js → CompanyPassportPage-Bzbp9vtj-4dA0AY_q.js} +1 -1
  46. package/dist/assets/{CompleteProfile-C88rpvIR-CPwa_ZcH.js → CompleteProfile-C88rpvIR-DxWKc-5-.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-fYnxwqdQ-9H12a4VU.js → ConfettiBurst-fYnxwqdQ-C4yZDZVx.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-DJWcJCPR-VpXOBLk1.js → CreateOrEditVendorPage-DJWcJCPR-Dl9O0TVh.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-nshXhNlE-CfhRwqnV.js → CreditCardPaymentDrawerPage-nshXhNlE-EyB92Kcq.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-9MMlAXHh-7T5GvQvy.js → CurrencySelectField-9MMlAXHh-ORBioImf.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-J6mQ99Q--BiV07KZX.js → CustomerOnboardingActivationPage-J6mQ99Q--Cb3ro4zs.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingContainerPage-DHYXaV1V-BTZJkTlt.js → CustomerOnboardingContainerPage-DHYXaV1V-C56kqXXZ.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-EBEAYH3x-DVqWwomd.js → CustomerOnboardingDetailPageSkeleton-EBEAYH3x-XKk3Vj6i.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-_P1XRJy7-BBpsfMtj.js → CustomerOnboardingNoStepsPage-_P1XRJy7-U2wzBaVr.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingPage-BWvGF8wk-Gc8v-oNy.js → CustomerOnboardingPage-BWvGF8wk-BF0Atf4b.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-BWN72Maw-CVrAAnDn.js → CustomerOnboardingProductSuitePage-BWN72Maw-BM98ceTr.js} +1 -1
  57. package/dist/assets/{Dashboard-Zq5BpBhF-C6unAaBQ.js → Dashboard-Zq5BpBhF-Clq5EYRk.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-Pie-FQ1e-CpPHLX-r.js → DashboardReportPage-Pie-FQ1e-WfSD6Vb-.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-BCWBgFUn-C6Sp2Ncg.js → DashboardSidebarBackgroundAnimation-BCWBgFUn-Ch7XCa5X.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-C6o7UraM-ERw30shi.js → DepositAccTransactionItem-C6o7UraM-13lTBs69.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-DWIzj9EC-C4ETOwPX.js → DepositAccTransactionListPage-DWIzj9EC-aUyx_5K-.js} +1 -1
  62. package/dist/assets/{DomesticWireDetailsPage-BbuaFhlm-B7VB8oiV.js → DomesticWireDetailsPage-BbuaFhlm-Dq9oLE4F.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-smXqu_-_-DbNqWY1P.js → DownloadOverlay-smXqu_-_-HaHQ4oPo.js} +1 -1
  64. package/dist/assets/{DrawerPage-C-NGhaFc-Bdiyy2BL.js → DrawerPage-C-NGhaFc-C_xh6M62.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-Ck6tbODS-2oTO0N4I.js → EditPeoplePage-Ck6tbODS-ubBGSkLn.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-CYCB7XUZ-Bkc4_Xh-.js → EditReimbursementDetailPage-CYCB7XUZ-BrP9Twu0.js} +1 -1
  67. package/dist/assets/{EntityDetailPage-DEzsWzSU-C1IWQ2YR.js → EntityDetailPage-DEzsWzSU-YUiOx1kj.js} +1 -1
  68. package/dist/assets/{EntitySummarySection-D7ui3VxW-BWyvfwWL.js → EntitySummarySection-D7ui3VxW-CERyjpXQ.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-Cci1pEY4-BQvp8jPr.js → ExpenseAutomationOverviewPage-Cci1pEY4-1sL_AHg7.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-DsPGEQpL-CcB9eHac.js → ExpenseAutomationPage-DsPGEQpL-DKHafJ5b.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-ddPMg7wE-Tlo0T7f7.js → ExpressPayPage-ddPMg7wE-DPR1g8Lc.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-B7rx89MJ-NE6QqmUF.js → FeaturePreviewPage-B7rx89MJ-D3LB_wGw.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-WUNvyjJh-Bpyevbi9.js → FollowStepsSection-WUNvyjJh-B3nIPwPh.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-CrEL8cxP-BVjE_r1i.js → GlobalReviewListPage-CrEL8cxP-qAlR9aFX.js} +1 -1
  75. package/dist/assets/{InformationCardStack-cYN7bwE3-B7UR3-b4.js → InformationCardStack-cYN7bwE3-sO0pAOzz.js} +1 -1
  76. package/dist/assets/{InsightsCardStack-CAuhoPST-MWY5O8lc.js → InsightsCardStack-CAuhoPST-B5pOanGY.js} +1 -1
  77. package/dist/assets/{InsightsSection-9xZ9BN4e-D22swiZq.js → InsightsSection-9xZ9BN4e-DNtCiXCr.js} +1 -1
  78. package/dist/assets/{IntegrationsSettingsPage-CBqEJpyq-Bl--bqo-.js → IntegrationsSettingsPage-CBqEJpyq-GRgtPKr0.js} +1 -1
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-Bg2_G0O4-DwQXwZkY.js → InternationalWireSwiftDetailsPage-Bg2_G0O4-BSPnTjV8.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-BdaKAePs-BIYMiNd6.js → InternationalWireVerificationPage-BdaKAePs-CkGYQoGn.js} +1 -1
  81. package/dist/assets/{InviteFormPage-a7CtHDQi-gCSqizmu.js → InviteFormPage-a7CtHDQi-DSGkeOn0.js} +1 -1
  82. package/dist/assets/{InvitePageListView-D0flsJMi-CW5tcQ7p.js → InvitePageListView-D0flsJMi-0Jk6a2Yk.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-xJZ4CmaB-D0fUyZVv.js → InvitePeoplePage-xJZ4CmaB-z8ULVrxL.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-D6gMuygS-CT-0_4kq.js → InvoiceUploadSection-D6gMuygS-DsLHKXnW.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-_zy-SJN0-qq3fKGX-.js → IssueChargeCardPage-_zy-SJN0-pxLtKqbn.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-CXqpyfBQ-40JlhWdQ.js → LabeledAddressValue-CXqpyfBQ-C92S2n2L.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-D-0wb98p-CSTw9NrL.js → LabeledAddressValueField-D-0wb98p-CikvqVxv.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-CcPruRSO-BooOk31f.js → LabeledControlledCheckBoxField-CcPruRSO-CaFIYxzs.js} +1 -1
  89. package/dist/assets/{LabeledCreatableSingleSelectField-B-OgiRpS-D789AeMD.js → LabeledCreatableSingleSelectField-B-OgiRpS-OWY6lxtT.js} +1 -1
  90. package/dist/assets/{LabeledDocumentField-Bo6fnkUs-BetKwcOR.js → LabeledDocumentField-Bo6fnkUs-BiNfrt85.js} +1 -1
  91. package/dist/assets/{LabeledDropDownFormattedTextField-D54g8qxW-Cnlp1a42.js → LabeledDropDownFormattedTextField-D54g8qxW-StSaD31c.js} +1 -1
  92. package/dist/assets/{LabeledText-BJi28Cmu-KVGobttz.js → LabeledText-BJi28Cmu-D9lfYP7U.js} +1 -1
  93. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Dgn_WK0p-B4rGn1v8.js → LabeledUserSingleSelectWithSubtitlesField-Dgn_WK0p-DWc0c9MZ.js} +1 -1
  94. package/dist/assets/{LabeledZeniRolesDropDownField--9AjGtEh-1hSD4x8B.js → LabeledZeniRolesDropDownField--9AjGtEh-BGkQVvtD.js} +1 -1
  95. package/dist/assets/{LinkJETransactionPage-CejrEmB0-M4S6E6Jj.js → LinkJETransactionPage-CejrEmB0-CbM_tuHa.js} +1 -1
  96. package/dist/assets/{LockCardPage-4ihNCAhG-Zb-UDpxz.js → LockCardPage-4ihNCAhG-BCEngBp6.js} +1 -1
  97. package/dist/assets/{LowBalancePopup-YdUL24Wb-PfAaWR1_.js → LowBalancePopup-YdUL24Wb-Cp0qxN-v.js} +1 -1
  98. package/dist/assets/{MagicLinkACHDetailsPage-BNATDZtB-DsiI-0KM.js → MagicLinkACHDetailsPage-BNATDZtB-DxEBt3UQ.js} +1 -1
  99. package/dist/assets/{MagicLinkDomesticWireDetailsPage-ZGyx0g5t-8Tuy5QId.js → MagicLinkDomesticWireDetailsPage-ZGyx0g5t-NsxxIUno.js} +1 -1
  100. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CP5KtUSE-HiNxzZ5H.js → MagicLinkInternationalWireDetailsPage-CP5KtUSE-jXdIObjE.js} +1 -1
  101. package/dist/assets/{MagicLinkSuccessPage-B-YTZWYj-DKWdsZyd.js → MagicLinkSuccessPage-B-YTZWYj-Dgy0fFVg.js} +1 -1
  102. package/dist/assets/{MagicLinkTitleSection-RHv_GuEq-c-uPcRfj.js → MagicLinkTitleSection-RHv_GuEq-y4Cr3bt2.js} +1 -1
  103. package/dist/assets/{MailingDetailsSection-DAryNhi6-DIXrN7jG.js → MailingDetailsSection-DAryNhi6-CuFuumI_.js} +1 -1
  104. package/dist/assets/{Menu-IHf_FfRX-LPFIlYqd.js → Menu-IHf_FfRX-BtY6fG9T.js} +1 -1
  105. package/dist/assets/{MyBankConnectionsSettingsPage-CryrCaA2-C1O3R525.js → MyBankConnectionsSettingsPage-CryrCaA2-BKVxzlg0.js} +1 -1
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-DmmwfwjV-Dzs7maAE.js → MyPendingActivationChargeCardListPage-DmmwfwjV-D-UqXttD.js} +1 -1
  107. package/dist/assets/{MyProfileSettingsPage-BspAqqsh-B3zEQ3j1.js → MyProfileSettingsPage-BspAqqsh-DUIa5pOA.js} +1 -1
  108. package/dist/assets/{NavBarWithPicker-C7xr7tTs-CsJWjiOL.js → NavBarWithPicker-C7xr7tTs-CXcnIkbM.js} +1 -1
  109. package/dist/assets/{NavigationArrow-rBOsZ92g-CvJ7c17R.js → NavigationArrow-rBOsZ92g-fpwJrM5H.js} +1 -1
  110. package/dist/assets/{NavigationDots-CautbD-g-AEb3JA6J.js → NavigationDots-CautbD-g-BZ85pLrg.js} +1 -1
  111. package/dist/assets/{NewGlobalMerchantPage-DD4raaWT-0NjfCgam.js → NewGlobalMerchantPage-DD4raaWT-DqQ8tI0s.js} +1 -1
  112. package/dist/assets/{NoDataChart-58kSyixy-CZ5Rv3U9.js → NoDataChart-58kSyixy-C8J9Kl-k.js} +1 -1
  113. package/dist/assets/{NoDataTable-aDUu8tCI-CN9poHgG.js → NoDataTable-aDUu8tCI-CaXH8kWv.js} +1 -1
  114. package/dist/assets/{NotFoundPage-D-nIKeoL-DS39BiNV.js → NotFoundPage-D-nIKeoL-BrOOdcPB.js} +1 -1
  115. package/dist/assets/{NotificationSettingsPage-DP3xTLvr-C8krffT3.js → NotificationSettingsPage-DP3xTLvr-D68mpAoX.js} +1 -1
  116. package/dist/assets/{NotificationsListConfig-CAW8P9gG-CmdQuS9n.js → NotificationsListConfig-CAW8P9gG-6D54Tubf.js} +1 -1
  117. package/dist/assets/{NotificationsPage-DkDGBzhT-B-IU27Zt.js → NotificationsPage-DkDGBzhT-BJUrRrH6.js} +1 -1
  118. package/dist/assets/{OpExByVendorPage-CtcdC3f9-DjyRt_lN.js → OpExByVendorPage-CtcdC3f9-2hXVNqVf.js} +1 -1
  119. package/dist/assets/{OverlayContainerPage-Daz3A7cI-D0iblwqz.js → OverlayContainerPage-Daz3A7cI-DZQfrAEK.js} +1 -1
  120. package/dist/assets/{PandLWithForecastPage-CpCiLOIl-DtQtxcyB.js → PandLWithForecastPage-CpCiLOIl-BiGua3ch.js} +1 -1
  121. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BjcqKBLG-BtuRZNcH.js → PaymentAccountSetupBillingAddressSection-BjcqKBLG-CUIvRQIH.js} +1 -1
  122. package/dist/assets/{PeoplePage-DCI7v6ru-BQGxB0UL.js → PeoplePage-DCI7v6ru-BGUJ5TP9.js} +1 -1
  123. package/dist/assets/{ProductsCarousel-Dqm1bC2_-C9nhPtyf.js → ProductsCarousel-Dqm1bC2_-D6IxIf3S.js} +1 -1
  124. package/dist/assets/{PromoBaseCards-dqE7GIJ6-CjPZd9YZ.js → PromoBaseCards-dqE7GIJ6-D0yVIiC6.js} +1 -1
  125. package/dist/assets/{QBOConnectionDialog-CGPNOde4-iJ0HQZcD.js → QBOConnectionDialog-CGPNOde4-CR0zHLvc.js} +1 -1
  126. package/dist/assets/{QBOSetupSection-HhIe91hw-09HBN8uJ.js → QBOSetupSection-HhIe91hw-DHN5dIMI.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cx24E4je-CUe9BrFq.js → ReimbursementApprovalRuleDetailPage-Cx24E4je-xuDoSOD3.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRulesPage-DRAkofwN-Cw1wl-sh.js → ReimbursementApprovalRulesPage-DRAkofwN-CwdWvhQr.js} +1 -1
  129. package/dist/assets/{ReimbursementDetailPage-DToZctqy-CIF8fvzJ.js → ReimbursementDetailPage-DToZctqy-CNjKjgjE.js} +1 -1
  130. package/dist/assets/{ReimbursementPromoPage-BZoZAydM-_dTEqW97.js → ReimbursementPromoPage-BZoZAydM-gLfgxCqS.js} +1 -1
  131. package/dist/assets/{ReimbursementSetUpPage-C8Oat8g_-oUMPzcZW.js → ReimbursementSetUpPage-C8Oat8g_-B0DjcA85.js} +1 -1
  132. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BSXV7fzi-DApiFQ6Z.js → ReimbursementsBulkReviewDrawerPage-BSXV7fzi-DX28exoT.js} +1 -1
  133. package/dist/assets/{ReloadCard-BMn_7fNI-DobUmKfH.js → ReloadCard-BMn_7fNI-yFHo4tad.js} +1 -1
  134. package/dist/assets/{ReportTableViewSelector-BE2BuEqj-Cv65zIMR.js → ReportTableViewSelector-BE2BuEqj-BMoVH1Lv.js} +1 -1
  135. package/dist/assets/{ReportsPage-C4HDLBDq-nmW__s9z.js → ReportsPage-C4HDLBDq-Dbvzy9RX.js} +1 -1
  136. package/dist/assets/{RevenueChart-q15U89i8-DTxTOafZ.js → RevenueChart-q15U89i8-9Vc-OWiF.js} +1 -1
  137. package/dist/assets/{ReviewDetailsPage-4mhC2jOb-D75AxfOq.js → ReviewDetailsPage-4mhC2jOb-Dm0CnUM2.js} +1 -1
  138. package/dist/assets/{ReviewOverlay-Co22Cju1-u5iV88jr.js → ReviewOverlay-Co22Cju1-CN_x1DtX.js} +1 -1
  139. package/dist/assets/{RoleWithToolTip-DUEwWP4s-ChXNLhUR.js → RoleWithToolTip-DUEwWP4s-C_YDFJH-.js} +1 -1
  140. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DkKSZ0sJ-zAFG0_v4.js → ScheduleDetailsFixedAssetsPage-DkKSZ0sJ-2Be8yY-W.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsPage-B98XJtoQ-DL_QucDj.js → ScheduleDetailsPage-B98XJtoQ-C92Z9nEO.js} +1 -1
  142. package/dist/assets/{ScheduleSequenceTable-DXLxjeWw-DWriUjIB.js → ScheduleSequenceTable-DXLxjeWw-D6kfx-k4.js} +1 -1
  143. package/dist/assets/{ScreenRoutes-BRmamOlw.js → ScreenRoutes-BbQAiTN4.js} +1 -1
  144. package/dist/assets/{SetUpAccountSection-AZk8_IC3-BgRTrYL7.js → SetUpAccountSection-AZk8_IC3-BgpEt7W0.js} +1 -1
  145. package/dist/assets/{SignIn-C5PcCpLW-Da05HaL3.js → SignIn-C5PcCpLW-U8wNP0Mh.js} +1 -1
  146. package/dist/assets/{SignInScreen-DJh1xRdL.js → SignInScreen-BeMNwV2Z.js} +1 -1
  147. package/dist/assets/{SpendManagementListViewPage-BmZeAl5K-BgHQbDY0.js → SpendManagementListViewPage-BmZeAl5K-Dl61C1Zj.js} +3 -3
  148. package/dist/assets/{SpendManagementPerTabPage-BfJ_icLF-CGfN-F05.js → SpendManagementPerTabPage-BfJ_icLF-C0rTj6cX.js} +1 -1
  149. package/dist/assets/{SpendManagementSection-DoJcpweo-BSx0Jax5.js → SpendManagementSection-DoJcpweo-CSStq-Fq.js} +1 -1
  150. package/dist/assets/{StatementItem-Bw66NYeY-DcIvhMqc.js → StatementItem-Bw66NYeY-DPAgwnTs.js} +1 -1
  151. package/dist/assets/{StatementsPage-CBIa00EK-BjIWTE3I.js → StatementsPage-CBIa00EK-CDNYK1KG.js} +1 -1
  152. package/dist/assets/{StatusSwitcher-Blc3-MDg-B12KNYTc.js → StatusSwitcher-Blc3-MDg-DCe5aCTB.js} +1 -1
  153. package/dist/assets/{SubTabSwitcher-3oir5lzq-Cmzice7W.js → SubTabSwitcher-3oir5lzq-BbfbzkBT.js} +1 -1
  154. package/dist/assets/{SummaryCard-DO09QLUp-DPmkfJxO.js → SummaryCard-DO09QLUp-Cm1UBlTE.js} +1 -1
  155. package/dist/assets/{TaskManagementPage-C_EZJRtM-P8DErI3a.js → TaskManagementPage-C_EZJRtM-DEHqnRmR.js} +1 -1
  156. package/dist/assets/{TimeRangeSwitcher-mYZQR43P-BLWBlyWb.js → TimeRangeSwitcher-mYZQR43P-B8L8C54A.js} +1 -1
  157. package/dist/assets/{TimeframeSwitcher-BsGp8KOv-CTY5_Ouk.js → TimeframeSwitcher-BsGp8KOv-CZ-VtILM.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcherWithToggle-wwIX-Q6T-DmtPgL2u.js → TimeframeSwitcherWithToggle-wwIX-Q6T-DeXcelpz.js} +1 -1
  159. package/dist/assets/{TopExCard-Cn8iW3fO-DMUR1qBk.js → TopExCard-Cn8iW3fO-CG_XDz13.js} +1 -1
  160. package/dist/assets/{TopExDetailPage-BS8qCkLq-Cq17vLoi.js → TopExDetailPage-BS8qCkLq-DlPS1xGU.js} +1 -1
  161. package/dist/assets/{TransactionDetailPage-CUeVImfA-D9txujQI.js → TransactionDetailPage-CUeVImfA-FAGZgaG8.js} +1 -1
  162. package/dist/assets/{TransactionList-CnjoEn7K-D2hvg7ek.js → TransactionList-CnjoEn7K-C0NzRtWS.js} +1 -1
  163. package/dist/assets/{TransactionListBig-xVKV1MCm-GtEvft_N.js → TransactionListBig-xVKV1MCm-BPazwMDR.js} +1 -1
  164. package/dist/assets/{TransactionListPage-DDNtUv3t-Dwe7tcE5.js → TransactionListPage-DDNtUv3t-BvPpANOB.js} +1 -1
  165. package/dist/assets/{TransactionVendorDetailPage-BTufZurh-CGfPDjZ_.js → TransactionVendorDetailPage-BTufZurh-C2D6Zsr6.js} +1 -1
  166. package/dist/assets/{TransferDrawerPage-uBmvyc-P-CFJl7D9L.js → TransferDrawerPage-uBmvyc-P-26b9HxZW.js} +1 -1
  167. package/dist/assets/{TreasuryOverviewPage-DJcUyLa4-Cd3rdx_U.js → TreasuryOverviewPage-DJcUyLa4-BnA9LVmq.js} +1 -1
  168. package/dist/assets/{TreasuryPromoPage-DymCO6nN-Dc1dLp52.js → TreasuryPromoPage-DymCO6nN-YVkYCZi3.js} +1 -1
  169. package/dist/assets/{TreasuryStatementsPage-YEgI38zU-DOHp07qg.js → TreasuryStatementsPage-YEgI38zU-CTshBTHF.js} +1 -1
  170. package/dist/assets/{TreasuryTaxLetterPage-CYO6JXCO-fy_exAGm.js → TreasuryTaxLetterPage-CYO6JXCO-C06DT4sF.js} +1 -1
  171. package/dist/assets/{TrendChart-Dzc9yPKs-Blv6Qzrf.js → TrendChart-Dzc9yPKs-DCcvZ56Z.js} +1 -1
  172. package/dist/assets/{TrendWithTransactions-C2HIrxbU-BSlQs2Tq.js → TrendWithTransactions-C2HIrxbU-DAMM6QVL.js} +1 -1
  173. package/dist/assets/{UncategorizedAccountsMappingPage-CN3CI6bw-zjOv8nCW.js → UncategorizedAccountsMappingPage-CN3CI6bw-CpvcuXEX.js} +1 -1
  174. package/dist/assets/{UnitIntegrationPage-EaVWz4pX-CbKtqluY.js → UnitIntegrationPage-EaVWz4pX-Bz0x6lsY.js} +1 -1
  175. package/dist/assets/{UploadAdditionalDocumentOverlay-DIL6E7Sd-BEDKH1e3.js → UploadAdditionalDocumentOverlay-DIL6E7Sd-nr87DyQG.js} +1 -1
  176. package/dist/assets/{Vendor2FAPopup-BxAm0k92-Dk5tVOzX.js → Vendor2FAPopup-BxAm0k92-pzvF3dzq.js} +1 -1
  177. package/dist/assets/{VendorACHDetailsPage-DF0jHzqw-CNLQ8AnP.js → VendorACHDetailsPage-DF0jHzqw-BjdrHpXc.js} +1 -1
  178. package/dist/assets/{VendorDetailPage-C_B_CmoV-DZeP35Np.js → VendorDetailPage-C_B_CmoV-DhDUfade.js} +1 -1
  179. package/dist/assets/{VendorDomesticWireDetailsPage-a52VbRia-DcoKPqJx.js → VendorDomesticWireDetailsPage-a52VbRia-CuThrVrd.js} +1 -1
  180. package/dist/assets/{VendorFiling1099EditablePage-Dzgzl_4E-VsmZ5Vuv.js → VendorFiling1099EditablePage-Dzgzl_4E-C6CtI7F3.js} +1 -1
  181. package/dist/assets/{VendorFirstReviewPage-mfIvCyFK-ApwBXjUo.js → VendorFirstReviewPage-mfIvCyFK-BDtrVL1t.js} +1 -1
  182. package/dist/assets/{VendorInternationalWireDetailsPage-CNs1VqUa-DbFJLYLp.js → VendorInternationalWireDetailsPage-CNs1VqUa-AxRoZVqc.js} +1 -1
  183. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BoEZ09xC-egxnMP7A.js → VendorInternationalWireSwiftDetailsPage-BoEZ09xC-Cqzq-YZ_.js} +1 -1
  184. package/dist/assets/{VendorsAccountsSection-B6DkSP2a-Ct-pliYw.js → VendorsAccountsSection-B6DkSP2a-TGZHJo6b.js} +1 -1
  185. package/dist/assets/{VerifyDevice-Cu9P83rS-BlGa7yZF.js → VerifyDevice-Cu9P83rS-BXogqvvq.js} +1 -1
  186. package/dist/assets/{VideoPlayer-Dml6r7Q7-CtFMcnbA.js → VideoPlayer-Dml6r7Q7-kG7O2GEB.js} +1 -1
  187. package/dist/assets/{VideoPopup-B7E5ZfFp-BvZy2q4i.js → VideoPopup-B7E5ZfFp-2GwUp8oI.js} +1 -1
  188. package/dist/assets/{WarningsDrawerPage-BZU8XDHH-Djgf6BN0.js → WarningsDrawerPage-BZU8XDHH-5F-nZ5Wh.js} +1 -1
  189. package/dist/assets/{ZeniAccountDetailPage-Do5LJYN4-DOVBM5Q5.js → ZeniAccountDetailPage-Do5LJYN4-C5VZ1IHc.js} +1 -1
  190. package/dist/assets/{ZeniAccountListViewPage-Be5rl4e6-BE0wkZ9j.js → ZeniAccountListViewPage-Be5rl4e6-B2LuzKy3.js} +1 -1
  191. package/dist/assets/{ZeniAccountNavBarPieces-0h-vfuVY-BqB9OPYl.js → ZeniAccountNavBarPieces-0h-vfuVY-C3yFjXgV.js} +1 -1
  192. package/dist/assets/{ZeniAccountPromoPage-BMULic13-C4Ac4YqS.js → ZeniAccountPromoPage-BMULic13-DqiBlrLz.js} +1 -1
  193. package/dist/assets/{ZeniAccountSetupPage-D_doc0Sf-BchKN68c.js → ZeniAccountSetupPage-D_doc0Sf-DbkyYaRI.js} +1 -1
  194. package/dist/assets/{ZeniCopyright-CDfvakjf-8KnokS3w.js → ZeniCopyright-CDfvakjf-DdFXxWan.js} +1 -1
  195. package/dist/assets/{ZeniTransferAmountSlider-BdZ5l3Hh-C3Uey-AS.js → ZeniTransferAmountSlider-BdZ5l3Hh-B0z6Ak2I.js} +1 -1
  196. package/dist/assets/{analyticsHelper-C164AjRf-tG0aq5YR.js → analyticsHelper-C164AjRf-BUQv6elD.js} +1 -1
  197. package/dist/assets/{analyticsHelper-OMYXGOV0.js → analyticsHelper-Cg6AQnia.js} +1 -1
  198. package/dist/assets/{chartTypes-DQ1OffIu-Bo_aesHa.js → chartTypes-DQ1OffIu-DkB5GpFi.js} +1 -1
  199. package/dist/assets/{commonDimensions-j5_IHOmP-jvW6K-um.js → commonDimensions-j5_IHOmP-BbAWTMhB.js} +1 -1
  200. package/dist/assets/{detailCommon-BdYIBs8o-CJ5ceH6M.js → detailCommon-BdYIBs8o-C7RP83q0.js} +1 -1
  201. package/dist/assets/{downloadPdf-BduTAGPj-DUom1tyc.js → downloadPdf-BduTAGPj-D606RiQz.js} +1 -1
  202. package/dist/assets/{index-CO_Updpp.js → index-DL_zrSsq.js} +5 -5
  203. package/dist/assets/{mapLoadingInProgressToTreeNode-kWMAzMb3-CMOJHu7q.js → mapLoadingInProgressToTreeNode-kWMAzMb3-DMbKtDeY.js} +1 -1
  204. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CSuXPDoO-BSS8TRaL.js → mapSectionWithAcOnlyToTreeNode-CSuXPDoO-DzJLlKZa.js} +1 -1
  205. package/dist/assets/{mapSpacerToTreeNode-BjnjpyM6-BNLh9WdA.js → mapSpacerToTreeNode-BjnjpyM6-CTSMNsLI.js} +1 -1
  206. package/dist/assets/{mapTimeframeBalancesToTreeNode-CaRKUf6w-8AEXCCet.js → mapTimeframeBalancesToTreeNode-CaRKUf6w-CJ4Nigud.js} +1 -1
  207. package/dist/assets/{mapTimeframeBalancesToTreeNode-XslT-q64-Q3w1WkcY.js → mapTimeframeBalancesToTreeNode-XslT-q64-BTC8ZLHF.js} +1 -1
  208. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-ByvQizpc-BItBTBN2.js → mapTimeframeHeaderLoadingInProgressToTreeNode-ByvQizpc-DQz_5jDI.js} +1 -1
  209. package/dist/assets/{toCOABalancesWithID-BA4WkU1y-CDNy4Vu0.js → toCOABalancesWithID-BA4WkU1y-IaWUt-zn.js} +1 -1
  210. package/dist/assets/{toChartData-DrvhJgTD-N2b3lY8k.js → toChartData-DrvhJgTD-RZQRJ7Js.js} +1 -1
  211. package/dist/assets/{uploadAttachment-DiJJciQx-DORmL_G6.js → uploadAttachment-DiJJciQx-CTJnPHjt.js} +1 -1
  212. package/dist/assets/{uploadReceipts-CPw64UYa-CIYZXcqS.js → uploadReceipts-CPw64UYa-BiBffXJB.js} +1 -1
  213. package/dist/index.html +1 -1
  214. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import{a8 as se,V as o,ft as Ce,q as be,f as Pe,a9 as we,aO as xe,cC as ke,bA as Ie,o as i,aN as Ae,ac as Oe,aP as Ve,bm as $e,hG as ve,F as Te,eV as je,eW as oe,af as Le,y as q,al as Ue,d as A}from"./index-CO_Updpp.js";import{n as c}from"./mui-ByF8ZmHV.js";import{a as O}from"./sentry-DdXOXL3j.js";import{s as _e,o as ze}from"./PaymentAccountSetupBillingAddressSection-BjcqKBLG-BtuRZNcH.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-EBEAYH3x-DVqWwomd.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./SetUpAccountSection-AZk8_IC3-BgRTrYL7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="337eaf23-5006-49e1-988a-6db5657f8345",e._sentryDebugIdIdentifier="sentry-dbid-337eaf23-5006-49e1-988a-6db5657f8345")}catch{}})();const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",J={titleWidth:new q(343,580,726,826),subTitlePaddingTop:new q(A[3],A[3]),subTitlePaddingBottom:new q(A[3],A[3])},Ee=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:$,googleAPIKey:v,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:P,handleAddCardPaymentSource:_,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:w,onUpdateCustomerView:E,...D})=>{const m=be(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionClick:S,onEstablishConnectionSuccess:R,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=D,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:V(e),values:V(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};O.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),O.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(V(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),j("link_payment_account"),E(me,!1,!0))};O.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(V(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=O.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(Oe,{...r,children:o.jsx(Re,{id:Ee(ie),children:o.jsxs(Ne,{children:[o.jsx(He,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(_e,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionSuccess:R,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:v,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx($e,{signedInUser:b,currentTenant:T,onLogOutClick:G})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:H.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:_,cardPaymentView:p,stripeKey:$,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
1
+ import{a8 as se,V as o,ft as Ce,q as be,f as Pe,a9 as we,aO as xe,cC as ke,bA as Ie,o as i,aN as Ae,ac as Oe,aP as Ve,bm as $e,hG as ve,F as Te,eV as je,eW as oe,af as Le,y as q,al as Ue,d as A}from"./index-DL_zrSsq.js";import{n as c}from"./mui-ByF8ZmHV.js";import{a as O}from"./sentry-DdXOXL3j.js";import{s as _e,o as ze}from"./PaymentAccountSetupBillingAddressSection-BjcqKBLG-CUIvRQIH.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-EBEAYH3x-XKk3Vj6i.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./SetUpAccountSection-AZk8_IC3-BgpEt7W0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="337eaf23-5006-49e1-988a-6db5657f8345",e._sentryDebugIdIdentifier="sentry-dbid-337eaf23-5006-49e1-988a-6db5657f8345")}catch{}})();const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",J={titleWidth:new q(343,580,726,826),subTitlePaddingTop:new q(A[3],A[3]),subTitlePaddingBottom:new q(A[3],A[3])},Ee=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:$,googleAPIKey:v,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:P,handleAddCardPaymentSource:_,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:w,onUpdateCustomerView:E,...D})=>{const m=be(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionClick:S,onEstablishConnectionSuccess:R,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=D,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:V(e),values:V(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};O.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),O.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(V(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),j("link_payment_account"),E(me,!1,!0))};O.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(V(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=O.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(Oe,{...r,children:o.jsx(Re,{id:Ee(ie),children:o.jsxs(Ne,{children:[o.jsx(He,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(_e,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionSuccess:R,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:v,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx($e,{signedInUser:b,currentTenant:T,onLogOutClick:G})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:H.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:_,cardPaymentView:p,stripeKey:$,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{V as l,ft as tn,q as Qe,f as nn,a9 as an,cC as me,aO as Ke,I as ft,aB as Me,bA as on,o as re,ac as sn,d as W,aP as rn,hG as ln,g7 as cn,fu as yt,eV as Ot,F as Ye,eW as gt,y as fe,ga as ye,cP as dn,al as pn,hH as ht,ad as St,cN as un,g9 as mn}from"./index-CO_Updpp.js";import{a as m}from"./sentry-DdXOXL3j.js";import{n as P,k as wt}from"./mui-ByF8ZmHV.js";import{bi as j}from"./zeni-epic-state-BiQIJCwr.js";import{s as Ct,o as fn}from"./PaymentAccountSetupBillingAddressSection-BjcqKBLG-BtuRZNcH.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-EBEAYH3x-DVqWwomd.js";import{s as gn,S as hn}from"./CompanyOfficerDetailsSection-CtHtINKb-ChsViTKu.js";import{t as Sn}from"./QBOSetupSection-HhIe91hw-09HBN8uJ.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./SetUpAccountSection-AZk8_IC3-BgRTrYL7.js";import"./LabeledAddressValueField-D-0wb98p-CSTw9NrL.js";import"./LabeledCreatableSingleSelectField-B-OgiRpS-D789AeMD.js";import"./LabeledDocumentField-Bo6fnkUs-BetKwcOR.js";import"./QBOConnectionDialog-CGPNOde4-iJ0HQZcD.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="00306e69-5424-4b45-999a-8d8c552931e5",n._sentryDebugIdIdentifier="sentry-dbid-00306e69-5424-4b45-999a-8d8c552931e5")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:v,verifiedPhoneNumber:O,onPhoneVerified:h,...w})=>{const y=Qe(),V=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:_}=c,$=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:V??[],allNationalityCountries:r,sectionHeader:_,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:$,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...w})})},bn=P.div`
1
+ import{V as l,ft as tn,q as Qe,f as nn,a9 as an,cC as me,aO as Ke,I as ft,aB as Me,bA as on,o as re,ac as sn,d as W,aP as rn,hG as ln,g7 as cn,fu as yt,eV as Ot,F as Ye,eW as gt,y as fe,ga as ye,cP as dn,al as pn,hH as ht,ad as St,cN as un,g9 as mn}from"./index-DL_zrSsq.js";import{a as m}from"./sentry-DdXOXL3j.js";import{n as P,k as wt}from"./mui-ByF8ZmHV.js";import{bi as j}from"./zeni-epic-state-BiQIJCwr.js";import{s as Ct,o as fn}from"./PaymentAccountSetupBillingAddressSection-BjcqKBLG-CUIvRQIH.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-EBEAYH3x-XKk3Vj6i.js";import{s as gn,S as hn}from"./CompanyOfficerDetailsSection-CtHtINKb-CFehJGSv.js";import{t as Sn}from"./QBOSetupSection-HhIe91hw-DHN5dIMI.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./SetUpAccountSection-AZk8_IC3-BgpEt7W0.js";import"./LabeledAddressValueField-D-0wb98p-CikvqVxv.js";import"./LabeledCreatableSingleSelectField-B-OgiRpS-OWY6lxtT.js";import"./LabeledDocumentField-Bo6fnkUs-BiNfrt85.js";import"./QBOConnectionDialog-CGPNOde4-CR0zHLvc.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="00306e69-5424-4b45-999a-8d8c552931e5",n._sentryDebugIdIdentifier="sentry-dbid-00306e69-5424-4b45-999a-8d8c552931e5")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:v,verifiedPhoneNumber:O,onPhoneVerified:h,...w})=>{const y=Qe(),V=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:_}=c,$=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:V??[],allNationalityCountries:r,sectionHeader:_,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:$,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...w})})},bn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{q as F,a8 as I,aw as M,f as _,V as e,bA as U,o as t,aN as b,bm as W,ft as A,F as V,al as N,af as H,p as l,b as k,ag as R,l as q,c as J,aq as Z,a_ as G}from"./index-CO_Updpp.js";import{a as n}from"./sentry-DdXOXL3j.js";import{n as o}from"./mui-ByF8ZmHV.js";import{FT as K}from"./zeni-epic-state-BiQIJCwr.js";import Q from"./ConfettiBurst-fYnxwqdQ-9H12a4VU.js";import{T as X}from"./ProductsCarousel-Dqm1bC2_-C9nhPtyf.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="7b02e623-4429-43db-a897-61e771b96019",i._sentryDebugIdIdentifier="sentry-dbid-7b02e623-4429-43db-a897-61e771b96019")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=V.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=F(),f=I().analytics,w=M(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=L,O=_(),{customerOnboardingPage:c}=ee,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]},B=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,K(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{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(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:x?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{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(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),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(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(W,{signedInUser:S,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(A,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=o.div`
1
+ import{q as F,a8 as I,aw as M,f as _,V as e,bA as U,o as t,aN as b,bm as W,ft as A,F as V,al as N,af as H,p as l,b as k,ag as R,l as q,c as J,aq as Z,a_ as G}from"./index-DL_zrSsq.js";import{a as n}from"./sentry-DdXOXL3j.js";import{n as o}from"./mui-ByF8ZmHV.js";import{FT as K}from"./zeni-epic-state-BiQIJCwr.js";import Q from"./ConfettiBurst-fYnxwqdQ-C4yZDZVx.js";import{T as X}from"./ProductsCarousel-Dqm1bC2_-D6IxIf3S.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="7b02e623-4429-43db-a897-61e771b96019",i._sentryDebugIdIdentifier="sentry-dbid-7b02e623-4429-43db-a897-61e771b96019")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=V.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=F(),f=I().analytics,w=M(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=L,O=_(),{customerOnboardingPage:c}=ee,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]},B=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,K(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{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(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:x?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{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(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),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(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(W,{signedInUser:S,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(A,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{aw as ge,V as e,ax as Pt,ay as Ut,az as Ot,o as a,aA as Tt,I as MA,aB as Ht,aC as se,aD as Yt,aE as Kt,aF as Nt,aG as Gt,aH as zt,aI as Wt,aJ as P,F as I,q as $,aK as Y,aL as H,aM as q,aN as y,a9 as qt,aO as Te,_ as He,ac as Xt,aP as Vt,y as Z,aQ as K,aR as _,am as AA,aS as Ye,aT as J,aU as U,aV as HA,p as x,ao as Zt,f as iA,aW as $t,aX as YA,aY as _t,aZ as Ar,a_ as er,ai as F,a$ as SA,d as S,aq as KA,al as RA,b0 as Ke,b1 as Ne,b2 as Ge,b3 as tr,b4 as NA,M as rr,a as or,b5 as ar,b6 as ze,b7 as ir,b8 as gr,b9 as GA,ba as nr,bb as Cr,bc as sr,bd as Er,A as We,b as dr,be as Br,u as lr,bf as qe,bg as Xe,an as Qr,bh as Ir,ag as cr,at as Ve}from"./index-CO_Updpp.js";import{a as t,S as k}from"./sentry-DdXOXL3j.js";import{n as g,a as hr,c as pA,k as R}from"./mui-ByF8ZmHV.js";import{bg as pr,bh as Ze,EL as $e}from"./zeni-epic-state-BiQIJCwr.js";import{v as mr}from"./DashboardSidebarBackgroundAnimation-BCWBgFUn-C6Sp2Ncg.js";import{L as ur,k as fr}from"./ArAgingChart-BvAQf_dB-CCF75Uiv.js";import{E as xr,I as ne,z as _e}from"./ReloadCard-BMn_7fNI-DobUmKfH.js";import{L as wr,O as LA,c as dA}from"./TopExCard-Cn8iW3fO-DMUR1qBk.js";import{Y as kr,X as Dr,H as yr,P as jr,G as vr}from"./RevenueChart-q15U89i8-DTxTOafZ.js";import br from"./InsightsCardStack-CAuhoPST-MWY5O8lc.js";import{a as Mr}from"./AccountsPromoCardStack-BW7r2R96-BzoEoVWx.js";import{c as X}from"./SummaryCard-DO09QLUp-DPmkfJxO.js";import{t as Sr,o as Rr}from"./arrow-south-east-round-PEovUgvH-BlptIYjS.js";import{N as aA}from"./NavigationArrow-rBOsZ92g-CvJ7c17R.js";import{k as zA}from"./NavigationDots-CautbD-g-AEb3JA6J.js";import Lr from"./CompanyPassportCard-ClihOV6I-659ckUvl.js";import{C as Fr}from"./gift-box-Cmt9OgIZ-CTtI5cXz.js";import Jr from"./InformationCardStack-cYN7bwE3-B7UR3-b4.js";import{p as At}from"./chartTypes-DQ1OffIu-Bo_aesHa.js";import{h as Pr}from"./toCOABalancesWithID-BA4WkU1y-CDNy4Vu0.js";import{V as Ur}from"./toChartData-DrvhJgTD-N2b3lY8k.js";import{r as Or,i as Tr}from"./graphic-no-data-net-burn-l-CzmycA0m-BwRajxvj.js";import{N as Hr,J as Yr}from"./PromoBaseCards-dqE7GIJ6-CjPZd9YZ.js";import{r as Kr}from"./core-cG0U1y2d.js";import{N as Nr,I as Gr}from"./VideoPlayer-Dml6r7Q7-CtFMcnbA.js";import zr from"./ConfettiBurst-fYnxwqdQ-9H12a4VU.js";import{F as Wr,G as qr,Y as Xr,X as Vr,R as Zr}from"./recharts-C9z9JCsM.js";import"./liveblocks-BOlC_Koo.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./graphic-no-data-l-DU4J8fDt-PUQeicgl.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="4d4f6cfd-f106-4d4d-8efe-f87751ed8dd1",A._sentryDebugIdIdentifier="sentry-dbid-4d4f6cfd-f106-4d4d-8efe-f87751ed8dd1")}catch{}})();const $r=g(_)`
1
+ import{aw as ge,V as e,ax as Pt,ay as Ut,az as Ot,o as a,aA as Tt,I as MA,aB as Ht,aC as se,aD as Yt,aE as Kt,aF as Nt,aG as Gt,aH as zt,aI as Wt,aJ as P,F as I,q as $,aK as Y,aL as H,aM as q,aN as y,a9 as qt,aO as Te,_ as He,ac as Xt,aP as Vt,y as Z,aQ as K,aR as _,am as AA,aS as Ye,aT as J,aU as U,aV as HA,p as x,ao as Zt,f as iA,aW as $t,aX as YA,aY as _t,aZ as Ar,a_ as er,ai as F,a$ as SA,d as S,aq as KA,al as RA,b0 as Ke,b1 as Ne,b2 as Ge,b3 as tr,b4 as NA,M as rr,a as or,b5 as ar,b6 as ze,b7 as ir,b8 as gr,b9 as GA,ba as nr,bb as Cr,bc as sr,bd as Er,A as We,b as dr,be as Br,u as lr,bf as qe,bg as Xe,an as Qr,bh as Ir,ag as cr,at as Ve}from"./index-DL_zrSsq.js";import{a as t,S as k}from"./sentry-DdXOXL3j.js";import{n as g,a as hr,c as pA,k as R}from"./mui-ByF8ZmHV.js";import{bg as pr,bh as Ze,EL as $e}from"./zeni-epic-state-BiQIJCwr.js";import{v as mr}from"./DashboardSidebarBackgroundAnimation-BCWBgFUn-Ch7XCa5X.js";import{L as ur,k as fr}from"./ArAgingChart-BvAQf_dB-DuZvWO-Q.js";import{E as xr,I as ne,z as _e}from"./ReloadCard-BMn_7fNI-yFHo4tad.js";import{L as wr,O as LA,c as dA}from"./TopExCard-Cn8iW3fO-CG_XDz13.js";import{Y as kr,X as Dr,H as yr,P as jr,G as vr}from"./RevenueChart-q15U89i8-9Vc-OWiF.js";import br from"./InsightsCardStack-CAuhoPST-B5pOanGY.js";import{a as Mr}from"./AccountsPromoCardStack-BW7r2R96-D8N78ah8.js";import{c as X}from"./SummaryCard-DO09QLUp-Cm1UBlTE.js";import{t as Sr,o as Rr}from"./arrow-south-east-round-PEovUgvH-BlptIYjS.js";import{N as aA}from"./NavigationArrow-rBOsZ92g-fpwJrM5H.js";import{k as zA}from"./NavigationDots-CautbD-g-BZ85pLrg.js";import Lr from"./CompanyPassportCard-ClihOV6I-GVUlJP8e.js";import{C as Fr}from"./gift-box-Cmt9OgIZ-CTtI5cXz.js";import Jr from"./InformationCardStack-cYN7bwE3-sO0pAOzz.js";import{p as At}from"./chartTypes-DQ1OffIu-DkB5GpFi.js";import{h as Pr}from"./toCOABalancesWithID-BA4WkU1y-IaWUt-zn.js";import{V as Ur}from"./toChartData-DrvhJgTD-RZQRJ7Js.js";import{r as Or,i as Tr}from"./graphic-no-data-net-burn-l-CzmycA0m-BwRajxvj.js";import{N as Hr,J as Yr}from"./PromoBaseCards-dqE7GIJ6-D0yVIiC6.js";import{r as Kr}from"./core-cG0U1y2d.js";import{N as Nr,I as Gr}from"./VideoPlayer-Dml6r7Q7-kG7O2GEB.js";import zr from"./ConfettiBurst-fYnxwqdQ-C4yZDZVx.js";import{F as Wr,G as qr,Y as Xr,X as Vr,R as Zr}from"./recharts-C9z9JCsM.js";import"./liveblocks-BOlC_Koo.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./graphic-no-data-l-DU4J8fDt-PUQeicgl.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="4d4f6cfd-f106-4d4d-8efe-f87751ed8dd1",A._sentryDebugIdIdentifier="sentry-dbid-4d4f6cfd-f106-4d4d-8efe-f87751ed8dd1")}catch{}})();const $r=g(_)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,Ee=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{q as B,f as Z,F as _,aw as ke,V as s,bA as qe,A as Je,I as Qe,bB as Xe,o as d,y as N,aB as X,bC as Ke,bD as et,ai as oe,d as j,b2 as tt,aT as st,_ as Oe,n as Be,p as D,aq as Pe,aS as ot,b9 as at,an as nt,bE as it,au as rt,bF as ct,bG as ne,bH as lt,at as dt,am as pt,bI as ut,bJ as gt}from"./index-CO_Updpp.js";import{a as y,S as K}from"./sentry-DdXOXL3j.js";import{n as u,k as Ie}from"./mui-ByF8ZmHV.js";import{bg as mt,EN as ht,E7 as ft,EO as bt,EP as xt,EQ as _t,ER as wt,ES as St,ET as yt,EU as vt,EV as Ct}from"./zeni-epic-state-BiQIJCwr.js";import{m as G,l as se}from"./analyticsHelper-C164AjRf-tG0aq5YR.js";import{g as $t,x as jt}from"./ReportTableViewSelector-BE2BuEqj-Cv65zIMR.js";import{q as kt}from"./InsightsSection-9xZ9BN4e-D22swiZq.js";import{k as Ot,q as Bt,Z as xe,H as ee,N as pe}from"./detailCommon-BdYIBs8o-CJ5ceH6M.js";import{G as Pt,P as It,Y as _e,X as we,H as Se}from"./RevenueChart-q15U89i8-DTxTOafZ.js";import{C as Nt}from"./NoDataChart-58kSyixy-CZ5Rv3U9.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-mYZQR43P-BLWBlyWb.js";import{b as Ne}from"./TimeframeSwitcher-BsGp8KOv-CTY5_Ouk.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-Bju2JSCg-BqWf1iHn.js";import{S as zt,M as At,g as Et,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-CSuXPDoO-BSS8TRaL.js";import{d as Mt}from"./NoDataTable-aDUu8tCI-CN9poHgG.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-ByvQizpc-BItBTBN2.js";import{d as he}from"./mapLoadingInProgressToTreeNode-kWMAzMb3-CMOJHu7q.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./NavigationDots-CautbD-g-AEb3JA6J.js";import"./chartTypes-DQ1OffIu-Bo_aesHa.js";import"./toCOABalancesWithID-BA4WkU1y-CDNy4Vu0.js";import"./toChartData-DrvhJgTD-N2b3lY8k.js";import"./AccountRow-COxNWv3J-Dkf6Savq.js";import"./graphic-no-data-l-DU4J8fDt-PUQeicgl.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]="a5fad44e-448e-4d54-9f38-fc6101f203af",e._sentryDebugIdIdentifier="sentry-dbid-a5fad44e-448e-4d54-9f38-fc6101f203af")}catch{}})();const Ft=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.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"}),y.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"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.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"}),y.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"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.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"})),Vt=u.div`
1
+ import{q as B,f as Z,F as _,aw as ke,V as s,bA as qe,A as Je,I as Qe,bB as Xe,o as d,y as N,aB as X,bC as Ke,bD as et,ai as oe,d as j,b2 as tt,aT as st,_ as Oe,n as Be,p as D,aq as Pe,aS as ot,b9 as at,an as nt,bE as it,au as rt,bF as ct,bG as ne,bH as lt,at as dt,am as pt,bI as ut,bJ as gt}from"./index-DL_zrSsq.js";import{a as y,S as K}from"./sentry-DdXOXL3j.js";import{n as u,k as Ie}from"./mui-ByF8ZmHV.js";import{bg as mt,EN as ht,E7 as ft,EO as bt,EP as xt,EQ as _t,ER as wt,ES as St,ET as yt,EU as vt,EV as Ct}from"./zeni-epic-state-BiQIJCwr.js";import{m as G,l as se}from"./analyticsHelper-C164AjRf-BUQv6elD.js";import{g as $t,x as jt}from"./ReportTableViewSelector-BE2BuEqj-BMoVH1Lv.js";import{q as kt}from"./InsightsSection-9xZ9BN4e-DNtCiXCr.js";import{k as Ot,q as Bt,Z as xe,H as ee,N as pe}from"./detailCommon-BdYIBs8o-C7RP83q0.js";import{G as Pt,P as It,Y as _e,X as we,H as Se}from"./RevenueChart-q15U89i8-9Vc-OWiF.js";import{C as Nt}from"./NoDataChart-58kSyixy-C8J9Kl-k.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-mYZQR43P-B8L8C54A.js";import{b as Ne}from"./TimeframeSwitcher-BsGp8KOv-CZ-VtILM.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-Bju2JSCg-BSE4kNvo.js";import{S as zt,M as At,g as Et,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-CSuXPDoO-DzJLlKZa.js";import{d as Mt}from"./NoDataTable-aDUu8tCI-CaXH8kWv.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-ByvQizpc-DQz_5jDI.js";import{d as he}from"./mapLoadingInProgressToTreeNode-kWMAzMb3-DMbKtDeY.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./NavigationDots-CautbD-g-BZ85pLrg.js";import"./chartTypes-DQ1OffIu-DkB5GpFi.js";import"./toCOABalancesWithID-BA4WkU1y-IaWUt-zn.js";import"./toChartData-DrvhJgTD-RZQRJ7Js.js";import"./AccountRow-COxNWv3J-B4EUrg0i.js";import"./graphic-no-data-l-DU4J8fDt-PUQeicgl.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]="a5fad44e-448e-4d54-9f38-fc6101f203af",e._sentryDebugIdIdentifier="sentry-dbid-a5fad44e-448e-4d54-9f38-fc6101f203af")}catch{}})();const Ft=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.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"}),y.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"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.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"}),y.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"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.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"})),Vt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{aX as f,V as o,b4 as p,o as b}from"./index-CO_Updpp.js";import{a as s}from"./sentry-DdXOXL3j.js";import{a as h,n as m}from"./mui-ByF8ZmHV.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]="7b9105fe-0ac2-4477-a1c1-acaa169e7a3e",e._sentryDebugIdIdentifier="sentry-dbid-7b9105fe-0ac2-4477-a1c1-acaa169e7a3e")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[i,d]=f(l,r),[a,c]=s.useState(null);i!=null&&a==null&&!d&&c(i);const u=e&&t.mode==="light"?.7:.2;return(e||n)&&a!=null?o.jsx(y,{contextWiseOpacity:u,newYearAnimationEnabled:n,children:o.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:a,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
1
+ import{aX as f,V as o,b4 as p,o as b}from"./index-DL_zrSsq.js";import{a as s}from"./sentry-DdXOXL3j.js";import{a as h,n as m}from"./mui-ByF8ZmHV.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]="7b9105fe-0ac2-4477-a1c1-acaa169e7a3e",e._sentryDebugIdIdentifier="sentry-dbid-7b9105fe-0ac2-4477-a1c1-acaa169e7a3e")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[i,d]=f(l,r),[a,c]=s.useState(null);i!=null&&a==null&&!d&&c(i);const u=e&&t.mode==="light"?.7:.2;return(e||n)&&a!=null?o.jsx(y,{contextWiseOpacity:u,newYearAnimationEnabled:n,children:o.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:a,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aL as y,hv as u,q as $,V as l,o as i,al as c,am as w}from"./index-CO_Updpp.js";import{n as t}from"./mui-ByF8ZmHV.js";import{g as v}from"./BoxItem-BGDuiQll-BzndiGjI.js";import{o as k}from"./commonDimensions-j5_IHOmP-jvW6K-um.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]="aef392bf-bd2e-4ba9-bc43-5e8f7a8095d0",e._sentryDebugIdIdentifier="sentry-dbid-aef392bf-bd2e-4ba9-bc43-5e8f7a8095d0")}catch{}})();function H({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:b,logo:f,summary:p,direction:x,status:m}=e,g=r.length>0?r:p,a=y("0,0.00",b),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:f?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(q,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(P,{windowSize:o,children:x==="debit"?`-${a}`:a})]})]});return l.jsx(v,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aL as y,hv as u,q as $,V as l,o as i,al as c,am as w}from"./index-DL_zrSsq.js";import{n as t}from"./mui-ByF8ZmHV.js";import{g as v}from"./BoxItem-BGDuiQll-SbLnCH_S.js";import{o as k}from"./commonDimensions-j5_IHOmP-BbAWTMhB.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]="aef392bf-bd2e-4ba9-bc43-5e8f7a8095d0",e._sentryDebugIdIdentifier="sentry-dbid-aef392bf-bd2e-4ba9-bc43-5e8f7a8095d0")}catch{}})();function H({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:b,logo:f,summary:p,direction:x,status:m}=e,g=r.length>0?r:p,a=y("0,0.00",b),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:f?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(q,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(P,{windowSize:o,children:x==="debit"?`-${a}`:a})]})]});return l.jsx(v,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=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"};
@@ -1,4 +1,4 @@
1
- import{f as M,q as S,V as t,bA as I,b2 as E,hE as F,o as r,F as Y,p as b,cr as z,dd as C,de as _,d8 as L,df as T,y as A,ai as B,al as R,d as g}from"./index-CO_Updpp.js";import{a as x}from"./sentry-DdXOXL3j.js";import{n as a}from"./mui-ByF8ZmHV.js";import{bh as V}from"./zeni-epic-state-BiQIJCwr.js";import{$ as q}from"./BoxItem-BGDuiQll-BzndiGjI.js";import{o as N}from"./commonDimensions-j5_IHOmP-jvW6K-um.js";import{H as P}from"./DepositAccTransactionItem-C6o7UraM-ERw30shi.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="3674ea2a-e68e-46ec-9521-06564c1e82e2",e._sentryDebugIdIdentifier="sentry-dbid-3674ea2a-e68e-46ec-9521-06564c1e82e2")}catch{}})();const l=Y.getLocalizedStrings(),H={listItemMargin:new A(g[3],g[8])};function X(e){const i=C(e,o=>o.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),c=_(i,o=>o.length>0);return L(c,o=>({date:o[0].transactionDate,transactions:T(o,m=>m.transactionDate,"desc")}))}const G=F(X),pe=({transactionListView:e,onBackClick:i})=>{const c=M(),o=S(),m=x.createRef(),p=x.useRef(null),d=G(e.transactions),k=e.depositAccountName,f=d.length===0,j=n=>f===!1?d[n].transactions.length*N.transactionItemHeightResponsive.value(o)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=d[n];return t.jsx(w,{style:{...h},children:t.jsx(y,{windowSize:o,children:t.jsxs($,{children:[t.jsx(Q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,u)=>t.jsx(P,{data:D,boxType:q(u,s.transactions.length)},u))})]})})})}else return t.jsx(w,{style:{...h},children:t.jsx(J,{children:t.jsx(y,{windowSize:o,children:t.jsx(O,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(K,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:c.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(E,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:d.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},w=a.div``,y=a.div`
1
+ import{f as M,q as S,V as t,bA as I,b2 as E,hE as F,o as r,F as Y,p as b,cr as z,dd as C,de as _,d8 as L,df as T,y as A,ai as B,al as R,d as g}from"./index-DL_zrSsq.js";import{a as x}from"./sentry-DdXOXL3j.js";import{n as a}from"./mui-ByF8ZmHV.js";import{bh as V}from"./zeni-epic-state-BiQIJCwr.js";import{$ as q}from"./BoxItem-BGDuiQll-SbLnCH_S.js";import{o as N}from"./commonDimensions-j5_IHOmP-BbAWTMhB.js";import{H as P}from"./DepositAccTransactionItem-C6o7UraM-13lTBs69.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="3674ea2a-e68e-46ec-9521-06564c1e82e2",e._sentryDebugIdIdentifier="sentry-dbid-3674ea2a-e68e-46ec-9521-06564c1e82e2")}catch{}})();const l=Y.getLocalizedStrings(),H={listItemMargin:new A(g[3],g[8])};function X(e){const i=C(e,o=>o.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),c=_(i,o=>o.length>0);return L(c,o=>({date:o[0].transactionDate,transactions:T(o,m=>m.transactionDate,"desc")}))}const G=F(X),pe=({transactionListView:e,onBackClick:i})=>{const c=M(),o=S(),m=x.createRef(),p=x.useRef(null),d=G(e.transactions),k=e.depositAccountName,f=d.length===0,j=n=>f===!1?d[n].transactions.length*N.transactionItemHeightResponsive.value(o)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=d[n];return t.jsx(w,{style:{...h},children:t.jsx(y,{windowSize:o,children:t.jsxs($,{children:[t.jsx(Q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,u)=>t.jsx(P,{data:D,boxType:q(u,s.transactions.length)},u))})]})})})}else return t.jsx(w,{style:{...h},children:t.jsx(J,{children:t.jsx(y,{windowSize:o,children:t.jsx(O,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(K,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:c.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(E,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:d.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},w=a.div``,y=a.div`
2
2
  margin: ${e=>`${r.sp0} ${H.listItemMargin.valuePx(e.windowSize)}`};
3
3
  `,J=a.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{q as O,a9 as U,F as S,cC as q,aB as H,V as n,cn as Q,co as Z,cp as G,ac as J,aP as K,y as b,eS as X,o as Y,b8 as ee,d as o}from"./index-CO_Updpp.js";import{a as w}from"./sentry-DdXOXL3j.js";import{n as h}from"./mui-ByF8ZmHV.js";import{bi as T}from"./zeni-epic-state-BiQIJCwr.js";import{e as ne}from"./BankAccountSection-DWKYMZid-XH_pxLOm.js";import{M as te}from"./MagicLinkTitleSection-RHv_GuEq-c-uPcRfj.js";import{W as ae,A as oe}from"./BankAccountWarningSection-neFg-P9--B7Ex5Gby.js";import{T as ie}from"./MailingDetailsSection-DAryNhi6-DIXrN7jG.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]="b35a49fb-c58d-4f5c-83f1-b68315669365",e._sentryDebugIdIdentifier="sentry-dbid-b35a49fb-c58d-4f5c-83f1-b68315669365")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},B="domesticWireDetailsPage",k="bankAccountSection",$="mailingAddressSection",D=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:f,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:C}=e,u=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:w.useMemo(()=>se(s,r),[s,r])}),[W,g]=w.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,F={onOkClick:()=>{g(!1),c.reset(),C?.()},onCancelClick:()=>{g(!1)}},_=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&X.test(d)===!0&&R?.(d)};w.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>_(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!H(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(Q,{titleComponent:n.jsx(G,{children:a.discardTitle}),descriptionComponent:n.jsx(Z,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:F}):null,n.jsx(ae,{header:f?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:f,isDirty:N,onBackClick:C,setShowConfirmationPopup:g}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(J,{...c,children:n.jsxs("form",{id:D(B),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(K,{formId:D(B),primaryBtn:{label:f?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?g(!0):(c.reset(),C?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
1
+ import{q as O,a9 as U,F as S,cC as q,aB as H,V as n,cn as Q,co as Z,cp as G,ac as J,aP as K,y as b,eS as X,o as Y,b8 as ee,d as o}from"./index-DL_zrSsq.js";import{a as w}from"./sentry-DdXOXL3j.js";import{n as h}from"./mui-ByF8ZmHV.js";import{bi as T}from"./zeni-epic-state-BiQIJCwr.js";import{e as ne}from"./BankAccountSection-DWKYMZid-VBEJaF0G.js";import{M as te}from"./MagicLinkTitleSection-RHv_GuEq-y4Cr3bt2.js";import{W as ae,A as oe}from"./BankAccountWarningSection-neFg-P9--TJDw43tL.js";import{T as ie}from"./MailingDetailsSection-DAryNhi6-CuFuumI_.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]="b35a49fb-c58d-4f5c-83f1-b68315669365",e._sentryDebugIdIdentifier="sentry-dbid-b35a49fb-c58d-4f5c-83f1-b68315669365")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},B="domesticWireDetailsPage",k="bankAccountSection",$="mailingAddressSection",D=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:f,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:C}=e,u=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:w.useMemo(()=>se(s,r),[s,r])}),[W,g]=w.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,F={onOkClick:()=>{g(!1),c.reset(),C?.()},onCancelClick:()=>{g(!1)}},_=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&X.test(d)===!0&&R?.(d)};w.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>_(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!H(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(Q,{titleComponent:n.jsx(G,{children:a.discardTitle}),descriptionComponent:n.jsx(Z,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:F}):null,n.jsx(ae,{header:f?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:f,isDirty:N,onBackClick:C,setShowConfirmationPopup:g}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(J,{...c,children:n.jsxs("form",{id:D(B),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(K,{formId:D(B),primaryBtn:{label:f?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?g(!0):(c.reset(),C?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
2
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F,c3 as dt,bM as Ue,d as B,b8 as qe,al as R,bP as ke,b as te,am as be,n as ae,f as We,bR as ct,c4 as xe,c5 as ge,A as Ge,c6 as Ze,bK as pt,b9 as mt,ao as ye,c7 as Z,c8 as ft,c9 as ht,bI as ut,bQ as bt,aq as xt,ca as gt,bZ as yt,au as $t}from"./index-CO_Updpp.js";import{a as h,S as $e}from"./sentry-DdXOXL3j.js";import{n,k as Ke}from"./mui-ByF8ZmHV.js";import{F4 as me,F5 as C,F6 as K,bL as P,F7 as X,F8 as we,F9 as U,bh as wt,Fa as k,Fb as Ft,Fc as vt,Fd as jt,Fe as Ot,Ff as Yt}from"./zeni-epic-state-BiQIJCwr.js";import{m as Dt}from"./analyticsHelper-C164AjRf-tG0aq5YR.js";import{g as _t,x as kt}from"./ReportTableViewSelector-BE2BuEqj-Cv65zIMR.js";import{t as Ct}from"./page-detail-CWX5S47F-C2KjOx45.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./CollapsableReportTable-Bju2JSCg-BqWf1iHn.js";import"./AccountRow-COxNWv3J-Dkf6Savq.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="2c7a8c23-36c6-4a31-8f7c-3ca82827deb0",e._sentryDebugIdIdentifier="sentry-dbid-2c7a8c23-36c6-4a31-8f7c-3ca82827deb0")}catch{}})();const Pt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function ie(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=K(r,e,a-1,o),{startOfTimeframeFY:l}=C(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return oe(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=C(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=k(l,e);const{fyYear:u}=k(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
1
+ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F,c3 as dt,bM as Ue,d as B,b8 as qe,al as R,bP as ke,b as te,am as be,n as ae,f as We,bR as ct,c4 as xe,c5 as ge,A as Ge,c6 as Ze,bK as pt,b9 as mt,ao as ye,c7 as Z,c8 as ft,c9 as ht,bI as ut,bQ as bt,aq as xt,ca as gt,bZ as yt,au as $t}from"./index-DL_zrSsq.js";import{a as h,S as $e}from"./sentry-DdXOXL3j.js";import{n,k as Ke}from"./mui-ByF8ZmHV.js";import{F4 as me,F5 as C,F6 as K,bL as P,F7 as X,F8 as we,F9 as U,bh as wt,Fa as k,Fb as Ft,Fc as vt,Fd as jt,Fe as Ot,Ff as Yt}from"./zeni-epic-state-BiQIJCwr.js";import{m as Dt}from"./analyticsHelper-C164AjRf-BUQv6elD.js";import{g as _t,x as kt}from"./ReportTableViewSelector-BE2BuEqj-BMoVH1Lv.js";import{t as Ct}from"./page-detail-CWX5S47F-C2KjOx45.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./CollapsableReportTable-Bju2JSCg-BSE4kNvo.js";import"./AccountRow-COxNWv3J-B4EUrg0i.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="2c7a8c23-36c6-4a31-8f7c-3ca82827deb0",e._sentryDebugIdIdentifier="sentry-dbid-2c7a8c23-36c6-4a31-8f7c-3ca82827deb0")}catch{}})();const Pt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function ie(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=K(r,e,a-1,o),{startOfTimeframeFY:l}=C(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return oe(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=C(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=k(l,e);const{fyYear:u}=k(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
2
2
  padding: ${s.sp3};
3
3
  border: 1px solid ${e=>e.borderColor.default};
4
4
  border-radius: ${s.sp1};
@@ -1,4 +1,4 @@
1
- import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,M as c,a as g,_ as b,d as t,aL as L,jV as k,jW as _,jX as D}from"./index-CO_Updpp.js";import{n as o}from"./mui-ByF8ZmHV.js";import"./sentry-DdXOXL3j.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="e06d5c6f-5758-484d-85f0-bb0391855b93",e._sentryDebugIdIdentifier="sentry-dbid-e06d5c6f-5758-484d-85f0-bb0391855b93")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},j={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},p=h.getLocalizedStrings().rewardsPage.drawerPage,C=({rewardsPlan:e})=>{const n=[I(),R(),M({rewardsPlan:e})],d=a();return i.jsx(X,{children:n.map((v,f)=>i.jsxs(W,{children:[i.jsx(A,{children:v}),f<n.length-1?i.jsx(q,{windowSize:d}):null]},`step_${f}`))})},I=()=>{const e=a(),n=p.item1;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(B,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=p.item2;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=p.item3;return i.jsxs(x,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(V,{windowSize:n})}),i.jsx(z,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(S,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},x=o.div`
1
+ import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,M as c,a as g,_ as b,d as t,aL as L,jV as k,jW as _,jX as D}from"./index-DL_zrSsq.js";import{n as o}from"./mui-ByF8ZmHV.js";import"./sentry-DdXOXL3j.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="e06d5c6f-5758-484d-85f0-bb0391855b93",e._sentryDebugIdIdentifier="sentry-dbid-e06d5c6f-5758-484d-85f0-bb0391855b93")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},j={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},p=h.getLocalizedStrings().rewardsPage.drawerPage,C=({rewardsPlan:e})=>{const n=[I(),R(),M({rewardsPlan:e})],d=a();return i.jsx(X,{children:n.map((v,f)=>i.jsxs(W,{children:[i.jsx(A,{children:v}),f<n.length-1?i.jsx(q,{windowSize:d}):null]},`step_${f}`))})},I=()=>{const e=a(),n=p.item1;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(B,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=p.item2;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=p.item3;return i.jsxs(x,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(V,{windowSize:n})}),i.jsx(z,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(S,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},x=o.div`
2
2
  border: 1px solid ${e=>e.theme.colors.grey3};
3
3
  border-radius: ${r.sp2};
4
4
  box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.dropShadowNormal}`};
@@ -1,4 +1,4 @@
1
- import{q as ie,fP as ae,f as de,a9 as pe,aO as ce,V as t,cn as ue,ap as me,co as ge,cp as fe,gK as he,ct as ye,o as n,bR as be,aN as L,ac as ve,aP as xe,y as P,F as $e,cy as we,fS as Re,fT as Ce,fU as Ie,b8 as je,p as W,cW as Oe,d as u}from"./index-CO_Updpp.js";import{a as w}from"./sentry-DdXOXL3j.js";import{n as l}from"./mui-ByF8ZmHV.js";import{FB as Te,bg as _e}from"./zeni-epic-state-BiQIJCwr.js";import{f as Pe}from"./AllUserItems-Cd2jEIM9-DycIVbwH.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./LabeledUserSingleSelectWithSubtitlesField-Dgn_WK0p-B4rGn1v8.js";import"./RoleWithToolTip-DUEwWP4s-ChXNLhUR.js";import"./LabeledZeniRolesDropDownField--9AjGtEh-1hSD4x8B.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="f9b79a19-6a97-4499-a53b-3c24a60d1c7c",e._sentryDebugIdIdentifier="sentry-dbid-f9b79a19-6a97-4499-a53b-3c24a60d1c7c")}catch{}})();const I={containerPaddingTop:new P(u[3],u[3]),containerPaddingLeft:new P(u[3],u[6],u[6]),containerPaddingRight:new P(u[3],u[6],u[8]),buttonWidth:new P(85,85)},Q="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:j,mode:p,isZeniTenant:k,onCloseClick:O,onResetClick:T,onSaveClick:m,onDeleteUser:M,onPeopleLocalDataUpdated:Y,analytics:U,isReimbursementDisabled:z,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const C=ie(),[K,S]=w.useState(!1),[X,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),D=w.useMemo(()=>ae(z,N,Z,b,v,A,q),[z,N,Z,b,v,A,q]),G=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:J(e.people,o,y,p,D,b,v),values:J(e.people,o,y,p,D,b,v)}),se=i.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const g=i.getValues();let r=!0;return g.userItems.forEach((f,x)=>{const{role:B,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const s=B.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(g,r)=>{const f=[],{userItems:x}=r,B=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(B!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(E=>Te(E.selectedOption?.value)).filter(E=>E!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=_e(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),Y(f)};w.useEffect(()=>{const g=i.watch((r,{name:f})=>{f!=null&&r!=null&&ne(f,r)});return()=>{g.unsubscribe()}});const oe=()=>{S(!0)},re={onOkClick:()=>{const g=e.person;U?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),M?.(e.person)},onCancelClick:()=>{S(!1)}},F=ce(e.person?.update),_=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{_==null&&F==="removeUsers"&&(S(!1),T?.())},[_,F]),t.jsxs(t.Fragment,{children:[K===!0?t.jsx(ue,{titleComponent:t.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:_==="removeUsers",isDisabled:_==="removeUsers",style:{background:G.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Le,{children:t.jsx(Ue,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:G.colors.grey4,style:{zIndex:4},onCloseClick:O,isTitleAlignLeft:C==="small"}),t.jsxs(ke,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(Ee,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Se,{children:[t.jsx(De,{children:e.person?.user?.firstName?t.jsxs(Be,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ze,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ne,{windowsize:C})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${Q}_form`,onSubmit:se,children:t.jsx(Pe,{control:i.control,sectionId:R,deleteConfirmationIndex:X,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:k,classList:y,managersList:o,controllersList:j,customerRoleOptions:D,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:U})})})]}),t.jsx(xe,{formId:`${Q}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:O},separatorStyle:{marginRight:n.sp4}})]})},J=(e,o,y,j,p,k,O)=>{const T=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:j==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:j!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(k,O)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:T,selectedOption:T.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,ke=l.div`
1
+ import{q as ie,fP as ae,f as de,a9 as pe,aO as ce,V as t,cn as ue,ap as me,co as ge,cp as fe,gK as he,ct as ye,o as n,bR as be,aN as L,ac as ve,aP as xe,y as P,F as $e,cy as we,fS as Re,fT as Ce,fU as Ie,b8 as je,p as W,cW as Oe,d as u}from"./index-DL_zrSsq.js";import{a as w}from"./sentry-DdXOXL3j.js";import{n as l}from"./mui-ByF8ZmHV.js";import{FB as Te,bg as _e}from"./zeni-epic-state-BiQIJCwr.js";import{f as Pe}from"./AllUserItems-Cd2jEIM9-B9hdjONU.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./LabeledUserSingleSelectWithSubtitlesField-Dgn_WK0p-DWc0c9MZ.js";import"./RoleWithToolTip-DUEwWP4s-C_YDFJH-.js";import"./LabeledZeniRolesDropDownField--9AjGtEh-BGkQVvtD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="f9b79a19-6a97-4499-a53b-3c24a60d1c7c",e._sentryDebugIdIdentifier="sentry-dbid-f9b79a19-6a97-4499-a53b-3c24a60d1c7c")}catch{}})();const I={containerPaddingTop:new P(u[3],u[3]),containerPaddingLeft:new P(u[3],u[6],u[6]),containerPaddingRight:new P(u[3],u[6],u[8]),buttonWidth:new P(85,85)},Q="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:j,mode:p,isZeniTenant:k,onCloseClick:O,onResetClick:T,onSaveClick:m,onDeleteUser:M,onPeopleLocalDataUpdated:Y,analytics:U,isReimbursementDisabled:z,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const C=ie(),[K,S]=w.useState(!1),[X,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),D=w.useMemo(()=>ae(z,N,Z,b,v,A,q),[z,N,Z,b,v,A,q]),G=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:J(e.people,o,y,p,D,b,v),values:J(e.people,o,y,p,D,b,v)}),se=i.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const g=i.getValues();let r=!0;return g.userItems.forEach((f,x)=>{const{role:B,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const s=B.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(g,r)=>{const f=[],{userItems:x}=r,B=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(B!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(E=>Te(E.selectedOption?.value)).filter(E=>E!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=_e(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),Y(f)};w.useEffect(()=>{const g=i.watch((r,{name:f})=>{f!=null&&r!=null&&ne(f,r)});return()=>{g.unsubscribe()}});const oe=()=>{S(!0)},re={onOkClick:()=>{const g=e.person;U?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),M?.(e.person)},onCancelClick:()=>{S(!1)}},F=ce(e.person?.update),_=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{_==null&&F==="removeUsers"&&(S(!1),T?.())},[_,F]),t.jsxs(t.Fragment,{children:[K===!0?t.jsx(ue,{titleComponent:t.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:_==="removeUsers",isDisabled:_==="removeUsers",style:{background:G.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Le,{children:t.jsx(Ue,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:G.colors.grey4,style:{zIndex:4},onCloseClick:O,isTitleAlignLeft:C==="small"}),t.jsxs(ke,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(Ee,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Se,{children:[t.jsx(De,{children:e.person?.user?.firstName?t.jsxs(Be,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ze,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ne,{windowsize:C})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${Q}_form`,onSubmit:se,children:t.jsx(Pe,{control:i.control,sectionId:R,deleteConfirmationIndex:X,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:k,classList:y,managersList:o,controllersList:j,customerRoleOptions:D,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:U})})})]}),t.jsx(xe,{formId:`${Q}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:O},separatorStyle:{marginRight:n.sp4}})]})},J=(e,o,y,j,p,k,O)=>{const T=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:j==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:j!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(k,O)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:T,selectedOption:T.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,ke=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{aO as li,f as ft,aw as wt,a9 as an,ay as Ii,aB as rn,q as Re,gd as ao,gf as ro,gg as lo,V as t,gA as so,ac as ln,cn as di,co as sn,cp as dn,aN as H,o as i,y as d,bA as Ti,bn as co,ds as uo,gh as mo,gs as cn,gn as Di,aP as un,ao as mn,go as po,gB as Ve,ex as Ke,e$ as ci,gC as Bt,F as fe,A as xt,gD as ho,p as j,_ as pn,aq as ui,d as a,bw as go,gq as yo,cD as bo,eE as mi,gE as Mt,fe as Se,cF as pi,fh as $e,cP as nt,ei as fo,fd as hn,b as Rt,cI as gn,cH as tt,cX as Te,ai as hi,gF as wo,fw as xo,cC as So,aT as ji,fq as $o,bv as vo,b9 as yn,u as Co,eh as ko,b6 as Ft,gi as Io,bT as bn,M as gi,a as fn,cZ as wn,cg as Et,eS as To,b8 as Do,d1 as jo,fk as Oo,al as yi,n as Oi,bR as xn,b0 as Pi,cW as Po,am as Lo,cL as Sn,aL as Ro,gG as $n,gH as si,g8 as Li,gI as At,cV as Ao,gc as zo,bI as Bo,cU as Mo}from"./index-CO_Updpp.js";import{a as S,S as kt}from"./sentry-DdXOXL3j.js";import{n}from"./mui-ByF8ZmHV.js";import{a as Fo}from"./liveblocks-BOlC_Koo.js";import{FI as Eo,bL as it,bP as vn,bo as Cn,bm as Ri,FJ as Ai,bh as bi}from"./zeni-epic-state-BiQIJCwr.js";import kn from"./InvoiceUploadSection-D6gMuygS-CT-0_4kq.js";import{r as No,f as zt,d as bt,p as fi,u as zi,h as ke}from"./types-DyvtCprH-NFPm5TaG.js";import{I as Wo}from"./LabeledCreatableSingleSelectField-B-OgiRpS-D789AeMD.js";import{S as Uo}from"./CurrencySelectField-9MMlAXHh-7T5GvQvy.js";import{e as _o}from"./BankAccountSection-DWKYMZid-XH_pxLOm.js";import{W as Vo,A as Ho}from"./BankAccountWarningSection-neFg-P9--B7Ex5Gby.js";import{o as qo}from"./radio-default-CiSgisfh-B7-vB3nP.js";import"./core-cG0U1y2d.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./recharts-C9z9JCsM.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./AttachmentView-e6OZT5St-CRHdzPSa.js";import"./uploadReceipts-CPw64UYa-CIYZXcqS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="9ce2505c-7a95-4dd7-ac5b-8a7074109b5b",e._sentryDebugIdIdentifier="sentry-dbid-9ce2505c-7a95-4dd7-ac5b-8a7074109b5b")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Ce}},dateFormat:Ko,common:Go}=fe.getLocalizedStrings(),Yo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const w=Re(),s=wt(),y=Mt(),$=`dashboard_${s.currentTenant?.companyId}`,P=ft(),{formState:{errors:I},getValues:L,trigger:q}=nt(),R=Go.strings.empty,T=L(Me(p,"distanceInMiles")),B=Bi.largeLabelWidth.value(w),te=L(Me(p,"class")),ne=r.find(z=>z.classId===te?.selectedOption),oe=Me(p,"class"),Y=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||Y)&&q(oe)},[te?.selectedOption,ne?.isDeleted,r,oe,q]);const K={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=z=>r.filter(ae=>ae.classId===z)[0]?.accountingClassNumber,Z=r.find(z=>z.classId===o.class),V={valueContainer:z=>({...z,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("transactionDate",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Sn,{isDisabled:m,label:{label:Ce.transactionDate,width:B},style:{paddingBottom:Bi.paddingBottom.valuePx(w),width:"auto"},dateField:{name:Me(p,"transactionDate"),placeholder:Ce.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Ko.visual.defaultInput,autoComplete:"off",maxDate:bi(),registerOptions:{required:!0,validate:z=>!!z}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:v?"disabled":void 0,style:{width:"auto"},label:{label:Ce.distanceInMiles,width:B},formattedTextField:{type:"number",name:Me(p,"distanceInMiles"),placeholder:Ce.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.amount`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("amount",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:"disabled",label:{label:Ce.amount,width:B},formattedTextField:{type:"number",name:Me(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:tt(Ce.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:T!=null&&f?.mileageUnitAmount!=null?`${c.currencySymbol}${f?.mileageUnitAmount} per mile x ${T}`:void 0})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.memo`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("memo",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(pi,{isDisabled:m,label:{label:Ce.memo,width:B},style:{width:"auto"},text:{type:"text",name:Me(p,"memo"),placeholder:tt(Ce.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:$n}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.class`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("class",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(si,{isLoading:!1,label:{label:Ce.department,width:B},additionalLabelInfo:ne?.isDeleted===!0&&Te(I,Me(p,"class"))?Ce.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Me(p,"class"),placeholder:tt(Ce.department),valueToId:z=>F(z),defaultValue:{selectedOption:Z?.classId,allOptions:Ke(k,[])},style:{width:"100%"},customStyleConfig:V,registerOptions:{required:!0,validate:z=>z?.selectedOption==null?!1:r.find(ae=>ae.classId===z?.selectedOption)?.isDeleted===!0?Ce.deletedClassError:!0}},style:{borderBottom:`1px solid ${P.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},It=n.div`
1
+ import{aO as li,f as ft,aw as wt,a9 as an,ay as Ii,aB as rn,q as Re,gd as ao,gf as ro,gg as lo,V as t,gA as so,ac as ln,cn as di,co as sn,cp as dn,aN as H,o as i,y as d,bA as Ti,bn as co,ds as uo,gh as mo,gs as cn,gn as Di,aP as un,ao as mn,go as po,gB as Ve,ex as Ke,e$ as ci,gC as Bt,F as fe,A as xt,gD as ho,p as j,_ as pn,aq as ui,d as a,bw as go,gq as yo,cD as bo,eE as mi,gE as Mt,fe as Se,cF as pi,fh as $e,cP as nt,ei as fo,fd as hn,b as Rt,cI as gn,cH as tt,cX as Te,ai as hi,gF as wo,fw as xo,cC as So,aT as ji,fq as $o,bv as vo,b9 as yn,u as Co,eh as ko,b6 as Ft,gi as Io,bT as bn,M as gi,a as fn,cZ as wn,cg as Et,eS as To,b8 as Do,d1 as jo,fk as Oo,al as yi,n as Oi,bR as xn,b0 as Pi,cW as Po,am as Lo,cL as Sn,aL as Ro,gG as $n,gH as si,g8 as Li,gI as At,cV as Ao,gc as zo,bI as Bo,cU as Mo}from"./index-DL_zrSsq.js";import{a as S,S as kt}from"./sentry-DdXOXL3j.js";import{n}from"./mui-ByF8ZmHV.js";import{a as Fo}from"./liveblocks-BOlC_Koo.js";import{FI as Eo,bL as it,bP as vn,bo as Cn,bm as Ri,FJ as Ai,bh as bi}from"./zeni-epic-state-BiQIJCwr.js";import kn from"./InvoiceUploadSection-D6gMuygS-DsLHKXnW.js";import{r as No,f as zt,d as bt,p as fi,u as zi,h as ke}from"./types-DyvtCprH-NFPm5TaG.js";import{I as Wo}from"./LabeledCreatableSingleSelectField-B-OgiRpS-OWY6lxtT.js";import{S as Uo}from"./CurrencySelectField-9MMlAXHh-ORBioImf.js";import{e as _o}from"./BankAccountSection-DWKYMZid-VBEJaF0G.js";import{W as Vo,A as Ho}from"./BankAccountWarningSection-neFg-P9--TJDw43tL.js";import{o as qo}from"./radio-default-CiSgisfh-B7-vB3nP.js";import"./core-cG0U1y2d.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./recharts-C9z9JCsM.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./AttachmentView-e6OZT5St-DqYOouQl.js";import"./uploadReceipts-CPw64UYa-BiBffXJB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="9ce2505c-7a95-4dd7-ac5b-8a7074109b5b",e._sentryDebugIdIdentifier="sentry-dbid-9ce2505c-7a95-4dd7-ac5b-8a7074109b5b")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Ce}},dateFormat:Ko,common:Go}=fe.getLocalizedStrings(),Yo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const w=Re(),s=wt(),y=Mt(),$=`dashboard_${s.currentTenant?.companyId}`,P=ft(),{formState:{errors:I},getValues:L,trigger:q}=nt(),R=Go.strings.empty,T=L(Me(p,"distanceInMiles")),B=Bi.largeLabelWidth.value(w),te=L(Me(p,"class")),ne=r.find(z=>z.classId===te?.selectedOption),oe=Me(p,"class"),Y=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||Y)&&q(oe)},[te?.selectedOption,ne?.isDeleted,r,oe,q]);const K={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=z=>r.filter(ae=>ae.classId===z)[0]?.accountingClassNumber,Z=r.find(z=>z.classId===o.class),V={valueContainer:z=>({...z,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("transactionDate",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Sn,{isDisabled:m,label:{label:Ce.transactionDate,width:B},style:{paddingBottom:Bi.paddingBottom.valuePx(w),width:"auto"},dateField:{name:Me(p,"transactionDate"),placeholder:Ce.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Ko.visual.defaultInput,autoComplete:"off",maxDate:bi(),registerOptions:{required:!0,validate:z=>!!z}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:v?"disabled":void 0,style:{width:"auto"},label:{label:Ce.distanceInMiles,width:B},formattedTextField:{type:"number",name:Me(p,"distanceInMiles"),placeholder:Ce.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.amount`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("amount",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:"disabled",label:{label:Ce.amount,width:B},formattedTextField:{type:"number",name:Me(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:tt(Ce.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:T!=null&&f?.mileageUnitAmount!=null?`${c.currencySymbol}${f?.mileageUnitAmount} per mile x ${T}`:void 0})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.memo`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("memo",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(pi,{isDisabled:m,label:{label:Ce.memo,width:B},style:{width:"auto"},text:{type:"text",name:Me(p,"memo"),placeholder:tt(Ce.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:$n}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.class`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("class",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(si,{isLoading:!1,label:{label:Ce.department,width:B},additionalLabelInfo:ne?.isDeleted===!0&&Te(I,Me(p,"class"))?Ce.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Me(p,"class"),placeholder:tt(Ce.department),valueToId:z=>F(z),defaultValue:{selectedOption:Z?.classId,allOptions:Ke(k,[])},style:{width:"100%"},customStyleConfig:V,registerOptions:{required:!0,validate:z=>z?.selectedOption==null?!1:r.find(ae=>ae.classId===z?.selectedOption)?.isDeleted===!0?Ce.deletedClassError:!0}},style:{borderBottom:`1px solid ${P.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},It=n.div`
2
2
  display: flex;
3
3
  flex: 1;
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{f as b,F as T,aT as x,V as i,ax as v,o,I as p}from"./index-CO_Updpp.js";import{n as a}from"./mui-ByF8ZmHV.js";import{R as C}from"./TrendWithTransactions-C2HIrxbU-BSlQs2Tq.js";import"./sentry-DdXOXL3j.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./TrendChart-Dzc9yPKs-Blv6Qzrf.js";import"./chartTypes-DQ1OffIu-Bo_aesHa.js";import"./toCOABalancesWithID-BA4WkU1y-CDNy4Vu0.js";import"./toChartData-DrvhJgTD-N2b3lY8k.js";import"./NoDataChart-58kSyixy-CZ5Rv3U9.js";import"./InsightsSection-9xZ9BN4e-D22swiZq.js";import"./NavigationDots-CautbD-g-AEb3JA6J.js";import"./TransactionList-CnjoEn7K-D2hvg7ek.js";import"./BoxItem-BGDuiQll-BzndiGjI.js";import"./commonDimensions-j5_IHOmP-jvW6K-um.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="08533be5-882d-4ed2-96a1-ab11e9fe084f",t._sentryDebugIdIdentifier="sentry-dbid-08533be5-882d-4ed2-96a1-ab11e9fe084f")}catch{}})();const w=a.div`
1
+ import{f as b,F as T,aT as x,V as i,ax as v,o,I as p}from"./index-DL_zrSsq.js";import{n as a}from"./mui-ByF8ZmHV.js";import{R as C}from"./TrendWithTransactions-C2HIrxbU-DAMM6QVL.js";import"./sentry-DdXOXL3j.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./TrendChart-Dzc9yPKs-DCcvZ56Z.js";import"./chartTypes-DQ1OffIu-DkB5GpFi.js";import"./toCOABalancesWithID-BA4WkU1y-IaWUt-zn.js";import"./toChartData-DrvhJgTD-RZQRJ7Js.js";import"./NoDataChart-58kSyixy-C8J9Kl-k.js";import"./InsightsSection-9xZ9BN4e-DNtCiXCr.js";import"./NavigationDots-CautbD-g-BZ85pLrg.js";import"./TransactionList-CnjoEn7K-C0NzRtWS.js";import"./BoxItem-BGDuiQll-SbLnCH_S.js";import"./commonDimensions-j5_IHOmP-BbAWTMhB.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="08533be5-882d-4ed2-96a1-ab11e9fe084f",t._sentryDebugIdIdentifier="sentry-dbid-08533be5-882d-4ed2-96a1-ab11e9fe084f")}catch{}})();const w=a.div`
2
2
  display: flex;
3
3
  margin: ${o.sp0} ${o.sp0} ${o.sp0} ${o.sp0};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{q as z,F as L,V as i,dp as H,y as l,c$ as O,o as d,aa as j,aL as S,b2 as A,cr as E,d as r,c as R,am as B,al as k,b8 as F,ai as N,cw as U,p as W,cz as G}from"./index-CO_Updpp.js";import{a as f}from"./sentry-DdXOXL3j.js";import{n}from"./mui-ByF8ZmHV.js";import{l as q}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.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]="f0c4ea8b-52ec-4c6a-b105-64075eb6858a",e._sentryDebugIdIdentifier="sentry-dbid-f0c4ea8b-52ec-4c6a-b105-64075eb6858a")}catch{}})();const m=L.getLocalizedStrings().reports.aging.agingDetail.header,w=[{key:"date",value:m.date,sortOrder:"ascending",width:new l(212,212)},{key:"invoiceNumber",value:m.invoiceNumber,sortOrder:"ascending",width:new l(188,188)},{key:"dueDate",value:m.dueDate,sortOrder:"ascending",width:new l(188,188)},{key:"daysPastDue",value:m.daysPastDue,sortOrder:"ascending",width:new l(188,188)},{key:"amount",value:m.amount,sortOrder:"ascending",width:new l(188,188)},{key:"balance",value:m.balance,sortOrder:"ascending",width:new l(120,120)}],M={headerHeight:new l(45,58)},X=n.div`
1
+ import{q as z,F as L,V as i,dp as H,y as l,c$ as O,o as d,aa as j,aL as S,b2 as A,cr as E,d as r,c as R,am as B,al as k,b8 as F,ai as N,cw as U,p as W,cz as G}from"./index-DL_zrSsq.js";import{a as f}from"./sentry-DdXOXL3j.js";import{n}from"./mui-ByF8ZmHV.js";import{l as q}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.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]="f0c4ea8b-52ec-4c6a-b105-64075eb6858a",e._sentryDebugIdIdentifier="sentry-dbid-f0c4ea8b-52ec-4c6a-b105-64075eb6858a")}catch{}})();const m=L.getLocalizedStrings().reports.aging.agingDetail.header,w=[{key:"date",value:m.date,sortOrder:"ascending",width:new l(212,212)},{key:"invoiceNumber",value:m.invoiceNumber,sortOrder:"ascending",width:new l(188,188)},{key:"dueDate",value:m.dueDate,sortOrder:"ascending",width:new l(188,188)},{key:"daysPastDue",value:m.daysPastDue,sortOrder:"ascending",width:new l(188,188)},{key:"amount",value:m.amount,sortOrder:"ascending",width:new l(188,188)},{key:"balance",value:m.balance,sortOrder:"ascending",width:new l(120,120)}],M={headerHeight:new l(45,58)},X=n.div`
2
2
  top: ${d.sp0};
3
3
  left: ${d.sp0};
4
4
  min-height: ${e=>M.headerHeight.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{f as X,q as le,cb as de,V as t,g2 as U,aN as v,bM as ce,p as a,bR as F,o as r,bA as he,k4 as pe,b as d,hJ as _,hI as R,n as me,bv as ue,ag as ge,k5 as Ce,k6 as ke,F as k,ci as xe,c as fe,bI as je,ai as h,av as Q,al as ye,l as ve,b6 as $e,a_ as be,b8 as ee}from"./index-CO_Updpp.js";import{a as n}from"./sentry-DdXOXL3j.js";import{n as o,c as te,k as Le}from"./mui-ByF8ZmHV.js";import{bh as re,bL as we}from"./zeni-epic-state-BiQIJCwr.js";import{U as Me,F as Ee,X as We,Y as Se,J as De,G as Ve}from"./recharts-C9z9JCsM.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="36b43ff4-dbfa-4374-b936-a2c637fb597e",e._sentryDebugIdIdentifier="sentry-dbid-36b43ff4-dbfa-4374-b936-a2c637fb597e")}catch{}})();const He=k.getLocalizedStrings().expenseAutomation,Pe=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:ze},texts:{score:Fe}}}=k.getLocalizedStrings(),_e=({active:e,payload:i})=>{if(e===!1||e===void 0||!i||i.length===0)return null;const c=i[0]?.value;return c==null?null:t.jsxs(Ie,{children:[t.jsx(Ne,{children:Fe}),t.jsxs(Ze,{children:[c,ze]})]})};function Re({data:e,height:i}){const c=X(),L=e.map(x=>({month:we(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Pe.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ye,{children:[t.jsx(Te,{children:He.overview.monthEndCloseTrend}),t.jsx(Me,{height:i,width:"100%",children:t.jsxs(Ee,{data:L,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:a.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:a.brandColorJade,stopOpacity:.1})]})}),t.jsx(We,{dataKey:"month",axisLine:{stroke:c.colors.grey3},tickLine:!1,interval:"preserveStartEnd",label:{color:c.colors.hero,fontSize:d.smallRegular.fontSize,fontWeight:d.smallRegular.fontWeight,fontFamily:d.smallRegular.fontFamily}}),t.jsx(Se,{hide:!0}),t.jsx(De,{content:_e,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(Ve,{type:"monotone",dataKey:"count",stroke:a.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5,fill:a.neutralGrey4Light,stroke:a.brandColorJade,strokeWidth:2}})]})})]})}const Te=o(h)`
1
+ import{f as X,q as le,cb as de,V as t,g2 as U,aN as v,bM as ce,p as a,bR as F,o as r,bA as he,k4 as pe,b as d,hJ as _,hI as R,n as me,bv as ue,ag as ge,k5 as Ce,k6 as ke,F as k,ci as xe,c as fe,bI as je,ai as h,av as Q,al as ye,l as ve,b6 as $e,a_ as be,b8 as ee}from"./index-DL_zrSsq.js";import{a as n}from"./sentry-DdXOXL3j.js";import{n as o,c as te,k as Le}from"./mui-ByF8ZmHV.js";import{bh as re,bL as we}from"./zeni-epic-state-BiQIJCwr.js";import{U as Me,F as Ee,X as We,Y as Se,J as De,G as Ve}from"./recharts-C9z9JCsM.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="36b43ff4-dbfa-4374-b936-a2c637fb597e",e._sentryDebugIdIdentifier="sentry-dbid-36b43ff4-dbfa-4374-b936-a2c637fb597e")}catch{}})();const He=k.getLocalizedStrings().expenseAutomation,Pe=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:ze},texts:{score:Fe}}}=k.getLocalizedStrings(),_e=({active:e,payload:i})=>{if(e===!1||e===void 0||!i||i.length===0)return null;const c=i[0]?.value;return c==null?null:t.jsxs(Ie,{children:[t.jsx(Ne,{children:Fe}),t.jsxs(Ze,{children:[c,ze]})]})};function Re({data:e,height:i}){const c=X(),L=e.map(x=>({month:we(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Pe.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ye,{children:[t.jsx(Te,{children:He.overview.monthEndCloseTrend}),t.jsx(Me,{height:i,width:"100%",children:t.jsxs(Ee,{data:L,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:a.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:a.brandColorJade,stopOpacity:.1})]})}),t.jsx(We,{dataKey:"month",axisLine:{stroke:c.colors.grey3},tickLine:!1,interval:"preserveStartEnd",label:{color:c.colors.hero,fontSize:d.smallRegular.fontSize,fontWeight:d.smallRegular.fontWeight,fontFamily:d.smallRegular.fontFamily}}),t.jsx(Se,{hide:!0}),t.jsx(De,{content:_e,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(Ve,{type:"monotone",dataKey:"count",stroke:a.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5,fill:a.neutralGrey4Light,stroke:a.brandColorJade,strokeWidth:2}})]})})]})}const Te=o(h)`
2
2
  color: ${e=>e.theme.colors.champion};
3
3
  `,Ye=o.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{o,bT as ca,q as ke,gd as es,ge as ts,V as t,cn as da,aa as Pe,aP as ns,d as g,F as Ie,co as ua,f as bt,bA as ha,i0 as pa,aL as Ue,bR as ye,y as ee,bu as ma,aN as B,h_ as ga,al as Me,gU as xa,gM as os,bv as fa,bN as Dt,b6 as is,ai as vt,bI as ss,p as Xe,kc as ya,g2 as Ca,am as pt,_ as wa,gf as ba,gg as as,bn as va,ci as Sa,c0 as ja,ez as gn,bZ as jo,a9 as qt,bM as ko,ac as Jt,kd as ka,ke as Ia,kf as $a,kg as ln,kh as rs,ki as ls,kj as La,kk as No,kl as Ta,di as cs,km as Aa,kn as Ea,ko as Ra,kp as Da,kq as Oa,kr as _a,ks as Ma,kt as za,ku as Fa,kv as Ba,kw as ds,kx as Pa,ky as Na,kz as Va,kA as Ha,gu as us,b2 as Mn,cr as zn,A as hs,v as ps,O as ms,cC as xn,dQ as Io,gq as Wa,fL as Ua,gX as qa,aq as Ja,l as Ka,fw as Ga,aB as gs,kB as Ya,aT as $o,aO as Vo,gO as xs,kC as Za,kD as Xa,kE as Qa,bD as fs,aR as er,gC as Rt,hQ as Vn,ex as En,cP as Lo,ay as tr,cY as ys,dk as nr,iM as or,dq as To,cw as Fn,cz as Bn,it as nt,b as At,hD as ir,gv as Hn,jc as Ho,dg as Cs,c$ as hn,kF as sr,aY as ar,dp as ws,n as pn,ij as bs,iu as yo,kG as tn,ea as vs,ec as Ss,iP as js,iQ as ks,kH as rr,cZ as Pn,ik as Is,fk as $s,ep as Wn,aH as Ao,kI as lr,cV as cr,aW as Ls,iB as dr,dO as ur,ao as ft,kJ as hr,kK as pr,b0 as Un,el as mr,a8 as gr,em as xr,en as fr,eo as yr,eq as Wo,er as Uo,es as Cr,kL as wr,a_ as br,eB as vr,eC as Sr,eD as jr}from"./index-CO_Updpp.js";import{a as s,S as Ts}from"./sentry-DdXOXL3j.js";import{n as a,c as Ze,k as Eo}from"./mui-ByF8ZmHV.js";import{bh as qn,Gi as qo,Gj as mn,Gk as kr,Gl as Ir,cx as $r,bL as Co,cy as Lr,EN as Jo,cz as Tr,cA as Ar,l8 as cn,bE as Nt,Gm as Ko,c4 as As,Gn as Er,bY as Rr,bo as Vt,Go as Dr,Gp as Es,Gq as Rs,Gr as Ds,Gs as Os,Gt as _s,Gu as Ro,kU as Or}from"./zeni-epic-state-BiQIJCwr.js";import{r as Ms,I as zs,n as nn,R as ht}from"./CollapsableReportTable-Bju2JSCg-BqWf1iHn.js";import{N as Jn}from"./AccountRow-COxNWv3J-Dkf6Savq.js";import{o as Fs}from"./mapTimeframeBalancesToTreeNode-XslT-q64-Q3w1WkcY.js";import{d as Go}from"./mapLoadingInProgressToTreeNode-kWMAzMb3-CMOJHu7q.js";import{h as _r}from"./VendorsAccountsSection-B6DkSP2a-Ct-pliYw.js";import{u as Mr,c as Yo,d as zr,m as Fr}from"./uploadAttachment-DiJJciQx-DORmL_G6.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="20d3f91d-da68-413d-9211-636ebd715ecb",e._sentryDebugIdIdentifier="sentry-dbid-20d3f91d-da68-413d-9211-636ebd715ecb")}catch{}})();const{common:{navBar:{back:Br},texts:{refresh:Pr,close:Nr,copy:Vr,copied:Hr,open:Wr}},expenseAutomation:{common:{numbers:{maximumCount:Ur}}}}=Ie.getLocalizedStrings(),qr=a(Wa)`
1
+ import{o,bT as ca,q as ke,gd as es,ge as ts,V as t,cn as da,aa as Pe,aP as ns,d as g,F as Ie,co as ua,f as bt,bA as ha,i0 as pa,aL as Ue,bR as ye,y as ee,bu as ma,aN as B,h_ as ga,al as Me,gU as xa,gM as os,bv as fa,bN as Dt,b6 as is,ai as vt,bI as ss,p as Xe,kc as ya,g2 as Ca,am as pt,_ as wa,gf as ba,gg as as,bn as va,ci as Sa,c0 as ja,ez as gn,bZ as jo,a9 as qt,bM as ko,ac as Jt,kd as ka,ke as Ia,kf as $a,kg as ln,kh as rs,ki as ls,kj as La,kk as No,kl as Ta,di as cs,km as Aa,kn as Ea,ko as Ra,kp as Da,kq as Oa,kr as _a,ks as Ma,kt as za,ku as Fa,kv as Ba,kw as ds,kx as Pa,ky as Na,kz as Va,kA as Ha,gu as us,b2 as Mn,cr as zn,A as hs,v as ps,O as ms,cC as xn,dQ as Io,gq as Wa,fL as Ua,gX as qa,aq as Ja,l as Ka,fw as Ga,aB as gs,kB as Ya,aT as $o,aO as Vo,gO as xs,kC as Za,kD as Xa,kE as Qa,bD as fs,aR as er,gC as Rt,hQ as Vn,ex as En,cP as Lo,ay as tr,cY as ys,dk as nr,iM as or,dq as To,cw as Fn,cz as Bn,it as nt,b as At,hD as ir,gv as Hn,jc as Ho,dg as Cs,c$ as hn,kF as sr,aY as ar,dp as ws,n as pn,ij as bs,iu as yo,kG as tn,ea as vs,ec as Ss,iP as js,iQ as ks,kH as rr,cZ as Pn,ik as Is,fk as $s,ep as Wn,aH as Ao,kI as lr,cV as cr,aW as Ls,iB as dr,dO as ur,ao as ft,kJ as hr,kK as pr,b0 as Un,el as mr,a8 as gr,em as xr,en as fr,eo as yr,eq as Wo,er as Uo,es as Cr,kL as wr,a_ as br,eB as vr,eC as Sr,eD as jr}from"./index-DL_zrSsq.js";import{a as s,S as Ts}from"./sentry-DdXOXL3j.js";import{n as a,c as Ze,k as Eo}from"./mui-ByF8ZmHV.js";import{bh as qn,Gi as qo,Gj as mn,Gk as kr,Gl as Ir,cx as $r,bL as Co,cy as Lr,EN as Jo,cz as Tr,cA as Ar,l8 as cn,bE as Nt,Gm as Ko,c4 as As,Gn as Er,bY as Rr,bo as Vt,Go as Dr,Gp as Es,Gq as Rs,Gr as Ds,Gs as Os,Gt as _s,Gu as Ro,kU as Or}from"./zeni-epic-state-BiQIJCwr.js";import{r as Ms,I as zs,n as nn,R as ht}from"./CollapsableReportTable-Bju2JSCg-BSE4kNvo.js";import{N as Jn}from"./AccountRow-COxNWv3J-B4EUrg0i.js";import{o as Fs}from"./mapTimeframeBalancesToTreeNode-XslT-q64-BTC8ZLHF.js";import{d as Go}from"./mapLoadingInProgressToTreeNode-kWMAzMb3-DMbKtDeY.js";import{h as _r}from"./VendorsAccountsSection-B6DkSP2a-TGZHJo6b.js";import{u as Mr,c as Yo,d as zr,m as Fr}from"./uploadAttachment-DiJJciQx-CTJnPHjt.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="20d3f91d-da68-413d-9211-636ebd715ecb",e._sentryDebugIdIdentifier="sentry-dbid-20d3f91d-da68-413d-9211-636ebd715ecb")}catch{}})();const{common:{navBar:{back:Br},texts:{refresh:Pr,close:Nr,copy:Vr,copied:Hr,open:Wr}},expenseAutomation:{common:{numbers:{maximumCount:Ur}}}}=Ie.getLocalizedStrings(),qr=a(Wa)`
2
2
  display: flex;
3
3
  width: ${o.sp4};
4
4
  height: ${o.sp4};
@@ -1,4 +1,4 @@
1
- import{f as Re,q as Q,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at,aP as nt,y as f,o as n,kO as lt,kP as ot,kQ as rt,cI as Ve,cF as dt,eY as st,fA as ct,fB as pt,cH as Ae,g8 as mt,kR as ut,cL as ht,cM as yt,f3 as ze,f4 as ke,fd as Oe,b as ge,d as u,ff as gt,b9 as ft,b6 as be,p as Ee,am as xt,ar as We}from"./index-CO_Updpp.js";import{a as J}from"./sentry-DdXOXL3j.js";import{n as d}from"./mui-ByF8ZmHV.js";import{bL as qe,bh as le,bP as He,bH as bt,bo as wt}from"./zeni-epic-state-BiQIJCwr.js";import{Y as vt}from"./LabeledDocumentField-Bo6fnkUs-BetKwcOR.js";import{S as te}from"./LabeledText-BJi28Cmu-KVGobttz.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c38674af-de7d-472d-90e9-9b73eb150020",e._sentryDebugIdIdentifier="sentry-dbid-c38674af-de7d-472d-90e9-9b73eb150020")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=Q(),a=Re(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Tt,{children:h.map((p,l)=>t.jsx(Ft,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Pt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
1
+ import{f as Re,q as Q,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at,aP as nt,y as f,o as n,kO as lt,kP as ot,kQ as rt,cI as Ve,cF as dt,eY as st,fA as ct,fB as pt,cH as Ae,g8 as mt,kR as ut,cL as ht,cM as yt,f3 as ze,f4 as ke,fd as Oe,b as ge,d as u,ff as gt,b9 as ft,b6 as be,p as Ee,am as xt,ar as We}from"./index-DL_zrSsq.js";import{a as J}from"./sentry-DdXOXL3j.js";import{n as d}from"./mui-ByF8ZmHV.js";import{bL as qe,bh as le,bP as He,bH as bt,bo as wt}from"./zeni-epic-state-BiQIJCwr.js";import{Y as vt}from"./LabeledDocumentField-Bo6fnkUs-BiNfrt85.js";import{S as te}from"./LabeledText-BJi28Cmu-D9lfYP7U.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c38674af-de7d-472d-90e9-9b73eb150020",e._sentryDebugIdIdentifier="sentry-dbid-c38674af-de7d-472d-90e9-9b73eb150020")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=Q(),a=Re(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Tt,{children:h.map((p,l)=>t.jsx(Ft,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Pt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-top: ${n.sp3};
@@ -1,4 +1,4 @@
1
- import{f as w,q as y,F as v,aT as n,p,V as i,cn as _,y as r,co as k,cp as x,d as g}from"./index-CO_Updpp.js";import{n as d}from"./mui-ByF8ZmHV.js";import"./sentry-DdXOXL3j.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new o.Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="9d17f7c4-70f8-47d2-86a6-8cc6651ca2d0",o._sentryDebugIdIdentifier="sentry-dbid-9d17f7c4-70f8-47d2-86a6-8cc6651ca2d0")}catch{}})();const t={popupWidth:new r(200,468,468,468),buttonWidth:new r(140,160,160,160),popupContainerLeft:new r(g[0],g[0],255),popupContainerWidth:new r(100,100,85)},z=d.div`
1
+ import{f as w,q as y,F as v,aT as n,p,V as i,cn as _,y as r,co as k,cp as x,d as g}from"./index-DL_zrSsq.js";import{n as d}from"./mui-ByF8ZmHV.js";import"./sentry-DdXOXL3j.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new o.Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="9d17f7c4-70f8-47d2-86a6-8cc6651ca2d0",o._sentryDebugIdIdentifier="sentry-dbid-9d17f7c4-70f8-47d2-86a6-8cc6651ca2d0")}catch{}})();const t={popupWidth:new r(200,468,468,468),buttonWidth:new r(140,160,160,160),popupContainerLeft:new r(g[0],g[0],255),popupContainerWidth:new r(100,100,85)},z=d.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{q as H,V as l,F as K,cP as q,cX as G,f as ee,cV as J,y as L,gc as Z,o as r,aN as B,ei as ce,aB as le,g4 as pe,g5 as ue,n as he,p as u,d as g,gz as ge,cW as be,cY as ye,ao as ve,bF as we,b as W,di as $e,bG as fe,bE as ke}from"./index-CO_Updpp.js";import{n as d}from"./mui-ByF8ZmHV.js";import{a as V}from"./sentry-DdXOXL3j.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]="ae052753-0dd8-4588-9fcb-9f03bce27aa6",e._sentryDebugIdIdentifier="sentry-dbid-ae052753-0dd8-4588-9fcb-9f03bce27aa6")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=q(),m=G(j,t.name),T=G(j,p.name),i=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":B("labeled-multi-text-field",t.name),children:[l.jsx(J,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:i.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(re,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:i.colors.grey3,borderRadius:r.sp1,color:i.colors.primary},hoverBgColor:i.colors.background,bgColor:i.colors.background,disabledColor:i.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(re,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:i.colors.grey3,borderRadius:r.sp1,color:i.colors.primary},hoverBgColor:i.colors.background,bgColor:i.colors.background,disabledColor:i.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
1
+ import{q as H,V as l,F as K,cP as q,cX as G,f as ee,cV as J,y as L,gc as Z,o as r,aN as B,ei as ce,aB as le,g4 as pe,g5 as ue,n as he,p as u,d as g,gz as ge,cW as be,cY as ye,ao as ve,bF as we,b as W,di as $e,bG as fe,bE as ke}from"./index-DL_zrSsq.js";import{n as d}from"./mui-ByF8ZmHV.js";import{a as V}from"./sentry-DdXOXL3j.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]="ae052753-0dd8-4588-9fcb-9f03bce27aa6",e._sentryDebugIdIdentifier="sentry-dbid-ae052753-0dd8-4588-9fcb-9f03bce27aa6")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=q(),m=G(j,t.name),T=G(j,p.name),i=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":B("labeled-multi-text-field",t.name),children:[l.jsx(J,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:i.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(re,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:i.colors.grey3,borderRadius:r.sp1,color:i.colors.primary},hoverBgColor:i.colors.background,bgColor:i.colors.background,disabledColor:i.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(re,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:i.colors.grey3,borderRadius:r.sp1,color:i.colors.primary},hoverBgColor:i.colors.background,bgColor:i.colors.background,disabledColor:i.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{f as Ke,q as Y,a9 as _e,ay as Ee,cC as Ye,V as t,bA as Ze,ac as Je,cl as Ce,o,n as ye,F as ue,bM as Qe,aN as T,ck as Xe,b2 as et,dk as tt,cr as lt,aa as ot,A as nt,cZ as it,bD as We,aR as at,y as N,bN as se,d as $,dq as Ie,ai as we,cw as rt,cz as st,cP as dt,dg as je,c$ as me,bR as _,et as ke,ao as ct,id as ht,al as mt,bg as gt,ia as pt,ie as De,cg as ut,bs as wt,p as Oe,ig as bt}from"./index-CO_Updpp.js";import{a as C}from"./sentry-DdXOXL3j.js";import{n as i,c as Se}from"./mui-ByF8ZmHV.js";import{c4 as xt,FZ as vt}from"./zeni-epic-state-BiQIJCwr.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="97daf8c6-905b-4a40-ab16-09aa04922933",e._sentryDebugIdIdentifier="sentry-dbid-97daf8c6-905b-4a40-ab16-09aa04922933")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",H="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,a)=>a!=null?`${e}.${l}.${a}`:`${e}.${l}`;function ft(e){const l=Y(),{button:{label:a,onClick:n},search:{isOpen:g,placeHolder:m,searchText:w,onTextChange:y}}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:g&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ce,{style:{position:"absolute",left:"unset",right:o.sp0},placeholder:m,searchText:w,onSearchTextChanged:y}):null}),l==="small"?t.jsx(Ce,{style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},placeholder:m,searchText:w,onSearchTextChanged:y,keepSearchBoxOpen:!0}):null,l==="small"?t.jsx(St,{style:{marginLeft:o.sp5}}):t.jsx(ye,{variant:"primary",onClick:n,label:a,size:"small",style:{marginLeft:o.sp3}})]})}const yt=i.div`
1
+ import{f as Ke,q as Y,a9 as _e,ay as Ee,cC as Ye,V as t,bA as Ze,ac as Je,cl as Ce,o,n as ye,F as ue,bM as Qe,aN as T,ck as Xe,b2 as et,dk as tt,cr as lt,aa as ot,A as nt,cZ as it,bD as We,aR as at,y as N,bN as se,d as $,dq as Ie,ai as we,cw as rt,cz as st,cP as dt,dg as je,c$ as me,bR as _,et as ke,ao as ct,id as ht,al as mt,bg as gt,ia as pt,ie as De,cg as ut,bs as wt,p as Oe,ig as bt}from"./index-DL_zrSsq.js";import{a as C}from"./sentry-DdXOXL3j.js";import{n as i,c as Se}from"./mui-ByF8ZmHV.js";import{c4 as xt,FZ as vt}from"./zeni-epic-state-BiQIJCwr.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="97daf8c6-905b-4a40-ab16-09aa04922933",e._sentryDebugIdIdentifier="sentry-dbid-97daf8c6-905b-4a40-ab16-09aa04922933")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",H="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,a)=>a!=null?`${e}.${l}.${a}`:`${e}.${l}`;function ft(e){const l=Y(),{button:{label:a,onClick:n},search:{isOpen:g,placeHolder:m,searchText:w,onTextChange:y}}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:g&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ce,{style:{position:"absolute",left:"unset",right:o.sp0},placeholder:m,searchText:w,onSearchTextChanged:y}):null}),l==="small"?t.jsx(Ce,{style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},placeholder:m,searchText:w,onSearchTextChanged:y,keepSearchBoxOpen:!0}):null,l==="small"?t.jsx(St,{style:{marginLeft:o.sp5}}):t.jsx(ye,{variant:"primary",onClick:n,label:a,size:"small",style:{marginLeft:o.sp3}})]})}const yt=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  padding-right: ${o.sp0};
@@ -1,4 +1,4 @@
1
- import{V as r,aJ as D,F as c,aN as E,aV as b,I,aK as Z,aQ as j,o as H,ai as x}from"./index-CO_Updpp.js";import{S as m,a as t}from"./sentry-DdXOXL3j.js";import{c as V}from"./SummaryCard-DO09QLUp-DPmkfJxO.js";import{n as d}from"./mui-ByF8ZmHV.js";import{N as y}from"./NavigationArrow-rBOsZ92g-CvJ7c17R.js";import{k as S}from"./NavigationDots-CautbD-g-AEb3JA6J.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./ReloadCard-BMn_7fNI-DobUmKfH.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]="b872b9d2-1596-40a0-bfa8-4368a970c3a0",e._sentryDebugIdIdentifier="sentry-dbid-b872b9d2-1596-40a0-bfa8-4368a970c3a0")}catch{}})();const T=d.div`
1
+ import{V as r,aJ as D,F as c,aN as E,aV as b,I,aK as Z,aQ as j,o as H,ai as x}from"./index-DL_zrSsq.js";import{S as m,a as t}from"./sentry-DdXOXL3j.js";import{c as V}from"./SummaryCard-DO09QLUp-Cm1UBlTE.js";import{n as d}from"./mui-ByF8ZmHV.js";import{N as y}from"./NavigationArrow-rBOsZ92g-fpwJrM5H.js";import{k as S}from"./NavigationDots-CautbD-g-BZ85pLrg.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./ReloadCard-BMn_7fNI-yFHo4tad.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]="b872b9d2-1596-40a0-bfa8-4368a970c3a0",e._sentryDebugIdIdentifier="sentry-dbid-b872b9d2-1596-40a0-bfa8-4368a970c3a0")}catch{}})();const T=d.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: column;