@zeniai/web-cockpit-ui 1.15.0-dev → 1.15.0-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 (218) hide show
  1. package/dist/assets/{ACHDetailsPage-DYlcHRQe-lxtPXqrl.js → ACHDetailsPage-DYlcHRQe-N6WoPN61.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DpXZ7sco-B8d5E6QI.js → AIPerformancePage-DpXZ7sco-hH2Elv0n.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-BEOrrVQS-L5aJOIaA.js → AccountInfoPage-BEOrrVQS-DHpgF3pM.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BJkLJK6O-CmMcM25y.js → AccountInfoPageContent-BJkLJK6O-B_Tnne4L.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BeLLlH_Y-DAQUptbF.js → AccountLockedInfoModal-BeLLlH_Y-D0MnjBOA.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-D2Hx_l3u-BYxEEZJn.js → AccountReconDetailsDrawerPage-D2Hx_l3u-XPPaB5Cd.js} +1 -1
  7. package/dist/assets/{AccountRow-B0gU16A_-Ks_Pft1z.js → AccountRow-B0gU16A_-CQ1wi8lx.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CuLhbb_W-BwlxSNV8.js → AccountsPromoCardStack-CuLhbb_W-BGljAwv1.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CNkdq378-DvUXwFrO.js → AddAddressForCardDrawer-CNkdq378-CMB9xZbO.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DNPLnpTq-CxRyEwld.js → AddToWalletPage-DNPLnpTq-DebEsPxP.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-Bff4u7T1-DOBvEqCj.js → AgingReportsPage-Bff4u7T1-DokKeN7f.js} +1 -1
  12. package/dist/assets/{AllUserItems-D8zdAu_1-C-zZqgmo.js → AllUserItems-D8zdAu_1-CjPIl0we.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-2NsAj3gO-DfogwLMb.js → ApAgingDetailPage-2NsAj3gO-DhtiO6V-.js} +1 -1
  14. package/dist/assets/{AppBasePage-Uyk9GOud-D7f8hWuo.js → AppBasePage-Uyk9GOud-9AU3007_.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-RX7rx40V-DlBxQF_L.js → AppDrawerContent-RX7rx40V-B20u2QRt.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BKxa78xI-BrpnOxmu.js → ApprovalRulesSettingsPage-BKxa78xI-D8tM29nk.js} +1 -1
  17. package/dist/assets/{ArAgingChart-BxTkvrC9-BgC5YBPR.js → ArAgingChart-BxTkvrC9-vqa4Ip0S.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-CnUgFF1M-Bb_-bJZp.js → ArAgingDetailPage-CnUgFF1M-ClG1FePi.js} +1 -1
  19. package/dist/assets/{AttachmentView-zHGhIkWo-C64qXCAp.js → AttachmentView-zHGhIkWo-BwZ5kbBN.js} +1 -1
  20. package/dist/assets/{BankAccountSection-HRSyjIxV-CV6PAaFg.js → BankAccountSection-HRSyjIxV-brHRV4cr.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CNusQFRM-4Y94-VD5.js → BankAccountWarningSection-CNusQFRM-DBV3XkOz.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-CzumYsEx-f1xJXYSm.js → BankConnectionsSettingsPage-CzumYsEx-DgpLYCV2.js} +1 -1
  23. package/dist/assets/{BillDetailPage-CgCMZFw1-pAtGUG0W.js → BillDetailPage-CgCMZFw1-BtheJRmU.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DnhdBw3a-BtwlYdoz.js → BillPayApprovalRuleDetailPage-DnhdBw3a-CssFiyEt.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-S80WUW0f-Cw75zLq9.js → BillPayApprovalRulesPage-S80WUW0f-CH3tnfj7.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DOEbuNgH-BglT_61W.js → BillPayPromoPage-DOEbuNgH-BVCaGPCE.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-Tb-gBoFT-Po5Zl1ZL.js → BillPaySetUpPage-Tb-gBoFT-Cr_u2hmC.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-ZupDcNHz-B6O6l_7B.js → BillingSettingsPage-ZupDcNHz-jCEOKC-t.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CJrUtHKz-B78eSann.js → BillsBulkReviewDrawerPage-CJrUtHKz-De-Ch5vF.js} +1 -1
  30. package/dist/assets/{BoxItem-42doFhpg-BDC_fDqi.js → BoxItem-42doFhpg-6FkeU-XY.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-De9zCAm7-geq4Sk8A.js → BusinessVerificationPage-De9zCAm7-BRa-IzFb.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-C6jdBRC2-YbNbzp0H.js → CardNumberSubText-C6jdBRC2-BAV9QZ1r.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-B2drd1Nz-BAvHe1xx.js → CashbackDetailPage-B2drd1Nz-B7ge7B30.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-bk-pzoDR-DTGxBulo.js → ChargeCardDetailPage-bk-pzoDR-CPX1kpm2.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-DlI8ZfB0-CMLNFzih.js → ChargeCardListPage-DlI8ZfB0-Cpt1f1gl.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-CooASbVZ-CSvbg9sF.js → ChargeCardListTable-CooASbVZ-hxs2z8Oj.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-DnxJwv-T-SsEma55z.js → ChargeCardPaymentHistoryPage-DnxJwv-T-CRSd2xN3.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-DBSmL-ms-DBZo83zK.js → ChargeCardPromoPage-DBSmL-ms-BSCR0oth.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-cou3N3Iv-BSBfzNx6.js → ChargeCardSetupPage-cou3N3Iv-BY-BjAbF.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-Z05M_t51-O2I36ZAe.js → ChargeCardStatementsPage-Z05M_t51-CJESgOzz.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-B-bTb9ct-CleglNSV.js → CheckDepositDrawerPage-B-bTb9ct-DvMUZiEi.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-DLOi0feI-SZFbl9NV.js → CollapsableReportTable-DLOi0feI-CE3JiL1Z.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-DVpqCb72-DOikAEBj.js → CompanyOfficerDetailsSection-DVpqCb72-DEQPR9vE.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-B8PLT6MG-BUc5HZU7.js → CompanyPassportCard-B8PLT6MG-Dcf1pgW2.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-CQZPgrNF-KJN_fT4M.js → CompanyPassportPage-CQZPgrNF-CNCT66W7.js} +1 -1
  46. package/dist/assets/{CompleteProfile-fNSWTbef-pSYliRNx.js → CompleteProfile-fNSWTbef-0MuTdOY6.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-B6ej_xoO-BzptsIBR.js → ConfettiBurst-B6ej_xoO-DABv3Toa.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BO4_TNWg-EUNhPwxD.js → CreateOrEditVendorPage-BO4_TNWg-BypvEQZA.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-CsHjU-sm-BX_z_XTl.js → CreditCardPaymentDrawerPage-CsHjU-sm-BiBB7qBe.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-DsZTOj_T-DmNXNRTP.js → CurrencySelectField-DsZTOj_T-Cs5B3am8.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-Cvdehiay-Ci2xJTUc.js → CustomerOnboardingActivationPage-Cvdehiay-C2p1e_hG.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-ZVvSCumS-B1XuhxOn.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DrfNm65u-Bi4SumgH.js → CustomerOnboardingDetailPageSkeleton-DrfNm65u-Bfcf5x9y.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-CtIWYEfR-CA6QH1RJ.js → CustomerOnboardingNoStepsPage-CtIWYEfR-BBG89Eio.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingPage-Db6sGSGl-C--ab3S1.js → CustomerOnboardingPage-Db6sGSGl-Bk2dnzqa.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-DHSPLF5F-BeorfiRM.js → CustomerOnboardingProductSuitePage-DHSPLF5F-INu2F67Y.js} +1 -1
  57. package/dist/assets/{Dashboard-cbXIPzMy-DLCpLMr4.js → Dashboard-cbXIPzMy-DdVTFva6.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-Pc0G2Tok-BRmpg3ok.js → DashboardReportPage-Pc0G2Tok-4PwOgMuS.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-CSzhyK4K-DW7vdml5.js → DashboardSidebarBackgroundAnimation-CSzhyK4K-_4MhVp6Q.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-XvCjkHDS-DQ2tNEjM.js → DepositAccTransactionItem-XvCjkHDS-CkK92x11.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-DqPIPHi9-DnAhb4M6.js → DepositAccTransactionListPage-DqPIPHi9-CCs50XhS.js} +1 -1
  62. package/dist/assets/{DomesticWireDetailsPage-DjUvG0tD-BhbPV8HA.js → DomesticWireDetailsPage-DjUvG0tD-BaRIU1gf.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-C7r6PAam-BvXPoC9j.js → DownloadOverlay-C7r6PAam-3HWUFxkI.js} +1 -1
  64. package/dist/assets/{DrawerPage-BEV7nWrL-CqfdeYhP.js → DrawerPage-BEV7nWrL-B7QOMKDy.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-BnQqStEx-Cbm0H-hi.js → EditPeoplePage-BnQqStEx-VWNAEvPn.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-DLjRDR48-DAmxctvz.js → EditReimbursementDetailPage-DLjRDR48-B7QYsuXV.js} +1 -1
  67. package/dist/assets/{EntityDetailPage-BaKoO9FG-BDiZrnyD.js → EntityDetailPage-BaKoO9FG-CWR9O5Vu.js} +1 -1
  68. package/dist/assets/{EntitySummarySection-C361-4tS-UJPRLBoI.js → EntitySummarySection-C361-4tS-CWgr5a0w.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-BLvAzAmO-JyE5jYzJ.js → ExpenseAutomationOverviewPage-BLvAzAmO-DBDaw-GQ.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-CE_qMXSG-DlDCSSSs.js → ExpenseAutomationPage-CE_qMXSG-jdpSxqgy.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-CDowSjHC-DolGHHJS.js → ExpressPayPage-CDowSjHC-mXCHoghD.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-DsJEfObK-B9lh1mEQ.js → FeaturePreviewPage-DsJEfObK-XGUmmika.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-h449vQkQ-BXixJ0VK.js → FollowStepsSection-h449vQkQ-BE334Aav.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-DGOKRsKI-CAnqX1u0.js → GlobalReviewListPage-DGOKRsKI-DaVDGgFW.js} +1 -1
  75. package/dist/assets/{InformationCardStack-xhdujEcL-COTShhF9.js → InformationCardStack-xhdujEcL-CIVbhCcM.js} +1 -1
  76. package/dist/assets/{InsightsCardStack-zRynyTFj-CqnhwImM.js → InsightsCardStack-zRynyTFj-B4MVLR6S.js} +1 -1
  77. package/dist/assets/{InsightsSection-C4fMfxQ4-BGGNiljS.js → InsightsSection-C4fMfxQ4-BrCCIPD4.js} +1 -1
  78. package/dist/assets/{IntegrationsSettingsPage-fqQsGUmw-CRKZpnAv.js → IntegrationsSettingsPage-fqQsGUmw-DbNOn2Dq.js} +1 -1
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-CIMxKADX-CYl4ll0M.js → InternationalWireSwiftDetailsPage-CIMxKADX-vQfJlxQT.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-DpmSzzre-gDdhOqko.js → InternationalWireVerificationPage-DpmSzzre-gQwVFtnD.js} +1 -1
  81. package/dist/assets/{InviteFormPage-C7fxnyMS-ChsV2A2J.js → InviteFormPage-C7fxnyMS-DMg6Plkf.js} +1 -1
  82. package/dist/assets/{InvitePageListView-ktOXziSw-ClMd1Rgx.js → InvitePageListView-ktOXziSw-NBl32MK2.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-C_4adNch-DPbyAjsn.js → InvitePeoplePage-C_4adNch-C4PoOeq9.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-W4vdQGvo-DAuF5vcp.js → InvoiceUploadSection-W4vdQGvo-FT_ZQp4c.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-CdV757XH-B0b8pyku.js → IssueChargeCardPage-CdV757XH-D-R3fw3h.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-Ce_wDml5-CoYtFscl.js → LabeledAddressValue-Ce_wDml5-C7mLpC47.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-BrYbXck--8qVwdGMU.js → LabeledAddressValueField-BrYbXck--Bam2jwZr.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-f2c-AeS4-DagKbuzo.js → LabeledControlledCheckBoxField-f2c-AeS4-CmYbdyel.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-BLOMdq_H-CLNHA2Sp.js → LabeledCountryMultiSelectField-BLOMdq_H-Mb0TF8y4.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-BWuogpe6-DITM3Hn0.js → LabeledCreatableSingleSelectField-BWuogpe6-DHwshDD5.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-Ch2zD7s7-Nw7bBUJi.js → LabeledDocumentField-Ch2zD7s7-GyTO4utg.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-BA8tzPzQ-Big6_AMJ.js → LabeledDropDownFormattedTextField-BA8tzPzQ-nw_8EdfB.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-CA9PUCf3-CGx9bMTu.js → LabeledMultiSelectField-CA9PUCf3-CwZMJ8IS.js} +1 -1
  94. package/dist/assets/{LabeledText-D7eLbH80-Bs-kfAE-.js → LabeledText-D7eLbH80-CyIybQum.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CleX9Raw-CCmlbQ1T.js → LabeledUserSingleSelectWithSubtitlesField-CleX9Raw-DNsRKy1l.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Cte6kRTw-CB2TIDv8.js → LabeledZeniRolesDropDownField-Cte6kRTw-C4oEoOa3.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-DicS5kKg-DOb356xm.js → LinkJETransactionPage-DicS5kKg--q-QNpuk.js} +1 -1
  98. package/dist/assets/{LockCardPage-DRYg_fxU-CFGUEJ0X.js → LockCardPage-DRYg_fxU-C51Kp9sB.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-BJfagMN7-DFWlKz1e.js → LowBalancePopup-BJfagMN7-hy_u1ST6.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-BeUu65LP-h79CD54_.js → MagicLinkACHDetailsPage-BeUu65LP-C57N3ype.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CO7IswK8-3R9uoHM3.js → MagicLinkDomesticWireDetailsPage-CO7IswK8-fvhoI3t7.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-bKdrX7dk-BH9XfZTx.js → MagicLinkInternationalWireDetailsPage-bKdrX7dk-CBCuAFur.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-BRWymdWH-suMYBps1.js → MagicLinkSuccessPage-BRWymdWH-0en44-MJ.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-D5ORaO0D-oMV_fYKL.js → MagicLinkTitleSection-D5ORaO0D-DS4-FSzF.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-B_0EH3Eh-Dx6cptzU.js → MailingDetailsSection-B_0EH3Eh-BBy70f0G.js} +1 -1
  106. package/dist/assets/{Menu-C9v-W9TY-DRVyGpH4.js → Menu-C9v-W9TY-CdQPsVny.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-C4YJleyg-DKQ0iSMd.js → MyBankConnectionsSettingsPage-C4YJleyg-BLn_Y8jS.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-D-6TnbYs-g9LqO-rS.js → MyPendingActivationChargeCardListPage-D-6TnbYs-zrVoCahb.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BMNBcdq8-CzuZjUxB.js → MyProfileSettingsPage-BMNBcdq8-XHX9dn0K.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-Cv7tOmjd-BXBZWsng.js → NavBarWithPicker-Cv7tOmjd-B4VS8rMs.js} +1 -1
  111. package/dist/assets/{NavigationArrow-DAs7ECFZ-rFu_aZmo.js → NavigationArrow-DAs7ECFZ-ChajxXvo.js} +1 -1
  112. package/dist/assets/{NavigationDots-DISWi4Mq-BdTnuTup.js → NavigationDots-DISWi4Mq-BRitr2tA.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-DGFtrDg1-BDtdrE9G.js → NewGlobalMerchantPage-DGFtrDg1-FJKw60xa.js} +1 -1
  114. package/dist/assets/{NoDataChart-gfqauMvY-CAbYCdyQ.js → NoDataChart-gfqauMvY-B8_e9uYZ.js} +1 -1
  115. package/dist/assets/{NoDataTable-C1_gqVi7-D4ANXF0d.js → NoDataTable-C1_gqVi7-D_83KmNf.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CdWhiWjz-DDjAX_Ng.js → NotFoundPage-CdWhiWjz-mzVSL1fM.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-C4SZ6Qwg-DbitLXBD.js → NotificationSettingsPage-C4SZ6Qwg-DTMMSj7i.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-B-g9kb6x-CND-RON9.js → NotificationsListConfig-B-g9kb6x-DKVolf1S.js} +1 -1
  119. package/dist/assets/{NotificationsPage-jxpX3iRG-UGS5Y_9i.js → NotificationsPage-jxpX3iRG-STxMFmZT.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-B13tAq03-Dd8cq0hz.js → OpExByVendorPage-B13tAq03-A6OvBVDB.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-Daz3A7cI-DlMlal7_.js → OverlayContainerPage-Daz3A7cI-CFoauQdP.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-D3kcPKd0-sYhFB1EB.js → PandLWithForecastPage-D3kcPKd0-hdRldmCP.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DjdhL9mT-4CseF2mz.js → PaymentAccountSetupBillingAddressSection-DjdhL9mT-CcdqeHrg.js} +1 -1
  124. package/dist/assets/{PeoplePage-Du_TRX4h-C2Rmmn5d.js → PeoplePage-Du_TRX4h-BB1Y4Qgl.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-y6q9BbqK-B9m9tH0o.js → ProductsCarousel-y6q9BbqK-DHkyY2SN.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-CLQMN7aT-BxeQG0rP.js → PromoBaseCards-CLQMN7aT-Cm9ov18k.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-R4ZWjJsY-DNCk7fny.js → QBOConnectionDialog-R4ZWjJsY-yehsPaVs.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-D--nxfIh-Difre144.js → QBOSetupSection-D--nxfIh-BfHeDAX-.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-OXenWhiy-Cj4gr0h0.js → ReimbursementApprovalRuleDetailPage-OXenWhiy-BtbNuGS1.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-BJaSXRQF-DF9kihjD.js → ReimbursementApprovalRulesPage-BJaSXRQF-BYa_2_jk.js} +1 -1
  131. package/dist/assets/{ReimbursementDetailPage-BeFEzgmP-DZ-1wgaR.js → ReimbursementDetailPage-BeFEzgmP-Du11yvbE.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-C0sHIJm4-YN1RP5MA.js → ReimbursementPromoPage-C0sHIJm4-Cok6Jld9.js} +1 -1
  133. package/dist/assets/{ReimbursementSetUpPage-C85Q6ZnB-DbK7lPyD.js → ReimbursementSetUpPage-C85Q6ZnB-jjYvs1qr.js} +1 -1
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B5RzRA4c-PwRYjy1t.js → ReimbursementsBulkReviewDrawerPage-B5RzRA4c-n3r_bP4u.js} +1 -1
  135. package/dist/assets/{ReloadCard-BT0lSFUP-CF34SUO7.js → ReloadCard-BT0lSFUP-CbQzBMR7.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-rl6XGWA_-CSxPHelL.js → ReportTableViewSelector-rl6XGWA_-xSsBTXCn.js} +1 -1
  137. package/dist/assets/{ReportsPage-DV0bbi_D-1o0LJL4r.js → ReportsPage-DV0bbi_D-DDBThisJ.js} +1 -1
  138. package/dist/assets/{RevenueChart-CxvHfkxr-BmSB0A7U.js → RevenueChart-CxvHfkxr-CcXHujZ-.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-CX2XB44j-BHiKofo4.js → ReviewDetailsPage-CX2XB44j-XXnntYa1.js} +1 -1
  140. package/dist/assets/{ReviewOverlay-DdOo3pcK-BVp3d9bK.js → ReviewOverlay-DdOo3pcK-BLKkY3na.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-C08wfnGb-CFjb8VCB.js → RoleWithToolTip-C08wfnGb-Dt8pf3rP.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BmZgiTVc-C4es4cDL.js → ScheduleDetailsFixedAssetsPage-BmZgiTVc-BdlieAUs.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-BqX1EZGE-B4pi2I25.js → ScheduleDetailsPage-BqX1EZGE-Dm5cTF4H.js} +1 -1
  144. package/dist/assets/{ScheduleSequenceTable-DU3dXX6V-BMdU_3TL.js → ScheduleSequenceTable-DU3dXX6V-DgRTw2P3.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-BOb1-zin.js → ScreenRoutes-C5B2nm9d.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-Clz60vjw-CDcwloM0.js → SetUpAccountSection-Clz60vjw-BPy-vTcv.js} +1 -1
  147. package/dist/assets/{SignIn-B79R5ayU-BtVW5pl0.js → SignIn-B79R5ayU-DjqX3_i4.js} +1 -1
  148. package/dist/assets/{SignInScreen-CsaRmLqD.js → SignInScreen-D15H-ke6.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-C3gJ8vag-CRVtgLhw.js → SpendManagementListViewPage-C3gJ8vag-BNKNPoS5.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-DmCZhFWY-Dsjzi1bn.js → SpendManagementPerTabPage-DmCZhFWY-BHCgFbM_.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-mtTZeiX8-DB_R_dFU.js → SpendManagementSection-mtTZeiX8-DVibaVnB.js} +1 -1
  152. package/dist/assets/{StatementItem-C9KsTdoM-CvW9SwJx.js → StatementItem-C9KsTdoM-JSrgwnvv.js} +1 -1
  153. package/dist/assets/{StatementsPage-DgoXqABR-NsGiWIFr.js → StatementsPage-DgoXqABR-DiOSDFY9.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-DRDFuzoj-DFWyQSIu.js → StatusSwitcher-DRDFuzoj-B6IPcags.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-Bj1N3zLn-DocBm2NX.js → SubTabSwitcher-Bj1N3zLn-wd-JdCXJ.js} +1 -1
  156. package/dist/assets/{SummaryCard-BNrPt21W-z-I2nOL_.js → SummaryCard-BNrPt21W-BJL8pM34.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-svW7FNT3-CdR83JXD.js → TaskManagementPage-svW7FNT3-ChtBYzDC.js} +1 -1
  158. package/dist/assets/{TimeRangeSwitcher-wio5OjI3-BFQK4ykL.js → TimeRangeSwitcher-wio5OjI3-Cq1fKE5o.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcher-234cbGUX-GrV_gRdd.js → TimeframeSwitcher-234cbGUX-l5LDfwJD.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-B65LibQx-O8FBApDz.js → TimeframeSwitcherWithToggle-B65LibQx-CgfT2t3j.js} +1 -1
  161. package/dist/assets/{TopExCard-DFm0V6Sa-CuS6D-g2.js → TopExCard-DFm0V6Sa-DokPd6v3.js} +1 -1
  162. package/dist/assets/{TopExDetailPage-B4UamIS--DvTevd6J.js → TopExDetailPage-B4UamIS--aRxDpGzz.js} +1 -1
  163. package/dist/assets/{TransactionDetailPage-BiGPVM2O-BIqR8D1A.js → TransactionDetailPage-BiGPVM2O-BpiezkYk.js} +1 -1
  164. package/dist/assets/{TransactionList-BQ2dvALf-DExPb7_Y.js → TransactionList-BQ2dvALf-BGLN50Vu.js} +1 -1
  165. package/dist/assets/{TransactionListBig-Ca4yYTqY-DpBtFr0L.js → TransactionListBig-Ca4yYTqY-B4eSCAFS.js} +1 -1
  166. package/dist/assets/{TransactionListPage-CaSfmS5A-B8TNgEwP.js → TransactionListPage-CaSfmS5A-CVPK2Hv1.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-CH7qHDUF-CdstXkoA.js → TransactionVendorDetailPage-CH7qHDUF-DSGG2e4N.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-5IgzdfVN-CuTPVgyu.js → TransferDrawerPage-5IgzdfVN-BEmdtR6B.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-CyMGJE8x-BqzDON9-.js → TreasuryOverviewPage-CyMGJE8x-Cnr8PPbr.js} +1 -1
  170. package/dist/assets/{TreasuryPromoPage-DQabp_BI-lYWtZagK.js → TreasuryPromoPage-DQabp_BI-CofJlBRP.js} +1 -1
  171. package/dist/assets/{TreasuryStatementsPage-DyJbkTPX-DQbO4X2A.js → TreasuryStatementsPage-DyJbkTPX-DN_9QZBI.js} +1 -1
  172. package/dist/assets/{TreasuryTaxLetterPage-BSIqzP7E-BachcLIH.js → TreasuryTaxLetterPage-BSIqzP7E-CKJ2Zwku.js} +1 -1
  173. package/dist/assets/{TrendChart-DLlQzxzM-PPRPEN_l.js → TrendChart-DLlQzxzM-CMELiyuo.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-CjGbUTLS-CZ3CCR3q.js → TrendWithTransactions-CjGbUTLS-CD0r90qi.js} +1 -1
  175. package/dist/assets/{UncategorizedAccountsMappingPage-CgJuXRnT-4h1DDmrY.js → UncategorizedAccountsMappingPage-CgJuXRnT-D10sq8Hj.js} +1 -1
  176. package/dist/assets/{UnitIntegrationPage-Dew9WP2L-B7QG_5u7.js → UnitIntegrationPage-Dew9WP2L-DgxPeDIO.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-CoO-S_pc-DdAruGua.js → UploadAdditionalDocumentOverlay-CoO-S_pc-CZO5yc-K.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-2JZx7Ouz-DmIxVSxV.js → Vendor2FAPopup-2JZx7Ouz-C9W1wY0X.js} +1 -1
  179. package/dist/assets/{VendorACHDetailsPage-DVqS0EVe-BvHJQnhv.js → VendorACHDetailsPage-DVqS0EVe-B814xKcj.js} +1 -1
  180. package/dist/assets/{VendorDetailPage-DcpigP-V-CLpuuI3V.js → VendorDetailPage-DcpigP-V-D-_BNkKi.js} +1 -1
  181. package/dist/assets/{VendorDomesticWireDetailsPage-BrvN0BZx-Cb_0-TC6.js → VendorDomesticWireDetailsPage-BrvN0BZx-Dngp9AgA.js} +1 -1
  182. package/dist/assets/{VendorFiling1099EditablePage-BK_AfMvG-BcMvx9ZT.js → VendorFiling1099EditablePage-BK_AfMvG-rf6ZEr64.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-BnGpb03v-CQ1grmaD.js → VendorFirstReviewPage-BnGpb03v-DxDzB5jn.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-Bs_MIbDV-D_-xScY6.js → VendorInternationalWireDetailsPage-Bs_MIbDV-B5cqs8xU.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CJMBOb8y-CNYkR-9e.js → VendorInternationalWireSwiftDetailsPage-CJMBOb8y-JFzt6kht.js} +1 -1
  186. package/dist/assets/{VendorsAccountsSection-V7IwNhkN-D-eiPu30.js → VendorsAccountsSection-V7IwNhkN-dPhmanP7.js} +1 -1
  187. package/dist/assets/{VerifyDevice-Dc3oeJbw-D5d8Wn7A.js → VerifyDevice-Dc3oeJbw-BcIqlUjJ.js} +1 -1
  188. package/dist/assets/{VideoPlayer-XU1YwohK-BaDXYiVP.js → VideoPlayer-XU1YwohK-COVMQXUR.js} +1 -1
  189. package/dist/assets/{VideoPopup-BKLcIVcV-C8tsI7gn.js → VideoPopup-BKLcIVcV-DiByU4uF.js} +1 -1
  190. package/dist/assets/{WarningsDrawerPage-DE6hNSem-DTjl6BDC.js → WarningsDrawerPage-DE6hNSem-BA-r__o8.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-B3txxml4-BrnXOri_.js → ZeniAccountDetailPage-B3txxml4-KqRJBVU1.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-D8AbqSI--lXEmxuQ-.js → ZeniAccountListViewPage-D8AbqSI--D2iDUh8i.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-CNM-e6b3-CrP6I6p5.js → ZeniAccountNavBarPieces-CNM-e6b3-CeioNZaq.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-CcZOtFpv-D5dUYpiY.js → ZeniAccountPromoPage-CcZOtFpv-CyZSL8CM.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-COA09GMm-BsBo4Yw_.js → ZeniAccountSetupPage-COA09GMm-teRqXGAI.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-DqbjGQWk-D3uyyuTN.js → ZeniCopyright-DqbjGQWk-CiqjxJmF.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-NJ7GeTlf-DqVr8V-Q.js → ZeniTransferAmountSlider-NJ7GeTlf-CnXup6Bu.js} +1 -1
  198. package/dist/assets/{analyticsHelper-C2PAija--B2XRbUD9.js → analyticsHelper-C2PAija--ChGnlyOF.js} +1 -1
  199. package/dist/assets/{analyticsHelper-D1UvETVa.js → analyticsHelper-CLN6SVsb.js} +1 -1
  200. package/dist/assets/{chartTypes-B9jQTJLQ-B-uICCus.js → chartTypes-B9jQTJLQ-COjB_e58.js} +1 -1
  201. package/dist/assets/{commonDimensions-BgvFMAEM-jw0M4GDE.js → commonDimensions-BgvFMAEM-CvQs602P.js} +1 -1
  202. package/dist/assets/{commonTypes-PtDfk70--ByVvU-Tm.js → commonTypes-PtDfk70--Bx1ZBTCB.js} +1 -1
  203. package/dist/assets/{detailCommon-BjRXEZFj-BMuJy_GS.js → detailCommon-BjRXEZFj-D5rvTVmU.js} +1 -1
  204. package/dist/assets/{downloadPdf-ZSABdzxr-CSS_LmUU.js → downloadPdf-ZSABdzxr-DOm7vdU6.js} +1 -1
  205. package/dist/assets/{index-Bs2B-MQ4.js → index-DhfemY__.js} +5 -5
  206. package/dist/assets/{mapLoadingInProgressToTreeNode-ilouYnTd-DoZ0huih.js → mapLoadingInProgressToTreeNode-ilouYnTd-CPpu9ijo.js} +1 -1
  207. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DCsXPZ77-B7l0JH-0.js → mapSectionWithAcOnlyToTreeNode-DCsXPZ77-D8Vbpi-J.js} +1 -1
  208. package/dist/assets/{mapSpacerToTreeNode-CEKoJAIb-Ca0optUS.js → mapSpacerToTreeNode-CEKoJAIb-D8CLxKeM.js} +1 -1
  209. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cki-np8X-STcH44eC.js → mapTimeframeBalancesToTreeNode-Cki-np8X-TAkem-7K.js} +1 -1
  210. package/dist/assets/{mapTimeframeBalancesToTreeNode-q_WorOhv-vY1YncA0.js → mapTimeframeBalancesToTreeNode-q_WorOhv-w4sqAGav.js} +1 -1
  211. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DFZvknEc-BH5TYlER.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DFZvknEc-pc7XxKyQ.js} +1 -1
  212. package/dist/assets/{toCOABalancesWithID-CcsM8Vr1-Ca_vxtPe.js → toCOABalancesWithID-CcsM8Vr1-X6P_swAQ.js} +1 -1
  213. package/dist/assets/{toChartData-CVxc3i6E-Jb1kbIeZ.js → toChartData-CVxc3i6E-C3Ntbj_i.js} +1 -1
  214. package/dist/assets/{uploadAttachment-CBATb9_e-Bf8RMkbX.js → uploadAttachment-CBATb9_e-DKMvJUv_.js} +1 -1
  215. package/dist/assets/{uploadReceipts-CPw64UYa-DwtdWb2a.js → uploadReceipts-CPw64UYa-B-LIRY0h.js} +1 -1
  216. package/dist/index.html +1 -1
  217. package/package.json +1 -1
  218. package/dist/assets/CustomerOnboardingContainerPage-ZVvSCumS-nk4WVXpw.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a8 as se,V as o,ft as Ce,q as be,d as Pe,a9 as we,aO as xe,cC as ke,bA as Ie,o as i,aN as Ae,ac as Oe,aP as Ve,bm as $e,hI as ve,F as Te,eV as je,eW as oe,af as Le,y as q,al as Be,c as A}from"./index-Bs2B-MQ4.js";import{n as c}from"./mui-snKYaegN.js";import{a as O}from"./sentry-gm2R3TtK.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-DjdhL9mT-4CseF2mz.js";import{f as ze}from"./CustomerOnboardingDetailPageSkeleton-DrfNm65u-Bi4SumgH.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./commonTypes-PtDfk70--ByVvU-Tm.js";import"./SetUpAccountSection-Clz60vjw-CDcwloM0.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]="0c618ef0-1b41-4836-a9a8-49f722acc1f6",e._sentryDebugIdIdentifier="sentry-dbid-0c618ef0-1b41-4836-a9a8-49f722acc1f6")}catch{}})();const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",J={titleWidth:new q(343,580,726,826),subTitlePaddingTop:new q(A[3],A[3]),subTitlePaddingBottom:new q(A[3],A[3])},Ee=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:$,googleAPIKey:v,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:B,updateCardPaymentModalState:P,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:w,onUpdateCustomerView:E,...D})=>{const m=be(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionClick:S,onEstablishConnectionSuccess:R,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=D,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:V(e),values:V(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};O.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),O.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(V(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),j("link_payment_account"),E(me,!1,!0))};O.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(V(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=O.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(Oe,{...r,children:o.jsx(Re,{id:Ee(ie),children:o.jsxs(Ne,{children:[o.jsx(He,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionSuccess:R,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:v,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx($e,{signedInUser:b,currentTenant:T,onLogOutClick:G})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:H.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(_e,{handleConfirmCardSetupIntent:B,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:$,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:z,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
1
+ import{a8 as se,V as o,ft as Ce,q as be,d as Pe,a9 as we,aO as xe,cC as ke,bA as Ie,o as i,aN as Ae,ac as Oe,aP as Ve,bm as $e,hI as ve,F as Te,eV as je,eW as oe,af as Le,y as q,al as Be,c as A}from"./index-DhfemY__.js";import{n as c}from"./mui-snKYaegN.js";import{a as O}from"./sentry-gm2R3TtK.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-DjdhL9mT-CcdqeHrg.js";import{f as ze}from"./CustomerOnboardingDetailPageSkeleton-DrfNm65u-Bfcf5x9y.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./commonTypes-PtDfk70--Bx1ZBTCB.js";import"./SetUpAccountSection-Clz60vjw-BPy-vTcv.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]="0c618ef0-1b41-4836-a9a8-49f722acc1f6",e._sentryDebugIdIdentifier="sentry-dbid-0c618ef0-1b41-4836-a9a8-49f722acc1f6")}catch{}})();const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",J={titleWidth:new q(343,580,726,826),subTitlePaddingTop:new q(A[3],A[3]),subTitlePaddingBottom:new q(A[3],A[3])},Ee=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:$,googleAPIKey:v,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:B,updateCardPaymentModalState:P,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:w,onUpdateCustomerView:E,...D})=>{const m=be(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionClick:S,onEstablishConnectionSuccess:R,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=D,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:V(e),values:V(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};O.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),O.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(V(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),j("link_payment_account"),E(me,!1,!0))};O.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(V(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=O.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(Oe,{...r,children:o.jsx(Re,{id:Ee(ie),children:o.jsxs(Ne,{children:[o.jsx(He,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionSuccess:R,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:v,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx($e,{signedInUser:b,currentTenant:T,onLogOutClick:G})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:H.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(_e,{handleConfirmCardSetupIntent:B,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:$,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:z,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{V as l,ft as tn,q as Qe,d as nn,a9 as an,cC as me,aO as Me,H as ft,aB as We,bA as on,o as re,ac as sn,c as K,aP as rn,hI as ln,g7 as cn,fu as yt,eV as Ot,F as Ye,eW as gt,y as fe,gb as ye,cP as dn,al as pn,hJ as ht,ad as St,cN as un,g9 as mn}from"./index-Bs2B-MQ4.js";import{a as m}from"./sentry-gm2R3TtK.js";import{n as P,k as wt}from"./mui-snKYaegN.js";import{bi as j}from"./zeni-epic-state-D2RxwWrl.js";import{r as Ct,t as fn}from"./PaymentAccountSetupBillingAddressSection-DjdhL9mT-4CseF2mz.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DrfNm65u-Bi4SumgH.js";import{z as gn,n as hn}from"./CompanyOfficerDetailsSection-DVpqCb72-DOikAEBj.js";import{t as Sn}from"./QBOSetupSection-D--nxfIh-Difre144.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./commonTypes-PtDfk70--ByVvU-Tm.js";import"./SetUpAccountSection-Clz60vjw-CDcwloM0.js";import"./LabeledAddressValueField-BrYbXck--8qVwdGMU.js";import"./LabeledCountryMultiSelectField-BLOMdq_H-CLNHA2Sp.js";import"./LabeledCreatableSingleSelectField-BWuogpe6-DITM3Hn0.js";import"./LabeledDocumentField-Ch2zD7s7-Nw7bBUJi.js";import"./LabeledMultiSelectField-CA9PUCf3-CGx9bMTu.js";import"./QBOConnectionDialog-R4ZWjJsY-DNCk7fny.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]="8ce37830-ec9e-42d7-a665-837be09b4fd7",n._sentryDebugIdIdentifier="sentry-dbid-8ce37830-ec9e-42d7-a665-837be09b4fd7")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:N,verifiedPhoneNumber:O,onPhoneVerified:h,...w})=>{const y=Qe(),D=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:v}=c,V=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:D??[],allNationalityCountries:r,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:V,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:N,...w})})},bn=P.div`
1
+ import{V as l,ft as tn,q as Qe,d as nn,a9 as an,cC as me,aO as Me,H as ft,aB as We,bA as on,o as re,ac as sn,c as K,aP as rn,hI as ln,g7 as cn,fu as yt,eV as Ot,F as Ye,eW as gt,y as fe,gb as ye,cP as dn,al as pn,hJ as ht,ad as St,cN as un,g9 as mn}from"./index-DhfemY__.js";import{a as m}from"./sentry-gm2R3TtK.js";import{n as P,k as wt}from"./mui-snKYaegN.js";import{bi as j}from"./zeni-epic-state-D2RxwWrl.js";import{r as Ct,t as fn}from"./PaymentAccountSetupBillingAddressSection-DjdhL9mT-CcdqeHrg.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DrfNm65u-Bfcf5x9y.js";import{z as gn,n as hn}from"./CompanyOfficerDetailsSection-DVpqCb72-DEQPR9vE.js";import{t as Sn}from"./QBOSetupSection-D--nxfIh-BfHeDAX-.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./commonTypes-PtDfk70--Bx1ZBTCB.js";import"./SetUpAccountSection-Clz60vjw-BPy-vTcv.js";import"./LabeledAddressValueField-BrYbXck--Bam2jwZr.js";import"./LabeledCountryMultiSelectField-BLOMdq_H-Mb0TF8y4.js";import"./LabeledCreatableSingleSelectField-BWuogpe6-DHwshDD5.js";import"./LabeledDocumentField-Ch2zD7s7-GyTO4utg.js";import"./LabeledMultiSelectField-CA9PUCf3-CwZMJ8IS.js";import"./QBOConnectionDialog-R4ZWjJsY-yehsPaVs.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]="8ce37830-ec9e-42d7-a665-837be09b4fd7",n._sentryDebugIdIdentifier="sentry-dbid-8ce37830-ec9e-42d7-a665-837be09b4fd7")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:N,verifiedPhoneNumber:O,onPhoneVerified:h,...w})=>{const y=Qe(),D=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:v}=c,V=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:D??[],allNationalityCountries:r,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:V,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:N,...w})})},bn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{q as F,a8 as I,aw as _,d as M,V as e,bA as U,o as t,aN as b,bm as W,ft as A,F as V,al as N,af as H,p as l,b as k,ag as R,l as q,a as J,aq as Z,a_ as G}from"./index-Bs2B-MQ4.js";import{a as n}from"./sentry-gm2R3TtK.js";import{n as o}from"./mui-snKYaegN.js";import{FT as K}from"./zeni-epic-state-D2RxwWrl.js";import Q from"./ConfettiBurst-B6ej_xoO-BzptsIBR.js";import{T as X}from"./ProductsCarousel-y6q9BbqK-B9m9tH0o.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="49b3999e-cac6-4f3f-bf79-ce0b7fd6bb4c",i._sentryDebugIdIdentifier="sentry-dbid-49b3999e-cac6-4f3f-bf79-ce0b7fd6bb4c")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=V.getLocalizedStrings(),_e=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:f=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=F(),x=I().analytics,w=_(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,O=M(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:D}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=D;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,K(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:f?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:f,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(fe,{children:[e.jsx(xe,{windowSize:d,children:e.jsx(W,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(A,{isFooterRendered:!1,meetingUrl:p,analytics:x,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=o.div`
1
+ import{q as F,a8 as I,aw as _,d as M,V as e,bA as U,o as t,aN as b,bm as W,ft as A,F as V,al as N,af as H,p as l,b as k,ag as R,l as q,a as J,aq as Z,a_ as G}from"./index-DhfemY__.js";import{a as n}from"./sentry-gm2R3TtK.js";import{n as o}from"./mui-snKYaegN.js";import{FT as K}from"./zeni-epic-state-D2RxwWrl.js";import Q from"./ConfettiBurst-B6ej_xoO-DABv3Toa.js";import{T as X}from"./ProductsCarousel-y6q9BbqK-DHkyY2SN.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="49b3999e-cac6-4f3f-bf79-ce0b7fd6bb4c",i._sentryDebugIdIdentifier="sentry-dbid-49b3999e-cac6-4f3f-bf79-ce0b7fd6bb4c")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=V.getLocalizedStrings(),_e=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:f=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=F(),x=I().analytics,w=_(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,O=M(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:D}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=D;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,K(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:f?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:f,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(fe,{children:[e.jsx(xe,{windowSize:d,children:e.jsx(W,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(A,{isFooterRendered:!1,meetingUrl:p,analytics:x,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{aw as ge,V as e,ax as Pt,ay as Ut,az as Ot,o as a,aA as Tt,H as MA,aB as Ht,aC as se,aD as Yt,aE as Kt,aF as Nt,aG as Gt,aH as zt,aI as qt,aJ as P,F as I,q as $,aK as Y,aL as H,aM as W,aN as y,a9 as Wt,aO as Te,L as He,ac as Xt,aP as Vt,y as Z,aQ as K,aR as _,am as AA,aS as Ye,aT as J,aU as U,aV as HA,p as f,ao as Zt,d as iA,aW as $t,aX as YA,aY as _t,aZ as Ar,a_ as er,ai as F,a$ as SA,c as S,aq as KA,al as RA,b0 as Ke,b1 as Ne,b2 as Ge,b3 as tr,b4 as NA,R as rr,M as or,b5 as ar,b6 as ze,b7 as ir,b8 as gr,b9 as GA,ba as nr,bb as Cr,bc as sr,bd as Er,k as qe,b as dr,be as Br,u as lr,bf as We,bg as Xe,an as Qr,bh as Ir,ag as cr,at as Ve}from"./index-Bs2B-MQ4.js";import{a as t,S as k}from"./sentry-gm2R3TtK.js";import{n as g,a as hr,c as pA,k as R}from"./mui-snKYaegN.js";import{bg as pr,bh as Ze,EL as $e}from"./zeni-epic-state-D2RxwWrl.js";import{v as mr}from"./DashboardSidebarBackgroundAnimation-CSzhyK4K-DW7vdml5.js";import{L as ur,k as xr}from"./ArAgingChart-BxTkvrC9-BgC5YBPR.js";import{E as fr,A as ne,z as _e}from"./ReloadCard-BT0lSFUP-CF34SUO7.js";import{L as wr,O as LA,c as dA}from"./TopExCard-DFm0V6Sa-CuS6D-g2.js";import{Y as kr,X as Dr,H as yr,P as jr,G as vr}from"./RevenueChart-CxvHfkxr-BmSB0A7U.js";import br from"./InsightsCardStack-zRynyTFj-CqnhwImM.js";import{a as Mr}from"./AccountsPromoCardStack-CuLhbb_W-BwlxSNV8.js";import{c as X}from"./SummaryCard-BNrPt21W-z-I2nOL_.js";import{t as Sr,o as Rr}from"./arrow-south-east-round-PEovUgvH-Cun1Cxd1.js";import{N as aA}from"./NavigationArrow-DAs7ECFZ-rFu_aZmo.js";import{k as zA}from"./NavigationDots-DISWi4Mq-BdTnuTup.js";import Lr from"./CompanyPassportCard-B8PLT6MG-BUc5HZU7.js";import{C as Fr}from"./gift-box-Cmt9OgIZ-m0hJlqL5.js";import Jr from"./InformationCardStack-xhdujEcL-COTShhF9.js";import{p as At}from"./chartTypes-B9jQTJLQ-B-uICCus.js";import{h as Pr}from"./toCOABalancesWithID-CcsM8Vr1-Ca_vxtPe.js";import{V as Ur}from"./toChartData-CVxc3i6E-Jb1kbIeZ.js";import{r as Or,i as Tr}from"./graphic-no-data-net-burn-l-CzmycA0m-qDT1cGx5.js";import{N as Hr,J as Yr}from"./PromoBaseCards-CLQMN7aT-BxeQG0rP.js";import{r as Kr}from"./core-9PMMelIA.js";import{N as Nr,I as Gr}from"./VideoPlayer-XU1YwohK-BaDXYiVP.js";import zr from"./ConfettiBurst-B6ej_xoO-BzptsIBR.js";import{F as qr,G as Wr,Y as Xr,X as Vr,R as Zr}from"./recharts-DGmpNqLb.js";import"./liveblocks-48Yy2aTy.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./graphic-no-data-l-DU4J8fDt-cg6FAACa.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="bca3b070-627e-4967-94a1-14ce5d204a22",A._sentryDebugIdIdentifier="sentry-dbid-bca3b070-627e-4967-94a1-14ce5d204a22")}catch{}})();const $r=g(_)`
1
+ import{aw as ge,V as e,ax as Pt,ay as Ut,az as Ot,o as a,aA as Tt,H as MA,aB as Ht,aC as se,aD as Yt,aE as Kt,aF as Nt,aG as Gt,aH as zt,aI as qt,aJ as P,F as I,q as $,aK as Y,aL as H,aM as W,aN as y,a9 as Wt,aO as Te,L as He,ac as Xt,aP as Vt,y as Z,aQ as K,aR as _,am as AA,aS as Ye,aT as J,aU as U,aV as HA,p as f,ao as Zt,d as iA,aW as $t,aX as YA,aY as _t,aZ as Ar,a_ as er,ai as F,a$ as SA,c as S,aq as KA,al as RA,b0 as Ke,b1 as Ne,b2 as Ge,b3 as tr,b4 as NA,R as rr,M as or,b5 as ar,b6 as ze,b7 as ir,b8 as gr,b9 as GA,ba as nr,bb as Cr,bc as sr,bd as Er,k as qe,b as dr,be as Br,u as lr,bf as We,bg as Xe,an as Qr,bh as Ir,ag as cr,at as Ve}from"./index-DhfemY__.js";import{a as t,S as k}from"./sentry-gm2R3TtK.js";import{n as g,a as hr,c as pA,k as R}from"./mui-snKYaegN.js";import{bg as pr,bh as Ze,EL as $e}from"./zeni-epic-state-D2RxwWrl.js";import{v as mr}from"./DashboardSidebarBackgroundAnimation-CSzhyK4K-_4MhVp6Q.js";import{L as ur,k as xr}from"./ArAgingChart-BxTkvrC9-vqa4Ip0S.js";import{E as fr,A as ne,z as _e}from"./ReloadCard-BT0lSFUP-CbQzBMR7.js";import{L as wr,O as LA,c as dA}from"./TopExCard-DFm0V6Sa-DokPd6v3.js";import{Y as kr,X as Dr,H as yr,P as jr,G as vr}from"./RevenueChart-CxvHfkxr-CcXHujZ-.js";import br from"./InsightsCardStack-zRynyTFj-B4MVLR6S.js";import{a as Mr}from"./AccountsPromoCardStack-CuLhbb_W-BGljAwv1.js";import{c as X}from"./SummaryCard-BNrPt21W-BJL8pM34.js";import{t as Sr,o as Rr}from"./arrow-south-east-round-PEovUgvH-Cun1Cxd1.js";import{N as aA}from"./NavigationArrow-DAs7ECFZ-ChajxXvo.js";import{k as zA}from"./NavigationDots-DISWi4Mq-BRitr2tA.js";import Lr from"./CompanyPassportCard-B8PLT6MG-Dcf1pgW2.js";import{C as Fr}from"./gift-box-Cmt9OgIZ-m0hJlqL5.js";import Jr from"./InformationCardStack-xhdujEcL-CIVbhCcM.js";import{p as At}from"./chartTypes-B9jQTJLQ-COjB_e58.js";import{h as Pr}from"./toCOABalancesWithID-CcsM8Vr1-X6P_swAQ.js";import{V as Ur}from"./toChartData-CVxc3i6E-C3Ntbj_i.js";import{r as Or,i as Tr}from"./graphic-no-data-net-burn-l-CzmycA0m-qDT1cGx5.js";import{N as Hr,J as Yr}from"./PromoBaseCards-CLQMN7aT-Cm9ov18k.js";import{r as Kr}from"./core-9PMMelIA.js";import{N as Nr,I as Gr}from"./VideoPlayer-XU1YwohK-COVMQXUR.js";import zr from"./ConfettiBurst-B6ej_xoO-DABv3Toa.js";import{F as qr,G as Wr,Y as Xr,X as Vr,R as Zr}from"./recharts-DGmpNqLb.js";import"./liveblocks-48Yy2aTy.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./graphic-no-data-l-DU4J8fDt-cg6FAACa.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="bca3b070-627e-4967-94a1-14ce5d204a22",A._sentryDebugIdIdentifier="sentry-dbid-bca3b070-627e-4967-94a1-14ce5d204a22")}catch{}})();const $r=g(_)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,Ee=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{q as B,d as Z,F as _,aw as ke,V as s,bA as qe,k as Qe,H as Je,bB as Xe,o as d,y as N,aB as X,bC as Ke,bD as et,ai as oe,c as j,b2 as tt,aT as st,L as Oe,n as Be,p as D,aq as Pe,aS as ot,b9 as at,an as nt,bE as it,au as rt,bF as ct,bG as ne,bH as lt,at as dt,am as pt,bI as ut,bJ as gt}from"./index-Bs2B-MQ4.js";import{a as y,S as K}from"./sentry-gm2R3TtK.js";import{n as u,k as Ie}from"./mui-snKYaegN.js";import{bg as mt,EN as ht,E7 as ft,EO as bt,EP as xt,EQ as _t,ER as wt,ES as St,ET as yt,EU as vt,EV as $t}from"./zeni-epic-state-D2RxwWrl.js";import{m as G,l as se}from"./analyticsHelper-C2PAija--B2XRbUD9.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-rl6XGWA_-CSxPHelL.js";import{q as kt}from"./InsightsSection-C4fMfxQ4-BGGNiljS.js";import{k as Ot,q as Bt,Q as xe,H as ee,N as pe}from"./detailCommon-BjRXEZFj-BMuJy_GS.js";import{G as Pt,P as It,Y as _e,X as we,H as Se}from"./RevenueChart-CxvHfkxr-BmSB0A7U.js";import{C as Nt}from"./NoDataChart-gfqauMvY-CAbYCdyQ.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-wio5OjI3-BFQK4ykL.js";import{b as Ne}from"./TimeframeSwitcher-234cbGUX-GrV_gRdd.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-DLOi0feI-SZFbl9NV.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-DCsXPZ77-B7l0JH-0.js";import{d as Mt}from"./NoDataTable-C1_gqVi7-D4ANXF0d.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-DFZvknEc-BH5TYlER.js";import{d as he}from"./mapLoadingInProgressToTreeNode-ilouYnTd-DoZ0huih.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./NavigationDots-DISWi4Mq-BdTnuTup.js";import"./chartTypes-B9jQTJLQ-B-uICCus.js";import"./toCOABalancesWithID-CcsM8Vr1-Ca_vxtPe.js";import"./toChartData-CVxc3i6E-Jb1kbIeZ.js";import"./AccountRow-B0gU16A_-Ks_Pft1z.js";import"./graphic-no-data-l-DU4J8fDt-cg6FAACa.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]="d7b5631c-728b-4da8-99d2-bf3379e6f672",e._sentryDebugIdIdentifier="sentry-dbid-d7b5631c-728b-4da8-99d2-bf3379e6f672")}catch{}})();const Ft=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
1
+ import{q as B,d as Z,F as _,aw as ke,V as s,bA as qe,k as Qe,H as Je,bB as Xe,o as d,y as N,aB as X,bC as Ke,bD as et,ai as oe,c as j,b2 as tt,aT as st,L as Oe,n as Be,p as D,aq as Pe,aS as ot,b9 as at,an as nt,bE as it,au as rt,bF as ct,bG as ne,bH as lt,at as dt,am as pt,bI as ut,bJ as gt}from"./index-DhfemY__.js";import{a as y,S as K}from"./sentry-gm2R3TtK.js";import{n as u,k as Ie}from"./mui-snKYaegN.js";import{bg as mt,EN as ht,E7 as ft,EO as bt,EP as xt,EQ as _t,ER as wt,ES as St,ET as yt,EU as vt,EV as $t}from"./zeni-epic-state-D2RxwWrl.js";import{m as G,l as se}from"./analyticsHelper-C2PAija--ChGnlyOF.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-rl6XGWA_-xSsBTXCn.js";import{q as kt}from"./InsightsSection-C4fMfxQ4-BrCCIPD4.js";import{k as Ot,q as Bt,Q as xe,H as ee,N as pe}from"./detailCommon-BjRXEZFj-D5rvTVmU.js";import{G as Pt,P as It,Y as _e,X as we,H as Se}from"./RevenueChart-CxvHfkxr-CcXHujZ-.js";import{C as Nt}from"./NoDataChart-gfqauMvY-B8_e9uYZ.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-wio5OjI3-Cq1fKE5o.js";import{b as Ne}from"./TimeframeSwitcher-234cbGUX-l5LDfwJD.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-DLOi0feI-CE3JiL1Z.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-DCsXPZ77-D8Vbpi-J.js";import{d as Mt}from"./NoDataTable-C1_gqVi7-D_83KmNf.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-DFZvknEc-pc7XxKyQ.js";import{d as he}from"./mapLoadingInProgressToTreeNode-ilouYnTd-CPpu9ijo.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./NavigationDots-DISWi4Mq-BRitr2tA.js";import"./chartTypes-B9jQTJLQ-COjB_e58.js";import"./toCOABalancesWithID-CcsM8Vr1-X6P_swAQ.js";import"./toChartData-CVxc3i6E-C3Ntbj_i.js";import"./AccountRow-B0gU16A_-CQ1wi8lx.js";import"./graphic-no-data-l-DU4J8fDt-cg6FAACa.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]="d7b5631c-728b-4da8-99d2-bf3379e6f672",e._sentryDebugIdIdentifier="sentry-dbid-d7b5631c-728b-4da8-99d2-bf3379e6f672")}catch{}})();const Ft=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{aX as f,V as o,b4 as p,o as b}from"./index-Bs2B-MQ4.js";import{a as s}from"./sentry-gm2R3TtK.js";import{a as h,n as m}from"./mui-snKYaegN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7b9105fe-0ac2-4477-a1c1-acaa169e7a3e",e._sentryDebugIdIdentifier="sentry-dbid-7b9105fe-0ac2-4477-a1c1-acaa169e7a3e")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[i,d]=f(l,r),[a,c]=s.useState(null);i!=null&&a==null&&!d&&c(i);const u=e&&t.mode==="light"?.7:.2;return(e||n)&&a!=null?o.jsx(y,{contextWiseOpacity:u,newYearAnimationEnabled:n,children:o.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:a,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
1
+ import{aX as f,V as o,b4 as p,o as b}from"./index-DhfemY__.js";import{a as s}from"./sentry-gm2R3TtK.js";import{a as h,n as m}from"./mui-snKYaegN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7b9105fe-0ac2-4477-a1c1-acaa169e7a3e",e._sentryDebugIdIdentifier="sentry-dbid-7b9105fe-0ac2-4477-a1c1-acaa169e7a3e")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[i,d]=f(l,r),[a,c]=s.useState(null);i!=null&&a==null&&!d&&c(i);const u=e&&t.mode==="light"?.7:.2;return(e||n)&&a!=null?o.jsx(y,{contextWiseOpacity:u,newYearAnimationEnabled:n,children:o.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:a,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aL as y,hx as u,q as $,V as l,o as i,al as c,am as w}from"./index-Bs2B-MQ4.js";import{n as t}from"./mui-snKYaegN.js";import{g as k}from"./BoxItem-42doFhpg-BDC_fDqi.js";import{o as v}from"./commonDimensions-BgvFMAEM-jw0M4GDE.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]="826147fc-0299-479f-af14-543abce753e8",e._sentryDebugIdIdentifier="sentry-dbid-826147fc-0299-479f-af14-543abce753e8")}catch{}})();function H({data:e,boxType:n}){const{counterParty:r,typeName:a,amount:f,logo:p,summary:x,direction:b,status:m}=e,g=r.length>0?r:x,d=y("0,0.00",f),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:p?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(q,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[a!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:a})}):null,l.jsx(P,{windowSize:o,children:b==="debit"?`-${d}`:d})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aL as y,hx as u,q as $,V as l,o as i,al as c,am as w}from"./index-DhfemY__.js";import{n as t}from"./mui-snKYaegN.js";import{g as k}from"./BoxItem-42doFhpg-6FkeU-XY.js";import{o as v}from"./commonDimensions-BgvFMAEM-CvQs602P.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]="826147fc-0299-479f-af14-543abce753e8",e._sentryDebugIdIdentifier="sentry-dbid-826147fc-0299-479f-af14-543abce753e8")}catch{}})();function H({data:e,boxType:n}){const{counterParty:r,typeName:a,amount:f,logo:p,summary:x,direction:b,status:m}=e,g=r.length>0?r:x,d=y("0,0.00",f),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:p?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(q,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[a!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:a})}):null,l.jsx(P,{windowSize:o,children:b==="debit"?`-${d}`:d})]})]});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{d as M,q as S,V as t,bA as I,b2 as F,hG as Y,o as r,F as z,p as u,cr as C,db as E,dc as _,d6 as L,dd as T,y as A,ai as B,al as R,c as g}from"./index-Bs2B-MQ4.js";import{a as x}from"./sentry-gm2R3TtK.js";import{n as a}from"./mui-snKYaegN.js";import{bh as V}from"./zeni-epic-state-D2RxwWrl.js";import{$ as q}from"./BoxItem-42doFhpg-BDC_fDqi.js";import{o as N}from"./commonDimensions-BgvFMAEM-jw0M4GDE.js";import{H as P}from"./DepositAccTransactionItem-XvCjkHDS-DQ2tNEjM.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="a10f47f7-4b46-4d34-819e-f8142e64f442",e._sentryDebugIdIdentifier="sentry-dbid-a10f47f7-4b46-4d34-819e-f8142e64f442")}catch{}})();const l=z.getLocalizedStrings(),G={listItemMargin:new A(g[3],g[8])};function H(e){const i=E(e,o=>o.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,o=>o.length>0);return L(d,o=>({date:o[0].transactionDate,transactions:T(o,m=>m.transactionDate,"desc")}))}const X=Y(H),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),o=S(),m=x.createRef(),p=x.useRef(null),c=X(e.transactions),k=e.depositAccountName,f=c.length===0,j=n=>f===!1?c[n].transactions.length*N.transactionItemHeightResponsive.value(o)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return t.jsx(w,{style:{...h},children:t.jsx(y,{windowSize:o,children:t.jsxs($,{children:[t.jsx(Q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,b)=>t.jsx(P,{data:D,boxType:q(b,s.transactions.length)},b))})]})})})}else return t.jsx(w,{style:{...h},children:t.jsx(J,{children:t.jsx(y,{windowSize:o,children:t.jsx(O,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(K,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor: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})})})]})},w=a.div``,y=a.div`
1
+ import{d as M,q as S,V as t,bA as I,b2 as F,hG as Y,o as r,F as z,p as u,cr as C,db as E,dc as _,d6 as L,dd as T,y as A,ai as B,al as R,c as g}from"./index-DhfemY__.js";import{a as x}from"./sentry-gm2R3TtK.js";import{n as a}from"./mui-snKYaegN.js";import{bh as V}from"./zeni-epic-state-D2RxwWrl.js";import{$ as q}from"./BoxItem-42doFhpg-6FkeU-XY.js";import{o as N}from"./commonDimensions-BgvFMAEM-CvQs602P.js";import{H as P}from"./DepositAccTransactionItem-XvCjkHDS-CkK92x11.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="a10f47f7-4b46-4d34-819e-f8142e64f442",e._sentryDebugIdIdentifier="sentry-dbid-a10f47f7-4b46-4d34-819e-f8142e64f442")}catch{}})();const l=z.getLocalizedStrings(),G={listItemMargin:new A(g[3],g[8])};function H(e){const i=E(e,o=>o.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,o=>o.length>0);return L(d,o=>({date:o[0].transactionDate,transactions:T(o,m=>m.transactionDate,"desc")}))}const X=Y(H),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),o=S(),m=x.createRef(),p=x.useRef(null),c=X(e.transactions),k=e.depositAccountName,f=c.length===0,j=n=>f===!1?c[n].transactions.length*N.transactionItemHeightResponsive.value(o)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return t.jsx(w,{style:{...h},children:t.jsx(y,{windowSize:o,children:t.jsxs($,{children:[t.jsx(Q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,b)=>t.jsx(P,{data:D,boxType:q(b,s.transactions.length)},b))})]})})})}else return t.jsx(w,{style:{...h},children:t.jsx(J,{children:t.jsx(y,{windowSize:o,children:t.jsx(O,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(K,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor: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})})})]})},w=a.div``,y=a.div`
2
2
  margin: ${e=>`${r.sp0} ${G.listItemMargin.valuePx(e.windowSize)}`};
3
3
  `,J=a.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{q as O,a9 as U,F as S,cC as q,aB as H,V as n,cn as Q,co as Z,cp as G,ac as J,aP as K,y as b,eS as X,o as Y,b8 as ee,c as o}from"./index-Bs2B-MQ4.js";import{a as w}from"./sentry-gm2R3TtK.js";import{n as h}from"./mui-snKYaegN.js";import{bi as T}from"./zeni-epic-state-D2RxwWrl.js";import{e as ne}from"./BankAccountSection-HRSyjIxV-CV6PAaFg.js";import{M as te}from"./MagicLinkTitleSection-D5ORaO0D-oMV_fYKL.js";import{W as ae,A as oe}from"./BankAccountWarningSection-CNusQFRM-4Y94-VD5.js";import{T as ie}from"./MailingDetailsSection-B_0EH3Eh-Dx6cptzU.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]="17ddea24-5903-47a0-b016-c9749c3c3e2a",e._sentryDebugIdIdentifier="sentry-dbid-17ddea24-5903-47a0-b016-c9749c3c3e2a")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},B="domesticWireDetailsPage",k="bankAccountSection",$="mailingAddressSection",D=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:g,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:C}=e,u=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:w.useMemo(()=>se(s,r),[s,r])}),[W,f]=w.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,F={onOkClick:()=>{f(!1),c.reset(),C?.()},onCancelClick:()=>{f(!1)}},_=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&X.test(d)===!0&&R?.(d)};w.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>_(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!H(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(Q,{titleComponent:n.jsx(G,{children:a.discardTitle}),descriptionComponent:n.jsx(Z,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:F}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:C,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(J,{...c,children:n.jsxs("form",{id:D(B),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(K,{formId:D(B),primaryBtn:{label: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:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?f(!0):(c.reset(),C?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
1
+ import{q as O,a9 as U,F as S,cC as q,aB as H,V as n,cn as Q,co as Z,cp as G,ac as J,aP as K,y as b,eS as X,o as Y,b8 as ee,c as o}from"./index-DhfemY__.js";import{a as w}from"./sentry-gm2R3TtK.js";import{n as h}from"./mui-snKYaegN.js";import{bi as T}from"./zeni-epic-state-D2RxwWrl.js";import{e as ne}from"./BankAccountSection-HRSyjIxV-brHRV4cr.js";import{M as te}from"./MagicLinkTitleSection-D5ORaO0D-DS4-FSzF.js";import{W as ae,A as oe}from"./BankAccountWarningSection-CNusQFRM-DBV3XkOz.js";import{T as ie}from"./MailingDetailsSection-B_0EH3Eh-BBy70f0G.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]="17ddea24-5903-47a0-b016-c9749c3c3e2a",e._sentryDebugIdIdentifier="sentry-dbid-17ddea24-5903-47a0-b016-c9749c3c3e2a")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},B="domesticWireDetailsPage",k="bankAccountSection",$="mailingAddressSection",D=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:g,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:C}=e,u=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:w.useMemo(()=>se(s,r),[s,r])}),[W,f]=w.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,F={onOkClick:()=>{f(!1),c.reset(),C?.()},onCancelClick:()=>{f(!1)}},_=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&X.test(d)===!0&&R?.(d)};w.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>_(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!H(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(Q,{titleComponent:n.jsx(G,{children:a.discardTitle}),descriptionComponent:n.jsx(Z,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:F}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:C,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(J,{...c,children:n.jsxs("form",{id:D(B),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(K,{formId:D(B),primaryBtn:{label: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:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?f(!0):(c.reset(),C?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
2
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F,c3 as dt,bM as Ue,c as B,b8 as qe,al as L,bP as _e,b as te,am as be,n as ae,d as We,bR as ct,c4 as xe,c5 as ge,k as Ge,c6 as Ze,bK as pt,b9 as mt,ao as ye,c7 as Z,c8 as ft,c9 as ht,bI as ut,bQ as bt,aq as xt,ca as gt,bZ as yt,au as $t}from"./index-Bs2B-MQ4.js";import{a as h,S as $e}from"./sentry-gm2R3TtK.js";import{n,k as Ke}from"./mui-snKYaegN.js";import{F4 as me,F5 as C,F6 as K,bL as P,F7 as X,F8 as we,F9 as U,bh as wt,Fa as _,Fb as Ft,Fc as vt,Fd as jt,Fe as Ot,Ff as Yt}from"./zeni-epic-state-D2RxwWrl.js";import{m as Dt}from"./analyticsHelper-C2PAija--B2XRbUD9.js";import{g as kt,x as _t}from"./ReportTableViewSelector-rl6XGWA_-CSxPHelL.js";import{t as Ct}from"./page-detail-CWX5S47F-D1nl1r9M.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./CollapsableReportTable-DLOi0feI-SZFbl9NV.js";import"./AccountRow-B0gU16A_-Ks_Pft1z.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]="e0f8f1ab-1156-4b1e-825c-90f960638505",e._sentryDebugIdIdentifier="sentry-dbid-e0f8f1ab-1156-4b1e-825c-90f960638505")}catch{}})();const Pt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function ie(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=K(r,e,a-1,o),{startOfTimeframeFY:l}=C(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return oe(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=C(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=_(l,e);const{fyYear:u}=_(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
1
+ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F,c3 as dt,bM as Ue,c as B,b8 as qe,al as L,bP as _e,b as te,am as be,n as ae,d as We,bR as ct,c4 as xe,c5 as ge,k as Ge,c6 as Ze,bK as pt,b9 as mt,ao as ye,c7 as Z,c8 as ft,c9 as ht,bI as ut,bQ as bt,aq as xt,ca as gt,bZ as yt,au as $t}from"./index-DhfemY__.js";import{a as h,S as $e}from"./sentry-gm2R3TtK.js";import{n,k as Ke}from"./mui-snKYaegN.js";import{F4 as me,F5 as C,F6 as K,bL as P,F7 as X,F8 as we,F9 as U,bh as wt,Fa as _,Fb as Ft,Fc as vt,Fd as jt,Fe as Ot,Ff as Yt}from"./zeni-epic-state-D2RxwWrl.js";import{m as Dt}from"./analyticsHelper-C2PAija--ChGnlyOF.js";import{g as kt,x as _t}from"./ReportTableViewSelector-rl6XGWA_-xSsBTXCn.js";import{t as Ct}from"./page-detail-CWX5S47F-D1nl1r9M.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./CollapsableReportTable-DLOi0feI-CE3JiL1Z.js";import"./AccountRow-B0gU16A_-CQ1wi8lx.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]="e0f8f1ab-1156-4b1e-825c-90f960638505",e._sentryDebugIdIdentifier="sentry-dbid-e0f8f1ab-1156-4b1e-825c-90f960638505")}catch{}})();const Pt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function ie(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=K(r,e,a-1,o),{startOfTimeframeFY:l}=C(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return oe(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=C(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=_(l,e);const{fyYear:u}=_(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
2
2
  padding: ${s.sp3};
3
3
  border: 1px solid ${e=>e.borderColor.default};
4
4
  border-radius: ${s.sp1};
@@ -1,4 +1,4 @@
1
- import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,R as c,M as g,L as b,c as t,aL as L,jX as k,jY as D,jZ as R}from"./index-Bs2B-MQ4.js";import{n as o}from"./mui-snKYaegN.js";import"./sentry-gm2R3TtK.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="510c7618-e815-4f34-9ea2-bac38ea52e7e",e._sentryDebugIdIdentifier="sentry-dbid-510c7618-e815-4f34-9ea2-bac38ea52e7e")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},j={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},p=h.getLocalizedStrings().rewardsPage.drawerPage,C=({rewardsPlan:e})=>{const n=[_(),I(),M({rewardsPlan:e})],d=a();return i.jsx(q,{children:n.map((v,f)=>i.jsxs(X,{children:[i.jsx(F,{children:v}),f<n.length-1?i.jsx(E,{windowSize:d}):null]},`step_${f}`))})},_=()=>{const e=a(),n=p.item1;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(A,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},I=()=>{const e=a(),n=p.item2;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(B,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=p.item3;return i.jsxs(x,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(N,{windowSize:n})}),i.jsx(z,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(S,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},x=o.div`
1
+ import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,R as c,M as g,L as b,c as t,aL as L,jX as k,jY as D,jZ as R}from"./index-DhfemY__.js";import{n as o}from"./mui-snKYaegN.js";import"./sentry-gm2R3TtK.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="510c7618-e815-4f34-9ea2-bac38ea52e7e",e._sentryDebugIdIdentifier="sentry-dbid-510c7618-e815-4f34-9ea2-bac38ea52e7e")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},j={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},p=h.getLocalizedStrings().rewardsPage.drawerPage,C=({rewardsPlan:e})=>{const n=[_(),I(),M({rewardsPlan:e})],d=a();return i.jsx(q,{children:n.map((v,f)=>i.jsxs(X,{children:[i.jsx(F,{children:v}),f<n.length-1?i.jsx(E,{windowSize:d}):null]},`step_${f}`))})},_=()=>{const e=a(),n=p.item1;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(A,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},I=()=>{const e=a(),n=p.item2;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(B,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=p.item3;return i.jsxs(x,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(N,{windowSize:n})}),i.jsx(z,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(S,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},x=o.div`
2
2
  border: 1px solid ${e=>e.theme.colors.grey3};
3
3
  border-radius: ${r.sp2};
4
4
  box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.dropShadowNormal}`};
@@ -1,4 +1,4 @@
1
- import{q as ie,fP as ae,d as de,a9 as pe,aO as ce,V as t,cn as ue,ap as me,co as fe,cp as ge,gM as he,ct as ye,o as n,bR as be,aN as L,ac as ve,aP as xe,y as P,F as $e,cy as we,fS as Re,fT as Ce,fU as Ie,b8 as Oe,p as W,cW as Te,c as u}from"./index-Bs2B-MQ4.js";import{a as w}from"./sentry-gm2R3TtK.js";import{n as l}from"./mui-snKYaegN.js";import{FB as _e,bg as je}from"./zeni-epic-state-D2RxwWrl.js";import{f as Pe}from"./AllUserItems-D8zdAu_1-C-zZqgmo.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./LabeledUserSingleSelectWithSubtitlesField-CleX9Raw-CCmlbQ1T.js";import"./RoleWithToolTip-C08wfnGb-CFjb8VCB.js";import"./LabeledZeniRolesDropDownField-Cte6kRTw-CB2TIDv8.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]="288b4ee3-0aa5-4005-8eb1-ffbcbfff9dd4",e._sentryDebugIdIdentifier="sentry-dbid-288b4ee3-0aa5-4005-8eb1-ffbcbfff9dd4")}catch{}})();const I={containerPaddingTop:new P(u[3],u[3]),containerPaddingLeft:new P(u[3],u[6],u[6]),containerPaddingRight:new P(u[3],u[6],u[8]),buttonWidth:new P(85,85)},M="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:O,mode:p,isZeniTenant:k,onCloseClick:T,onResetClick:_,onSaveClick:m,onDeleteUser:Q,onPeopleLocalDataUpdated:Y,analytics:U,isReimbursementDisabled:z,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const C=ie(),[K,S]=w.useState(!1),[X,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),D=w.useMemo(()=>ae(z,N,Z,b,v,A,q),[z,N,Z,b,v,A,q]),G=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:J(e.people,o,y,p,D,b,v),values:J(e.people,o,y,p,D,b,v)}),se=i.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const f=i.getValues();let r=!0;return f.userItems.forEach((g,x)=>{const{role:B,department:a,nonZeniRole:h,manager:c}=g;if(p==="zeni_only"){const s=B.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(f,r)=>{const g=[],{userItems:x}=r,B=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(B!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(E=>_e(E.selectedOption?.value)).filter(E=>E!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=je(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}g.push(h)}}),Y(g)};w.useEffect(()=>{const f=i.watch((r,{name:g})=>{g!=null&&r!=null&&ne(g,r)});return()=>{f.unsubscribe()}});const oe=()=>{S(!0)},re={onOkClick:()=>{const f=e.person;U?.trackRemoveUserAccess(f.userRole.userRoles,f.userRole.userEmail),Q?.(e.person)},onCancelClick:()=>{S(!1)}},F=ce(e.person?.update),j=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{j==null&&F==="removeUsers"&&(S(!1),_?.())},[j,F]),t.jsxs(t.Fragment,{children:[K===!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:j==="removeUsers",isDisabled:j==="removeUsers",style:{background:G.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Le,{children:t.jsx(Ue,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:G.colors.grey4,style:{zIndex:4},onCloseClick:T,isTitleAlignLeft:C==="small"}),t.jsxs(ke,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(Ee,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Se,{children:[t.jsx(De,{children:e.person?.user?.firstName?t.jsxs(Be,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ze,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ne,{windowsize:C})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${M}_form`,onSubmit:se,children:t.jsx(Pe,{control:i.control,sectionId:R,deleteConfirmationIndex:X,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:k,classList:y,managersList:o,controllersList:O,customerRoleOptions:D,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:U})})})]}),t.jsx(xe,{formId:`${M}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:T},separatorStyle:{marginRight:n.sp4}})]})},J=(e,o,y,O,p,k,T)=>{const _=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:O==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(k,T)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:_,selectedOption:_.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,ke=l.div`
1
+ import{q as ie,fP as ae,d as de,a9 as pe,aO as ce,V as t,cn as ue,ap as me,co as fe,cp as ge,gM as he,ct as ye,o as n,bR as be,aN as L,ac as ve,aP as xe,y as P,F as $e,cy as we,fS as Re,fT as Ce,fU as Ie,b8 as Oe,p as W,cW as Te,c as u}from"./index-DhfemY__.js";import{a as w}from"./sentry-gm2R3TtK.js";import{n as l}from"./mui-snKYaegN.js";import{FB as _e,bg as je}from"./zeni-epic-state-D2RxwWrl.js";import{f as Pe}from"./AllUserItems-D8zdAu_1-CjPIl0we.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./LabeledUserSingleSelectWithSubtitlesField-CleX9Raw-DNsRKy1l.js";import"./RoleWithToolTip-C08wfnGb-Dt8pf3rP.js";import"./LabeledZeniRolesDropDownField-Cte6kRTw-C4oEoOa3.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]="288b4ee3-0aa5-4005-8eb1-ffbcbfff9dd4",e._sentryDebugIdIdentifier="sentry-dbid-288b4ee3-0aa5-4005-8eb1-ffbcbfff9dd4")}catch{}})();const I={containerPaddingTop:new P(u[3],u[3]),containerPaddingLeft:new P(u[3],u[6],u[6]),containerPaddingRight:new P(u[3],u[6],u[8]),buttonWidth:new P(85,85)},M="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:O,mode:p,isZeniTenant:k,onCloseClick:T,onResetClick:_,onSaveClick:m,onDeleteUser:Q,onPeopleLocalDataUpdated:Y,analytics:U,isReimbursementDisabled:z,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const C=ie(),[K,S]=w.useState(!1),[X,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),D=w.useMemo(()=>ae(z,N,Z,b,v,A,q),[z,N,Z,b,v,A,q]),G=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:J(e.people,o,y,p,D,b,v),values:J(e.people,o,y,p,D,b,v)}),se=i.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const f=i.getValues();let r=!0;return f.userItems.forEach((g,x)=>{const{role:B,department:a,nonZeniRole:h,manager:c}=g;if(p==="zeni_only"){const s=B.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(f,r)=>{const g=[],{userItems:x}=r,B=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(B!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(E=>_e(E.selectedOption?.value)).filter(E=>E!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=je(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}g.push(h)}}),Y(g)};w.useEffect(()=>{const f=i.watch((r,{name:g})=>{g!=null&&r!=null&&ne(g,r)});return()=>{f.unsubscribe()}});const oe=()=>{S(!0)},re={onOkClick:()=>{const f=e.person;U?.trackRemoveUserAccess(f.userRole.userRoles,f.userRole.userEmail),Q?.(e.person)},onCancelClick:()=>{S(!1)}},F=ce(e.person?.update),j=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{j==null&&F==="removeUsers"&&(S(!1),_?.())},[j,F]),t.jsxs(t.Fragment,{children:[K===!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:j==="removeUsers",isDisabled:j==="removeUsers",style:{background:G.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Le,{children:t.jsx(Ue,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:G.colors.grey4,style:{zIndex:4},onCloseClick:T,isTitleAlignLeft:C==="small"}),t.jsxs(ke,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(Ee,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Se,{children:[t.jsx(De,{children:e.person?.user?.firstName?t.jsxs(Be,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ze,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ne,{windowsize:C})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${M}_form`,onSubmit:se,children:t.jsx(Pe,{control:i.control,sectionId:R,deleteConfirmationIndex:X,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:k,classList:y,managersList:o,controllersList:O,customerRoleOptions:D,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:U})})})]}),t.jsx(xe,{formId:`${M}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:T},separatorStyle:{marginRight:n.sp4}})]})},J=(e,o,y,O,p,k,T)=>{const _=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:O==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(k,T)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:_,selectedOption:_.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,ke=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{aO as li,d as ft,aw as wt,a9 as an,ay as Ii,aB as rn,q as Le,gf as ao,gh as ro,gi as lo,V as t,gC as so,ac as ln,cn as di,co as sn,cp as dn,aN as q,o as i,y as d,bA as Ti,bn as co,dq as uo,gj as mo,gu as cn,gp as Di,aP as un,ao as mn,gq as po,gD as Ve,ew as Ke,e$ as ci,gE as Bt,F as fe,k as xt,gF as ho,p as j,L as pn,aq as ui,c as a,bw as go,gs as yo,cD as bo,eE as mi,gG as Mt,fe as Se,cF as pi,fh as $e,cP as nt,eg as fo,fd as hn,b as Lt,cI as gn,cH as tt,eo as Te,ai as hi,gH as wo,fw as xo,cC as So,aT as ji,fq as $o,bv as vo,b9 as yn,u as Co,ef as ko,b6 as Ft,gk as Io,bT as bn,R as gi,M as fn,cX as wn,cg as Et,eS as To,b8 as Do,c$ as jo,fk as Oo,al as yi,n as Oi,bR as xn,b0 as Pi,cW as Po,am as Ro,cL as Sn,aL as Lo,gI as $n,gJ as si,g8 as Ri,gK as At,cV as Ao,ge as zo,bI as Bo,cU as Mo}from"./index-Bs2B-MQ4.js";import{a as S,S as kt}from"./sentry-gm2R3TtK.js";import{n}from"./mui-snKYaegN.js";import{a as Fo}from"./liveblocks-48Yy2aTy.js";import{FI as Eo,bL as it,bP as vn,bo as Cn,bm as Li,FJ as Ai,bh as bi}from"./zeni-epic-state-D2RxwWrl.js";import kn from"./InvoiceUploadSection-W4vdQGvo-DAuF5vcp.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-BWuogpe6-DITM3Hn0.js";import{S as Uo}from"./CurrencySelectField-DsZTOj_T-DmNXNRTP.js";import{e as _o}from"./BankAccountSection-HRSyjIxV-CV6PAaFg.js";import{W as Vo,A as qo}from"./BankAccountWarningSection-CNusQFRM-4Y94-VD5.js";import{o as Ho}from"./radio-default-CiSgisfh-BY9nqKUM.js";import"./core-9PMMelIA.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./recharts-DGmpNqLb.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./AttachmentView-zHGhIkWo-C64qXCAp.js";import"./uploadReceipts-CPw64UYa-DwtdWb2a.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]="d694466b-518a-4a54-906a-3e214aed2c37",e._sentryDebugIdIdentifier="sentry-dbid-d694466b-518a-4a54-906a-3e214aed2c37")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Ce}},dateFormat:Ko,common:Go}=fe.getLocalizedStrings(),Yo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const w=Le(),s=wt(),y=Mt(),$=`dashboard_${s.currentTenant?.companyId}`,P=ft(),{formState:{errors:I},getValues:R,trigger:H}=nt(),L=Go.strings.empty,T=R(Me(p,"distanceInMiles")),B=Bi.largeLabelWidth.value(w),te=R(Me(p,"class")),ne=r.find(z=>z.classId===te?.selectedOption),oe=Me(p,"class"),Y=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||Y)&&H(oe)},[te?.selectedOption,ne?.isDeleted,r,oe,H]);const K={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=z=>r.filter(ae=>ae.classId===z)[0]?.accountingClassNumber,Z=r.find(z=>z.classId===o.class),V={valueContainer:z=>({...z,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:$,companyId:s.currentTenant?.companyId??L,companyName:s.currentTenant?.companyName??L,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??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{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??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("amount",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{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??L,companyName:s.currentTenant?.companyName??L,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??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("class",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(si,{isLoading:!1,label:{label:Ce.department,width:B},additionalLabelInfo:ne?.isDeleted===!0&&Te(I,Me(p,"class"))?Ce.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Me(p,"class"),placeholder:tt(Ce.department),valueToId:z=>F(z),defaultValue:{selectedOption:Z?.classId,allOptions:Ke(k,[])},style:{width:"100%"},customStyleConfig:V,registerOptions:{required:!0,validate:z=>z?.selectedOption==null?!1:r.find(ae=>ae.classId===z?.selectedOption)?.isDeleted===!0?Ce.deletedClassError:!0}},style:{borderBottom:`1px solid ${P.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},It=n.div`
1
+ import{aO as li,d as ft,aw as wt,a9 as an,ay as Ii,aB as rn,q as Le,gf as ao,gh as ro,gi as lo,V as t,gC as so,ac as ln,cn as di,co as sn,cp as dn,aN as q,o as i,y as d,bA as Ti,bn as co,dq as uo,gj as mo,gu as cn,gp as Di,aP as un,ao as mn,gq as po,gD as Ve,ew as Ke,e$ as ci,gE as Bt,F as fe,k as xt,gF as ho,p as j,L as pn,aq as ui,c as a,bw as go,gs as yo,cD as bo,eE as mi,gG as Mt,fe as Se,cF as pi,fh as $e,cP as nt,eg as fo,fd as hn,b as Lt,cI as gn,cH as tt,eo as Te,ai as hi,gH as wo,fw as xo,cC as So,aT as ji,fq as $o,bv as vo,b9 as yn,u as Co,ef as ko,b6 as Ft,gk as Io,bT as bn,R as gi,M as fn,cX as wn,cg as Et,eS as To,b8 as Do,c$ as jo,fk as Oo,al as yi,n as Oi,bR as xn,b0 as Pi,cW as Po,am as Ro,cL as Sn,aL as Lo,gI as $n,gJ as si,g8 as Ri,gK as At,cV as Ao,ge as zo,bI as Bo,cU as Mo}from"./index-DhfemY__.js";import{a as S,S as kt}from"./sentry-gm2R3TtK.js";import{n}from"./mui-snKYaegN.js";import{a as Fo}from"./liveblocks-48Yy2aTy.js";import{FI as Eo,bL as it,bP as vn,bo as Cn,bm as Li,FJ as Ai,bh as bi}from"./zeni-epic-state-D2RxwWrl.js";import kn from"./InvoiceUploadSection-W4vdQGvo-FT_ZQp4c.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-BWuogpe6-DHwshDD5.js";import{S as Uo}from"./CurrencySelectField-DsZTOj_T-Cs5B3am8.js";import{e as _o}from"./BankAccountSection-HRSyjIxV-brHRV4cr.js";import{W as Vo,A as qo}from"./BankAccountWarningSection-CNusQFRM-DBV3XkOz.js";import{o as Ho}from"./radio-default-CiSgisfh-BY9nqKUM.js";import"./core-9PMMelIA.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./recharts-DGmpNqLb.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./AttachmentView-zHGhIkWo-BwZ5kbBN.js";import"./uploadReceipts-CPw64UYa-B-LIRY0h.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]="d694466b-518a-4a54-906a-3e214aed2c37",e._sentryDebugIdIdentifier="sentry-dbid-d694466b-518a-4a54-906a-3e214aed2c37")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Ce}},dateFormat:Ko,common:Go}=fe.getLocalizedStrings(),Yo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const w=Le(),s=wt(),y=Mt(),$=`dashboard_${s.currentTenant?.companyId}`,P=ft(),{formState:{errors:I},getValues:R,trigger:H}=nt(),L=Go.strings.empty,T=R(Me(p,"distanceInMiles")),B=Bi.largeLabelWidth.value(w),te=R(Me(p,"class")),ne=r.find(z=>z.classId===te?.selectedOption),oe=Me(p,"class"),Y=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||Y)&&H(oe)},[te?.selectedOption,ne?.isDeleted,r,oe,H]);const K={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=z=>r.filter(ae=>ae.classId===z)[0]?.accountingClassNumber,Z=r.find(z=>z.classId===o.class),V={valueContainer:z=>({...z,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:$,companyId:s.currentTenant?.companyId??L,companyName:s.currentTenant?.companyName??L,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??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{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??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("amount",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{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??L,companyName:s.currentTenant?.companyName??L,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??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("class",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(si,{isLoading:!1,label:{label:Ce.department,width:B},additionalLabelInfo:ne?.isDeleted===!0&&Te(I,Me(p,"class"))?Ce.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Me(p,"class"),placeholder:tt(Ce.department),valueToId:z=>F(z),defaultValue:{selectedOption:Z?.classId,allOptions:Ke(k,[])},style:{width:"100%"},customStyleConfig:V,registerOptions:{required:!0,validate:z=>z?.selectedOption==null?!1:r.find(ae=>ae.classId===z?.selectedOption)?.isDeleted===!0?Ce.deletedClassError:!0}},style:{borderBottom:`1px solid ${P.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},It=n.div`
2
2
  display: flex;
3
3
  flex: 1;
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{d as b,F as T,aT as x,V as i,ax as v,o,H as p}from"./index-Bs2B-MQ4.js";import{n as a}from"./mui-snKYaegN.js";import{R as C}from"./TrendWithTransactions-CjGbUTLS-CZ3CCR3q.js";import"./sentry-gm2R3TtK.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./TrendChart-DLlQzxzM-PPRPEN_l.js";import"./chartTypes-B9jQTJLQ-B-uICCus.js";import"./toCOABalancesWithID-CcsM8Vr1-Ca_vxtPe.js";import"./toChartData-CVxc3i6E-Jb1kbIeZ.js";import"./NoDataChart-gfqauMvY-CAbYCdyQ.js";import"./InsightsSection-C4fMfxQ4-BGGNiljS.js";import"./NavigationDots-DISWi4Mq-BdTnuTup.js";import"./TransactionList-BQ2dvALf-DExPb7_Y.js";import"./BoxItem-42doFhpg-BDC_fDqi.js";import"./commonDimensions-BgvFMAEM-jw0M4GDE.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]="a864d318-7954-47df-9511-1531bccc079d",t._sentryDebugIdIdentifier="sentry-dbid-a864d318-7954-47df-9511-1531bccc079d")}catch{}})();const w=a.div`
1
+ import{d as b,F as T,aT as x,V as i,ax as v,o,H as p}from"./index-DhfemY__.js";import{n as a}from"./mui-snKYaegN.js";import{R as C}from"./TrendWithTransactions-CjGbUTLS-CD0r90qi.js";import"./sentry-gm2R3TtK.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./TrendChart-DLlQzxzM-CMELiyuo.js";import"./chartTypes-B9jQTJLQ-COjB_e58.js";import"./toCOABalancesWithID-CcsM8Vr1-X6P_swAQ.js";import"./toChartData-CVxc3i6E-C3Ntbj_i.js";import"./NoDataChart-gfqauMvY-B8_e9uYZ.js";import"./InsightsSection-C4fMfxQ4-BrCCIPD4.js";import"./NavigationDots-DISWi4Mq-BRitr2tA.js";import"./TransactionList-BQ2dvALf-BGLN50Vu.js";import"./BoxItem-42doFhpg-6FkeU-XY.js";import"./commonDimensions-BgvFMAEM-CvQs602P.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]="a864d318-7954-47df-9511-1531bccc079d",t._sentryDebugIdIdentifier="sentry-dbid-a864d318-7954-47df-9511-1531bccc079d")}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,dm as O,y as l,cZ as _,o as d,aa as j,aL as S,b2 as A,cr as E,c as r,a as F,am as R,al as k,b8 as B,ai as N,cw as U,p as W,cz as G}from"./index-Bs2B-MQ4.js";import{a as f}from"./sentry-gm2R3TtK.js";import{n}from"./mui-snKYaegN.js";import{l as Z}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]="b38f488d-0c3d-4b2d-9353-c4e4e69113c9",e._sentryDebugIdIdentifier="sentry-dbid-b38f488d-0c3d-4b2d-9353-c4e4e69113c9")}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,dm as O,y as l,cZ as _,o as d,aa as j,aL as S,b2 as A,cr as E,c as r,a as F,am as R,al as k,b8 as B,ai as N,cw as U,p as W,cz as G}from"./index-DhfemY__.js";import{a as f}from"./sentry-gm2R3TtK.js";import{n}from"./mui-snKYaegN.js";import{l as Z}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]="b38f488d-0c3d-4b2d-9353-c4e4e69113c9",e._sentryDebugIdIdentifier="sentry-dbid-b38f488d-0c3d-4b2d-9353-c4e4e69113c9")}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{d as X,q as le,cb as de,V as t,g2 as U,aN as v,bM as ce,p as a,bR as F,o as r,bA as he,k6 as pe,b as d,hL as _,hK as R,n as me,bv as ue,ag as ge,k7 as Ce,k8 as ke,F as k,ci as xe,a as fe,bI as je,ai as h,av as Q,al as ye,l as ve,b6 as $e,a_ as be,b8 as ee}from"./index-Bs2B-MQ4.js";import{a as n}from"./sentry-gm2R3TtK.js";import{n as o,c as te,k as Le}from"./mui-snKYaegN.js";import{bh as re,bL as we}from"./zeni-epic-state-D2RxwWrl.js";import{U as Me,F as Ee,X as We,Y as Se,J as De,G as He}from"./recharts-DGmpNqLb.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="4aeeb62a-2753-461d-9dca-69c0ef89adb3",e._sentryDebugIdIdentifier="sentry-dbid-4aeeb62a-2753-461d-9dca-69c0ef89adb3")}catch{}})();const Pe=k.getLocalizedStrings().expenseAutomation,Ve=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:ze},texts:{score:Fe}}}=k.getLocalizedStrings(),_e=({active:e,payload:i})=>{if(e===!1||e===void 0||!i||i.length===0)return null;const c=i[0]?.value;return c==null?null:t.jsxs(Ie,{children:[t.jsx(Ne,{children:Fe}),t.jsxs(Ze,{children:[c,ze]})]})};function Re({data:e,height:i}){const c=X(),L=e.map(x=>({month:we(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Ve.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ye,{children:[t.jsx(Te,{children:Pe.overview.monthEndCloseTrend}),t.jsx(Me,{height:i,width:"100%",children:t.jsxs(Ee,{data:L,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:a.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:a.brandColorJade,stopOpacity:.1})]})}),t.jsx(We,{dataKey:"month",axisLine:{stroke:c.colors.grey3},tickLine:!1,interval:"preserveStartEnd",label:{color:c.colors.hero,fontSize:d.smallRegular.fontSize,fontWeight:d.smallRegular.fontWeight,fontFamily:d.smallRegular.fontFamily}}),t.jsx(Se,{hide:!0}),t.jsx(De,{content:_e,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(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 Te=o(h)`
1
+ import{d as X,q as le,cb as de,V as t,g2 as U,aN as v,bM as ce,p as a,bR as F,o as r,bA as he,k6 as pe,b as d,hL as _,hK as R,n as me,bv as ue,ag as ge,k7 as Ce,k8 as ke,F as k,ci as xe,a as fe,bI as je,ai as h,av as Q,al as ye,l as ve,b6 as $e,a_ as be,b8 as ee}from"./index-DhfemY__.js";import{a as n}from"./sentry-gm2R3TtK.js";import{n as o,c as te,k as Le}from"./mui-snKYaegN.js";import{bh as re,bL as we}from"./zeni-epic-state-D2RxwWrl.js";import{U as Me,F as Ee,X as We,Y as Se,J as De,G as He}from"./recharts-DGmpNqLb.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="4aeeb62a-2753-461d-9dca-69c0ef89adb3",e._sentryDebugIdIdentifier="sentry-dbid-4aeeb62a-2753-461d-9dca-69c0ef89adb3")}catch{}})();const Pe=k.getLocalizedStrings().expenseAutomation,Ve=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:ze},texts:{score:Fe}}}=k.getLocalizedStrings(),_e=({active:e,payload:i})=>{if(e===!1||e===void 0||!i||i.length===0)return null;const c=i[0]?.value;return c==null?null:t.jsxs(Ie,{children:[t.jsx(Ne,{children:Fe}),t.jsxs(Ze,{children:[c,ze]})]})};function Re({data:e,height:i}){const c=X(),L=e.map(x=>({month:we(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Ve.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ye,{children:[t.jsx(Te,{children:Pe.overview.monthEndCloseTrend}),t.jsx(Me,{height:i,width:"100%",children:t.jsxs(Ee,{data:L,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:a.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:a.brandColorJade,stopOpacity:.1})]})}),t.jsx(We,{dataKey:"month",axisLine:{stroke:c.colors.grey3},tickLine:!1,interval:"preserveStartEnd",label:{color:c.colors.hero,fontSize:d.smallRegular.fontSize,fontWeight:d.smallRegular.fontWeight,fontFamily:d.smallRegular.fontFamily}}),t.jsx(Se,{hide:!0}),t.jsx(De,{content:_e,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(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 Te=o(h)`
2
2
  color: ${e=>e.theme.colors.champion};
3
3
  `,Ye=o.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{o,bT as ca,q as ke,gf as es,gg as ts,V as t,cn as da,aa as Pe,aP as ns,c as g,F as Ie,co as ua,d as bt,bA as ha,i2 as pa,aL as Ue,bR as ye,y as ee,bu as ma,aN as B,i0 as ga,al as _e,gW as xa,gO as os,bv as fa,bN as Dt,b6 as is,ai as vt,bI as ss,p as Xe,ke as ya,g2 as Ca,am as pt,L as wa,gh as ba,gi as as,bn as va,ci as Sa,c0 as ja,ez as gn,bZ as jo,a9 as qt,bM as ko,ac as Jt,kf as ka,kg as Ia,kh as $a,ki as ln,kj as rs,kk as ls,kl as La,km as No,kn as Ta,dg as cs,ko as Aa,kp as Ea,kq as Ra,kr as Da,ks as Oa,kt as Ma,ku as _a,kv as za,kw as Fa,kx as Ba,ky as ds,kz as Pa,kA as Na,kB as Va,kC as Ha,gw as us,b2 as _n,cr as zn,k as hs,N as ps,w as ms,cC as xn,dO as Io,gs as Wa,fL as Ua,gZ as qa,aq as Ja,l as Ka,fw as Ga,aB as gs,kD as Ya,aT as $o,aO as Vo,gQ as xs,kE as Za,kF as Xa,kG as Qa,bD as fs,aR as er,gE as Rt,hS as Vn,ew as En,cP as Lo,ay as tr,ex as ys,di as nr,iO as or,dn as To,cw as Fn,cz as Bn,iv as nt,b as At,hF as ir,gx as Hn,je as Ho,de as Cs,cZ as hn,kH as sr,aY as ar,dm as ws,n as pn,il as bs,iw as yo,kI as tn,e8 as vs,ea as Ss,iR as js,iS as ks,kJ as rr,cX as Pn,im as Is,fk as $s,en as Wn,aH as Ao,kK as lr,cV as cr,aW as Ls,iD as dr,dM as ur,ao as ft,kL as hr,kM as pr,b0 as Un,ej as mr,a8 as gr,ek as xr,el as fr,em as yr,ep as Wo,eq as Uo,er as Cr,kN as wr,a_ as br,eB as vr,eC as Sr,eD as jr}from"./index-Bs2B-MQ4.js";import{a as s,S as Ts}from"./sentry-gm2R3TtK.js";import{n as a,c as Ze,k as Eo}from"./mui-snKYaegN.js";import{bh as qn,Gi as qo,Gj as mn,Gk as kr,Gl as Ir,cx as $r,bL as Co,cy as Lr,EN as Jo,cz as Tr,cA as Ar,l8 as cn,bE as Nt,Gm as Ko,c4 as As,Gn as Er,bY as Rr,bo as Vt,Go as Dr,Gp as Es,Gq as Rs,Gr as Ds,Gs as Os,Gt as Ms,Gu as Ro,kU as Or}from"./zeni-epic-state-D2RxwWrl.js";import{r as _s,I as zs,n as nn,R as ht}from"./CollapsableReportTable-DLOi0feI-SZFbl9NV.js";import{N as Jn}from"./AccountRow-B0gU16A_-Ks_Pft1z.js";import{o as Fs}from"./mapTimeframeBalancesToTreeNode-Cki-np8X-STcH44eC.js";import{d as Go}from"./mapLoadingInProgressToTreeNode-ilouYnTd-DoZ0huih.js";import{h as Mr}from"./VendorsAccountsSection-V7IwNhkN-D-eiPu30.js";import{u as _r,c as Yo,d as zr,m as Fr}from"./uploadAttachment-CBATb9_e-Bf8RMkbX.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="546f2e8a-fd39-4ac7-8913-1653f628b243",e._sentryDebugIdIdentifier="sentry-dbid-546f2e8a-fd39-4ac7-8913-1653f628b243")}catch{}})();const{common:{navBar:{back:Br},texts:{refresh:Pr,close:Nr,copy:Vr,copied:Hr,open:Wr}},expenseAutomation:{common:{numbers:{maximumCount:Ur}}}}=Ie.getLocalizedStrings(),qr=a(Wa)`
1
+ import{o,bT as ca,q as ke,gf as es,gg as ts,V as t,cn as da,aa as Pe,aP as ns,c as g,F as Ie,co as ua,d as bt,bA as ha,i2 as pa,aL as Ue,bR as ye,y as ee,bu as ma,aN as B,i0 as ga,al as _e,gW as xa,gO as os,bv as fa,bN as Dt,b6 as is,ai as vt,bI as ss,p as Xe,ke as ya,g2 as Ca,am as pt,L as wa,gh as ba,gi as as,bn as va,ci as Sa,c0 as ja,ez as gn,bZ as jo,a9 as qt,bM as ko,ac as Jt,kf as ka,kg as Ia,kh as $a,ki as ln,kj as rs,kk as ls,kl as La,km as No,kn as Ta,dg as cs,ko as Aa,kp as Ea,kq as Ra,kr as Da,ks as Oa,kt as Ma,ku as _a,kv as za,kw as Fa,kx as Ba,ky as ds,kz as Pa,kA as Na,kB as Va,kC as Ha,gw as us,b2 as _n,cr as zn,k as hs,N as ps,w as ms,cC as xn,dO as Io,gs as Wa,fL as Ua,gZ as qa,aq as Ja,l as Ka,fw as Ga,aB as gs,kD as Ya,aT as $o,aO as Vo,gQ as xs,kE as Za,kF as Xa,kG as Qa,bD as fs,aR as er,gE as Rt,hS as Vn,ew as En,cP as Lo,ay as tr,ex as ys,di as nr,iO as or,dn as To,cw as Fn,cz as Bn,iv as nt,b as At,hF as ir,gx as Hn,je as Ho,de as Cs,cZ as hn,kH as sr,aY as ar,dm as ws,n as pn,il as bs,iw as yo,kI as tn,e8 as vs,ea as Ss,iR as js,iS as ks,kJ as rr,cX as Pn,im as Is,fk as $s,en as Wn,aH as Ao,kK as lr,cV as cr,aW as Ls,iD as dr,dM as ur,ao as ft,kL as hr,kM as pr,b0 as Un,ej as mr,a8 as gr,ek as xr,el as fr,em as yr,ep as Wo,eq as Uo,er as Cr,kN as wr,a_ as br,eB as vr,eC as Sr,eD as jr}from"./index-DhfemY__.js";import{a as s,S as Ts}from"./sentry-gm2R3TtK.js";import{n as a,c as Ze,k as Eo}from"./mui-snKYaegN.js";import{bh as qn,Gi as qo,Gj as mn,Gk as kr,Gl as Ir,cx as $r,bL as Co,cy as Lr,EN as Jo,cz as Tr,cA as Ar,l8 as cn,bE as Nt,Gm as Ko,c4 as As,Gn as Er,bY as Rr,bo as Vt,Go as Dr,Gp as Es,Gq as Rs,Gr as Ds,Gs as Os,Gt as Ms,Gu as Ro,kU as Or}from"./zeni-epic-state-D2RxwWrl.js";import{r as _s,I as zs,n as nn,R as ht}from"./CollapsableReportTable-DLOi0feI-CE3JiL1Z.js";import{N as Jn}from"./AccountRow-B0gU16A_-CQ1wi8lx.js";import{o as Fs}from"./mapTimeframeBalancesToTreeNode-Cki-np8X-TAkem-7K.js";import{d as Go}from"./mapLoadingInProgressToTreeNode-ilouYnTd-CPpu9ijo.js";import{h as Mr}from"./VendorsAccountsSection-V7IwNhkN-dPhmanP7.js";import{u as _r,c as Yo,d as zr,m as Fr}from"./uploadAttachment-CBATb9_e-DKMvJUv_.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="546f2e8a-fd39-4ac7-8913-1653f628b243",e._sentryDebugIdIdentifier="sentry-dbid-546f2e8a-fd39-4ac7-8913-1653f628b243")}catch{}})();const{common:{navBar:{back:Br},texts:{refresh:Pr,close:Nr,copy:Vr,copied:Hr,open:Wr}},expenseAutomation:{common:{numbers:{maximumCount:Ur}}}}=Ie.getLocalizedStrings(),qr=a(Wa)`
2
2
  display: flex;
3
3
  width: ${o.sp4};
4
4
  height: ${o.sp4};
@@ -1,4 +1,4 @@
1
- import{d as Re,q as G,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at,aP as nt,y as f,o as n,kP as lt,kQ as ot,kR as rt,cI as Ve,cF as dt,eY as st,fA as ct,fB as pt,cH as Ae,g8 as mt,kS as ut,cL as ht,cM as yt,f3 as ze,f4 as ke,fd as Oe,b as ge,c as u,ff as gt,b9 as ft,b6 as be,p as Ee,am as xt,ar as We}from"./index-Bs2B-MQ4.js";import{a as J}from"./sentry-gm2R3TtK.js";import{n as d}from"./mui-snKYaegN.js";import{bL as qe,bh as le,bP as He,bH as bt,bo as wt}from"./zeni-epic-state-D2RxwWrl.js";import{Y as vt}from"./LabeledDocumentField-Ch2zD7s7-Nw7bBUJi.js";import{S as te}from"./LabeledText-D7eLbH80-Bs-kfAE-.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="1b307086-40ca-46ee-890c-120a17b11015",e._sentryDebugIdIdentifier="sentry-dbid-1b307086-40ca-46ee-890c-120a17b11015")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=G(),a=Re(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs(Pt,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Tt,{children:h.map((p,l)=>t.jsx(Ft,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx($t,{children:h.map((p,l)=>t.jsx(It,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
1
+ import{d as Re,q as G,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at,aP as nt,y as f,o as n,kP as lt,kQ as ot,kR as rt,cI as Ve,cF as dt,eY as st,fA as ct,fB as pt,cH as Ae,g8 as mt,kS as ut,cL as ht,cM as yt,f3 as ze,f4 as ke,fd as Oe,b as ge,c as u,ff as gt,b9 as ft,b6 as be,p as Ee,am as xt,ar as We}from"./index-DhfemY__.js";import{a as J}from"./sentry-gm2R3TtK.js";import{n as d}from"./mui-snKYaegN.js";import{bL as qe,bh as le,bP as He,bH as bt,bo as wt}from"./zeni-epic-state-D2RxwWrl.js";import{Y as vt}from"./LabeledDocumentField-Ch2zD7s7-GyTO4utg.js";import{S as te}from"./LabeledText-D7eLbH80-CyIybQum.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="1b307086-40ca-46ee-890c-120a17b11015",e._sentryDebugIdIdentifier="sentry-dbid-1b307086-40ca-46ee-890c-120a17b11015")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=G(),a=Re(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs(Pt,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Tt,{children:h.map((p,l)=>t.jsx(Ft,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx($t,{children:h.map((p,l)=>t.jsx(It,{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{d as w,q as y,F as v,aT as n,p,V as i,cn as _,y as r,co as k,cp as x,c as g}from"./index-Bs2B-MQ4.js";import{n as d}from"./mui-snKYaegN.js";import"./sentry-gm2R3TtK.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="7062b7ed-42ff-47f3-baed-52b07bd23c93",e._sentryDebugIdIdentifier="sentry-dbid-7062b7ed-42ff-47f3-baed-52b07bd23c93")}catch{}})();const t={popupWidth:new r(200,468,468,468),buttonWidth:new r(140,160,160,160),popupContainerLeft:new r(g[0],g[0],255),popupContainerWidth:new r(100,100,85)},z=d.div`
1
+ import{d as w,q as y,F as v,aT as n,p,V as i,cn as _,y as r,co as k,cp as x,c as g}from"./index-DhfemY__.js";import{n as d}from"./mui-snKYaegN.js";import"./sentry-gm2R3TtK.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="7062b7ed-42ff-47f3-baed-52b07bd23c93",e._sentryDebugIdIdentifier="sentry-dbid-7062b7ed-42ff-47f3-baed-52b07bd23c93")}catch{}})();const t={popupWidth:new r(200,468,468,468),buttonWidth:new r(140,160,160,160),popupContainerLeft:new r(g[0],g[0],255),popupContainerWidth:new r(100,100,85)},z=d.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{q as H,V as l,F as X,cP as q,eo as G,d as ee,cV as Q,y as L,ge as Z,o as i,aN as B,eg as ce,aB as le,g4 as pe,g5 as ue,n as he,p as u,c as g,gB as ge,cW as be,ex as ye,ao as ve,bF as we,b as W,dg as $e,bG as fe,bE as ke}from"./index-Bs2B-MQ4.js";import{n as d}from"./mui-snKYaegN.js";import{a as V}from"./sentry-gm2R3TtK.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]="a8664450-d950-4f1c-93ce-3c65bf42d30d",e._sentryDebugIdIdentifier="sentry-dbid-a8664450-d950-4f1c-93ce-3c65bf42d30d")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=q(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":B("labeled-multi-text-field",t.name),children:[l.jsx(Q,{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 X,cP as q,eo as G,d as ee,cV as Q,y as L,ge as Z,o as i,aN as B,eg as ce,aB as le,g4 as pe,g5 as ue,n as he,p as u,c as g,gB as ge,cW as be,ex as ye,ao as ve,bF as we,b as W,dg as $e,bG as fe,bE as ke}from"./index-DhfemY__.js";import{n as d}from"./mui-snKYaegN.js";import{a as V}from"./sentry-gm2R3TtK.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]="a8664450-d950-4f1c-93ce-3c65bf42d30d",e._sentryDebugIdIdentifier="sentry-dbid-a8664450-d950-4f1c-93ce-3c65bf42d30d")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=q(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":B("labeled-multi-text-field",t.name),children:[l.jsx(Q,{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{d as Ke,q as Y,a9 as Ee,ay as _e,cC as Ye,V as t,bA as Ze,ac as Je,cl as Ce,o,n as ye,F as ue,bM as Xe,aN as T,ck as Qe,b2 as et,di as tt,cr as lt,aa as ot,k as nt,cX as it,bD as We,aR as at,y as N,bN as se,c as $,dn as Ie,ai as we,cw as rt,cz as st,cP as dt,de as je,cZ as me,bR as E,es as ke,ao as ct,ig as ht,al as mt,bg as gt,ic as pt,ih as De,cg as ut,bs as wt,p as Oe,ii as bt}from"./index-Bs2B-MQ4.js";import{a as C}from"./sentry-gm2R3TtK.js";import{n as i,c as Se}from"./mui-snKYaegN.js";import{c4 as xt,FZ as vt}from"./zeni-epic-state-D2RxwWrl.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="3265da3c-ef6f-4266-892b-94384d5f1d08",e._sentryDebugIdIdentifier="sentry-dbid-3265da3c-ef6f-4266-892b-94384d5f1d08")}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{d as Ke,q as Y,a9 as Ee,ay as _e,cC as Ye,V as t,bA as Ze,ac as Je,cl as Ce,o,n as ye,F as ue,bM as Xe,aN as T,ck as Qe,b2 as et,di as tt,cr as lt,aa as ot,k as nt,cX as it,bD as We,aR as at,y as N,bN as se,c as $,dn as Ie,ai as we,cw as rt,cz as st,cP as dt,de as je,cZ as me,bR as E,es as ke,ao as ct,ig as ht,al as mt,bg as gt,ic as pt,ih as De,cg as ut,bs as wt,p as Oe,ii as bt}from"./index-DhfemY__.js";import{a as C}from"./sentry-gm2R3TtK.js";import{n as i,c as Se}from"./mui-snKYaegN.js";import{c4 as xt,FZ as vt}from"./zeni-epic-state-D2RxwWrl.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="3265da3c-ef6f-4266-892b-94384d5f1d08",e._sentryDebugIdIdentifier="sentry-dbid-3265da3c-ef6f-4266-892b-94384d5f1d08")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",H="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,a)=>a!=null?`${e}.${l}.${a}`:`${e}.${l}`;function ft(e){const l=Y(),{button:{label:a,onClick:n},search:{isOpen:g,placeHolder:m,searchText:w,onTextChange:y}}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:g&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ce,{style:{position:"absolute",left:"unset",right:o.sp0},placeholder:m,searchText:w,onSearchTextChanged:y}):null}),l==="small"?t.jsx(Ce,{style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},placeholder:m,searchText:w,onSearchTextChanged:y,keepSearchBoxOpen:!0}):null,l==="small"?t.jsx(St,{style:{marginLeft:o.sp5}}):t.jsx(ye,{variant:"primary",onClick:n,label:a,size:"small",style:{marginLeft:o.sp3}})]})}const yt=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  padding-right: ${o.sp0};
@@ -1,4 +1,4 @@
1
- import{V as r,aJ as b,F as c,aN as E,aV as D,H as I,aK as Z,aQ as j,o as H,ai as x}from"./index-Bs2B-MQ4.js";import{S as m,a as t}from"./sentry-gm2R3TtK.js";import{c as V}from"./SummaryCard-BNrPt21W-z-I2nOL_.js";import{n as d}from"./mui-snKYaegN.js";import{N as y}from"./NavigationArrow-DAs7ECFZ-rFu_aZmo.js";import{k as S}from"./NavigationDots-DISWi4Mq-BdTnuTup.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./ReloadCard-BT0lSFUP-CF34SUO7.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]="2431715f-bd28-4c02-bf02-a6b1987fb876",e._sentryDebugIdIdentifier="sentry-dbid-2431715f-bd28-4c02-bf02-a6b1987fb876")}catch{}})();const T=d.div`
1
+ import{V as r,aJ as b,F as c,aN as E,aV as D,H as I,aK as Z,aQ as j,o as H,ai as x}from"./index-DhfemY__.js";import{S as m,a as t}from"./sentry-gm2R3TtK.js";import{c as V}from"./SummaryCard-BNrPt21W-BJL8pM34.js";import{n as d}from"./mui-snKYaegN.js";import{N as y}from"./NavigationArrow-DAs7ECFZ-ChajxXvo.js";import{k as S}from"./NavigationDots-DISWi4Mq-BRitr2tA.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./ReloadCard-BT0lSFUP-CbQzBMR7.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]="2431715f-bd28-4c02-bf02-a6b1987fb876",e._sentryDebugIdIdentifier="sentry-dbid-2431715f-bd28-4c02-bf02-a6b1987fb876")}catch{}})();const T=d.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: column;