@zeniai/web-cockpit-ui 1.15.11-dev → 1.15.11-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 (217) hide show
  1. package/dist/assets/{ACHDetailsPage-CR6ypd9o-CPuvu8Ya.js → ACHDetailsPage-CR6ypd9o-SFg4-c-T.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-C1OU9y7O-Cy2fQhSN.js → AIPerformancePage-C1OU9y7O-DMuQXTv-.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-CyJ0eFqc-oDTaIYye.js → AccountInfoPage-CyJ0eFqc-lvl-fC1Q.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CrSVf_Od-DxUVjtpH.js → AccountInfoPageContent-CrSVf_Od-BtvA7L-Z.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-DNU_J1FV-BrQt7SPM.js → AccountLockedInfoModal-DNU_J1FV-YA7gp2Il.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DghCIWni-WUADgsvH.js → AccountReconDetailsDrawerPage-DghCIWni-VyHPnas4.js} +1 -1
  7. package/dist/assets/{AccountRow-CYv0Uw-I-DQCZ-Htb.js → AccountRow-CYv0Uw-I-DqS_-vJ5.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BANu3wYt-CQ0iVQrx.js → AccountsPromoCardStack-BANu3wYt-D0wcQvfK.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-D1XOklKz-D41jak46.js → AddAddressForCardDrawer-D1XOklKz-AxY8_7va.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-C8keLYK6-Bn2sefuz.js → AddToWalletPage-C8keLYK6-D0YLnL4c.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-L84_Ka8x-B6lkNbiG.js → AgingReportsPage-L84_Ka8x-eOzMQBXT.js} +1 -1
  12. package/dist/assets/{AllUserItems-Duwm6ypi-CNUX4dOE.js → AllUserItems-Duwm6ypi-tETvgZhy.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-MH7SN7mP-D7GEtWSd.js → ApAgingDetailPage-MH7SN7mP-ByDXqOl1.js} +1 -1
  14. package/dist/assets/{AppBasePage-DpK4Drat-Bt4q9XbU.js → AppBasePage-DpK4Drat-BQFc4_RX.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-CR_WXwBz-CFNPiFQp.js → AppDrawerContent-CR_WXwBz-BqcIFLf4.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DD2E4NU5-DpHAD8Ti.js → ApprovalRulesSettingsPage-DD2E4NU5-CvrLusDc.js} +1 -1
  17. package/dist/assets/{ArAgingChart-q1DoAAzl-IMdyrhPv.js → ArAgingChart-q1DoAAzl-ChyChZzL.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BKqFTdkz-kMEm6GPZ.js → ArAgingDetailPage-BKqFTdkz-BI1br8iE.js} +1 -1
  19. package/dist/assets/{AttachmentView-CwbFyo5O-DSfNvuAU.js → AttachmentView-CwbFyo5O-HlqvxT1d.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DNYhcdas-Ddz8QKzl.js → BankAccountSection-DNYhcdas-BXzlbRsl.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-B6AIe7nT-BcHAPM_q.js → BankAccountWarningSection-B6AIe7nT-owl5fu4w.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BQSAz9yS-R3TufSTo.js → BankConnectionsSettingsPage-BQSAz9yS-BmUn0eMF.js} +1 -1
  23. package/dist/assets/{BillDetailPage-CJMkS2TO-CUCvdJLF.js → BillDetailPage-CJMkS2TO-BzJpWE2W.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CWCmHWbz-BO-G290w.js → BillPayApprovalRuleDetailPage-CWCmHWbz-CLsHGXPy.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-0_wlhyx9-CKOGyW5d.js → BillPayApprovalRulesPage-0_wlhyx9-CxMoNQW6.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CKOYCq5V-C6OfnMF1.js → BillPayPromoPage-CKOYCq5V-BTv5K1qw.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-Dibv-FD4-kIfalP85.js → BillPaySetUpPage-Dibv-FD4-Cl-2f4z3.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-CG9gklV0-CGGGPaut.js → BillingSettingsPage-CG9gklV0-Djv_nYoS.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-Cgof7dpG-BwYBq9-d.js → BillsBulkReviewDrawerPage-Cgof7dpG-2_-QHQ61.js} +1 -1
  30. package/dist/assets/{BoxItem-DD7d5_ky-D2d9aLr-.js → BoxItem-DD7d5_ky-DAc955db.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-KfKed7nf-Bzkiryv0.js → BusinessVerificationPage-KfKed7nf-lpaZxVAG.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-sE2DGwYG-B174guLL.js → CardNumberSubText-sE2DGwYG-C9LkYCp8.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-D1ejnH4R-BltiUdCI.js → CashbackDetailPage-D1ejnH4R-Bt3QeRBv.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-Cvs-BEKp-Bqa3oM5k.js → ChargeCardDetailPage-Cvs-BEKp-pKsbetO9.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-CW0WF8w6-DBIJI8Xw.js → ChargeCardListPage-CW0WF8w6-CnKTafp-.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-43l6tEOp-BbcKoGZ2.js → ChargeCardListTable-43l6tEOp-Jwl0f8i9.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-fpQhp74g-BLq-AFt8.js → ChargeCardPaymentHistoryPage-fpQhp74g-DLSoMgIe.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-D0np03A--Bpq9wCjH.js → ChargeCardPromoPage-D0np03A--Ce5l6uOJ.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-CFR2KfLW-Bj3pYNfL.js → ChargeCardSetupPage-CFR2KfLW-DRohzRVD.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-BMYUlzTk-CZ02SfTF.js → ChargeCardStatementsPage-BMYUlzTk-9GrzxT3K.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-BXWeeMR7-BYN5c48i.js → CheckDepositDrawerPage-BXWeeMR7-GnNalAkH.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CZJ_4MUf-TH_6P-Y_.js → CollapsableReportTable-CZJ_4MUf-BaEJNkF_.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-b2itwQOK-DbOlSBag.js → CompanyOfficerDetailsSection-b2itwQOK-de7MOYH6.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-C5C3AykH-DcHAKmoT.js → CompanyPassportCard-C5C3AykH-nuh8qA8m.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-D9zWgLlj-CWyCqrqW.js → CompanyPassportPage-D9zWgLlj-FT92NwHt.js} +1 -1
  46. package/dist/assets/{CompleteProfile-CMnTwbXr-DZqd8rFQ.js → CompleteProfile-CMnTwbXr-BKWxHI4F.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-BRie0bid-CKCgsLzT.js → ConfettiBurst-BRie0bid-DyeYvFIn.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-CthcMxEa-PQhPjSjB.js → CreateOrEditVendorPage-CthcMxEa-B_Vz2Jq8.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-LD349Ert-C4Wbd8yP.js → CreditCardPaymentDrawerPage-LD349Ert-DpmX4B_s.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-iXGB-cNy-BRjQHy5W.js → CurrencySelectField-iXGB-cNy-CFPGwgTp.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-BuZrVCRr-DQvZbF43.js → CustomerOnboardingActivationPage-BuZrVCRr-BPRHNMAu.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-DrNstqxI-DNQU9dbQ.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-L4WssPjU-BL2-a44j.js → CustomerOnboardingDetailPageSkeleton-L4WssPjU-jf67RORE.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-Bqv6vbYJ-B4xhs9JC.js → CustomerOnboardingNoStepsPage-Bqv6vbYJ-8Os4uWxs.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingPage-D7YVlzdy-GqcXPa-d.js → CustomerOnboardingPage-D7YVlzdy-C6NRwtIL.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-DLzC-lxj-pVKJNYgp.js → CustomerOnboardingProductSuitePage-DLzC-lxj-B8YE23uD.js} +1 -1
  57. package/dist/assets/{Dashboard-BgpeTLE--ZF2wZzkh.js → Dashboard-BgpeTLE--CzFmRBRv.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-DJtJdsj5-D0j90p2O.js → DashboardReportPage-DJtJdsj5-CTCD22k0.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-CL6vWi6p-DaXPDfmE.js → DashboardSidebarBackgroundAnimation-CL6vWi6p-BGAzUN0-.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-B8Kledeo-BlVCqg6w.js → DepositAccTransactionItem-B8Kledeo-DVIUyWhK.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-DYBIAd7n-gVv7-TK3.js → DepositAccTransactionListPage-DYBIAd7n-L_CbaAkO.js} +1 -1
  62. package/dist/assets/{DomesticWireDetailsPage-Bm-bfxSa-rYZYhMWI.js → DomesticWireDetailsPage-Bm-bfxSa-obKoPHRS.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-CAfyh0W2-BJk2KPOA.js → DownloadOverlay-CAfyh0W2-DQm7gdrs.js} +1 -1
  64. package/dist/assets/{DrawerPage-DUeVKq0Q-DB8bkP9s.js → DrawerPage-DUeVKq0Q-Xp2XIZhy.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-dVrpOcc1-DgbweCi9.js → EditPeoplePage-dVrpOcc1-DxgCOTmA.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-xWwm-k8T-Hs0cdO6C.js → EditReimbursementDetailPage-xWwm-k8T-D6GqmMTB.js} +1 -1
  67. package/dist/assets/{EntityDetailPage-Cpdbw3XR-C8k1xBJc.js → EntityDetailPage-Cpdbw3XR-DCc4ciXU.js} +1 -1
  68. package/dist/assets/{EntitySummarySection-CTU-YsQl-CSwZth_c.js → EntitySummarySection-CTU-YsQl-CBIpBGDD.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-DCbcWM84-DHrtqP9f.js → ExpenseAutomationOverviewPage-DCbcWM84-BNyObtnS.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-DbFQ6EeA-C0i_UBmZ.js → ExpenseAutomationPage-DbFQ6EeA-IArJlID_.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-DMLKT4Nf-6YIrNvk0.js → ExpressPayPage-DMLKT4Nf-B7D2RSfz.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-DFsZRRmZ-KGYTIegX.js → FeaturePreviewPage-DFsZRRmZ-BxbYZ19K.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-DkBj9-hs-mJdSbXed.js → FollowStepsSection-DkBj9-hs-DutpVuyM.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-D1fbfssG-CByDE9EN.js → GlobalReviewListPage-D1fbfssG-UUAT_TWw.js} +1 -1
  75. package/dist/assets/{InformationCardStack-CBsOTiOc-CgAe3fDD.js → InformationCardStack-CBsOTiOc-cl7dFnWc.js} +1 -1
  76. package/dist/assets/{InsightsCardStack-BEpCIgoE-Bd7MJjyH.js → InsightsCardStack-BEpCIgoE-DwXRec_Y.js} +1 -1
  77. package/dist/assets/{InsightsSection-DcKb1p5B-QoDxUPcZ.js → InsightsSection-DcKb1p5B-dkp9HPKw.js} +1 -1
  78. package/dist/assets/{IntegrationsSettingsPage-CMEV5P0b-3g_v4D8X.js → IntegrationsSettingsPage-CMEV5P0b-sqilPbaF.js} +1 -1
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-Bukfo0LC-DGIPKWPe.js → InternationalWireSwiftDetailsPage-Bukfo0LC-BjrAM1ki.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-nZvCemaM-DntrzxyD.js → InternationalWireVerificationPage-nZvCemaM-B5XgQ6sw.js} +1 -1
  81. package/dist/assets/{InviteFormPage-BpgeFttq-BbrTw2ZL.js → InviteFormPage-BpgeFttq-BAtnGOt_.js} +1 -1
  82. package/dist/assets/{InvitePageListView-B6wJomGk-pTRfOIaC.js → InvitePageListView-B6wJomGk-DhndXK39.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-BArRXjlz-BHQlwXvg.js → InvitePeoplePage-BArRXjlz-e4TNJUZI.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-CTqSftrm-CyVrgEkl.js → InvoiceUploadSection-CTqSftrm-DyMpyaVc.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-DYG5IXrC-D-2m3p9R.js → IssueChargeCardPage-DYG5IXrC-BiX1MFXI.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-D09c5wJR-784mespz.js → LabeledAddressValue-D09c5wJR-SwwlfZfN.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-Cac2YPpN-Ba7qdzlE.js → LabeledAddressValueField-Cac2YPpN-BtBBHBjA.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField--EmdYCME-BUoRkObt.js → LabeledControlledCheckBoxField--EmdYCME-_kE_mCY3.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-DdqOGBwp-DSHkYk9h.js → LabeledCountryMultiSelectField-DdqOGBwp-CLnn3snt.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-K0xUavli-THytCXMe.js → LabeledCreatableSingleSelectField-K0xUavli-C-Rpq08j.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField--JZn0qDn-Ck_rkdmF.js → LabeledDocumentField--JZn0qDn-BfsHm00S.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-Dms9ziRv-CJQkVxrk.js → LabeledDropDownFormattedTextField-Dms9ziRv-D2k0zfGZ.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-X5GGPnfG-0qUfOlj0.js → LabeledMultiSelectField-X5GGPnfG-Cnt5VjlF.js} +1 -1
  94. package/dist/assets/{LabeledText-BJrI_PVT-oE-g3K8U.js → LabeledText-BJrI_PVT-Cnhcrbyr.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BmMN3W3F-BzPJ9P_-.js → LabeledUserSingleSelectWithSubtitlesField-BmMN3W3F-CzuOqnJx.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-PsaKyCCY-EbSrXIJy.js → LabeledZeniRolesDropDownField-PsaKyCCY-BpbPhmMd.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-BDIpw0zn-B_cGLw9N.js → LinkJETransactionPage-BDIpw0zn-CywKt_5n.js} +1 -1
  98. package/dist/assets/{LockCardPage-ChGk6VJX-BzQI96FY.js → LockCardPage-ChGk6VJX-BTga-XUd.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-Bv3kKmAV-DSB2Ymlf.js → LowBalancePopup-Bv3kKmAV-LQ3kNp3e.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-D4Vmz8ms-ItRZ63_N.js → MagicLinkACHDetailsPage-D4Vmz8ms-Boroqvnn.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-B7C30ROh-C843OBvj.js → MagicLinkDomesticWireDetailsPage-B7C30ROh-C0PjXshS.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DVFrpmvm-COXfeIQs.js → MagicLinkInternationalWireDetailsPage-DVFrpmvm-BmFczR-g.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-ySlQc8oV-BspPWH9Z.js → MagicLinkSuccessPage-ySlQc8oV-B4jW0ziH.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-C_OYT1do-NbVFRCAZ.js → MagicLinkTitleSection-C_OYT1do-BEHk0Loc.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-CTPCXpZR-Dv3Iye8Q.js → MailingDetailsSection-CTPCXpZR-CaBLvE7x.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CxaXh1Aj-CwKK_h51.js → MyBankConnectionsSettingsPage-CxaXh1Aj-tCBH8QSt.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-B9mNbLDd-Db1Atl2l.js → MyPendingActivationChargeCardListPage-B9mNbLDd-BcPvoZBP.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-DDERIXlZ-CjalvgMv.js → MyProfileSettingsPage-DDERIXlZ-CqPqL_VO.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-BJ_8PHPv-B6R9nMuM.js → NavBarWithPicker-BJ_8PHPv-CYqH7t3l.js} +1 -1
  110. package/dist/assets/{NavigationArrow-9HOMBxoh-CWFuMeOE.js → NavigationArrow-9HOMBxoh-CW9vEk6t.js} +1 -1
  111. package/dist/assets/{NavigationDots-DPf5iy8f-DNlf5jCf.js → NavigationDots-DPf5iy8f-_rLqbL9I.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-1MfUlwkA-Dx3DZ-ZO.js → NewGlobalMerchantPage-1MfUlwkA-CUEkYiKb.js} +1 -1
  113. package/dist/assets/{NoDataChart-CDHiYyiO-DHWgty-U.js → NoDataChart-CDHiYyiO-Cvyp8P2g.js} +1 -1
  114. package/dist/assets/{NoDataTable-BoAJZxdS-ClNYPP1-.js → NoDataTable-BoAJZxdS--s0sFyd9.js} +1 -1
  115. package/dist/assets/{NotFoundPage-C-EoeDss-DqOvJ6YN.js → NotFoundPage-C-EoeDss-Cuk5hWE9.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-BfFNx-vu-Byo7BJZr.js → NotificationSettingsPage-BfFNx-vu-DppBTugR.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-CBQwRqMo-DVBdjTys.js → NotificationsListConfig-CBQwRqMo-ChmYnLxa.js} +1 -1
  118. package/dist/assets/{NotificationsPage-BPfRskWZ-_QOFXGgt.js → NotificationsPage-BPfRskWZ-lKWyVewy.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-BLI8h8LP-PGQ9bnDo.js → OpExByVendorPage-BLI8h8LP-CfIu_zZF.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-IDTUbuAC-B16J5Isr.js → OverlayContainerPage-IDTUbuAC-DCvrfa2U.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-DvT1WQdL-CPylI6Uc.js → PandLWithForecastPage-DvT1WQdL-DnarxddY.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CyfKYJV3-CnunCi1o.js → PaymentAccountSetupBillingAddressSection-CyfKYJV3-xmUGg1ra.js} +1 -1
  123. package/dist/assets/{PeoplePage-BHfn-oLF-CGOapKvG.js → PeoplePage-BHfn-oLF-DNvAgQ-n.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-ChWN6HhX-DEhcI5NW.js → ProductsCarousel-ChWN6HhX-DsGah8Gp.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-BWpqciJW-DEw7mp3r.js → PromoBaseCards-BWpqciJW-BStDO3ET.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-D9wVm2ga-jv2cIUQM.js → QBOConnectionDialog-D9wVm2ga-DvKlvw98.js} +1 -1
  127. package/dist/assets/{QBOSetupSection-CR7JQ_H9-CokKwnfI.js → QBOSetupSection-CR7JQ_H9-Cq54EDWW.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-RTvnT_vl-D0AOYl_B.js → ReimbursementApprovalRuleDetailPage-RTvnT_vl-DEBYsOpg.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRulesPage-Dbs4lLSo-5JjLiWWQ.js → ReimbursementApprovalRulesPage-Dbs4lLSo-CXg9zGAp.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-COF-QqKR-BLj9_Zcn.js → ReimbursementDetailPage-COF-QqKR-sEjS9_VB.js} +1 -1
  131. package/dist/assets/{ReimbursementPromoPage-DSHynwPv-CMfUTDoh.js → ReimbursementPromoPage-DSHynwPv-BM64f6yo.js} +1 -1
  132. package/dist/assets/{ReimbursementSetUpPage-CafAtAVr-BdH5_Uu6.js → ReimbursementSetUpPage-CafAtAVr-CA0M_0eq.js} +1 -1
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cz8keUEO-C42JglzT.js → ReimbursementsBulkReviewDrawerPage-Cz8keUEO-kOg5mlog.js} +1 -1
  134. package/dist/assets/{ReloadCard-Bf1jxC4B-CjPHohhm.js → ReloadCard-Bf1jxC4B-CXn0QhEZ.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-DOQm7O9r-DcS436ql.js → ReportTableViewSelector-DOQm7O9r-LKdsO3v0.js} +1 -1
  136. package/dist/assets/{ReportsPage-Deg59aYB-VaMTaqOC.js → ReportsPage-Deg59aYB-CaDE1LpS.js} +1 -1
  137. package/dist/assets/{RevenueChart-C1RR_51e-Bn1LRvSc.js → RevenueChart-C1RR_51e-BWmAb7vV.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-D3bqGZYb-DmpMCAqo.js → ReviewDetailsPage-D3bqGZYb-DtlVBISM.js} +1 -1
  139. package/dist/assets/{ReviewOverlay-CKB9LulM-CUNk2W-s.js → ReviewOverlay-CKB9LulM-7lIRnR_r.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-BGlbeXtJ-BQ5iinOT.js → RoleWithToolTip-BGlbeXtJ-B7q-3hiX.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-D4OkyPNa-6prKuM88.js → ScheduleDetailsFixedAssetsPage-D4OkyPNa-B5XFgJ9H.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsPage-9oUScaFD-Czq02-r0.js → ScheduleDetailsPage-9oUScaFD-BeYTMoGD.js} +1 -1
  143. package/dist/assets/{ScheduleSequenceTable-CuOC0Niz-BzAvMkBB.js → ScheduleSequenceTable-CuOC0Niz-C45dauFH.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-DhG0rKVC.js → ScreenRoutes-Bj3432Vy.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-CK2Ibij3-DvyPJ8FZ.js → SetUpAccountSection-CK2Ibij3-B5KyAZQj.js} +1 -1
  146. package/dist/assets/{SignIn-CLLS0cqt-G1jKv-f1.js → SignIn-CLLS0cqt-BzSU4GBS.js} +1 -1
  147. package/dist/assets/{SignInScreen-BdhVUUiU.js → SignInScreen-BZU7MmJK.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-C1hg05PB-BMXGChah.js → SpendManagementListViewPage-C1hg05PB-BWgBv3z5.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-7uggjzlM-BBdEOhcD.js → SpendManagementPerTabPage-7uggjzlM-C3NN3wdS.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-DFiL_yNI-ca-vlRub.js → SpendManagementSection-DFiL_yNI-6NFAIwIG.js} +1 -1
  151. package/dist/assets/{StatementItem-CdytKcBE-CavJc8fo.js → StatementItem-CdytKcBE-BqUj-uoo.js} +1 -1
  152. package/dist/assets/{StatementsPage-DU32IYXF-Dj_pMhMm.js → StatementsPage-DU32IYXF-BVV6blsk.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-DPzwQ_o1-DkaIBc47.js → StatusSwitcher-DPzwQ_o1-B1pxRbjL.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-Dztt2rN9-DqHo5u0Z.js → SubTabSwitcher-Dztt2rN9-B1NCUiGr.js} +1 -1
  155. package/dist/assets/{SummaryCard-D3ev0zFr-CHfcyxTY.js → SummaryCard-D3ev0zFr-B8E6EZU6.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-BRAt26fv-om-zuIgh.js → TaskManagementPage-BRAt26fv-9SrROSct.js} +1 -1
  157. package/dist/assets/{TimeRangeSwitcher-DMCbeOcI-C4mgjK4U.js → TimeRangeSwitcher-DMCbeOcI-nGya8if8.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-YCgPbEnk-CJUz-kg1.js → TimeframeSwitcher-YCgPbEnk-CkpNlG9b.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-BBJP1nmh-D1jTbV4O.js → TimeframeSwitcherWithToggle-BBJP1nmh-BonCCusI.js} +1 -1
  160. package/dist/assets/{TopExCard-LesAF7Ot-CWhGtv9n.js → TopExCard-LesAF7Ot-BT8iqen2.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-BTG2W95T-CAgJv3QR.js → TopExDetailPage-BTG2W95T--ZICkjcX.js} +1 -1
  162. package/dist/assets/{TransactionDetailPage-BqHVfK2K-CBoMen48.js → TransactionDetailPage-BqHVfK2K-eMzW4yEv.js} +1 -1
  163. package/dist/assets/{TransactionList-CGmpQyNM-BGohJsUE.js → TransactionList-CGmpQyNM-DeYBo2dy.js} +1 -1
  164. package/dist/assets/{TransactionListBig-CSYpIxGa-Bd2xJZzC.js → TransactionListBig-CSYpIxGa-B18dXLSN.js} +1 -1
  165. package/dist/assets/{TransactionListPage-CV5U_pA6-DsUhS_R3.js → TransactionListPage-CV5U_pA6-COzlkyAB.js} +1 -1
  166. package/dist/assets/{TransactionVendorDetailPage-DvqHmq7y-C8mjIShR.js → TransactionVendorDetailPage-DvqHmq7y-d5vkc-bW.js} +1 -1
  167. package/dist/assets/{TransferDrawerPage-Cm5reG35-B5qd6-NU.js → TransferDrawerPage-Cm5reG35-TbqV-aer.js} +1 -1
  168. package/dist/assets/{TreasuryOverviewPage-CwcehiRb-BBfaI9Ls.js → TreasuryOverviewPage-CwcehiRb-dKdOhr9I.js} +1 -1
  169. package/dist/assets/{TreasuryPromoPage-BagqhZgO-BswlnynL.js → TreasuryPromoPage-BagqhZgO-n50P1WUt.js} +1 -1
  170. package/dist/assets/{TreasuryStatementsPage-o-ID2nvn-DTg8AAgQ.js → TreasuryStatementsPage-o-ID2nvn-DAz8XlnY.js} +1 -1
  171. package/dist/assets/{TreasuryTaxLetterPage-D9f3ohGF-DEP20r26.js → TreasuryTaxLetterPage-D9f3ohGF-B5q8UwPj.js} +1 -1
  172. package/dist/assets/{TrendChart-CqxpheW7-DiPHNgeC.js → TrendChart-CqxpheW7-DKIa35tO.js} +1 -1
  173. package/dist/assets/{TrendWithTransactions-CK_je__x-C1Qk91i9.js → TrendWithTransactions-CK_je__x-C4dydqYV.js} +1 -1
  174. package/dist/assets/{UncategorizedAccountsMappingPage-BBYQFJxE-nEmuJTEW.js → UncategorizedAccountsMappingPage-BBYQFJxE-CkC9TzJ8.js} +1 -1
  175. package/dist/assets/{UnitIntegrationPage-ULhazfl5-DPlYAGvC.js → UnitIntegrationPage-ULhazfl5-CrSwEMQU.js} +1 -1
  176. package/dist/assets/{UploadAdditionalDocumentOverlay-BPNLdaLG-DQNAWd7N.js → UploadAdditionalDocumentOverlay-BPNLdaLG-CAOLdp3G.js} +1 -1
  177. package/dist/assets/{Vendor2FAPopup-C3Z-3poJ-Cxx265s1.js → Vendor2FAPopup-C3Z-3poJ-CX1Ei5qy.js} +1 -1
  178. package/dist/assets/{VendorACHDetailsPage-DnB2b-v_-C755XLlO.js → VendorACHDetailsPage-DnB2b-v_-DAV4OvdT.js} +1 -1
  179. package/dist/assets/{VendorDetailPage-DPiVnh93-CAOlBr9d.js → VendorDetailPage-DPiVnh93-BQzg7dQw.js} +1 -1
  180. package/dist/assets/{VendorDomesticWireDetailsPage-BbfatdWd-DhsLa-3A.js → VendorDomesticWireDetailsPage-BbfatdWd-D7hiHVQt.js} +1 -1
  181. package/dist/assets/{VendorFiling1099EditablePage-CFrvW8qi-C-v6Mx4-.js → VendorFiling1099EditablePage-CFrvW8qi-CWtIKPLp.js} +1 -1
  182. package/dist/assets/{VendorFirstReviewPage-CRLGuw2s-wfeT2fAg.js → VendorFirstReviewPage-CRLGuw2s-B0-1tEwc.js} +1 -1
  183. package/dist/assets/{VendorInternationalWireDetailsPage-CV11lzdw-BWhlaMax.js → VendorInternationalWireDetailsPage-CV11lzdw-dqBIr_7K.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-D3asjWH_-BXIinpkC.js → VendorInternationalWireSwiftDetailsPage-D3asjWH_-DCYu9Mof.js} +1 -1
  185. package/dist/assets/{VendorsAccountsSection-vd0V4UXY-BNPavepY.js → VendorsAccountsSection-vd0V4UXY-tXk1Gfok.js} +1 -1
  186. package/dist/assets/{VerifyDevice-DbyjJVTH-_0YHPiw6.js → VerifyDevice-DbyjJVTH-DSbqV-wu.js} +1 -1
  187. package/dist/assets/{VideoPlayer-CoI7aj8a-B3tmTxCF.js → VideoPlayer-CoI7aj8a-CBq5NFaj.js} +1 -1
  188. package/dist/assets/{VideoPopup-Bp7fCV1r-BulLqsQx.js → VideoPopup-Bp7fCV1r-BxGj2xiK.js} +1 -1
  189. package/dist/assets/{WarningsDrawerPage-jMslD0FX-CrUmOPLP.js → WarningsDrawerPage-jMslD0FX-DqmoEx0_.js} +1 -1
  190. package/dist/assets/{ZeniAccountDetailPage-C1Vq8cMd-BzjwyTwn.js → ZeniAccountDetailPage-C1Vq8cMd-DL2Jvxh-.js} +1 -1
  191. package/dist/assets/{ZeniAccountListViewPage-BNTb04x5-DcvhdCN4.js → ZeniAccountListViewPage-BNTb04x5-CsUjAzqv.js} +1 -1
  192. package/dist/assets/{ZeniAccountNavBarPieces-ByYrxg3x-w6kmpmKh.js → ZeniAccountNavBarPieces-ByYrxg3x-D4pGaQGS.js} +1 -1
  193. package/dist/assets/{ZeniAccountPromoPage-BCkk0NbR-juw5u7mQ.js → ZeniAccountPromoPage-BCkk0NbR-Cc7lLv6u.js} +1 -1
  194. package/dist/assets/{ZeniAccountSetupPage-ClZTjZhF-C_sOqJTM.js → ZeniAccountSetupPage-ClZTjZhF-dspEqIxd.js} +1 -1
  195. package/dist/assets/{ZeniCopyright-C8wXM9Gr-qMGnv8al.js → ZeniCopyright-C8wXM9Gr-D64n6Cd2.js} +1 -1
  196. package/dist/assets/{ZeniTransferAmountSlider-NAR_1h8K-DARDrTsk.js → ZeniTransferAmountSlider-NAR_1h8K-BAHBYUdF.js} +1 -1
  197. package/dist/assets/{analyticsHelper-BRPQgKH6.js → analyticsHelper-Bf4wtDnF.js} +1 -1
  198. package/dist/assets/{analyticsHelper-DjynPp_X-s29on7ka.js → analyticsHelper-DjynPp_X-Dvz518-_.js} +1 -1
  199. package/dist/assets/{chartTypes-CXNoxZp_-CJ_wyUtd.js → chartTypes-CXNoxZp_-Cu6v-VwM.js} +1 -1
  200. package/dist/assets/{commonDimensions-i9Qxk1O2-XYIUogON.js → commonDimensions-i9Qxk1O2-BGeHxXny.js} +1 -1
  201. package/dist/assets/{commonTypes-CcEHeA3z-sEqnsPbS.js → commonTypes-CcEHeA3z-D3erot3w.js} +1 -1
  202. package/dist/assets/{detailCommon-DVTOw71--Wk0Evzej.js → detailCommon-DVTOw71--GcYOMQVW.js} +1 -1
  203. package/dist/assets/{downloadPdf-1-N8Pf0G-CMW67koi.js → downloadPdf-1-N8Pf0G-DBsge8qy.js} +1 -1
  204. package/dist/assets/{index-DVgY55Ab.js → index-B1Bt1IRt.js} +5 -5
  205. package/dist/assets/{mapLoadingInProgressToTreeNode-UA-QQZJo-DsDuha6V.js → mapLoadingInProgressToTreeNode-UA-QQZJo-Dm-iOdH1.js} +1 -1
  206. package/dist/assets/{mapSectionWithAcOnlyToTreeNode--y3nO5uZ-DP42yTzT.js → mapSectionWithAcOnlyToTreeNode--y3nO5uZ-CRiy-M7l.js} +1 -1
  207. package/dist/assets/{mapSpacerToTreeNode-BOG_274U-C0W1M9EX.js → mapSpacerToTreeNode-BOG_274U-B57zDIT0.js} +1 -1
  208. package/dist/assets/{mapTimeframeBalancesToTreeNode-Btd_0ZvL-CEgQnhXV.js → mapTimeframeBalancesToTreeNode-Btd_0ZvL-7awrYe81.js} +1 -1
  209. package/dist/assets/{mapTimeframeBalancesToTreeNode-LWHXAvJU-B42MwYQ_.js → mapTimeframeBalancesToTreeNode-LWHXAvJU-DtVqwMOk.js} +1 -1
  210. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-aD-96xtj-BAIV3Qln.js → mapTimeframeHeaderLoadingInProgressToTreeNode-aD-96xtj-C0_zrT5H.js} +1 -1
  211. package/dist/assets/{toCOABalancesWithID-C_7wlYeT-C3P4q5bp.js → toCOABalancesWithID-C_7wlYeT-FI84UOqV.js} +1 -1
  212. package/dist/assets/{toChartData-Dv-QcYgv-C4sd-ifC.js → toChartData-Dv-QcYgv-DSE0QTZ7.js} +1 -1
  213. package/dist/assets/{uploadAttachment-DSmux1Yp-Dl4ms4pR.js → uploadAttachment-DSmux1Yp-BOdQNanh.js} +1 -1
  214. package/dist/assets/{uploadReceipts-DJRtId-4-CHJq-raT.js → uploadReceipts-DJRtId-4-BOBtRP4Y.js} +1 -1
  215. package/dist/index.html +1 -1
  216. package/package.json +1 -1
  217. package/dist/assets/CustomerOnboardingContainerPage-DrNstqxI-DBMIRSp3.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a8 as se,V as o,fv as Ce,Q as be,g as Pe,a9 as we,aQ as xe,cE as ke,bB as Ie,o as i,aP as Ae,ac as $e,aR as ve,bn as Oe,hK as Ve,F as Te,eX as je,eY as oe,af as Le,y as Q,al as ze,u as A}from"./index-DVgY55Ab.js";import{n as c}from"./mui-CR-wYMmN.js";import{a as $}from"./sentry-DMXY90dB.js";import{r as Be,t as Ee}from"./PaymentAccountSetupBillingAddressSection-CyfKYJV3-CnunCi1o.js";import{f as Ue}from"./CustomerOnboardingDetailPageSkeleton-L4WssPjU-BL2-a44j.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./commonTypes-CcEHeA3z-sEqnsPbS.js";import"./SetUpAccountSection-CK2Ibij3-DvyPJ8FZ.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]="d0abedd3-d690-48bc-a34c-aa3771512459",e._sentryDebugIdIdentifier="sentry-dbid-d0abedd3-d690-48bc-a34c-aa3771512459")}catch{}})();const J="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",X={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q(A[3],A[3]),subTitlePaddingBottom:new Q(A[3],A[3])},_e=e=>`${e}_form`,De=Te.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:O,googleAPIKey:V,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:z,updateCardPaymentModalState:P,handleAddCardPaymentSource:B,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:w,onUpdateCustomerView:_,...D})=>{const m=be(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:F,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=D,W=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:Y,uiState:le,allNationalityCountries:q,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:Z}=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)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,q]);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(Y).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(J);t&&a&&(ye(),j("link_payment_account"),_(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,q,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Fe,{children:[o.jsxs(Re,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.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(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:_e(ie),children:o.jsxs(Me,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Be,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:Y,subscriptionBillingAddressSectionId:n,sectionId:J,analytics:h,isValid:ne(),onFetchLinkTokenClick:F,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionSuccess:N,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(Oe,{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:Z.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:z,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:B,cardPaymentView:p,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:U,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Fe=c.div`
