@zeniai/web-cockpit-ui 1.15.29-qa → 1.15.30-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 (280) hide show
  1. package/dist/assets/{ACHDetailsPage-D0jUmxS6-BsyksSdq.js → ACHDetailsPage-BR3rG--e-D2_LFn30.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DQyvDXPN-BhEY3MME.js → AIPerformancePage-DncCC-Dz-D3G6sKpR.js} +23 -23
  3. package/dist/assets/AccountInfoPage-CD5N14l8-POhlTbPm.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-B7DASXbm-CfgZBo7w.js → AccountInfoPageContent-D-dwMWkI-Dbq4xdEd.js} +7 -7
  5. package/dist/assets/{AccountLockedInfoModal-Cr7_xUUY-BunT5t6u.js → AccountLockedInfoModal-Bu3jEa0r-DRCGU_-r.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CrmjKiV7-CCewa5Cq.js → AccountReconDetailsDrawerPage-BL7C23h8-C0V-huzv.js} +1 -1
  7. package/dist/assets/{AccountRow-C3tJgM2h-D6bVgxu0.js → AccountRow-B5Gqqqtn-B2ab5e7e.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-DhZiDNjz-CUXP-w9w.js → AccountsPromoCardStack-BqyCa3EH-C6VYK7eB.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-D0veIubx-DE4ZTuXm.js → AddAddressForCardDrawer-BwmafnJT-Ba-xRLW9.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DC8BGIUj-C43rBeCR.js → AddToWalletPage-tRVFR3Rw-CIboPJdI.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-tUsuhbO0-bnYXqPGM.js → AgingReportsPage-BO9qovKL-m3dKXsEf.js} +1 -1
  12. package/dist/assets/{AllUserItems-CscMl1JD-C7e2pIGq.js → AllUserItems-C5uzbqu0-OYaG4ozf.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-CjpIU0Dh-DVxjWGcS.js → ApAgingDetailPage-Dw4d844_-DnXvQrmX.js} +2 -2
  14. package/dist/assets/{AppBasePage-DMwbBUJi-CwfgOYvf.js → AppBasePage-BMHvSY21-DiAzqDoX.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-CUw-1lGW-Bl_56_R0.js → AppDrawerContent-C5KqoZ6_-DSRTCara.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DEySZg2e-vnOjmRfC.js → ApprovalRulesSettingsPage-nEW4hufu-LHTAH2YF.js} +1 -1
  17. package/dist/assets/{ArAgingChart-B99-xh0r-CE8d9vMX.js → ArAgingChart-2eGhMrCs-DnvN-laJ.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BMs-sIjj-BlvHfa9N.js → ArAgingDetailPage-CE_nDD48-CIv1_heH.js} +5 -5
  19. package/dist/assets/{AttachmentView-D8FFMCan-HliG1O2K.js → AttachmentView-DdX3DEyN-D4xdrOUi.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DwcbHNr4-BzUR7jwr.js → BankAccountSection-Db8KCDjh-7fAQc6F_.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CKlrNRtW-BYb315Ci.js → BankAccountWarningSection-DLKyK-pN-WvpV5xZt.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-CnQX_eIy-HH3R7Ajn.js → BankConnectionsSettingsPage-BcMQdf1D-C4cSmkMm.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DoiN5bdp-DbLCl74c.js → BillDetailPage-BOoE3r9n-C_-O6tkI.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-C9rO8GVf-B2zmu5XN.js → BillPayApprovalRuleDetailPage-C-M8i0tF-ErR7MbAL.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DUoGmtQA--vbDuy75.js → BillPayApprovalRulesPage-cqq9M7pi-CM1gLpvJ.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-pb2Uoote-B5BN33a7.js → BillPayPromoPage-CHu-sh9I-b6nXHlbY.js} +5 -5
  27. package/dist/assets/{BillPaySetUpPage-CCJ-y0-e-DCM3LQPY.js → BillPaySetUpPage-ICbZgQZR-DcttrcBB.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-BtZx7XsQ-C47DMEKk.js → BillingSettingsPage-DYdJ7J5w-nKMt_tqW.js} +8 -8
  29. package/dist/assets/{BillsBulkReviewDrawerPage-ihLtPXjK-ypmC5555.js → BillsBulkReviewDrawerPage-Cr-JmUCA-LZ1I5uJ7.js} +1 -1
  30. package/dist/assets/BoxItem-ChtGcSH1-BjQod1Sp.js +53 -0
  31. package/dist/assets/{BusinessVerificationPage-B5N2bKw0-_SqX-bfV.js → BusinessVerificationPage-CyDHfWqO-s-eVbnix.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-CzY1q13C-CizrzI0W.js → CardNumberSubText-Dxhe-tx2-BQPvyrmB.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BfbarB85-BdOeoCBo.js → CashbackDetailPage-BTR9tfZP-DZBth57E.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-ZbiEFEmP-hQXgQLFI.js → ChargeCardDetailPage-D_dF0Nv_-Dp_tBUAA.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-TZjLs-P6-eI9Hf6Ml.js → ChargeCardListPage-wA3_NOPD-DpPgkdeF.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-8xOxHHdR-CR-3V18C.js → ChargeCardListTable-8Bgd9bzh-yIMe5GBQ.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-C59HJbX_-3d2oett1.js → ChargeCardPaymentHistoryPage-mcW9jr2k-CIwmXpSr.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-BStN0hwL-D9LQIDC6.js → ChargeCardPromoPage-BPyHy6jq-EG0Y0jIo.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-BV9CZbZA-BPZP5yda.js → ChargeCardSetupPage-BxAJ2HVU-UIApVhks.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-BM0-VzSs-mRSCcWqp.js → ChargeCardStatementsPage-CZzDSv5y-C_fNd-Va.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-Ck_FJENk-hl5iVjGB.js → CheckDepositDrawerPage-iPcp79Wu-DjNqRhvh.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-Bp12uWDe-DCcqYieC.js → CollapsableReportTable-Ck29YUyD-C4PUByzW.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BpXbh4hd-UFoGVIgI.js → CompanyOfficerDetailsSection-CEpMwx3h-D1MF6UPf.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-DdLCLtke-BGOpz-dk.js → CompanyPassportCard-CCfVNfP0-D2OWbLG1.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-C_YEVe_6-BiGPLpzo.js → CompanyPassportPage-S00SGN0f-DChjXEwN.js} +1 -1
  46. package/dist/assets/{CompleteProfile-IidaBize-b749vlPR.js → CompleteProfile-C0Qk6P6p-B7DE2SVz.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-BBQSP4O0-BqtJoXRE.js → ConfettiBurst-BFSc4yf1-Bb3-1CUU.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-B9GW0-ZB.js → ConstrainedInnerElement-BeIpAPjB-XcmcSCP3.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-DRIcvWIi-CogPKExQ.js → CreateOrEditVendorPage-CmnpkgTu-B-wx5zV_.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CP16DSkY-DBQVPHsA.js → CreditCardPaymentDrawerPage-wPiHCF7z-Dzpo3z2e.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-Dh8_yxO9-DgfCVwca.js → CurrencySelectField-CxIflyKX-BGGnxKIK.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-CruwsOaY-bMYxmKcT.js → CustomerOnboardingActivationPage-CE5B6BET-BPLeksRp.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-CyY14sjC-U3ET6sDq.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D5vI0fK5-CeoPYW8S.js → CustomerOnboardingDetailPageSkeleton--jL1SUOo-DgoL19Wk.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CeP1FYaR-CyeUt-4y.js → CustomerOnboardingNoStepsPage-DtAEP0LR-BBA3-H-1.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-POOYVKHb-C2HlGYiA.js → CustomerOnboardingPage-8fLLsJWV-Cl7RVN5-.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CsGY-9DW-DSONUNKZ.js → CustomerOnboardingProductSuitePage-IUm6QKOQ-BgC9YDnn.js} +1 -1
  58. package/dist/assets/{Dashboard-DVGSm94S-ek6XXFNQ.js → Dashboard-CeBbTIiJ-BKwU5QeJ.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-BTH4sqly-TVndyRux.js → DashboardReportPage-DVIwO5-L-pH5FWjLZ.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-P4dMLhdR-BWSiAIFD.js → DashboardSidebarBackgroundAnimation-CntzllmW-BTAOBj42.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-CdGb-mdn-cQFddvm2.js → DepositAccTransactionItem-B7ErTe-9-ClHyxdVn.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-D_4GDpPX-na9ZYz4u.js → DepositAccTransactionListPage-Czm5uOxb-BGyjwBM2.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-CyR8VR17-DugxqkzP.js → DomesticWireDetailsPage-B3Cib987-CARF9i1d.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-XjCXyoWD-DF9S8c0i.js → DownloadOverlay-CS_4lZDV-DTBvhOHI.js} +1 -1
  65. package/dist/assets/{DrawerPage-BrFA4rZ6-UJWihtY9.js → DrawerPage-CrCkJ_bE-fj3woT0N.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-C7oQnEDx-BCrgtoBd.js → EditPeoplePage-CbH2FQwr-Dc9u9Y3N.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-BKCA_tOp-Dqrmnfhn.js → EditReimbursementDetailPage-DisSqLai-DnOSaIlo.js} +1 -1
  68. package/dist/assets/EntityDetailPage-CPfVH0Qx-DTuhKWD_.js +18 -0
  69. package/dist/assets/{EntitySummarySection-jiCl0IQB-W-pLI3jz.js → EntitySummarySection-CmVlq7pY-umvtllpK.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-D5FqhZ4C-0g3pkGW7.js → ExpenseAutomationOverviewPage-DuWbC5EZ-DbINW0ra.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-BxePbH-d-vBewGYnV.js → ExpenseAutomationPage-DBW9Urqw-BLqr1_km.js} +8 -8
  72. package/dist/assets/{ExpressPayPage-Ce1ICmZX-CRiREa0_.js → ExpressPayPage-DZHOM942-BLmAB792.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-BPy4OV1_-DF2KgXAr.js → FeaturePreviewPage-DHomR4Oi-DzHHPfTu.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-Din7sNsE-Bka2bXBE.js → FollowStepsSection-C8Zv_X5E-BSPaXUZH.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-DdBS6gtg-Da3bbg93.js → GlobalReviewListPage-BFR_WZdE-jG6gei6c.js} +1 -1
  76. package/dist/assets/{InformationCardStack-D2m2hpoN-D_cEWCU-.js → InformationCardStack-C39QsHiY-B_SVxEcf.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-CwPV_ZFA-BZGSOjt3.js → InsightsCardStack-Bi2tusdE-DhrD945r.js} +4 -4
  78. package/dist/assets/{InsightsSection-C99GeNPc-ZyHAgCre.js → InsightsSection-CKYv2Mnk-CMDaS26i.js} +2 -2
  79. package/dist/assets/{IntegrationsSettingsPage-Cj3wec0l-D_cXiP1p.js → IntegrationsSettingsPage-Bj9lE3dy-C8DRNLeo.js} +1 -1
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-BUMPAKcc-BGwcC4Fv.js → InternationalWireSwiftDetailsPage-HPxS_eP2-Bi_9u824.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-sMa3CFzS-BgO_L4E_.js → InternationalWireVerificationPage-0DjZSpXZ-BFgqlc0H.js} +1 -1
  82. package/dist/assets/{InviteFormPage-BllyKSzh-CbPDkxQX.js → InviteFormPage-DyUgmNt6-yyWn8Yk_.js} +1 -1
  83. package/dist/assets/{InvitePageListView-C3RyUNhD-DTm4mduT.js → InvitePageListView-PbTTJA74-w58xk_rt.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-CKyzJq5O-D03raYQC.js → InvitePeoplePage-CD1AM3Js-2Vxumr-a.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-Cy_eY3C3-BDj5n3WW.js → InvoiceUploadSection-DPN2hpHj-BXu1QXvI.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-JGrU6BE3-BIhGV4kp.js → IssueChargeCardPage-WeFAdE9k-BxW4fu66.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-BI2stF8S-CaJDqmpl.js → LabeledAddressValue-BEiVNwJh-6EnDaIvC.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-BeN4saF8-cvVvhiNT.js → LabeledAddressValueField-CeyT4xDd-BvfbCZea.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-1cRVmzfC-Con0KtwH.js → LabeledControlledCheckBoxField-9wqNy7sL-BEJkWulK.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-Dq1kA0bH-oPhoIJP3.js → LabeledCountryMultiSelectField-S16_1kXP-UlJPnrtq.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CA4tIjc4-X_2W3wq_.js → LabeledCreatableSingleSelectField-B-KMzhH--CvW70JID.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-BwDcnGXz-DSgbEu-e.js → LabeledDocumentField-9m7Nhuth-CkOtgSAA.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-BiX_zDWp-CIPHFmOc.js → LabeledDropDownFormattedTextField-B_jJYbeK-PbQrO6eI.js} +1 -1
  94. package/dist/assets/{LabeledText-DBGBNWrC-DTS4NY-4.js → LabeledText-B1BxC4mo-CDiqUP7l.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-c48OKP3k-Y_LbewjK.js → LabeledUserSingleSelectWithSubtitlesField-D0OTplnZ-ClcTuuYx.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-BledLq8r-BaHojzPa.js → LabeledZeniRolesDropDownField-DruyoV6I-gDHLkFnU.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-T3YbAuGo-DBebcBZG.js → LinkJETransactionPage-_GJ-x5FQ-BvKwuUsJ.js} +9 -9
  98. package/dist/assets/{LockCardPage-CCbSDbLg-ZpT_TeWc.js → LockCardPage-BiembyjL-BQgtTNap.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-Dcu_nflD-D0ffoSvY.js → LowBalancePopup-DF0W3ZsB-DXIPCFb8.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-p0Nwa4g8-DTvViT4t.js +1 -0
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-Ci1FYKWc-DvcIGyVo.js → MagicLinkDomesticWireDetailsPage-B_wnHSrq-Cz4K_Hkr.js} +1 -1
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-BohPD43K-CrX6QPLC.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-Cj9eBkUy-B-MUloz8.js → MagicLinkSuccessPage-RJUcSgy8-CnQ9391t.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-DYgXcZiu-oQ6QmgCO.js → MagicLinkTitleSection-Dlvzbcxc-07YJ3nz_.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-BT5P_beR-Chn0pdYc.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CA6Wlg9P-sBjfoTFh.js → MyBankConnectionsSettingsPage-BSErzm4Y-BPCz_uBa.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-vuCK_pay-seLRkwA2.js → MyPendingActivationChargeCardListPage-CC02lTyz-CeD7DjCL.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-ivKa4qXq-DtHk96aF.js → MyProfileSettingsPage-BM5j8vuZ-D6xmAoOb.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-CaEVqLYu-Mt6iac90.js → NavBarWithPicker-BsrNGnWt-CVqlkT83.js} +1 -1
  110. package/dist/assets/{NavigationArrow-CE75i93Q-lI7yTcn_.js → NavigationArrow-BXIVh8h9-DmlDNFK6.js} +1 -1
  111. package/dist/assets/{NavigationDots-DSmdsJan-D7Dn9zqB.js → NavigationDots-CqAMUVd8-DlLV84YV.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-D1t1Omz1-033pVM92.js → NewGlobalMerchantPage-BJ5efhOX-45v-8VWf.js} +1 -1
  113. package/dist/assets/{NoDataChart-DWJgpsRV-GxCWUXak.js → NoDataChart-YIESVuNz-DxR56cWr.js} +1 -1
  114. package/dist/assets/{NoDataTable-CfVHlNP8-Cjys4hCI.js → NoDataTable-CHeZXDKw-DlmRPcbA.js} +1 -1
  115. package/dist/assets/{NotFoundPage-BRQ7JAuQ-_Kq4eHg7.js → NotFoundPage-DsvOs3ie-CxEfyKrP.js} +6 -6
  116. package/dist/assets/{NotificationSettingsPage-BwEA5Wca-BAxN5Vtu.js → NotificationSettingsPage-DVfgPnm5-C-9LCnBN.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-CKAbHHpg-Ba-UUMpa.js → NotificationsListConfig-DpYbR8ec-BZk6IMbB.js} +1 -1
  118. package/dist/assets/{NotificationsPage-CEh-UBpl-DprBm1Gh.js → NotificationsPage-DvWc70qe-CLGgDCba.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-CTee-X2c-BLCgbLI6.js → OpExByVendorPage-H76M8qaf-DmH_-lZf.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-fzlmX50I.js → OverlayContainerPage-D4QU0p4o-COyWocbB.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-Bx5J8Jkw-DGqUboJd.js → PandLWithForecastPage-sw9N690f-DE9ix_Dt.js} +2 -2
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-vh9LcTSB-B2K7pIhZ.js → PaymentAccountSetupBillingAddressSection-D_rfYltd-BrO8Jg79.js} +1 -1
  123. package/dist/assets/{PeoplePage-B7dwoi8R-Cc3PgS1X.js → PeoplePage-D0ePO3d9-CxNhgJ1D.js} +1 -1
  124. package/dist/assets/{Preview-TD25geE8.js → Preview-CTKmuGb_.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-CpPUyzF7-MkqtUAeu.js → ProductsCarousel-BcFZaXQq-D-hD1KoW.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-Dl_042jf-gFv3X1j8.js → PromoBaseCards-BglIl0tN-CTFaf0_7.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-CuGzMWxh-C314aSf5.js → QBOConnectionDialog-D9BGyyB3-D-hyd18h.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-PANAGPOA-CNiEupWo.js → QBOSetupSection-C6L-OXzd-Cy1MLcyD.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BN9aWFrw-7DCi0li7.js → ReimbursementApprovalRuleDetailPage-tKu15I_o-BXX_iX2c.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-C8EnDVZP-rOVUZi1n.js → ReimbursementApprovalRulesPage-r2WRV6kv-kJbuC_Ut.js} +1 -1
  131. package/dist/assets/{ReimbursementDetailPage-DsD9fJEP-CfnkzNmN.js → ReimbursementDetailPage-jJxS8CSo-DCuxr8dd.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-C6ZhcnHL-G41Su_DX.js → ReimbursementPromoPage-CrKB_OxS-Ba_Ei159.js} +1 -1
  133. package/dist/assets/{ReimbursementSetUpPage-Bpf71REk-CbPDM4Br.js → ReimbursementSetUpPage-COWnzuHW-C1onmBtq.js} +4 -4
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DBzyyzc5-CbZb1Ll3.js → ReimbursementsBulkReviewDrawerPage-jpGSx2Pg-BNjvse6f.js} +1 -1
  135. package/dist/assets/{ReloadCard-D8vHHU5l-DQ03UepM.js → ReloadCard-Dl1P55OC-PqG6EjQo.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-BGUS_EOK-BBwBgVZu.js → ReportTableViewSelector-CPU5qvuC-D9eIuNWz.js} +1 -1
  137. package/dist/assets/{ReportsPage-7AfDaHtI-TwXiOtk9.js → ReportsPage-FhO_9i3v-BqM0631G.js} +5 -5
  138. package/dist/assets/{RevenueChart-BwmL3D54-622TMw2i.js → RevenueChart-Bju5kT8K-CLZ32HGB.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-k4QAybX2-RBQhjfai.js → ReviewDetailsPage-CaEI-TGi-Bc73PbER.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-DueknjXC-B12qd42l.js → ReviewOverlay-l69rpwr7-Dr7rxtnO.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-JIflStMs-B6__Ogz6.js → RoleWithToolTip-C4vCwcT8-C6dR3RYf.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DKD4n8OH-CsnuQ1cV.js → ScheduleDetailsFixedAssetsPage-BRsO23kh-dDbnlnbP.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-B3c9vFiq-lIq_po0z.js → ScheduleDetailsPage-pKJSKheu-CETheSQx.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-dniltDqh-prEj6nJM.js → ScheduleSequenceTable-CeHDyMVV-BA7tEH_s.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-DmS9mnp_.js → ScreenRoutes-D50KKBnw.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-dQy1ylAS-DxTSmKH2.js → SetUpAccountSection-rRjmVlU7-VDyxWMzU.js} +1 -1
  147. package/dist/assets/{SignIn-CfgXHpxt-Ux-9VU3Q.js → SignIn-zX3S7vuf-B6rD6GnF.js} +9 -9
  148. package/dist/assets/{SignInScreen-9QoqsnNl.js → SignInScreen-BiRGIzoF.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-D7buHVht-5VhObY49.js → SpendManagementListViewPage-B452IhbL-TWCl13gF.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-DdFSZjQ0-DRMhBpB_.js → SpendManagementPerTabPage-BDYtqf0E-ik6oQrCv.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-CKaS7I-j-I0086kUa.js → SpendManagementSection-BBotB3Xj-DXZ-WUxC.js} +1 -1
  152. package/dist/assets/{StatementItem-D6RxD4P2-DV_o8MKk.js → StatementItem-hqxspUme-BUYqqJPu.js} +2 -2
  153. package/dist/assets/StatementsPage-CL35o_9R-TfMK-pd1.js +58 -0
  154. package/dist/assets/{StatusSwitcher-B0FtlfFf-D4mXIaDE.js → StatusSwitcher-LSy5NlOs-Cp5AKxg-.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-DmV2fMPv-DDcdxW1V.js → SubTabSwitcher-BB80NFhP-2jy_qhgj.js} +1 -1
  156. package/dist/assets/SummaryCard-wJqTtNFt-BsTr0JdI.js +1 -0
  157. package/dist/assets/{TaskManagementPage-DFzE-ZKA-BpjxUvFO.js → TaskManagementPage-CnB395ci-B2Pevaa4.js} +1 -1
  158. package/dist/assets/{TimeRangeSwitcher-DTNA8U_P-vCMNkMQY.js → TimeRangeSwitcher-B1jJf76U-DtYpu1mK.js} +11 -11
  159. package/dist/assets/{TimeframeSwitcher-BxrcpeVc-B6217ekz.js → TimeframeSwitcher-CTyaOUPX-CUY8xGFr.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-Bey7Ur6y-C7DSjGao.js → TimeframeSwitcherWithToggle-D48PqfUX-BOxnTPru.js} +4 -4
  161. package/dist/assets/{TopExCard-DusKBxd3-BASMRY9t.js → TopExCard-D-0SNihe-ZpE9qsPN.js} +1 -1
  162. package/dist/assets/{TopExDetailPage-CGmklvDK-DLx-qUkZ.js → TopExDetailPage-2Wo3VpBY-DOpuhpkX.js} +5 -5
  163. package/dist/assets/{TransactionActivityLogPage-JYq6KI76-CL71JDwh.js → TransactionActivityLogPage-Bh3D2NmZ-DXQUHRmX.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-BXt0iZ7l-BNiwNsQy.js → TransactionDetailPage-NZEjiM1T-BGAbWz8k.js} +1 -1
  165. package/dist/assets/{TransactionList-DP661oJz-BFg5qxvf.js → TransactionList-DUgCrZWV-BsOtXGXL.js} +7 -7
  166. package/dist/assets/{TransactionListBig-WJlzcWYP-CCdcKryl.js → TransactionListBig-BXR8xSqt-DS-QLlyN.js} +1 -1
  167. package/dist/assets/{TransactionListPage-D0-fRME1-5tnjhioB.js → TransactionListPage-BhY1YX8v-D8gtIhpi.js} +2 -2
  168. package/dist/assets/{TransactionVendorDetailPage-jvafc4cV-CXkzsZol.js → TransactionVendorDetailPage-D0ZIWPbx-BQMZxgAV.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-Djud_Goy-BvhVsqjd.js → TransferDrawerPage-BP4KhD5c-DNhK3jLa.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-BxuNNp2Z-Bg2AnpcA.js → TreasuryOverviewPage-CrYY5MJP-CSAwDWYp.js} +1 -1
  171. package/dist/assets/{TreasuryPromoPage-CYRA-PZW-Dwp-Kcgx.js → TreasuryPromoPage-DZ4Kyqzq-C0Hayxbd.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-BDD7oQaj-5XBglvwW.js → TreasuryStatementsPage-BaId882i-TGXLFLOt.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-BdEhgdSA-Bgh6AcWi.js → TreasuryTaxLetterPage-BD36dset-CgUwGPhz.js} +1 -1
  174. package/dist/assets/{TrendChart-CMXEv68i-DC000tUk.js → TrendChart-CS2cE4wE-BAjN56AW.js} +2 -2
  175. package/dist/assets/{TrendWithTransactions-zXEGbsVb-DgsT5KlM.js → TrendWithTransactions-BNti0lYr-CupF-ouh.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-BPDK7owI-DX8Fbg2v.js → UncategorizedAccountsMappingPage-BsRepV5l-CqKwtcl-.js} +5 -5
  177. package/dist/assets/{UnitIntegrationPage-D_F0oMUu-kwCn2LZu.js → UnitIntegrationPage-DqzH4Opa-DVf3e9Kc.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-DFQFVIWx-DCm6gjHR.js → UploadAdditionalDocumentOverlay-BIzKt99W-DhZCGDG3.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-DsUXjTAV-B3GXIcPW.js → Vendor2FAPopup-BzQXTs0l-BcKh-GwF.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-D1DvwT9e-H_zR5eA1.js +1 -0
  181. package/dist/assets/{VendorDetailPage-v53y8sON-BoOuCnR4.js → VendorDetailPage-C9YSL-3_-DZGykXKE.js} +1 -1
  182. package/dist/assets/VendorDomesticWireDetailsPage-CqnTEv1M-BPuNMFYE.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-Dor-pZOp-r3SNn4rM.js → VendorFiling1099EditablePage-CmnR7Dwc-DgLszr9z.js} +32 -32
  184. package/dist/assets/{VendorFirstReviewPage-Cn7WNLEm-EZFrIVYn.js → VendorFirstReviewPage-CAjuo6H2-DZOfU9yk.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-dNFkO-SJ-Bgkn6ewA.js → VendorInternationalWireDetailsPage-Ca1voldE-HFASmH_V.js} +1 -1
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-B17rmnsI-xxPWVLYY.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-RJt3aILM-DJgMK8t5.js → VendorsAccountsSection-BY-jWDwa-DAUUORK8.js} +1 -1
  188. package/dist/assets/{VerifyDevice-mDoeg6Dk-RhtaLyWM.js → VerifyDevice-DSN3CxFh-Bi-kGmEN.js} +1 -1
  189. package/dist/assets/{VideoPlayer-BcrYqHHj-DfgUgeFg.js → VideoPlayer-BzBvO4D1-DXw1tjxz.js} +2 -2
  190. package/dist/assets/{VideoPopup-DdpEDBAh-C7IpQ23i.js → VideoPopup-BB6qYshg-Jl0GqeqK.js} +3 -3
  191. package/dist/assets/{WarningsDrawerPage-BcYmTO5U-CyrcjeVv.js → WarningsDrawerPage-B4NIhdau-CF-G0BuB.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-DVD5D6lb-utVeckgq.js → ZeniAccountDetailPage-CbMnZZXn-CK0OqnqL.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-BwMBqn8d-Ctj-VdUr.js → ZeniAccountListViewPage-DuuiC_LT-D_lNPUTn.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-Cgnw6bfi-DDuNBemh.js → ZeniAccountNavBarPieces-CLNviNEx-Ct9cJGJf.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-huShnIqL-DVajoJsH.js → ZeniAccountPromoPage-Bce5rHc6-vVu4g89P.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-DN9UOt3e-Bmfndrcm.js → ZeniAccountSetupPage-Cwr7kLE1-CoBt9y0X.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-BgPtS8Cn-Dz6vwF5E.js → ZeniCopyright-CPV8cCJj-JmJFcE0S.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-BUw419PL-Drg5KxV4.js → ZeniTransferAmountSlider-CSJnweYQ-CLfwGJf8.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-BY1g6LWR.js → add-to-wallet-DgdBD8_G-Bh5GmIs8.js} +1 -1
  200. package/dist/assets/{analytics-deCUYv6O.js → analytics-C7qRceeD.js} +1 -1
  201. package/dist/assets/{analyticsHelper-BuvUCPRb-Dhr-3cLH.js → analyticsHelper-CeIe3crh-ruFTPZIn.js} +1 -1
  202. package/dist/assets/{analyticsHelper-B0HBcUOS.js → analyticsHelper-DdyBOS3c.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-l8vOaMtF.js → arrow-south-east-round-PEovUgvH-DKJtOEDh.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-CPaY5hQ_.js → auto-transfer-rule-mbafm5D3-BtLYBoTe.js} +1 -1
  205. package/dist/assets/{chartTypes-CmkcIJwp-Dw0BFF7X.js → chartTypes-Cpjk7Uyr-BFVm6fL4.js} +1 -1
  206. package/dist/assets/{commonDimensions-4sQbZHS3-BWjtQwRH.js → commonDimensions-BiY7_JPE-DvdrP9mk.js} +1 -1
  207. package/dist/assets/{commonTypes-xwvnsO_k-AWE0IUQl.js → commonTypes-B1ylXa_P-CHogy7bq.js} +1 -1
  208. package/dist/assets/{constants-DKA52eYI.js → constants-BSSpHQLd.js} +1 -1
  209. package/dist/assets/{core-BfdQ3W3i.js → core-BdfL-uia.js} +1 -1
  210. package/dist/assets/{dash.all.min-BatiK8tF.js → dash.all.min-BHbNWZhu.js} +1 -1
  211. package/dist/assets/{detailCommon-B2fQpJgd-DTs7y59U.js → detailCommon-C7usWt5l-CDexfvl6.js} +2 -2
  212. package/dist/assets/{downloadPdf-OR-QEskO-C1DvIKXY.js → downloadPdf-DRVFJQsk-Cc-9O8x2.js} +1 -1
  213. package/dist/assets/{empty-Ckopdbqj.js → empty-B_wp4jbR.js} +1 -1
  214. package/dist/assets/{empty-3tUyFVJa.js → empty-BfoY8avI.js} +1 -1
  215. package/dist/assets/{epic-bwVpC0z3.js → epic-BcpbmT-B.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-DtyIzDYF.js → gift-box-Cmt9OgIZ-CTA3oEEm.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-D56cz6Rd.js → graphic-no-data-l-DU4J8fDt-B-BNuWuf.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C7ptzcGQ.js → graphic-no-data-net-burn-l-CzmycA0m-BKSa_BmO.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-Cb_Iq8zA.js → handshake-BPg58FML-BspGwKvx.js} +1 -1
  220. package/dist/assets/{helper-nrbLfb1z-DIeRJT9t.js → helper-Bwr_8pRi-BezSaeYe.js} +1 -1
  221. package/dist/assets/{index-CKjPgmYK.js → index-2U9XpSIT.js} +1 -1
  222. package/dist/assets/{index-DTsIi-EB.js → index-97wdo8qZ.js} +1 -1
  223. package/dist/assets/{index-D3yjGJrn.js → index-BE47hrTe.js} +1 -1
  224. package/dist/assets/{index-V6jIIx9c.js → index-BPZ0_UEx.js} +7 -7
  225. package/dist/assets/{index-Cvbl-MGq.js → index-Blb3rESX.js} +1 -1
  226. package/dist/assets/{index-Q_V1WjIh.js → index-CLP97b5b.js} +1 -1
  227. package/dist/assets/{index-Cok412UJ.js → index-DQGwrG6i.js} +1 -1
  228. package/dist/assets/{lexical-C3B1wTQQ.js → lexical-CNiclLj0.js} +1 -1
  229. package/dist/assets/{liveblocks-BojMpfZr.js → liveblocks-Lf8LVeH9.js} +1 -1
  230. package/dist/assets/{lottie-C8ug7xYl.js → lottie-BAIk2ri4.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-DkvfU-AQ-BbnpqVZY.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DViahlE6-CHFSmBY0.js → mapSectionWithAcOnlyToTreeNode-COWbEMKO-BV9EavoR.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-Csr6iLbE-BUQp66A_.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-DWah9nq--BLW1ZcCy.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-KUx30-z6-BBnKHsqs.js +1 -0
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DKSP4IMH-CnRCpe-k.js → mapTimeframeHeaderLoadingInProgressToTreeNode-mmJVrGj0-CganeL6g.js} +1 -1
  237. package/dist/assets/{mui-CcAbIvqz.js → mui-Dg-yyLd1.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-Dtc_Xfll.js → page-detail-CWX5S47F-C9V7NZCx.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-D8VpgGue.js → panelSelectedMixin-Cddsb26L-BcWH15GY.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-BuCOxVnn.js → radio-default-CiSgisfh-7Dm34YkL.js} +1 -1
  241. package/dist/assets/{react-CjZneeZu.js → react-BYCJSJzc.js} +2 -2
  242. package/dist/assets/{react-CXUEpDgH.js → react-CK1-HLiI.js} +1 -1
  243. package/dist/assets/{react-BqRcBBdN.js → react-CLIsPthr.js} +1 -1
  244. package/dist/assets/{react-1GNwkcEv.js → react-CXimFM-A.js} +1 -1
  245. package/dist/assets/{react-CfJa26Ws.js → react-CmD2oDdV.js} +1 -1
  246. package/dist/assets/{react-BiIWcEaQ.js → react-RbEMA7cG.js} +1 -1
  247. package/dist/assets/{react-DAmUDf_n.js → react-XQWanSnz.js} +1 -1
  248. package/dist/assets/{react-BbDJbYi6.js → react-afxvtM8P.js} +1 -1
  249. package/dist/assets/{recharts-CH4lD6YZ.js → recharts-DVyIhUUu.js} +1 -1
  250. package/dist/assets/{sentry-C9gjpXHu.js → sentry-nVlxguQq.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-BYQt2gyQ.js → shield-DOlUxcFf-DoCKBSgZ.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-BOdn6oVS-6ioKjlBn.js +1 -0
  253. package/dist/assets/{toChartData-CWuGepY4-BvWY1wy9.js → toChartData--znXzhow-CzN3PXN2.js} +1 -1
  254. package/dist/assets/{uploadAttachment-Drk1oIZw-BPDTalPC.js → uploadAttachment-B3eC-lyz-B0nHI4xk.js} +1 -1
  255. package/dist/assets/{uploadReceipts-Dge0cNF1-BQWfyg0r.js → uploadReceipts-Dge0cNF1-dwFMCGnO.js} +1 -1
  256. package/dist/assets/{url-GoO98ssj.js → url-3XfBQAPr.js} +1 -1
  257. package/dist/assets/{url-EuhNbk_E.js → url-A_ZszWlu.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-Dpmkib6M.js → useLongPress-GCK2COYQ-BmH9C_mp.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-DebSG3AQ.js → usp-line-BBd1wKwW-iPZVfl3G.js} +1 -1
  260. package/dist/assets/{utils-1UbrxmNv.js → utils-Bn_xI0qf.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-yTwK6eAd.js → zeni-epic-state-DwXlACp-.js} +3 -3
  262. package/dist/index.html +1 -1
  263. package/package.json +2 -2
  264. package/dist/assets/AccountInfoPage-CQNGh3_A-8CGo7zl4.js +0 -18
  265. package/dist/assets/BoxItem-CggSwHNx-XFR7cXyR.js +0 -53
  266. package/dist/assets/CustomerOnboardingContainerPage-s1UpiNNV-I1MjTXGI.js +0 -1
  267. package/dist/assets/EntityDetailPage-DfRYXWR2-B1hhfTXR.js +0 -18
  268. package/dist/assets/MagicLinkACHDetailsPage-DqxFWlcN-B9JCI0X6.js +0 -1
  269. package/dist/assets/MagicLinkInternationalWireDetailsPage-DjVTnPdg-DYWtS9ON.js +0 -1
  270. package/dist/assets/MailingDetailsSection-NHD_RPvO-C9yYvlKS.js +0 -21
  271. package/dist/assets/StatementsPage-BVDChKXj-BUU1cgO_.js +0 -58
  272. package/dist/assets/SummaryCard-DVks1oex-M8-I8cNs.js +0 -1
  273. package/dist/assets/VendorACHDetailsPage-D_yVSMEu-CuiHjR4v.js +0 -1
  274. package/dist/assets/VendorDomesticWireDetailsPage-zhf4AerL-BjrgFDGE.js +0 -1
  275. package/dist/assets/VendorInternationalWireSwiftDetailsPage-B6Tuhksp-BF5mvkEQ.js +0 -1
  276. package/dist/assets/mapLoadingInProgressToTreeNode-saf-eikX-_6D9Xq4-.js +0 -1
  277. package/dist/assets/mapSpacerToTreeNode-C1XdqapG-Z0VmGG-z.js +0 -1
  278. package/dist/assets/mapTimeframeBalancesToTreeNode-BgzCaFB8-gUJ1JSVo.js +0 -1
  279. package/dist/assets/mapTimeframeBalancesToTreeNode-Cxi3Mx1s-BerM6DYj.js +0 -1
  280. package/dist/assets/toCOABalancesWithID-C0EdFFOl-Wbx2xnxl.js +0 -1
@@ -1,31 +1,31 @@
1
- import{J as Ct,ax as Tt,y as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as le,fd as At,fe as Mt,ff as Bt,fg as Ft,aP as A,fh as Lt,ab as j,fi as Rt,fj as Me,fk as Be,fl as Fe,b as K,fm as O,p as S,fn as zt,fo as E,fp as W,fq as Nt,fr as Ot,bU as Le,o as n,aS as Et,u as s,F as Wt,ah as _t,c3 as Zt,H as Ht,a as Vt,fs as Yt,cj as Gt,am as se,an as ce,ft as Kt,fu as Ut,bj as qt,c as Jt,ba as Xt,fv as Qt,ar as et,bL as en,aj as tt,bu as tn,fw as nn}from"./index-V6jIIx9c.js";import{a as Z}from"./sentry-C9gjpXHu.js";import{n as i}from"./mui-CcAbIvqz.js";import{bo as Re,bm as ze,bH as I,bN as an,FH as ln,bL as oe,bP as on}from"./zeni-epic-state-yTwK6eAd.js";import{t as rn,o as dn}from"./LowBalancePopup-Dcu_nflD-D0ffoSvY.js";import{S as _}from"./LabeledText-DBGBNWrC-DTS4NY-4.js";import"./liveblocks-BojMpfZr.js";import"./core-BfdQ3W3i.js";import"./recharts-CH4lD6YZ.js";import"./lottie-C8ug7xYl.js";import"./analytics-deCUYv6O.js";import"./lexical-C3B1wTQQ.js";import"./utils-1UbrxmNv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="ea264f1b-7648-410e-ad46-8822fde52433",e._sentryDebugIdIdentifier="sentry-dbid-ea264f1b-7648-410e-ad46-8822fde52433")}catch{}})();const nt=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,s[2],s[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,s[1]),navBarContainerPaddingTop:new u(10,s[3]),sectionTitleMarginLeft:new u(s[3],s[0]),reviewContainerMarginLeft:new u(s[3],s[6]),reviewContainerMarginRight:new u(s[3],s[8]),footerRightIconMarginRight:new u(s[0],s[0],s[7]),infoLabelPaddingRight:new u(s[0],s[3]),infoLabelMarginTop:new u(s[1],s[0])},sn={sectionTitle:new Ht("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=Wt.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=mn,We=({attachment:e})=>{const[y,f]=Z.useState(!1),M=()=>{f(!1)},C=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>C===!1?f(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Kt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:f}):null,t.jsx(En,{children:t.jsx(Ut,{contentType:e.contentType})})]})},si=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:f,currentTenant:M,isInternationalPaymentShaVsOurEnabled:C,isLocalCurrencyEnabled:it,style:at,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:X,retryPayment:st})=>{const d=Ct(),c=Tt(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=f&&x!=null,L=`dashboard_${c.currentTenant?.companyId}`,R=m.largeLabelWidth.value(d),z=e.saveStatus,Q=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(C,it,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),T=Ne.visual.MMMDCommaYYYYformat,fe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?It(fe,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?Pt(fe,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,ge]=Z.useState(!1),[mt,xe]=Z.useState(!1),be=()=>ge(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Rn,{size:d,children:t.jsx(Ln,{})})]}):kt(e.paymentDetailsSection?.paymentTo);Z.useEffect(()=>{(z?.fetchState==="Completed"||Q?.fetchState==="Completed")&&(pe(),ye(),he())},[z,Q,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,H=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&H?.code?H:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&H?.code?H:P,ne=()=>{me()},we=()=>{me()},V=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),$e=ie.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:$e,onClick:pt}):a.addedByZeni,Y=y.allApprovalRules.length>0,gt=Re(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-N.amount:p.amount,o?.fee.currencyCode??ze.currencyCode,o?.fee.currencySymbol??ze.currencySymbol),g=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{dt(),xe(!1)},k=g&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),b=k&&!ot,je=_e(b,Y,e.isBillMarkedForRetry),wt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&C&&ee===v.currencyCode?Qt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=rt&&e.paymentDetailsSection!=null?Mt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(x??"new_bill"),o?.method!=null&&l!=null){const St=g?a.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(T),endDate:oe(D?.endDate?.toString()??"").format(T),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),ae!=null){const Te=$?.code??"draft",De=P?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],Pe=e.invoiceNumber??"",ke=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===a.scheduleBill?w.trackLowBalanceAccountSchedule(Te,De,Ie,Pe,ke,Ae):je===a.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Te,De,Ie,Pe,ke,Ae)}}},Se=()=>{Ce===!0&&G(!1),e.isBillMarkedForRetry===!0?(st(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Ce,G]=Z.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:z?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Ce?t.jsx(dn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{G(!1),ne()},onClickAway:()=>{G(!1)}}):null,t.jsx(Bt,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Lt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:V?.format(T)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:d,style:at,children:[d==="small"?t.jsxs(Fn,{windowSize:d,children:[t.jsx(Ue,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ve,{windowSize:d,children:a.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ue,{onClick:we})}),d!=="small"?t.jsx(Sn,{children:t.jsx(Ve,{windowSize:d,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Cn,{children:[t.jsxs(Tn,{children:[t.jsx(Yn,{}),t.jsxs(Dn,{children:[t.jsx(Pn,{children:a.duplicateBillPayWarning}),t.jsxs(In,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>X(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Zn,{children:[t.jsx(Vn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Rt(l);return l!=null?t.jsx(Hn,{children:nt.includes(d)?t.jsxs(Ye,{windowSize:d,children:[t.jsxs(kn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(qe,{children:t.jsx(Je,{})}),t.jsx(q,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Xe,{windowSize:d,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Wn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsxs(q,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(T)]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ye,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(qe,{children:t.jsx(Je,{})}),t.jsxs(_n,{"data-testid":j("review-detail-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsx(q,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(q,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(T)]}),t.jsx(Xe,{style:{width:"25%"},windowSize:d,children:A("0,0[.]00",l.amount)})]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(Ge,{children:a.pay}),t.jsx(Ke,{children:t.jsx(Fe,{amount:gt,integerStyles:K.largeMedium.cssObject,decimalStyles:K.smallMedium.cssObject})}),t.jsx(Ge,{children:a.to}),t.jsx(Ke,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"withdrawFrom"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(_,{label:{label:a.withdrawFrom,width:R},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,d):h,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(d),marginTop:m.infoLabelMarginTop.valuePx(d),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(U,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentType"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(_,{label:{label:a.paymentMethod,width:R},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(U,{}),!g&&V!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentDate"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(_,{label:{label:a.paymentDate,width:R},style:{width:"auto"},value:V.format(T),additionalInfoLabel:`${a.estimatedArrival}${oe(on(V.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(T)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(U,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentTo"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(_,{label:{label:a.paymentTo,width:R},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),g||lt?t.jsxs(t.Fragment,{children:[t.jsx(U,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"recurringPaymentType"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(_,{label:{label:a.paymentType,width:R},style:{width:"auto"},value:Ot(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(d,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:d,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:a.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(He,{children:[t.jsx(de,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(He,{children:[t.jsx(de,{children:Ee.transactionFee}),t.jsx(re,{children:A("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(de,{children:Oe.total}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Fe,{amount:Re(p.amount,p.currencyCode,p.currencySymbol),integerStyles:K.h6Medium.cssObject,decimalStyles:K.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:k&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:k&&!b?ve:ne,style:{width:Ze(!1,k,b,Y,d)}},primaryBtn:{label:_e(b,Y,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ae!=null?G(!0):Se()},style:{width:Ze(!0,k,b,Y,d)}},rightSideComponent:k&&!b&&z.fetchState!=="In-Progress"?t.jsx(Gn,{windowSize:d,children:t.jsx(Le,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Un,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Kn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(zn,{children:[a.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},_e=(e,y,f)=>e?a.paymentOutsideZeni.markAsPaid:f===!0?a.retryPayment:y?a.sendForApproval:a.scheduleBill,Ze=(e,y,f,M,C)=>f?128:y&&!e&&C==="small"?"auto":M?165:m.footerButtonWidth.value(C),pn=i(en)`
1
+ import{J as Ct,ax as Tt,y as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as le,fd as At,fe as Mt,ff as Bt,fg as Ft,aP as A,fh as Lt,ab as j,fi as Rt,fj as Me,fk as Be,fl as Fe,b as K,fm as O,p as S,fn as zt,fo as E,fp as W,fq as Nt,fr as Ot,bU as Le,o as n,aS as Et,u as d,F as Wt,ah as _t,c3 as Zt,H as Ht,a as Vt,fs as Yt,cj as Gt,am as de,an as ce,ft as Kt,fu as Ut,bj as qt,c as Jt,ba as Xt,fv as Qt,ar as et,bL as en,aj as tt,bu as tn,fw as nn}from"./index-BPZ0_UEx.js";import{a as Z}from"./sentry-nVlxguQq.js";import{n as a}from"./mui-Dg-yyLd1.js";import{bo as Re,bm as ze,bH as I,bN as an,FH as ln,bL as oe,bP as on}from"./zeni-epic-state-DwXlACp-.js";import{t as rn,o as sn}from"./LowBalancePopup-DF0W3ZsB-DXIPCFb8.js";import{S as _}from"./LabeledText-B1BxC4mo-CDiqUP7l.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="c11c550b-9de3-4894-acef-0a7fafc47391",e._sentryDebugIdIdentifier="sentry-dbid-c11c550b-9de3-4894-acef-0a7fafc47391")}catch{}})();const nt=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},dn={sectionTitle:new Ht("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=Wt.getLocalizedStrings(),{billDetails:i,paymentDetails:Ee}=mn,We=({attachment:e})=>{const[y,f]=Z.useState(!1),M=()=>{f(!1)},C=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>C===!1?f(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Kt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:f}):null,t.jsx(En,{children:t.jsx(Ut,{contentType:e.contentType})})]})},da=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:f,currentTenant:M,isInternationalPaymentShaVsOurEnabled:C,isLocalCurrencyEnabled:at,style:it,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:st,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:X,retryPayment:dt})=>{const s=Ct(),c=Tt(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=f&&x!=null,L=`dashboard_${c.currentTenant?.companyId}`,R=m.largeLabelWidth.value(s),z=e.saveStatus,Q=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(C,at,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),T=Ne.visual.MMMDCommaYYYYformat,fe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?It(fe,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?Pt(fe,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,ge]=Z.useState(!1),[mt,xe]=Z.useState(!1),be=()=>ge(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${i.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Rn,{size:s,children:t.jsx(Ln,{})})]}):kt(e.paymentDetailsSection?.paymentTo);Z.useEffect(()=>{(z?.fetchState==="Completed"||Q?.fetchState==="Completed")&&(pe(),ye(),he())},[z,Q,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,H=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&H?.code?H:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&H?.code?H:P,ne=()=>{me()},we=()=>{me()},V=e.paymentDetailsSection?.paymentDate,ae=le(o?.method??""),$e=ae.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:$e,onClick:pt}):i.addedByZeni,Y=y.allApprovalRules.length>0,gt=Re(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-N.amount:p.amount,o?.fee.currencyCode??ze.currencyCode,o?.fee.currencySymbol??ze.currencySymbol),g=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{st(),xe(!1)},k=g&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),b=k&&!ot,je=_e(b,Y,e.isBillMarkedForRetry),wt=()=>g?b?void 0:i.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&C&&ee===v.currencyCode?Qt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ie=rt&&e.paymentDetailsSection!=null?Mt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(x??"new_bill"),o?.method!=null&&l!=null){const St=g?i.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(T),endDate:oe(D?.endDate?.toString()??"").format(T),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),ie!=null){const Te=$?.code??"draft",De=P?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],Pe=e.invoiceNumber??"",ke=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===i.scheduleBill?w.trackLowBalanceAccountSchedule(Te,De,Ie,Pe,ke,Ae):je===i.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Te,De,Ie,Pe,ke,Ae)}}},Se=()=>{Ce===!0&&G(!1),e.isBillMarkedForRetry===!0?(dt(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Ce,G]=Z.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:z?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Ce?t.jsx(sn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{G(!1),ne()},onClickAway:()=>{G(!1)}}):null,t.jsx(Bt,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Lt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:V?.format(T)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:s,style:it,children:[s==="small"?t.jsxs(Fn,{windowSize:s,children:[t.jsx(Ue,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ve,{windowSize:s,children:i.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ue,{onClick:we})}),s!=="small"?t.jsx(Sn,{children:t.jsx(Ve,{windowSize:s,children:i.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Cn,{children:[t.jsxs(Tn,{children:[t.jsx(Yn,{}),t.jsxs(Dn,{children:[t.jsx(Pn,{children:i.duplicateBillPayWarning}),t.jsxs(In,{children:[i.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>X(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[i.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Zn,{children:[t.jsx(Vn,{children:i.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Rt(l);return l!=null?t.jsx(Hn,{children:nt.includes(s)?t.jsxs(Ye,{windowSize:s,children:[t.jsxs(kn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(qe,{children:t.jsx(Je,{})}),t.jsx(q,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?i.invoiceNo:null,l.documentId]})})]}),t.jsx(Xe,{windowSize:s,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Wn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsxs(q,{children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(T)]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ye,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(qe,{children:t.jsx(Je,{})}),t.jsxs(_n,{"data-testid":j("review-detail-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsx(q,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?i.invoiceNo:null," ",l.documentId]})}),t.jsxs(q,{style:{width:"25%"},children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(T)]}),t.jsx(Xe,{style:{width:"25%"},windowSize:s,children:A("0,0[.]00",l.amount)})]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(Ge,{children:i.pay}),t.jsx(Ke,{children:t.jsx(Fe,{amount:gt,integerStyles:K.largeMedium.cssObject,decimalStyles:K.smallMedium.cssObject})}),t.jsx(Ge,{children:i.to}),t.jsx(Ke,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"withdrawFrom"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(_,{label:{label:i.withdrawFrom,width:R},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,s):h,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ie})}),t.jsx(U,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentType"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(_,{label:{label:i.paymentMethod,width:R},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(U,{}),!g&&V!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentDate"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(_,{label:{label:i.paymentDate,width:R},style:{width:"auto"},value:V.format(T),additionalInfoLabel:`${i.estimatedArrival}${oe(on(V.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(T)} - (${ae.length>0?`${ae} `:""}${i.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${i.deliveryTimeUnits})`})}),t.jsx(U,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentTo"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(_,{label:{label:i.paymentTo,width:R},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),g||lt?t.jsxs(t.Fragment,{children:[t.jsx(U,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"recurringPaymentType"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(_,{label:{label:i.paymentType,width:R},style:{width:"auto"},value:Ot(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(s,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:s,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:i.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(He,{children:[t.jsx(se,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(He,{children:[t.jsx(se,{children:Ee.transactionFee}),t.jsx(re,{children:A("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(se,{children:Oe.total}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Fe,{amount:Re(p.amount,p.currencyCode,p.currencySymbol),integerStyles:K.h6Medium.cssObject,decimalStyles:K.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:k&&!b?i.paymentOutsideZeni.markAsPaid:i.editBill,onClick:k&&!b?ve:ne,style:{width:Ze(!1,k,b,Y,s)}},primaryBtn:{label:_e(b,Y,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ie!=null?G(!0):Se()},style:{width:Ze(!0,k,b,Y,s)}},rightSideComponent:k&&!b&&z.fetchState!=="In-Progress"?t.jsx(Gn,{windowSize:s,children:t.jsx(Le,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Un,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Kn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(zn,{children:[i.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:i.internationalTerms}),i.internationalText2]}):null})]})},_e=(e,y,f)=>e?i.paymentOutsideZeni.markAsPaid:f===!0?i.retryPayment:y?i.sendForApproval:i.scheduleBill,Ze=(e,y,f,M,C)=>f?128:y&&!e&&C==="small"?"auto":M?165:m.footerButtonWidth.value(C),pn=a(en)`
2
2
  width: ${n.sp3};
3
3
  height: ${n.sp3};
4
4
  color: ${e=>e.theme.colors.hero};
5
5
  &:hover {
6
6
  color: ${e=>e.theme.colors.primary};
7
7
  }
8
- `,He=i(tt)`
8
+ `,He=a(tt)`
9
9
  display: flex;
10
10
  justify-content: space-between;
11
11
  padding-bottom: ${n.sp1};
12
- `,re=i.div`
12
+ `,re=a.div`
13
13
  color: ${e=>e.theme.colors.brandColorPearl};
14
- `,de=i.div`
14
+ `,se=a.div`
15
15
  color: ${e=>e.theme.colors.hero};
16
- `,un=i(tt)`
16
+ `,un=a(tt)`
17
17
  display: flex;
18
18
  justify-content: space-between;
19
19
  padding-top: ${n.sp1};
20
- `,yn=i.div``,hn=i.div`
20
+ `,yn=a.div``,hn=a.div`
21
21
  background-color: ${S.neutralGrey3Dark};
22
22
  height: 1px;
23
23
  width: 280px;
24
- `,fn=i.div``,gn=i.div`
24
+ `,fn=a.div``,gn=a.div`
25
25
  display: flex;
26
26
  width: 100%;
27
27
  box-sizing: border-box;
28
- `,xn=i.div`
28
+ `,xn=a.div`
29
29
  width: 100%;
30
30
  padding: ${n.sp3};
31
31
  display: flex;
@@ -36,30 +36,30 @@ import{J as Ct,ax as Tt,y as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
36
36
  border-radius: ${n.sp2};
37
37
  color: ${e=>e.theme.colors.hero};
38
38
  margin-bottom: ${n.sp2};
39
- `,bn=i(et)`
39
+ `,bn=a(et)`
40
40
  gap: ${n.sp1};
41
41
  display: flex;
42
42
  width: 100%;
43
43
  color: ${e=>e.theme.colors.primary};
44
44
  align-items: center;
45
- `,wn=i(et)`
45
+ `,wn=a(et)`
46
46
  display: flex;
47
47
  width: calc(100% - 176px);
48
48
  justify-content: flex-end;
49
49
  color: ${e=>e.theme.colors.primary};
50
- `,$n=i.div`
50
+ `,$n=a.div`
51
51
  display: flex;
52
52
  flex-direction: column;
53
53
  width: 100%;
54
54
  height: 100%;
55
- `,vn=i.div`
55
+ `,vn=a.div`
56
56
  display: flex;
57
57
  flex-grow: 1;
58
58
  flex-direction: column;
59
59
  margin-left: ${e=>m.reviewContainerMarginLeft.valuePx(e.windowSize)};
60
60
  margin-right: ${e=>m.reviewContainerMarginRight.valuePx(e.windowSize)};
61
61
  padding-top: ${n.sp3};
62
- `,jn=i.div`
62
+ `,jn=a.div`
63
63
  display: flex;
64
64
  flex-direction: column;
65
65
  background-color: ${e=>e.theme.colors.grey5};
@@ -68,21 +68,21 @@ import{J as Ct,ax as Tt,y as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
68
68
  border-radius: ${n.sp2};
69
69
  margin-bottom: ${n.sp3};
70
70
  margin-top: ${n.sp3};
71
- `,U=i.div`
71
+ `,U=a.div`
72
72
  display: flex;
73
73
  flex: 1;
74
74
  background-color: ${e=>e.theme.colors.grey3};
75
75
  min-height: 1px;
76
76
  max-height: 1px;
77
- `,Ve=i(Vt)`
77
+ `,Ve=a(Vt)`
78
78
  color: ${e=>e.theme.colors.primary};
79
- ${e=>`${sn.sectionTitle.style(e.windowSize)}`};
79
+ ${e=>`${dn.sectionTitle.style(e.windowSize)}`};
80
80
  margin-left: ${e=>m.sectionTitleMarginLeft.valuePx(e.windowSize)};
81
- `,Sn=i.div`
81
+ `,Sn=a.div`
82
82
  display: flex;
83
83
  margin-bottom: ${n.sp3};
84
84
  margin-top: ${n.sp3};
85
- `,Cn=i.div`
85
+ `,Cn=a.div`
86
86
  display: flex;
87
87
  flex-direction: column;
88
88
  border-radius: ${n.sp2};
@@ -90,46 +90,46 @@ import{J as Ct,ax as Tt,y as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
90
90
  background-color: ${e=>e.theme.colors.grey5};
91
91
  border: 1px solid ${e=>e.theme.colors.grey3};
92
92
  box-shadow: ${e=>`${n.sp0} 2px ${n.sp1} ${e.theme.colors.dropShadowNormal}`};
93
- `,Tn=i.div`
93
+ `,Tn=a.div`
94
94
  background-color: ${S.alertLight};
95
95
  border-radius: ${n.sp2};
96
96
  width: 100%;
97
97
  display: flex;
98
- `,Dn=i.div`
98
+ `,Dn=a.div`
99
99
  display: flex;
100
100
  flex-direction: column;
101
101
  padding-left: ${n.sp2};
102
- `,In=i(se)`
102
+ `,In=a(de)`
103
103
  padding-bottom: ${n.sp3};
104
104
  color: ${S.brandColorGoldDark};
105
- `,Pn=i(Gt)`
105
+ `,Pn=a(Gt)`
106
106
  padding-top: ${n.sp3};
107
107
  color: ${S.brandColorGoldDark};
108
- `,Ye=i.div`
108
+ `,Ye=a.div`
109
109
  display: flex;
110
110
  flex-direction: ${e=>nt.includes(e.windowSize)?"column":"row"};
111
111
  width: 100%;
112
- `,kn=i.div`
112
+ `,kn=a.div`
113
113
  display: flex;
114
114
  justify-content: space-between;
115
115
  align-items: center;
116
116
  column-gap: ${n.sp1};
117
- `,An=i.div`
117
+ `,An=a.div`
118
118
  display: flex;
119
119
  column-gap: ${n.sp2};
120
120
  align-items: center;
121
- `,Mn=i.div`
121
+ `,Mn=a.div`
122
122
  display: flex;
123
123
  padding-top: ${n.sp3};
124
- `,Ge=i(Jt)`
124
+ `,Ge=a(Jt)`
125
125
  display: flex;
126
126
  color: ${e=>e.theme.colors.hero};
127
127
  margin-right: ${n.sp1};
128
- `,Ke=i(Xt)`
128
+ `,Ke=a(Xt)`
129
129
  display: flex;
130
130
  color: ${e=>e.theme.colors.primary};
131
131
  margin-right: ${n.sp1};
132
- `,Ue=i(Zt)`
132
+ `,Ue=a(Zt)`
133
133
  cursor: pointer;
134
134
  color: ${e=>e.theme.colors.hero};
135
135
  width: 20px;
@@ -137,9 +137,9 @@ import{J as Ct,ax as Tt,y as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
137
137
  &:hover {
138
138
  color: ${e=>e.theme.colors.primary};
139
139
  }
140
- `,Bn=i.div`
140
+ `,Bn=a.div`
141
141
  margin-bottom: ${n.sp3};
142
- `,Fn=i.div`
142
+ `,Fn=a.div`
143
143
  display: flex;
144
144
  align-items: center;
145
145
  margin-right: ${e=>e.showAutofill===!0?n.sp8:"unset"};
@@ -152,23 +152,23 @@ import{J as Ct,ax as Tt,y as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
152
152
  padding-left: ${n.sp0};
153
153
  z-index: 2;
154
154
  background-color: ${e=>e.theme.colors.grey4};
155
- `,Ln=i(_t)`
155
+ `,Ln=a(_t)`
156
156
  height: ${n.sp3};
157
157
  width: ${n.sp3};
158
158
  color: ${e=>e.theme.colors.hero};
159
- `,Rn=i.span`
159
+ `,Rn=a.span`
160
160
  display: flex;
161
161
  align-items: center;
162
162
  margin-left: ${n.sp2};
163
163
  margin-top: ${e=>m.iconContainerMarginTop.valuePx(e.size)};
164
164
  align-self: ${e=>e.size==="small"?"baseline":"center"};
165
- `,zn=i(ce)`
165
+ `,zn=a(ce)`
166
166
  color: ${e=>e.theme.colors.grey1};
167
167
  display: flex;
168
168
  flex-wrap: wrap;
169
169
  justify-content: center;
170
170
  align-items: center;
171
- `,Nn=i.a`
171
+ `,Nn=a.a`
172
172
  color: ${e=>e.theme.colors.grey1};
173
173
  text-decoration: underline;
174
174
  margin-right: ${n.sp1};
@@ -176,7 +176,7 @@ import{J as Ct,ax as Tt,y as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
176
176
  &:hover {
177
177
  color: ${e=>e.theme.colors.primary};
178
178
  }
179
- `,On=i.div`
179
+ `,On=a.div`
180
180
  cursor: ${e=>e.isDisabled?"default":"pointer"};
181
181
  display: flex;
182
182
  flex-direction: row;
@@ -189,49 +189,49 @@ import{J as Ct,ax as Tt,y as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
189
189
  color: ${e=>e.isDisabled?e.theme.colors.hero:e.theme.colors.primary};
190
190
  }
191
191
  }
192
- `,En=i.div`
192
+ `,En=a.div`
193
193
  width: ${n.sp4};
194
194
  height: ${n.sp4};
195
195
  display: flex;
196
- `,qe=i.div`
196
+ `,qe=a.div`
197
197
  cursor: default;
198
198
  display: flex;
199
199
  align-items: center;
200
200
  margin-right: ${n.sp1};
201
- `,Je=i(qt)`
201
+ `,Je=a(qt)`
202
202
  cursor: pointer;
203
203
  width: ${n.sp4};
204
204
  height: ${n.sp4};
205
205
  color: ${e=>e.theme.colors.hero};
206
- `,q=i(se)`
206
+ `,q=a(de)`
207
207
  display: flex;
208
208
  color: ${e=>e.theme.colors.hero};
209
209
  align-items: center;
210
210
  min-width: 142px;
211
211
  flex-grow: 1;
212
- `,Xe=i(se)`
212
+ `,Xe=a(de)`
213
213
  display: flex;
214
214
  color: ${e=>e.theme.colors.primary};
215
215
  align-items: center;
216
216
  margin-right: ${e=>m.infoMarginRight.valuePx(e.windowSize)};
217
217
  min-width: ${e=>m.infoMinWidth.valuePx(e.windowSize)};
218
218
  justify-content: flex-end;
219
- `,Wn=i.div`
219
+ `,Wn=a.div`
220
220
  display: flex;
221
221
  cursor: pointer;
222
222
  column-gap: ${n.sp1};
223
223
  margin-left: ${n.sp5};
224
- `,Qe=i.div`
224
+ `,Qe=a.div`
225
225
  width: 120px;
226
226
  display: flex;
227
227
  justify-content: flex-end;
228
228
  align-items: center;
229
- `,_n=i.div`
229
+ `,_n=a.div`
230
230
  display: flex;
231
231
  flex-grow: 1;
232
232
  cursor: pointer;
233
233
  width: 100%;
234
- `,J=i(ce)`
234
+ `,J=a(ce)`
235
235
  display: flex;
236
236
  color: ${e=>e.borderColor};
237
237
  height: 20px;
@@ -247,31 +247,31 @@ import{J as Ct,ax as Tt,y as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
247
247
  padding: 1px 6px;
248
248
  border: ${e=>`1px solid ${e.borderColor}`};
249
249
  border-radius: ${n.sp1};
250
- `,Zn=i.div`
250
+ `,Zn=a.div`
251
251
  display: flex;
252
252
  flex-direction: column;
253
- `,Hn=i.div`
253
+ `,Hn=a.div`
254
254
  display: flex;
255
255
  width: 100%;
256
256
  flex-flow: column;
257
257
  padding-top: ${n.sp2};
258
258
  padding-bottom: ${n.sp2};
259
259
  border-bottom: ${e=>`1px solid ${e.theme.colors.grey3}`};
260
- `,Vn=i(ce)`
260
+ `,Vn=a(ce)`
261
261
  margin-top: ${n.sp3};
262
262
  color: ${S.alert};
263
- `,Yn=i(Yt)`
263
+ `,Yn=a(Yt)`
264
264
  min-width: ${n.sp4};
265
265
  height: ${n.sp4};
266
266
  width: ${n.sp4};
267
267
  margin-top: ${n.sp3};
268
268
  margin-left: ${n.sp4};
269
269
  color: ${S.brandColorGoldDark};
270
- `,Gn=i.div`
270
+ `,Gn=a.div`
271
271
  display: flex;
272
272
  justify-content: flex-end;
273
273
  margin-right: ${e=>m.footerRightIconMarginRight.valuePx(e.windowSize)};
274
- `,Kn=i(tn)`
274
+ `,Kn=a(tn)`
275
275
  cursor: pointer;
276
276
  color: ${e=>e.theme.colors.hero};
277
277
  width: ${n.sp4};
@@ -279,7 +279,7 @@ import{J as Ct,ax as Tt,y as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
279
279
  &:hover {
280
280
  color: ${e=>e.theme.colors.primary};
281
281
  }
282
- `,Un=i.div`
282
+ `,Un=a.div`
283
283
  display: flex;
284
284
  cursor: pointer;
285
285
  color: ${e=>e.theme.colors.grey1};
@@ -287,4 +287,4 @@ import{J as Ct,ax as Tt,y as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
287
287
  &:hover {
288
288
  color: ${e=>e.theme.colors.primary};
289
289
  }
290
- `;export{si as default};
290
+ `;export{da as default};
@@ -1,4 +1,4 @@
1
- import{J as P,V as i,ab as m,o as r,aS as L,y as d,x as M,H as I,a as C,p as s,am as j,cE as W,m as D,aj as b,bi as R,u as n,eo as G,h as H,i$ as _,kc as J}from"./index-V6jIIx9c.js";import{n as t}from"./mui-CcAbIvqz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="b7080a47-7dd2-4e48-a481-d57ce56fdd5a",e._sentryDebugIdIdentifier="sentry-dbid-b7080a47-7dd2-4e48-a481-d57ce56fdd5a")}catch{}})();const l={containerMarginTop:new d(0,n[2]),containerMarginLeft:new d(n[3],n[8]),containerMarginRight:new d(n[3],n[8]),subTitleMarginBottom:new d(n[2],n[2]),titleMarginBotom:new d(n[0],n[2]),titleMarginRight:new d(n[0],n[3]),navBarHeight:new d(62,62,62),navBarPaddingLeft:new d(n[3],n[3],n[8]),navBarPaddingRight:new d(n[3],n[3],n[8])},A={title:new I("h6Regular","h5Regular")},xe=({title:e,description:g,reviewItems:x,showFooter:S,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:B})=>{const a=P();return i.jsxs(V,{children:[i.jsx(X,{windowSize:a,children:i.jsx(Y,{children:i.jsx(Z,{windowSize:a,children:i.jsx(ee,{children:i.jsx(ie,{onClick:k,"data-testid":m("review-overlay-close",e)})})})})}),i.jsxs(O,{windowSize:a,children:[i.jsxs(q,{windowSize:a,children:[i.jsx(K,{children:i.jsx(N,{windowSize:a,children:e})}),i.jsx(Q,{isError:g.isError,windowSize:a,children:g.content})]}),i.jsx(U,{windowSize:a,children:x.map(o=>{const h=o.reviewStatus.code==="error",c=o.reviewStatus.code==="warning"||o.reviewStatus.code==="low-balance";return i.jsxs(re,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?i.jsx(ce,{onClick:()=>B(o.id),"data-testid":m("review-close",o.id)}):null,i.jsxs(te,{children:[i.jsxs(ne,{children:[i.jsx(de,{children:F(o)}),i.jsxs(oe,{children:[i.jsxs(w,{children:[i.jsx(f,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:o.leftSideText.title}),i.jsx(f,{isWarning:c,isError:h,children:o.rightSideText.title})]}),i.jsxs(w,{children:[i.jsx(se,{style:{marginLeft:r.sp2},children:o.leftSideText.subTitle}),a!=="small"?i.jsxs(u,{windowSize:a,children:[i.jsx(p,{isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),a==="small"?i.jsxs(u,{windowSize:a,children:[i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:o.rightSideText.additonalInfo})]}):null]})]},o.id)})})]}),S?i.jsx(L,{primaryBtn:z,cancelBtn:T,showCancel:!E}):null]})},F=e=>e.reviewStatus.isLoading?i.jsx(D,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):e.reviewStatus.code==="error"?i.jsx(y,{isError:!0}):e.reviewStatus.code==="warning"?i.jsx(y,{isError:!1}):e.reviewStatus.code==="valid"?i.jsx(ae,{}):e.reviewStatus.code==="low-balance"?i.jsx(he,{}):i.jsx(le,{}),V=t.div`
1
+ import{J as P,V as i,ab as m,o as r,aS as L,y as d,x as M,H as I,a as C,p as s,am as j,cE as W,m as D,aj as b,bi as R,u as n,eo as G,h as H,i$ as _,kc as J}from"./index-BPZ0_UEx.js";import{n as t}from"./mui-Dg-yyLd1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="b7080a47-7dd2-4e48-a481-d57ce56fdd5a",e._sentryDebugIdIdentifier="sentry-dbid-b7080a47-7dd2-4e48-a481-d57ce56fdd5a")}catch{}})();const l={containerMarginTop:new d(0,n[2]),containerMarginLeft:new d(n[3],n[8]),containerMarginRight:new d(n[3],n[8]),subTitleMarginBottom:new d(n[2],n[2]),titleMarginBotom:new d(n[0],n[2]),titleMarginRight:new d(n[0],n[3]),navBarHeight:new d(62,62,62),navBarPaddingLeft:new d(n[3],n[3],n[8]),navBarPaddingRight:new d(n[3],n[3],n[8])},A={title:new I("h6Regular","h5Regular")},xe=({title:e,description:g,reviewItems:x,showFooter:S,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:B})=>{const a=P();return i.jsxs(V,{children:[i.jsx(X,{windowSize:a,children:i.jsx(Y,{children:i.jsx(Z,{windowSize:a,children:i.jsx(ee,{children:i.jsx(ie,{onClick:k,"data-testid":m("review-overlay-close",e)})})})})}),i.jsxs(O,{windowSize:a,children:[i.jsxs(q,{windowSize:a,children:[i.jsx(K,{children:i.jsx(N,{windowSize:a,children:e})}),i.jsx(Q,{isError:g.isError,windowSize:a,children:g.content})]}),i.jsx(U,{windowSize:a,children:x.map(o=>{const h=o.reviewStatus.code==="error",c=o.reviewStatus.code==="warning"||o.reviewStatus.code==="low-balance";return i.jsxs(re,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?i.jsx(ce,{onClick:()=>B(o.id),"data-testid":m("review-close",o.id)}):null,i.jsxs(te,{children:[i.jsxs(ne,{children:[i.jsx(de,{children:F(o)}),i.jsxs(oe,{children:[i.jsxs(w,{children:[i.jsx(f,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:o.leftSideText.title}),i.jsx(f,{isWarning:c,isError:h,children:o.rightSideText.title})]}),i.jsxs(w,{children:[i.jsx(se,{style:{marginLeft:r.sp2},children:o.leftSideText.subTitle}),a!=="small"?i.jsxs(u,{windowSize:a,children:[i.jsx(p,{isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),a==="small"?i.jsxs(u,{windowSize:a,children:[i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:o.rightSideText.additonalInfo})]}):null]})]},o.id)})})]}),S?i.jsx(L,{primaryBtn:z,cancelBtn:T,showCancel:!E}):null]})},F=e=>e.reviewStatus.isLoading?i.jsx(D,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):e.reviewStatus.code==="error"?i.jsx(y,{isError:!0}):e.reviewStatus.code==="warning"?i.jsx(y,{isError:!1}):e.reviewStatus.code==="valid"?i.jsx(ae,{}):e.reviewStatus.code==="low-balance"?i.jsx(he,{}):i.jsx(le,{}),V=t.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{eT as f,eU as h,V as s,bU as g,o,ab as l,F as b,ao as x,aj as c}from"./index-V6jIIx9c.js";import{n as d}from"./mui-CcAbIvqz.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]="82007ed3-1f11-4cbe-9dcf-6bceed265128",e._sentryDebugIdIdentifier="sentry-dbid-82007ed3-1f11-4cbe-9dcf-6bceed265128")}catch{}})();const{hyphen:i}=b.getLocalizedStrings().common.strings,y=d.div``,m=d.div`
1
+ import{eT as f,eU as h,V as s,bU as g,o,ab as l,F as b,ao as x,aj as c}from"./index-BPZ0_UEx.js";import{n as d}from"./mui-Dg-yyLd1.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]="82007ed3-1f11-4cbe-9dcf-6bceed265128",e._sentryDebugIdIdentifier="sentry-dbid-82007ed3-1f11-4cbe-9dcf-6bceed265128")}catch{}})();const{hyphen:i}=b.getLocalizedStrings().common.strings,y=d.div``,m=d.div`
2
2
  display: flex;
3
3
  min-width: 192px;
4
4
  justify-content: space-between;
@@ -1,4 +1,4 @@
1
- import{aR as K,ir as te,gL as me,eF as Je,is as Me,a9 as _e,it as Ve,cH as Pe,cI as Fe,V as a,ad as Ne,cr as qe,cs as Re,ct as Be,aS as We,iu as ze,iv as Ue,F as be,aa as pe,iw as Se,ix as $e,cL as Ge,J as Ke,iL as He,gQ as ue,u as B,p as De,y as ye,cM as Xe,iy as Ye,iz as Ze,iA as Qe,o as V}from"./index-V6jIIx9c.js";import{a as f}from"./sentry-C9gjpXHu.js";import{n as z}from"./mui-CcAbIvqz.js";import{Ga as et,Gb as tt}from"./zeni-epic-state-yTwK6eAd.js";import{r as lt,s as at,i as st,n as ot}from"./ScheduleSequenceTable-dniltDqh-prEj6nJM.js";import"./liveblocks-BojMpfZr.js";import"./core-BfdQ3W3i.js";import"./recharts-CH4lD6YZ.js";import"./lottie-C8ug7xYl.js";import"./analytics-deCUYv6O.js";import"./lexical-C3B1wTQQ.js";import"./utils-1UbrxmNv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="07f373dc-c0cf-47bd-863d-32008ec267aa",e._sentryDebugIdIdentifier="sentry-dbid-07f373dc-c0cf-47bd-863d-32008ec267aa")}catch{}})();const W={labelWidth:new ye(160,160,160),depCategoryLabelWidth:new ye(200,280,280)},nt=z.div`
1
+ import{aR as K,ir as te,gL as me,eF as Je,is as Me,a9 as _e,it as Ve,cH as Pe,cI as Fe,V as a,ad as Ne,cr as qe,cs as Re,ct as Be,aS as We,iu as ze,iv as Ue,F as be,aa as pe,iw as Se,ix as $e,cL as Ge,J as Ke,iL as He,gQ as ue,u as B,p as De,y as ye,cM as Xe,iy as Ye,iz as Ze,iA as Qe,o as V}from"./index-BPZ0_UEx.js";import{a as f}from"./sentry-nVlxguQq.js";import{n as z}from"./mui-Dg-yyLd1.js";import{Ga as et,Gb as tt}from"./zeni-epic-state-DwXlACp-.js";import{r as lt,s as at,i as st,n as ot}from"./ScheduleSequenceTable-CeHDyMVV-BA7tEH_s.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="6354d202-df89-4aa7-9780-178d0353bd3b",e._sentryDebugIdIdentifier="sentry-dbid-6354d202-df89-4aa7-9780-178d0353bd3b")}catch{}})();const W={labelWidth:new ye(160,160,160),depCategoryLabelWidth:new ye(200,280,280)},nt=z.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{aR as F,ir as Q,gL as Ie,eF as Je,is as we,a9 as Le,it as Me,cH as Ve,cI as Pe,V as a,ad as _e,cr as Fe,cs as $e,ct as Be,aS as Ne,iu as ze,iv as Re,F as De,aa as re,iw as pe,ix as Ue,cL as We,J as qe,gQ as me,u as Z,p as Ke,y as Ge,iy as He,iz as Ye,iA as Xe,o as w}from"./index-V6jIIx9c.js";import{a as D}from"./sentry-C9gjpXHu.js";import{n as P}from"./mui-CcAbIvqz.js";import{Ga as Qe,Gb as Ze,bL as et}from"./zeni-epic-state-yTwK6eAd.js";import{r as tt,s as lt,i as at,n as st}from"./ScheduleSequenceTable-dniltDqh-prEj6nJM.js";import"./liveblocks-BojMpfZr.js";import"./core-BfdQ3W3i.js";import"./recharts-CH4lD6YZ.js";import"./lottie-C8ug7xYl.js";import"./analytics-deCUYv6O.js";import"./lexical-C3B1wTQQ.js";import"./utils-1UbrxmNv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="e309ac7c-a107-4dcd-8684-80011e8e1378",e._sentryDebugIdIdentifier="sentry-dbid-e309ac7c-a107-4dcd-8684-80011e8e1378")}catch{}})();const z={labelWidth:new Ge(160,160,160)},nt=P.div`
1
+ import{aR as F,ir as Q,gL as Ie,eF as Je,is as we,a9 as Le,it as Me,cH as Ve,cI as Pe,V as a,ad as _e,cr as Fe,cs as $e,ct as Be,aS as Ne,iu as ze,iv as Re,F as De,aa as re,iw as pe,ix as Ue,cL as We,J as qe,gQ as me,u as Z,p as Ke,y as Ge,iy as He,iz as Ye,iA as Xe,o as w}from"./index-BPZ0_UEx.js";import{a as D}from"./sentry-nVlxguQq.js";import{n as P}from"./mui-Dg-yyLd1.js";import{Ga as Qe,Gb as Ze,bL as et}from"./zeni-epic-state-DwXlACp-.js";import{r as tt,s as lt,i as at,n as st}from"./ScheduleSequenceTable-CeHDyMVV-BA7tEH_s.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="34e5b0bc-c080-4cbe-a796-220dbe170b6f",e._sentryDebugIdIdentifier="sentry-dbid-34e5b0bc-c080-4cbe-a796-220dbe170b6f")}catch{}})();const z={labelWidth:new Ge(160,160,160)},nt=P.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -18,7 +18,7 @@ import{aR as F,ir as Q,gL as Ie,eF as Je,is as we,a9 as Le,it as Me,cH as Ve,cI
18
18
  display: flex;
19
19
  flex-direction: column;
20
20
  margin: ${w.sp4} ${w.sp8} ${w.sp0} ${w.sp8};
21
- `,$=(e,s)=>`${e}.${s}`;function dt({sectionId:e,jeScheduledTransaction:s,updateStatus:p,allAccountOptions:l,allAccountList:t,allClassList:i,allClassOptions:g,allMonthOptions:o,uncategorizedAccounts:m,selectedAccount:r,selectedClass:y,selectedDate:L,selectedMonths:I,selectedPostingDay:O,lastDayOfMonth:A,isDisabled:f,allowCreateSchedule:b,onCreateSchedule:u,onDelete:ae,onMarkAsComplete:_}){const{resetField:R}=We(),U=$(e,"scheduleExpenseCategory"),W=$(e,"scheduleClass"),se=$(e,"startDate"),B=$(e,"postingDate"),C=$(e,"months"),S=De.getLocalizedStrings().jeSchedules.scheduleDetails.scheduleDetailsSection,ne=c=>t.filter(N=>N.qboId===c)[0]?.qboId,oe=c=>i.filter(N=>N.classId===c)[0]?.accountingClassNumber,q={valueContainer:c=>({...c,overflow:"unset"})},J=qe(),v=ct({startDate:s.baseTransaction.date,endDate:s.baseTransaction.date.add(1,"year")}),h=()=>{R(B)},n=O==null&&A==null?void 0:A===!0?"lastDayOfMonth":"day",x=c=>[m.expense?.qboId,m.income?.qboId].includes(c),E=()=>{s.jeScheduleId!=null&&ae(s.jeScheduleId)},K=s.scheduledJournalEntry.flatMap(c=>c.error);return a.jsxs(ot,{children:[a.jsx(at,{isUpdating:p==="In-Progress",status:s.status.code,jeScheduleId:s.jeScheduleId,allowCreateSchedule:b,onDelete:E,onMarkAsComplete:_,onCreateSchedule:u}),a.jsx(re,{controller:b===!0,children:a.jsxs(nt,{children:[a.jsx(me,{isDisabled:K.includes("debit_category_deleted")?void 0:f,isLoading:!1,label:{label:S.expenseCategory,width:z.labelWidth.value(J)},groupedSingleSelectField:{customPlaceholderColor:K.includes("debit_category_deleted")?Ke.brandColorGoldDark:void 0,shouldShowChevronIcon:!1,name:U,placeholder:S.expenseCategoryPlaceholder,valueToId:c=>ne(c),defaultValue:{selectedOption:r,allOptions:l},registerOptions:{required:!0,validate:c=>!!c.selectedOption},customStyleConfig:q},disableCurrentOption:x,style:{borderTopLeftRadius:Z[2],borderTopRightRadius:Z[2]}}),a.jsx(ee,{}),a.jsx(me,{isDisabled:f,isLoading:!1,label:{label:S.class,width:z.labelWidth.value(J)},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:W,placeholder:S.classPlaceholder,valueToId:c=>oe(c),defaultValue:{selectedOption:y,allOptions:g},registerOptions:{required:!0,validate:c=>!!c.selectedOption},customStyleConfig:q},style:{borderTopLeftRadius:Z[0],borderTopRightRadius:Z[0]}}),a.jsx(ee,{}),a.jsx(He,{label:{label:S.startMonth,width:z.labelWidth.value(J)},monthSelectorField:{name:se,placeholder:S.startMonthPlaceholder,defaultValue:L,showDownChevron:!1,isDisabled:f,monthsAndYears:v},isDisabled:f}),a.jsx(ee,{}),a.jsx(st,{label:{label:S.postingDate,width:z.labelWidth.value(J)},isDisabled:f,dayOfMonthField:{placeholder:S.postingDatePlaceholder,name:B,defaultValue:{type:n,dayOfMonth:O},onSaveClick:()=>{},onCancelClick:h}}),a.jsx(ee,{}),a.jsx(Ye,{label:{label:S.months,width:z.labelWidth.value(J)},singleSelectNumericField:{name:C,isDisabled:f,placeholder:S.monthsPlaceholder,defaultValue:{selectedOption:I!=null?o[I-1]:void 0,allOptions:o},registerOptions:{required:!0,validate:c=>!!c.selectedOption}}})]})}),a.jsx(re,{controller:b===!1,children:a.jsx(Xe,{text:S.scheduleMarkedAsCompleted})})]})}const ct=e=>{const s={},p=e.endDate.year()-e.startDate.year()+1,l=e.endDate.year(),t=e.startDate.year();return{years:Array(p).fill(l).map((i,g)=>{const o=i-g,m=o.toString();let r=[];if(o===t){const y=e.startDate.month();r=e.startDate.localeData().monthsShort(),y!==0&&r.splice(0,y)}else r=et(`${o}-01-01`).localeData().monthsShort();return s[m]=r,m}).reverse(),months:s}},it=P.div`
21
+ `,$=(e,s)=>`${e}.${s}`;function dt({sectionId:e,jeScheduledTransaction:s,updateStatus:p,allAccountOptions:l,allAccountList:t,allClassList:i,allClassOptions:C,allMonthOptions:o,uncategorizedAccounts:m,selectedAccount:r,selectedClass:y,selectedDate:L,selectedMonths:I,selectedPostingDay:O,lastDayOfMonth:A,isDisabled:f,allowCreateSchedule:g,onCreateSchedule:u,onDelete:ae,onMarkAsComplete:_}){const{resetField:R}=We(),U=$(e,"scheduleExpenseCategory"),W=$(e,"scheduleClass"),se=$(e,"startDate"),B=$(e,"postingDate"),b=$(e,"months"),S=De.getLocalizedStrings().jeSchedules.scheduleDetails.scheduleDetailsSection,ne=c=>t.filter(N=>N.qboId===c)[0]?.qboId,oe=c=>i.filter(N=>N.classId===c)[0]?.accountingClassNumber,q={valueContainer:c=>({...c,overflow:"unset"})},J=qe(),v=ct({startDate:s.baseTransaction.date,endDate:s.baseTransaction.date.add(1,"year")}),h=()=>{R(B)},n=O==null&&A==null?void 0:A===!0?"lastDayOfMonth":"day",x=c=>[m.expense?.qboId,m.income?.qboId].includes(c),E=()=>{s.jeScheduleId!=null&&ae(s.jeScheduleId)},K=s.scheduledJournalEntry.flatMap(c=>c.error);return a.jsxs(ot,{children:[a.jsx(at,{isUpdating:p==="In-Progress",status:s.status.code,jeScheduleId:s.jeScheduleId,allowCreateSchedule:g,onDelete:E,onMarkAsComplete:_,onCreateSchedule:u}),a.jsx(re,{controller:g===!0,children:a.jsxs(nt,{children:[a.jsx(me,{isDisabled:K.includes("debit_category_deleted")?void 0:f,isLoading:!1,label:{label:S.expenseCategory,width:z.labelWidth.value(J)},groupedSingleSelectField:{customPlaceholderColor:K.includes("debit_category_deleted")?Ke.brandColorGoldDark:void 0,shouldShowChevronIcon:!1,name:U,placeholder:S.expenseCategoryPlaceholder,valueToId:c=>ne(c),defaultValue:{selectedOption:r,allOptions:l},registerOptions:{required:!0,validate:c=>!!c.selectedOption},customStyleConfig:q},disableCurrentOption:x,style:{borderTopLeftRadius:Z[2],borderTopRightRadius:Z[2]}}),a.jsx(ee,{}),a.jsx(me,{isDisabled:f,isLoading:!1,label:{label:S.class,width:z.labelWidth.value(J)},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:W,placeholder:S.classPlaceholder,valueToId:c=>oe(c),defaultValue:{selectedOption:y,allOptions:C},registerOptions:{required:!0,validate:c=>!!c.selectedOption},customStyleConfig:q},style:{borderTopLeftRadius:Z[0],borderTopRightRadius:Z[0]}}),a.jsx(ee,{}),a.jsx(He,{label:{label:S.startMonth,width:z.labelWidth.value(J)},monthSelectorField:{name:se,placeholder:S.startMonthPlaceholder,defaultValue:L,showDownChevron:!1,isDisabled:f,monthsAndYears:v},isDisabled:f}),a.jsx(ee,{}),a.jsx(st,{label:{label:S.postingDate,width:z.labelWidth.value(J)},isDisabled:f,dayOfMonthField:{placeholder:S.postingDatePlaceholder,name:B,defaultValue:{type:n,dayOfMonth:O},onSaveClick:()=>{},onCancelClick:h}}),a.jsx(ee,{}),a.jsx(Ye,{label:{label:S.months,width:z.labelWidth.value(J)},singleSelectNumericField:{name:b,isDisabled:f,placeholder:S.monthsPlaceholder,defaultValue:{selectedOption:I!=null?o[I-1]:void 0,allOptions:o},registerOptions:{required:!0,validate:c=>!!c.selectedOption}}})]})}),a.jsx(re,{controller:g===!1,children:a.jsx(Xe,{text:S.scheduleMarkedAsCompleted})})]})}const ct=e=>{const s={},p=e.endDate.year()-e.startDate.year()+1,l=e.endDate.year(),t=e.startDate.year();return{years:Array(p).fill(l).map((i,C)=>{const o=i-C,m=o.toString();let r=[];if(o===t){const y=e.startDate.month();r=e.startDate.localeData().monthsShort(),y!==0&&r.splice(0,y)}else r=et(`${o}-01-01`).localeData().monthsShort();return s[m]=r,m}).reverse(),months:s}},it=P.div`
22
22
  display: flex;
23
23
  flex-direction: column;
24
24
  width: 100%;
@@ -34,4 +34,4 @@ import{aR as F,ir as Q,gL as Ie,eF as Je,is as we,a9 as Le,it as Me,cH as Ve,cI
34
34
  `,ht=P.div`
35
35
  display: flex;
36
36
  justify-content: center;
37
- `,fe="scheduleDetailsPage",te="scheduleDetailsSection",le="scheduleDetailsListSection",pt=De.getLocalizedStrings(),{common:k,jeSchedules:{scheduleDetails:mt}}=pt;function kt({analytics:e,controllerUserDetails:s,expenseAutomationSelectedPeriod:p,scheduleDetailsView:l,scheduleTab:t,usedInExpenseAutomation:i,vendorSearchAutoCompleteActions:g,vendorSearchAutoCompleteData:o,onMarkAsComplete:m,onNavigateBack:r,onEditAmount:y,onJELinkClick:L,onSave:I,onDelete:O,onDetailPageChange:A,onViewLinkedJE:f,onTransactionClick:b,removeJeScheduleTransactionKey:u}){const[ae,_]=D.useState(!1),R=F(l.updateStatus.fetchState),U=F(l.selectedJEScheduleTransaction?.status.code),W=F(l.deleteStatus.fetchState),[se,B]=D.useState(!1),C=l.scheduleDetailsLocalData.prepaid_expenses,S=F(C.jeScheduleDetails.length),ne=F(C.selectedDate),oe=F(C.selectedDayOfMonth),[q,J]=D.useState(!0),v=l.selectedJEScheduleTransaction?.vendor,h=l.selectedJEScheduleTransaction?.baseTransaction,n=l.selectedJEScheduleTransaction,x=Qe(s.controllers),E=Ze(s.controllerUserIds),K={onOkClick:()=>{_(!1),r()},onCancelClick:()=>{_(!1)}},c=d=>{const T=n?.scheduledJournalEntry[d];h!=null&&T!=null&&n!=null&&e.trackScheduleDetailsLinkJournalEntry({scheduleType:t,transaction:{...Ue(h)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...pe(T)},vendorName:v!=null?v.name:k.strings.hyphen,controllerEmails:x,controllerUserIds:E}),L(d)},N=(d,T)=>{const j=n?.scheduledJournalEntry[T];h!=null&&j!=null&&n!=null&&e.trackScheduleDetailsViewJournalEntry({scheduleType:t,scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:pe(j),controllerEmails:x,controllerUserIds:E}),f(d)};D.useEffect(()=>{R==="In-Progress"&&l.updateStatus.fetchState==="Completed"&&(h!=null&&n!=null&&e.trackScheduleDetailsSaved(Q({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:v,controllerEmails:x,controllerUserIds:E})),i===!0&&n?.jeScheduleTransactionKey!=null&&U==="draft"&&l.selectedJEScheduleTransaction?.status.code==="ongoing"&&u(n.jeScheduleTransactionKey,{month:p.month,year:p.year}),r())},[U,l.selectedJEScheduleTransaction?.status.code,e,r,p,R,l.updateStatus,u,t,i,n,h,v,x,E]),D.useEffect(()=>{W==="In-Progress"&&l.deleteStatus.fetchState==="Completed"&&r()},[W,l.deleteStatus,r]);const G=Ie(l.accountListNestedAccountHierarchy),H=Je(l.classListNestedAccountHierarchy),Y=we(t),ue=D.useRef(),M=Le({mode:"all",reValidateMode:"onChange",defaultValues:ie(l,G,H,Y,o.entityAutoCompleteView),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:ie(l,G,H,Y,o.entityAutoCompleteView)}),de=M.watch("scheduleDetailsSection.vendor");D.useEffect(()=>{o.entityAutoCompleteView.fetchState==="Completed"&&ue.current?.(Me(o.entityAutoCompleteView))},[o.entityAutoCompleteView.fetchState]);const ye=(d,T)=>{g.onAutoCompleteInputChange?.(d,"vendor"),ue.current=T},Ce=M.handleSubmit(()=>{I(l.selectedJEScheduleTransaction?.jeScheduleId)}),ge=async(d,T)=>{const j=T[te].vendor;if(d.includes("vendor")){const ce=j?.defaultOptions.map(V=>V.value);if(j?.selectedOption!=null&&ce?.includes(j.selectedOption)!==!0){const V=o.entityAutoCompleteView.vendor.find(ke=>ke.id===j.selectedOption);V!=null&&M.setValue("scheduleDetailsSection.vendor.defaultOptions",[{label:V.name??k.strings.empty,value:V.id}])}}const X=d.includes("amount");if(A(T,X),d.includes("amount")){const ce=d.split(".")[1],V=parseInt(ce);B(!0),y(V,l.selectedJEScheduleTransaction?.jeScheduleId)}};D.useEffect(()=>{let d=!0;const T=M.watch((j,{name:X})=>{X!=null&&j!=null&&Ve(()=>{d&&ge(X,j)})});return()=>{d=!1,T.unsubscribe()}}),D.useEffect(()=>{(S!==C.jeScheduleDetails.length||ne!==C.selectedDate||oe!==C.selectedDayOfMonth)&&se===!0&&(M.resetField(le,{defaultValue:ie(l,G,H,Y,o.entityAutoCompleteView)[le],keepDirty:!1}),B(!1))},[C.jeScheduleDetails.length,C.selectedDate,C.selectedDayOfMonth]),D.useEffect(()=>{l.selectedJEScheduleTransaction?.status.code==="marked_as_completed"&&J(!1)},[l.selectedJEScheduleTransaction?.status.code]);const he=(Pe(M.formState.dirtyFields)||l.selectedJEScheduleTransaction?.status.code==="draft")&&C.jeScheduleDetails.length>0,be=()=>{he===!0?_(!0):(h!=null&&n!=null&&e.trackScheduleDetailsCanceled(Q({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:v,controllerEmails:x,controllerUserIds:E})),r())},ve=()=>{l.selectedJEScheduleTransaction!=null&&b({id:l.selectedJEScheduleTransaction?.baseTransaction.id,type:l.selectedJEScheduleTransaction?.baseTransaction.type})},xe=D.useCallback(()=>{J(!0)},[]),Ee=D.useCallback(()=>{h!=null&&n!=null&&e.trackScheduleDetailsMarkedAsCompleted(Q({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:v,controllerEmails:x,controllerUserIds:E})),m()},[e,n,m,t,h,v,x,E]),Te=D.useCallback(d=>{h!=null&&n!=null&&e.trackScheduleDetailsDeleted(Q({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:v,controllerEmails:x,controllerUserIds:E})),O(d)},[e,n,O,t,h,v,x,E]),je=(l.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(d=>d.error??[]).filter(d=>!!d)??[])?.includes("vendor_deleted")===!0?de?.defaultOptions.find(d=>d.value===de?.selectedOption)?.[0]?.label:l?.selectedJEScheduleTransaction?.vendor?.name,Oe=a.jsx(ft,{onNavigateBack:be,onTransactionClick:ve,title:je??k.strings.empty}),Ae=a.jsx(rt,{children:a.jsx(_e,{...M,children:a.jsxs("form",{style:{width:"100%"},id:Se(fe),onSubmit:Ce,children:[a.jsx(St,{vendorLoadOptions:ye,vendorField:de,vendorSearchAutoCompleteActions:g,vendorSearchAutoCompleteData:o,scheduleDetailsView:l,allAccountOptions:G,allClassOptions:H,allMonthOptions:Y,allowCreateSchedule:q,onEditAmount:y,onDelete:Te,onJELinkClick:c,onViewLinkedJE:N,onMarkAsComplete:Ee,onCreateSchedule:xe}),ae===!0?a.jsx(Fe,{titleComponent:a.jsx(Be,{children:k.confirmationPopup.discardTitle}),descriptionComponent:a.jsx($e,{children:k.confirmationPopup.discardDescription}),primaryButtonText:k.confirmationPopup.discard,secondaryButtonText:k.confirmationPopup.cancel,proceedButtonVariant:"danger",action:K}):null,he===!0?a.jsx(Ne,{formId:Se(fe),primaryBtn:{label:k.footer.save,style:{minWidth:"82px"},isLoading:l.updateStatus.fetchState==="In-Progress",isDisabled:l.updateStatus.fetchState==="In-Progress"},cancelBtn:{label:k.footer.cancel,shouldResetOnCancel:!0,onClick:()=>{_(!0)},style:{minWidth:"82px"}}}):null]})})});return a.jsxs(it,{children:[Oe,Ae]})}function ft({title:e,onNavigateBack:s,onTransactionClick:p}){return a.jsx(Re,{title:e,tooltipTextOnLaunch:mt.showTransactionTooltip,onBackClick:s,onLaunchClick:p,style:{zIndex:3}})}function St({vendorField:e,vendorLoadOptions:s,vendorSearchAutoCompleteActions:p,vendorSearchAutoCompleteData:l,scheduleDetailsView:t,allAccountOptions:i,allClassOptions:g,allMonthOptions:o,allowCreateSchedule:m,onCreateSchedule:r,onMarkAsComplete:y,onEditAmount:L,onDelete:I,onJELinkClick:O,onViewLinkedJE:A}){const f=t.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(b=>b.error??[]).filter(b=>!!b)??[];return t.selectedJEScheduleTransaction!=null?a.jsxs(ut,{children:[a.jsx(ht,{children:a.jsx(tt,{errors:f,vendorLoadOptions:s,vendorField:e,vendorFieldName:$(te,"vendor"),vendorSearchAutoCompleteActions:p,vendorSearchAutoCompleteData:l,transaction:t.selectedJEScheduleTransaction.baseTransaction,vendor:t.selectedJEScheduleTransaction.vendor})}),a.jsx(dt,{sectionId:te,jeScheduledTransaction:t.selectedJEScheduleTransaction,allAccountOptions:i,allAccountList:t.allAccountList,allClassList:t.allClassList,allClassOptions:g,allMonthOptions:o,uncategorizedAccounts:t.uncategorizedAccounts,lastDayOfMonth:t.scheduleDetailsLocalData.prepaid_expenses.lastDayOfMonth,selectedPostingDay:t.scheduleDetailsLocalData.prepaid_expenses.selectedDayOfMonth,selectedMonths:t.scheduleDetailsLocalData.prepaid_expenses.selectedMonths,isDisabled:t.selectedJEScheduleTransaction.jeScheduleId!=null&&t.selectedJEScheduleTransaction.status.code!=="marked_as_completed"&&t.selectedJEScheduleTransaction.status.code!=="draft"?"disabled":void 0,allowCreateSchedule:m,onCreateSchedule:r,onDelete:I,onMarkAsComplete:y,updateStatus:t.deleteStatus.fetchState}),a.jsx(re,{controller:m===!0,children:a.jsx(lt,{sectionId:le,totalAmount:t.selectedJEScheduleTransaction.baseTransaction.amount.amount,listFetchState:t.fetchState,scheduleJournalEntries:t.selectedJEScheduleTransaction.scheduledJournalEntry,hideMemoField:t.selectedJEScheduleTransaction.jeScheduleId==null,localData:t.scheduleDetailsLocalData.prepaid_expenses.jeScheduleDetails,uiState:t.uiState,onEditAmount:L,onJELinkClick:O,onViewLinkedJE:A,jeScheduleId:t.selectedJEScheduleTransaction.baseTransaction.id})})]}):null}const Se=e=>`${e}_form`,ie=(e,s,p,l,t)=>{const i=e.scheduleDetailsLocalData.prepaid_expenses,g=i.selectedAccount,o=i.selectedVendor,m=o!=null?t.vendor.find(u=>u.zeniId===o.id):void 0,r=g!=null?e.allAccountList.find(u=>u.accountId===g):void 0,y=i.selectedClass,L=y!=null?e.allClassList.find(u=>u.classId===y):void 0,I=i.selectedMonths,O=i.jeScheduleDetails.map(u=>({postingDate:u.postingDate,amount:u.amount.amount,runningBalance:u.runningBalance.amount,postingStatus:u.postingStatus,jeLink:u.jeLink.thirdPartyTransactionId})),A=i.selectedDayOfMonth,f=i.lastDayOfMonth,b=A==null&&f==null?void 0:f===!0?"lastDayOfMonth":"day";return{[te]:{scheduleExpenseCategory:{selectedOption:r?.qboId,allOptions:s},scheduleClass:{selectedOption:L?.classId,allOptions:p},startDate:i.selectedDate,months:{selectedOption:I,allOptions:l},vendor:{selectedOption:m?.id??o?.id,defaultOptions:ze(t,m??o)},postingDate:{type:b,dayOfMonth:A}},[le]:O}};export{kt as default};
37
+ `,fe="scheduleDetailsPage",te="scheduleDetailsSection",le="scheduleDetailsListSection",pt=De.getLocalizedStrings(),{common:k,jeSchedules:{scheduleDetails:mt}}=pt;function kt({analytics:e,controllerUserDetails:s,expenseAutomationSelectedPeriod:p,scheduleDetailsView:l,scheduleTab:t,usedInExpenseAutomation:i,vendorSearchAutoCompleteActions:C,vendorSearchAutoCompleteData:o,onMarkAsComplete:m,onNavigateBack:r,onEditAmount:y,onJELinkClick:L,onSave:I,onDelete:O,onDetailPageChange:A,onViewLinkedJE:f,onTransactionClick:g,removeJeScheduleTransactionKey:u}){const[ae,_]=D.useState(!1),R=F(l.updateStatus.fetchState),U=F(l.selectedJEScheduleTransaction?.status.code),W=F(l.deleteStatus.fetchState),[se,B]=D.useState(!1),b=l.scheduleDetailsLocalData.prepaid_expenses,S=F(b.jeScheduleDetails.length),ne=F(b.selectedDate),oe=F(b.selectedDayOfMonth),[q,J]=D.useState(!0),v=l.selectedJEScheduleTransaction?.vendor,h=l.selectedJEScheduleTransaction?.baseTransaction,n=l.selectedJEScheduleTransaction,x=Qe(s.controllers),E=Ze(s.controllerUserIds),K={onOkClick:()=>{_(!1),r()},onCancelClick:()=>{_(!1)}},c=d=>{const T=n?.scheduledJournalEntry[d];h!=null&&T!=null&&n!=null&&e.trackScheduleDetailsLinkJournalEntry({scheduleType:t,transaction:{...Ue(h)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...pe(T)},vendorName:v!=null?v.name:k.strings.hyphen,controllerEmails:x,controllerUserIds:E}),L(d)},N=(d,T)=>{const j=n?.scheduledJournalEntry[T];h!=null&&j!=null&&n!=null&&e.trackScheduleDetailsViewJournalEntry({scheduleType:t,scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:pe(j),controllerEmails:x,controllerUserIds:E}),f(d)};D.useEffect(()=>{R==="In-Progress"&&l.updateStatus.fetchState==="Completed"&&(h!=null&&n!=null&&e.trackScheduleDetailsSaved(Q({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:v,controllerEmails:x,controllerUserIds:E})),i===!0&&n?.jeScheduleTransactionKey!=null&&U==="draft"&&l.selectedJEScheduleTransaction?.status.code==="ongoing"&&u(n.jeScheduleTransactionKey,{month:p.month,year:p.year}),r())},[U,l.selectedJEScheduleTransaction?.status.code,e,r,p,R,l.updateStatus,u,t,i,n,h,v,x,E]),D.useEffect(()=>{W==="In-Progress"&&l.deleteStatus.fetchState==="Completed"&&r()},[W,l.deleteStatus,r]);const G=Ie(l.accountListNestedAccountHierarchy),H=Je(l.classListNestedAccountHierarchy),Y=we(t),ue=D.useRef(),M=Le({mode:"all",reValidateMode:"onChange",defaultValues:ie(l,G,H,Y,o.entityAutoCompleteView),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:ie(l,G,H,Y,o.entityAutoCompleteView)}),de=M.watch("scheduleDetailsSection.vendor");D.useEffect(()=>{o.entityAutoCompleteView.fetchState==="Completed"&&ue.current?.(Me(o.entityAutoCompleteView))},[o.entityAutoCompleteView.fetchState]);const ye=(d,T)=>{C.onAutoCompleteInputChange?.(d,"vendor"),ue.current=T},be=M.handleSubmit(()=>{I(l.selectedJEScheduleTransaction?.jeScheduleId)}),Ce=async(d,T)=>{const j=T[te].vendor;if(d.includes("vendor")){const ce=j?.defaultOptions.map(V=>V.value);if(j?.selectedOption!=null&&ce?.includes(j.selectedOption)!==!0){const V=o.entityAutoCompleteView.vendor.find(ke=>ke.id===j.selectedOption);V!=null&&M.setValue("scheduleDetailsSection.vendor.defaultOptions",[{label:V.name??k.strings.empty,value:V.id}])}}const X=d.includes("amount");if(A(T,X),d.includes("amount")){const ce=d.split(".")[1],V=parseInt(ce);B(!0),y(V,l.selectedJEScheduleTransaction?.jeScheduleId)}};D.useEffect(()=>{let d=!0;const T=M.watch((j,{name:X})=>{X!=null&&j!=null&&Ve(()=>{d&&Ce(X,j)})});return()=>{d=!1,T.unsubscribe()}}),D.useEffect(()=>{(S!==b.jeScheduleDetails.length||ne!==b.selectedDate||oe!==b.selectedDayOfMonth)&&se===!0&&(M.resetField(le,{defaultValue:ie(l,G,H,Y,o.entityAutoCompleteView)[le],keepDirty:!1}),B(!1))},[b.jeScheduleDetails.length,b.selectedDate,b.selectedDayOfMonth]),D.useEffect(()=>{l.selectedJEScheduleTransaction?.status.code==="marked_as_completed"&&J(!1)},[l.selectedJEScheduleTransaction?.status.code]);const he=(Pe(M.formState.dirtyFields)||l.selectedJEScheduleTransaction?.status.code==="draft")&&b.jeScheduleDetails.length>0,ge=()=>{he===!0?_(!0):(h!=null&&n!=null&&e.trackScheduleDetailsCanceled(Q({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:v,controllerEmails:x,controllerUserIds:E})),r())},ve=()=>{l.selectedJEScheduleTransaction!=null&&g({id:l.selectedJEScheduleTransaction?.baseTransaction.id,type:l.selectedJEScheduleTransaction?.baseTransaction.type})},xe=D.useCallback(()=>{J(!0)},[]),Ee=D.useCallback(()=>{h!=null&&n!=null&&e.trackScheduleDetailsMarkedAsCompleted(Q({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:v,controllerEmails:x,controllerUserIds:E})),m()},[e,n,m,t,h,v,x,E]),Te=D.useCallback(d=>{h!=null&&n!=null&&e.trackScheduleDetailsDeleted(Q({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:v,controllerEmails:x,controllerUserIds:E})),O(d)},[e,n,O,t,h,v,x,E]),je=(l.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(d=>d.error??[]).filter(d=>!!d)??[])?.includes("vendor_deleted")===!0?de?.defaultOptions.find(d=>d.value===de?.selectedOption)?.[0]?.label:l?.selectedJEScheduleTransaction?.vendor?.name,Oe=a.jsx(ft,{onNavigateBack:ge,onTransactionClick:ve,title:je??k.strings.empty}),Ae=a.jsx(rt,{children:a.jsx(_e,{...M,children:a.jsxs("form",{style:{width:"100%"},id:Se(fe),onSubmit:be,children:[a.jsx(St,{vendorLoadOptions:ye,vendorField:de,vendorSearchAutoCompleteActions:C,vendorSearchAutoCompleteData:o,scheduleDetailsView:l,allAccountOptions:G,allClassOptions:H,allMonthOptions:Y,allowCreateSchedule:q,onEditAmount:y,onDelete:Te,onJELinkClick:c,onViewLinkedJE:N,onMarkAsComplete:Ee,onCreateSchedule:xe}),ae===!0?a.jsx(Fe,{titleComponent:a.jsx(Be,{children:k.confirmationPopup.discardTitle}),descriptionComponent:a.jsx($e,{children:k.confirmationPopup.discardDescription}),primaryButtonText:k.confirmationPopup.discard,secondaryButtonText:k.confirmationPopup.cancel,proceedButtonVariant:"danger",action:K}):null,he===!0?a.jsx(Ne,{formId:Se(fe),primaryBtn:{label:k.footer.save,style:{minWidth:"82px"},isLoading:l.updateStatus.fetchState==="In-Progress",isDisabled:l.updateStatus.fetchState==="In-Progress"},cancelBtn:{label:k.footer.cancel,shouldResetOnCancel:!0,onClick:()=>{_(!0)},style:{minWidth:"82px"}}}):null]})})});return a.jsxs(it,{children:[Oe,Ae]})}function ft({title:e,onNavigateBack:s,onTransactionClick:p}){return a.jsx(Re,{title:e,tooltipTextOnLaunch:mt.showTransactionTooltip,onBackClick:s,onLaunchClick:p,style:{zIndex:3}})}function St({vendorField:e,vendorLoadOptions:s,vendorSearchAutoCompleteActions:p,vendorSearchAutoCompleteData:l,scheduleDetailsView:t,allAccountOptions:i,allClassOptions:C,allMonthOptions:o,allowCreateSchedule:m,onCreateSchedule:r,onMarkAsComplete:y,onEditAmount:L,onDelete:I,onJELinkClick:O,onViewLinkedJE:A}){const f=t.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(g=>g.error??[]).filter(g=>!!g)??[];return t.selectedJEScheduleTransaction!=null?a.jsxs(ut,{children:[a.jsx(ht,{children:a.jsx(tt,{errors:f,vendorLoadOptions:s,vendorField:e,vendorFieldName:$(te,"vendor"),vendorSearchAutoCompleteActions:p,vendorSearchAutoCompleteData:l,transaction:t.selectedJEScheduleTransaction.baseTransaction,vendor:t.selectedJEScheduleTransaction.vendor})}),a.jsx(dt,{sectionId:te,jeScheduledTransaction:t.selectedJEScheduleTransaction,allAccountOptions:i,allAccountList:t.allAccountList,allClassList:t.allClassList,allClassOptions:C,allMonthOptions:o,uncategorizedAccounts:t.uncategorizedAccounts,lastDayOfMonth:t.scheduleDetailsLocalData.prepaid_expenses.lastDayOfMonth,selectedPostingDay:t.scheduleDetailsLocalData.prepaid_expenses.selectedDayOfMonth,selectedMonths:t.scheduleDetailsLocalData.prepaid_expenses.selectedMonths,isDisabled:t.selectedJEScheduleTransaction.jeScheduleId!=null&&t.selectedJEScheduleTransaction.status.code!=="marked_as_completed"&&t.selectedJEScheduleTransaction.status.code!=="draft"?"disabled":void 0,allowCreateSchedule:m,onCreateSchedule:r,onDelete:I,onMarkAsComplete:y,updateStatus:t.deleteStatus.fetchState}),a.jsx(re,{controller:m===!0,children:a.jsx(lt,{sectionId:le,totalAmount:t.selectedJEScheduleTransaction.baseTransaction.amount.amount,listFetchState:t.fetchState,scheduleJournalEntries:t.selectedJEScheduleTransaction.scheduledJournalEntry,hideMemoField:t.selectedJEScheduleTransaction.jeScheduleId==null,localData:t.scheduleDetailsLocalData.prepaid_expenses.jeScheduleDetails,uiState:t.uiState,onEditAmount:L,onJELinkClick:O,onViewLinkedJE:A,jeScheduleId:t.selectedJEScheduleTransaction.baseTransaction.id})})]}):null}const Se=e=>`${e}_form`,ie=(e,s,p,l,t)=>{const i=e.scheduleDetailsLocalData.prepaid_expenses,C=i.selectedAccount,o=i.selectedVendor,m=o!=null?t.vendor.find(u=>u.zeniId===o.id):void 0,r=C!=null?e.allAccountList.find(u=>u.accountId===C):void 0,y=i.selectedClass,L=y!=null?e.allClassList.find(u=>u.classId===y):void 0,I=i.selectedMonths,O=i.jeScheduleDetails.map(u=>({postingDate:u.postingDate,amount:u.amount.amount,runningBalance:u.runningBalance.amount,postingStatus:u.postingStatus,jeLink:u.jeLink.thirdPartyTransactionId})),A=i.selectedDayOfMonth,f=i.lastDayOfMonth,g=A==null&&f==null?void 0:f===!0?"lastDayOfMonth":"day";return{[te]:{scheduleExpenseCategory:{selectedOption:r?.qboId,allOptions:s},scheduleClass:{selectedOption:L?.classId,allOptions:p},startDate:i.selectedDate,months:{selectedOption:I,allOptions:l},vendor:{selectedOption:m?.id??o?.id,defaultOptions:ze(t,m??o)},postingDate:{type:g,dayOfMonth:A}},[le]:O}};export{kt as default};
@@ -1,4 +1,4 @@
1
- import{J as A,d as Q,V as t,iB as ie,iC as le,H as oe,iD as xe,dU as fe,fl as ye,b as I,F as R,iE as we,iA as be,o as i,y as b,p as j,c as $e,ab as je,aa as re,dO as Se,cr as ke,ct as ve,cL as X,ex as ee,cQ as De,iF as K,iG as Ce,b4 as Me,iH as ze,cv as Ee,iI as Le,u as h,am as E,ba as Oe,cs as Ie,ap as pe,eG as Ae,b2 as ne,es as Fe,aS as Te,iJ as F,gk as Ve,aP as Je,iK as Be,aW as q,d1 as Pe,bi as Re}from"./index-V6jIIx9c.js";import{n as o,c as B}from"./mui-CcAbIvqz.js";import{a as C}from"./sentry-C9gjpXHu.js";import{bh as G,Gc as Ne}from"./zeni-epic-state-yTwK6eAd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="90edb35b-ccbd-4d65-9cb4-5fb47005c8d0",e._sentryDebugIdIdentifier="sentry-dbid-90edb35b-ccbd-4d65-9cb4-5fb47005c8d0")}catch{}})();const N=(e,l)=>`${e}.${l}`,{formElements:{dayOfMonthSelector:M},common:se}=R.getLocalizedStrings();function We({defaultValue:e,name:l,placeholder:s,alignLeft:r=!1,style:p,isDisabled:n,registerOptions:d,onSaveClick:c,onCancelClick:w}){const[f,u]=C.useState(!1),{control:m,formState:{errors:x},setValue:S}=X(),v=()=>{k||(c(),u(!1))},y=()=>{w(),u(!1)},k=ee(x,l),g=A(),a=Q();return t.jsx(pe,{onClickAway:()=>{u(!1)},children:t.jsx(Qe,{style:p,isDisabled:n!=null,windowSize:g,onClick:()=>{!f&&n==null&&u(!0)},children:t.jsx(Ae,{name:N(l,"dayOfMonth"),control:m,rules:{...d},render:()=>t.jsxs(qe,{children:[t.jsx(_e,{placeholder:s,defaultValue:e,isDisabled:n}),f?t.jsxs(Ke,{alignLeft:r===!0,children:[t.jsx(tt,{}),t.jsxs(ae,{isSelected:e.type==="day",children:[t.jsxs(et,{isError:e.type==="day"&&k,children:[t.jsx(ne,{label:{label:M.pickDate},radioField:{id:"day",name:N(l,"type"),value:"day",radioSize:"small",checked:e.type==="day"},style:{...I.smallRegular.cssObject,padding:`${i.sp3} ${i.sp0}`,width:"fit-content",marginLeft:i.sp3,minWidth:"35%"},labelStyle:{color:e.type==="day"&&k?j.important:"inherit"}}),t.jsx(Fe,{name:N(l,"dayOfMonth"),type:"number",placeholder:M.placeholder,disableCopyPaste:!0,autoTrim:"trim",onKeyDown:$=>{$.key!=="Backspace"&&isNaN(parseInt($.key))&&$.preventDefault()},defaultValue:e.dayOfMonth!=null&&!isNaN(e.dayOfMonth)?e.dayOfMonth:0,registerOptions:{min:1,max:28},outerDivStyle:{width:"fit-content",marginLeft:i.sp1,marginRight:i.sp1},style:{border:`1px solid ${e.type==="day"&&k?j.important:a.colors.grey2}`,borderRadius:i.sp1,...I.smallRegular.cssObject,padding:i.sp2,maxWidth:"35px",boxSizing:"border-box"}}),t.jsx(Ze,{isSelected:e.type==="day",children:M.ofEveryMonth})]}),t.jsx(He,{defaultValue:e.dayOfMonth,onClick:$=>{S(`${l}.dayOfMonth`,$),S(`${l}.type`,"day")}})]}),t.jsx(it,{}),t.jsx(ae,{isSelected:e.type==="lastDayOfMonth",children:t.jsx(ne,{label:{label:M.lastDayOfMonth},radioField:{id:"lastDayOfMonth",name:N(l,"type"),value:"lastDayOfMonth",radioSize:"small",checked:e.type==="lastDayOfMonth"},style:{...I.smallRegular.cssObject,padding:`${i.sp3} ${i.sp0}`,width:"fit-content",marginLeft:i.sp3},labelStyle:{color:e.type==="lastDayOfMonth"&&k?j.important:"inherit"}})}),t.jsx(Te,{primaryBtn:{label:se.footer.save,onClick:v,isDisabled:Ye(e),type:"button",style:{minWidth:"83px"}},cancelBtn:{label:se.footer.cancel,onClick:y,style:{minWidth:"83px"}},style:{position:"unset",backgroundColor:"transparent"}})]}):null]})})})})}function _e({placeholder:e,defaultValue:l,isDisabled:s}){return t.jsxs(Ge,{isDisabled:s!=null,children:[l?.type==null?t.jsx(Ue,{children:e}):null,l?.type=="day"&&l.dayOfMonth!=null?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth[`${l.dayOfMonth}`]}),t.jsx(W,{children:M.ofEveryMonth})]}):null,l?.type==="lastDayOfMonth"?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth.lastDayOfMonth}),t.jsx(W,{children:M.ofEveryMonth})]}):null]})}function He({defaultValue:e,onClick:l}){return t.jsxs(Xe,{children:[t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+1;return t.jsx(H,{isSelected:r===e,onClick:()=>l(Ne(r)),children:r},r)})}),t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+8;return t.jsx(H,{isSelected:r===e,onClick:()=>l(r),children:r},r)})}),t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+15;return t.jsx(H,{isSelected:r===e,onClick:()=>l(r),children:r},r)})}),t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+22;return t.jsx(H,{isSelected:r===e,onClick:()=>l(r),children:r},r)})})]})}const Ye=e=>{switch(e.type){case"day":return e.dayOfMonth==null;case"lastDayOfMonth":return!1;default:return!0}},qe=o.div`
1
+ import{J as A,d as Q,V as t,iB as ie,iC as le,H as oe,iD as xe,dU as fe,fl as ye,b as I,F as R,iE as we,iA as be,o as i,y as b,p as j,c as $e,ab as je,aa as re,dO as Se,cr as ke,ct as ve,cL as X,ex as ee,cQ as De,iF as K,iG as Ce,b4 as Me,iH as ze,cv as Ee,iI as Le,u as h,am as E,ba as Oe,cs as Ie,ap as pe,eG as Ae,b2 as ne,es as Fe,aS as Te,iJ as F,gk as Ve,aP as Je,iK as Be,aW as q,d1 as Pe,bi as Re}from"./index-BPZ0_UEx.js";import{n as o,c as B}from"./mui-Dg-yyLd1.js";import{a as C}from"./sentry-nVlxguQq.js";import{bh as G,Gc as Ne}from"./zeni-epic-state-DwXlACp-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="90edb35b-ccbd-4d65-9cb4-5fb47005c8d0",e._sentryDebugIdIdentifier="sentry-dbid-90edb35b-ccbd-4d65-9cb4-5fb47005c8d0")}catch{}})();const N=(e,l)=>`${e}.${l}`,{formElements:{dayOfMonthSelector:M},common:se}=R.getLocalizedStrings();function We({defaultValue:e,name:l,placeholder:s,alignLeft:r=!1,style:p,isDisabled:n,registerOptions:d,onSaveClick:c,onCancelClick:w}){const[f,u]=C.useState(!1),{control:m,formState:{errors:x},setValue:S}=X(),v=()=>{k||(c(),u(!1))},y=()=>{w(),u(!1)},k=ee(x,l),g=A(),a=Q();return t.jsx(pe,{onClickAway:()=>{u(!1)},children:t.jsx(Qe,{style:p,isDisabled:n!=null,windowSize:g,onClick:()=>{!f&&n==null&&u(!0)},children:t.jsx(Ae,{name:N(l,"dayOfMonth"),control:m,rules:{...d},render:()=>t.jsxs(qe,{children:[t.jsx(_e,{placeholder:s,defaultValue:e,isDisabled:n}),f?t.jsxs(Ke,{alignLeft:r===!0,children:[t.jsx(tt,{}),t.jsxs(ae,{isSelected:e.type==="day",children:[t.jsxs(et,{isError:e.type==="day"&&k,children:[t.jsx(ne,{label:{label:M.pickDate},radioField:{id:"day",name:N(l,"type"),value:"day",radioSize:"small",checked:e.type==="day"},style:{...I.smallRegular.cssObject,padding:`${i.sp3} ${i.sp0}`,width:"fit-content",marginLeft:i.sp3,minWidth:"35%"},labelStyle:{color:e.type==="day"&&k?j.important:"inherit"}}),t.jsx(Fe,{name:N(l,"dayOfMonth"),type:"number",placeholder:M.placeholder,disableCopyPaste:!0,autoTrim:"trim",onKeyDown:$=>{$.key!=="Backspace"&&isNaN(parseInt($.key))&&$.preventDefault()},defaultValue:e.dayOfMonth!=null&&!isNaN(e.dayOfMonth)?e.dayOfMonth:0,registerOptions:{min:1,max:28},outerDivStyle:{width:"fit-content",marginLeft:i.sp1,marginRight:i.sp1},style:{border:`1px solid ${e.type==="day"&&k?j.important:a.colors.grey2}`,borderRadius:i.sp1,...I.smallRegular.cssObject,padding:i.sp2,maxWidth:"35px",boxSizing:"border-box"}}),t.jsx(Ze,{isSelected:e.type==="day",children:M.ofEveryMonth})]}),t.jsx(He,{defaultValue:e.dayOfMonth,onClick:$=>{S(`${l}.dayOfMonth`,$),S(`${l}.type`,"day")}})]}),t.jsx(it,{}),t.jsx(ae,{isSelected:e.type==="lastDayOfMonth",children:t.jsx(ne,{label:{label:M.lastDayOfMonth},radioField:{id:"lastDayOfMonth",name:N(l,"type"),value:"lastDayOfMonth",radioSize:"small",checked:e.type==="lastDayOfMonth"},style:{...I.smallRegular.cssObject,padding:`${i.sp3} ${i.sp0}`,width:"fit-content",marginLeft:i.sp3},labelStyle:{color:e.type==="lastDayOfMonth"&&k?j.important:"inherit"}})}),t.jsx(Te,{primaryBtn:{label:se.footer.save,onClick:v,isDisabled:Ye(e),type:"button",style:{minWidth:"83px"}},cancelBtn:{label:se.footer.cancel,onClick:y,style:{minWidth:"83px"}},style:{position:"unset",backgroundColor:"transparent"}})]}):null]})})})})}function _e({placeholder:e,defaultValue:l,isDisabled:s}){return t.jsxs(Ge,{isDisabled:s!=null,children:[l?.type==null?t.jsx(Ue,{children:e}):null,l?.type=="day"&&l.dayOfMonth!=null?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth[`${l.dayOfMonth}`]}),t.jsx(W,{children:M.ofEveryMonth})]}):null,l?.type==="lastDayOfMonth"?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth.lastDayOfMonth}),t.jsx(W,{children:M.ofEveryMonth})]}):null]})}function He({defaultValue:e,onClick:l}){return t.jsxs(Xe,{children:[t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+1;return t.jsx(H,{isSelected:r===e,onClick:()=>l(Ne(r)),children:r},r)})}),t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+8;return t.jsx(H,{isSelected:r===e,onClick:()=>l(r),children:r},r)})}),t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+15;return t.jsx(H,{isSelected:r===e,onClick:()=>l(r),children:r},r)})}),t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+22;return t.jsx(H,{isSelected:r===e,onClick:()=>l(r),children:r},r)})})]})}const Ye=e=>{switch(e.type){case"day":return e.dayOfMonth==null;case"lastDayOfMonth":return!1;default:return!0}},qe=o.div`
2
2
  position: relative;
3
3
  `,Ge=o.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{D_ as Xf,D$ as Lt,E0 as Qf,iN as ot,hv as ql,iP as Ye,hs as eh,hz as Ll,E1 as Pa,hB as th,hC as rh,E2 as Gt,E3 as kt,h0 as nh,E4 as xr,E5 as ta,cO as ih,f2 as ra,e$ as Ir,f7 as rt,f5 as oh,E6 as kl,E7 as Nl,hQ as ah,hN as sh,E8 as uh,h$ as ch,hW as ja,hT as lh,hI as fh,E9 as hh,dJ as dh,cU as ph,i$ as Dl,Ea as mh,bL as Tr,hF as xa,hK as gh,oO as Ml,iO as qr,Eb as Ne,ib as na,Ec as yh,j5 as vh,B as Re,Ed as ia,Ee as bh,gZ as wh,Ef as Eh,Eg as Fl,Eh as Sh,nm as qa,mT as _h,Ei as Rh,mZ as Zr,Ej as Oh,m$ as Th,Ek as Ze,mQ as Ih,cB as Ah,iS as Ul,iT as Bl,iR as oa,iQ as aa,iU as Ch,El as Ph,np as jh,Em as xh,n6 as qh,nj as Lh,En as kh,na as Nh,Eo as Dh,Ep as _t,Eq as sa,Er as Mh,Es as Fh,lT as Uh,lZ as $l,Et as Vl,gu as Bh,D4 as Gl,Eu as $h,C_ as Vh,Ev as Gh,Ew as zh,m0 as Hh,Ex as Zh,D9 as Wh,CZ as Yh,qj as zl,Ey as Wr,Ez as Hl,A9 as ua,zX as Jh,Ac as Zl,z_ as Kh,EA as Xh,A3 as Qh,zR as ed,zU as td,EB as rd,Ag as nd,A6 as id,c4 as od,bd as ad,EC as sd,ED as ft,EE as ud,EF as cd,EG as ld,i3 as Ko,ba as fd}from"./zeni-epic-state-yTwK6eAd.js";import{j as N}from"./liveblocks-BojMpfZr.js";import{a as Y,p as X,d as Wl,c as Yl,g as hd}from"./sentry-C9gjpXHu.js";import{T as dd,d as dt,J as Lr,e as pe,z as be,P as pd,W as md,y as Pe,f as kr,g as gd,E as Je,F as Nt,j as pt,k as at,m as Nr,o as tt,X as yd,n as vd,I as nt,q as ca,r as it,Z as bd,Y as wd,u as Yr,s as Ed,t as Jl,v as Sd,w as Kl,O as Xl,A as Xo,C as _d,D as Rd,G as Od,K as Ql,L as Td,M as Id,_ as Ad,Q as Cd,S as Pd,U as jd,$ as xd,a0 as qd,a1 as Ld,a2 as kd,a3 as Nd,a4 as Dd,a5 as Md}from"./index-V6jIIx9c.js";import{f as Fd}from"./analyticsHelper-B0HBcUOS.js";import{n as ef,i as me,m as Ee,o as je,g as re,h as ge,N as Pt,R as Ve,k as se,u as la,j as Qo}from"./core-BfdQ3W3i.js";import{D as Dr,n as Te,S as mt}from"./mui-CcAbIvqz.js";import{a as ve,b as Ud,c as Bd,d as $d,e as fa,f as Vd,g as Gd,h as zd,i as gt,j as Hd,k as xt,l as Mr,m as Zd,n as Dt,o as Wd}from"./utils-1UbrxmNv.js";import{r as ha}from"./empty-3tUyFVJa.js";import{r as Yd,a as Jd,b as Kd,c as Xd}from"./constants-DKA52eYI.js";import{r as Mt,a as Qd}from"./index-Cok412UJ.js";import{r as ep}from"./index-Q_V1WjIh.js";import"./recharts-CH4lD6YZ.js";import"./lottie-C8ug7xYl.js";import"./analytics-deCUYv6O.js";import"./lexical-C3B1wTQQ.js";import"./url-GoO98ssj.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]="a403ddd3-5159-4aa6-9b23-141111a5888e",e._sentryDebugIdIdentifier="sentry-dbid-a403ddd3-5159-4aa6-9b23-141111a5888e")}catch{}})();const st=()=>{const[e,n]=ef(),[a,o]=Y.useState(),i=Y.useRef(!1);return Y.useEffect(()=>{if(i.current===!0||!(e.has("thread_id")||e.has("entity_type")||e.has("company_id")))return;const r=dd(e);r!=null&&o(r);const s=new URLSearchParams(e);s.delete("thread_id"),s.delete("entity_type"),s.delete("company_id"),n(s,{replace:!0}),i.current=!0},[e,n]),a},tp={overlayWidth:new Pe(100,100,50)},{common:{strings:La}}=Nt.getLocalizedStrings();function rp(e,n){return{headerActions:{onTabChange:a=>{const o=at(a),i=pt(a);pe.trackCockpitTabClicked(i),n.navigate(`../../${o}`,{replace:!0})},filterActions:{onFilterTextChanged:(a,o)=>{e(Gt({uiState:{filterText:o}}))},onFiltersChange:(a,o)=>{o.categories!=null&&o.categoryCombinationOperator!=null&&pe.trackHealthMonitorFiltersApplied({filterSelection:{condition:o.categories.map(i=>i.matchingOperator).join(La.comma),logic:o.categoryCombinationOperator,parameter:o.categories.map(i=>i.field).join(La.comma)}}),e(Gt({uiState:{filters:o}}))}}},healthPageActions:{onRowClick:a=>{e(Ll(a))},onColumnSortConfigChanged:(a,o)=>{e(Gt({uiState:{sortKey:a,sortOrder:o}}))},onCockpitReloadData:a=>{a==="healthMonitor"&&e(ql())},onFiltersChange:a=>{e(Gt({uiState:{filters:a}}))}}}}function np(e,n){return{headerData:{selectedTabOption:Je("healthMonitor")},healthPageData:{healthView:n.healthView,managementView:n.managementView,mixpanelUrl:n.mixpanelHMUrl}}}const ip=ge(np,rp)(gd);function Jr({isDrawerOpen:e}){const n=me(),a=Ee(),o=dt(),i=Lr(),{companyId:t}=je(),[r,s]=ef(),[d,c]=Y.useState(!1),h=st(),f=re(m=>Xf(m)),l=re(m=>Lt(m)),{additionalChurnFactors:b}=re(m=>Qf(m)),{selectedCompanyDetail:p,selectedCompanyId:y,localFormDataAndStatusByCompanyId:g}=f,u=re(m=>m.companyViewState.zeniUsers.fetchState),v=re(m=>m.companyHealthMetricConfigViewState);if(Y.useEffect(()=>{const m=E=>E==="Not-Started"||E==="Error";f.fetchState==="Completed"?a(ot(!1)):m(f.fetchState)&&(a(ql()),m(u)&&a(Ye()),m(v.fetchState)&&a(eh()))},[f.fetchState,v.fetchState]),Y.useEffect(()=>{t!=null&&f.fetchState==="Completed"&&r.has("utm_source")===!0&&(a(Ll(t)),p!=null&&(pe.trackCockpitHealthMonitorNotificationAlertClicked(r.get("utm_source"),{companyId:p.companyInfo.companyId,companyName:p.companyInfo.name,churnProbability:p.companyHealthMetric.churnProbabilityPercentage??null}),c(r.has("utm_source")),r.delete("utm_source"),s(r)))},[f.fetchState,p?.companyInfo.companyId,p?.companyInfo.name]),be.getSignedInUser()==null)throw Error("Can't access Health Monitor page without signing in...");return N.jsxs(N.Fragment,{children:[e===!0||y!=null&&p!=null?N.jsx(Dr,{anchor:"right",open:y!=null,PaperProps:{style:{width:tp.overlayWidth.valuePercentage(i),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:o.colors.black,opacity:.75,cursor:"pointer"}}},onClose:()=>a(Pa()),children:N.jsx(pd,{roomId:`cockpit_${y}`,autoConnect:!0,children:N.jsx(md,{onSaveClick:()=>{y!=null&&a(rh(y))},onSaveChangesToLocalStore:m=>{f.selectedCompanyId!=null&&a(th({companyId:f.selectedCompanyId,updatedLocalData:m}))},localData:g?.companyHealthMetricLocalData??{netPromoterScore:void 0,externalProductServiceExposure:void 0,additionalChurnFactors:{increasingChurnProbability:[],decreasingChurnProbability:[]}},companyHealthMetricViewSelector:f,onCloseDrawer:()=>a(Pa()),analytics:pe,urlSource:d,additionalChurnFactorsOptions:b})})}):null,N.jsx(ip,{initialOpenThreadRequest:h??void 0,healthView:f,managementView:l,navigate:n,mixpanelHMUrl:kr.mixpanelHMUrl})]})}const tf=(e,n)=>{const a=[...e??[]];return a.push(n),a},op=e=>{const n=[...e??[]];return{poppedPathname:n.pop(),newStack:n}},ap=(e=2)=>{let n="../";for(let a=0;a<e;a++)n=`${n}../`;return n},le=({state:e,element:n})=>be.isSignedIn()===!0?N.jsx(N.Fragment,{children:n}):N.jsx(Pt,{to:"/signin/auth",replace:!0,state:{...e,message:"...",origin:window.location.pathname}});function sp(){return N.jsxs(Ve,{children:[N.jsx(se,{path:"/companies/:companyId",element:N.jsx(le,{element:N.jsx(Jr,{isDrawerOpen:!0})})}),N.jsx(se,{path:"/",element:N.jsx(le,{element:N.jsx(Jr,{})})}),N.jsx(se,{path:"/*",element:N.jsx(le,{element:N.jsx(Jr,{})})})]})}const up={drawerLeftMargin:new Pe(0,0,240)};function Ft(e){const{isOpen:n,drawerLeftMargin:a,children:o,onClose:i}=e,t=Lr(),r=a?.valuePx(t)??up.drawerLeftMargin.valuePx(t),s=dt();return N.jsx(Dr,{anchor:"right",open:n,PaperProps:{style:{width:`calc(100% - ${r})`}},slotProps:{backdrop:{style:{backgroundColor:s.colors.black,opacity:.8,cursor:"pointer"}}},onClose:i,children:o})}const cp=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?N.jsx(lp,{children:N.jsx(Nr,{size:"ExtraLarge",start:!0})}):null,lp=Te.div`
1
+ import{D_ as Xf,D$ as Lt,E0 as Qf,iN as ot,hv as ql,iP as Ye,hs as eh,hz as Ll,E1 as Pa,hB as th,hC as rh,E2 as Gt,E3 as kt,h0 as nh,E4 as xr,E5 as ta,cO as ih,f2 as ra,e$ as Ir,f7 as rt,f5 as oh,E6 as kl,E7 as Nl,hQ as ah,hN as sh,E8 as uh,h$ as ch,hW as ja,hT as lh,hI as fh,E9 as hh,dJ as dh,cU as ph,i$ as Dl,Ea as mh,bL as Tr,hF as xa,hK as gh,oO as Ml,iO as qr,Eb as Ne,ib as na,Ec as yh,j5 as vh,B as Re,Ed as ia,Ee as bh,gZ as wh,Ef as Eh,Eg as Fl,Eh as Sh,nm as qa,mT as _h,Ei as Rh,mZ as Zr,Ej as Oh,m$ as Th,Ek as Ze,mQ as Ih,cB as Ah,iS as Ul,iT as Bl,iR as oa,iQ as aa,iU as Ch,El as Ph,np as jh,Em as xh,n6 as qh,nj as Lh,En as kh,na as Nh,Eo as Dh,Ep as _t,Eq as sa,Er as Mh,Es as Fh,lT as Uh,lZ as $l,Et as Vl,gu as Bh,D4 as Gl,Eu as $h,C_ as Vh,Ev as Gh,Ew as zh,m0 as Hh,Ex as Zh,D9 as Wh,CZ as Yh,qj as zl,Ey as Wr,Ez as Hl,A9 as ua,zX as Jh,Ac as Zl,z_ as Kh,EA as Xh,A3 as Qh,zR as ed,zU as td,EB as rd,Ag as nd,A6 as id,c4 as od,bd as ad,EC as sd,ED as ft,EE as ud,EF as cd,EG as ld,i3 as Ko,ba as fd}from"./zeni-epic-state-DwXlACp-.js";import{j as N}from"./liveblocks-Lf8LVeH9.js";import{a as Y,p as X,d as Wl,c as Yl,g as hd}from"./sentry-nVlxguQq.js";import{T as dd,d as dt,J as Lr,e as pe,z as be,P as pd,W as md,y as Pe,f as kr,g as gd,E as Je,F as Nt,j as pt,k as at,m as Nr,o as tt,X as yd,n as vd,I as nt,q as ca,r as it,Z as bd,Y as wd,u as Yr,s as Ed,t as Jl,v as Sd,w as Kl,O as Xl,A as Xo,C as _d,D as Rd,G as Od,K as Ql,L as Td,M as Id,_ as Ad,Q as Cd,S as Pd,U as jd,$ as xd,a0 as qd,a1 as Ld,a2 as kd,a3 as Nd,a4 as Dd,a5 as Md}from"./index-BPZ0_UEx.js";import{f as Fd}from"./analyticsHelper-DdyBOS3c.js";import{n as ef,i as me,m as Ee,o as je,g as re,h as ge,N as Pt,R as Ve,k as se,u as la,j as Qo}from"./core-BdfL-uia.js";import{D as Dr,n as Te,S as mt}from"./mui-Dg-yyLd1.js";import{a as ve,b as Ud,c as Bd,d as $d,e as fa,f as Vd,g as Gd,h as zd,i as gt,j as Hd,k as xt,l as Mr,m as Zd,n as Dt,o as Wd}from"./utils-Bn_xI0qf.js";import{r as ha}from"./empty-BfoY8avI.js";import{r as Yd,a as Jd,b as Kd,c as Xd}from"./constants-BSSpHQLd.js";import{r as Mt,a as Qd}from"./index-DQGwrG6i.js";import{r as ep}from"./index-CLP97b5b.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./url-3XfBQAPr.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]="a403ddd3-5159-4aa6-9b23-141111a5888e",e._sentryDebugIdIdentifier="sentry-dbid-a403ddd3-5159-4aa6-9b23-141111a5888e")}catch{}})();const st=()=>{const[e,n]=ef(),[a,o]=Y.useState(),i=Y.useRef(!1);return Y.useEffect(()=>{if(i.current===!0||!(e.has("thread_id")||e.has("entity_type")||e.has("company_id")))return;const r=dd(e);r!=null&&o(r);const s=new URLSearchParams(e);s.delete("thread_id"),s.delete("entity_type"),s.delete("company_id"),n(s,{replace:!0}),i.current=!0},[e,n]),a},tp={overlayWidth:new Pe(100,100,50)},{common:{strings:La}}=Nt.getLocalizedStrings();function rp(e,n){return{headerActions:{onTabChange:a=>{const o=at(a),i=pt(a);pe.trackCockpitTabClicked(i),n.navigate(`../../${o}`,{replace:!0})},filterActions:{onFilterTextChanged:(a,o)=>{e(Gt({uiState:{filterText:o}}))},onFiltersChange:(a,o)=>{o.categories!=null&&o.categoryCombinationOperator!=null&&pe.trackHealthMonitorFiltersApplied({filterSelection:{condition:o.categories.map(i=>i.matchingOperator).join(La.comma),logic:o.categoryCombinationOperator,parameter:o.categories.map(i=>i.field).join(La.comma)}}),e(Gt({uiState:{filters:o}}))}}},healthPageActions:{onRowClick:a=>{e(Ll(a))},onColumnSortConfigChanged:(a,o)=>{e(Gt({uiState:{sortKey:a,sortOrder:o}}))},onCockpitReloadData:a=>{a==="healthMonitor"&&e(ql())},onFiltersChange:a=>{e(Gt({uiState:{filters:a}}))}}}}function np(e,n){return{headerData:{selectedTabOption:Je("healthMonitor")},healthPageData:{healthView:n.healthView,managementView:n.managementView,mixpanelUrl:n.mixpanelHMUrl}}}const ip=ge(np,rp)(gd);function Jr({isDrawerOpen:e}){const n=me(),a=Ee(),o=dt(),i=Lr(),{companyId:t}=je(),[r,s]=ef(),[d,c]=Y.useState(!1),h=st(),f=re(m=>Xf(m)),l=re(m=>Lt(m)),{additionalChurnFactors:b}=re(m=>Qf(m)),{selectedCompanyDetail:p,selectedCompanyId:y,localFormDataAndStatusByCompanyId:g}=f,u=re(m=>m.companyViewState.zeniUsers.fetchState),v=re(m=>m.companyHealthMetricConfigViewState);if(Y.useEffect(()=>{const m=E=>E==="Not-Started"||E==="Error";f.fetchState==="Completed"?a(ot(!1)):m(f.fetchState)&&(a(ql()),m(u)&&a(Ye()),m(v.fetchState)&&a(eh()))},[f.fetchState,v.fetchState]),Y.useEffect(()=>{t!=null&&f.fetchState==="Completed"&&r.has("utm_source")===!0&&(a(Ll(t)),p!=null&&(pe.trackCockpitHealthMonitorNotificationAlertClicked(r.get("utm_source"),{companyId:p.companyInfo.companyId,companyName:p.companyInfo.name,churnProbability:p.companyHealthMetric.churnProbabilityPercentage??null}),c(r.has("utm_source")),r.delete("utm_source"),s(r)))},[f.fetchState,p?.companyInfo.companyId,p?.companyInfo.name]),be.getSignedInUser()==null)throw Error("Can't access Health Monitor page without signing in...");return N.jsxs(N.Fragment,{children:[e===!0||y!=null&&p!=null?N.jsx(Dr,{anchor:"right",open:y!=null,PaperProps:{style:{width:tp.overlayWidth.valuePercentage(i),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:o.colors.black,opacity:.75,cursor:"pointer"}}},onClose:()=>a(Pa()),children:N.jsx(pd,{roomId:`cockpit_${y}`,autoConnect:!0,children:N.jsx(md,{onSaveClick:()=>{y!=null&&a(rh(y))},onSaveChangesToLocalStore:m=>{f.selectedCompanyId!=null&&a(th({companyId:f.selectedCompanyId,updatedLocalData:m}))},localData:g?.companyHealthMetricLocalData??{netPromoterScore:void 0,externalProductServiceExposure:void 0,additionalChurnFactors:{increasingChurnProbability:[],decreasingChurnProbability:[]}},companyHealthMetricViewSelector:f,onCloseDrawer:()=>a(Pa()),analytics:pe,urlSource:d,additionalChurnFactorsOptions:b})})}):null,N.jsx(ip,{initialOpenThreadRequest:h??void 0,healthView:f,managementView:l,navigate:n,mixpanelHMUrl:kr.mixpanelHMUrl})]})}const tf=(e,n)=>{const a=[...e??[]];return a.push(n),a},op=e=>{const n=[...e??[]];return{poppedPathname:n.pop(),newStack:n}},ap=(e=2)=>{let n="../";for(let a=0;a<e;a++)n=`${n}../`;return n},le=({state:e,element:n})=>be.isSignedIn()===!0?N.jsx(N.Fragment,{children:n}):N.jsx(Pt,{to:"/signin/auth",replace:!0,state:{...e,message:"...",origin:window.location.pathname}});function sp(){return N.jsxs(Ve,{children:[N.jsx(se,{path:"/companies/:companyId",element:N.jsx(le,{element:N.jsx(Jr,{isDrawerOpen:!0})})}),N.jsx(se,{path:"/",element:N.jsx(le,{element:N.jsx(Jr,{})})}),N.jsx(se,{path:"/*",element:N.jsx(le,{element:N.jsx(Jr,{})})})]})}const up={drawerLeftMargin:new Pe(0,0,240)};function Ft(e){const{isOpen:n,drawerLeftMargin:a,children:o,onClose:i}=e,t=Lr(),r=a?.valuePx(t)??up.drawerLeftMargin.valuePx(t),s=dt();return N.jsx(Dr,{anchor:"right",open:n,PaperProps:{style:{width:`calc(100% - ${r})`}},slotProps:{backdrop:{style:{backgroundColor:s.colors.black,opacity:.8,cursor:"pointer"}}},onClose:i,children:o})}const cp=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?N.jsx(lp,{children:N.jsx(Nr,{size:"ExtraLarge",start:!0})}):null,lp=Te.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100%;