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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/dist/assets/{ACHDetailsPage-C4kSZtcW-DXbi1tk_.js → ACHDetailsPage-C4kSZtcW-CRAncXjZ.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-nAXYlFHx-B-yNLxsI.js → AIPerformancePage-nAXYlFHx-D8t7UfO6.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-BgYgT10O-CcaqKm0M.js → AccountInfoPage-BgYgT10O-BPubXPU8.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-C6fN_njt-BfclYIhc.js → AccountInfoPageContent-C6fN_njt-HYk5LymM.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-DRmaVRzS-BiL1l-3p.js → AccountLockedInfoModal-DRmaVRzS-Dz8UCOQu.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-ChfImufh-Qmw1sJds.js → AccountReconDetailsDrawerPage-ChfImufh-xGH31FUE.js} +1 -1
  7. package/dist/assets/{AccountRow-C0plHrDu-BlMGnWxc.js → AccountRow-C0plHrDu-BHbrjlQa.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BCRuoijH-D0HIkJsh.js → AccountsPromoCardStack-BCRuoijH-BiUfxCis.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-BOX_B6jm-BbCABLHY.js → AddAddressForCardDrawer-BOX_B6jm-HjaseCvO.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CKPw3FXG-D61c3n-w.js → AddToWalletPage-CKPw3FXG-1yjoUpl3.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BLYXtrbx-DW-1ybPL.js → AgingReportsPage-BLYXtrbx-ChP2VVRq.js} +1 -1
  12. package/dist/assets/{AllUserItems-CIuKSRs--B0618Ye4.js → AllUserItems-CIuKSRs--BSTdrFJx.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-DeqICFKW-a9KWHhRJ.js → ApAgingDetailPage-DeqICFKW-BGrGI80f.js} +1 -1
  14. package/dist/assets/{AppBasePage-zQkWIZIS-COyO76Q-.js → AppBasePage-zQkWIZIS-J73aeT5P.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-OIrm7j-k-Dut49GGC.js → AppDrawerContent-OIrm7j-k-CAl-h4tc.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-Df5F_wnw-CP1luL-w.js → ApprovalRulesSettingsPage-Df5F_wnw-Cn6qw6gU.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Dv9GPrlk-1IjLiFwv.js → ArAgingChart-Dv9GPrlk-BDO04yvC.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-vW-JcTgF-Cy7lc6dB.js → ArAgingDetailPage-vW-JcTgF-CdtFinK-.js} +1 -1
  19. package/dist/assets/{AttachmentView-CHgDKLit-BOkUOxft.js → AttachmentView-CHgDKLit-CNDwc0Eo.js} +1 -1
  20. package/dist/assets/{BankAccountSection-danXlJW--Ci61_HQI.js → BankAccountSection-danXlJW--CGFGOQdm.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Byabqq8Z-DlkkUlqm.js → BankAccountWarningSection-Byabqq8Z-B6b9o7wy.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-D4iHZXiy-B50Jr36L.js → BankConnectionsSettingsPage-D4iHZXiy-DBmd09rV.js} +1 -1
  23. package/dist/assets/{BillDetailPage-BD2IX-iP-C1AsdsRK.js → BillDetailPage-BD2IX-iP-QIATdRex.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DYbGnWVc-B9dRHLuy.js → BillPayApprovalRuleDetailPage-DYbGnWVc-JKxreggo.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-BW2wEvAf-BP_2ZRbS.js → BillPayApprovalRulesPage-BW2wEvAf-DrTI5_46.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-C7PX-EVL-RrQTQk3r.js → BillPayPromoPage-C7PX-EVL-DDmbTE9O.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-Czno3Zre-B54xXO94.js → BillPaySetUpPage-Czno3Zre-BE6uTwDe.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-DwBAvbyP-BA7TOSu8.js → BillingSettingsPage-DwBAvbyP-BOeTv55Y.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-YBZ0Qqa6-BvssydGl.js → BillsBulkReviewDrawerPage-YBZ0Qqa6-Btjur5rB.js} +1 -1
  30. package/dist/assets/{BoxItem-CQn8-mlp-3WaKvXCN.js → BoxItem-CQn8-mlp-BpjhTACd.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Pj_43PYG-Bf2eq8Ab.js → BusinessVerificationPage-Pj_43PYG-BBfAZpRu.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-2Tw37MOu-DLENhMmY.js → CardNumberSubText-2Tw37MOu-Na5odSIe.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BPGA9iT0-BE7Kx4cM.js → CashbackDetailPage-BPGA9iT0-pfH6WY-d.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-draAZn9S-DVIwh9R-.js → ChargeCardDetailPage-draAZn9S-BLHAWsUD.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-gsG1eX_i-Dapb8J_Z.js → ChargeCardListPage-gsG1eX_i-DncsEeIV.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-DVFpdT9f-BEElVTwC.js → ChargeCardListTable-DVFpdT9f-D6Qv1C8v.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-BbggvUhU-DsH52CB6.js → ChargeCardPaymentHistoryPage-BbggvUhU-KYpdTWjw.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-DIxy-YcS-Bpah01ZO.js → ChargeCardPromoPage-DIxy-YcS-CPRuhZCR.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-Ck37bWHj-CA4YDMXc.js → ChargeCardSetupPage-Ck37bWHj-63DpNOd1.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-4bExV6ox-DsvdoV21.js → ChargeCardStatementsPage-4bExV6ox-BSLQYECC.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-cZ9nSw3H-CEFjqZ5t.js → CheckDepositDrawerPage-cZ9nSw3H-D2wZXg2E.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-D9EGRkFb-DwhLMO0b.js → CollapsableReportTable-D9EGRkFb-rtyJvli3.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-C2j4TNi_-D3zewiNv.js → CompanyOfficerDetailsSection-C2j4TNi_-P80aH3rj.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard--3g9aidd-CxwOeh5K.js → CompanyPassportCard--3g9aidd-DEP92iFu.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-BhF3zWN0-Cn2clYh0.js → CompanyPassportPage-BhF3zWN0-D1AeDDw0.js} +1 -1
  46. package/dist/assets/{CompleteProfile-iee5HgiC-iD1IzEAE.js → CompleteProfile-iee5HgiC-DWDz1H5n.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-Dl2Z6LKw-OEcvzGtj.js → ConfettiBurst-Dl2Z6LKw-BXiTHcqO.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-DTlxyMQ8-D1vsmSkA.js → CreateOrEditVendorPage-DTlxyMQ8-DUgUVqol.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-CAZbzyFh-1lHa8wZR.js → CreditCardPaymentDrawerPage-CAZbzyFh-BQoH4AnG.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-CcU9PAOW-u3CiOTPH.js → CurrencySelectField-CcU9PAOW-UhjAv5pw.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-dXGInCs4-_xQt3N4Y.js → CustomerOnboardingActivationPage-dXGInCs4-BfLZrVA_.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-CtySgp6R-DlPVcAtZ.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-oykMYoxJ.js → CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-B7Pjeba4.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-BprU0lwT-FU4__G2R.js → CustomerOnboardingNoStepsPage-BprU0lwT-CBl7xIv9.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingPage-CP969grW-CLGTaPd5.js → CustomerOnboardingPage-CP969grW-DSt_mh2c.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-C-oDFj9a-By3_gtmn.js → CustomerOnboardingProductSuitePage-C-oDFj9a-KXFyyrbX.js} +1 -1
  57. package/dist/assets/{Dashboard-CKSEolZn-B8UGwGX2.js → Dashboard-CKSEolZn-KkJW27CG.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-JLORU_HF-JuRm0_l-.js → DashboardReportPage-JLORU_HF-Cpq1a7z1.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-BhNP2YDK-RRWjqzmy.js → DashboardSidebarBackgroundAnimation-BhNP2YDK-AvtdKUwZ.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-B3A_2ZTg-BGji2vDD.js → DepositAccTransactionItem-B3A_2ZTg-BCChPgpu.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-S0zh1Xel-D4E89wzd.js → DepositAccTransactionListPage-S0zh1Xel-DgEcVBWB.js} +1 -1
  62. package/dist/assets/{DomesticWireDetailsPage-DqVaQ5WI-CEmGU0Lk.js → DomesticWireDetailsPage-DqVaQ5WI-DBkE3G1h.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-D7AI3CGS-DY9OdGrk.js → DownloadOverlay-D7AI3CGS-BSXz1TYL.js} +1 -1
  64. package/dist/assets/{DrawerPage-BiQurb8Q-CEeTnVDp.js → DrawerPage-BiQurb8Q-CwosoM_H.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-DkLTV485-DyUGQQC3.js → EditPeoplePage-DkLTV485-DSmYd3gF.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-CoBKUQzs-DPjSJBny.js → EditReimbursementDetailPage-CoBKUQzs-C2zvDGNE.js} +1 -1
  67. package/dist/assets/{EntityDetailPage-ougFUO1M-BRBPuzyF.js → EntityDetailPage-ougFUO1M-D5lOJcsX.js} +1 -1
  68. package/dist/assets/{EntitySummarySection-dbyZ3ZMD-WaXS93t5.js → EntitySummarySection-dbyZ3ZMD-DIUFVdBF.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-WTK5jHbV-RX7MJN4K.js → ExpenseAutomationOverviewPage-WTK5jHbV-D_hqg6CV.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-BLk7BdAz-BiJ_8J_A.js → ExpenseAutomationPage-BLk7BdAz-ozrsfKpW.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-CaBFl4M3-N5saqSFG.js → ExpressPayPage-CaBFl4M3-CpnlRAIb.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-BY7VDaUB-C72FE9k5.js → FeaturePreviewPage-BY7VDaUB-BlOtvf2P.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-BGZ3rzSO-DAxx1unm.js → FollowStepsSection-BGZ3rzSO-DZqA0Ls-.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-DIiVT0qf-DgTvaNXq.js → GlobalReviewListPage-DIiVT0qf-C1h-R-9P.js} +1 -1
  75. package/dist/assets/{InformationCardStack-BZIU9Bwm-DWOE8xSt.js → InformationCardStack-BZIU9Bwm-BPjI_Aqf.js} +1 -1
  76. package/dist/assets/{InsightsCardStack-BZ6yws_x-DiUvTias.js → InsightsCardStack-BZ6yws_x-l5SDGStI.js} +1 -1
  77. package/dist/assets/{InsightsSection-CdlmvyOs-DmXLU_Lu.js → InsightsSection-CdlmvyOs-CSbQ6jxV.js} +1 -1
  78. package/dist/assets/{IntegrationsSettingsPage-JQ0sBJ-E-Dbn9Coz2.js → IntegrationsSettingsPage-JQ0sBJ-E-D0GHOz8k.js} +1 -1
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-Bt0SYfe8-BOhQnyuJ.js → InternationalWireSwiftDetailsPage-Bt0SYfe8-D4jFazij.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-ZiPvLcjo-TFRIwP9z.js → InternationalWireVerificationPage-ZiPvLcjo-CzF6c2rU.js} +1 -1
  81. package/dist/assets/{InviteFormPage-C-_fbwpS-DFnpH_Sg.js → InviteFormPage-C-_fbwpS-Dc7fjvDO.js} +1 -1
  82. package/dist/assets/{InvitePageListView-DX3LFpcZ-wgARDxxe.js → InvitePageListView-DX3LFpcZ-x0SBH5kb.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-DOfw4ntH-CNo6v_nK.js → InvitePeoplePage-DOfw4ntH-Bnv1S2jS.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-7NLq2wUY-qezR9Z74.js → InvoiceUploadSection-7NLq2wUY-D1Ujr_CT.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-BSax9G6t-Ccz8TXME.js → IssueChargeCardPage-BSax9G6t-li0Yc8Qz.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-kz4tRnLH-XbapS3ut.js → LabeledAddressValue-kz4tRnLH-fkTasFZL.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-D950JjHi-B7-ZxMwG.js → LabeledAddressValueField-D950JjHi-CobscTGb.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-BxXnpjp--Dg3HIXbL.js → LabeledControlledCheckBoxField-BxXnpjp--D8QByb_Y.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-CzFImFhW-CGgJ4k83.js → LabeledCountryMultiSelectField-CzFImFhW-y52IAHGb.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-gJu9uvr7-DQ2Nsagb.js → LabeledCreatableSingleSelectField-gJu9uvr7-Baz8OVT_.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-y5kqHnHe-CmBeTY2E.js → LabeledDocumentField-y5kqHnHe-Cd6aBb3C.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-Vg6A9BxH-DOIAkkAy.js → LabeledDropDownFormattedTextField-Vg6A9BxH-8L8nXgg2.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-CIuHS55z-0cjXFx_d.js → LabeledMultiSelectField-CIuHS55z-BSvQJ-Z0.js} +1 -1
  94. package/dist/assets/{LabeledText-D0g7m29R-CGPY2mDY.js → LabeledText-D0g7m29R-cxnm614T.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BycaRLEY.js → LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BrxkJlKg.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-LWb3m6uz-DqLmiKb-.js → LabeledZeniRolesDropDownField-LWb3m6uz-BV8yj32-.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-DQUYzOEN-Dr7MZbKQ.js → LinkJETransactionPage-DQUYzOEN-CAqtea48.js} +1 -1
  98. package/dist/assets/{LockCardPage-XgZwsozn-B7KEhFgG.js → LockCardPage-XgZwsozn-DcNxXIWb.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-ChBTdcM2-CwIZnZTi.js → LowBalancePopup-ChBTdcM2-BRhnRaDc.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-CwTDkcTO-CNPrJSVK.js → MagicLinkACHDetailsPage-CwTDkcTO-Caq0ps9o.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-ncokQaY5-NW6YIUza.js → MagicLinkDomesticWireDetailsPage-ncokQaY5-Cl_8tBOk.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-BHRkSlI7-DhjhQlqA.js → MagicLinkInternationalWireDetailsPage-BHRkSlI7-oQ1LN-Ng.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-D9asRaYX-BLWFhDtP.js → MagicLinkSuccessPage-D9asRaYX-hreLPWO1.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-CI_X5_g6-DmElUYen.js → MagicLinkTitleSection-CI_X5_g6-B9qDUBZ-.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-C_ZYNZtm-CsF-OIaa.js → MailingDetailsSection-C_ZYNZtm-CJ5xMswj.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-Bo5DQnsA-KlDGNzcW.js → MyBankConnectionsSettingsPage-Bo5DQnsA-D0Sufsix.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-yE_BAGUU-CF-N63jy.js → MyPendingActivationChargeCardListPage-yE_BAGUU-BmwV3pjH.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-BHZrydBY-CouLcv-w.js → MyProfileSettingsPage-BHZrydBY-B_909T6y.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-DfM5Vi5g-B5Y2cvHv.js → NavBarWithPicker-DfM5Vi5g-BWJESbaI.js} +1 -1
  110. package/dist/assets/{NavigationArrow-BuPVGh38-C7FStd2H.js → NavigationArrow-BuPVGh38-XNHRi9o5.js} +1 -1
  111. package/dist/assets/{NavigationDots-CLd0nZZT-DkTweDHl.js → NavigationDots-CLd0nZZT-CV65Lnrl.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-B4X5B9Kx-DIjUgsWq.js → NewGlobalMerchantPage-B4X5B9Kx-DrYC7XeB.js} +1 -1
  113. package/dist/assets/{NoDataChart-VrW0gNeK-CoKQWY6y.js → NoDataChart-VrW0gNeK-D9AHc7Vl.js} +1 -1
  114. package/dist/assets/{NoDataTable-CZaHTbXi-BvRSGEWZ.js → NoDataTable-CZaHTbXi-cbckRR4v.js} +1 -1
  115. package/dist/assets/{NotFoundPage-CvuhMeh3-DzAU1c1V.js → NotFoundPage-CvuhMeh3-DqU44v-s.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-612cyOPa-BDov0Or2.js → NotificationSettingsPage-612cyOPa-B2Br4UTC.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-CrNHxW9v-0zuPtBoA.js → NotificationsListConfig-CrNHxW9v-KkWyZsCx.js} +1 -1
  118. package/dist/assets/{NotificationsPage-DOq8YY_K-B5AJl0PR.js → NotificationsPage-DOq8YY_K-DXXt11Bj.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-JhAQyVWO-CgqLDeMB.js → OpExByVendorPage-JhAQyVWO-CFIAoogA.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-CEiw6dk7-DNyrAeAy.js → OverlayContainerPage-CEiw6dk7-D-uaIGKT.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-B8WG6VDM-B7n_PAXf.js → PandLWithForecastPage-B8WG6VDM-DheE6AGf.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BT4jtUDt-BicenMSK.js → PaymentAccountSetupBillingAddressSection-BT4jtUDt-wAvdlMUp.js} +1 -1
  123. package/dist/assets/{PeoplePage-BJui-Wgk-Blym3c87.js → PeoplePage-BJui-Wgk-ZqLOzULs.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-CGhEa82h-Bt-P-vzg.js → ProductsCarousel-CGhEa82h-DIdMDRd_.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-1PF_kyGP-DnK5w4Qj.js → PromoBaseCards-1PF_kyGP-BRJ2sUha.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-BVpU5kvg-BwCSP0e9.js → QBOConnectionDialog-BVpU5kvg-HDDG_kF6.js} +1 -1
  127. package/dist/assets/{QBOSetupSection-QpfgbXqT-DZhl1eaB.js → QBOSetupSection-QpfgbXqT-DygUgRVU.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CcH6vHDZ-1I93dA7B.js → ReimbursementApprovalRuleDetailPage-CcH6vHDZ-zXLIrPpr.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRulesPage-C22bGg4Y-DujacG7V.js → ReimbursementApprovalRulesPage-C22bGg4Y-ClYVlFhQ.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-BntmMmsa-BON1Pgl-.js → ReimbursementDetailPage-BntmMmsa-DBIHpTWQ.js} +1 -1
  131. package/dist/assets/{ReimbursementPromoPage--ddzF7ri-CzikH3CP.js → ReimbursementPromoPage--ddzF7ri-C8Whx13o.js} +1 -1
  132. package/dist/assets/{ReimbursementSetUpPage-B_Mkgwzu-K4BhhXOp.js → ReimbursementSetUpPage-B_Mkgwzu-BjjCmbcS.js} +1 -1
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-XRdWaRhQ-CM2OmWD1.js → ReimbursementsBulkReviewDrawerPage-XRdWaRhQ-DF7X2SfJ.js} +1 -1
  134. package/dist/assets/{ReloadCard-crbWeOPP-CkioU763.js → ReloadCard-crbWeOPP-CXnI4BBC.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-KXoOW677-Cxk4-6kw.js → ReportTableViewSelector-KXoOW677-VB10UJ6e.js} +1 -1
  136. package/dist/assets/{ReportsPage-C3Jj54B2-CJg2yyXf.js → ReportsPage-C3Jj54B2-BeGQBjYf.js} +1 -1
  137. package/dist/assets/{RevenueChart-B2lwdex1-DM-m44Ax.js → RevenueChart-B2lwdex1-Cn6eIKBB.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-BzJuymlx-B43bDwEk.js → ReviewDetailsPage-BzJuymlx-De8jeqFq.js} +1 -1
  139. package/dist/assets/{ReviewOverlay-CXHcM5J8-Z1A7mqWB.js → ReviewOverlay-CXHcM5J8-CWmuYC1c.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-q4rQTPKj-BeUt86oC.js → RoleWithToolTip-q4rQTPKj-DnZtHqjj.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BDxnIjkN-CrAKUlFE.js → ScheduleDetailsFixedAssetsPage-BDxnIjkN-RHoI8Wq9.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsPage-C0WZjjTg-DX2t9Wrq.js → ScheduleDetailsPage-C0WZjjTg-4LVdyrEA.js} +1 -1
  143. package/dist/assets/{ScheduleSequenceTable-MEIZsagy-bHxXvqLR.js → ScheduleSequenceTable-MEIZsagy-Bs57M6oJ.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-BGG-33kI.js → ScreenRoutes-Br3O3Bv3.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-Drp97o6h-xxM8m8_w.js → SetUpAccountSection-Drp97o6h-CUmuMQTP.js} +1 -1
  146. package/dist/assets/{SignIn-YqQXhCUb-BOeW8x0h.js → SignIn-YqQXhCUb-DTchfIMW.js} +1 -1
  147. package/dist/assets/{SignInScreen-D-bsy2_u.js → SignInScreen-BEl-iT5I.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-SufQOT9Y-5mvmwHQW.js → SpendManagementListViewPage-SufQOT9Y-DsXDsMNB.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-vkAKQl3f-CYCCZ3rU.js → SpendManagementPerTabPage-vkAKQl3f-CDT-okI2.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-WqBeexgm-D6ZHNQRi.js → SpendManagementSection-WqBeexgm-FC3yMOoP.js} +1 -1
  151. package/dist/assets/{StatementItem-DNtPyOiC-mibD54OH.js → StatementItem-DNtPyOiC-Cwms937J.js} +1 -1
  152. package/dist/assets/{StatementsPage-ProqQbaP-BB4Fbh50.js → StatementsPage-ProqQbaP-Bwe3MvOf.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-CWQs9lpu-RXB7-04g.js → StatusSwitcher-CWQs9lpu-vdzoI5uC.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-B2uBojsp-DZNkw8WS.js → SubTabSwitcher-B2uBojsp-BscSJfWm.js} +1 -1
  155. package/dist/assets/{SummaryCard-Dcd_VUph-BV3h5iTx.js → SummaryCard-Dcd_VUph-CtvPqFVw.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-BM9VR6Lt-C4YfHc_A.js → TaskManagementPage-BM9VR6Lt-96HNn42p.js} +1 -1
  157. package/dist/assets/{TimeRangeSwitcher-Sfz9Zsfu-DOBYaYdI.js → TimeRangeSwitcher-Sfz9Zsfu-C7Lz4In0.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher--oC4RNb6-CvfDTC-U.js → TimeframeSwitcher--oC4RNb6-9wGsnDTh.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-CaOGQOMX-D3Vo1Cjd.js → TimeframeSwitcherWithToggle-CaOGQOMX-IGT58opJ.js} +1 -1
  160. package/dist/assets/{TopExCard-DQ50kCvS-_2HPPX6t.js → TopExCard-DQ50kCvS-ChFGt_1f.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-iwv1KNmn-sj6nj5zr.js → TopExDetailPage-iwv1KNmn-D2goxRJ1.js} +1 -1
  162. package/dist/assets/{TransactionDetailPage-dcUFs9xb-CrNRbBcr.js → TransactionDetailPage-dcUFs9xb-D1c2i9oL.js} +1 -1
  163. package/dist/assets/{TransactionList-1g-61_2b-CWHQyly8.js → TransactionList-1g-61_2b-BsVHB-dP.js} +1 -1
  164. package/dist/assets/{TransactionListBig-CSrLWjaV-BtYTXkmc.js → TransactionListBig-CSrLWjaV-DmreU3Pg.js} +1 -1
  165. package/dist/assets/{TransactionListPage-CKkWpoxH-CDqG5M4K.js → TransactionListPage-CKkWpoxH-DwZxceId.js} +1 -1
  166. package/dist/assets/{TransactionVendorDetailPage-BdVFxZdL-Dwyqb3QB.js → TransactionVendorDetailPage-BdVFxZdL-Da7F6NI9.js} +1 -1
  167. package/dist/assets/{TransferDrawerPage-nyepeege-Tib1D3Ko.js → TransferDrawerPage-nyepeege-C5aOIw_t.js} +1 -1
  168. package/dist/assets/{TreasuryOverviewPage-CkaOtstB-DJ6jh11f.js → TreasuryOverviewPage-CkaOtstB-Cb7VOc7Q.js} +1 -1
  169. package/dist/assets/{TreasuryPromoPage-B55rqmLO-BovduQF3.js → TreasuryPromoPage-B55rqmLO-B6nyli4-.js} +1 -1
  170. package/dist/assets/{TreasuryStatementsPage-DA72LRB2-COfX6A9q.js → TreasuryStatementsPage-DA72LRB2-BCFMT-Wb.js} +1 -1
  171. package/dist/assets/{TreasuryTaxLetterPage-CQ2nQIPi-CBS_UC-D.js → TreasuryTaxLetterPage-CQ2nQIPi-BvK8_LPp.js} +1 -1
  172. package/dist/assets/{TrendChart-BsSVNJm5-CngvRWQH.js → TrendChart-BsSVNJm5-C5P4NUjk.js} +1 -1
  173. package/dist/assets/{TrendWithTransactions-B6iLzpiJ-BNwLmu5S.js → TrendWithTransactions-B6iLzpiJ-CD-GjoX8.js} +1 -1
  174. package/dist/assets/{UncategorizedAccountsMappingPage-p3mhxO3d-hTb-4Xip.js → UncategorizedAccountsMappingPage-p3mhxO3d-BzXjBs-h.js} +1 -1
  175. package/dist/assets/{UnitIntegrationPage-CEtqPMTy-BFsuhTVj.js → UnitIntegrationPage-CEtqPMTy-CkFNHSgJ.js} +1 -1
  176. package/dist/assets/{UploadAdditionalDocumentOverlay-BYrAIUiK-zdW8Yium.js → UploadAdditionalDocumentOverlay-BYrAIUiK-19i7WD8j.js} +1 -1
  177. package/dist/assets/{Vendor2FAPopup-BPoFrkoj-DQVyS_En.js → Vendor2FAPopup-BPoFrkoj-CrkNrLcq.js} +1 -1
  178. package/dist/assets/{VendorACHDetailsPage-_UmamDKx-3__MSdLg.js → VendorACHDetailsPage-_UmamDKx-DnLhvKeC.js} +1 -1
  179. package/dist/assets/{VendorDetailPage-C0qX459r-CReufchw.js → VendorDetailPage-C0qX459r-DAL6sRtd.js} +1 -1
  180. package/dist/assets/{VendorDomesticWireDetailsPage-DJCb_XK0-CqOHNcHl.js → VendorDomesticWireDetailsPage-DJCb_XK0-D6ans18-.js} +1 -1
  181. package/dist/assets/{VendorFiling1099EditablePage-Da667Gu2-1r_mMv0x.js → VendorFiling1099EditablePage-Da667Gu2-DUD0rine.js} +1 -1
  182. package/dist/assets/{VendorFirstReviewPage-CJ-NKRm1-_2DgNT9J.js → VendorFirstReviewPage-CJ-NKRm1-BgMJtPzx.js} +1 -1
  183. package/dist/assets/{VendorInternationalWireDetailsPage-DodDB5wc-DbWBFoxR.js → VendorInternationalWireDetailsPage-DodDB5wc-DKjAmytq.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-ain3pHSa-EKqJyej-.js → VendorInternationalWireSwiftDetailsPage-ain3pHSa-CGNH7X2x.js} +1 -1
  185. package/dist/assets/{VendorsAccountsSection-C5cJ9KYV-CyL_wlEF.js → VendorsAccountsSection-C5cJ9KYV-BmGEajTn.js} +1 -1
  186. package/dist/assets/{VerifyDevice-B23jU0_c-B85D_w3i.js → VerifyDevice-B23jU0_c-Y4SYDFq4.js} +1 -1
  187. package/dist/assets/{VideoPlayer-CylTUX4X-BEZtED7z.js → VideoPlayer-CylTUX4X-DSxfswME.js} +1 -1
  188. package/dist/assets/{VideoPopup-C9x0ntQ5-C94oLuE1.js → VideoPopup-C9x0ntQ5-BVA3i-oV.js} +1 -1
  189. package/dist/assets/{WarningsDrawerPage-DrjxA1t_-DrM3KM-2.js → WarningsDrawerPage-DrjxA1t_-BoFSpSiS.js} +1 -1
  190. package/dist/assets/{ZeniAccountDetailPage-B7aCx_qz-DMRHevfC.js → ZeniAccountDetailPage-B7aCx_qz-CIWx2G2v.js} +1 -1
  191. package/dist/assets/{ZeniAccountListViewPage-C2AHdlrD-DmjpZpES.js → ZeniAccountListViewPage-C2AHdlrD-C79um01B.js} +1 -1
  192. package/dist/assets/{ZeniAccountNavBarPieces-AwdFLryC-S89TIuvH.js → ZeniAccountNavBarPieces-AwdFLryC-Jh4OQT7x.js} +1 -1
  193. package/dist/assets/{ZeniAccountPromoPage-c0ITsnMc-BxSMGlkl.js → ZeniAccountPromoPage-c0ITsnMc-B2My929b.js} +1 -1
  194. package/dist/assets/{ZeniAccountSetupPage-BE975QGg-DFrCRSD2.js → ZeniAccountSetupPage-BE975QGg-D-DppFIe.js} +1 -1
  195. package/dist/assets/{ZeniCopyright-eB9rNuZ3-BNyg83Vo.js → ZeniCopyright-eB9rNuZ3-cNG8Rw7j.js} +1 -1
  196. package/dist/assets/{ZeniTransferAmountSlider-CMYjwzsb--Afhr34i.js → ZeniTransferAmountSlider-CMYjwzsb-D5scnWJV.js} +1 -1
  197. package/dist/assets/{analyticsHelper-CLY1vV_E-BemgqSJF.js → analyticsHelper-CLY1vV_E-BwSnChaf.js} +1 -1
  198. package/dist/assets/{analyticsHelper-D-tLilsz.js → analyticsHelper-fz25hsmq.js} +1 -1
  199. package/dist/assets/{chartTypes-BjaXr-A2-DXtLo4Yx.js → chartTypes-BjaXr-A2-D3DBmfud.js} +1 -1
  200. package/dist/assets/{commonDimensions-C0X17W9N-BSrHO4N_.js → commonDimensions-C0X17W9N-CR9paNIq.js} +1 -1
  201. package/dist/assets/{commonTypes-BN7Uh_8W-pfbkHgmN.js → commonTypes-BN7Uh_8W-BM1Dtb_1.js} +1 -1
  202. package/dist/assets/{detailCommon-D9PsnkY1-BuBcpPrC.js → detailCommon-D9PsnkY1-D9_PN47h.js} +1 -1
  203. package/dist/assets/{downloadPdf-DE7Hd8jE-DAbFGRh1.js → downloadPdf-DE7Hd8jE-BAK9xguG.js} +1 -1
  204. package/dist/assets/{index-CRNmezJu.js → index-e-SZUuyN.js} +5 -5
  205. package/dist/assets/{mapLoadingInProgressToTreeNode-C4CzR5xS-Cg81Asz9.js → mapLoadingInProgressToTreeNode-C4CzR5xS-BKTQHVzy.js} +1 -1
  206. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-4MBuc1Sm-B6R5EAwN.js → mapSectionWithAcOnlyToTreeNode-4MBuc1Sm-CE09aSrt.js} +1 -1
  207. package/dist/assets/{mapSpacerToTreeNode-hZvWCXjA-CuA0QfzK.js → mapSpacerToTreeNode-hZvWCXjA-hu7JWeUA.js} +1 -1
  208. package/dist/assets/{mapTimeframeBalancesToTreeNode-CHvIKq5Y-CV_qZTRk.js → mapTimeframeBalancesToTreeNode-CHvIKq5Y-DtuP5OpB.js} +1 -1
  209. package/dist/assets/{mapTimeframeBalancesToTreeNode-D4r2BVXx-DnEFsarG.js → mapTimeframeBalancesToTreeNode-D4r2BVXx-BgK_pIe_.js} +1 -1
  210. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-BxTMyk7D.js → mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-H65zpMKu.js} +1 -1
  211. package/dist/assets/{toCOABalancesWithID-DPAmy3GS-lyRBWxwk.js → toCOABalancesWithID-DPAmy3GS-PiTKgxz9.js} +1 -1
  212. package/dist/assets/{toChartData-D5QdTlGa-DOsyIRYt.js → toChartData-D5QdTlGa-DLv4zZlP.js} +1 -1
  213. package/dist/assets/{uploadAttachment-BLADYUsp-BO1TVLxu.js → uploadAttachment-BLADYUsp-CuyJL9Ae.js} +1 -1
  214. package/dist/assets/{uploadReceipts-CLN2DLHQ-CHihhpL-.js → uploadReceipts-CLN2DLHQ-BcmoXhPJ.js} +1 -1
  215. package/dist/index.html +1 -1
  216. package/package.json +1 -1
  217. package/dist/assets/CustomerOnboardingContainerPage-CtySgp6R-CAM0wcfl.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a8 as se,V as o,fw as Ce,J as be,e as Pe,a9 as we,aR as xe,cF as ke,bC as Ie,o as i,aQ as Ae,ac as $e,aS as Oe,bo as ve,hL as Ve,O as Te,eY as je,eZ as oe,af as Le,y as J,al as Ue,c as A}from"./index-CRNmezJu.js";import{n as c}from"./mui-mhzAEcDs.js";import{a as $}from"./sentry-Dla7mstv.js";import{r as _e,t as ze}from"./PaymentAccountSetupBillingAddressSection-BT4jtUDt-BicenMSK.js";import{f as Ee}from"./CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-oykMYoxJ.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./zeni-epic-state-CSmiPBaP.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./commonTypes-BN7Uh_8W-pfbkHgmN.js";import"./SetUpAccountSection-Drp97o6h-xxM8m8_w.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]="3f16e8f5-36c0-4094-9e13-bf85f1769dd8",e._sentryDebugIdIdentifier="sentry-dbid-3f16e8f5-36c0-4094-9e13-bf85f1769dd8")}catch{}})();const Y="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},Be=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:v,googleAPIKey:V,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:P,handleAddCardPaymentSource:_,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:E,redirectToProductSuitePage:w,onUpdateCustomerView:B,...D})=>{const m=be(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:Z,onAddressEditHandler:x}=D,H=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:O(e),values:O(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:q,uiState:le,allNationalityCountries:X,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:W}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(O(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,X]);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(q).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(Y);t&&a&&(ye(),j("link_payment_account"),B(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(O(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,X,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:H.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(Ze,{children:o.jsx(He,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:Z})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:Be(ie),children:o.jsxs(Re,{children:[o.jsx(We,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(_e,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:q,subscriptionBillingAddressSectionId:n,sectionId:Y,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(ve,{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:W.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:W.submitText.replace("__action__",W.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:_,cardPaymentView:p,stripeKey:v,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:E,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
1
+ import{a8 as se,V as o,fw as Ce,J as be,e as Pe,a9 as we,aR as xe,cF as ke,bC as Ie,o as i,aQ as Ae,ac as $e,aS as Oe,bo as ve,hL as Ve,O as Te,eY as je,eZ as oe,af as Le,y as J,al as Ue,c as A}from"./index-e-SZUuyN.js";import{n as c}from"./mui-mhzAEcDs.js";import{a as $}from"./sentry-Dla7mstv.js";import{r as _e,t as ze}from"./PaymentAccountSetupBillingAddressSection-BT4jtUDt-wAvdlMUp.js";import{f as Ee}from"./CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-B7Pjeba4.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./zeni-epic-state-CSmiPBaP.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./commonTypes-BN7Uh_8W-BM1Dtb_1.js";import"./SetUpAccountSection-Drp97o6h-CUmuMQTP.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]="3f16e8f5-36c0-4094-9e13-bf85f1769dd8",e._sentryDebugIdIdentifier="sentry-dbid-3f16e8f5-36c0-4094-9e13-bf85f1769dd8")}catch{}})();const Y="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},Be=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:v,googleAPIKey:V,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:P,handleAddCardPaymentSource:_,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:E,redirectToProductSuitePage:w,onUpdateCustomerView:B,...D})=>{const m=be(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:Z,onAddressEditHandler:x}=D,H=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:O(e),values:O(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:q,uiState:le,allNationalityCountries:X,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:W}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(O(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,X]);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(q).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(Y);t&&a&&(ye(),j("link_payment_account"),B(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(O(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,X,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:H.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(Ze,{children:o.jsx(He,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:Z})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:Be(ie),children:o.jsxs(Re,{children:[o.jsx(We,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(_e,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:q,subscriptionBillingAddressSectionId:n,sectionId:Y,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(ve,{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:W.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:W.submitText.replace("__action__",W.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:_,cardPaymentView:p,stripeKey:v,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:E,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,fw as tn,J as We,e as nn,a9 as an,cF as me,aR as Me,D as ft,aE as Ke,bC as on,o as re,ac as sn,c as Q,aS as rn,hL as ln,ga as cn,fx as yt,eY as Ot,O as Je,eZ as gt,y as fe,ge as ye,cJ as dn,al as pn,hM as ht,ad as St,cT as un,gc as mn}from"./index-CRNmezJu.js";import{a as m}from"./sentry-Dla7mstv.js";import{n as P,k as wt}from"./mui-mhzAEcDs.js";import{bi as j}from"./zeni-epic-state-CSmiPBaP.js";import{r as Ct,t as fn}from"./PaymentAccountSetupBillingAddressSection-BT4jtUDt-BicenMSK.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-oykMYoxJ.js";import{z as gn,n as hn}from"./CompanyOfficerDetailsSection-C2j4TNi_-D3zewiNv.js";import{t as Sn}from"./QBOSetupSection-QpfgbXqT-DZhl1eaB.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./commonTypes-BN7Uh_8W-pfbkHgmN.js";import"./SetUpAccountSection-Drp97o6h-xxM8m8_w.js";import"./LabeledAddressValueField-D950JjHi-B7-ZxMwG.js";import"./LabeledCountryMultiSelectField-CzFImFhW-CGgJ4k83.js";import"./LabeledCreatableSingleSelectField-gJu9uvr7-DQ2Nsagb.js";import"./LabeledDocumentField-y5kqHnHe-CmBeTY2E.js";import"./LabeledMultiSelectField-CIuHS55z-0cjXFx_d.js";import"./QBOConnectionDialog-BVpU5kvg-BwCSP0e9.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]="bce42d51-5d93-4c74-bc88-ac94b05aadd4",n._sentryDebugIdIdentifier="sentry-dbid-bce42d51-5d93-4c74-bc88-ac94b05aadd4")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:O,onPhoneVerified:h,...w})=>{const y=We(),A=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Je.getLocalizedStrings().customerOnboardingPage.sections,{title:N}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:r,sectionHeader:N,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...w})})},bn=P.div`
1
+ import{V as l,fw as tn,J as We,e as nn,a9 as an,cF as me,aR as Me,D as ft,aE as Ke,bC as on,o as re,ac as sn,c as Q,aS as rn,hL as ln,ga as cn,fx as yt,eY as Ot,O as Je,eZ as gt,y as fe,ge as ye,cJ as dn,al as pn,hM as ht,ad as St,cT as un,gc as mn}from"./index-e-SZUuyN.js";import{a as m}from"./sentry-Dla7mstv.js";import{n as P,k as wt}from"./mui-mhzAEcDs.js";import{bi as j}from"./zeni-epic-state-CSmiPBaP.js";import{r as Ct,t as fn}from"./PaymentAccountSetupBillingAddressSection-BT4jtUDt-wAvdlMUp.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-B7Pjeba4.js";import{z as gn,n as hn}from"./CompanyOfficerDetailsSection-C2j4TNi_-P80aH3rj.js";import{t as Sn}from"./QBOSetupSection-QpfgbXqT-DygUgRVU.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./commonTypes-BN7Uh_8W-BM1Dtb_1.js";import"./SetUpAccountSection-Drp97o6h-CUmuMQTP.js";import"./LabeledAddressValueField-D950JjHi-CobscTGb.js";import"./LabeledCountryMultiSelectField-CzFImFhW-y52IAHGb.js";import"./LabeledCreatableSingleSelectField-gJu9uvr7-Baz8OVT_.js";import"./LabeledDocumentField-y5kqHnHe-Cd6aBb3C.js";import"./LabeledMultiSelectField-CIuHS55z-BSvQJ-Z0.js";import"./QBOConnectionDialog-BVpU5kvg-HDDG_kF6.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]="bce42d51-5d93-4c74-bc88-ac94b05aadd4",n._sentryDebugIdIdentifier="sentry-dbid-bce42d51-5d93-4c74-bc88-ac94b05aadd4")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:O,onPhoneVerified:h,...w})=>{const y=We(),A=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Je.getLocalizedStrings().customerOnboardingPage.sections,{title:N}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:r,sectionHeader:N,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...w})})},bn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{J as F,a8 as M,ax as I,e as _,V as e,bC as U,o as t,aQ as b,bo as W,fw as V,O as A,al as H,af as J,p as l,b as k,ag as N,l as R,a as Z,aq as q,b0 as K}from"./index-CRNmezJu.js";import{a as n}from"./sentry-Dla7mstv.js";import{n as o}from"./mui-mhzAEcDs.js";import{FT as Q}from"./zeni-epic-state-CSmiPBaP.js";import G from"./ConfettiBurst-Dl2Z6LKw-OEcvzGtj.js";import{T as X}from"./ProductsCarousel-CGhEa82h-Bt-P-vzg.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.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]="0196e353-8e61-46cd-9788-9d5139df43bd",i._sentryDebugIdIdentifier="sentry-dbid-0196e353-8e61-46cd-9788-9d5139df43bd")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),Ie=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=F(),f=M().analytics,w=I(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,O=_(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=B;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]},D=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,Q(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:x?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>D(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(W,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(G,{showConfetti:$})]})},te=o.div`
1
+ import{J as F,a8 as M,ax as I,e as _,V as e,bC as U,o as t,aQ as b,bo as W,fw as V,O as A,al as H,af as J,p as l,b as k,ag as N,l as R,a as Z,aq as q,b0 as K}from"./index-e-SZUuyN.js";import{a as n}from"./sentry-Dla7mstv.js";import{n as o}from"./mui-mhzAEcDs.js";import{FT as Q}from"./zeni-epic-state-CSmiPBaP.js";import G from"./ConfettiBurst-Dl2Z6LKw-BXiTHcqO.js";import{T as X}from"./ProductsCarousel-CGhEa82h-DIdMDRd_.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.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]="0196e353-8e61-46cd-9788-9d5139df43bd",i._sentryDebugIdIdentifier="sentry-dbid-0196e353-8e61-46cd-9788-9d5139df43bd")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),Ie=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=F(),f=M().analytics,w=I(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,O=_(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=B;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]},D=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,Q(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:x?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>D(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(W,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(G,{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 FA,ax as Ee,V as e,ay as Yt,O as Q,az as Ht,aA as Kt,o,aB as Nt,D as LA,p as u,aC as zt,aD as Gt,aE as Wt,aF as Be,aG as qt,aH as Xt,aI as Vt,aJ as Zt,aK as $t,aL as _t,aM as P,J as eA,aN as N,aO as Y,aP as X,aQ as D,a9 as Ar,aR as Ke,x as Ne,ac as er,aS as tr,y as AA,aT as z,aU as tA,am as rA,aV as ze,aW as J,aX as U,aY as qA,ao as rr,e as nA,aZ as or,a_ as ar,a$ as ir,b0 as gr,ai as F,b1 as JA,c as S,aq as XA,al as PA,b2 as Ge,b3 as We,b4 as qe,b5 as nr,b6 as VA,F as Cr,M as sr,b7 as Er,b8 as Xe,b9 as dr,ba as Br,bb as ZA,bc as lr,bd as Qr,be as Ir,bf as cr,T as Ve,b as hr,bg as pr,u as mr,bh as Ze,bi as $e,an as ur,bj as xr,ag as fr,at as _e}from"./index-CRNmezJu.js";import{a as t,S as k}from"./sentry-Dla7mstv.js";import{n as g,a as wr,c as xA,k as R}from"./mui-mhzAEcDs.js";import{L as kr}from"./lottie-N_bekW9H.js";import{bg as Dr,bh as At,EL as et}from"./zeni-epic-state-CSmiPBaP.js";import{v as yr}from"./DashboardSidebarBackgroundAnimation-BhNP2YDK-RRWjqzmy.js";import{L as jr,k as vr}from"./ArAgingChart-Dv9GPrlk-1IjLiFwv.js";import{E as br,A as de,z as tt}from"./ReloadCard-crbWeOPP-CkioU763.js";import{L as Mr,O as UA,c as lA}from"./TopExCard-DQ50kCvS-_2HPPX6t.js";import{Y as Sr,X as Rr,H as Lr,P as Fr,G as Jr}from"./RevenueChart-B2lwdex1-DM-m44Ax.js";import Pr from"./InsightsCardStack-BZ6yws_x-DiUvTias.js";import{a as Ur}from"./AccountsPromoCardStack-BCRuoijH-D0HIkJsh.js";import{c as V}from"./SummaryCard-Dcd_VUph-BV3h5iTx.js";import{t as Or,o as Tr}from"./arrow-south-east-round-PEovUgvH-Clrgdbmr.js";import{N as gA}from"./NavigationArrow-BuPVGh38-C7FStd2H.js";import{k as $A}from"./NavigationDots-CLd0nZZT-DkTweDHl.js";import Yr from"./CompanyPassportCard--3g9aidd-CxwOeh5K.js";import{C as Hr}from"./gift-box-Cmt9OgIZ-CLwRJG71.js";import Kr from"./InformationCardStack-BZIU9Bwm-DWOE8xSt.js";import{p as rt}from"./chartTypes-BjaXr-A2-DXtLo4Yx.js";import{h as Nr}from"./toCOABalancesWithID-DPAmy3GS-lyRBWxwk.js";import{V as zr}from"./toChartData-D5QdTlGa-DOsyIRYt.js";import{r as Gr,i as Wr}from"./graphic-no-data-net-burn-l-CzmycA0m-BeL6_aGQ.js";import{N as qr,J as Xr}from"./PromoBaseCards-1PF_kyGP-DnK5w4Qj.js";import{r as Vr}from"./core-hVMF2uNa.js";import{N as Zr,I as $r}from"./VideoPlayer-CylTUX4X-BEZtED7z.js";import _r from"./ConfettiBurst-Dl2Z6LKw-OEcvzGtj.js";import{F as Ao,G as eo,Y as to,X as ro,R as oo}from"./recharts-BErFcng5.js";import"./liveblocks-BKvkleJ3.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./graphic-no-data-l-DU4J8fDt-C7rs195d.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new A.Error().stack;a&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[a]="87e8b4da-460b-47df-82ba-7f2d735513d9",A._sentryDebugIdIdentifier="sentry-dbid-87e8b4da-460b-47df-82ba-7f2d735513d9")}catch{}})();const ao=g(tA)`
1
+ import{aw as FA,ax as Ee,V as e,ay as Yt,O as Q,az as Ht,aA as Kt,o,aB as Nt,D as LA,p as u,aC as zt,aD as Gt,aE as Wt,aF as Be,aG as qt,aH as Xt,aI as Vt,aJ as Zt,aK as $t,aL as _t,aM as P,J as eA,aN as N,aO as Y,aP as X,aQ as D,a9 as Ar,aR as Ke,x as Ne,ac as er,aS as tr,y as AA,aT as z,aU as tA,am as rA,aV as ze,aW as J,aX as U,aY as qA,ao as rr,e as nA,aZ as or,a_ as ar,a$ as ir,b0 as gr,ai as F,b1 as JA,c as S,aq as XA,al as PA,b2 as Ge,b3 as We,b4 as qe,b5 as nr,b6 as VA,F as Cr,M as sr,b7 as Er,b8 as Xe,b9 as dr,ba as Br,bb as ZA,bc as lr,bd as Qr,be as Ir,bf as cr,T as Ve,b as hr,bg as pr,u as mr,bh as Ze,bi as $e,an as ur,bj as xr,ag as fr,at as _e}from"./index-e-SZUuyN.js";import{a as t,S as k}from"./sentry-Dla7mstv.js";import{n as g,a as wr,c as xA,k as R}from"./mui-mhzAEcDs.js";import{L as kr}from"./lottie-N_bekW9H.js";import{bg as Dr,bh as At,EL as et}from"./zeni-epic-state-CSmiPBaP.js";import{v as yr}from"./DashboardSidebarBackgroundAnimation-BhNP2YDK-AvtdKUwZ.js";import{L as jr,k as vr}from"./ArAgingChart-Dv9GPrlk-BDO04yvC.js";import{E as br,A as de,z as tt}from"./ReloadCard-crbWeOPP-CXnI4BBC.js";import{L as Mr,O as UA,c as lA}from"./TopExCard-DQ50kCvS-ChFGt_1f.js";import{Y as Sr,X as Rr,H as Lr,P as Fr,G as Jr}from"./RevenueChart-B2lwdex1-Cn6eIKBB.js";import Pr from"./InsightsCardStack-BZ6yws_x-l5SDGStI.js";import{a as Ur}from"./AccountsPromoCardStack-BCRuoijH-BiUfxCis.js";import{c as V}from"./SummaryCard-Dcd_VUph-CtvPqFVw.js";import{t as Or,o as Tr}from"./arrow-south-east-round-PEovUgvH-Clrgdbmr.js";import{N as gA}from"./NavigationArrow-BuPVGh38-XNHRi9o5.js";import{k as $A}from"./NavigationDots-CLd0nZZT-CV65Lnrl.js";import Yr from"./CompanyPassportCard--3g9aidd-DEP92iFu.js";import{C as Hr}from"./gift-box-Cmt9OgIZ-CLwRJG71.js";import Kr from"./InformationCardStack-BZIU9Bwm-BPjI_Aqf.js";import{p as rt}from"./chartTypes-BjaXr-A2-D3DBmfud.js";import{h as Nr}from"./toCOABalancesWithID-DPAmy3GS-PiTKgxz9.js";import{V as zr}from"./toChartData-D5QdTlGa-DLv4zZlP.js";import{r as Gr,i as Wr}from"./graphic-no-data-net-burn-l-CzmycA0m-BeL6_aGQ.js";import{N as qr,J as Xr}from"./PromoBaseCards-1PF_kyGP-BRJ2sUha.js";import{r as Vr}from"./core-hVMF2uNa.js";import{N as Zr,I as $r}from"./VideoPlayer-CylTUX4X-DSxfswME.js";import _r from"./ConfettiBurst-Dl2Z6LKw-BXiTHcqO.js";import{F as Ao,G as eo,Y as to,X as ro,R as oo}from"./recharts-BErFcng5.js";import"./liveblocks-BKvkleJ3.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./graphic-no-data-l-DU4J8fDt-C7rs195d.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new A.Error().stack;a&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[a]="87e8b4da-460b-47df-82ba-7f2d735513d9",A._sentryDebugIdIdentifier="sentry-dbid-87e8b4da-460b-47df-82ba-7f2d735513d9")}catch{}})();const ao=g(tA)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,le=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{J as B,e as Z,O as _,ax as ke,V as s,bC as qe,T as Je,D as Qe,bD as Xe,o as d,y as N,aE as X,bE as Ke,bF as et,ai as oe,c as j,b4 as tt,aW as st,x as Oe,r as Be,p as D,aq as Pe,aV as ot,bb as at,an as nt,bG as it,au as rt,bH as ct,bI as ne,bJ as lt,at as dt,am as pt,bK as ut,bL as gt}from"./index-CRNmezJu.js";import{a as S,S as K}from"./sentry-Dla7mstv.js";import{n as u,k as Ie}from"./mui-mhzAEcDs.js";import{bg as mt,EN as ht,E7 as ft,EO as bt,EP as xt,EQ as _t,ER as wt,ES as yt,ET as St,EU as vt,EV as $t}from"./zeni-epic-state-CSmiPBaP.js";import{m as G,l as se}from"./analyticsHelper-CLY1vV_E-BemgqSJF.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-KXoOW677-Cxk4-6kw.js";import{q as kt}from"./InsightsSection-CdlmvyOs-DmXLU_Lu.js";import{q as Ot,G as Bt,k as xe,H as ee,N as pe}from"./detailCommon-D9PsnkY1-BuBcpPrC.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-B2lwdex1-DM-m44Ax.js";import{C as Nt}from"./NoDataChart-VrW0gNeK-CoKQWY6y.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-Sfz9Zsfu-DOBYaYdI.js";import{b as Ne}from"./TimeframeSwitcher--oC4RNb6-CvfDTC-U.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-D9EGRkFb-DwhLMO0b.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-4MBuc1Sm-B6R5EAwN.js";import{d as Mt}from"./NoDataTable-CZaHTbXi-BvRSGEWZ.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-BxTMyk7D.js";import{d as he}from"./mapLoadingInProgressToTreeNode-C4CzR5xS-Cg81Asz9.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./NavigationDots-CLd0nZZT-DkTweDHl.js";import"./chartTypes-BjaXr-A2-DXtLo4Yx.js";import"./toCOABalancesWithID-DPAmy3GS-lyRBWxwk.js";import"./toChartData-D5QdTlGa-DOsyIRYt.js";import"./AccountRow-C0plHrDu-BlMGnWxc.js";import"./graphic-no-data-l-DU4J8fDt-C7rs195d.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]="32a843a7-258e-4097-aaff-e39f4bac183a",e._sentryDebugIdIdentifier="sentry-dbid-32a843a7-258e-4097-aaff-e39f4bac183a")}catch{}})();const Ft=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),S.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
1
+ import{J as B,e as Z,O as _,ax as ke,V as s,bC as qe,T as Je,D as Qe,bD as Xe,o as d,y as N,aE as X,bE as Ke,bF as et,ai as oe,c as j,b4 as tt,aW as st,x as Oe,r as Be,p as D,aq as Pe,aV as ot,bb as at,an as nt,bG as it,au as rt,bH as ct,bI as ne,bJ as lt,at as dt,am as pt,bK as ut,bL as gt}from"./index-e-SZUuyN.js";import{a as S,S as K}from"./sentry-Dla7mstv.js";import{n as u,k as Ie}from"./mui-mhzAEcDs.js";import{bg as mt,EN as ht,E7 as ft,EO as bt,EP as xt,EQ as _t,ER as wt,ES as yt,ET as St,EU as vt,EV as $t}from"./zeni-epic-state-CSmiPBaP.js";import{m as G,l as se}from"./analyticsHelper-CLY1vV_E-BwSnChaf.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-KXoOW677-VB10UJ6e.js";import{q as kt}from"./InsightsSection-CdlmvyOs-CSbQ6jxV.js";import{q as Ot,G as Bt,k as xe,H as ee,N as pe}from"./detailCommon-D9PsnkY1-D9_PN47h.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-B2lwdex1-Cn6eIKBB.js";import{C as Nt}from"./NoDataChart-VrW0gNeK-D9AHc7Vl.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-Sfz9Zsfu-C7Lz4In0.js";import{b as Ne}from"./TimeframeSwitcher--oC4RNb6-9wGsnDTh.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-D9EGRkFb-rtyJvli3.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-4MBuc1Sm-CE09aSrt.js";import{d as Mt}from"./NoDataTable-CZaHTbXi-cbckRR4v.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-H65zpMKu.js";import{d as he}from"./mapLoadingInProgressToTreeNode-C4CzR5xS-BKTQHVzy.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./NavigationDots-CLd0nZZT-CV65Lnrl.js";import"./chartTypes-BjaXr-A2-D3DBmfud.js";import"./toCOABalancesWithID-DPAmy3GS-PiTKgxz9.js";import"./toChartData-D5QdTlGa-DLv4zZlP.js";import"./AccountRow-C0plHrDu-BHbrjlQa.js";import"./graphic-no-data-l-DU4J8fDt-C7rs195d.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]="32a843a7-258e-4097-aaff-e39f4bac183a",e._sentryDebugIdIdentifier="sentry-dbid-32a843a7-258e-4097-aaff-e39f4bac183a")}catch{}})();const Ft=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),S.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{aw as u,V as o,b6 as b,o as p}from"./index-CRNmezJu.js";import{a as s}from"./sentry-Dla7mstv.js";import{a as h,n as m}from"./mui-mhzAEcDs.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]="be692db3-22ec-4379-a620-76f1129f2d2c",e._sentryDebugIdIdentifier="sentry-dbid-be692db3-22ec-4379-a620-76f1129f2d2c")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,d]=u(l,r),[t,c]=s.useState(null);a!=null&&t==null&&!d&&c(a);const f=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(b,{style:{width:"inherit",height:"inherit",display:"block"},animationData:t,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
1
+ import{aw as u,V as o,b6 as b,o as p}from"./index-e-SZUuyN.js";import{a as s}from"./sentry-Dla7mstv.js";import{a as h,n as m}from"./mui-mhzAEcDs.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]="be692db3-22ec-4379-a620-76f1129f2d2c",e._sentryDebugIdIdentifier="sentry-dbid-be692db3-22ec-4379-a620-76f1129f2d2c")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,d]=u(l,r),[t,c]=s.useState(null);a!=null&&t==null&&!d&&c(a);const f=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(b,{style:{width:"inherit",height:"inherit",display:"block"},animationData:t,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aO as y,hA as u,J as $,V as l,o as i,al as c,am as w}from"./index-CRNmezJu.js";import{n as t}from"./mui-mhzAEcDs.js";import{g as k}from"./BoxItem-CQn8-mlp-3WaKvXCN.js";import{o as v}from"./commonDimensions-C0X17W9N-BSrHO4N_.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]="3f5ee237-e4d0-4474-9518-e30f39d46056",e._sentryDebugIdIdentifier="sentry-dbid-3f5ee237-e4d0-4474-9518-e30f39d46056")}catch{}})();function H({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:p,logo:f,summary:x,direction:m,status:b}=e,g=r.length>0?r:x,a=y("0,0.00",p),s=u(b),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:f?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(A,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(K,{windowSize:o,children:m==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aO as y,hA as u,J as $,V as l,o as i,al as c,am as w}from"./index-e-SZUuyN.js";import{n as t}from"./mui-mhzAEcDs.js";import{g as k}from"./BoxItem-CQn8-mlp-BpjhTACd.js";import{o as v}from"./commonDimensions-C0X17W9N-CR9paNIq.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]="3f5ee237-e4d0-4474-9518-e30f39d46056",e._sentryDebugIdIdentifier="sentry-dbid-3f5ee237-e4d0-4474-9518-e30f39d46056")}catch{}})();function H({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:p,logo:f,summary:x,direction:m,status:b}=e,g=r.length>0?r:x,a=y("0,0.00",p),s=u(b),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:f?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(A,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(K,{windowSize:o,children:m==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -1,4 +1,4 @@
1
- import{e as M,J as S,V as e,bC as I,b4 as C,hJ as Y,o,O as z,p as u,ct as E,df as F,dg as _,da as L,dh as T,y as B,ai as J,al as R,c as g}from"./index-CRNmezJu.js";import{a as x}from"./sentry-Dla7mstv.js";import{n as a}from"./mui-mhzAEcDs.js";import{bh as V}from"./zeni-epic-state-CSmiPBaP.js";import{$ as A}from"./BoxItem-CQn8-mlp-3WaKvXCN.js";import{o as N}from"./commonDimensions-C0X17W9N-BSrHO4N_.js";import{H as P}from"./DepositAccTransactionItem-B3A_2ZTg-BGji2vDD.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="64c748dd-72b6-4b11-af61-0615af2f625d",t._sentryDebugIdIdentifier="sentry-dbid-64c748dd-72b6-4b11-af61-0615af2f625d")}catch{}})();const l=z.getLocalizedStrings(),H={listItemMargin:new B(g[3],g[8])};function O(t){const i=F(t,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,r=>r.length>0);return L(d,r=>({date:r[0].transactionDate,transactions:T(r,m=>m.transactionDate,"desc")}))}const X=Y(O),pt=({transactionListView:t,onBackClick:i})=>{const d=M(),r=S(),m=x.createRef(),p=x.useRef(null),c=X(t.transactions),k=t.depositAccountName,f=c.length===0,j=n=>f===!1?c[n].transactions.length*N.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return e.jsx(y,{style:{...h},children:e.jsx(w,{windowSize:r,children:e.jsxs($,{children:[e.jsx(Q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(U,{children:s.transactions.map((D,b)=>e.jsx(P,{data:D,boxType:A(b,s.transactions.length)},b))})]})})})}else return e.jsx(y,{style:{...h},children:e.jsx(q,{children:e.jsx(w,{windowSize:r,children:e.jsx(K,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(G,{children:[e.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"}),e.jsx($,{children:e.jsx(C,{children:({height:n,width:h})=>e.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},y=a.div``,w=a.div`
1
+ import{e as M,J as S,V as e,bC as I,b4 as C,hJ as Y,o,O as z,p as u,ct as E,df as F,dg as _,da as L,dh as T,y as B,ai as J,al as R,c as g}from"./index-e-SZUuyN.js";import{a as x}from"./sentry-Dla7mstv.js";import{n as a}from"./mui-mhzAEcDs.js";import{bh as V}from"./zeni-epic-state-CSmiPBaP.js";import{$ as A}from"./BoxItem-CQn8-mlp-BpjhTACd.js";import{o as N}from"./commonDimensions-C0X17W9N-CR9paNIq.js";import{H as P}from"./DepositAccTransactionItem-B3A_2ZTg-BCChPgpu.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="64c748dd-72b6-4b11-af61-0615af2f625d",t._sentryDebugIdIdentifier="sentry-dbid-64c748dd-72b6-4b11-af61-0615af2f625d")}catch{}})();const l=z.getLocalizedStrings(),H={listItemMargin:new B(g[3],g[8])};function O(t){const i=F(t,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,r=>r.length>0);return L(d,r=>({date:r[0].transactionDate,transactions:T(r,m=>m.transactionDate,"desc")}))}const X=Y(O),pt=({transactionListView:t,onBackClick:i})=>{const d=M(),r=S(),m=x.createRef(),p=x.useRef(null),c=X(t.transactions),k=t.depositAccountName,f=c.length===0,j=n=>f===!1?c[n].transactions.length*N.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return e.jsx(y,{style:{...h},children:e.jsx(w,{windowSize:r,children:e.jsxs($,{children:[e.jsx(Q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(U,{children:s.transactions.map((D,b)=>e.jsx(P,{data:D,boxType:A(b,s.transactions.length)},b))})]})})})}else return e.jsx(y,{style:{...h},children:e.jsx(q,{children:e.jsx(w,{windowSize:r,children:e.jsx(K,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(G,{children:[e.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"}),e.jsx($,{children:e.jsx(C,{children:({height:n,width:h})=>e.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},y=a.div``,w=a.div`
2
2
  margin: ${t=>`${o.sp0} ${H.listItemMargin.valuePx(t.windowSize)}`};
3
3
  `,q=a.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{J as O,a9 as J,O as S,cF as U,aE as q,V as n,cp as G,cq as H,cr as K,ac as Q,aS as X,y as b,eV as Y,o as Z,ba as ee,c as o}from"./index-CRNmezJu.js";import{a as C}from"./sentry-Dla7mstv.js";import{n as h}from"./mui-mhzAEcDs.js";import{bi as T}from"./zeni-epic-state-CSmiPBaP.js";import{e as ne}from"./BankAccountSection-danXlJW--Ci61_HQI.js";import{M as te}from"./MagicLinkTitleSection-CI_X5_g6-DmElUYen.js";import{W as ae,A as oe}from"./BankAccountWarningSection-Byabqq8Z-DlkkUlqm.js";import{T as ie}from"./MailingDetailsSection-C_ZYNZtm-CsF-OIaa.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]="653aa5de-8005-4142-9190-03d1f28bd183",e._sentryDebugIdIdentifier="sentry-dbid-653aa5de-8005-4142-9190-03d1f28bd183")}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",j="mailingAddressSection",D=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:$,isMagicLink:g,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:w}=e,u=O(),c=J({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[E,f]=C.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,V={onOkClick:()=>{f(!1),c.reset(),w?.()},onCancelClick:()=>{f(!1)}},_=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&R?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&U(()=>_(d,m))});return()=>{p.unsubscribe()}});const F=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!q(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[E===!0?n.jsx(G,{titleComponent:n.jsx(K,{children:a.discardTitle}),descriptionComponent:n.jsx(H,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:V}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:$??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:w,setShowConfirmationPopup:f}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(Q,{...c,children:n.jsxs("form",{id:D(B),onSubmit:F,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:j,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId: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:W.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?f(!0):(c.reset(),w?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[j]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
1
+ import{J as O,a9 as J,O as S,cF as U,aE as q,V as n,cp as G,cq as H,cr as K,ac as Q,aS as X,y as b,eV as Y,o as Z,ba as ee,c as o}from"./index-e-SZUuyN.js";import{a as C}from"./sentry-Dla7mstv.js";import{n as h}from"./mui-mhzAEcDs.js";import{bi as T}from"./zeni-epic-state-CSmiPBaP.js";import{e as ne}from"./BankAccountSection-danXlJW--CGFGOQdm.js";import{M as te}from"./MagicLinkTitleSection-CI_X5_g6-B9qDUBZ-.js";import{W as ae,A as oe}from"./BankAccountWarningSection-Byabqq8Z-B6b9o7wy.js";import{T as ie}from"./MailingDetailsSection-C_ZYNZtm-CJ5xMswj.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]="653aa5de-8005-4142-9190-03d1f28bd183",e._sentryDebugIdIdentifier="sentry-dbid-653aa5de-8005-4142-9190-03d1f28bd183")}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",j="mailingAddressSection",D=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:$,isMagicLink:g,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:w}=e,u=O(),c=J({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[E,f]=C.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,V={onOkClick:()=>{f(!1),c.reset(),w?.()},onCancelClick:()=>{f(!1)}},_=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&R?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&U(()=>_(d,m))});return()=>{p.unsubscribe()}});const F=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!q(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[E===!0?n.jsx(G,{titleComponent:n.jsx(K,{children:a.discardTitle}),descriptionComponent:n.jsx(H,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:V}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:$??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:w,setShowConfirmationPopup:f}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(Q,{...c,children:n.jsxs("form",{id:D(B),onSubmit:F,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:j,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId: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:W.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?f(!0):(c.reset(),w?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[j]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
2
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{V as t,c3 as it,o as s,J as he,c4 as nt,an as He,p as ue,y as W,x as lt,O as F,c5 as dt,bO as Ue,c as B,ba as qe,al as R,bR as _e,b as te,am as be,r as ae,e as We,bT as ct,c6 as xe,c7 as ge,T as Ge,c8 as Ze,bM as pt,bb as mt,ao as ye,c9 as Z,ca as ft,cb as ht,bK as ut,bS as bt,aq as xt,cc as gt,b$ as yt,au as $t}from"./index-CRNmezJu.js";import{a as h,S as $e}from"./sentry-Dla7mstv.js";import{n,k as Ke}from"./mui-mhzAEcDs.js";import{F4 as me,F5 as C,F6 as K,bL as P,F7 as J,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 Dt}from"./zeni-epic-state-CSmiPBaP.js";import{m as Yt}from"./analyticsHelper-CLY1vV_E-BemgqSJF.js";import{g as kt,x as _t}from"./ReportTableViewSelector-KXoOW677-Cxk4-6kw.js";import{t as Ct}from"./page-detail-CWX5S47F-C7t8NOxn.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./CollapsableReportTable-D9EGRkFb-DwhLMO0b.js";import"./AccountRow-C0plHrDu-BlMGnWxc.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]="65942a74-ac93-439e-bdc0-a79731e917d3",e._sentryDebugIdIdentifier="sentry-dbid-65942a74-ac93-439e-bdc0-a79731e917d3")}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,c3 as it,o as s,J as he,c4 as nt,an as He,p as ue,y as W,x as lt,O as F,c5 as dt,bO as Ue,c as B,ba as qe,al as R,bR as _e,b as te,am as be,r as ae,e as We,bT as ct,c6 as xe,c7 as ge,T as Ge,c8 as Ze,bM as pt,bb as mt,ao as ye,c9 as Z,ca as ft,cb as ht,bK as ut,bS as bt,aq as xt,cc as gt,b$ as yt,au as $t}from"./index-e-SZUuyN.js";import{a as h,S as $e}from"./sentry-Dla7mstv.js";import{n,k as Ke}from"./mui-mhzAEcDs.js";import{F4 as me,F5 as C,F6 as K,bL as P,F7 as J,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 Dt}from"./zeni-epic-state-CSmiPBaP.js";import{m as Yt}from"./analyticsHelper-CLY1vV_E-BwSnChaf.js";import{g as kt,x as _t}from"./ReportTableViewSelector-KXoOW677-VB10UJ6e.js";import{t as Ct}from"./page-detail-CWX5S47F-C7t8NOxn.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./CollapsableReportTable-D9EGRkFb-rtyJvli3.js";import"./AccountRow-C0plHrDu-BHbrjlQa.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]="65942a74-ac93-439e-bdc0-a79731e917d3",e._sentryDebugIdIdentifier="sentry-dbid-65942a74-ac93-439e-bdc0-a79731e917d3")}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{J as a,V as i,bT as y,o as r,y as s,O as h,c2 as P,F as c,M as g,x as b,c as t,aO as k,j$ as L,k0 as D,k1 as C}from"./index-CRNmezJu.js";import{n as o}from"./mui-mhzAEcDs.js";import"./sentry-Dla7mstv.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./zeni-epic-state-CSmiPBaP.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.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]="46211a20-b445-4142-8f8b-5f7e32ff8dad",e._sentryDebugIdIdentifier="sentry-dbid-46211a20-b445-4142-8f8b-5f7e32ff8dad")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,_=({rewardsPlan:e})=>{const n=[I(),R(),M({rewardsPlan:e})],d=a();return i.jsx(T,{children:n.map((j,S)=>i.jsxs(O,{children:[i.jsx(F,{children:j}),S<n.length-1?i.jsx(A,{windowSize:d}):null]},`step_${S}`))})},I=()=>{const e=a(),n=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(B,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(E,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=x.item3;return i.jsxs(p,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(N,{windowSize:n})}),i.jsx(f,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(z,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},p=o.div`
1
+ import{J as a,V as i,bT as y,o as r,y as s,O as h,c2 as P,F as c,M as g,x as b,c as t,aO as k,j$ as L,k0 as D,k1 as C}from"./index-e-SZUuyN.js";import{n as o}from"./mui-mhzAEcDs.js";import"./sentry-Dla7mstv.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./zeni-epic-state-CSmiPBaP.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.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]="46211a20-b445-4142-8f8b-5f7e32ff8dad",e._sentryDebugIdIdentifier="sentry-dbid-46211a20-b445-4142-8f8b-5f7e32ff8dad")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,_=({rewardsPlan:e})=>{const n=[I(),R(),M({rewardsPlan:e})],d=a();return i.jsx(T,{children:n.map((j,S)=>i.jsxs(O,{children:[i.jsx(F,{children:j}),S<n.length-1?i.jsx(A,{windowSize:d}):null]},`step_${S}`))})},I=()=>{const e=a(),n=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(B,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(E,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=x.item3;return i.jsxs(p,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(N,{windowSize:n})}),i.jsx(f,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(z,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},p=o.div`
2
2
  border: 1px solid ${e=>e.theme.colors.grey3};
3
3
  border-radius: ${r.sp2};
4
4
  box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.dropShadowNormal}`};
@@ -1,4 +1,4 @@
1
- import{J as ie,fS as ae,e as de,a9 as pe,aR as ce,V as t,cp as ue,ap as me,cq as fe,cr as ge,gP as he,cv as ye,o as n,bT as ve,aQ as L,ac as be,aS as xe,y as k,O as $e,cB as we,fV as Re,fW as Ce,fX as Ie,ba as je,p as W,c_ as _e,c as u}from"./index-CRNmezJu.js";import{a as w}from"./sentry-Dla7mstv.js";import{n as l}from"./mui-mhzAEcDs.js";import{FB as Oe,bg as Te}from"./zeni-epic-state-CSmiPBaP.js";import{f as ke}from"./AllUserItems-CIuKSRs--B0618Ye4.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BycaRLEY.js";import"./RoleWithToolTip-q4rQTPKj-BeUt86oC.js";import"./LabeledZeniRolesDropDownField-LWb3m6uz-DqLmiKb-.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]="55f4cce0-3972-4718-8632-84f88d0e939a",e._sentryDebugIdIdentifier="sentry-dbid-55f4cce0-3972-4718-8632-84f88d0e939a")}catch{}})();const I={containerPaddingTop:new k(u[3],u[3]),containerPaddingLeft:new k(u[3],u[6],u[6]),containerPaddingRight:new k(u[3],u[6],u[8]),buttonWidth:new k(85,85)},M="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:j,mode:p,isZeniTenant:P,onCloseClick:_,onResetClick:O,onSaveClick:m,onDeleteUser:X,onPeopleLocalDataUpdated:Y,analytics:U,isReimbursementDisabled:z,isZeniAccountsDisabled:q,isChargeCardDisabled:N,isTreasuryDisabled:Z,isBankingOnlyTenant:v,isCardsOnlyTenant:b,isLiteRoleDisabled:V})=>{const C=ie(),[G,S]=w.useState(!1),[H,K]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),D=w.useMemo(()=>ae(z,q,N,v,b,V,Z),[z,q,N,v,b,V,Z]),A=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:Q(e.people,o,y,p,D,v,b),values:Q(e.people,o,y,p,D,v,b)}),se=i.handleSubmit(()=>{F()&&m()},()=>{F(),console.warn("Edit Profile form error")}),F=()=>{const f=i.getValues();let r=!0;return f.userItems.forEach((g,x)=>{const{role:E,department:a,nonZeniRole:h,manager:c}=g;if(p==="zeni_only"){const s=E.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&&(v||b||(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,E=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(E!=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(B=>Oe(B.selectedOption?.value)).filter(B=>B!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=Te(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),X?.(e.person)},onCancelClick:()=>{S(!1)}},J=ce(e.person?.update),T=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{T==null&&J==="removeUsers"&&(S(!1),O?.())},[T,J]),t.jsxs(t.Fragment,{children:[G===!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:T==="removeUsers",isDisabled:T==="removeUsers",style:{background:A.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:A.colors.grey4,style:{zIndex:4},onCloseClick:_,isTitleAlignLeft:C==="small"}),t.jsxs(Pe,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(Be,{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(Ee,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ne,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(ve,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(qe,{windowsize:C})})})]})]}),t.jsx(be,{...i,children:t.jsx("form",{id:`${M}_form`,onSubmit:se,children:t.jsx(ke,{control:i.control,sectionId:R,deleteConfirmationIndex:H,updateDeleteConfirmationIndex:K,mode:p,isZeniTenant:P,classList:y,managersList:o,controllersList:j,customerRoleOptions:D,isBankingOnlyTenant:v,isCardsOnlyTenant:b,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:_},separatorStyle:{marginRight:n.sp4}})]})},Q=(e,o,y,j,p,P,_)=>{const O=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:j==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:j!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(P,_)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:O,selectedOption:O.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,Pe=l.div`
1
+ import{J as ie,fS as ae,e as de,a9 as pe,aR as ce,V as t,cp as ue,ap as me,cq as fe,cr as ge,gP as he,cv as ye,o as n,bT as ve,aQ as L,ac as be,aS as xe,y as k,O as $e,cB as we,fV as Re,fW as Ce,fX as Ie,ba as je,p as W,c_ as _e,c as u}from"./index-e-SZUuyN.js";import{a as w}from"./sentry-Dla7mstv.js";import{n as l}from"./mui-mhzAEcDs.js";import{FB as Oe,bg as Te}from"./zeni-epic-state-CSmiPBaP.js";import{f as ke}from"./AllUserItems-CIuKSRs--BSTdrFJx.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BrxkJlKg.js";import"./RoleWithToolTip-q4rQTPKj-DnZtHqjj.js";import"./LabeledZeniRolesDropDownField-LWb3m6uz-BV8yj32-.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]="55f4cce0-3972-4718-8632-84f88d0e939a",e._sentryDebugIdIdentifier="sentry-dbid-55f4cce0-3972-4718-8632-84f88d0e939a")}catch{}})();const I={containerPaddingTop:new k(u[3],u[3]),containerPaddingLeft:new k(u[3],u[6],u[6]),containerPaddingRight:new k(u[3],u[6],u[8]),buttonWidth:new k(85,85)},M="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:j,mode:p,isZeniTenant:P,onCloseClick:_,onResetClick:O,onSaveClick:m,onDeleteUser:X,onPeopleLocalDataUpdated:Y,analytics:U,isReimbursementDisabled:z,isZeniAccountsDisabled:q,isChargeCardDisabled:N,isTreasuryDisabled:Z,isBankingOnlyTenant:v,isCardsOnlyTenant:b,isLiteRoleDisabled:V})=>{const C=ie(),[G,S]=w.useState(!1),[H,K]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),D=w.useMemo(()=>ae(z,q,N,v,b,V,Z),[z,q,N,v,b,V,Z]),A=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:Q(e.people,o,y,p,D,v,b),values:Q(e.people,o,y,p,D,v,b)}),se=i.handleSubmit(()=>{F()&&m()},()=>{F(),console.warn("Edit Profile form error")}),F=()=>{const f=i.getValues();let r=!0;return f.userItems.forEach((g,x)=>{const{role:E,department:a,nonZeniRole:h,manager:c}=g;if(p==="zeni_only"){const s=E.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&&(v||b||(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,E=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(E!=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(B=>Oe(B.selectedOption?.value)).filter(B=>B!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=Te(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),X?.(e.person)},onCancelClick:()=>{S(!1)}},J=ce(e.person?.update),T=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{T==null&&J==="removeUsers"&&(S(!1),O?.())},[T,J]),t.jsxs(t.Fragment,{children:[G===!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:T==="removeUsers",isDisabled:T==="removeUsers",style:{background:A.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:A.colors.grey4,style:{zIndex:4},onCloseClick:_,isTitleAlignLeft:C==="small"}),t.jsxs(Pe,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(Be,{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(Ee,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ne,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(ve,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(qe,{windowsize:C})})})]})]}),t.jsx(be,{...i,children:t.jsx("form",{id:`${M}_form`,onSubmit:se,children:t.jsx(ke,{control:i.control,sectionId:R,deleteConfirmationIndex:H,updateDeleteConfirmationIndex:K,mode:p,isZeniTenant:P,classList:y,managersList:o,controllersList:j,customerRoleOptions:D,isBankingOnlyTenant:v,isCardsOnlyTenant:b,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:_},separatorStyle:{marginRight:n.sp4}})]})},Q=(e,o,y,j,p,P,_)=>{const O=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:j==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:j!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(P,_)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:O,selectedOption:O.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,Pe=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{aR as li,e as ft,ax as wt,a9 as an,az as Ii,aE as rn,J as Le,gh as ao,gj as ro,gk as lo,V as t,gF as so,ac as ln,cp as di,cq as sn,cr as dn,aQ as H,o as i,y as d,bC as Ti,bp as co,du as uo,gl as mo,gw as cn,gr as Di,aS as un,ao as mn,gs as po,gG as Ve,eA as Ke,f2 as ci,gH as Bt,O as fe,T as xt,gI as ho,p as j,x as pn,aq as ui,c as a,by as go,gu as yo,cG as bo,eI as mi,gJ as Mt,fh as Se,cK as pi,fk as $e,cJ as nt,ek as fo,fg as hn,b as Lt,cN as gn,cM as tt,es as Te,ai as hi,gK as wo,fz as xo,cF as So,aW as ji,ft as $o,bx as vo,bb as yn,u as Co,ej as ko,b8 as Ft,gm as Io,bV as bn,F as gi,M as fn,c$ as wn,ci as Et,eV as To,ba as Do,d3 as jo,fn as Oo,al as yi,r as Oi,bT as xn,b2 as Pi,c_ as Po,am as Ro,cR as Sn,aO as Lo,gL as $n,gM as si,gb as Ri,gN as At,cO as Ao,gg as zo,bK as Bo,cZ as Mo}from"./index-CRNmezJu.js";import{a as S,S as kt}from"./sentry-Dla7mstv.js";import{n}from"./mui-mhzAEcDs.js";import{a as Fo}from"./liveblocks-BKvkleJ3.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-CSmiPBaP.js";import kn from"./InvoiceUploadSection-7NLq2wUY-qezR9Z74.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-gJu9uvr7-DQ2Nsagb.js";import{S as Uo}from"./CurrencySelectField-CcU9PAOW-u3CiOTPH.js";import{e as _o}from"./BankAccountSection-danXlJW--Ci61_HQI.js";import{W as Vo,A as Ho}from"./BankAccountWarningSection-Byabqq8Z-DlkkUlqm.js";import{o as qo}from"./radio-default-CiSgisfh-j32Y6uZn.js";import"./core-hVMF2uNa.js";import"./lottie-N_bekW9H.js";import"./recharts-BErFcng5.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./AttachmentView-CHgDKLit-BOkUOxft.js";import"./uploadReceipts-CLN2DLHQ-CHihhpL-.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]="24b3274e-ebf0-46d0-b44a-7cc6bf4a2858",e._sentryDebugIdIdentifier="sentry-dbid-24b3274e-ebf0-46d0-b44a-7cc6bf4a2858")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Ce}},dateFormat:Ko,common:Go}=fe.getLocalizedStrings(),Jo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const w=Le(),s=wt(),y=Mt(),$=`dashboard_${s.currentTenant?.companyId}`,P=ft(),{formState:{errors:I},getValues:R,trigger:q}=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"),J=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||J)&&q(oe)},[te?.selectedOption,ne?.isDeleted,r,oe,q]);const K={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=z=>r.filter(ae=>ae.classId===z)[0]?.accountingClassNumber,Y=r.find(z=>z.classId===o.class),V={valueContainer:z=>({...z,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:$,companyId:s.currentTenant?.companyId??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:Y?.classId,allOptions:Ke(k,[])},style:{width:"100%"},customStyleConfig:V,registerOptions:{required:!0,validate:z=>z?.selectedOption==null?!1:r.find(ae=>ae.classId===z?.selectedOption)?.isDeleted===!0?Ce.deletedClassError:!0}},style:{borderBottom:`1px solid ${P.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},It=n.div`
1
+ import{aR as li,e as ft,ax as wt,a9 as an,az as Ii,aE as rn,J as Le,gh as ao,gj as ro,gk as lo,V as t,gF as so,ac as ln,cp as di,cq as sn,cr as dn,aQ as H,o as i,y as d,bC as Ti,bp as co,du as uo,gl as mo,gw as cn,gr as Di,aS as un,ao as mn,gs as po,gG as Ve,eA as Ke,f2 as ci,gH as Bt,O as fe,T as xt,gI as ho,p as j,x as pn,aq as ui,c as a,by as go,gu as yo,cG as bo,eI as mi,gJ as Mt,fh as Se,cK as pi,fk as $e,cJ as nt,ek as fo,fg as hn,b as Lt,cN as gn,cM as tt,es as Te,ai as hi,gK as wo,fz as xo,cF as So,aW as ji,ft as $o,bx as vo,bb as yn,u as Co,ej as ko,b8 as Ft,gm as Io,bV as bn,F as gi,M as fn,c$ as wn,ci as Et,eV as To,ba as Do,d3 as jo,fn as Oo,al as yi,r as Oi,bT as xn,b2 as Pi,c_ as Po,am as Ro,cR as Sn,aO as Lo,gL as $n,gM as si,gb as Ri,gN as At,cO as Ao,gg as zo,bK as Bo,cZ as Mo}from"./index-e-SZUuyN.js";import{a as S,S as kt}from"./sentry-Dla7mstv.js";import{n}from"./mui-mhzAEcDs.js";import{a as Fo}from"./liveblocks-BKvkleJ3.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-CSmiPBaP.js";import kn from"./InvoiceUploadSection-7NLq2wUY-D1Ujr_CT.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-gJu9uvr7-Baz8OVT_.js";import{S as Uo}from"./CurrencySelectField-CcU9PAOW-UhjAv5pw.js";import{e as _o}from"./BankAccountSection-danXlJW--CGFGOQdm.js";import{W as Vo,A as Ho}from"./BankAccountWarningSection-Byabqq8Z-B6b9o7wy.js";import{o as qo}from"./radio-default-CiSgisfh-j32Y6uZn.js";import"./core-hVMF2uNa.js";import"./lottie-N_bekW9H.js";import"./recharts-BErFcng5.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./AttachmentView-CHgDKLit-CNDwc0Eo.js";import"./uploadReceipts-CLN2DLHQ-BcmoXhPJ.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]="24b3274e-ebf0-46d0-b44a-7cc6bf4a2858",e._sentryDebugIdIdentifier="sentry-dbid-24b3274e-ebf0-46d0-b44a-7cc6bf4a2858")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Ce}},dateFormat:Ko,common:Go}=fe.getLocalizedStrings(),Jo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const w=Le(),s=wt(),y=Mt(),$=`dashboard_${s.currentTenant?.companyId}`,P=ft(),{formState:{errors:I},getValues:R,trigger:q}=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"),J=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||J)&&q(oe)},[te?.selectedOption,ne?.isDeleted,r,oe,q]);const K={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=z=>r.filter(ae=>ae.classId===z)[0]?.accountingClassNumber,Y=r.find(z=>z.classId===o.class),V={valueContainer:z=>({...z,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:$,companyId:s.currentTenant?.companyId??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:Y?.classId,allOptions:Ke(k,[])},style:{width:"100%"},customStyleConfig:V,registerOptions:{required:!0,validate:z=>z?.selectedOption==null?!1:r.find(ae=>ae.classId===z?.selectedOption)?.isDeleted===!0?Ce.deletedClassError:!0}},style:{borderBottom:`1px solid ${P.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},It=n.div`
2
2
  display: flex;
3
3
  flex: 1;
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{e as b,O as T,aW as x,V as i,ay as v,o,D as p}from"./index-CRNmezJu.js";import{n as a}from"./mui-mhzAEcDs.js";import{R as C}from"./TrendWithTransactions-B6iLzpiJ-BNwLmu5S.js";import"./sentry-Dla7mstv.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./zeni-epic-state-CSmiPBaP.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./TrendChart-BsSVNJm5-CngvRWQH.js";import"./chartTypes-BjaXr-A2-DXtLo4Yx.js";import"./toCOABalancesWithID-DPAmy3GS-lyRBWxwk.js";import"./toChartData-D5QdTlGa-DOsyIRYt.js";import"./NoDataChart-VrW0gNeK-CoKQWY6y.js";import"./InsightsSection-CdlmvyOs-DmXLU_Lu.js";import"./NavigationDots-CLd0nZZT-DkTweDHl.js";import"./TransactionList-1g-61_2b-CWHQyly8.js";import"./BoxItem-CQn8-mlp-3WaKvXCN.js";import"./commonDimensions-C0X17W9N-BSrHO4N_.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]="e9ec281f-7210-4815-8b3a-18c773c865e0",t._sentryDebugIdIdentifier="sentry-dbid-e9ec281f-7210-4815-8b3a-18c773c865e0")}catch{}})();const w=a.div`
1
+ import{e as b,O as T,aW as x,V as i,ay as v,o,D as p}from"./index-e-SZUuyN.js";import{n as a}from"./mui-mhzAEcDs.js";import{R as C}from"./TrendWithTransactions-B6iLzpiJ-CD-GjoX8.js";import"./sentry-Dla7mstv.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./zeni-epic-state-CSmiPBaP.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./TrendChart-BsSVNJm5-C5P4NUjk.js";import"./chartTypes-BjaXr-A2-D3DBmfud.js";import"./toCOABalancesWithID-DPAmy3GS-PiTKgxz9.js";import"./toChartData-D5QdTlGa-DLv4zZlP.js";import"./NoDataChart-VrW0gNeK-D9AHc7Vl.js";import"./InsightsSection-CdlmvyOs-CSbQ6jxV.js";import"./NavigationDots-CLd0nZZT-CV65Lnrl.js";import"./TransactionList-1g-61_2b-BsVHB-dP.js";import"./BoxItem-CQn8-mlp-BpjhTACd.js";import"./commonDimensions-C0X17W9N-CR9paNIq.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]="e9ec281f-7210-4815-8b3a-18c773c865e0",t._sentryDebugIdIdentifier="sentry-dbid-e9ec281f-7210-4815-8b3a-18c773c865e0")}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{J as z,O as L,V as i,dr as H,y as l,d1 as _,o as d,aa as j,aO as S,b4 as I,ct as A,c as r,a as R,am as B,al as k,ba as U,ai as N,cz as F,p as W,cC as G}from"./index-CRNmezJu.js";import{a as f}from"./sentry-Dla7mstv.js";import{n}from"./mui-mhzAEcDs.js";import{l as J}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]="2acd7483-21c9-4594-8054-99c8ab238576",e._sentryDebugIdIdentifier="sentry-dbid-2acd7483-21c9-4594-8054-99c8ab238576")}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)},X=n.div`
1
+ import{J as z,O as L,V as i,dr as H,y as l,d1 as _,o as d,aa as j,aO as S,b4 as I,ct as A,c as r,a as R,am as B,al as k,ba as U,ai as N,cz as F,p as W,cC as G}from"./index-e-SZUuyN.js";import{a as f}from"./sentry-Dla7mstv.js";import{n}from"./mui-mhzAEcDs.js";import{l as J}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]="2acd7483-21c9-4594-8054-99c8ab238576",e._sentryDebugIdIdentifier="sentry-dbid-2acd7483-21c9-4594-8054-99c8ab238576")}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)},X=n.div`
2
2
  top: ${d.sp0};
3
3
  left: ${d.sp0};
4
4
  min-height: ${e=>M.headerHeight.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{e as Q,J as le,cd as de,V as t,g5 as q,aQ as v,bO as ce,p as a,bT as _,o as r,bC as he,ka as pe,b as d,hO as F,hN as T,r as me,bx as ue,ag as ge,kb as Ce,kc as ke,O as k,ck as xe,a as fe,bK as je,ai as h,av as U,al as ye,l as ve,b8 as $e,b0 as be,ba as ee}from"./index-CRNmezJu.js";import{a as n}from"./sentry-Dla7mstv.js";import{n as o,c as te,k as we}from"./mui-mhzAEcDs.js";import{bh as re,bL as Le}from"./zeni-epic-state-CSmiPBaP.js";import{U as Me,F as Ee,X as We,Y as Se,J as De,G as He}from"./recharts-BErFcng5.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.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]="348dbc56-a7ab-4423-8a8f-f49105d0de38",e._sentryDebugIdIdentifier="sentry-dbid-348dbc56-a7ab-4423-8a8f-f49105d0de38")}catch{}})();const Ve=k.getLocalizedStrings().expenseAutomation,Pe=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:ze},texts:{score:_e}}}=k.getLocalizedStrings(),Fe=({active:e,payload:s})=>{if(e===!1||e===void 0||!s||s.length===0)return null;const c=s[0]?.value;return c==null?null:t.jsxs(Ne,{children:[t.jsx(Ze,{children:_e}),t.jsxs(Ie,{children:[c,ze]})]})};function Te({data:e,height:s}){const c=Q(),w=e.map(x=>({month:Le(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Pe.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ye,{children:[t.jsx(Re,{children:Ve.overview.monthEndCloseTrend}),t.jsx(Me,{height:s,width:"100%",children:t.jsxs(Ee,{data:w,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:Fe,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(He,{type:"monotone",dataKey:"count",stroke:a.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5,fill:a.neutralGrey4Light,stroke:a.brandColorJade,strokeWidth:2}})]})})]})}const Re=o(h)`
1
+ import{e as Q,J as le,cd as de,V as t,g5 as q,aQ as v,bO as ce,p as a,bT as _,o as r,bC as he,ka as pe,b as d,hO as F,hN as T,r as me,bx as ue,ag as ge,kb as Ce,kc as ke,O as k,ck as xe,a as fe,bK as je,ai as h,av as U,al as ye,l as ve,b8 as $e,b0 as be,ba as ee}from"./index-e-SZUuyN.js";import{a as n}from"./sentry-Dla7mstv.js";import{n as o,c as te,k as we}from"./mui-mhzAEcDs.js";import{bh as re,bL as Le}from"./zeni-epic-state-CSmiPBaP.js";import{U as Me,F as Ee,X as We,Y as Se,J as De,G as He}from"./recharts-BErFcng5.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.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]="348dbc56-a7ab-4423-8a8f-f49105d0de38",e._sentryDebugIdIdentifier="sentry-dbid-348dbc56-a7ab-4423-8a8f-f49105d0de38")}catch{}})();const Ve=k.getLocalizedStrings().expenseAutomation,Pe=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:ze},texts:{score:_e}}}=k.getLocalizedStrings(),Fe=({active:e,payload:s})=>{if(e===!1||e===void 0||!s||s.length===0)return null;const c=s[0]?.value;return c==null?null:t.jsxs(Ne,{children:[t.jsx(Ze,{children:_e}),t.jsxs(Ie,{children:[c,ze]})]})};function Te({data:e,height:s}){const c=Q(),w=e.map(x=>({month:Le(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Pe.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ye,{children:[t.jsx(Re,{children:Ve.overview.monthEndCloseTrend}),t.jsx(Me,{height:s,width:"100%",children:t.jsxs(Ee,{data:w,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:Fe,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(He,{type:"monotone",dataKey:"count",stroke:a.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5,fill:a.neutralGrey4Light,stroke:a.brandColorJade,strokeWidth:2}})]})})]})}const Re=o(h)`
2
2
  color: ${e=>e.theme.colors.champion};
3
3
  `,Ye=o.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{o,bV as ca,J as ke,gh as Qi,gi as es,V as t,cp as da,aa as Pe,aS as ts,c as g,O as Ie,cq as ua,e as bt,bC as ha,i5 as pa,aO as Ue,bT as ye,y as ee,bw as ma,aQ as M,i3 as ga,al as ze,gZ as xa,gR as ns,bx as fa,bP as Dt,b8 as os,ai as vt,bK as is,p as Xe,ki as ya,g5 as Ca,am as pt,x as wa,gj as ba,gk as ss,bp as va,ck as Sa,c2 as ja,eD as gn,b$ as So,a9 as qt,bO as jo,ac as Jt,kj as ka,kk as Ia,kl as $a,km as ln,kn as as,ko as rs,kp as La,kq as Po,kr as Ta,dk as ls,ks as Aa,kt as Ea,ku as Ra,kv as Da,kw as Oa,kx as Ba,ky as za,kz as Fa,kA as _a,kB as Ma,kC as cs,kD as Pa,kE as Na,kF as Va,kG as Ha,gz as ds,b4 as zn,ct as Fn,T as us,k as hs,A as ps,cF as xn,dS as ko,gu as Wa,fO as Ua,h0 as qa,aq as Ja,l as Ka,fz as Ga,aE as ms,kH as Ya,aW as Io,aR as No,gT as gs,kI as Za,kJ as Xa,kK as Qa,bF as xs,aU as er,gH as Rt,hV as Nn,eA as En,cJ as $o,az as tr,eB as fs,dm as nr,iR as or,ds as Lo,cz as _n,cC as Mn,iy as nt,b as At,hI as ir,gA as Vn,jg as Vo,di as ys,d1 as hn,kL as sr,a_ as ar,dr as Cs,r as pn,ip as ws,iz as fo,kM as tn,ec as bs,ee as vs,iU as Ss,iV as js,kN as rr,c$ as Pn,iq as ks,fn as Is,er as Hn,aK as To,kO as lr,cO as cr,aZ as $s,iG as dr,dQ as ur,ao as ft,kP as hr,kQ as pr,b2 as Wn,en as mr,a8 as gr,eo as xr,ep as fr,eq as yr,et as Ho,eu as Wo,ev as Cr,kR as wr,b0 as br,eF as vr,eG as Sr,eH as jr}from"./index-CRNmezJu.js";import{a as s,S as Ls}from"./sentry-Dla7mstv.js";import{n as a,c as Ze,k as Ao}from"./mui-mhzAEcDs.js";import{bh as Un,Gi as Uo,Gj as mn,Gk as kr,Gl as Ir,cx as $r,bL as yo,cy as Lr,EN as qo,cz as Tr,cA as Ar,l8 as cn,bE as Nt,Gm as Jo,c4 as Ts,Gn as Er,bY as Rr,bo as Vt,Go as Dr,Gp as As,Gq as Es,Gr as Rs,Gs as Ds,Gt as Os,Gu as Eo,kU as Or}from"./zeni-epic-state-CSmiPBaP.js";import{r as Bs,I as zs,n as nn,R as ht}from"./CollapsableReportTable-D9EGRkFb-DwhLMO0b.js";import{N as qn}from"./AccountRow-C0plHrDu-BlMGnWxc.js";import{o as Fs}from"./mapTimeframeBalancesToTreeNode-CHvIKq5Y-CV_qZTRk.js";import{d as Ko}from"./mapLoadingInProgressToTreeNode-C4CzR5xS-Cg81Asz9.js";import{h as Br}from"./VendorsAccountsSection-C5cJ9KYV-CyL_wlEF.js";import{u as zr,c as Go,d as Fr,m as _r}from"./uploadAttachment-BLADYUsp-BO1TVLxu.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.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]="2852e5b2-4694-4a26-aba4-51794383f816",e._sentryDebugIdIdentifier="sentry-dbid-2852e5b2-4694-4a26-aba4-51794383f816")}catch{}})();const{common:{navBar:{back:Mr},texts:{refresh:Pr,close:Nr,copy:Vr,copied:Hr,open:Wr}},expenseAutomation:{common:{numbers:{maximumCount:Ur}}}}=Ie.getLocalizedStrings(),qr=a(Wa)`
1
+ import{o,bV as ca,J as ke,gh as Qi,gi as es,V as t,cp as da,aa as Pe,aS as ts,c as g,O as Ie,cq as ua,e as bt,bC as ha,i5 as pa,aO as Ue,bT as ye,y as ee,bw as ma,aQ as M,i3 as ga,al as ze,gZ as xa,gR as ns,bx as fa,bP as Dt,b8 as os,ai as vt,bK as is,p as Xe,ki as ya,g5 as Ca,am as pt,x as wa,gj as ba,gk as ss,bp as va,ck as Sa,c2 as ja,eD as gn,b$ as So,a9 as qt,bO as jo,ac as Jt,kj as ka,kk as Ia,kl as $a,km as ln,kn as as,ko as rs,kp as La,kq as Po,kr as Ta,dk as ls,ks as Aa,kt as Ea,ku as Ra,kv as Da,kw as Oa,kx as Ba,ky as za,kz as Fa,kA as _a,kB as Ma,kC as cs,kD as Pa,kE as Na,kF as Va,kG as Ha,gz as ds,b4 as zn,ct as Fn,T as us,k as hs,A as ps,cF as xn,dS as ko,gu as Wa,fO as Ua,h0 as qa,aq as Ja,l as Ka,fz as Ga,aE as ms,kH as Ya,aW as Io,aR as No,gT as gs,kI as Za,kJ as Xa,kK as Qa,bF as xs,aU as er,gH as Rt,hV as Nn,eA as En,cJ as $o,az as tr,eB as fs,dm as nr,iR as or,ds as Lo,cz as _n,cC as Mn,iy as nt,b as At,hI as ir,gA as Vn,jg as Vo,di as ys,d1 as hn,kL as sr,a_ as ar,dr as Cs,r as pn,ip as ws,iz as fo,kM as tn,ec as bs,ee as vs,iU as Ss,iV as js,kN as rr,c$ as Pn,iq as ks,fn as Is,er as Hn,aK as To,kO as lr,cO as cr,aZ as $s,iG as dr,dQ as ur,ao as ft,kP as hr,kQ as pr,b2 as Wn,en as mr,a8 as gr,eo as xr,ep as fr,eq as yr,et as Ho,eu as Wo,ev as Cr,kR as wr,b0 as br,eF as vr,eG as Sr,eH as jr}from"./index-e-SZUuyN.js";import{a as s,S as Ls}from"./sentry-Dla7mstv.js";import{n as a,c as Ze,k as Ao}from"./mui-mhzAEcDs.js";import{bh as Un,Gi as Uo,Gj as mn,Gk as kr,Gl as Ir,cx as $r,bL as yo,cy as Lr,EN as qo,cz as Tr,cA as Ar,l8 as cn,bE as Nt,Gm as Jo,c4 as Ts,Gn as Er,bY as Rr,bo as Vt,Go as Dr,Gp as As,Gq as Es,Gr as Rs,Gs as Ds,Gt as Os,Gu as Eo,kU as Or}from"./zeni-epic-state-CSmiPBaP.js";import{r as Bs,I as zs,n as nn,R as ht}from"./CollapsableReportTable-D9EGRkFb-rtyJvli3.js";import{N as qn}from"./AccountRow-C0plHrDu-BHbrjlQa.js";import{o as Fs}from"./mapTimeframeBalancesToTreeNode-CHvIKq5Y-DtuP5OpB.js";import{d as Ko}from"./mapLoadingInProgressToTreeNode-C4CzR5xS-BKTQHVzy.js";import{h as Br}from"./VendorsAccountsSection-C5cJ9KYV-BmGEajTn.js";import{u as zr,c as Go,d as Fr,m as _r}from"./uploadAttachment-BLADYUsp-CuyJL9Ae.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.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]="2852e5b2-4694-4a26-aba4-51794383f816",e._sentryDebugIdIdentifier="sentry-dbid-2852e5b2-4694-4a26-aba4-51794383f816")}catch{}})();const{common:{navBar:{back:Mr},texts:{refresh:Pr,close:Nr,copy:Vr,copied:Hr,open:Wr}},expenseAutomation:{common:{numbers:{maximumCount:Ur}}}}=Ie.getLocalizedStrings(),qr=a(Wa)`
2
2
  display: flex;
3
3
  width: ${o.sp4};
4
4
  height: ${o.sp4};
@@ -1,4 +1,4 @@
1
- import{e as Be,J as G,O as q,a9 as et,aR as Fe,cF as tt,V as t,bC as it,ac as at,aS as nt,y as f,o as n,kS as lt,kT as ot,kU as rt,cN as Ve,cK as dt,e$ as st,fD as ct,fE as pt,cM as ke,gb as mt,kV as ut,cR as ht,cS as yt,f6 as ze,f7 as Ae,fg as Oe,b as ge,c as u,fi as gt,bb as ft,b8 as be,p as Ee,am as xt,ar as We}from"./index-CRNmezJu.js";import{a as J}from"./sentry-Dla7mstv.js";import{n as d}from"./mui-mhzAEcDs.js";import{bL as qe,bh as le,bP as He,bH as bt,bo as wt}from"./zeni-epic-state-CSmiPBaP.js";import{Y as vt}from"./LabeledDocumentField-y5kqHnHe-CmBeTY2E.js";import{S as te}from"./LabeledText-D0g7m29R-CGPY2mDY.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.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]="cd17c301-441d-4634-839e-cdd78897e512",e._sentryDebugIdIdentifier="sentry-dbid-cd17c301-441d-4634-839e-cdd78897e512")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=G(),a=Be(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Tt,{children:h.map((p,l)=>t.jsx(Dt,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Pt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
1
+ import{e as Be,J as G,O as q,a9 as et,aR as Fe,cF as tt,V as t,bC as it,ac as at,aS as nt,y as f,o as n,kS as lt,kT as ot,kU as rt,cN as Ve,cK as dt,e$ as st,fD as ct,fE as pt,cM as ke,gb as mt,kV as ut,cR as ht,cS as yt,f6 as ze,f7 as Ae,fg as Oe,b as ge,c as u,fi as gt,bb as ft,b8 as be,p as Ee,am as xt,ar as We}from"./index-e-SZUuyN.js";import{a as J}from"./sentry-Dla7mstv.js";import{n as d}from"./mui-mhzAEcDs.js";import{bL as qe,bh as le,bP as He,bH as bt,bo as wt}from"./zeni-epic-state-CSmiPBaP.js";import{Y as vt}from"./LabeledDocumentField-y5kqHnHe-Cd6aBb3C.js";import{S as te}from"./LabeledText-D0g7m29R-cxnm614T.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.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]="cd17c301-441d-4634-839e-cdd78897e512",e._sentryDebugIdIdentifier="sentry-dbid-cd17c301-441d-4634-839e-cdd78897e512")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=G(),a=Be(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Tt,{children:h.map((p,l)=>t.jsx(Dt,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Pt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-top: ${n.sp3};
@@ -1,4 +1,4 @@
1
- import{e as w,J as v,O as y,aW as n,p,V as i,cp as _,y as r,cq as k,cr as x,c as g}from"./index-CRNmezJu.js";import{n as d}from"./mui-mhzAEcDs.js";import"./sentry-Dla7mstv.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./zeni-epic-state-CSmiPBaP.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new o.Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="31508982-bfa4-41df-9af9-a1c2aa18b481",o._sentryDebugIdIdentifier="sentry-dbid-31508982-bfa4-41df-9af9-a1c2aa18b481")}catch{}})();const a={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{e as w,J as v,O as y,aW as n,p,V as i,cp as _,y as r,cq as k,cr as x,c as g}from"./index-e-SZUuyN.js";import{n as d}from"./mui-mhzAEcDs.js";import"./sentry-Dla7mstv.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./zeni-epic-state-CSmiPBaP.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new o.Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="31508982-bfa4-41df-9af9-a1c2aa18b481",o._sentryDebugIdIdentifier="sentry-dbid-31508982-bfa4-41df-9af9-a1c2aa18b481")}catch{}})();const a={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{J as H,V as l,O as Y,cJ as _,es as G,e as ee,cO as J,y as L,gg as Z,o as i,aQ as B,ek as ce,aE as le,g7 as pe,g8 as ue,r as he,p as u,c as g,gE as ge,c_ as be,eB as ye,ao as ve,bH as we,b as W,dk as $e,bI as fe,bG as ke}from"./index-CRNmezJu.js";import{n as d}from"./mui-mhzAEcDs.js";import{a as V}from"./sentry-Dla7mstv.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]="7ed8c53d-8dee-4847-a35f-08a48fb27051",e._sentryDebugIdIdentifier="sentry-dbid-7ed8c53d-8dee-4847-a35f-08a48fb27051")}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}}=_(),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(J,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
1
+ import{J as H,V as l,O as Y,cJ as _,es as G,e as ee,cO as J,y as L,gg as Z,o as i,aQ as B,ek as ce,aE as le,g7 as pe,g8 as ue,r as he,p as u,c as g,gE as ge,c_ as be,eB as ye,ao as ve,bH as we,b as W,dk as $e,bI as fe,bG as ke}from"./index-e-SZUuyN.js";import{n as d}from"./mui-mhzAEcDs.js";import{a as V}from"./sentry-Dla7mstv.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]="7ed8c53d-8dee-4847-a35f-08a48fb27051",e._sentryDebugIdIdentifier="sentry-dbid-7ed8c53d-8dee-4847-a35f-08a48fb27051")}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}}=_(),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(J,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{e as Ke,J,a9 as Ee,az as _e,cF as Je,V as t,bC as Ye,ac as Qe,cn as Ce,o,r as ye,O as ue,bO as Xe,aQ as P,cm as Ze,b4 as et,dm as tt,ct as lt,aa as ot,T as nt,c$ as it,bF as We,aU as at,y as N,bP as se,c as $,ds as Ie,ai as we,cz as rt,cC as st,cJ as dt,di as je,d1 as me,bT as E,ew as ke,ao as ct,ij as ht,al as mt,bi as gt,ig as pt,ik as Oe,ci as ut,bu as wt,p as De,il as bt}from"./index-CRNmezJu.js";import{a as C}from"./sentry-Dla7mstv.js";import{n as i,c as Se}from"./mui-mhzAEcDs.js";import{c4 as xt,FZ as vt}from"./zeni-epic-state-CSmiPBaP.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.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]="12bdd1d1-3a75-4823-9635-560ae37a094f",e._sentryDebugIdIdentifier="sentry-dbid-12bdd1d1-3a75-4823-9635-560ae37a094f")}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=J(),{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{e as Ke,J,a9 as Ee,az as _e,cF as Je,V as t,bC as Ye,ac as Qe,cn as Ce,o,r as ye,O as ue,bO as Xe,aQ as P,cm as Ze,b4 as et,dm as tt,ct as lt,aa as ot,T as nt,c$ as it,bF as We,aU as at,y as N,bP as se,c as $,ds as Ie,ai as we,cz as rt,cC as st,cJ as dt,di as je,d1 as me,bT as E,ew as ke,ao as ct,ij as ht,al as mt,bi as gt,ig as pt,ik as Oe,ci as ut,bu as wt,p as De,il as bt}from"./index-e-SZUuyN.js";import{a as C}from"./sentry-Dla7mstv.js";import{n as i,c as Se}from"./mui-mhzAEcDs.js";import{c4 as xt,FZ as vt}from"./zeni-epic-state-CSmiPBaP.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.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]="12bdd1d1-3a75-4823-9635-560ae37a094f",e._sentryDebugIdIdentifier="sentry-dbid-12bdd1d1-3a75-4823-9635-560ae37a094f")}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=J(),{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,aM as D,O as c,aQ as E,aY as b,D as I,aN as j,aT as Z,o as H,ai as x}from"./index-CRNmezJu.js";import{S as m,a as t}from"./sentry-Dla7mstv.js";import{c as S}from"./SummaryCard-Dcd_VUph-BV3h5iTx.js";import{n as d}from"./mui-mhzAEcDs.js";import{N as y}from"./NavigationArrow-BuPVGh38-C7FStd2H.js";import{k as T}from"./NavigationDots-CLd0nZZT-DkTweDHl.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./zeni-epic-state-CSmiPBaP.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./ReloadCard-crbWeOPP-CkioU763.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]="9700e71c-954e-4404-8057-2250211e0c30",e._sentryDebugIdIdentifier="sentry-dbid-9700e71c-954e-4404-8057-2250211e0c30")}catch{}})();const V=d.div`
1
+ import{V as r,aM as D,O as c,aQ as E,aY as b,D as I,aN as j,aT as Z,o as H,ai as x}from"./index-e-SZUuyN.js";import{S as m,a as t}from"./sentry-Dla7mstv.js";import{c as S}from"./SummaryCard-Dcd_VUph-CtvPqFVw.js";import{n as d}from"./mui-mhzAEcDs.js";import{N as y}from"./NavigationArrow-BuPVGh38-XNHRi9o5.js";import{k as T}from"./NavigationDots-CLd0nZZT-CV65Lnrl.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./zeni-epic-state-CSmiPBaP.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./ReloadCard-crbWeOPP-CXnI4BBC.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]="9700e71c-954e-4404-8057-2250211e0c30",e._sentryDebugIdIdentifier="sentry-dbid-9700e71c-954e-4404-8057-2250211e0c30")}catch{}})();const V=d.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: column;