1
+ import{a8 as se,V as o,fv as Ce,Q as be,g as Pe,a9 as we,aQ as xe,cE as ke,bB as Ie,o as i,aP as Ae,ac as $e,aR as ve,bn as Oe,hK as Ve,F as Te,eX as je,eY as oe,af as Le,y as Q,al as ze,u as A}from"./index-B1Bt1IRt.js";import{n as c}from"./mui-CR-wYMmN.js";import{a as $}from"./sentry-DMXY90dB.js";import{r as Be,t as Ee}from"./PaymentAccountSetupBillingAddressSection-CyfKYJV3-xmUGg1ra.js";import{f as Ue}from"./CustomerOnboardingDetailPageSkeleton-L4WssPjU-jf67RORE.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./commonTypes-CcEHeA3z-D3erot3w.js";import"./SetUpAccountSection-CK2Ibij3-B5KyAZQj.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]="d0abedd3-d690-48bc-a34c-aa3771512459",e._sentryDebugIdIdentifier="sentry-dbid-d0abedd3-d690-48bc-a34c-aa3771512459")}catch{}})();const J="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",X={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q(A[3],A[3]),subTitlePaddingBottom:new Q(A[3],A[3])},_e=e=>`${e}_form`,De=Te.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:O,googleAPIKey:V,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:z,updateCardPaymentModalState:P,handleAddCardPaymentSource:B,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:w,onUpdateCustomerView:_,...D})=>{const m=be(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:F,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=D,W=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:Y,uiState:le,allNationalityCountries:q,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:Z}=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)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,q]);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(Y).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(J);t&&a&&(ye(),j("link_payment_account"),_(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,q,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Fe,{children:[o.jsxs(Re,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.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(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:_e(ie),children:o.jsxs(Me,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Be,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:Y,subscriptionBillingAddressSectionId:n,sectionId:J,analytics:h,isValid:ne(),onFetchLinkTokenClick:F,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionSuccess:N,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(Oe,{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:Z.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:z,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:B,cardPaymentView:p,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:U,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Fe=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,fv as tn,Q as Me,g as nn,a9 as an,cE as me,aQ as Qe,G as ft,aD as Ke,bB as on,o as re,ac as sn,u as W,aR as rn,hK as ln,g9 as cn,fw as yt,eX as Ot,F as Ye,eY as gt,y as fe,gd as ye,cI as dn,al as pn,hL as ht,ad as St,cS as un,gb as mn}from"./index-DVgY55Ab.js";import{a as m}from"./sentry-DMXY90dB.js";import{n as P,k as xt}from"./mui-CR-wYMmN.js";import{bi as j}from"./zeni-epic-state-BXMuLX_S.js";import{r as Ct,t as fn}from"./PaymentAccountSetupBillingAddressSection-CyfKYJV3-CnunCi1o.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-L4WssPjU-BL2-a44j.js";import{z as gn,n as hn}from"./CompanyOfficerDetailsSection-b2itwQOK-DbOlSBag.js";import{t as Sn}from"./QBOSetupSection-CR7JQ_H9-CokKwnfI.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./commonTypes-CcEHeA3z-sEqnsPbS.js";import"./SetUpAccountSection-CK2Ibij3-DvyPJ8FZ.js";import"./LabeledAddressValueField-Cac2YPpN-Ba7qdzlE.js";import"./LabeledCountryMultiSelectField-DdqOGBwp-DSHkYk9h.js";import"./LabeledCreatableSingleSelectField-K0xUavli-THytCXMe.js";import"./LabeledDocumentField--JZn0qDn-Ck_rkdmF.js";import"./LabeledMultiSelectField-X5GGPnfG-0qUfOlj0.js";import"./QBOConnectionDialog-D9wVm2ga-jv2cIUQM.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]="e76905f9-1ed1-42f6-b405-e6fa044eaf85",n._sentryDebugIdIdentifier="sentry-dbid-e76905f9-1ed1-42f6-b405-e6fa044eaf85")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:v,verifiedPhoneNumber:O,onPhoneVerified:h,...x})=>{const y=Me(),A=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:N}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:r,sectionHeader:N,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...x})})},bn=P.div`
1
+ import{V as l,fv as tn,Q as Me,g as nn,a9 as an,cE as me,aQ as Qe,G as ft,aD as Ke,bB as on,o as re,ac as sn,u as W,aR as rn,hK as ln,g9 as cn,fw as yt,eX as Ot,F as Ye,eY as gt,y as fe,gd as ye,cI as dn,al as pn,hL as ht,ad as St,cS as un,gb as mn}from"./index-B1Bt1IRt.js";import{a as m}from"./sentry-DMXY90dB.js";import{n as P,k as xt}from"./mui-CR-wYMmN.js";import{bi as j}from"./zeni-epic-state-BXMuLX_S.js";import{r as Ct,t as fn}from"./PaymentAccountSetupBillingAddressSection-CyfKYJV3-xmUGg1ra.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-L4WssPjU-jf67RORE.js";import{z as gn,n as hn}from"./CompanyOfficerDetailsSection-b2itwQOK-de7MOYH6.js";import{t as Sn}from"./QBOSetupSection-CR7JQ_H9-Cq54EDWW.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./commonTypes-CcEHeA3z-D3erot3w.js";import"./SetUpAccountSection-CK2Ibij3-B5KyAZQj.js";import"./LabeledAddressValueField-Cac2YPpN-BtBBHBjA.js";import"./LabeledCountryMultiSelectField-DdqOGBwp-CLnn3snt.js";import"./LabeledCreatableSingleSelectField-K0xUavli-C-Rpq08j.js";import"./LabeledDocumentField--JZn0qDn-BfsHm00S.js";import"./LabeledMultiSelectField-X5GGPnfG-Cnt5VjlF.js";import"./QBOConnectionDialog-D9wVm2ga-DvKlvw98.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]="e76905f9-1ed1-42f6-b405-e6fa044eaf85",n._sentryDebugIdIdentifier="sentry-dbid-e76905f9-1ed1-42f6-b405-e6fa044eaf85")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:v,verifiedPhoneNumber:O,onPhoneVerified:h,...x})=>{const y=Me(),A=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:N}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:r,sectionHeader:N,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...x})})},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 D,a8 as I,aw as M,g as _,V as e,bB as U,o as t,aP as k,bn as W,fv as V,F as A,al as H,af as R,p as l,b as C,ag as N,f as J,M as Z,aq as q,a$ as Q}from"./index-DVgY55Ab.js";import{a as n}from"./sentry-DMXY90dB.js";import{n as o}from"./mui-CR-wYMmN.js";import{FT as G}from"./zeni-epic-state-BXMuLX_S.js";import K from"./ConfettiBurst-BRie0bid-CKCgsLzT.js";import{T as X}from"./ProductsCarousel-ChWN6HhX-DEhcI5NW.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="146e7275-3001-4581-9163-38d24aa65579",i._sentryDebugIdIdentifier="sentry-dbid-146e7275-3001-4581-9163-38d24aa65579")}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=A.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=D(),f=I().analytics,w=M(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,B=_(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=F;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]},O=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,G(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:B.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":k("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:x?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(ke,{}),e.jsx(be,{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(b,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(b,{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:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},te=o.div`
1
+ import{Q as D,a8 as I,aw as M,g as _,V as e,bB as U,o as t,aP as k,bn as W,fv as V,F as A,al as H,af as R,p as l,b as C,ag as N,f as J,M as Z,aq as q,a$ as Q}from"./index-B1Bt1IRt.js";import{a as n}from"./sentry-DMXY90dB.js";import{n as o}from"./mui-CR-wYMmN.js";import{FT as G}from"./zeni-epic-state-BXMuLX_S.js";import K from"./ConfettiBurst-BRie0bid-DyeYvFIn.js";import{T as X}from"./ProductsCarousel-ChWN6HhX-DsGah8Gp.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="146e7275-3001-4581-9163-38d24aa65579",i._sentryDebugIdIdentifier="sentry-dbid-146e7275-3001-4581-9163-38d24aa65579")}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=A.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=D(),f=I().analytics,w=M(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,B=_(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=F;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]},O=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,G(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:B.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":k("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:x?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(ke,{}),e.jsx(be,{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(b,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(b,{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:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},te=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{av as FA,aw as Ee,V as e,ax as Yt,F as Q,ay as Ht,az as Kt,o,aA as Nt,G as LA,p as u,aB as Gt,aC as zt,aD as Wt,aE as Be,aF as qt,aG as Xt,aH as Vt,aI as Zt,aJ as $t,aK as _t,aL as P,Q as eA,aM as N,aN as Y,aO as X,aP as D,a9 as Ar,aQ as Ke,x as Ne,ac as er,aR as tr,y as AA,aS as G,aT as tA,am as rA,aU as Ge,aV as J,aW as U,aX as qA,ao as rr,g as nA,aY as or,aZ as ar,a_ as ir,a$ as gr,ai as F,b0 as JA,u as S,aq as XA,al as PA,b1 as ze,b2 as We,b3 as qe,b4 as nr,b5 as VA,a as Cr,d as sr,b6 as Er,b7 as Xe,b8 as dr,b9 as Br,ba as ZA,bb as lr,bc as Qr,bd as Ir,be as cr,T as Ve,b as hr,bf as pr,e as mr,bg as Ze,bh as $e,an as ur,bi as xr,ag as fr,as as _e}from"./index-DVgY55Ab.js";import{a as t,P as k}from"./sentry-DMXY90dB.js";import{n as g,a as wr,c as xA,k as R}from"./mui-CR-wYMmN.js";import{L as kr}from"./lottie-BIQaRIZs.js";import{bg as Dr,bh as At,EL as et}from"./zeni-epic-state-BXMuLX_S.js";import{v as yr}from"./DashboardSidebarBackgroundAnimation-CL6vWi6p-DaXPDfmE.js";import{L as jr,k as vr}from"./ArAgingChart-q1DoAAzl-IMdyrhPv.js";import{E as br,I as de,A as tt}from"./ReloadCard-Bf1jxC4B-CjPHohhm.js";import{L as Mr,O as UA,c as lA}from"./TopExCard-LesAF7Ot-CWhGtv9n.js";import{Y as Sr,X as Rr,H as Lr,P as Fr,G as Jr}from"./RevenueChart-C1RR_51e-Bn1LRvSc.js";import Pr from"./InsightsCardStack-BEpCIgoE-Bd7MJjyH.js";import{a as Ur}from"./AccountsPromoCardStack-BANu3wYt-CQ0iVQrx.js";import{c as V}from"./SummaryCard-D3ev0zFr-CHfcyxTY.js";import{t as Or,o as Tr}from"./arrow-south-east-round-PEovUgvH-DbFUNUBk.js";import{N as gA}from"./NavigationArrow-9HOMBxoh-CWFuMeOE.js";import{k as $A}from"./NavigationDots-DPf5iy8f-DNlf5jCf.js";import Yr from"./CompanyPassportCard-C5C3AykH-DcHAKmoT.js";import{C as Hr}from"./gift-box-Cmt9OgIZ-BtixTK1k.js";import Kr from"./InformationCardStack-CBsOTiOc-CgAe3fDD.js";import{p as rt}from"./chartTypes-CXNoxZp_-CJ_wyUtd.js";import{h as Nr}from"./toCOABalancesWithID-C_7wlYeT-C3P4q5bp.js";import{V as Gr}from"./toChartData-Dv-QcYgv-C4sd-ifC.js";import{r as zr,i as Wr}from"./graphic-no-data-net-burn-l-CzmycA0m-8oQBXM_J.js";import{N as qr,J as Xr}from"./PromoBaseCards-BWpqciJW-DEw7mp3r.js";import{r as Vr}from"./core-C5wq1_Bk.js";import{N as Zr,I as $r}from"./VideoPlayer-CoI7aj8a-B3tmTxCF.js";import _r from"./ConfettiBurst-BRie0bid-CKCgsLzT.js";import{F as Ao,G as eo,Y as to,X as ro,R as oo}from"./recharts-C3mrSjO2.js";import"./liveblocks-B14TpO3l.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./graphic-no-data-l-DU4J8fDt--UnjJCr0.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new A.Error().stack;a&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[a]="22568600-d3a2-4926-83e6-ac8ae970e3fd",A._sentryDebugIdIdentifier="sentry-dbid-22568600-d3a2-4926-83e6-ac8ae970e3fd")}catch{}})();const ao=g(tA)`
1
+ import{av as FA,aw as Ee,V as e,ax as Yt,F as Q,ay as Ht,az as Kt,o,aA as Nt,G as LA,p as u,aB as Gt,aC as zt,aD as Wt,aE as Be,aF as qt,aG as Xt,aH as Vt,aI as Zt,aJ as $t,aK as _t,aL as P,Q as eA,aM as N,aN as Y,aO as X,aP as D,a9 as Ar,aQ as Ke,x as Ne,ac as er,aR as tr,y as AA,aS as G,aT as tA,am as rA,aU as Ge,aV as J,aW as U,aX as qA,ao as rr,g as nA,aY as or,aZ as ar,a_ as ir,a$ as gr,ai as F,b0 as JA,u as S,aq as XA,al as PA,b1 as ze,b2 as We,b3 as qe,b4 as nr,b5 as VA,a as Cr,d as sr,b6 as Er,b7 as Xe,b8 as dr,b9 as Br,ba as ZA,bb as lr,bc as Qr,bd as Ir,be as cr,T as Ve,b as hr,bf as pr,e as mr,bg as Ze,bh as $e,an as ur,bi as xr,ag as fr,as as _e}from"./index-B1Bt1IRt.js";import{a as t,P as k}from"./sentry-DMXY90dB.js";import{n as g,a as wr,c as xA,k as R}from"./mui-CR-wYMmN.js";import{L as kr}from"./lottie-BIQaRIZs.js";import{bg as Dr,bh as At,EL as et}from"./zeni-epic-state-BXMuLX_S.js";import{v as yr}from"./DashboardSidebarBackgroundAnimation-CL6vWi6p-BGAzUN0-.js";import{L as jr,k as vr}from"./ArAgingChart-q1DoAAzl-ChyChZzL.js";import{E as br,I as de,A as tt}from"./ReloadCard-Bf1jxC4B-CXn0QhEZ.js";import{L as Mr,O as UA,c as lA}from"./TopExCard-LesAF7Ot-BT8iqen2.js";import{Y as Sr,X as Rr,H as Lr,P as Fr,G as Jr}from"./RevenueChart-C1RR_51e-BWmAb7vV.js";import Pr from"./InsightsCardStack-BEpCIgoE-DwXRec_Y.js";import{a as Ur}from"./AccountsPromoCardStack-BANu3wYt-D0wcQvfK.js";import{c as V}from"./SummaryCard-D3ev0zFr-B8E6EZU6.js";import{t as Or,o as Tr}from"./arrow-south-east-round-PEovUgvH-DbFUNUBk.js";import{N as gA}from"./NavigationArrow-9HOMBxoh-CW9vEk6t.js";import{k as $A}from"./NavigationDots-DPf5iy8f-_rLqbL9I.js";import Yr from"./CompanyPassportCard-C5C3AykH-nuh8qA8m.js";import{C as Hr}from"./gift-box-Cmt9OgIZ-BtixTK1k.js";import Kr from"./InformationCardStack-CBsOTiOc-cl7dFnWc.js";import{p as rt}from"./chartTypes-CXNoxZp_-Cu6v-VwM.js";import{h as Nr}from"./toCOABalancesWithID-C_7wlYeT-FI84UOqV.js";import{V as Gr}from"./toChartData-Dv-QcYgv-DSE0QTZ7.js";import{r as zr,i as Wr}from"./graphic-no-data-net-burn-l-CzmycA0m-8oQBXM_J.js";import{N as qr,J as Xr}from"./PromoBaseCards-BWpqciJW-BStDO3ET.js";import{r as Vr}from"./core-C5wq1_Bk.js";import{N as Zr,I as $r}from"./VideoPlayer-CoI7aj8a-CBq5NFaj.js";import _r from"./ConfettiBurst-BRie0bid-DyeYvFIn.js";import{F as Ao,G as eo,Y as to,X as ro,R as oo}from"./recharts-C3mrSjO2.js";import"./liveblocks-B14TpO3l.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./graphic-no-data-l-DU4J8fDt--UnjJCr0.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new A.Error().stack;a&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[a]="22568600-d3a2-4926-83e6-ac8ae970e3fd",A._sentryDebugIdIdentifier="sentry-dbid-22568600-d3a2-4926-83e6-ac8ae970e3fd")}catch{}})();const ao=g(tA)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,le=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{Q as B,g as Z,F as _,aw as ke,V as s,bB as qe,T as Je,G as Qe,bC as Xe,o as d,y as N,aD as X,bD as Ke,bE as et,ai as oe,u as j,b3 as tt,aV as st,x as Oe,r as Be,p as D,aq as Pe,aU as ot,ba as at,an as nt,bF as it,at as rt,bG as ct,bH as ne,bI as lt,as as dt,am as pt,bJ as ut,bK as gt}from"./index-DVgY55Ab.js";import{a as S,P as K}from"./sentry-DMXY90dB.js";import{n as u,k as Ie}from"./mui-CR-wYMmN.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 yt,ET as St,EU as vt,EV as $t}from"./zeni-epic-state-BXMuLX_S.js";import{m as Y,l as se}from"./analyticsHelper-DjynPp_X-s29on7ka.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-DOQm7O9r-DcS436ql.js";import{q as kt}from"./InsightsSection-DcKb1p5B-QoDxUPcZ.js";import{k as Ot,q as Bt,U as xe,H as ee,N as pe}from"./detailCommon-DVTOw71--Wk0Evzej.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-C1RR_51e-Bn1LRvSc.js";import{C as Nt}from"./NoDataChart-CDHiYyiO-DHWgty-U.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-DMCbeOcI-C4mgjK4U.js";import{b as Ne}from"./TimeframeSwitcher-YCgPbEnk-CJUz-kg1.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-CZJ_4MUf-TH_6P-Y_.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--y3nO5uZ-DP42yTzT.js";import{d as Mt}from"./NoDataTable-BoAJZxdS-ClNYPP1-.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-aD-96xtj-BAIV3Qln.js";import{d as he}from"./mapLoadingInProgressToTreeNode-UA-QQZJo-DsDuha6V.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./NavigationDots-DPf5iy8f-DNlf5jCf.js";import"./chartTypes-CXNoxZp_-CJ_wyUtd.js";import"./toCOABalancesWithID-C_7wlYeT-C3P4q5bp.js";import"./toChartData-Dv-QcYgv-C4sd-ifC.js";import"./AccountRow-CYv0Uw-I-DQCZ-Htb.js";import"./graphic-no-data-l-DU4J8fDt--UnjJCr0.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]="825a9a49-a1c3-4b5e-9eaf-f3c6b235837f",e._sentryDebugIdIdentifier="sentry-dbid-825a9a49-a1c3-4b5e-9eaf-f3c6b235837f")}catch{}})();const Ft=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.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"}),S.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"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.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"}),S.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"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.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,g as Z,F as _,aw as ke,V as s,bB as qe,T as Je,G as Qe,bC as Xe,o as d,y as N,aD as X,bD as Ke,bE as et,ai as oe,u as j,b3 as tt,aV as st,x as Oe,r as Be,p as D,aq as Pe,aU as ot,ba as at,an as nt,bF as it,at as rt,bG as ct,bH as ne,bI as lt,as as dt,am as pt,bJ as ut,bK as gt}from"./index-B1Bt1IRt.js";import{a as S,P as K}from"./sentry-DMXY90dB.js";import{n as u,k as Ie}from"./mui-CR-wYMmN.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 yt,ET as St,EU as vt,EV as $t}from"./zeni-epic-state-BXMuLX_S.js";import{m as Y,l as se}from"./analyticsHelper-DjynPp_X-Dvz518-_.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-DOQm7O9r-LKdsO3v0.js";import{q as kt}from"./InsightsSection-DcKb1p5B-dkp9HPKw.js";import{k as Ot,q as Bt,U as xe,H as ee,N as pe}from"./detailCommon-DVTOw71--GcYOMQVW.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-C1RR_51e-BWmAb7vV.js";import{C as Nt}from"./NoDataChart-CDHiYyiO-Cvyp8P2g.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-DMCbeOcI-nGya8if8.js";import{b as Ne}from"./TimeframeSwitcher-YCgPbEnk-CkpNlG9b.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-CZJ_4MUf-BaEJNkF_.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--y3nO5uZ-CRiy-M7l.js";import{d as Mt}from"./NoDataTable-BoAJZxdS--s0sFyd9.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-aD-96xtj-C0_zrT5H.js";import{d as he}from"./mapLoadingInProgressToTreeNode-UA-QQZJo-Dm-iOdH1.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./NavigationDots-DPf5iy8f-_rLqbL9I.js";import"./chartTypes-CXNoxZp_-Cu6v-VwM.js";import"./toCOABalancesWithID-C_7wlYeT-FI84UOqV.js";import"./toChartData-Dv-QcYgv-DSE0QTZ7.js";import"./AccountRow-CYv0Uw-I-DqS_-vJ5.js";import"./graphic-no-data-l-DU4J8fDt--UnjJCr0.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]="825a9a49-a1c3-4b5e-9eaf-f3c6b235837f",e._sentryDebugIdIdentifier="sentry-dbid-825a9a49-a1c3-4b5e-9eaf-f3c6b235837f")}catch{}})();const Ft=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.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"}),S.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"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.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"}),S.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"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.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{av as u,V as o,b5 as b,o as p}from"./index-DVgY55Ab.js";import{a as s}from"./sentry-DMXY90dB.js";import{a as h,n as m}from"./mui-CR-wYMmN.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]="a74d6bf1-0ec9-48c1-abf5-55d92e19ccd4",e._sentryDebugIdIdentifier="sentry-dbid-a74d6bf1-0ec9-48c1-abf5-55d92e19ccd4")}catch{}})();const v=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),r=e||n,d=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,l]=u(d,r),[t,c]=s.useState(null);a!=null&&t==null&&!l&&c(a);const f=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(b,{style:{width:"inherit",height:"inherit",display:"block"},animationData:t,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
1
+ import{av as u,V as o,b5 as b,o as p}from"./index-B1Bt1IRt.js";import{a as s}from"./sentry-DMXY90dB.js";import{a as h,n as m}from"./mui-CR-wYMmN.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]="a74d6bf1-0ec9-48c1-abf5-55d92e19ccd4",e._sentryDebugIdIdentifier="sentry-dbid-a74d6bf1-0ec9-48c1-abf5-55d92e19ccd4")}catch{}})();const v=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),r=e||n,d=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,l]=u(d,r),[t,c]=s.useState(null);a!=null&&t==null&&!l&&c(a);const f=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(b,{style:{width:"inherit",height:"inherit",display:"block"},animationData:t,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{aN as y,hz as u,Q as $,V as l,o as i,al as c,am as w}from"./index-DVgY55Ab.js";import{n as t}from"./mui-CR-wYMmN.js";import{g as k}from"./BoxItem-DD7d5_ky-D2d9aLr-.js";import{o as v}from"./commonDimensions-i9Qxk1O2-XYIUogON.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]="7d7fc179-73a6-4ea1-8951-c223f090759b",e._sentryDebugIdIdentifier="sentry-dbid-7d7fc179-73a6-4ea1-8951-c223f090759b")}catch{}})();function K({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:p,logo:f,summary:x,direction:b,status:m}=e,g=r.length>0?r:x,a=y("0,0.00",p),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(N,{src:f?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(T,{children:g}),s!=null?l.jsxs(C,{windowSize:o,children:[l.jsx(P,{windowSize:o}),l.jsx(E,{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(Q,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aN as y,hz as u,Q as $,V as l,o as i,al as c,am as w}from"./index-B1Bt1IRt.js";import{n as t}from"./mui-CR-wYMmN.js";import{g as k}from"./BoxItem-DD7d5_ky-DAc955db.js";import{o as v}from"./commonDimensions-i9Qxk1O2-BGeHxXny.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]="7d7fc179-73a6-4ea1-8951-c223f090759b",e._sentryDebugIdIdentifier="sentry-dbid-7d7fc179-73a6-4ea1-8951-c223f090759b")}catch{}})();function K({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:p,logo:f,summary:x,direction:b,status:m}=e,g=r.length>0?r:x,a=y("0,0.00",p),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(N,{src:f?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(T,{children:g}),s!=null?l.jsxs(C,{windowSize:o,children:[l.jsx(P,{windowSize:o}),l.jsx(E,{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(Q,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{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{g as M,Q as S,V as t,bB as I,b3 as F,hI as Y,o,F as z,p as u,cs as C,de as E,df as _,d9 as B,dg as L,y as T,ai as R,al as V,u as g}from"./index-DVgY55Ab.js";import{a as x}from"./sentry-DMXY90dB.js";import{n as a}from"./mui-CR-wYMmN.js";import{bh as A}from"./zeni-epic-state-BXMuLX_S.js";import{$ as N}from"./BoxItem-DD7d5_ky-D2d9aLr-.js";import{o as P}from"./commonDimensions-i9Qxk1O2-XYIUogON.js";import{H as Q}from"./DepositAccTransactionItem-B8Kledeo-BlVCqg6w.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="35d02696-a916-4f92-ab8f-d92b919c9153",e._sentryDebugIdIdentifier="sentry-dbid-35d02696-a916-4f92-ab8f-d92b919c9153")}catch{}})();const l=z.getLocalizedStrings(),H={listItemMargin:new T(g[3],g[8])};function X(e){const i=E(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,r=>r.length>0);return B(d,r=>({date:r[0].transactionDate,transactions:L(r,m=>m.transactionDate,"desc")}))}const q=Y(X),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),r=S(),m=x.createRef(),p=x.useRef(null),c=q(e.transactions),k=e.depositAccountName,f=c.length===0,j=n=>f===!1?c[n].transactions.length*P.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return t.jsx(y,{style:{...h},children:t.jsx(w,{windowSize:r,children:t.jsxs($,{children:[t.jsx(O,{children:A().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,b)=>t.jsx(Q,{data:D,boxType:N(b,s.transactions.length)},b))})]})})})}else return t.jsx(y,{style:{...h},children:t.jsx(G,{children:t.jsx(w,{windowSize:r,children:t.jsx(K,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(J,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(F,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},y=a.div``,w=a.div`
1
+ import{g as M,Q as S,V as t,bB as I,b3 as F,hI as Y,o,F as z,p as u,cs as C,de as E,df as _,d9 as B,dg as L,y as T,ai as R,al as V,u as g}from"./index-B1Bt1IRt.js";import{a as x}from"./sentry-DMXY90dB.js";import{n as a}from"./mui-CR-wYMmN.js";import{bh as A}from"./zeni-epic-state-BXMuLX_S.js";import{$ as N}from"./BoxItem-DD7d5_ky-DAc955db.js";import{o as P}from"./commonDimensions-i9Qxk1O2-BGeHxXny.js";import{H as Q}from"./DepositAccTransactionItem-B8Kledeo-DVIUyWhK.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="35d02696-a916-4f92-ab8f-d92b919c9153",e._sentryDebugIdIdentifier="sentry-dbid-35d02696-a916-4f92-ab8f-d92b919c9153")}catch{}})();const l=z.getLocalizedStrings(),H={listItemMargin:new T(g[3],g[8])};function X(e){const i=E(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,r=>r.length>0);return B(d,r=>({date:r[0].transactionDate,transactions:L(r,m=>m.transactionDate,"desc")}))}const q=Y(X),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),r=S(),m=x.createRef(),p=x.useRef(null),c=q(e.transactions),k=e.depositAccountName,f=c.length===0,j=n=>f===!1?c[n].transactions.length*P.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return t.jsx(y,{style:{...h},children:t.jsx(w,{windowSize:r,children:t.jsxs($,{children:[t.jsx(O,{children:A().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,b)=>t.jsx(Q,{data:D,boxType:N(b,s.transactions.length)},b))})]})})})}else return t.jsx(y,{style:{...h},children:t.jsx(G,{children:t.jsx(w,{windowSize:r,children:t.jsx(K,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(J,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(F,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},y=a.div``,w=a.div`
2
2
  margin: ${e=>`${o.sp0} ${H.listItemMargin.valuePx(e.windowSize)}`};
