@zeniai/web-cockpit-ui 1.15.9-qa → 1.15.10-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (281) hide show
  1. package/dist/assets/{ACHDetailsPage-BVkQ4K87-SgfFBkfa.js → ACHDetailsPage-BtE9TY6d-C9maaZu_.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BRTJZGiA-BlfIHJQn.js → AIPerformancePage-BkDJ2ST0-Dzxt81Gg.js} +12 -12
  3. package/dist/assets/AccountInfoPage-CTbeJLI7-C29oNV5j.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-PRtq3bFi-BlKWioPK.js → AccountInfoPageContent-BUTcEduM-DVKpBXHq.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BPtkVnq9-BX2jNU1X.js → AccountLockedInfoModal-v6aQO7JB-xH0-ZPkG.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-vJYKDiYF-TFHtwHwv.js → AccountReconDetailsDrawerPage-DIAg-5PN-B1-bYNLU.js} +1 -1
  7. package/dist/assets/{AccountRow-DvTUqeYB-DXbzmjkX.js → AccountRow-BVKk7u7h-CDJSAP1l.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-B8BaHMXs-DjcKs3mI.js → AccountsPromoCardStack-CM2kVta7-D4DDSl1Z.js} +17 -17
  9. package/dist/assets/{AddAddressForCardDrawer-B7RkZqGh-DE6q0u1m.js → AddAddressForCardDrawer-DDTSYpDb-gu3pix_O.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DuHNwXF4-DiVlS_sl.js → AddToWalletPage-D2Qg0MR_-DL2aRvxj.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BK1LaJ_w-BuDgqVnh.js → AgingReportsPage-_mSqD2hW-Boesp-Ca.js} +1 -1
  12. package/dist/assets/{AllUserItems-CH9ybX41-BADPu5Il.js → AllUserItems-CLsMcXeg-B7yfRaza.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-pA0gVWwq-CEyasW1F.js → ApAgingDetailPage-BsJuvMuy-C0lGm0Hq.js} +4 -4
  14. package/dist/assets/{AppBasePage-DhCn4MFY-pILsEXti.js → AppBasePage-BxGd2ny5-CxKcTkZB.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-oxbBkFJu-z9plbEIr.js → AppDrawerContent-DzQ2jw8d-B8p2K7qi.js} +5 -5
  16. package/dist/assets/{ApprovalRulesSettingsPage-B2Bp687h-CncGPSV_.js → ApprovalRulesSettingsPage-6n8xLG5c-9HDMDjw5.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DDYQFnOL-DHgysqpM.js → ArAgingChart-B3T4qk8t-CVyLgEv4.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-BHX3sNTi-C4G7BErc.js → ArAgingDetailPage-pdf0VjeI-BUmI9Ihk.js} +5 -5
  19. package/dist/assets/{AttachmentView-BreMzQ_m-ErkVTj3O.js → AttachmentView-BJfqJ9hP-BtlO-7I1.js} +1 -1
  20. package/dist/assets/{BankAccountSection-1WOCLgt5-CMcEcJjX.js → BankAccountSection-Cd_h3co--DCzIyA5D.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Ddj7HexZ-BBFOC6FA.js → BankAccountWarningSection-Cz9fzMVv-CvaYS3T_.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-9nczNfIe-DeGZohIZ.js → BankConnectionsSettingsPage-P-hobvq_-BOnK_glB.js} +1 -1
  23. package/dist/assets/{BillDetailPage-NeZduyMi-WNBuOXET.js → BillDetailPage-B-_gbDGZ-BtpvnzvD.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BBTe3n92-GIfAqnDO.js → BillPayApprovalRuleDetailPage-CyoqtTu1-C1sdR4PX.js} +4 -4
  25. package/dist/assets/BillPayApprovalRulesPage-CTRvfoZN-BLcwl2yw.js +241 -0
  26. package/dist/assets/{BillPayPromoPage-DFXybg0r-EmP3q5ey.js → BillPayPromoPage-OYlocjA7-7DEWsR0V.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-CP6gsxaz-DzlSl5-b.js → BillPaySetUpPage-B8_IEgff-CAWPUMJX.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-D6BmklmO-qUEoMT0l.js → BillingSettingsPage-DqO-9dDI-7RCoKyM1.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-D0JHXr9f-BKJ7V9jh.js → BillsBulkReviewDrawerPage-B-nfpiM2-CiONs4dM.js} +1 -1
  30. package/dist/assets/{BoxItem-CjZDlBaw-BKi5-cXg.js → BoxItem-C-LLQ7NS-CyKsGaF0.js} +5 -5
  31. package/dist/assets/{BusinessVerificationPage-cqBBWqBX-DbQ2sDxz.js → BusinessVerificationPage-BD-G0QbW-BuRfqr04.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BFe7Gawq-BM_FTr_M.js → CardNumberSubText-CPcuTV6V-CmAy0kVV.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-4R2WSvUG-C2VkMAUw.js → CashbackDetailPage-CzEHO7NM-DhooXBnW.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DgvJC7HX-CLDnyLzu.js → ChargeCardDetailPage-DpA9C48D-Cg9lUs5_.js} +21 -21
  35. package/dist/assets/{ChargeCardListPage-y3xkEXMi-D_v1WA0F.js → ChargeCardListPage-igseWp-z-CgO4ULTe.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-BZVA1znA-KTzgqKt2.js → ChargeCardListTable-C-nM1SEM-CukpO46W.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-DUqCYxCZ-DwiFi2F4.js → ChargeCardPaymentHistoryPage-TCuBt2Cv-BDmH-kNH.js} +13 -13
  38. package/dist/assets/{ChargeCardPromoPage-BGwXpSoW-BA6l2ILe.js → ChargeCardPromoPage-DEjWh0Ax-DtQMu7KS.js} +10 -10
  39. package/dist/assets/{ChargeCardSetupPage-CH6gSyU_-CzfoaXrP.js → ChargeCardSetupPage-zdLpdeJV-CBsuPE8U.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-B1FjTF7r-BZ4kw4nt.js → ChargeCardStatementsPage-D42XfAtE-RchDbumz.js} +2 -2
  41. package/dist/assets/{CheckDepositDrawerPage-B30gCDxH-CDMOD0d_.js → CheckDepositDrawerPage-DC1L83fB-BCa5n7-H.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CpOmWQO--DqCcIXDi.js → CollapsableReportTable-BWfFYJbH-BIiPdpTy.js} +74 -74
  43. package/dist/assets/{CompanyOfficerDetailsSection-0lnfwwSs-CSyl5xOK.js → CompanyOfficerDetailsSection-TNyVByDX-D2759MDx.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-BPpSNcXb-DcbhYnV5.js → CompanyPassportCard-DjBkQwpn-Dd7qvLcE.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-DwNjeLgb-BPzJD0lQ.js → CompanyPassportPage-CrqL6_wm-C8yNeeq6.js} +12 -12
  46. package/dist/assets/{CompleteProfile-BPllbFai-B-tkGEmo.js → CompleteProfile-BP-MRXpZ-BD6u4U_v.js} +2 -2
  47. package/dist/assets/{ConfettiBurst-DweZPNXH-6kuckq6s.js → ConfettiBurst-D2FdlxTA-BPfMfLCc.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-C_tIWYWJ-pt2X7pc8.js → CreateOrEditVendorPage-D2Cuyhtu-CjSilO-g.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-DmYHQq7L-BNim4LCW.js → CreditCardPaymentDrawerPage-LQiWqyEO-5RaHGm67.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-DoUpgUNU-DxUj5N1k.js → CurrencySelectField-Dpcv7_rA-DStJFuSr.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-fr40BxEG-B4jh-1IJ.js → CustomerOnboardingActivationPage-BRWiLUVc-B8_ST9_b.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-BLGGDdc6-DSwc8Dwv.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CbEuqDGK-K4oucbj-.js → CustomerOnboardingDetailPageSkeleton-D4fUQLXG-BvBHzbJv.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-CNolx9VQ-dLjEu8m5.js → CustomerOnboardingNoStepsPage-CxF6ZEAa-CMxQsxHY.js} +2 -2
  55. package/dist/assets/{CustomerOnboardingPage-DrDjl8iB-D659DGk1.js → CustomerOnboardingPage-DKcr5stz-DRi352cJ.js} +1 -1
  56. package/dist/assets/CustomerOnboardingProductSuitePage-B84wAHDe-CoEVNP5O.js +202 -0
  57. package/dist/assets/{Dashboard-C1UoKVNa-DC2cvlai.js → Dashboard-DMAOn7Hi-CGGVivU9.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-b0pHN0Cw-DfgjzoQr.js → DashboardReportPage-UUd1-ITz-DMCD3HWG.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-Dql-Odcw-CfyGVT7Z.js → DashboardSidebarBackgroundAnimation-BuINHqA--61tWJjrX.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-Buzx5B8J-COupFxJQ.js → DepositAccTransactionItem-BE8LeqlM-hlhKmXR8.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-DmxWPS6J-BShEzEqo.js → DepositAccTransactionListPage-DyH-aZDX-DTHKAa1Z.js} +2 -2
  62. package/dist/assets/{DomesticWireDetailsPage-o6cbscCg-Cq9KhtGZ.js → DomesticWireDetailsPage-Bk5AZOQt-CMcHRFaW.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-CxtxqO0q-5itioc2o.js → DownloadOverlay-BOYOF8Po-BwD6Afat.js} +1 -1
  64. package/dist/assets/{DrawerPage-iKzWhzfT-Chf_FqhW.js → DrawerPage-BGGHNo0X-DCBr8o9E.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-CjM-4H28-D9ITJt6u.js → EditPeoplePage-CEiwvizd-D-zbL-nU.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-BIPtvhlo-Gvxb4AJV.js → EditReimbursementDetailPage-DBLDLvqO-C54aQF5d.js} +1 -1
  67. package/dist/assets/{EntityDetailPage-B0W-V9jY-DA6Bhv_q.js → EntityDetailPage-Cd3eku5o-D0l7oH4S.js} +2 -2
  68. package/dist/assets/{EntitySummarySection--ty3w4lI-DRA93OOU.js → EntitySummarySection-Ddaj1RmO-DBcpL5Yc.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-C62kbOQv-BjbMA-L8.js → ExpenseAutomationOverviewPage-B_BlqiWf-CaFabiLU.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-KMTXCmGT-BXrresZk.js → ExpenseAutomationPage-DfUf0zEN-B6VJ2UJy.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-DITkk_1c-CauEJYiS.js → ExpressPayPage-Da8lLZso-Cwv7Clar.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-ZSyZuPj0-CUkFMjtX.js → FeaturePreviewPage-CmrPDUFU-5rcSl0eb.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-CaSXYy6M-D3-boZB-.js → FollowStepsSection-DbxSUIzC-BaXmlzKU.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-D1MK5CDU-0HTEtirz.js → GlobalReviewListPage-Du_3tupM--fNfq6rW.js} +1 -1
  75. package/dist/assets/{InformationCardStack-WI0CkBUF-Co4ycsmA.js → InformationCardStack-Bx_9X95v-xPOrStCv.js} +3 -3
  76. package/dist/assets/{InsightsCardStack-28f145Lw-B3ZhCTKB.js → InsightsCardStack-Xn2rGwX0-BAx1TkHE.js} +1 -1
  77. package/dist/assets/{InsightsSection-iq6BFe-O-BnHn19Y4.js → InsightsSection-CwyGEE7C-BgS40gth.js} +1 -1
  78. package/dist/assets/{IntegrationsSettingsPage-QfH-2B7s-COXzT6b6.js → IntegrationsSettingsPage-CEL26-eE-DfibyIun.js} +2 -2
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-DhNqaJ-7-A2MRhwCw.js → InternationalWireSwiftDetailsPage-IUz-DwAH-CGr6Gc70.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-CRnGH05I-DYT_B8BW.js → InternationalWireVerificationPage-C66rHdsi-fqJ5C72A.js} +1 -1
  81. package/dist/assets/{InviteFormPage-CZ9su_ZA-BHeHZ6zP.js → InviteFormPage-Do-6PG8h-C-rzmYCh.js} +1 -1
  82. package/dist/assets/{InvitePageListView-Db5vL4dK-TzD8KLdp.js → InvitePageListView-DYKcMtIL-nvuj34Qe.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-C7Ij2l1O-DVkG8Zhm.js → InvitePeoplePage-C2SmS7y8-BN_wFYgu.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-DEchJrtp-BeGmWBpT.js → InvoiceUploadSection-rCCcSbbj-CFzlgKg9.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-DVdMjgbO-FGVLXj14.js → IssueChargeCardPage-DZvVosb3-C2W1gOfV.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-jMXXok9a-B-jBTdWi.js → LabeledAddressValue-CAX5YTSE-BfVvpzvP.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-BMQUZAxr-BG6EpAlR.js → LabeledAddressValueField-BraOMDrG-CfBm_XIY.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-CrOtltBs-CAPrqGDH.js → LabeledControlledCheckBoxField-DBcPQa79-B_0nrSFr.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-uBMn5XNT-BPAecJEl.js → LabeledCountryMultiSelectField-DYid8vvM-BfPOTgp8.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-BMRdFPtx-DAmcNOWB.js → LabeledCreatableSingleSelectField-DzB7KPXf-BwfCQ3vj.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-DtsIRcRg-tL0lm8Y3.js → LabeledDocumentField-BdQjt44W-EnLXAA71.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-rLwWoG-Y-Ri5zqAag.js → LabeledDropDownFormattedTextField-BheK7sFg-D0D4XYai.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-BhRoctp7-DMDimYgx.js → LabeledMultiSelectField-m2Y_IFK_-DBGqM9Nr.js} +1 -1
  94. package/dist/assets/{LabeledText-Deyr6isW-CaRSw3xA.js → LabeledText-C6M4paXi-dAFR23d7.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-u_6eDShW-BQcHwjox.js → LabeledUserSingleSelectWithSubtitlesField-i7qOybJ3-QdNWRUWG.js} +3 -3
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CdAAgiie-BQ-3NTyM.js → LabeledZeniRolesDropDownField-BhNbXDjb-DgKv1slV.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-A9rqpCyG-Deffg7oF.js → LinkJETransactionPage--sqluuih-VivXIc5D.js} +2 -2
  98. package/dist/assets/{LockCardPage-CXZAffaX-C3jJ_tSh.js → LockCardPage-Bq0Tu8g8-C6m1-JJ1.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-BRxiaGRC-CbcRWbV8.js → LowBalancePopup-hlu_jjTZ-DZ1z8xe6.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-C1pJBTPa-Dk0xalTl.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-C77X02bo-Dbss_Tqv.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-DUHpAm8_-BkDmu3l4.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-BiR4YUoK-dQlOAx7r.js → MagicLinkSuccessPage-D6ZDRs5F-DQNiPx3u.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-euMftC6_-DZRwq-hs.js → MagicLinkTitleSection-e9WYeJQA-BdMlQ905.js} +1 -1
  105. package/dist/assets/MailingDetailsSection--Lx7QBGW-BxmiDkr6.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-9Zw-bIsu-CncnbQjq.js → MyBankConnectionsSettingsPage-Bb7UZRJf-B5XKMom_.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-_MhlKwOj-D2-7f_7k.js → MyPendingActivationChargeCardListPage-BToJWGM8-CjAx4TXN.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-BeSze0xM-BZMV_fCt.js → MyProfileSettingsPage-CGxf42bP-Cc5RApxz.js} +5 -5
  109. package/dist/assets/{NavBarWithPicker-C4ExxFQW-DpUNUrNw.js → NavBarWithPicker-DcDs1pe7-RUEHjYNa.js} +1 -1
  110. package/dist/assets/{NavigationArrow-CJOSZIEx-DK5dUJEr.js → NavigationArrow-DGSdnTKQ-CgfnFgIs.js} +1 -1
  111. package/dist/assets/{NavigationDots-DgfBVlG5-DqhfZvwQ.js → NavigationDots-BPsFQiss-Dqh0y0c_.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-BXTlzEbY-Cz9tPT6T.js → NewGlobalMerchantPage-od2IF__o-BUeowAQW.js} +1 -1
  113. package/dist/assets/{NoDataChart-Bwc_xftR-D-qgcUFX.js → NoDataChart-qG0jmc8Z-Dctec7eR.js} +1 -1
  114. package/dist/assets/{NoDataTable-D_VKD0kA-ERveVpE1.js → NoDataTable-CgKT7NGU-CuzMQ4sx.js} +1 -1
  115. package/dist/assets/{NotFoundPage-CLkfFo_R-BEp1gQgC.js → NotFoundPage-CdUJ7M5p-DbLXvN2b.js} +6 -6
  116. package/dist/assets/{NotificationSettingsPage-CC1kNoTw-hqt_01NH.js → NotificationSettingsPage-D1PKq-ED-ChTF7VDn.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-CEDk57Lr-B-J_cnKG.js → NotificationsListConfig-Ctfr3h3b-B2C7Z_Di.js} +1 -1
  118. package/dist/assets/{NotificationsPage-DR_MVYdY-C5boX5Q7.js → NotificationsPage-_5Yn9uTy-mxWdg1FN.js} +33 -33
  119. package/dist/assets/{OpExByVendorPage-CRkTiAd5-CKtPkFYu.js → OpExByVendorPage-Dqr805s1-CqYYgxC3.js} +5 -5
  120. package/dist/assets/{OverlayContainerPage-IDTUbuAC-Bg5rDnOz.js → OverlayContainerPage-IDTUbuAC-YfbThdai.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-BCEjC9iA-Npw1bx2K.js → PandLWithForecastPage-CQ5IMW_B-BHtqAaTy.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BFcZtn5n-CrpGwq-c.js → PaymentAccountSetupBillingAddressSection-DtOeyTmL-DXDwBnq6.js} +7 -7
  123. package/dist/assets/{PeoplePage-D7D1SrW0-DldOeCVT.js → PeoplePage-DEp24LGx-BkYkgzLW.js} +1 -1
  124. package/dist/assets/Preview-XG6ky5VX.js +1 -0
  125. package/dist/assets/{ProductsCarousel-CSUU4sEb-22Knhlm4.js → ProductsCarousel-Dgwws_g9-_dPrFjDV.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-CSisWvqE-BUbYvyJg.js → PromoBaseCards-wfvFaqMw-CY2jDhRy.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-gTTF-Gc0-BqceDGsl.js → QBOConnectionDialog-CSMrKgrY-gVbZ-mZ8.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-B2c7ZErC-DamTTbbL.js → QBOSetupSection--FQKYLxN-LYuddynp.js} +7 -7
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DRxHZeeM-emXhSVe2.js → ReimbursementApprovalRuleDetailPage-Dzg2pNcJ-BdMg1RhW.js} +5 -5
  130. package/dist/assets/ReimbursementApprovalRulesPage-eyZWsjXs-Du4OL-aC.js +243 -0
  131. package/dist/assets/{ReimbursementDetailPage-C8P6S9yn-Bthi-yUo.js → ReimbursementDetailPage-DnSo6uTd-B2fnQcOh.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-Bv6Eg8CH-DCmoEH0q.js → ReimbursementPromoPage-0st3rBmg-BJkFCzXz.js} +4 -4
  133. package/dist/assets/{ReimbursementSetUpPage-CL1j_14z-vxHHaxQP.js → ReimbursementSetUpPage-DCMgwGAM-CVZuk20s.js} +5 -5
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BXlm8qfr-D1fflpdV.js → ReimbursementsBulkReviewDrawerPage-Cx7BlVAb-BW2L-YXt.js} +1 -1
  135. package/dist/assets/{ReloadCard-DQ8-0JyV-rLZlvd4j.js → ReloadCard-8Tiu9Mq9-WidMrFBg.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-BDXux6ow-DvSJr3Tc.js → ReportTableViewSelector-BwBEG73W-D23xRsEe.js} +7 -7
  137. package/dist/assets/{ReportsPage-fjTk3JSs-CXkvFGWI.js → ReportsPage-BxXxsNBv-dsPUH8v1.js} +5 -5
  138. package/dist/assets/{RevenueChart-BAlErS9A-BDXs5kYE.js → RevenueChart-D13bncyo-DisVSBsZ.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-CSNmpZKJ-Byn7Y-9k.js → ReviewDetailsPage-C5q0Abn_-DCYfD4eU.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-Zcv9Vljd-C5jeZB2E.js → ReviewOverlay-BNnNWFdW-Dc8TbL95.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-D4abtguM-BxLN9hbA.js → RoleWithToolTip-DvYf0VUz-DfyQTHhc.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-AzGpMIv9-AU75soRw.js → ScheduleDetailsFixedAssetsPage-DqrwF4kG-YxjHzQUp.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-FXdL5BP_-BGJCtZ07.js → ScheduleDetailsPage-CH2lKmlN-Db_nhPQU.js} +1 -1
  144. package/dist/assets/{ScheduleSequenceTable-D4NEi6ZW-CzO4sKar.js → ScheduleSequenceTable-BzDIvZ9H-BagpGi8M.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-CyQkWytH.js → ScreenRoutes-l2ZSRE3X.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-DHNGWTAX-B_-yArLd.js → SetUpAccountSection-DOvqcC8t-DxYvNTsg.js} +1 -1
  147. package/dist/assets/{SignIn-8lCVuAse-CdYi0Nex.js → SignIn-CBRwaiPC-DSZbn4tf.js} +12 -12
  148. package/dist/assets/SignInScreen-DA-QJIMK.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-BjdD7zHz-duCSBxrR.js +134 -0
  150. package/dist/assets/SpendManagementPerTabPage-S5zX9fWg-B69ncWCU.js +754 -0
  151. package/dist/assets/{SpendManagementSection-p_rbwPsi-BpX_0ctO.js → SpendManagementSection-vo9WEGWQ-DV0kvnxH.js} +1 -1
  152. package/dist/assets/{StatementItem-BrFonWga-CwSpqjfU.js → StatementItem-BxnOzchG-C1vR7F9V.js} +5 -5
  153. package/dist/assets/StatementsPage-0BpH6B2F-c3HeY-pH.js +58 -0
  154. package/dist/assets/{StatusSwitcher-BWCVuAz5-DU_n1tqh.js → StatusSwitcher-Cj2oyfqn-GHqh8PSV.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-W-flws9A-Bmo5NYK_.js → SubTabSwitcher-B-gfkK-k-9khtx1-k.js} +1 -1
  156. package/dist/assets/{SummaryCard-Cy_49HY6-Bn9afv8c.js → SummaryCard-D92z4WU0-Dk2J87_c.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-CgcgC28Q-CldK_hSk.js → TaskManagementPage-DND-MEly-DfQOsUTI.js} +1 -1
  158. package/dist/assets/{TimeRangeSwitcher-xEM6Ast5-pciEx4sf.js → TimeRangeSwitcher-BCfDT5nQ-BnXndCyZ.js} +11 -11
  159. package/dist/assets/{TimeframeSwitcher-CJnjD8oY-m0JvecMs.js → TimeframeSwitcher-CCMyvSSI-DIRa_Jc4.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-CTsXGTZM-wzdovBsR.js → TimeframeSwitcherWithToggle-Di1hQ-WC-DVlTpSsC.js} +2 -2
  161. package/dist/assets/{TopExCard-CK7rIKlo-CZ1XR3M8.js → TopExCard-B4CpuO-v-CxDodwtl.js} +3 -3
  162. package/dist/assets/{TopExDetailPage-Dc310wcN-q0tmqmXu.js → TopExDetailPage-BWdJnu-c-DDcIl_DR.js} +6 -6
  163. package/dist/assets/{TransactionDetailPage-BsSYhKxb-DfZgD0bh.js → TransactionDetailPage-CL_VbaJy-BG7mpSq_.js} +1 -1
  164. package/dist/assets/{TransactionList-CKgtf7lj-CfB35YgD.js → TransactionList-CSfzB0gM-Dw6vqliW.js} +6 -6
  165. package/dist/assets/{TransactionListBig-DY6b3Ezl-DAeI5BL3.js → TransactionListBig-Dkdt0pvn-BZrDL6CH.js} +1 -1
  166. package/dist/assets/{TransactionListPage-CDc30p4A-Dig9gHS9.js → TransactionListPage-DBAqpKkc-SGyXtVgm.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-Ca8K8WSI-BDH7piKy.js → TransactionVendorDetailPage-BPb6IGMd-D5zJvpum.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-xTOs2aDo-DOshulcc.js → TransferDrawerPage-oyNu_G0D-C-dL6Rya.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-CnJn5fQJ-CY00qxhF.js → TreasuryOverviewPage-DIPEykKC-C5rL0Wer.js} +9 -9
  170. package/dist/assets/{TreasuryPromoPage-PW6ExJSX-CLdPTDPY.js → TreasuryPromoPage-wmxtzW1N-BB1K5PqR.js} +1 -1
  171. package/dist/assets/{TreasuryStatementsPage-Dh5jSrh1-BazpK2mL.js → TreasuryStatementsPage-vHS-mb3R-Ddrpn04Q.js} +2 -2
  172. package/dist/assets/{TreasuryTaxLetterPage-K4MAoNHw-C5ctj-NF.js → TreasuryTaxLetterPage-3fiYxv2D-Dg0xbQQQ.js} +1 -1
  173. package/dist/assets/{TrendChart-DGkb9XC6-BiTtDB25.js → TrendChart-dVd4QdGQ-CLKuTzb2.js} +2 -2
  174. package/dist/assets/{TrendWithTransactions-BhIw1vzx-DGilF8Kv.js → TrendWithTransactions-zZUv_Qrs-BElxtx49.js} +3 -3
  175. package/dist/assets/{UncategorizedAccountsMappingPage-U-ABmUHs-Bu1K_6ht.js → UncategorizedAccountsMappingPage-CcyG64pA-0yQuhcbM.js} +5 -5
  176. package/dist/assets/{UnitIntegrationPage-XOk1iw8U-BvaABeVm.js → UnitIntegrationPage-BL6g4XY0-fYnhKg75.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-ucIA0by--Dh8yhyNi.js → UploadAdditionalDocumentOverlay-CBg0WhaZ-C_8-7GFi.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-CNfFCjsZ-CtJBdZvo.js → Vendor2FAPopup-CF5AV8a5-BsgzaDOa.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-B_wVoMw5-D4XhjcJ1.js +1 -0
  180. package/dist/assets/{VendorDetailPage-DRLUdE3F-uwBUzPQU.js → VendorDetailPage-C168zV-E-B3dEwSOF.js} +1 -1
  181. package/dist/assets/VendorDomesticWireDetailsPage-cAu_hGIj-CosrcI_S.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-Yq4XoFtd-DCiYH_-5.js → VendorFiling1099EditablePage-DVrk7af6-wOFW-4Wi.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-BTFeQPW6-Bwm8wZ24.js → VendorFirstReviewPage-kiMBuYID-CtvtJJUg.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CdXjkgWl-BJgq7bZI.js → VendorInternationalWireDetailsPage-CtGJurq9-CCXwNCAZ.js} +1 -1
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Cy8QoA_b-vnefUABQ.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-CIZ6amoh-BsEqrgh3.js → VendorsAccountsSection-B9Ik1T2V-BaqvYUX_.js} +1 -1
  187. package/dist/assets/{VerifyDevice-BLi9cbRT-0yk5vX4R.js → VerifyDevice-DfX9VA7b-BdOPIyEo.js} +9 -9
  188. package/dist/assets/{VideoPlayer-BDCZd8K1-CLeLtKtH.js → VideoPlayer-_FcQClfH-cuN5RcOe.js} +2 -2
  189. package/dist/assets/{VideoPopup-Cni9gWLX-D0Mhgm6K.js → VideoPopup-D0XTfD6q-CZBktelE.js} +3 -3
  190. package/dist/assets/{WarningsDrawerPage-DO3TH_cI-BVq2gxQa.js → WarningsDrawerPage-DIwWkX4B-B-UdjfAF.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-CBbqwtvo-VrafrFeQ.js → ZeniAccountDetailPage-mo0trXHB-B20udciT.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-bS_K_U_k-EccBP6DV.js → ZeniAccountListViewPage-CVzyx1Sx-CoJhvG_N.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-D4Nhv6iC-CrBTiKfL.js → ZeniAccountNavBarPieces-CbXVnnp9-Dnxyvh_X.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-C40ORHL2-RBDRZ1FL.js → ZeniAccountPromoPage-gZMYr_Ux-DJicJ7wt.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-DfGwW1gJ-B7yg1oCT.js → ZeniAccountSetupPage-DPOLAjZV-DJVpJ_Nd.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-D_tc-vwm-Bzg_GSnk.js → ZeniCopyright-BDUQdaKP-B6B-IB0N.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-CwO6861o-CW51Mft1.js → ZeniTransferAmountSlider-B-nq8t_K-ANSQo16z.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-DMQostt2.js → add-to-wallet-DgdBD8_G-BBEivBdQ.js} +1 -1
  199. package/dist/assets/{analytics-YsywGP0I.js → analytics-DO1unY4G.js} +1 -1
  200. package/dist/assets/{analyticsHelper-Bv2VSRHR-BnRgn0T8.js → analyticsHelper-7cF4XxuH-_xEf-TSd.js} +1 -1
  201. package/dist/assets/{analyticsHelper-D4Wjjdfi.js → analyticsHelper-ZZI8M_53.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-BwMp8Z1R.js → arrow-south-east-round-PEovUgvH-CV7FSM6U.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-CCCTiB9K.js → auto-transfer-rule-mbafm5D3-CJUhOMj-.js} +1 -1
  204. package/dist/assets/{chartTypes-CiiHHtlc-BceiZcWQ.js → chartTypes-DjzTOuyH-BFNN0c4F.js} +1 -1
  205. package/dist/assets/{commonDimensions-B94VpAp0-CFWStpHz.js → commonDimensions-CtIrih5r-CfslRtQI.js} +1 -1
  206. package/dist/assets/{commonTypes-CG4vvGyc-CQlrewnq.js → commonTypes-9h2Y-L4i-CJG-nO2R.js} +1 -1
  207. package/dist/assets/{constants-D9J3MLx1.js → constants-pYZADjo8.js} +1 -1
  208. package/dist/assets/{core-mVc5WAnu.js → core-B9Znwqny.js} +1 -1
  209. package/dist/assets/{dash.all.min-DEG4Ymx5.js → dash.all.min-CS5kHJkT.js} +1 -1
  210. package/dist/assets/{detailCommon-D84jR8Js-CTHSOXR4.js → detailCommon-CEOeZl26-CdFIe8qF.js} +6 -6
  211. package/dist/assets/{downloadPdf-CU0hwe3m-C2xfKmu7.js → downloadPdf-Pyk_BhF7-WEbr68vS.js} +1 -1
  212. package/dist/assets/{empty-5WWfUuj_.js → empty-ChJVx-YB.js} +1 -1
  213. package/dist/assets/{empty-DgV33Jfm.js → empty-CpGZk5F5.js} +1 -1
  214. package/dist/assets/{epic-BDbWyMmO.js → epic-C_GKKQik.js} +2 -2
  215. package/dist/assets/{gift-box-Cmt9OgIZ-DkfKk8Ub.js → gift-box-Cmt9OgIZ-DNEMczKk.js} +1 -1
  216. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DdD14QZ1.js → graphic-no-data-l-DU4J8fDt-Bx_mQw5e.js} +1 -1
  217. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Bxmoc4Q1.js → graphic-no-data-net-burn-l-CzmycA0m-C46dJM7J.js} +1 -1
  218. package/dist/assets/{handshake-BPg58FML-BtKj2QSx.js → handshake-BPg58FML-C6X_P0qB.js} +1 -1
  219. package/dist/assets/{index-DfP1TP46.js → index-1k0W8uO3.js} +1 -1
  220. package/dist/assets/{index-DBHzoy-Y.js → index-BFgzVTwo.js} +1 -1
  221. package/dist/assets/{index-CbMlqZJL.js → index-BhvUwV_v.js} +9 -9
  222. package/dist/assets/{index-B0WS5HXc.js → index-CPEwTrV2.js} +1 -1
  223. package/dist/assets/{index-0lgepYHN.js → index-CfJ2tiIp.js} +1 -1
  224. package/dist/assets/{index-CneahQyi.js → index-DpdT_X0L.js} +1 -1
  225. package/dist/assets/{index-s8Qql19x.js → index-POT-Iy9l.js} +1 -1
  226. package/dist/assets/{lexical-D1NyDz9G.js → lexical-DSIpBzCF.js} +1 -1
  227. package/dist/assets/{liveblocks-D8QW-YrN.js → liveblocks-BqcT5iTZ.js} +1 -1
  228. package/dist/assets/{lottie-CoVfqInY.js → lottie-oQfNS8l-.js} +2 -2
  229. package/dist/assets/{mapLoadingInProgressToTreeNode-dE6c_J7g-DRGh--_p.js → mapLoadingInProgressToTreeNode-DoHalh0I-DytjKdZ3.js} +1 -1
  230. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9RPV_Hz-BltZX7La.js → mapSectionWithAcOnlyToTreeNode-CjiNTI8L-BE28qPgb.js} +1 -1
  231. package/dist/assets/mapSpacerToTreeNode-Di-_Qhw7-nEHRbBKZ.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-BaIl_VbE-C25WmKnk.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-mMtwXmJx-B8gyB0Lt.js +1 -0
  234. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dj8VTtaz-CokBxGSp.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bz1bR9oN-BR28SX0V.js} +1 -1
  235. package/dist/assets/{mui-C_Pjuwl5.js → mui-DqYnCiYu.js} +1 -1
  236. package/dist/assets/{page-detail-CWX5S47F-CwgQ04Z1.js → page-detail-CWX5S47F-C4YmGfRe.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-DOAN6MGR.js → radio-default-CiSgisfh-C5tnzklf.js} +1 -1
  238. package/dist/assets/{react-UmTxIL5W.js → react-B-LXbQdG.js} +2 -2
  239. package/dist/assets/{react-B4qkP2kJ.js → react-BPazyT0C.js} +1 -1
  240. package/dist/assets/{react-B1uWJZNI.js → react-Bu5BHG8O.js} +2 -2
  241. package/dist/assets/{react-COMbZ_ke.js → react-CBiOQOL3.js} +2 -2
  242. package/dist/assets/{react-CYpEpWLK.js → react-D2eQzOPv.js} +1 -1
  243. package/dist/assets/{react-CzW7TnV7.js → react-DEOv3QaS.js} +3 -3
  244. package/dist/assets/{react-Dk6KMPxp.js → react-DbRD5tNt.js} +2 -2
  245. package/dist/assets/{react-VqVdlbBp.js → react-xLrt57tQ.js} +3 -3
  246. package/dist/assets/{recharts-BGj_NTVO.js → recharts-D7E0WJGk.js} +1 -1
  247. package/dist/assets/{sentry-CTKU7CLc.js → sentry-DgGQRl6g.js} +2 -2
  248. package/dist/assets/{shield-DOlUxcFf-Chnu35pG.js → shield-DOlUxcFf-DK1OxwF6.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-CjVmQxAs-8r-ogQXf.js +1 -0
  250. package/dist/assets/{toChartData-DShY1WZ8-BtWP9JGp.js → toChartData-BFuIgA2L-C4IkmCYG.js} +1 -1
  251. package/dist/assets/{uploadAttachment-DKMAkDBt-1eSurov4.js → uploadAttachment-ux9baWqa-BwjN4G2_.js} +1 -1
  252. package/dist/assets/{uploadReceipts-DJRtId-4-Bx6imcs4.js → uploadReceipts-DJRtId-4-xnWXJPvb.js} +1 -1
  253. package/dist/assets/{url-QugEHHKq.js → url-CW650CMO.js} +1 -1
  254. package/dist/assets/{url-CQ0hVJlH.js → url-DxcM52GB.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-B-Cv7oJI.js → useLongPress-GCK2COYQ-D9KvmRO7.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-DQyOXy13.js → usp-line-BBd1wKwW-EmNWFdhU.js} +1 -1
  257. package/dist/assets/{utils-DJxCyxGL.js → utils-C_quS4m3.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-Cl3KIlic.js → zeni-epic-state-WWg2r7iB.js} +31 -31
  259. package/dist/index.html +1 -1
  260. package/package.json +3 -3
  261. package/dist/assets/AccountInfoPage-5HB6qYYU-DBuMio-I.js +0 -18
  262. package/dist/assets/BillPayApprovalRulesPage-Blk0_0Ou-Vz7KL5CM.js +0 -241
  263. package/dist/assets/CustomerOnboardingContainerPage-9g2L_yuF-CNMBm1Jt.js +0 -1
  264. package/dist/assets/CustomerOnboardingProductSuitePage-CE2ztcG2-CnIFTjMK.js +0 -202
  265. package/dist/assets/MagicLinkACHDetailsPage-DwbFsGsL-CBtL3SpB.js +0 -1
  266. package/dist/assets/MagicLinkDomesticWireDetailsPage-BgjMH36H-ByEZjWj2.js +0 -1
  267. package/dist/assets/MagicLinkInternationalWireDetailsPage-C0jHD-87-B5dWg1JS.js +0 -1
  268. package/dist/assets/MailingDetailsSection-B8g--tZ7-D8qLyVm2.js +0 -21
  269. package/dist/assets/Preview-o2DriYSg.js +0 -1
  270. package/dist/assets/ReimbursementApprovalRulesPage-CA54CNCd-BPtsXjVT.js +0 -243
  271. package/dist/assets/SignInScreen-CBgEATnM.js +0 -1
  272. package/dist/assets/SpendManagementListViewPage-D0iaA1Tz-DaDudhkW.js +0 -134
  273. package/dist/assets/SpendManagementPerTabPage-NhC0DYPW-C0zqT31U.js +0 -785
  274. package/dist/assets/StatementsPage-1LjLplay-DZgBkWWL.js +0 -58
  275. package/dist/assets/VendorACHDetailsPage-DbsvUZbM-gpcw0ZX7.js +0 -1
  276. package/dist/assets/VendorDomesticWireDetailsPage-zrRC15oK-n6yvbPjK.js +0 -1
  277. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BjUdW9fP-DJNCoIvn.js +0 -1
  278. package/dist/assets/mapSpacerToTreeNode-CxY0Ic8W-BG1WraRD.js +0 -1
  279. package/dist/assets/mapTimeframeBalancesToTreeNode-BJHD6cPI-CD4nifmO.js +0 -1
  280. package/dist/assets/mapTimeframeBalancesToTreeNode-rysmkLch-F1-aN1ul.js +0 -1
  281. package/dist/assets/toCOABalancesWithID-RFiSMP1Z-dZgyfmm-.js +0 -1
@@ -1,4 +1,4 @@
1
- import{V as s,aP as v,bn as E,g as f,Q as I,bO as b,o as t,u as T,y as $,af as N,F as R,p as u,c as P,hM as U,fN as L,as as O,am as W,hN as _}from"./index-CbMlqZJL.js";import{n as r}from"./mui-C_Pjuwl5.js";import{S}from"./sentry-CTKU7CLc.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]="5f663a90-5842-423b-bd76-0eebbe26e65b",e._sentryDebugIdIdentifier="sentry-dbid-5f663a90-5842-423b-bd76-0eebbe26e65b")}catch{}})();const B=r(_)`
1
+ import{V as s,aP as v,bn as E,g as f,Q as I,bO as b,o as t,u as T,y as $,af as N,F as R,p as u,c as P,hM as U,fN as L,as as O,am as W,hN as _}from"./index-BhvUwV_v.js";import{n as r}from"./mui-DqYnCiYu.js";import{P as S}from"./sentry-DgGQRl6g.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]="eb7250a8-684b-4e0f-80c2-f77889486753",e._sentryDebugIdIdentifier="sentry-dbid-eb7250a8-684b-4e0f-80c2-f77889486753")}catch{}})();const B=r(_)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,F=r.div`
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{a8 as se,V as o,fv as Ce,Q as Pe,g as be,a9 as we,aQ as xe,cE as ke,bB as Ie,o as i,aP as Ae,ac as $e,aR as ve,bn as Oe,hK as Ve,F as Te,eX as je,eY as oe,af as Le,y as Q,al as ze,u as A}from"./index-CbMlqZJL.js";import{n as c}from"./mui-C_Pjuwl5.js";import{a as $}from"./sentry-CTKU7CLc.js";import{r as Be,t as Ee}from"./PaymentAccountSetupBillingAddressSection-BFcZtn5n-CrpGwq-c.js";import{f as Ue}from"./CustomerOnboardingDetailPageSkeleton-CbEuqDGK-K4oucbj-.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./zeni-epic-state-Cl3KIlic.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./commonTypes-CG4vvGyc-CQlrewnq.js";import"./SetUpAccountSection-DHNGWTAX-B_-yArLd.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]="c84414c9-7763-4ad8-a151-df194123af91",e._sentryDebugIdIdentifier="sentry-dbid-c84414c9-7763-4ad8-a151-df194123af91")}catch{}})();const J="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",X={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q(A[3],A[3]),subTitlePaddingBottom:new Q(A[3],A[3])},_e=e=>`${e}_form`,De=Te.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:O,googleAPIKey:V,signedInUser:P,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:z,updateCardPaymentModalState:b,handleAddCardPaymentSource:B,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:w,onUpdateCustomerView:_,...D})=>{const m=Pe(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:F,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=D,W=be(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:Y,uiState:le,allNationalityCountries:q,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:Z}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,q]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(Y).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(J);t&&a&&(ye(),j("link_payment_account"),_(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,q,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Fe,{children:[o.jsxs(Re,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:_e(ie),children:o.jsxs(Me,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Be,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:Y,subscriptionBillingAddressSectionId:n,sectionId:J,analytics:h,isValid:ne(),onFetchLinkTokenClick:F,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionSuccess:N,updateCardPaymentModalState:b,cardPaymentView:p,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(Oe,{signedInUser:P,currentTenant:T,onLogOutClick:G})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:Z.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:z,updateCardPaymentModalState:b,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:B,cardPaymentView:p,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:U,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Fe=c.div`
1
+ import{a8 as se,V as o,fv as Ce,Q as be,g as Pe,a9 as we,aQ as xe,cE as ke,bB as Ie,o as i,aP as Ae,ac as $e,aR as ve,bn as Oe,hK as Ve,F as Te,eX as je,eY as oe,af as Le,y as Q,al as ze,u as A}from"./index-BhvUwV_v.js";import{n as c}from"./mui-DqYnCiYu.js";import{a as $}from"./sentry-DgGQRl6g.js";import{r as Be,t as Ee}from"./PaymentAccountSetupBillingAddressSection-DtOeyTmL-DXDwBnq6.js";import{f as Ue}from"./CustomerOnboardingDetailPageSkeleton-D4fUQLXG-BvBHzbJv.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./commonTypes-9h2Y-L4i-CJG-nO2R.js";import"./SetUpAccountSection-DOvqcC8t-DxYvNTsg.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]="7b3e7ea4-8b0b-4788-b409-7af44feae485",e._sentryDebugIdIdentifier="sentry-dbid-7b3e7ea4-8b0b-4788-b409-7af44feae485")}catch{}})();const J="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",X={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q(A[3],A[3]),subTitlePaddingBottom:new Q(A[3],A[3])},_e=e=>`${e}_form`,De=Te.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:O,googleAPIKey:V,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:z,updateCardPaymentModalState:P,handleAddCardPaymentSource:B,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:w,onUpdateCustomerView:_,...D})=>{const m=be(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:F,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=D,W=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:Y,uiState:le,allNationalityCountries:q,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:Z}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,q]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(Y).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(J);t&&a&&(ye(),j("link_payment_account"),_(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,q,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Fe,{children:[o.jsxs(Re,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:_e(ie),children:o.jsxs(Me,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Be,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:Y,subscriptionBillingAddressSectionId:n,sectionId:J,analytics:h,isValid:ne(),onFetchLinkTokenClick:F,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionSuccess:N,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(Oe,{signedInUser:b,currentTenant:T,onLogOutClick:G})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:Z.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:z,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:B,cardPaymentView:p,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:U,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Fe=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -58,7 +58,7 @@ import{a8 as se,V as o,fv as Ce,Q as Pe,g as be,a9 as we,aQ as xe,cE as ke,bB as
58
58
  padding-bottom: ${e=>X.subTitlePaddingBottom.valuePx(e.windowSize)};
59
59
  text-align: ${e=>e.windowSize==="small"?"initial":"center"};
60
60
  width: 100%;
61
- `,v=e=>({[J]:{account:{allOptions:[],selectedOption:void 0}},[n]:Ve(n,e?.subscriptionBillingAddress)[n]}),ut=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:O,currentTenant:V,isOnAddressPage:P,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:z,onZeniLogoClick:b,handleLogOutClick:B,handleCockpitClick:E,handleCreateCardSetupIntent:U,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:_,updateCardPaymentModalState:D,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...F}=e,{allSteps:R,currentStep:M,fetchStatus:S}=u,N=se(),{analytics:G}=N,H={allSteps:R,isOnAddressPage:P,currentStep:M,fetchStatus:S,signedInUser:O,currentTenant:V,onUpdateStep:W=>{z(W)},onZeniLogoClick:b,handleLogOutClick:B,handleCockpitClick:E,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Qe,{isOnAddressPage:P,children:[x?o.jsx(Ue,{isNoStepsPage:!0}):o.jsx(Ke,{...H,onboardingCustomerView:u,handleCreateCardSetupIntent:U,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:D,handleFetchPaymentSources:_,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...F}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},Qe=c.div`
61
+ `,v=e=>({[J]:{account:{allOptions:[],selectedOption:void 0}},[n]:Ve(n,e?.subscriptionBillingAddress)[n]}),ut=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:O,currentTenant:V,isOnAddressPage:b,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:z,onZeniLogoClick:P,handleLogOutClick:B,handleCockpitClick:E,handleCreateCardSetupIntent:U,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:_,updateCardPaymentModalState:D,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...F}=e,{allSteps:R,currentStep:M,fetchStatus:S}=u,N=se(),{analytics:G}=N,H={allSteps:R,isOnAddressPage:b,currentStep:M,fetchStatus:S,signedInUser:O,currentTenant:V,onUpdateStep:W=>{z(W)},onZeniLogoClick:P,handleLogOutClick:B,handleCockpitClick:E,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Qe,{isOnAddressPage:b,children:[x?o.jsx(Ue,{isNoStepsPage:!0}):o.jsx(Ke,{...H,onboardingCustomerView:u,handleCreateCardSetupIntent:U,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:D,handleFetchPaymentSources:_,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...F}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},Qe=c.div`
62
62
  display: flex;
63
63
  flex-direction: column;
64
64
  width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
@@ -1,4 +1,4 @@
1
- import{V as l,fv as tn,Q as Me,g as nn,a9 as an,cE as me,aQ as Qe,G as ft,aD as Ke,bB as on,o as re,ac as sn,u as W,aR as rn,hK as ln,g9 as cn,fw as yt,eX as Ot,F as Ye,eY as gt,y as fe,gd as ye,cI as dn,al as pn,hL as ht,ad as St,cS as un,gb as mn}from"./index-CbMlqZJL.js";import{a as m}from"./sentry-CTKU7CLc.js";import{n as P,k as xt}from"./mui-C_Pjuwl5.js";import{bi as j}from"./zeni-epic-state-Cl3KIlic.js";import{r as Ct,t as fn}from"./PaymentAccountSetupBillingAddressSection-BFcZtn5n-CrpGwq-c.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-CbEuqDGK-K4oucbj-.js";import{z as gn,n as hn}from"./CompanyOfficerDetailsSection-0lnfwwSs-CSyl5xOK.js";import{t as Sn}from"./QBOSetupSection-B2c7ZErC-DamTTbbL.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./commonTypes-CG4vvGyc-CQlrewnq.js";import"./SetUpAccountSection-DHNGWTAX-B_-yArLd.js";import"./LabeledAddressValueField-BMQUZAxr-BG6EpAlR.js";import"./LabeledCountryMultiSelectField-uBMn5XNT-BPAecJEl.js";import"./LabeledCreatableSingleSelectField-BMRdFPtx-DAmcNOWB.js";import"./LabeledDocumentField-DtsIRcRg-tL0lm8Y3.js";import"./LabeledMultiSelectField-BhRoctp7-DMDimYgx.js";import"./QBOConnectionDialog-gTTF-Gc0-BqceDGsl.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]="9f33cfda-4352-476f-8ebf-26c296c60d39",n._sentryDebugIdIdentifier="sentry-dbid-9f33cfda-4352-476f-8ebf-26c296c60d39")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:v,verifiedPhoneNumber:O,onPhoneVerified:h,...x})=>{const y=Me(),A=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:N}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:r,sectionHeader:N,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...x})})},bn=P.div`
1
+ import{V as l,fv as tn,Q as Me,g as nn,a9 as an,cE as me,aQ as Qe,G as ft,aD as Ke,bB as on,o as re,ac as sn,u as W,aR as rn,hK as ln,g9 as cn,fw as yt,eX as Ot,F as Ye,eY as gt,y as fe,gd as ye,cI as dn,al as pn,hL as ht,ad as St,cS as un,gb as mn}from"./index-BhvUwV_v.js";import{a as m}from"./sentry-DgGQRl6g.js";import{n as P,k as xt}from"./mui-DqYnCiYu.js";import{bi as j}from"./zeni-epic-state-WWg2r7iB.js";import{r as Ct,t as fn}from"./PaymentAccountSetupBillingAddressSection-DtOeyTmL-DXDwBnq6.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-D4fUQLXG-BvBHzbJv.js";import{z as gn,n as hn}from"./CompanyOfficerDetailsSection-TNyVByDX-D2759MDx.js";import{t as Sn}from"./QBOSetupSection--FQKYLxN-LYuddynp.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./commonTypes-9h2Y-L4i-CJG-nO2R.js";import"./SetUpAccountSection-DOvqcC8t-DxYvNTsg.js";import"./LabeledAddressValueField-BraOMDrG-CfBm_XIY.js";import"./LabeledCountryMultiSelectField-DYid8vvM-BfPOTgp8.js";import"./LabeledCreatableSingleSelectField-DzB7KPXf-BwfCQ3vj.js";import"./LabeledDocumentField-BdQjt44W-EnLXAA71.js";import"./LabeledMultiSelectField-m2Y_IFK_-DBGqM9Nr.js";import"./QBOConnectionDialog-CSMrKgrY-gVbZ-mZ8.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]="2cdcc2cc-e24e-4d48-89db-3e26ba611ac9",n._sentryDebugIdIdentifier="sentry-dbid-2cdcc2cc-e24e-4d48-89db-3e26ba611ac9")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:v,verifiedPhoneNumber:O,onPhoneVerified:h,...x})=>{const y=Me(),A=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:N}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:r,sectionHeader:N,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...x})})},bn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -0,0 +1,202 @@
1
+ import{Q as D,a8 as I,aw as M,g as _,V as e,bB as U,o as t,aP as k,bn as W,fv as V,F as A,al as H,af as R,p as l,b,ag as N,f as J,M as Z,aq as q,a$ as Q}from"./index-BhvUwV_v.js";import{a as n}from"./sentry-DgGQRl6g.js";import{n as o}from"./mui-DqYnCiYu.js";import{FT as G}from"./zeni-epic-state-WWg2r7iB.js";import K from"./ConfettiBurst-D2FdlxTA-BPfMfLCc.js";import{T as X}from"./ProductsCarousel-Dgwws_g9-_dPrFjDV.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="4387a02f-5222-4ea6-8808-beae47e593f5",i._sentryDebugIdIdentifier="sentry-dbid-4387a02f-5222-4ea6-8808-beae47e593f5")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:f=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=D(),x=I().analytics,w=M(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,B=_(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=F;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},O=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,G(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:B.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:f?e.jsxs(be,{"data-testid":k("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(ke,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:f,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(fe,{children:[e.jsx(xe,{windowSize:d,children:e.jsx(W,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:x,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},te=o.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: center;
5
+ min-width: 100%;
6
+ overflow: visible;
7
+ `,ie=o.div`
8
+ display: flex;
9
+ flex-direction: column;
10
+ align-items: center;
11
+ flex: 1;
12
+ width: 100%;
13
+ height: 100%;
14
+ min-height: 100vh;
15
+ background-image: ${i=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${i.windowSize==="small"?"m":"w"}-${i.theme.mode==="dark"?"d":"l"}.svg)`};
16
+ background-color: ${i=>i.theme.colors.grey4};
17
+ background-size: inherit;
18
+ background-attachment: fixed;
19
+ background-position: ${i=>i.windowSize==="small"?"center center":"right center"};
20
+ background-repeat: no-repeat;
21
+
22
+ ${i=>i.theme.breakpoints.down("lg")} {
23
+ background-size: cover;
24
+ }
25
+ `,oe=o.div`
26
+ position: fixed;
27
+ width: 100%;
28
+ top: ${t.sp0};
29
+ left: 0;
30
+ right: 0;
31
+ height: 62px;
32
+ padding: 0 ${t.sp2};
33
+ display: flex;
34
+ align-items: center;
35
+ justify-content: space-between;
36
+ z-index: 3;
37
+ `,re=o.div`
38
+ display: flex;
39
+ position: relative;
40
+ flex-direction: column;
41
+ align-items: center;
42
+ justify-content: center;
43
+ width: 100%;
44
+ margin: 86px 0 0 0;
45
+ `,ne=o.div`
46
+ position: relative;
47
+ display: flex;
48
+ align-items: center;
49
+ justify-content: center;
50
+ width: fit-content;
51
+ border-radius: 50px;
52
+ margin-bottom: ${t.sp7};
53
+ cursor: default;
54
+ overflow: hidden;
55
+
56
+ &::before {
57
+ content: "";
58
+ position: absolute;
59
+ top: 0;
60
+ right: 0;
61
+ bottom: 0;
62
+ left: 0;
63
+ background-color: ${l.brandColorJadeLight};
64
+ opacity: 0.5;
65
+ z-index: 0;
66
+ }
67
+
68
+ > * {
69
+ position: relative;
70
+ z-index: 1;
71
+ }
72
+ `,se=o.div`
73
+ display: flex;
74
+ flex-direction: column;
75
+ justify-content: center;
76
+ width: 100%;
77
+ height: 100%;
78
+ `,C=o.div`
79
+ display: flex;
80
+ align-items: flex-start;
81
+ justify-content: center;
82
+ `,ae=o.div`
83
+ display: flex;
84
+ align-items: center;
85
+ justify-content: center;
86
+ width: ${b.largeRegular.lineHeight};
87
+ height: ${b.largeRegular.lineHeight};
88
+ border-radius: 50%;
89
+ outline: 1px solid ${l.brandColorJadeDark};
90
+ background-color: ${l.brandColorPearl};
91
+ `,le=o(N)`
92
+ width: ${t.sp3};
93
+ height: ${t.sp3};
94
+ color: ${l.brandColorSapphire};
95
+ `,j=o(J)`
96
+ color: ${l.brandColorSapphire};
97
+ text-align: center;
98
+ margin-left: ${t.sp2};
99
+ `,de=o.div`
100
+ display: flex;
101
+ align-items: center;
102
+ justify-content: center;
103
+ width: 100%;
104
+ margin-bottom: ${t.sp4};
105
+ cursor: default;
106
+ `,ce=o(Z)`
107
+ color: ${i=>i.theme.colors.primary};
108
+ text-align: center;
109
+ margin-left: ${t.sp2};
110
+ margin-right: ${t.sp2};
111
+ `,pe=o.div`
112
+ width: 1328px;
113
+ height: 512px;
114
+ display: flex;
115
+ align-items: center;
116
+ justify-content: center;
117
+ overflow: visible;
118
+ margin-bottom: ${t.sp4};
119
+ `,he=o.a`
120
+ display: flex;
121
+ align-items: center;
122
+ justify-content: center;
123
+ text-decoration: none;
124
+ width: 100%;
125
+ cursor: pointer;
126
+ color: ${l.brandColorSapphire};
127
+ &:hover {
128
+ .discover-class {
129
+ color: ${i=>i.theme.colors.primary};
130
+ }
131
+ }
132
+ `,ge=o(q)`
133
+ color: inherit;
134
+ text-align: center;
135
+ `,ue=o(Q)`
136
+ width: ${t.sp3};
137
+ height: ${t.sp3};
138
+ color: inherit;
139
+ margin-left: 6px;
140
+ margin-top: ${t.sp1};
141
+ `,me=o.div`
142
+ width: 100%;
143
+ padding: 10px ${t.sp3};
144
+ position: sticky;
145
+ bottom: 0;
146
+ left: 0;
147
+ right: 0;
148
+ z-index: 3;
149
+ display: flex;
150
+ justify-content: space-between;
151
+ align-items: center;
152
+ flex-direction: column;
153
+ `,fe=o.div`
154
+ display: flex;
155
+ position: relative;
156
+ justify-content: space-between;
157
+ width: 100%;
158
+ align-items: center;
159
+ `,xe=o.div`
160
+ display: flex;
161
+ left: ${t.sp4};
162
+ bottom: ${t.sp3};
163
+ position: fixed;
164
+ justify-content: center;
165
+ align-items: center;
166
+ cursor: default;
167
+ `,we=o.div`
168
+ display: flex;
169
+ `,ye=o(R)`
170
+ height: ${t.sp4};
171
+ width: 102px;
172
+ color: ${i=>i.theme.colors.primary};
173
+ cursor: pointer;
174
+ flex-shrink: 0;
175
+ margin-left: -${t.sp5};
176
+ `,ke=o(Y)`
177
+ width: ${t.sp4};
178
+ min-width: ${t.sp4};
179
+ height: ${t.sp4};
180
+ `,be=o.div`
181
+ display: flex;
182
+ flex-direction: row;
183
+ align-items: center;
184
+ width: fit-content;
185
+ white-space: nowrap;
186
+ cursor: pointer;
187
+ color: ${i=>i.theme.colors.hero};
188
+ &:hover {
189
+ .btnText {
190
+ color: ${i=>i.theme.colors.primary};
191
+ }
192
+ svg {
193
+ color: ${i=>i.theme.colors.primary};
194
+ }
195
+ }
196
+ margin-right: ${t.sp2};
197
+ `,Ce=o(H)`
198
+ margin-left: ${t.sp2};
199
+ `,je=o.div`
200
+ width: 200px;
201
+ height: ${t.sp4};
202
+ `;export{Me as CustomerOnboardingProductSuitePage,Me as default};
@@ -1,4 +1,4 @@
1
- import{av as FA,aw as Ee,V as e,ax as Yt,F as Q,ay as Ht,az as Kt,o,aA as Nt,G as LA,p as u,aB as Gt,aC as zt,aD as Wt,aE as Be,aF as qt,aG as Xt,aH as Vt,aI as Zt,aJ as $t,aK as _t,aL as P,Q as eA,aM as N,aN as Y,aO as X,aP as D,a9 as Ar,aQ as Ke,x as Ne,ac as er,aR as tr,y as AA,aS as G,aT as tA,am as rA,aU as Ge,aV as J,aW as U,aX as qA,ao as rr,g as nA,aY as or,aZ as ar,a_ as ir,a$ as gr,ai as F,b0 as JA,u as S,aq as XA,al as PA,b1 as ze,b2 as We,b3 as qe,b4 as nr,b5 as VA,a as Cr,d as sr,b6 as Er,b7 as Xe,b8 as dr,b9 as Br,ba as ZA,bb as lr,bc as Qr,bd as Ir,be as cr,T as Ve,b as hr,bf as pr,e as mr,bg as Ze,bh as $e,an as ur,bi as xr,ag as fr,as as _e}from"./index-CbMlqZJL.js";import{a as t,S as k}from"./sentry-CTKU7CLc.js";import{n as g,a as wr,c as xA,k as R}from"./mui-C_Pjuwl5.js";import{L as kr}from"./lottie-CoVfqInY.js";import{bg as Dr,bh as At,EL as et}from"./zeni-epic-state-Cl3KIlic.js";import{v as yr}from"./DashboardSidebarBackgroundAnimation-Dql-Odcw-CfyGVT7Z.js";import{L as jr,k as vr}from"./ArAgingChart-DDYQFnOL-DHgysqpM.js";import{E as br,I as de,A as tt}from"./ReloadCard-DQ8-0JyV-rLZlvd4j.js";import{L as Mr,O as UA,c as lA}from"./TopExCard-CK7rIKlo-CZ1XR3M8.js";import{Y as Sr,X as Rr,H as Lr,P as Fr,G as Jr}from"./RevenueChart-BAlErS9A-BDXs5kYE.js";import Pr from"./InsightsCardStack-28f145Lw-B3ZhCTKB.js";import{a as Ur}from"./AccountsPromoCardStack-B8BaHMXs-DjcKs3mI.js";import{c as V}from"./SummaryCard-Cy_49HY6-Bn9afv8c.js";import{t as Or,o as Tr}from"./arrow-south-east-round-PEovUgvH-BwMp8Z1R.js";import{N as gA}from"./NavigationArrow-CJOSZIEx-DK5dUJEr.js";import{k as $A}from"./NavigationDots-DgfBVlG5-DqhfZvwQ.js";import Yr from"./CompanyPassportCard-BPpSNcXb-DcbhYnV5.js";import{C as Hr}from"./gift-box-Cmt9OgIZ-DkfKk8Ub.js";import Kr from"./InformationCardStack-WI0CkBUF-Co4ycsmA.js";import{p as rt}from"./chartTypes-CiiHHtlc-BceiZcWQ.js";import{h as Nr}from"./toCOABalancesWithID-RFiSMP1Z-dZgyfmm-.js";import{V as Gr}from"./toChartData-DShY1WZ8-BtWP9JGp.js";import{r as zr,i as Wr}from"./graphic-no-data-net-burn-l-CzmycA0m-Bxmoc4Q1.js";import{N as qr,J as Xr}from"./PromoBaseCards-CSisWvqE-BUbYvyJg.js";import{r as Vr}from"./core-mVc5WAnu.js";import{N as Zr,I as $r}from"./VideoPlayer-BDCZd8K1-CLeLtKtH.js";import _r from"./ConfettiBurst-DweZPNXH-6kuckq6s.js";import{F as Ao,G as eo,Y as to,X as ro,R as oo}from"./recharts-BGj_NTVO.js";import"./liveblocks-D8QW-YrN.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./graphic-no-data-l-DU4J8fDt-DdD14QZ1.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]="c528defa-b95f-43dc-a1ba-a6a803b1a2a3",A._sentryDebugIdIdentifier="sentry-dbid-c528defa-b95f-43dc-a1ba-a6a803b1a2a3")}catch{}})();const ao=g(tA)`
1
+ import{av as FA,aw as Ee,V as e,ax as Yt,F as Q,ay as Ht,az as Kt,o,aA as Nt,G as LA,p as u,aB as Gt,aC as zt,aD as Wt,aE as Be,aF as qt,aG as Xt,aH as Vt,aI as Zt,aJ as $t,aK as _t,aL as P,Q as eA,aM as N,aN as Y,aO as X,aP as D,a9 as Ar,aQ as Ke,x as Ne,ac as er,aR as tr,y as AA,aS as G,aT as tA,am as rA,aU as Ge,aV as J,aW as U,aX as qA,ao as rr,g as nA,aY as or,aZ as ar,a_ as ir,a$ as gr,ai as F,b0 as JA,u as S,aq as XA,al as PA,b1 as ze,b2 as We,b3 as qe,b4 as nr,b5 as VA,a as Cr,d as sr,b6 as Er,b7 as Xe,b8 as dr,b9 as Br,ba as ZA,bb as lr,bc as Qr,bd as Ir,be as cr,T as Ve,b as hr,bf as pr,e as mr,bg as Ze,bh as $e,an as ur,bi as xr,ag as fr,as as _e}from"./index-BhvUwV_v.js";import{a as t,P as k}from"./sentry-DgGQRl6g.js";import{n as g,a as wr,c as xA,k as R}from"./mui-DqYnCiYu.js";import{L as kr}from"./lottie-oQfNS8l-.js";import{bg as Dr,bh as At,EL as et}from"./zeni-epic-state-WWg2r7iB.js";import{v as yr}from"./DashboardSidebarBackgroundAnimation-BuINHqA--61tWJjrX.js";import{L as jr,k as vr}from"./ArAgingChart-B3T4qk8t-CVyLgEv4.js";import{E as br,I as de,A as tt}from"./ReloadCard-8Tiu9Mq9-WidMrFBg.js";import{L as Mr,O as UA,c as lA}from"./TopExCard-B4CpuO-v-CxDodwtl.js";import{Y as Sr,X as Rr,H as Lr,P as Fr,G as Jr}from"./RevenueChart-D13bncyo-DisVSBsZ.js";import Pr from"./InsightsCardStack-Xn2rGwX0-BAx1TkHE.js";import{a as Ur}from"./AccountsPromoCardStack-CM2kVta7-D4DDSl1Z.js";import{c as V}from"./SummaryCard-D92z4WU0-Dk2J87_c.js";import{t as Or,o as Tr}from"./arrow-south-east-round-PEovUgvH-CV7FSM6U.js";import{N as gA}from"./NavigationArrow-DGSdnTKQ-CgfnFgIs.js";import{k as $A}from"./NavigationDots-BPsFQiss-Dqh0y0c_.js";import Yr from"./CompanyPassportCard-DjBkQwpn-Dd7qvLcE.js";import{C as Hr}from"./gift-box-Cmt9OgIZ-DNEMczKk.js";import Kr from"./InformationCardStack-Bx_9X95v-xPOrStCv.js";import{p as rt}from"./chartTypes-DjzTOuyH-BFNN0c4F.js";import{h as Nr}from"./toCOABalancesWithID-CjVmQxAs-8r-ogQXf.js";import{V as Gr}from"./toChartData-BFuIgA2L-C4IkmCYG.js";import{r as zr,i as Wr}from"./graphic-no-data-net-burn-l-CzmycA0m-C46dJM7J.js";import{N as qr,J as Xr}from"./PromoBaseCards-wfvFaqMw-CY2jDhRy.js";import{r as Vr}from"./core-B9Znwqny.js";import{N as Zr,I as $r}from"./VideoPlayer-_FcQClfH-cuN5RcOe.js";import _r from"./ConfettiBurst-D2FdlxTA-BPfMfLCc.js";import{F as Ao,G as eo,Y as to,X as ro,R as oo}from"./recharts-D7E0WJGk.js";import"./liveblocks-BqcT5iTZ.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./graphic-no-data-l-DU4J8fDt-Bx_mQw5e.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]="9e45c3f0-be53-4f32-90fb-20a45cd4ef2d",A._sentryDebugIdIdentifier="sentry-dbid-9e45c3f0-be53-4f32-90fb-20a45cd4ef2d")}catch{}})();const ao=g(tA)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,le=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{Q as B,g as Z,F as _,aw as ke,V as s,bB as qe,T as Je,G as Qe,bC as Xe,o as d,y as N,aD as X,bD as Ke,bE as et,ai as oe,u as j,b3 as tt,aV as st,x as Oe,r as Be,p as D,aq as Pe,aU as ot,ba as at,an as nt,bF as it,at as rt,bG as ct,bH as ne,bI as lt,as as dt,am as pt,bJ as ut,bK as gt}from"./index-CbMlqZJL.js";import{a as S,S as K}from"./sentry-CTKU7CLc.js";import{n as u,k as Ie}from"./mui-C_Pjuwl5.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-Cl3KIlic.js";import{m as Y,l as se}from"./analyticsHelper-Bv2VSRHR-BnRgn0T8.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-BDXux6ow-DvSJr3Tc.js";import{q as kt}from"./InsightsSection-iq6BFe-O-BnHn19Y4.js";import{k as Ot,q as Bt,U as xe,H as ee,N as pe}from"./detailCommon-D84jR8Js-CTHSOXR4.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-BAlErS9A-BDXs5kYE.js";import{C as Nt}from"./NoDataChart-Bwc_xftR-D-qgcUFX.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-xEM6Ast5-pciEx4sf.js";import{b as Ne}from"./TimeframeSwitcher-CJnjD8oY-m0JvecMs.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-CpOmWQO--DqCcIXDi.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-C9RPV_Hz-BltZX7La.js";import{d as Mt}from"./NoDataTable-D_VKD0kA-ERveVpE1.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-Dj8VTtaz-CokBxGSp.js";import{d as he}from"./mapLoadingInProgressToTreeNode-dE6c_J7g-DRGh--_p.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./NavigationDots-DgfBVlG5-DqhfZvwQ.js";import"./chartTypes-CiiHHtlc-BceiZcWQ.js";import"./toCOABalancesWithID-RFiSMP1Z-dZgyfmm-.js";import"./toChartData-DShY1WZ8-BtWP9JGp.js";import"./AccountRow-DvTUqeYB-DXbzmjkX.js";import"./graphic-no-data-l-DU4J8fDt-DdD14QZ1.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]="a940d5a7-0c35-436f-9433-ea0bce635aa7",e._sentryDebugIdIdentifier="sentry-dbid-a940d5a7-0c35-436f-9433-ea0bce635aa7")}catch{}})();const Ft=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),S.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
1
+ import{Q as B,g as Z,F as _,aw as ke,V as s,bB as qe,T as Je,G as Qe,bC as Xe,o as d,y as N,aD as X,bD as Ke,bE as et,ai as oe,u as j,b3 as tt,aV as st,x as Oe,r as Be,p as D,aq as Pe,aU as ot,ba as at,an as nt,bF as it,at as rt,bG as ct,bH as ne,bI as lt,as as dt,am as pt,bJ as ut,bK as gt}from"./index-BhvUwV_v.js";import{a as S,P as K}from"./sentry-DgGQRl6g.js";import{n as u,k as Ie}from"./mui-DqYnCiYu.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-WWg2r7iB.js";import{m as Y,l as se}from"./analyticsHelper-7cF4XxuH-_xEf-TSd.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-BwBEG73W-D23xRsEe.js";import{q as kt}from"./InsightsSection-CwyGEE7C-BgS40gth.js";import{k as Ot,q as Bt,U as xe,H as ee,N as pe}from"./detailCommon-CEOeZl26-CdFIe8qF.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-D13bncyo-DisVSBsZ.js";import{C as Nt}from"./NoDataChart-qG0jmc8Z-Dctec7eR.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-BCfDT5nQ-BnXndCyZ.js";import{b as Ne}from"./TimeframeSwitcher-CCMyvSSI-DIRa_Jc4.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-BWfFYJbH-BIiPdpTy.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-CjiNTI8L-BE28qPgb.js";import{d as Mt}from"./NoDataTable-CgKT7NGU-CuzMQ4sx.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-Bz1bR9oN-BR28SX0V.js";import{d as he}from"./mapLoadingInProgressToTreeNode-DoHalh0I-DytjKdZ3.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./NavigationDots-BPsFQiss-Dqh0y0c_.js";import"./chartTypes-DjzTOuyH-BFNN0c4F.js";import"./toCOABalancesWithID-CjVmQxAs-8r-ogQXf.js";import"./toChartData-BFuIgA2L-C4IkmCYG.js";import"./AccountRow-BVKk7u7h-CDJSAP1l.js";import"./graphic-no-data-l-DU4J8fDt-Bx_mQw5e.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]="5db59e99-f4d8-4545-896f-818c023eeb96",e._sentryDebugIdIdentifier="sentry-dbid-5db59e99-f4d8-4545-896f-818c023eeb96")}catch{}})();const Ft=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),S.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{av as u,V as o,b5 as b,o as p}from"./index-CbMlqZJL.js";import{a as s}from"./sentry-CTKU7CLc.js";import{a as h,n as m}from"./mui-C_Pjuwl5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a74d6bf1-0ec9-48c1-abf5-55d92e19ccd4",e._sentryDebugIdIdentifier="sentry-dbid-a74d6bf1-0ec9-48c1-abf5-55d92e19ccd4")}catch{}})();const v=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),r=e||n,d=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,l]=u(d,r),[t,c]=s.useState(null);a!=null&&t==null&&!l&&c(a);const f=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(b,{style:{width:"inherit",height:"inherit",display:"block"},animationData:t,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
1
+ import{av as u,V as o,b5 as b,o as p}from"./index-BhvUwV_v.js";import{a as s}from"./sentry-DgGQRl6g.js";import{a as h,n as m}from"./mui-DqYnCiYu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a74d6bf1-0ec9-48c1-abf5-55d92e19ccd4",e._sentryDebugIdIdentifier="sentry-dbid-a74d6bf1-0ec9-48c1-abf5-55d92e19ccd4")}catch{}})();const v=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),r=e||n,d=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,l]=u(d,r),[t,c]=s.useState(null);a!=null&&t==null&&!l&&c(a);const f=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(b,{style:{width:"inherit",height:"inherit",display:"block"},animationData:t,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aN as y,hz as u,Q as $,V as l,o as i,al as c,am as w}from"./index-CbMlqZJL.js";import{n as t}from"./mui-C_Pjuwl5.js";import{g as k}from"./BoxItem-CjZDlBaw-BKi5-cXg.js";import{o as v}from"./commonDimensions-B94VpAp0-CFWStpHz.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]="df846095-ed3e-4b81-b83e-5e8d8cbd01aa",e._sentryDebugIdIdentifier="sentry-dbid-df846095-ed3e-4b81-b83e-5e8d8cbd01aa")}catch{}})();function K({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:p,logo:b,summary:x,direction:f,status:m}=e,g=r.length>0?r:x,a=y("0,0.00",p),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(N,{src:b?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(T,{children:g}),s!=null?l.jsxs(C,{windowSize:o,children:[l.jsx(P,{windowSize:o}),l.jsx(E,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(Q,{windowSize:o,children:f==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aN as y,hz as u,Q as $,V as l,o as i,al as c,am as w}from"./index-BhvUwV_v.js";import{n as t}from"./mui-DqYnCiYu.js";import{g as k}from"./BoxItem-C-LLQ7NS-CyKsGaF0.js";import{o as v}from"./commonDimensions-CtIrih5r-CfslRtQI.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]="c30b0169-046c-4261-8787-229683da8853",e._sentryDebugIdIdentifier="sentry-dbid-c30b0169-046c-4261-8787-229683da8853")}catch{}})();function K({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:p,logo:x,summary:b,direction:f,status:m}=e,g=r.length>0?r:b,a=y("0,0.00",p),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(N,{src:x?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(T,{children:g}),s!=null?l.jsxs(C,{windowSize:o,children:[l.jsx(P,{windowSize:o}),l.jsx(E,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(Q,{windowSize:o,children:f==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -1,4 +1,4 @@
1
- import{g as M,Q as S,V as t,bB as I,b3 as F,hI as Y,o,F as z,p as u,cs as C,de as E,df as _,d9 as B,dg as L,y as T,ai as R,al as V,u as g}from"./index-CbMlqZJL.js";import{a as x}from"./sentry-CTKU7CLc.js";import{n as a}from"./mui-C_Pjuwl5.js";import{bh as A}from"./zeni-epic-state-Cl3KIlic.js";import{$ as N}from"./BoxItem-CjZDlBaw-BKi5-cXg.js";import{o as P}from"./commonDimensions-B94VpAp0-CFWStpHz.js";import{H as Q}from"./DepositAccTransactionItem-Buzx5B8J-COupFxJQ.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.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]="027a255f-5eaf-438b-87ba-9275b6786b70",e._sentryDebugIdIdentifier="sentry-dbid-027a255f-5eaf-438b-87ba-9275b6786b70")}catch{}})();const l=z.getLocalizedStrings(),H={listItemMargin:new T(g[3],g[8])};function X(e){const i=E(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,r=>r.length>0);return B(d,r=>({date:r[0].transactionDate,transactions:L(r,m=>m.transactionDate,"desc")}))}const q=Y(X),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),r=S(),m=x.createRef(),p=x.useRef(null),c=q(e.transactions),k=e.depositAccountName,f=c.length===0,j=n=>f===!1?c[n].transactions.length*P.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return t.jsx(y,{style:{...h},children:t.jsx(w,{windowSize:r,children:t.jsxs($,{children:[t.jsx(O,{children:A().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,b)=>t.jsx(Q,{data:D,boxType:N(b,s.transactions.length)},b))})]})})})}else return t.jsx(y,{style:{...h},children:t.jsx(G,{children:t.jsx(w,{windowSize:r,children:t.jsx(K,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(J,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(F,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},y=a.div``,w=a.div`
1
+ import{g as M,Q as S,V as t,bB as I,b3 as F,hI as Y,o,F as z,p as u,cs as C,de as E,df as _,d9 as B,dg as L,y as T,ai as R,al as V,u as g}from"./index-BhvUwV_v.js";import{a as x}from"./sentry-DgGQRl6g.js";import{n as a}from"./mui-DqYnCiYu.js";import{bh as A}from"./zeni-epic-state-WWg2r7iB.js";import{$ as N}from"./BoxItem-C-LLQ7NS-CyKsGaF0.js";import{o as P}from"./commonDimensions-CtIrih5r-CfslRtQI.js";import{H as Q}from"./DepositAccTransactionItem-BE8LeqlM-hlhKmXR8.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="ff5cc5af-4db1-41f9-9b5f-de537bb0d19c",e._sentryDebugIdIdentifier="sentry-dbid-ff5cc5af-4db1-41f9-9b5f-de537bb0d19c")}catch{}})();const l=z.getLocalizedStrings(),H={listItemMargin:new T(g[3],g[8])};function X(e){const i=E(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,r=>r.length>0);return B(d,r=>({date:r[0].transactionDate,transactions:L(r,f=>f.transactionDate,"desc")}))}const q=Y(X),me=({transactionListView:e,onBackClick:i})=>{const d=M(),r=S(),f=x.createRef(),m=x.useRef(null),c=q(e.transactions),k=e.depositAccountName,p=c.length===0,j=n=>p===!1?c[n].transactions.length*P.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(p===!1){const s=c[n];return t.jsx(y,{style:{...h},children:t.jsx(w,{windowSize:r,children:t.jsxs($,{children:[t.jsx(O,{children:A().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,b)=>t.jsx(Q,{data:D,boxType:N(b,s.transactions.length)},b))})]})})})}else return t.jsx(y,{style:{...h},children:t.jsx(G,{children:t.jsx(w,{windowSize:r,children:t.jsx(K,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(J,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:m.current!=null?m:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(F,{children:({height:n,width:h})=>t.jsx(Z,{ref:f,height:n,width:h,outerRef:m,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},y=a.div``,w=a.div`
2
2
  margin: ${e=>`${o.sp0} ${H.listItemMargin.valuePx(e.windowSize)}`};
3
3
  `,G=a.div`
4
4
  display: flex;
@@ -63,4 +63,4 @@ import{g as M,Q as S,V as t,bB as I,b3 as F,hI as Y,o,F as z,p as u,cs as C,de a
63
63
  border-radius: 2px;
64
64
  }
65
65
  }
66
- `;export{pe as default};
66
+ `;export{me as default};
@@ -1,4 +1,4 @@
1
- import{Q as U,a9 as O,F as S,cE as q,aD as G,V as n,co as H,cp as J,cq as Q,ac as K,aR as X,y as b,eU as Y,o as Z,b9 as ee,u as o}from"./index-CbMlqZJL.js";import{a as C}from"./sentry-CTKU7CLc.js";import{n as h}from"./mui-C_Pjuwl5.js";import{bi as T}from"./zeni-epic-state-Cl3KIlic.js";import{e as ne}from"./BankAccountSection-1WOCLgt5-CMcEcJjX.js";import{M as te}from"./MagicLinkTitleSection-euMftC6_-DZRwq-hs.js";import{W as ae,A as oe}from"./BankAccountWarningSection-Ddj7HexZ-BBFOC6FA.js";import{T as ie}from"./MailingDetailsSection-B8g--tZ7-D8qLyVm2.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]="ce159873-104c-4dee-8665-a9e105134e8c",e._sentryDebugIdIdentifier="sentry-dbid-ce159873-104c-4dee-8665-a9e105134e8c")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},D="domesticWireDetailsPage",k="bankAccountSection",j="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:$,isMagicLink:g,currencySymbol:v,amount:P,onSaveHandler:R,onWireDetailsUpdated:z,onFetchBankName:I,onAddressClick:L,onBackClick:w}=e,u=U(),c=O({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[E,f]=C.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{f(!1),c.reset(),w?.()},onCancelClick:()=>{f(!1)}},F=async(p,m)=>{const d=m[k].bankRoutingNumber;z(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&I?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>F(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&R("wire")}),N=!G(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[E===!0?n.jsx(H,{titleComponent:n.jsx(Q,{children:a.discardTitle}),descriptionComponent:n.jsx(J,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:$??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:w,setShowConfirmationPopup:f}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(K,{...c,children:n.jsxs("form",{id:B(D),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:j,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:B(D),primaryBtn:{label:g?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?f(!0):(c.reset(),w?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[j]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
1
+ import{Q as U,a9 as O,F as S,cE as q,aD as G,V as n,co as H,cp as J,cq as Q,ac as K,aR as X,y as b,eU as Y,o as Z,b9 as ee,u as o}from"./index-BhvUwV_v.js";import{a as C}from"./sentry-DgGQRl6g.js";import{n as h}from"./mui-DqYnCiYu.js";import{bi as T}from"./zeni-epic-state-WWg2r7iB.js";import{e as ne}from"./BankAccountSection-Cd_h3co--DCzIyA5D.js";import{M as te}from"./MagicLinkTitleSection-e9WYeJQA-BdMlQ905.js";import{W as ae,A as oe}from"./BankAccountWarningSection-Cz9fzMVv-CvaYS3T_.js";import{T as ie}from"./MailingDetailsSection--Lx7QBGW-BxmiDkr6.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]="98794c4b-e880-468c-8931-20f22429ae7d",e._sentryDebugIdIdentifier="sentry-dbid-98794c4b-e880-468c-8931-20f22429ae7d")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},D="domesticWireDetailsPage",k="bankAccountSection",j="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:$,isMagicLink:g,currencySymbol:v,amount:P,onSaveHandler:R,onWireDetailsUpdated:z,onFetchBankName:I,onAddressClick:L,onBackClick:w}=e,u=U(),c=O({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[E,f]=C.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{f(!1),c.reset(),w?.()},onCancelClick:()=>{f(!1)}},F=async(p,m)=>{const d=m[k].bankRoutingNumber;z(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&I?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>F(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&R("wire")}),N=!G(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[E===!0?n.jsx(H,{titleComponent:n.jsx(Q,{children:a.discardTitle}),descriptionComponent:n.jsx(J,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:$??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:w,setShowConfirmationPopup:f}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(K,{...c,children:n.jsxs("form",{id:B(D),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:j,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:B(D),primaryBtn:{label:g?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?f(!0):(c.reset(),w?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[j]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
2
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{V as t,c2 as it,o as s,Q as he,c3 as nt,an as He,p as ue,y as W,x as lt,F,c4 as dt,bN as Ue,u as B,b9 as qe,al as L,bQ as ke,b as te,am as be,r as ae,g as We,bS as ct,c5 as xe,c6 as ge,T as Ge,c7 as Ze,bL as pt,ba as mt,ao as ye,c8 as Z,c9 as ft,ca as ht,bJ as ut,bR as bt,aq as xt,cb as gt,b_ as yt,at as $t}from"./index-CbMlqZJL.js";import{a as h,S as $e}from"./sentry-CTKU7CLc.js";import{n,k as Je}from"./mui-C_Pjuwl5.js";import{F4 as me,F5 as C,F6 as J,bL as P,F7 as X,F8 as we,F9 as U,bh as wt,Fa as k,Fb as Ft,Fc as vt,Fd as jt,Fe as Ot,Ff as Yt}from"./zeni-epic-state-Cl3KIlic.js";import{m as Dt}from"./analyticsHelper-Bv2VSRHR-BnRgn0T8.js";import{g as _t,x as kt}from"./ReportTableViewSelector-BDXux6ow-DvSJr3Tc.js";import{t as Ct}from"./page-detail-CWX5S47F-CwgQ04Z1.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./CollapsableReportTable-CpOmWQO--DqCcIXDi.js";import"./AccountRow-DvTUqeYB-DXbzmjkX.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]="6ed6aca9-ef8c-4b00-9e82-0c6311f88d11",e._sentryDebugIdIdentifier="sentry-dbid-6ed6aca9-ef8c-4b00-9e82-0c6311f88d11")}catch{}})();const Pt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function ie(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=J(r,e,a-1,o),{startOfTimeframeFY:l}=C(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return oe(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=C(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=k(l,e);const{fyYear:u}=k(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
1
+ import{V as t,c2 as it,o as s,Q as he,c3 as nt,an as He,p as ue,y as W,x as lt,F,c4 as dt,bN as Ue,u as B,b9 as qe,al as L,bQ as ke,b as te,am as be,r as ae,g as We,bS as ct,c5 as xe,c6 as ge,T as Ge,c7 as Ze,bL as pt,ba as mt,ao as ye,c8 as Z,c9 as ft,ca as ht,bJ as ut,bR as bt,aq as xt,cb as gt,b_ as yt,at as $t}from"./index-BhvUwV_v.js";import{a as h,P as $e}from"./sentry-DgGQRl6g.js";import{n,k as Je}from"./mui-DqYnCiYu.js";import{F4 as me,F5 as C,F6 as J,bL as P,F7 as X,F8 as we,F9 as U,bh as wt,Fa as k,Fb as Ft,Fc as vt,Fd as jt,Fe as Ot,Ff as Yt}from"./zeni-epic-state-WWg2r7iB.js";import{m as Dt}from"./analyticsHelper-7cF4XxuH-_xEf-TSd.js";import{g as _t,x as kt}from"./ReportTableViewSelector-BwBEG73W-D23xRsEe.js";import{t as Ct}from"./page-detail-CWX5S47F-C4YmGfRe.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./CollapsableReportTable-BWfFYJbH-BIiPdpTy.js";import"./AccountRow-BVKk7u7h-CDJSAP1l.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]="d8b829c0-8ec9-435b-88d3-9633b7f1a26c",e._sentryDebugIdIdentifier="sentry-dbid-d8b829c0-8ec9-435b-88d3-9633b7f1a26c")}catch{}})();const Pt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function ie(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=J(r,e,a-1,o),{startOfTimeframeFY:l}=C(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return oe(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=C(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=k(l,e);const{fyYear:u}=k(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
2
2
  padding: ${s.sp3};
3
3
  border: 1px solid ${e=>e.borderColor.default};
4
4
  border-radius: ${s.sp1};
@@ -1,4 +1,4 @@
1
- import{Q as a,V as i,bS as y,o as r,y as s,F as h,c1 as P,a as c,d as g,x as b,u as t,aN as k,j_ as L,j$ as D,k0 as _}from"./index-CbMlqZJL.js";import{n as o}from"./mui-C_Pjuwl5.js";import"./sentry-CTKU7CLc.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./zeni-epic-state-Cl3KIlic.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1ce9aae7-1cb7-4771-9201-3417e68176a0",e._sentryDebugIdIdentifier="sentry-dbid-1ce9aae7-1cb7-4771-9201-3417e68176a0")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,C=({rewardsPlan:e})=>{const n=[I(),R(),B({rewardsPlan:e})],d=a();return i.jsx(A,{children:n.map((j,f)=>i.jsxs(F,{children:[i.jsx(Q,{children:j}),f<n.length-1?i.jsx(H,{windowSize:d}):null]},`step_${f}`))})},I=()=>{const e=a(),n=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(M,{windowSize:e})}),i.jsx(S,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(S,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},B=({rewardsPlan:e})=>{const n=a(),d=x.item3;return i.jsxs(p,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(E,{windowSize:n})}),i.jsx(S,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(z,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},p=o.div`
1
+ import{Q as a,V as i,bS as y,o as r,y as s,F as h,c1 as P,a as c,d as g,x as b,u as t,aN as k,j_ as L,j$ as D,k0 as _}from"./index-BhvUwV_v.js";import{n as o}from"./mui-DqYnCiYu.js";import"./sentry-DgGQRl6g.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1ce9aae7-1cb7-4771-9201-3417e68176a0",e._sentryDebugIdIdentifier="sentry-dbid-1ce9aae7-1cb7-4771-9201-3417e68176a0")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,C=({rewardsPlan:e})=>{const n=[I(),R(),B({rewardsPlan:e})],d=a();return i.jsx(A,{children:n.map((j,f)=>i.jsxs(F,{children:[i.jsx(Q,{children:j}),f<n.length-1?i.jsx(H,{windowSize:d}):null]},`step_${f}`))})},I=()=>{const e=a(),n=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(M,{windowSize:e})}),i.jsx(S,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(S,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},B=({rewardsPlan:e})=>{const n=a(),d=x.item3;return i.jsxs(p,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(E,{windowSize:n})}),i.jsx(S,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(z,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},p=o.div`
2
2
  border: 1px solid ${e=>e.theme.colors.grey3};
3
3
  border-radius: ${r.sp2};
4
4
  box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.dropShadowNormal}`};
@@ -1,4 +1,4 @@
1
- import{Q as ie,fR as ae,g as de,a9 as pe,aQ as ce,V as t,co as ue,ap as me,cp as ge,cq as fe,gO as he,cu as ye,o as n,bS as be,aP as L,ac as ve,aR as xe,y as P,F as $e,cA as we,fU as Re,fV as je,fW as Ce,b9 as Ie,p as Q,cZ as ke,u}from"./index-CbMlqZJL.js";import{a as w}from"./sentry-CTKU7CLc.js";import{n as l}from"./mui-C_Pjuwl5.js";import{FB as Oe,bg as _e}from"./zeni-epic-state-Cl3KIlic.js";import{f as Pe}from"./AllUserItems-CH9ybX41-BADPu5Il.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./LabeledUserSingleSelectWithSubtitlesField-u_6eDShW-BQcHwjox.js";import"./RoleWithToolTip-D4abtguM-BxLN9hbA.js";import"./LabeledZeniRolesDropDownField-CdAAgiie-BQ-3NTyM.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]="ec8c064d-b93e-4bdf-960b-a4200998344f",e._sentryDebugIdIdentifier="sentry-dbid-ec8c064d-b93e-4bdf-960b-a4200998344f")}catch{}})();const C={containerPaddingTop:new P(u[3],u[3]),containerPaddingLeft:new P(u[3],u[6],u[6]),containerPaddingRight:new P(u[3],u[6],u[8]),buttonWidth:new P(85,85)},Y="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:I,mode:p,isZeniTenant:T,onCloseClick:k,onResetClick:O,onSaveClick:m,onDeleteUser:J,onPeopleLocalDataUpdated:M,analytics:E,isReimbursementDisabled:z,isZeniAccountsDisabled:q,isChargeCardDisabled:N,isTreasuryDisabled:Z,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const j=ie(),[X,B]=w.useState(!1),[H,K]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),S=w.useMemo(()=>ae(z,q,N,b,v,A,Z),[z,q,N,b,v,A,Z]),V=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:G(e.people,o,y,p,S,b,v),values:G(e.people,o,y,p,S,b,v)}),se=i.handleSubmit(()=>{F()&&m()},()=>{F(),console.warn("Edit Profile form error")}),F=()=>{const g=i.getValues();let r=!0;return g.userItems.forEach((f,x)=>{const{role:D,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const s=D.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(g,r)=>{const f=[],{userItems:x}=r,D=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(D!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(U=>Oe(U.selectedOption?.value)).filter(U=>U!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=_e(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),M(f)};w.useEffect(()=>{const g=i.watch((r,{name:f})=>{f!=null&&r!=null&&ne(f,r)});return()=>{g.unsubscribe()}});const oe=()=>{B(!0)},re={onOkClick:()=>{const g=e.person;E?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),J?.(e.person)},onCancelClick:()=>{B(!1)}},W=ce(e.person?.update),_=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{_==null&&W==="removeUsers"&&(B(!1),O?.())},[_,W]),t.jsxs(t.Fragment,{children:[X===!0?t.jsx(ue,{titleComponent:t.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:_==="removeUsers",isDisabled:_==="removeUsers",style:{background:V.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Le,{children:t.jsx(Ee,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:V.colors.grey4,style:{zIndex:4},onCloseClick:k,isTitleAlignLeft:j==="small"}),t.jsxs(Te,{"data-testid":L("edit-people-page-container"),windowSize:j,ref:te,children:[t.jsxs(Ue,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Be,{children:[t.jsx(Se,{children:e.person?.user?.firstName?t.jsxs(De,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ne,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(qe,{windowsize:j})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${Y}_form`,onSubmit:se,children:t.jsx(Pe,{control:i.control,sectionId:R,deleteConfirmationIndex:H,updateDeleteConfirmationIndex:K,mode:p,isZeniTenant:T,classList:y,managersList:o,controllersList:I,customerRoleOptions:S,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:E})})})]}),t.jsx(xe,{formId:`${Y}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:C.buttonWidth.value(j)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:C.buttonWidth.value(j)},shouldResetOnCancel:!1,onClick:k},separatorStyle:{marginRight:n.sp4}})]})},G=(e,o,y,I,p,T,k)=>{const O=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:I==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:I!=="zeni_only"?{userRole:{selectedRole:Ce(e[0]?.role),allRootRole:je(T,k)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:O,selectedOption:O.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,Te=l.div`
1
+ import{Q as ie,fR as ae,g as de,a9 as pe,aQ as ce,V as t,co as ue,ap as me,cp as ge,cq as fe,gO as he,cu as ye,o as n,bS as be,aP as L,ac as ve,aR as xe,y as P,F as $e,cA as we,fU as Re,fV as je,fW as Ce,b9 as Ie,p as Q,cZ as ke,u}from"./index-BhvUwV_v.js";import{a as w}from"./sentry-DgGQRl6g.js";import{n as l}from"./mui-DqYnCiYu.js";import{FB as Oe,bg as _e}from"./zeni-epic-state-WWg2r7iB.js";import{f as Pe}from"./AllUserItems-CLsMcXeg-B7yfRaza.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./LabeledUserSingleSelectWithSubtitlesField-i7qOybJ3-QdNWRUWG.js";import"./RoleWithToolTip-DvYf0VUz-DfyQTHhc.js";import"./LabeledZeniRolesDropDownField-BhNbXDjb-DgKv1slV.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]="a696a51d-512a-4141-9f26-02ded7cb9c79",e._sentryDebugIdIdentifier="sentry-dbid-a696a51d-512a-4141-9f26-02ded7cb9c79")}catch{}})();const C={containerPaddingTop:new P(u[3],u[3]),containerPaddingLeft:new P(u[3],u[6],u[6]),containerPaddingRight:new P(u[3],u[6],u[8]),buttonWidth:new P(85,85)},Y="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:I,mode:p,isZeniTenant:T,onCloseClick:k,onResetClick:O,onSaveClick:m,onDeleteUser:J,onPeopleLocalDataUpdated:M,analytics:E,isReimbursementDisabled:z,isZeniAccountsDisabled:q,isChargeCardDisabled:N,isTreasuryDisabled:Z,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const j=ie(),[X,B]=w.useState(!1),[H,K]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),S=w.useMemo(()=>ae(z,q,N,b,v,A,Z),[z,q,N,b,v,A,Z]),V=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:G(e.people,o,y,p,S,b,v),values:G(e.people,o,y,p,S,b,v)}),se=i.handleSubmit(()=>{F()&&m()},()=>{F(),console.warn("Edit Profile form error")}),F=()=>{const g=i.getValues();let r=!0;return g.userItems.forEach((f,x)=>{const{role:D,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const s=D.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(g,r)=>{const f=[],{userItems:x}=r,D=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(D!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(U=>Oe(U.selectedOption?.value)).filter(U=>U!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=_e(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),M(f)};w.useEffect(()=>{const g=i.watch((r,{name:f})=>{f!=null&&r!=null&&ne(f,r)});return()=>{g.unsubscribe()}});const oe=()=>{B(!0)},re={onOkClick:()=>{const g=e.person;E?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),J?.(e.person)},onCancelClick:()=>{B(!1)}},W=ce(e.person?.update),_=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{_==null&&W==="removeUsers"&&(B(!1),O?.())},[_,W]),t.jsxs(t.Fragment,{children:[X===!0?t.jsx(ue,{titleComponent:t.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:_==="removeUsers",isDisabled:_==="removeUsers",style:{background:V.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Le,{children:t.jsx(Ee,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:V.colors.grey4,style:{zIndex:4},onCloseClick:k,isTitleAlignLeft:j==="small"}),t.jsxs(Te,{"data-testid":L("edit-people-page-container"),windowSize:j,ref:te,children:[t.jsxs(Ue,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Be,{children:[t.jsx(Se,{children:e.person?.user?.firstName?t.jsxs(De,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ne,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(qe,{windowsize:j})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${Y}_form`,onSubmit:se,children:t.jsx(Pe,{control:i.control,sectionId:R,deleteConfirmationIndex:H,updateDeleteConfirmationIndex:K,mode:p,isZeniTenant:T,classList:y,managersList:o,controllersList:I,customerRoleOptions:S,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:E})})})]}),t.jsx(xe,{formId:`${Y}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:C.buttonWidth.value(j)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:C.buttonWidth.value(j)},shouldResetOnCancel:!1,onClick:k},separatorStyle:{marginRight:n.sp4}})]})},G=(e,o,y,I,p,T,k)=>{const O=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:I==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:I!=="zeni_only"?{userRole:{selectedRole:Ce(e[0]?.role),allRootRole:je(T,k)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:O,selectedOption:O.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,Te=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{aQ as li,g as ft,aw as wt,a9 as an,ay as Ii,aD as rn,Q as Re,gg as ao,gi as ro,gj as lo,V as t,gE as so,ac as ln,co as di,cp as sn,cq as dn,aP as H,o as i,y as d,bB as Ti,bo as co,dt as uo,gk as mo,gv as cn,gq as Di,aR as un,ao as mn,gr as po,gF as Ve,ez as Ke,f1 as ci,gG as Bt,F as fe,T as xt,gH as ho,p as j,x as pn,aq as ui,u as a,bx as go,gt as yo,cF as bo,eH as mi,gI as Mt,fg as Se,cJ as pi,fj as $e,cI as nt,ej as fo,ff as hn,b as Rt,cM as gn,cL as tt,er as Te,ai as hi,gJ as wo,fy as xo,cE as So,aV as ji,fs as $o,bw as vo,ba as yn,e as Co,ei as ko,b7 as Ft,gl as Io,bU as bn,a as gi,d as fn,c_ as wn,ch as Et,eU as To,b9 as Do,d2 as jo,fm as Oo,al as yi,r as Oi,bS as xn,b1 as Pi,cZ as Po,am as Lo,cQ as Sn,aN as Ro,gK as $n,gL as si,ga as Li,gM as At,cN as Ao,gf as zo,bJ as Bo,cY as Mo}from"./index-CbMlqZJL.js";import{a as S,S as kt}from"./sentry-CTKU7CLc.js";import{n}from"./mui-C_Pjuwl5.js";import{a as Fo}from"./liveblocks-D8QW-YrN.js";import{FI as Eo,bL as it,bP as vn,bo as Cn,bm as Ri,FJ as Ai,bh as bi}from"./zeni-epic-state-Cl3KIlic.js";import kn from"./InvoiceUploadSection-DEchJrtp-BeGmWBpT.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-BMRdFPtx-DAmcNOWB.js";import{S as Uo}from"./CurrencySelectField-DoUpgUNU-DxUj5N1k.js";import{e as _o}from"./BankAccountSection-1WOCLgt5-CMcEcJjX.js";import{W as Vo,A as Ho}from"./BankAccountWarningSection-Ddj7HexZ-BBFOC6FA.js";import{o as qo}from"./radio-default-CiSgisfh-DOAN6MGR.js";import"./core-mVc5WAnu.js";import"./lottie-CoVfqInY.js";import"./recharts-BGj_NTVO.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./AttachmentView-BreMzQ_m-ErkVTj3O.js";import"./uploadReceipts-DJRtId-4-Bx6imcs4.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]="7e24a91f-730b-470c-ae8e-304e88328620",e._sentryDebugIdIdentifier="sentry-dbid-7e24a91f-730b-470c-ae8e-304e88328620")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Ce}},dateFormat:Ko,common:Go}=fe.getLocalizedStrings(),Jo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const w=Re(),s=wt(),y=Mt(),$=`dashboard_${s.currentTenant?.companyId}`,P=ft(),{formState:{errors:I},getValues:L,trigger:q}=nt(),R=Go.strings.empty,T=L(Me(p,"distanceInMiles")),B=Bi.largeLabelWidth.value(w),te=L(Me(p,"class")),ne=r.find(z=>z.classId===te?.selectedOption),oe=Me(p,"class"),J=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||J)&&q(oe)},[te?.selectedOption,ne?.isDeleted,r,oe,q]);const K={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=z=>r.filter(ae=>ae.classId===z)[0]?.accountingClassNumber,Y=r.find(z=>z.classId===o.class),V={valueContainer:z=>({...z,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("transactionDate",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Sn,{isDisabled:m,label:{label:Ce.transactionDate,width:B},style:{paddingBottom:Bi.paddingBottom.valuePx(w),width:"auto"},dateField:{name:Me(p,"transactionDate"),placeholder:Ce.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Ko.visual.defaultInput,autoComplete:"off",maxDate:bi(),registerOptions:{required:!0,validate:z=>!!z}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:v?"disabled":void 0,style:{width:"auto"},label:{label:Ce.distanceInMiles,width:B},formattedTextField:{type:"number",name:Me(p,"distanceInMiles"),placeholder:Ce.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.amount`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("amount",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:"disabled",label:{label:Ce.amount,width:B},formattedTextField:{type:"number",name:Me(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:tt(Ce.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:T!=null&&f?.mileageUnitAmount!=null?`${c.currencySymbol}${f?.mileageUnitAmount} per mile x ${T}`:void 0})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.memo`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("memo",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(pi,{isDisabled:m,label:{label:Ce.memo,width:B},style:{width:"auto"},text:{type:"text",name:Me(p,"memo"),placeholder:tt(Ce.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:$n}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.class`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("class",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(si,{isLoading:!1,label:{label:Ce.department,width:B},additionalLabelInfo:ne?.isDeleted===!0&&Te(I,Me(p,"class"))?Ce.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Me(p,"class"),placeholder:tt(Ce.department),valueToId:z=>F(z),defaultValue:{selectedOption:Y?.classId,allOptions:Ke(k,[])},style:{width:"100%"},customStyleConfig:V,registerOptions:{required:!0,validate:z=>z?.selectedOption==null?!1:r.find(ae=>ae.classId===z?.selectedOption)?.isDeleted===!0?Ce.deletedClassError:!0}},style:{borderBottom:`1px solid ${P.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},It=n.div`
1
+ import{aQ as li,g as ft,aw as wt,a9 as an,ay as Ii,aD as rn,Q as Re,gg as ao,gi as ro,gj as lo,V as t,gE as so,ac as ln,co as di,cp as sn,cq as dn,aP as H,o as i,y as d,bB as Ti,bo as co,dt as uo,gk as mo,gv as cn,gq as Di,aR as un,ao as mn,gr as po,gF as Ve,ez as Ke,f1 as ci,gG as Bt,F as fe,T as xt,gH as ho,p as j,x as pn,aq as ui,u as a,bx as go,gt as yo,cF as bo,eH as mi,gI as Mt,fg as Se,cJ as pi,fj as $e,cI as nt,ej as fo,ff as hn,b as Rt,cM as gn,cL as tt,er as Te,ai as hi,gJ as wo,fy as xo,cE as So,aV as ji,fs as $o,bw as vo,ba as yn,e as Co,ei as ko,b7 as Ft,gl as Io,bU as bn,a as gi,d as fn,c_ as wn,ch as Et,eU as To,b9 as Do,d2 as jo,fm as Oo,al as yi,r as Oi,bS as xn,b1 as Pi,cZ as Po,am as Lo,cQ as Sn,aN as Ro,gK as $n,gL as si,ga as Li,gM as At,cN as Ao,gf as zo,bJ as Bo,cY as Mo}from"./index-BhvUwV_v.js";import{a as S,P as kt}from"./sentry-DgGQRl6g.js";import{n}from"./mui-DqYnCiYu.js";import{a as Fo}from"./liveblocks-BqcT5iTZ.js";import{FI as Eo,bL as it,bP as vn,bo as Cn,bm as Ri,FJ as Ai,bh as bi}from"./zeni-epic-state-WWg2r7iB.js";import kn from"./InvoiceUploadSection-rCCcSbbj-CFzlgKg9.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-DzB7KPXf-BwfCQ3vj.js";import{S as Uo}from"./CurrencySelectField-Dpcv7_rA-DStJFuSr.js";import{e as _o}from"./BankAccountSection-Cd_h3co--DCzIyA5D.js";import{W as Vo,A as Ho}from"./BankAccountWarningSection-Cz9fzMVv-CvaYS3T_.js";import{o as qo}from"./radio-default-CiSgisfh-C5tnzklf.js";import"./core-B9Znwqny.js";import"./lottie-oQfNS8l-.js";import"./recharts-D7E0WJGk.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./AttachmentView-BJfqJ9hP-BtlO-7I1.js";import"./uploadReceipts-DJRtId-4-xnWXJPvb.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]="2f5d69db-c75b-4bd7-85c6-d5f1531e7ab9",e._sentryDebugIdIdentifier="sentry-dbid-2f5d69db-c75b-4bd7-85c6-d5f1531e7ab9")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Ce}},dateFormat:Ko,common:Go}=fe.getLocalizedStrings(),Jo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const w=Re(),s=wt(),y=Mt(),$=`dashboard_${s.currentTenant?.companyId}`,P=ft(),{formState:{errors:I},getValues:L,trigger:q}=nt(),R=Go.strings.empty,T=L(Me(p,"distanceInMiles")),B=Bi.largeLabelWidth.value(w),te=L(Me(p,"class")),ne=r.find(z=>z.classId===te?.selectedOption),oe=Me(p,"class"),J=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||J)&&q(oe)},[te?.selectedOption,ne?.isDeleted,r,oe,q]);const K={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=z=>r.filter(ae=>ae.classId===z)[0]?.accountingClassNumber,Y=r.find(z=>z.classId===o.class),V={valueContainer:z=>({...z,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("transactionDate",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Sn,{isDisabled:m,label:{label:Ce.transactionDate,width:B},style:{paddingBottom:Bi.paddingBottom.valuePx(w),width:"auto"},dateField:{name:Me(p,"transactionDate"),placeholder:Ce.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Ko.visual.defaultInput,autoComplete:"off",maxDate:bi(),registerOptions:{required:!0,validate:z=>!!z}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:v?"disabled":void 0,style:{width:"auto"},label:{label:Ce.distanceInMiles,width:B},formattedTextField:{type:"number",name:Me(p,"distanceInMiles"),placeholder:Ce.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.amount`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("amount",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:"disabled",label:{label:Ce.amount,width:B},formattedTextField:{type:"number",name:Me(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:tt(Ce.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:T!=null&&f?.mileageUnitAmount!=null?`${c.currencySymbol}${f?.mileageUnitAmount} per mile x ${T}`:void 0})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.memo`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("memo",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(pi,{isDisabled:m,label:{label:Ce.memo,width:B},style:{width:"auto"},text:{type:"text",name:Me(p,"memo"),placeholder:tt(Ce.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:$n}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.class`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("class",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(si,{isLoading:!1,label:{label:Ce.department,width:B},additionalLabelInfo:ne?.isDeleted===!0&&Te(I,Me(p,"class"))?Ce.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Me(p,"class"),placeholder:tt(Ce.department),valueToId:z=>F(z),defaultValue:{selectedOption:Y?.classId,allOptions:Ke(k,[])},style:{width:"100%"},customStyleConfig:V,registerOptions:{required:!0,validate:z=>z?.selectedOption==null?!1:r.find(ae=>ae.classId===z?.selectedOption)?.isDeleted===!0?Ce.deletedClassError:!0}},style:{borderBottom:`1px solid ${P.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},It=n.div`
2
2
  display: flex;
3
3
  flex: 1;
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{g as b,F as T,aV as x,V as i,ax as v,o,G as p}from"./index-CbMlqZJL.js";import{n as a}from"./mui-C_Pjuwl5.js";import{R as C}from"./TrendWithTransactions-BhIw1vzx-DGilF8Kv.js";import"./sentry-CTKU7CLc.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./zeni-epic-state-Cl3KIlic.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./TrendChart-DGkb9XC6-BiTtDB25.js";import"./chartTypes-CiiHHtlc-BceiZcWQ.js";import"./toCOABalancesWithID-RFiSMP1Z-dZgyfmm-.js";import"./toChartData-DShY1WZ8-BtWP9JGp.js";import"./NoDataChart-Bwc_xftR-D-qgcUFX.js";import"./InsightsSection-iq6BFe-O-BnHn19Y4.js";import"./NavigationDots-DgfBVlG5-DqhfZvwQ.js";import"./TransactionList-CKgtf7lj-CfB35YgD.js";import"./BoxItem-CjZDlBaw-BKi5-cXg.js";import"./commonDimensions-B94VpAp0-CFWStpHz.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]="31829ca3-b087-4c98-9304-d585b50a7739",t._sentryDebugIdIdentifier="sentry-dbid-31829ca3-b087-4c98-9304-d585b50a7739")}catch{}})();const w=a.div`
1
+ import{g as b,F as T,aV as x,V as i,ax as v,o,G as p}from"./index-BhvUwV_v.js";import{n as a}from"./mui-DqYnCiYu.js";import{R as C}from"./TrendWithTransactions-zZUv_Qrs-BElxtx49.js";import"./sentry-DgGQRl6g.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./TrendChart-dVd4QdGQ-CLKuTzb2.js";import"./chartTypes-DjzTOuyH-BFNN0c4F.js";import"./toCOABalancesWithID-CjVmQxAs-8r-ogQXf.js";import"./toChartData-BFuIgA2L-C4IkmCYG.js";import"./NoDataChart-qG0jmc8Z-Dctec7eR.js";import"./InsightsSection-CwyGEE7C-BgS40gth.js";import"./NavigationDots-BPsFQiss-Dqh0y0c_.js";import"./TransactionList-CSfzB0gM-Dw6vqliW.js";import"./BoxItem-C-LLQ7NS-CyKsGaF0.js";import"./commonDimensions-CtIrih5r-CfslRtQI.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]="074ba9c1-4f2b-4575-89a3-434c9ccddb88",t._sentryDebugIdIdentifier="sentry-dbid-074ba9c1-4f2b-4575-89a3-434c9ccddb88")}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;
@@ -15,4 +15,4 @@ import{g as b,F as T,aV as x,V as i,ax as v,o,G as p}from"./index-CbMlqZJL.js";i
15
15
  top: ${o.sp0};
16
16
  `,D=a.div`
17
17
  flex: 1 1 auto;
18
- `;function J({firstMonthOfFY:t,selectedEntity:e,trendWithTransactionsReport:r,autoCompleteData:l,autoCompleteActions:c,analytics:s,onTransactionItemClick:m,onTrendSelectedPeriodChange:f}){const u=b(),{dateFormat:{analytics:y}}=T.getLocalizedStrings(),g=new x(u.colors.graphColor12),h=(d,n)=>{d==="Chart"&&n!=null&&s?.trackSpendIncomeTrend(e.type==="vendor"?p.Event.spendTrend:p.Event.incomeTrend,"Search",e.type,e.name,n?.addTimePeriod.startDate.format(y.MMMYYFormat)),d==="TransactionListLoadMore"&&s?.trackTransactionList(void 0,void 0,"Search",void 0,void 0,!0),f?.(n)};return i.jsxs(w,{children:[i.jsx(k,{children:i.jsx(v,{viewType:"entity_search",searchAutoComplete:{autoCompleteData:l,autoCompleteActions:c},source:"EntityDetailPage"})}),e!=null&&r!=null&&i.jsx(D,{children:i.jsx(C,{firstMonthOfFY:t,trendWithTransactionsReport:r,isDetailPage:!1,graphColor:g,page:"EntityDetailPage",onTransactionItemClick:m,onTimePeriodChange:h})})]})}export{J as default};
18
+ `;function J({firstMonthOfFY:t,selectedEntity:e,trendWithTransactionsReport:r,autoCompleteData:c,autoCompleteActions:l,analytics:s,onTransactionItemClick:m,onTrendSelectedPeriodChange:f}){const u=b(),{dateFormat:{analytics:y}}=T.getLocalizedStrings(),g=new x(u.colors.graphColor12),h=(d,n)=>{d==="Chart"&&n!=null&&s?.trackSpendIncomeTrend(e.type==="vendor"?p.Event.spendTrend:p.Event.incomeTrend,"Search",e.type,e.name,n?.addTimePeriod.startDate.format(y.MMMYYFormat)),d==="TransactionListLoadMore"&&s?.trackTransactionList(void 0,void 0,"Search",void 0,void 0,!0),f?.(n)};return i.jsxs(w,{children:[i.jsx(k,{children:i.jsx(v,{viewType:"entity_search",searchAutoComplete:{autoCompleteData:c,autoCompleteActions:l},source:"EntityDetailPage"})}),e!=null&&r!=null&&i.jsx(D,{children:i.jsx(C,{firstMonthOfFY:t,trendWithTransactionsReport:r,isDetailPage:!1,graphColor:g,page:"EntityDetailPage",onTransactionItemClick:m,onTimePeriodChange:h})})]})}export{J as default};