3
3
  `,G=a.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{Q as U,a9 as O,F as S,cE as q,aD as G,V as n,co as H,cp as J,cq as Q,ac as K,aR as X,y as b,eU as Y,o as Z,b9 as ee,u as o}from"./index-DVgY55Ab.js";import{a as C}from"./sentry-DMXY90dB.js";import{n as h}from"./mui-CR-wYMmN.js";import{bi as T}from"./zeni-epic-state-BXMuLX_S.js";import{e as ne}from"./BankAccountSection-DNYhcdas-Ddz8QKzl.js";import{M as te}from"./MagicLinkTitleSection-C_OYT1do-NbVFRCAZ.js";import{W as ae,A as oe}from"./BankAccountWarningSection-B6AIe7nT-BcHAPM_q.js";import{T as ie}from"./MailingDetailsSection-CTPCXpZR-Dv3Iye8Q.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]="c9bcb414-1148-4d75-adcb-9eddd95a71e3",e._sentryDebugIdIdentifier="sentry-dbid-c9bcb414-1148-4d75-adcb-9eddd95a71e3")}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])},D="domesticWireDetailsPage",k="bankAccountSection",j="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:$,isMagicLink:g,currencySymbol:v,amount:P,onSaveHandler:R,onWireDetailsUpdated:z,onFetchBankName:I,onAddressClick:L,onBackClick:w}=e,u=U(),c=O({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[E,f]=C.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{f(!1),c.reset(),w?.()},onCancelClick:()=>{f(!1)}},F=async(p,m)=>{const d=m[k].bankRoutingNumber;z(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&I?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>F(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&R("wire")}),N=!G(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:[E===!0?n.jsx(H,{titleComponent:n.jsx(Q,{children:a.discardTitle}),descriptionComponent:n.jsx(J,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:$??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:w,setShowConfirmationPopup:f}),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(K,{...c,children:n.jsxs("form",{id:B(D),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:j,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:B(D),primaryBtn:{label:g?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?f(!0):(c.reset(),w?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[j]:{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 U,a9 as O,F as S,cE as q,aD as G,V as n,co as H,cp as J,cq as Q,ac as K,aR as X,y as b,eU as Y,o as Z,b9 as ee,u as o}from"./index-B1Bt1IRt.js";import{a as C}from"./sentry-DMXY90dB.js";import{n as h}from"./mui-CR-wYMmN.js";import{bi as T}from"./zeni-epic-state-BXMuLX_S.js";import{e as ne}from"./BankAccountSection-DNYhcdas-BXzlbRsl.js";import{M as te}from"./MagicLinkTitleSection-C_OYT1do-BEHk0Loc.js";import{W as ae,A as oe}from"./BankAccountWarningSection-B6AIe7nT-owl5fu4w.js";import{T as ie}from"./MailingDetailsSection-CTPCXpZR-CaBLvE7x.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]="c9bcb414-1148-4d75-adcb-9eddd95a71e3",e._sentryDebugIdIdentifier="sentry-dbid-c9bcb414-1148-4d75-adcb-9eddd95a71e3")}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])},D="domesticWireDetailsPage",k="bankAccountSection",j="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:$,isMagicLink:g,currencySymbol:v,amount:P,onSaveHandler:R,onWireDetailsUpdated:z,onFetchBankName:I,onAddressClick:L,onBackClick:w}=e,u=U(),c=O({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[E,f]=C.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{f(!1),c.reset(),w?.()},onCancelClick:()=>{f(!1)}},F=async(p,m)=>{const d=m[k].bankRoutingNumber;z(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&I?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>F(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&R("wire")}),N=!G(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:[E===!0?n.jsx(H,{titleComponent:n.jsx(Q,{children:a.discardTitle}),descriptionComponent:n.jsx(J,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:$??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:w,setShowConfirmationPopup:f}),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(K,{...c,children:n.jsxs("form",{id:B(D),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:j,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:B(D),primaryBtn:{label:g?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?f(!0):(c.reset(),w?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[j]:{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,c2 as it,o as s,Q as he,c3 as nt,an as He,p as ue,y as W,x as lt,F,c4 as dt,bN as Ue,u as B,b9 as qe,al as L,bQ as ke,b as te,am as be,r as ae,g as We,bS as ct,c5 as xe,c6 as ge,T as Ge,c7 as Ze,bL as pt,ba as mt,ao as ye,c8 as Z,c9 as ft,ca as ht,bJ as ut,bR as bt,aq as xt,cb as gt,b_ as yt,at as $t}from"./index-DVgY55Ab.js";import{a as h,P as $e}from"./sentry-DMXY90dB.js";import{n,k as Je}from"./mui-CR-wYMmN.js";import{F4 as me,F5 as C,F6 as J,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-BXMuLX_S.js";import{m as Dt}from"./analyticsHelper-DjynPp_X-s29on7ka.js";import{g as _t,x as kt}from"./ReportTableViewSelector-DOQm7O9r-DcS436ql.js";import{t as Ct}from"./page-detail-CWX5S47F-Dp0GDjdb.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./CollapsableReportTable-CZJ_4MUf-TH_6P-Y_.js";import"./AccountRow-CYv0Uw-I-DQCZ-Htb.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]="5847e19a-c23c-4c47-9462-4f7f3fd3b9bb",e._sentryDebugIdIdentifier="sentry-dbid-5847e19a-c23c-4c47-9462-4f7f3fd3b9bb")}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=J(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,c2 as it,o as s,Q as he,c3 as nt,an as He,p as ue,y as W,x as lt,F,c4 as dt,bN as Ue,u as B,b9 as qe,al as L,bQ as ke,b as te,am as be,r as ae,g as We,bS as ct,c5 as xe,c6 as ge,T as Ge,c7 as Ze,bL as pt,ba as mt,ao as ye,c8 as Z,c9 as ft,ca as ht,bJ as ut,bR as bt,aq as xt,cb as gt,b_ as yt,at as $t}from"./index-B1Bt1IRt.js";import{a as h,P as $e}from"./sentry-DMXY90dB.js";import{n,k as Je}from"./mui-CR-wYMmN.js";import{F4 as me,F5 as C,F6 as J,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-BXMuLX_S.js";import{m as Dt}from"./analyticsHelper-DjynPp_X-Dvz518-_.js";import{g as _t,x as kt}from"./ReportTableViewSelector-DOQm7O9r-LKdsO3v0.js";import{t as Ct}from"./page-detail-CWX5S47F-Dp0GDjdb.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./CollapsableReportTable-CZJ_4MUf-BaEJNkF_.js";import"./AccountRow-CYv0Uw-I-DqS_-vJ5.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]="5847e19a-c23c-4c47-9462-4f7f3fd3b9bb",e._sentryDebugIdIdentifier="sentry-dbid-5847e19a-c23c-4c47-9462-4f7f3fd3b9bb")}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=J(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,bS as y,o as r,y as s,F as h,c1 as P,a as c,d as g,x as b,u as t,aN as k,j_ as L,j$ as D,k0 as _}from"./index-DVgY55Ab.js";import{n as o}from"./mui-CR-wYMmN.js";import"./sentry-DMXY90dB.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="1ce9aae7-1cb7-4771-9201-3417e68176a0",e._sentryDebugIdIdentifier="sentry-dbid-1ce9aae7-1cb7-4771-9201-3417e68176a0")}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])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,C=({rewardsPlan:e})=>{const n=[I(),R(),B({rewardsPlan:e})],d=a();return i.jsx(A,{children:n.map((j,f)=>i.jsxs(F,{children:[i.jsx(Q,{children:j}),f<n.length-1?i.jsx(H,{windowSize:d}):null]},`step_${f}`))})},I=()=>{const e=a(),n=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(M,{windowSize:e})}),i.jsx(S,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(S,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},B=({rewardsPlan:e})=>{const n=a(),d=x.item3;return i.jsxs(p,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(E,{windowSize:n})}),i.jsx(S,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(z,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},p=o.div`
1
+ import{Q as a,V as i,bS as y,o as r,y as s,F as h,c1 as P,a as c,d as g,x as b,u as t,aN as k,j_ as L,j$ as D,k0 as _}from"./index-B1Bt1IRt.js";import{n as o}from"./mui-CR-wYMmN.js";import"./sentry-DMXY90dB.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="1ce9aae7-1cb7-4771-9201-3417e68176a0",e._sentryDebugIdIdentifier="sentry-dbid-1ce9aae7-1cb7-4771-9201-3417e68176a0")}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])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,C=({rewardsPlan:e})=>{const n=[I(),R(),B({rewardsPlan:e})],d=a();return i.jsx(A,{children:n.map((j,f)=>i.jsxs(F,{children:[i.jsx(Q,{children:j}),f<n.length-1?i.jsx(H,{windowSize:d}):null]},`step_${f}`))})},I=()=>{const e=a(),n=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(M,{windowSize:e})}),i.jsx(S,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(S,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},B=({rewardsPlan:e})=>{const n=a(),d=x.item3;return i.jsxs(p,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(E,{windowSize:n})}),i.jsx(S,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(z,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},p=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,fR as ae,g as de,a9 as pe,aQ as ce,V as t,co as ue,ap as me,cp as fe,cq as ge,gO as he,cu as ye,o as n,bS as be,aP as L,ac as ve,aR as xe,y as P,F as $e,cA as we,fU as Re,fV as je,fW as Ce,b9 as Ie,p as Q,cZ as ke,u}from"./index-DVgY55Ab.js";import{a as w}from"./sentry-DMXY90dB.js";import{n as l}from"./mui-CR-wYMmN.js";import{FB as Oe,bg as _e}from"./zeni-epic-state-BXMuLX_S.js";import{f as Pe}from"./AllUserItems-Duwm6ypi-CNUX4dOE.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./LabeledUserSingleSelectWithSubtitlesField-BmMN3W3F-BzPJ9P_-.js";import"./RoleWithToolTip-BGlbeXtJ-BQ5iinOT.js";import"./LabeledZeniRolesDropDownField-PsaKyCCY-EbSrXIJy.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]="7e2efee2-5f1e-448e-86af-b8aef24b536e",e._sentryDebugIdIdentifier="sentry-dbid-7e2efee2-5f1e-448e-86af-b8aef24b536e")}catch{}})();const C={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)},Y="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:I,mode:p,isZeniTenant:T,onCloseClick:k,onResetClick:O,onSaveClick:m,onDeleteUser:J,onPeopleLocalDataUpdated:M,analytics:E,isReimbursementDisabled:z,isZeniAccountsDisabled:q,isChargeCardDisabled:N,isTreasuryDisabled:Z,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const j=ie(),[X,B]=w.useState(!1),[H,K]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),S=w.useMemo(()=>ae(z,q,N,b,v,A,Z),[z,q,N,b,v,A,Z]),V=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:G(e.people,o,y,p,S,b,v),values:G(e.people,o,y,p,S,b,v)}),se=i.handleSubmit(()=>{F()&&m()},()=>{F(),console.warn("Edit Profile form error")}),F=()=>{const f=i.getValues();let r=!0;return f.userItems.forEach((g,x)=>{const{role:D,department:a,nonZeniRole:h,manager:c}=g;if(p==="zeni_only"){const s=D.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(f,r)=>{const g=[],{userItems:x}=r,D=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(D!=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(U=>Oe(U.selectedOption?.value)).filter(U=>U!=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}}g.push(h)}}),M(g)};w.useEffect(()=>{const f=i.watch((r,{name:g})=>{g!=null&&r!=null&&ne(g,r)});return()=>{f.unsubscribe()}});const oe=()=>{B(!0)},re={onOkClick:()=>{const f=e.person;E?.trackRemoveUserAccess(f.userRole.userRoles,f.userRole.userEmail),J?.(e.person)},onCancelClick:()=>{B(!1)}},W=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&&W==="removeUsers"&&(B(!1),O?.())},[_,W]),t.jsxs(t.Fragment,{children:[X===!0?t.jsx(ue,{titleComponent:t.jsx(ge,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(fe,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:_==="removeUsers",isDisabled:_==="removeUsers",style:{background:V.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Le,{children:t.jsx(Ee,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:V.colors.grey4,style:{zIndex:4},onCloseClick:k,isTitleAlignLeft:j==="small"}),t.jsxs(Te,{"data-testid":L("edit-people-page-container"),windowSize:j,ref:te,children:[t.jsxs(Ue,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Be,{children:[t.jsx(Se,{children:e.person?.user?.firstName?t.jsxs(De,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ne,{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(qe,{windowsize:j})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${Y}_form`,onSubmit:se,children:t.jsx(Pe,{control:i.control,sectionId:R,deleteConfirmationIndex:H,updateDeleteConfirmationIndex:K,mode:p,isZeniTenant:T,classList:y,managersList:o,controllersList:I,customerRoleOptions:S,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:E})})})]}),t.jsx(xe,{formId:`${Y}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:C.buttonWidth.value(j)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:C.buttonWidth.value(j)},shouldResetOnCancel:!1,onClick:k},separatorStyle:{marginRight:n.sp4}})]})},G=(e,o,y,I,p,T,k)=>{const O=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:I==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:I!=="zeni_only"?{userRole:{selectedRole:Ce(e[0]?.role),allRootRole:je(T,k)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:O,selectedOption:O.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,Te=l.div`
1
+ import{Q as ie,fR as ae,g as de,a9 as pe,aQ as ce,V as t,co as ue,ap as me,cp as fe,cq as ge,gO as he,cu as ye,o as n,bS as be,aP as L,ac as ve,aR as xe,y as P,F as $e,cA as we,fU as Re,fV as je,fW as Ce,b9 as Ie,p as Q,cZ as ke,u}from"./index-B1Bt1IRt.js";import{a as w}from"./sentry-DMXY90dB.js";import{n as l}from"./mui-CR-wYMmN.js";import{FB as Oe,bg as _e}from"./zeni-epic-state-BXMuLX_S.js";import{f as Pe}from"./AllUserItems-Duwm6ypi-tETvgZhy.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./LabeledUserSingleSelectWithSubtitlesField-BmMN3W3F-CzuOqnJx.js";import"./RoleWithToolTip-BGlbeXtJ-B7q-3hiX.js";import"./LabeledZeniRolesDropDownField-PsaKyCCY-BpbPhmMd.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]="7e2efee2-5f1e-448e-86af-b8aef24b536e",e._sentryDebugIdIdentifier="sentry-dbid-7e2efee2-5f1e-448e-86af-b8aef24b536e")}catch{}})();const C={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)},Y="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:I,mode:p,isZeniTenant:T,onCloseClick:k,onResetClick:O,onSaveClick:m,onDeleteUser:J,onPeopleLocalDataUpdated:M,analytics:E,isReimbursementDisabled:z,isZeniAccountsDisabled:q,isChargeCardDisabled:N,isTreasuryDisabled:Z,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const j=ie(),[X,B]=w.useState(!1),[H,K]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),S=w.useMemo(()=>ae(z,q,N,b,v,A,Z),[z,q,N,b,v,A,Z]),V=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:G(e.people,o,y,p,S,b,v),values:G(e.people,o,y,p,S,b,v)}),se=i.handleSubmit(()=>{F()&&m()},()=>{F(),console.warn("Edit Profile form error")}),F=()=>{const f=i.getValues();let r=!0;return f.userItems.forEach((g,x)=>{const{role:D,department:a,nonZeniRole:h,manager:c}=g;if(p==="zeni_only"){const s=D.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(f,r)=>{const g=[],{userItems:x}=r,D=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(D!=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(U=>Oe(U.selectedOption?.value)).filter(U=>U!=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}}g.push(h)}}),M(g)};w.useEffect(()=>{const f=i.watch((r,{name:g})=>{g!=null&&r!=null&&ne(g,r)});return()=>{f.unsubscribe()}});const oe=()=>{B(!0)},re={onOkClick:()=>{const f=e.person;E?.trackRemoveUserAccess(f.userRole.userRoles,f.userRole.userEmail),J?.(e.person)},onCancelClick:()=>{B(!1)}},W=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&&W==="removeUsers"&&(B(!1),O?.())},[_,W]),t.jsxs(t.Fragment,{children:[X===!0?t.jsx(ue,{titleComponent:t.jsx(ge,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(fe,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:_==="removeUsers",isDisabled:_==="removeUsers",style:{background:V.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Le,{children:t.jsx(Ee,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:V.colors.grey4,style:{zIndex:4},onCloseClick:k,isTitleAlignLeft:j==="small"}),t.jsxs(Te,{"data-testid":L("edit-people-page-container"),windowSize:j,ref:te,children:[t.jsxs(Ue,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Be,{children:[t.jsx(Se,{children:e.person?.user?.firstName?t.jsxs(De,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ne,{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(qe,{windowsize:j})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${Y}_form`,onSubmit:se,children:t.jsx(Pe,{control:i.control,sectionId:R,deleteConfirmationIndex:H,updateDeleteConfirmationIndex:K,mode:p,isZeniTenant:T,classList:y,managersList:o,controllersList:I,customerRoleOptions:S,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:E})})})]}),t.jsx(xe,{formId:`${Y}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:C.buttonWidth.value(j)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:C.buttonWidth.value(j)},shouldResetOnCancel:!1,onClick:k},separatorStyle:{marginRight:n.sp4}})]})},G=(e,o,y,I,p,T,k)=>{const O=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:I==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:I!=="zeni_only"?{userRole:{selectedRole:Ce(e[0]?.role),allRootRole:je(T,k)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:O,selectedOption:O.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,Te=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{aQ as li,g as ft,aw as wt,a9 as an,ay as Ii,aD as rn,Q as Re,gg as ao,gi as ro,gj as lo,V as t,gE as so,ac as ln,co as di,cp as sn,cq as dn,aP as H,o as i,y as d,bB as Ti,bo as co,dt as uo,gk as mo,gv as cn,gq as Di,aR as un,ao as mn,gr as po,gF as Ve,ez as Ke,f1 as ci,gG as Bt,F as fe,T as xt,gH as ho,p as j,x as pn,aq as ui,u as a,bx as go,gt as yo,cF as bo,eH as mi,gI as Mt,fg as Se,cJ as pi,fj as $e,cI as nt,ej as fo,ff as hn,b as Rt,cM as gn,cL as tt,er as Te,ai as hi,gJ as wo,fy as xo,cE as So,aV as ji,fs as $o,bw as vo,ba as yn,e as Co,ei as ko,b7 as Ft,gl as Io,bU as bn,a as gi,d as fn,c_ as wn,ch as Et,eU as To,b9 as Do,d2 as jo,fm as Oo,al as yi,r as Oi,bS as xn,b1 as Pi,cZ as Po,am as Lo,cQ as Sn,aN as Ro,gK as $n,gL as si,ga as Li,gM as At,cN as Ao,gf as zo,bJ as Bo,cY as Mo}from"./index-DVgY55Ab.js";import{a as S,P as kt}from"./sentry-DMXY90dB.js";import{n}from"./mui-CR-wYMmN.js";import{a as Fo}from"./liveblocks-B14TpO3l.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-BXMuLX_S.js";import kn from"./InvoiceUploadSection-CTqSftrm-CyVrgEkl.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-K0xUavli-THytCXMe.js";import{S as Uo}from"./CurrencySelectField-iXGB-cNy-BRjQHy5W.js";import{e as _o}from"./BankAccountSection-DNYhcdas-Ddz8QKzl.js";import{W as Vo,A as Ho}from"./BankAccountWarningSection-B6AIe7nT-BcHAPM_q.js";import{o as qo}from"./radio-default-CiSgisfh-CInIhD3e.js";import"./core-C5wq1_Bk.js";import"./lottie-BIQaRIZs.js";import"./recharts-C3mrSjO2.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./AttachmentView-CwbFyo5O-DSfNvuAU.js";import"./uploadReceipts-DJRtId-4-CHJq-raT.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]="34e06540-d6a1-44ff-8e47-bbcdbae3451d",e._sentryDebugIdIdentifier="sentry-dbid-34e06540-d6a1-44ff-8e47-bbcdbae3451d")}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(),Jo=({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"),J=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||J)&&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,Y=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:Y?.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{aQ as li,g as ft,aw as wt,a9 as an,ay as Ii,aD as rn,Q as Re,gg as ao,gi as ro,gj as lo,V as t,gE as so,ac as ln,co as di,cp as sn,cq as dn,aP as H,o as i,y as d,bB as Ti,bo as co,dt as uo,gk as mo,gv as cn,gq as Di,aR as un,ao as mn,gr as po,gF as Ve,ez as Ke,f1 as ci,gG as Bt,F as fe,T as xt,gH as ho,p as j,x as pn,aq as ui,u as a,bx as go,gt as yo,cF as bo,eH as mi,gI as Mt,fg as Se,cJ as pi,fj as $e,cI as nt,ej as fo,ff as hn,b as Rt,cM as gn,cL as tt,er as Te,ai as hi,gJ as wo,fy as xo,cE as So,aV as ji,fs as $o,bw as vo,ba as yn,e as Co,ei as ko,b7 as Ft,gl as Io,bU as bn,a as gi,d as fn,c_ as wn,ch as Et,eU as To,b9 as Do,d2 as jo,fm as Oo,al as yi,r as Oi,bS as xn,b1 as Pi,cZ as Po,am as Lo,cQ as Sn,aN as Ro,gK as $n,gL as si,ga as Li,gM as At,cN as Ao,gf as zo,bJ as Bo,cY as Mo}from"./index-B1Bt1IRt.js";import{a as S,P as kt}from"./sentry-DMXY90dB.js";import{n}from"./mui-CR-wYMmN.js";import{a as Fo}from"./liveblocks-B14TpO3l.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-BXMuLX_S.js";import kn from"./InvoiceUploadSection-CTqSftrm-DyMpyaVc.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-K0xUavli-C-Rpq08j.js";import{S as Uo}from"./CurrencySelectField-iXGB-cNy-CFPGwgTp.js";import{e as _o}from"./BankAccountSection-DNYhcdas-BXzlbRsl.js";import{W as Vo,A as Ho}from"./BankAccountWarningSection-B6AIe7nT-owl5fu4w.js";import{o as qo}from"./radio-default-CiSgisfh-CInIhD3e.js";import"./core-C5wq1_Bk.js";import"./lottie-BIQaRIZs.js";import"./recharts-C3mrSjO2.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./AttachmentView-CwbFyo5O-HlqvxT1d.js";import"./uploadReceipts-DJRtId-4-BOBtRP4Y.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]="34e06540-d6a1-44ff-8e47-bbcdbae3451d",e._sentryDebugIdIdentifier="sentry-dbid-34e06540-d6a1-44ff-8e47-bbcdbae3451d")}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(),Jo=({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"),J=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||J)&&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,Y=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:Y?.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{g as h,F as T,aV as x,V as i,ax as v,o,G as p}from"./index-DVgY55Ab.js";import{n as a}from"./mui-CR-wYMmN.js";import{R as C}from"./TrendWithTransactions-CK_je__x-C1Qk91i9.js";import"./sentry-DMXY90dB.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./TrendChart-CqxpheW7-DiPHNgeC.js";import"./chartTypes-CXNoxZp_-CJ_wyUtd.js";import"./toCOABalancesWithID-C_7wlYeT-C3P4q5bp.js";import"./toChartData-Dv-QcYgv-C4sd-ifC.js";import"./NoDataChart-CDHiYyiO-DHWgty-U.js";import"./InsightsSection-DcKb1p5B-QoDxUPcZ.js";import"./NavigationDots-DPf5iy8f-DNlf5jCf.js";import"./TransactionList-CGmpQyNM-BGohJsUE.js";import"./BoxItem-DD7d5_ky-D2d9aLr-.js";import"./commonDimensions-i9Qxk1O2-XYIUogON.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]="bccf24b5-b4b2-42bd-aa76-8eb4dba73b35",t._sentryDebugIdIdentifier="sentry-dbid-bccf24b5-b4b2-42bd-aa76-8eb4dba73b35")}catch{}})();const w=a.div`
1
+ import{g as h,F as T,aV as x,V as i,ax as v,o,G as p}from"./index-B1Bt1IRt.js";import{n as a}from"./mui-CR-wYMmN.js";import{R as C}from"./TrendWithTransactions-CK_je__x-C4dydqYV.js";import"./sentry-DMXY90dB.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./TrendChart-CqxpheW7-DKIa35tO.js";import"./chartTypes-CXNoxZp_-Cu6v-VwM.js";import"./toCOABalancesWithID-C_7wlYeT-FI84UOqV.js";import"./toChartData-Dv-QcYgv-DSE0QTZ7.js";import"./NoDataChart-CDHiYyiO-Cvyp8P2g.js";import"./InsightsSection-DcKb1p5B-dkp9HPKw.js";import"./NavigationDots-DPf5iy8f-_rLqbL9I.js";import"./TransactionList-CGmpQyNM-DeYBo2dy.js";import"./BoxItem-DD7d5_ky-DAc955db.js";import"./commonDimensions-i9Qxk1O2-BGeHxXny.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]="bccf24b5-b4b2-42bd-aa76-8eb4dba73b35",t._sentryDebugIdIdentifier="sentry-dbid-bccf24b5-b4b2-42bd-aa76-8eb4dba73b35")}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,dq as O,y as l,d0 as _,o as d,aa as j,aN as S,b3 as A,cs as E,u as r,M as B,am as R,al as k,b9 as F,ai as N,cy as U,p as W,cB as G}from"./index-DVgY55Ab.js";import{a as f}from"./sentry-DMXY90dB.js";import{n}from"./mui-CR-wYMmN.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]="927558d1-5eae-41e3-81be-9e517c703c22",e._sentryDebugIdIdentifier="sentry-dbid-927558d1-5eae-41e3-81be-9e517c703c22")}catch{}})();const w=L.getLocalizedStrings().reports.aging.agingDetail.header,m=[{key:"date",value:w.date,sortOrder:"ascending",width:new l(212,212)},{key:"invoiceNumber",value:w.invoiceNumber,sortOrder:"ascending",width:new l(188,188)},{key:"dueDate",value:w.dueDate,sortOrder:"ascending",width:new l(188,188)},{key:"daysPastDue",value:w.daysPastDue,sortOrder:"ascending",width:new l(188,188)},{key:"amount",value:w.amount,sortOrder:"ascending",width:new l(188,188)},{key:"balance",value:w.balance,sortOrder:"ascending",width:new l(120,120)}],M={headerHeight:new l(45,58)},Q=n.div`
1
+ import{Q as z,F as L,V as i,dq as O,y as l,d0 as _,o as d,aa as j,aN as S,b3 as A,cs as E,u as r,M as B,am as R,al as k,b9 as F,ai as N,cy as U,p as W,cB as G}from"./index-B1Bt1IRt.js";import{a as f}from"./sentry-DMXY90dB.js";import{n}from"./mui-CR-wYMmN.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]="927558d1-5eae-41e3-81be-9e517c703c22",e._sentryDebugIdIdentifier="sentry-dbid-927558d1-5eae-41e3-81be-9e517c703c22")}catch{}})();const w=L.getLocalizedStrings().reports.aging.agingDetail.header,m=[{key:"date",value:w.date,sortOrder:"ascending",width:new l(212,212)},{key:"invoiceNumber",value:w.invoiceNumber,sortOrder:"ascending",width:new l(188,188)},{key:"dueDate",value:w.dueDate,sortOrder:"ascending",width:new l(188,188)},{key:"daysPastDue",value:w.daysPastDue,sortOrder:"ascending",width:new l(188,188)},{key:"amount",value:w.amount,sortOrder:"ascending",width:new l(188,188)},{key:"balance",value:w.balance,sortOrder:"ascending",width:new l(120,120)}],M={headerHeight:new l(45,58)},Q=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{g as Q,Q as le,cc as de,V as t,g4 as q,aP as b,bN as ce,p as a,bS as z,o as r,bB as he,k9 as pe,b as d,hN as _,hM as T,r as me,bw as ue,ag as ge,ka as Ce,kb as ke,F as k,cj as xe,M as fe,bJ as je,ai as h,au as U,al as ye,f as be,b7 as ve,a$ as $e,b9 as ee}from"./index-DVgY55Ab.js";import{a as n}from"./sentry-DMXY90dB.js";import{n as o,c as te,k as Le}from"./mui-CR-wYMmN.js";import{bh as re,bL as we}from"./zeni-epic-state-BXMuLX_S.js";import{U as Me,F as Ee,X as We,Y as Se,J as De,G as He}from"./recharts-C3mrSjO2.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="2e3d91ec-10b0-4b75-b4be-c64bc2bcc1f5",e._sentryDebugIdIdentifier="sentry-dbid-2e3d91ec-10b0-4b75-b4be-c64bc2bcc1f5")}catch{}})();const Pe=k.getLocalizedStrings().expenseAutomation,Ve=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:Fe},texts:{score:ze}}}=k.getLocalizedStrings(),_e=({active:e,payload:s})=>{if(e===!1||e===void 0||!s||s.length===0)return null;const c=s[0]?.value;return c==null?null:t.jsxs(Ye,{children:[t.jsx(Be,{children:ze}),t.jsxs(Ze,{children:[c,Fe]})]})};function Te({data:e,height:s}){const c=Q(),L=e.map(x=>({month:we(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Ve.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ne,{children:[t.jsx(Re,{children:Pe.overview.monthEndCloseTrend}),t.jsx(Me,{height:s,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(He,{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 Re=o(h)`
1
+ import{g as Q,Q as le,cc as de,V as t,g4 as q,aP as b,bN as ce,p as a,bS as z,o as r,bB as he,k9 as pe,b as d,hN as _,hM as T,r as me,bw as ue,ag as ge,ka as Ce,kb as ke,F as k,cj as xe,M as fe,bJ as je,ai as h,au as U,al as ye,f as be,b7 as ve,a$ as $e,b9 as ee}from"./index-B1Bt1IRt.js";import{a as n}from"./sentry-DMXY90dB.js";import{n as o,c as te,k as Le}from"./mui-CR-wYMmN.js";import{bh as re,bL as we}from"./zeni-epic-state-BXMuLX_S.js";import{U as Me,F as Ee,X as We,Y as Se,J as De,G as He}from"./recharts-C3mrSjO2.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="2e3d91ec-10b0-4b75-b4be-c64bc2bcc1f5",e._sentryDebugIdIdentifier="sentry-dbid-2e3d91ec-10b0-4b75-b4be-c64bc2bcc1f5")}catch{}})();const Pe=k.getLocalizedStrings().expenseAutomation,Ve=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:Fe},texts:{score:ze}}}=k.getLocalizedStrings(),_e=({active:e,payload:s})=>{if(e===!1||e===void 0||!s||s.length===0)return null;const c=s[0]?.value;return c==null?null:t.jsxs(Ye,{children:[t.jsx(Be,{children:ze}),t.jsxs(Ze,{children:[c,Fe]})]})};function Te({data:e,height:s}){const c=Q(),L=e.map(x=>({month:we(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Ve.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ne,{children:[t.jsx(Re,{children:Pe.overview.monthEndCloseTrend}),t.jsx(Me,{height:s,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(He,{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 Re=o(h)`
2
2
  color: ${e=>e.theme.colors.champion};
3
3
  `,Ne=o.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{o,bU as ca,Q as ke,gg as Qi,gh as es,V as t,co as da,aa as Pe,aR as ts,u as g,F as Ie,cp as ua,g as bt,bB as ha,i4 as pa,aN as Ue,bS as ye,y as ee,bv as ma,aP as M,i2 as ga,al as ze,gY as xa,gQ as ns,bw as fa,bO as Dt,b7 as os,ai as vt,bJ as is,p as Xe,kh as ya,g4 as Ca,am as pt,x as wa,gi as ba,gj as ss,bo as va,cj as Sa,c1 as ja,eC as gn,b_ as So,a9 as qt,bN as jo,ac as Jt,ki as ka,kj as Ia,kk as $a,kl as ln,km as as,kn as rs,ko as La,kp as Po,kq as Ta,dj as ls,kr as Aa,ks as Ea,kt as Ra,ku as Da,kv as Oa,kw as Fa,kx as za,ky as Ba,kz as _a,kA as Ma,kB as cs,kC as Pa,kD as Na,kE as Va,kF as Ha,gy as ds,b3 as zn,cs as Bn,T as us,P as hs,n as ps,cE as xn,dR as ko,gt as Wa,fN as Ua,g$ as qa,aq as Ja,f as Ka,fy as Ga,aD as ms,kG as Ya,aV as Io,aQ as No,gS as gs,kH as Za,kI as Xa,kJ as Qa,bE as xs,aT as er,gG as Rt,hU as Nn,ez as En,cI as $o,ay as tr,eA as fs,dl as nr,iQ as or,dr as Lo,cy as _n,cB as Mn,ix as nt,b as At,hH as ir,gz as Vn,jf as Vo,dh as ys,d0 as hn,kK as sr,aZ as ar,dq as Cs,r as pn,io as ws,iy as fo,kL as tn,eb as bs,ed as vs,iT as Ss,iU as js,kM as rr,c_ as Pn,ip as ks,fm as Is,eq as Hn,aJ as To,kN as lr,cN as cr,aY as $s,iF as dr,dP as ur,ao as ft,kO as hr,kP as pr,b1 as Wn,em as mr,a8 as gr,en as xr,eo as fr,ep as yr,es as Ho,et as Wo,eu as Cr,kQ as wr,a$ as br,eE as vr,eF as Sr,eG as jr}from"./index-DVgY55Ab.js";import{a as s,P as Ls}from"./sentry-DMXY90dB.js";import{n as a,c as Ze,k as Ao}from"./mui-CR-wYMmN.js";import{bh as Un,Gi as Uo,Gj as mn,Gk as kr,Gl as Ir,cx as $r,bL as yo,cy as Lr,EN as qo,cz as Tr,cA as Ar,l8 as cn,bE as Nt,Gm as Jo,c4 as Ts,Gn as Er,bY as Rr,bo as Vt,Go as Dr,Gp as As,Gq as Es,Gr as Rs,Gs as Ds,Gt as Os,Gu as Eo,kU as Or}from"./zeni-epic-state-BXMuLX_S.js";import{r as Fs,I as zs,n as nn,R as ht}from"./CollapsableReportTable-CZJ_4MUf-TH_6P-Y_.js";import{N as qn}from"./AccountRow-CYv0Uw-I-DQCZ-Htb.js";import{o as Bs}from"./mapTimeframeBalancesToTreeNode-LWHXAvJU-B42MwYQ_.js";import{d as Ko}from"./mapLoadingInProgressToTreeNode-UA-QQZJo-DsDuha6V.js";import{h as Fr}from"./VendorsAccountsSection-vd0V4UXY-BNPavepY.js";import{u as zr,c as Go,d as Br,m as _r}from"./uploadAttachment-DSmux1Yp-Dl4ms4pR.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="ff732563-eb17-4369-be20-0402eabe0fd6",e._sentryDebugIdIdentifier="sentry-dbid-ff732563-eb17-4369-be20-0402eabe0fd6")}catch{}})();const{common:{navBar:{back:Mr},texts:{refresh:Pr,close:Nr,copy:Vr,copied:Hr,open:Wr}},expenseAutomation:{common:{numbers:{maximumCount:Ur}}}}=Ie.getLocalizedStrings(),qr=a(Wa)`
1
+ import{o,bU as ca,Q as ke,gg as Qi,gh as es,V as t,co as da,aa as Pe,aR as ts,u as g,F as Ie,cp as ua,g as bt,bB as ha,i4 as pa,aN as Ue,bS as ye,y as ee,bv as ma,aP as M,i2 as ga,al as ze,gY as xa,gQ as ns,bw as fa,bO as Dt,b7 as os,ai as vt,bJ as is,p as Xe,kh as ya,g4 as Ca,am as pt,x as wa,gi as ba,gj as ss,bo as va,cj as Sa,c1 as ja,eC as gn,b_ as So,a9 as qt,bN as jo,ac as Jt,ki as ka,kj as Ia,kk as $a,kl as ln,km as as,kn as rs,ko as La,kp as Po,kq as Ta,dj as ls,kr as Aa,ks as Ea,kt as Ra,ku as Da,kv as Oa,kw as Fa,kx as za,ky as Ba,kz as _a,kA as Ma,kB as cs,kC as Pa,kD as Na,kE as Va,kF as Ha,gy as ds,b3 as zn,cs as Bn,T as us,P as hs,n as ps,cE as xn,dR as ko,gt as Wa,fN as Ua,g$ as qa,aq as Ja,f as Ka,fy as Ga,aD as ms,kG as Ya,aV as Io,aQ as No,gS as gs,kH as Za,kI as Xa,kJ as Qa,bE as xs,aT as er,gG as Rt,hU as Nn,ez as En,cI as $o,ay as tr,eA as fs,dl as nr,iQ as or,dr as Lo,cy as _n,cB as Mn,ix as nt,b as At,hH as ir,gz as Vn,jf as Vo,dh as ys,d0 as hn,kK as sr,aZ as ar,dq as Cs,r as pn,io as ws,iy as fo,kL as tn,eb as bs,ed as vs,iT as Ss,iU as js,kM as rr,c_ as Pn,ip as ks,fm as Is,eq as Hn,aJ as To,kN as lr,cN as cr,aY as $s,iF as dr,dP as ur,ao as ft,kO as hr,kP as pr,b1 as Wn,em as mr,a8 as gr,en as xr,eo as fr,ep as yr,es as Ho,et as Wo,eu as Cr,kQ as wr,a$ as br,eE as vr,eF as Sr,eG as jr}from"./index-B1Bt1IRt.js";import{a as s,P as Ls}from"./sentry-DMXY90dB.js";import{n as a,c as Ze,k as Ao}from"./mui-CR-wYMmN.js";import{bh as Un,Gi as Uo,Gj as mn,Gk as kr,Gl as Ir,cx as $r,bL as yo,cy as Lr,EN as qo,cz as Tr,cA as Ar,l8 as cn,bE as Nt,Gm as Jo,c4 as Ts,Gn as Er,bY as Rr,bo as Vt,Go as Dr,Gp as As,Gq as Es,Gr as Rs,Gs as Ds,Gt as Os,Gu as Eo,kU as Or}from"./zeni-epic-state-BXMuLX_S.js";import{r as Fs,I as zs,n as nn,R as ht}from"./CollapsableReportTable-CZJ_4MUf-BaEJNkF_.js";import{N as qn}from"./AccountRow-CYv0Uw-I-DqS_-vJ5.js";import{o as Bs}from"./mapTimeframeBalancesToTreeNode-LWHXAvJU-DtVqwMOk.js";import{d as Ko}from"./mapLoadingInProgressToTreeNode-UA-QQZJo-Dm-iOdH1.js";import{h as Fr}from"./VendorsAccountsSection-vd0V4UXY-tXk1Gfok.js";import{u as zr,c as Go,d as Br,m as _r}from"./uploadAttachment-DSmux1Yp-BOdQNanh.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="ff732563-eb17-4369-be20-0402eabe0fd6",e._sentryDebugIdIdentifier="sentry-dbid-ff732563-eb17-4369-be20-0402eabe0fd6")}catch{}})();const{common:{navBar:{back:Mr},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{g as Re,Q as G,F as _,a9 as et,aQ as Fe,cE as tt,V as t,bB as it,ac as at,aR as nt,y as f,o as n,kR as lt,kS as ot,kT as rt,cM as Ve,cJ as dt,e_ as st,fC as ct,fD as pt,cL as ke,ga as mt,kU as ut,cQ as ht,cR as yt,f5 as ze,f6 as Ae,ff as Oe,b as ge,u,fh as gt,ba as ft,b7 as be,p as Ee,am as xt,ar as We}from"./index-DVgY55Ab.js";import{a as J}from"./sentry-DMXY90dB.js";import{n as d}from"./mui-CR-wYMmN.js";import{bL as _e,bh as le,bP as qe,bH as bt,bo as wt}from"./zeni-epic-state-BXMuLX_S.js";import{Y as vt}from"./LabeledDocumentField--JZn0qDn-Ck_rkdmF.js";import{S as te}from"./LabeledText-BJrI_PVT-oE-g3K8U.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="93d101af-aa76-4d3e-8106-1ef83ce0cbe2",e._sentryDebugIdIdentifier="sentry-dbid-93d101af-aa76-4d3e-8106-1ef83ce0cbe2")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=G(),a=Re(),s=_.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(Dt,{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{g as Re,Q as G,F as _,a9 as et,aQ as Fe,cE as tt,V as t,bB as it,ac as at,aR as nt,y as f,o as n,kR as lt,kS as ot,kT as rt,cM as Ve,cJ as dt,e_ as st,fC as ct,fD as pt,cL as ke,ga as mt,kU as ut,cQ as ht,cR as yt,f5 as ze,f6 as Ae,ff as Oe,b as ge,u,fh as gt,ba as ft,b7 as be,p as Ee,am as xt,ar as We}from"./index-B1Bt1IRt.js";import{a as J}from"./sentry-DMXY90dB.js";import{n as d}from"./mui-CR-wYMmN.js";import{bL as _e,bh as le,bP as qe,bH as bt,bo as wt}from"./zeni-epic-state-BXMuLX_S.js";import{Y as vt}from"./LabeledDocumentField--JZn0qDn-BfsHm00S.js";import{S as te}from"./LabeledText-BJrI_PVT-Cnhcrbyr.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="93d101af-aa76-4d3e-8106-1ef83ce0cbe2",e._sentryDebugIdIdentifier="sentry-dbid-93d101af-aa76-4d3e-8106-1ef83ce0cbe2")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=G(),a=Re(),s=_.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(Dt,{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{g as _,Q as w,F as y,aV as n,p as r,V as i,co as v,y as p,cp as k,cq as x,u as g}from"./index-DVgY55Ab.js";import{n as d}from"./mui-CR-wYMmN.js";import"./sentry-DMXY90dB.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="54f22e5c-32ad-4312-85fd-8da21eeb0ea4",e._sentryDebugIdIdentifier="sentry-dbid-54f22e5c-32ad-4312-85fd-8da21eeb0ea4")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(100,100,85)},z=d.div`
1
+ import{g as _,Q as w,F as y,aV as n,p as r,V as i,co as v,y as p,cp as k,cq as x,u as g}from"./index-B1Bt1IRt.js";import{n as d}from"./mui-CR-wYMmN.js";import"./sentry-DMXY90dB.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="54f22e5c-32ad-4312-85fd-8da21eeb0ea4",e._sentryDebugIdIdentifier="sentry-dbid-54f22e5c-32ad-4312-85fd-8da21eeb0ea4")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(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 Y,cI as A,er as G,g as ee,cN as J,y as L,gf as Z,o as i,aP as M,ej as ce,aD as le,g6 as pe,g7 as ue,r as he,p as u,u as g,gD as ge,cZ as be,eA as ye,ao as ve,bG as we,b as W,dj as $e,bH as fe,bF as ke}from"./index-DVgY55Ab.js";import{n as d}from"./mui-CR-wYMmN.js";import{a as V}from"./sentry-DMXY90dB.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]="f6ffefe0-ce4a-4a9d-ab43-7d918bb7a7d6",e._sentryDebugIdIdentifier="sentry-dbid-f6ffefe0-ce4a-4a9d-ab43-7d918bb7a7d6")}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}}=A(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":M("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:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{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:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.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(ie,{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:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.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 Y,cI as A,er as G,g as ee,cN as J,y as L,gf as Z,o as i,aP as M,ej as ce,aD as le,g6 as pe,g7 as ue,r as he,p as u,u as g,gD as ge,cZ as be,eA as ye,ao as ve,bG as we,b as W,dj as $e,bH as fe,bF as ke}from"./index-B1Bt1IRt.js";import{n as d}from"./mui-CR-wYMmN.js";import{a as V}from"./sentry-DMXY90dB.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]="f6ffefe0-ce4a-4a9d-ab43-7d918bb7a7d6",e._sentryDebugIdIdentifier="sentry-dbid-f6ffefe0-ce4a-4a9d-ab43-7d918bb7a7d6")}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}}=A(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":M("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:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{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:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.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(ie,{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:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.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{g as Ee,Q as Y,a9 as Ke,ay as _e,cE as Ye,V as t,bB as Qe,ac as Je,cm as Ce,o,r as ye,F as ue,bN as Xe,aP as P,cl as Ze,b3 as et,dl as tt,cs as lt,aa as ot,T as nt,c_ as it,bE as We,aT as at,y as N,bO as se,u as $,dr as Ie,ai as we,cy as rt,cB as st,cI as dt,dh as je,d0 as me,bS as K,ev as ke,ao as ct,ii as ht,al as mt,bh as gt,ie as pt,ij as De,ch as ut,bt as wt,p as Oe,ik as bt}from"./index-DVgY55Ab.js";import{a as C}from"./sentry-DMXY90dB.js";import{n as i,c as Se}from"./mui-CR-wYMmN.js";import{c4 as xt,FZ as vt}from"./zeni-epic-state-BXMuLX_S.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="58026b72-b482-4a13-ac89-149071cad76a",e._sentryDebugIdIdentifier="sentry-dbid-58026b72-b482-4a13-ac89-149071cad76a")}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{g as Ee,Q as Y,a9 as Ke,ay as _e,cE as Ye,V as t,bB as Qe,ac as Je,cm as Ce,o,r as ye,F as ue,bN as Xe,aP as P,cl as Ze,b3 as et,dl as tt,cs as lt,aa as ot,T as nt,c_ as it,bE as We,aT as at,y as N,bO as se,u as $,dr as Ie,ai as we,cy as rt,cB as st,cI as dt,dh as je,d0 as me,bS as K,ev as ke,ao as ct,ii as ht,al as mt,bh as gt,ie as pt,ij as De,ch as ut,bt as wt,p as Oe,ik as bt}from"./index-B1Bt1IRt.js";import{a as C}from"./sentry-DMXY90dB.js";import{n as i,c as Se}from"./mui-CR-wYMmN.js";import{c4 as xt,FZ as vt}from"./zeni-epic-state-BXMuLX_S.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="58026b72-b482-4a13-ac89-149071cad76a",e._sentryDebugIdIdentifier="sentry-dbid-58026b72-b482-4a13-ac89-149071cad76a")}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,aL as D,F as c,aP as E,aX as b,G as I,aM as Z,aS as j,o as H,ai as x}from"./index-DVgY55Ab.js";import{P as m,a as t}from"./sentry-DMXY90dB.js";import{c as V}from"./SummaryCard-D3ev0zFr-CHfcyxTY.js";import{n as d}from"./mui-CR-wYMmN.js";import{N as y}from"./NavigationArrow-9HOMBxoh-CWFuMeOE.js";import{k as S}from"./NavigationDots-DPf5iy8f-DNlf5jCf.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./ReloadCard-Bf1jxC4B-CjPHohhm.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]="5dea88ae-2977-4a4e-8eda-2f3655c6edca",e._sentryDebugIdIdentifier="sentry-dbid-5dea88ae-2977-4a4e-8eda-2f3655c6edca")}catch{}})();const T=d.div`
1
+ import{V as r,aL as D,F as c,aP as E,aX as b,G as I,aM as Z,aS as j,o as H,ai as x}from"./index-B1Bt1IRt.js";import{P as m,a as t}from"./sentry-DMXY90dB.js";import{c as V}from"./SummaryCard-D3ev0zFr-B8E6EZU6.js";import{n as d}from"./mui-CR-wYMmN.js";import{N as y}from"./NavigationArrow-9HOMBxoh-CW9vEk6t.js";import{k as S}from"./NavigationDots-DPf5iy8f-_rLqbL9I.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./ReloadCard-Bf1jxC4B-CXn0QhEZ.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]="5dea88ae-2977-4a4e-8eda-2f3655c6edca",e._sentryDebugIdIdentifier="sentry-dbid-5dea88ae-2977-4a4e-8eda-2f3655c6edca")}catch{}})();const T=d.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: column;