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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/dist/assets/{ACHDetailsPage-CdyuCPU8-0VceC4Oh.js → ACHDetailsPage-CdyuCPU8-Cc9AcSrc.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-GW2UlhRu-Bfc988ot.js → AIPerformancePage-GW2UlhRu-LCcni55-.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-BQksD-qN-CQrQ5LJ4.js → AccountInfoPage-BQksD-qN-B6B4Peyk.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-Dn6yodzf-C1aQIT5z.js → AccountInfoPageContent-Dn6yodzf-CnavH9Km.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-7MLTBsWb-kQqWsBqk.js → AccountLockedInfoModal-7MLTBsWb-D0R-VIax.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CUvBGVmt-CY2NmAYD.js → AccountReconDetailsDrawerPage-CUvBGVmt-BU4gFlYH.js} +1 -1
  7. package/dist/assets/{AccountRow-t-WESYF_-BZd9LxDz.js → AccountRow-t-WESYF_-CAxThHrd.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-C0Ht_d_M-1zanAeyR.js → AccountsPromoCardStack-C0Ht_d_M-AWi1njok.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CpDfjROc-B4piq4St.js → AddAddressForCardDrawer-CpDfjROc-NuYhekBS.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CPYp6JZP-Cgen85QG.js → AddToWalletPage-CPYp6JZP-4pViGsS0.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BRChA3Xv-BV6vq-Aj.js → AgingReportsPage-BRChA3Xv-C_Zgtox3.js} +1 -1
  12. package/dist/assets/{AllUserItems-CUlWgl79-RT_0EGEc.js → AllUserItems-CUlWgl79-CPuh3MLd.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-D7u_ghQp-CmtSt3LQ.js → ApAgingDetailPage-D7u_ghQp-BO50wskp.js} +1 -1
  14. package/dist/assets/{AppBasePage-bvoaHTtg-Bi873Eqq.js → AppBasePage-bvoaHTtg-BZ9G1r1W.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DYDi-djG-Cr9HlceI.js → AppDrawerContent-DYDi-djG-CB6Hm-0Q.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-CGO_GK8B-C3p-mE2c.js → ApprovalRulesSettingsPage-CGO_GK8B-BhyryZtC.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DBuqIeaR-C9LO_snS.js → ArAgingChart-DBuqIeaR-bg4RQvn8.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-ALGyVMJV-BsdNBEqd.js → ArAgingDetailPage-ALGyVMJV-BZSF2nd3.js} +1 -1
  19. package/dist/assets/{AttachmentView-BIeDapyc-BG8BqDh9.js → AttachmentView-BIeDapyc-Dy-ghSP2.js} +1 -1
  20. package/dist/assets/{BankAccountSection-BQKaKFnm-DHGgFmbL.js → BankAccountSection-BQKaKFnm-DXAkbQt8.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-DeUkht1G--scnEmUk.js → BankAccountWarningSection-DeUkht1G-Dr6bgRCP.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-qldLiM1M-CPdyIAUt.js → BankConnectionsSettingsPage-qldLiM1M-B7n052An.js} +1 -1
  23. package/dist/assets/{BillDetailPage-BPqPHZcD-BcX87XdC.js → BillDetailPage-BPqPHZcD-BLaS3lNQ.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-FW3E7XSE-Bj7z3Fiz.js → BillPayApprovalRuleDetailPage-FW3E7XSE-BuOLvGKr.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-BGotlrLK-C4wvOhcK.js → BillPayApprovalRulesPage-BGotlrLK-Dnlxb0ei.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DvoccD5_-9WUX2zRh.js → BillPayPromoPage-DvoccD5_-BbvDxZBM.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-DhjIDy8h-D7gIdBq_.js → BillPaySetUpPage-DhjIDy8h-DjCT2F-Q.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-CmO4DZ-a-TmRopedQ.js → BillingSettingsPage-CmO4DZ-a-DfLL-3xJ.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-4vzF3bG9-C3VxBwnG.js → BillsBulkReviewDrawerPage-4vzF3bG9-CYnUuRpA.js} +1 -1
  30. package/dist/assets/{BoxItem-B6i9yx2h-8tTsCvCc.js → BoxItem-B6i9yx2h-BXmANcI9.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-DuEh8MkZ-CPUH1p9f.js → BusinessVerificationPage-DuEh8MkZ-C6NEKtFI.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BEVRq2PI-CBvs6qd9.js → CardNumberSubText-BEVRq2PI-DDGQHtM7.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage--SHtNWGE-D0op8BJu.js → CashbackDetailPage--SHtNWGE-B7q_3WKk.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-EFRUpv7y-BxiQ-wFB.js → ChargeCardDetailPage-EFRUpv7y-CRSyItBH.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-CFB5EHCZ-DwRWhMet.js → ChargeCardListPage-CFB5EHCZ-Q_LF4khU.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-DM_h-dzr-CxMVtKFB.js → ChargeCardListTable-DM_h-dzr-JfLZMhMV.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-CPZj9te2-acCaXNd-.js → ChargeCardPaymentHistoryPage-CPZj9te2-D70Jr31B.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-BWwBfycu-CAS6um23.js → ChargeCardPromoPage-BWwBfycu-Dr4jE1df.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-Epn4xe2x-CkUn76sD.js → ChargeCardSetupPage-Epn4xe2x-CtGXIQfR.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-Bu7OdYhw-oLOXCaTu.js → ChargeCardStatementsPage-Bu7OdYhw-DLIqhr4K.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DQnqizMV-eQHX-470.js → CheckDepositDrawerPage-DQnqizMV-Das21vqy.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CSVzLWq_-CmmDaO6f.js → CollapsableReportTable-CSVzLWq_-CEaOtd9D.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-Pwtunf36-D6txAI6l.js → CompanyOfficerDetailsSection-Pwtunf36-wXG4kPwP.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-DfPPft95-Clb_fVZP.js → CompanyPassportCard-DfPPft95-DYon-nbO.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-aNL_m3a2-r2mVOoQ8.js → CompanyPassportPage-aNL_m3a2-BNzT9aja.js} +1 -1
  46. package/dist/assets/{CompleteProfile-DmeE0Xjt-BcBZ6wma.js → CompleteProfile-DmeE0Xjt-Bu6rPbEQ.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-s04ELXDS-BW01uxDM.js → ConfettiBurst-s04ELXDS-BR_CtkF9.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CaoYd0_P.js → ConstrainedInnerElement-BeIpAPjB-TJzIXuNi.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-D3oCIz1P-DTzyUV9b.js → CreateOrEditVendorPage-D3oCIz1P-3fRPViQO.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-DPXaPj4B-1z2GwFLS.js → CreditCardPaymentDrawerPage-DPXaPj4B-CIxVZ_ux.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-CtKQBmBI-q57973By.js → CurrencySelectField-CtKQBmBI-_7Z7zjF5.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-DCQvUK8d-CVTcQu6u.js → CustomerOnboardingActivationPage-DCQvUK8d-CwcuXdB6.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-Dm4ySQZZ-BHJNR9KJ.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BVJ6jsqR-BsJw-Ope.js → CustomerOnboardingDetailPageSkeleton-BVJ6jsqR-BkC7DbU8.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DQcf1Pyg-DdjDIchQ.js → CustomerOnboardingNoStepsPage-DQcf1Pyg-DmFCTQmR.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-CLNt38t0-D5-M1y80.js → CustomerOnboardingPage-CLNt38t0-CISsxaNz.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-SyWJAHJ5-DCcbBC8z.js → CustomerOnboardingProductSuitePage-SyWJAHJ5-BLo87ZGI.js} +1 -1
  58. package/dist/assets/{Dashboard-DW6P3oLC-D1tHml1O.js → Dashboard-DW6P3oLC-JmOZT2AT.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-Cp04-QUV-B7AXOtvv.js → DashboardReportPage-Cp04-QUV-iSoe8_J3.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-CKoyjUHm-DewB5pFB.js → DashboardSidebarBackgroundAnimation-CKoyjUHm-wsCB2Mj1.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-kZL4La9A-C6fVz6NV.js → DepositAccTransactionItem-kZL4La9A-px-IlxCa.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-C_GPoFDS-Bnscj1hg.js → DepositAccTransactionListPage-C_GPoFDS-C20Qv67v.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-CL-gGug5-Dmorx9NL.js → DomesticWireDetailsPage-CL-gGug5-CFzt84md.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-JdIA_Qvk-wAu7AAW1.js → DownloadOverlay-JdIA_Qvk-C3WZFyzU.js} +1 -1
  65. package/dist/assets/{DrawerPage-_F2zRGIo-CQDApgUJ.js → DrawerPage-_F2zRGIo-Bbd9X4eR.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-Cqd73zkA-moU29OZ-.js → EditPeoplePage-Cqd73zkA-Ch9gkw4G.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage--T5T_fJG-CaXN1fuc.js → EditReimbursementDetailPage--T5T_fJG-DCRo-lmo.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-CAu9l8_o-DQd9jfhM.js → EntityDetailPage-CAu9l8_o-BuX4TBGi.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-D1QM7cY6-BWMV3RUk.js → EntitySummarySection-D1QM7cY6-CCQcM2Q7.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-pciCiajG-DOlwLojR.js → ExpenseAutomationOverviewPage-pciCiajG-Bavician.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-CYKu1ufk-BgHRQ_o6.js → ExpenseAutomationPage-CYKu1ufk-BzTo68eE.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-BCMf-60G-DgcplXv5.js → ExpressPayPage-BCMf-60G-Baid2jkl.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-Dj5OXPVN-2xodjQZz.js → FeaturePreviewPage-Dj5OXPVN-C18ni9NB.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-ZwhfJWnC-WC244m2S.js → FollowStepsSection-ZwhfJWnC-DJAXwgDf.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-AZtnVYVQ-HrXervPX.js → GlobalReviewListPage-AZtnVYVQ-DMam3PuI.js} +1 -1
  76. package/dist/assets/{InformationCardStack-D8cmcS4k-ucNvTFnG.js → InformationCardStack-D8cmcS4k-bRtRxft3.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-CRbYGyti-BG-J4zTW.js → InsightsCardStack-CRbYGyti-BvZbD4Jj.js} +1 -1
  78. package/dist/assets/{InsightsSection-B7cEUOjq-CHOA81kF.js → InsightsSection-B7cEUOjq-C4wpk5vd.js} +1 -1
  79. package/dist/assets/{IntegrationsSettingsPage-Cu70a3gO-qesbn3EL.js → IntegrationsSettingsPage-Cu70a3gO-C_bOu9Zi.js} +1 -1
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-D_RuMP2E-CqXJrwow.js → InternationalWireSwiftDetailsPage-D_RuMP2E-BR38wYj0.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-CqpE7nR5-BRwgb-BA.js → InternationalWireVerificationPage-CqpE7nR5-Cxc90JyU.js} +1 -1
  82. package/dist/assets/{InviteFormPage-BU3bkjN3-DJZLZema.js → InviteFormPage-BU3bkjN3-GXBF_TIM.js} +1 -1
  83. package/dist/assets/{InvitePageListView-BfRPKPse-BUIcdEL2.js → InvitePageListView-BfRPKPse-CRF5Iqdy.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-DFfZPbsO-DIubZIn-.js → InvitePeoplePage-DFfZPbsO-CxUypzJ8.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-BwqSfbYC-EOja7gNg.js → InvoiceUploadSection-BwqSfbYC-DSYQ6WXZ.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-BB83Aeyd-D9TAck5s.js → IssueChargeCardPage-BB83Aeyd-DU83Twkc.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-CK-YJ1cO-BIV6IRFP.js → LabeledAddressValue-CK-YJ1cO-C4LJb4Ec.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-BppwMtJ1-Dgoqu5O4.js → LabeledAddressValueField-BppwMtJ1-T6lPuNrW.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-zpbzob1x-DTorn_1A.js → LabeledControlledCheckBoxField-zpbzob1x-De_sFAdL.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-DrZ69tWB--r4Tq0BJ.js → LabeledCountryMultiSelectField-DrZ69tWB-CbkU60Cq.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-D-rSPg1Y-ak5nvuiq.js → LabeledCreatableSingleSelectField-D-rSPg1Y-BEoWM6os.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-CBQeAeRc-D56y9oeO.js → LabeledDocumentField-CBQeAeRc-CsNYjjwd.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-5t5k_pgq-CfuE84-6.js → LabeledDropDownFormattedTextField-5t5k_pgq-3N767TYR.js} +1 -1
  94. package/dist/assets/{LabeledText-tLPpd4Wp-Cw2ZTitB.js → LabeledText-tLPpd4Wp-Dn15jABZ.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D5zZUAVV-DVMrLokL.js → LabeledUserSingleSelectWithSubtitlesField-D5zZUAVV-Uprdm1T5.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DZ9boJMt-KCvascmZ.js → LabeledZeniRolesDropDownField-DZ9boJMt-Ddaj0gyJ.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-C99UMrwp-9iiMpHD1.js → LinkJETransactionPage-C99UMrwp-DGyiLhz2.js} +1 -1
  98. package/dist/assets/{LockCardPage-DE5Zw1p--CmfozmOj.js → LockCardPage-DE5Zw1p--DDhMx2Zw.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-BD9saCcf-C9aiJowo.js → LowBalancePopup-BD9saCcf-Bd0FezoJ.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-pyI_8fZk-CbyceRk3.js → MagicLinkACHDetailsPage-pyI_8fZk-3BHiRs6S.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-leEpcwab-DAkBv8v1.js → MagicLinkDomesticWireDetailsPage-leEpcwab-O5PQVsff.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CJRYlkvp-pCJgKy6F.js → MagicLinkInternationalWireDetailsPage-CJRYlkvp-Ch9Obw_s.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-BxXyF-Sp-BUdh8eIy.js → MagicLinkSuccessPage-BxXyF-Sp-BLAQ6Wfq.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-DajyP-ys-Be4ZqDQL.js → MagicLinkTitleSection-DajyP-ys-DhZ3lo9u.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-F1i0rBkv-CZo5kIPL.js → MailingDetailsSection-F1i0rBkv-84yBXYZi.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-BE1pUnaR-BPnyB1YE.js → MyBankConnectionsSettingsPage-BE1pUnaR-rY5WmdmI.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-CviCM09N-BNRf9wnQ.js → MyPendingActivationChargeCardListPage-CviCM09N-TrpArtHh.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-iREvm7LK-BHFViMqO.js → MyProfileSettingsPage-iREvm7LK-aaE3zkBS.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-r-K_Pjsb-CmAh3bpT.js → NavBarWithPicker-r-K_Pjsb-BM59aAtt.js} +1 -1
  110. package/dist/assets/{NavigationArrow-CKhWji3v-aZKiVTlV.js → NavigationArrow-CKhWji3v-DrK7JvGJ.js} +1 -1
  111. package/dist/assets/{NavigationDots-OShASt5i-Bc5YcJG5.js → NavigationDots-OShASt5i-BCPaSs2y.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-2-kYqTDF-CV5JZ9Yl.js → NewGlobalMerchantPage-2-kYqTDF-ClE9Trkz.js} +1 -1
  113. package/dist/assets/{NoDataChart-BN3zyJkX-DustlDSJ.js → NoDataChart-BN3zyJkX-d_10V5tE.js} +1 -1
  114. package/dist/assets/{NoDataTable-D0cyK_1j-BWgbh49q.js → NoDataTable-D0cyK_1j-CRU7hu0R.js} +1 -1
  115. package/dist/assets/{NotFoundPage-yrt6kuPH-CdqbIt8C.js → NotFoundPage-yrt6kuPH-CTx1x3zQ.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-CX3Hkg6o-D8A68okq.js → NotificationSettingsPage-CX3Hkg6o-Bee4no-2.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-Cyzhla-8-CBrC2O9h.js → NotificationsListConfig-Cyzhla-8-29lmg0oi.js} +1 -1
  118. package/dist/assets/{NotificationsPage-O7M0pMnc-Bp7VY2al.js → NotificationsPage-O7M0pMnc-daR4laOH.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-DpMGBmkQ-DaQIIDYq.js → OpExByVendorPage-DpMGBmkQ-BofNUHsQ.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-BcMNtftY.js → OverlayContainerPage-D4QU0p4o-BNxbiugm.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-Cbt0YlVL-B7KI2QNo.js → PandLWithForecastPage-Cbt0YlVL-CIaTrEzj.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-B2xEqKKc-DTCpk1kt.js → PaymentAccountSetupBillingAddressSection-B2xEqKKc-CBFbBa1P.js} +1 -1
  123. package/dist/assets/{PeoplePage-CUr5cz1w-B26v5CzR.js → PeoplePage-CUr5cz1w-_V-Q3GTv.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-t8HIs4J6-6BwcwXGL.js → ProductsCarousel-t8HIs4J6-BEITBT2Y.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-6Uh8eokP-Cj1KOyAw.js → PromoBaseCards-6Uh8eokP-CcA7wxXm.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-BbmqcpYW-rlXtEwUQ.js → QBOConnectionDialog-BbmqcpYW-BQKok7bH.js} +1 -1
  127. package/dist/assets/{QBOSetupSection-u5dKqaH8-Cw9rFHWf.js → QBOSetupSection-u5dKqaH8-HpPTyv_J.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DxSrYBkv-sfO_zxiL.js → ReimbursementApprovalRuleDetailPage-DxSrYBkv-B54Dk5Is.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRulesPage-BL2GpJIG-ByiCWQ8P.js → ReimbursementApprovalRulesPage-BL2GpJIG-DcDYMr7J.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-D3qTbpPg-6N8BmeyZ.js → ReimbursementDetailPage-D3qTbpPg-DWqpvN4c.js} +1 -1
  131. package/dist/assets/{ReimbursementPromoPage-DuwxKGGm-DVNFf58G.js → ReimbursementPromoPage-DuwxKGGm-CHsOOSFl.js} +1 -1
  132. package/dist/assets/{ReimbursementSetUpPage-Du4kRXbO-IZ-1Hd0h.js → ReimbursementSetUpPage-Du4kRXbO-B-5X8hsi.js} +1 -1
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BmlYoVy4-BYNrk6QR.js → ReimbursementsBulkReviewDrawerPage-BmlYoVy4-B6mT_3wC.js} +1 -1
  134. package/dist/assets/{ReloadCard-BSiXuJWg-S2NiaAjj.js → ReloadCard-BSiXuJWg-BqlPHpin.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-KgvX6wt6-CFIrG4n5.js → ReportTableViewSelector-KgvX6wt6-BZ_fbetO.js} +1 -1
  136. package/dist/assets/{ReportsPage-Bt24BITW-DoLBuKPr.js → ReportsPage-Bt24BITW-DCtuAB8s.js} +1 -1
  137. package/dist/assets/{RevenueChart-iH_Xl63n-Bobzdvk9.js → RevenueChart-iH_Xl63n-Drddpf_5.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-CwPsM3uL-DU9meW3Q.js → ReviewDetailsPage-CwPsM3uL-Dh04puOa.js} +1 -1
  139. package/dist/assets/{ReviewOverlay-DOqgOSnM-DIJSsTrl.js → ReviewOverlay-DOqgOSnM-uwLvPYee.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-D6q4Wd6X-D2UbaxXJ.js → RoleWithToolTip-D6q4Wd6X-Ba41qnE5.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-_bJob_HD-ZRo-OTit.js → ScheduleDetailsFixedAssetsPage-_bJob_HD-CAcW1WNd.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsPage-BDZm6We--BmYpydGa.js → ScheduleDetailsPage-BDZm6We--DqachKin.js} +1 -1
  143. package/dist/assets/{ScheduleSequenceTable-DgG11IBi-DBLZmDeR.js → ScheduleSequenceTable-DgG11IBi-DHvVMS0K.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-kiA8eL9x.js → ScreenRoutes-DP1vvIFq.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-n5OCUAL3-B-YthnQt.js → SetUpAccountSection-n5OCUAL3-BCPO4UYh.js} +1 -1
  146. package/dist/assets/{SignIn-uBHaDram-Pp2K_nnI.js → SignIn-uBHaDram-DeaAUvTZ.js} +1 -1
  147. package/dist/assets/{SignInScreen-DkxtF7d-.js → SignInScreen-B6DcJ3oU.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-ErBiPjGh-DVBcFgz6.js → SpendManagementListViewPage-ErBiPjGh-ZxpEEpcQ.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-BIxGrbmz-CpTcg38p.js → SpendManagementPerTabPage-BIxGrbmz-iaE28oxr.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-B01H6LCd-7KGohVSJ.js → SpendManagementSection-B01H6LCd-dV21F-9A.js} +1 -1
  151. package/dist/assets/{StatementItem-BJJHaw9s-DKXMQrB-.js → StatementItem-BJJHaw9s-29L7-ckn.js} +1 -1
  152. package/dist/assets/{StatementsPage-rFpr0w_W-p2OTDAub.js → StatementsPage-rFpr0w_W-DNXmI_WC.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-DnuyzbQo-uFTkU_Rq.js → StatusSwitcher-DnuyzbQo-zsneBA5e.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-Bk10VIFM-DuWTd5Gf.js → SubTabSwitcher-Bk10VIFM-CrNC5Y_x.js} +1 -1
  155. package/dist/assets/{SummaryCard-CHqc9QHC-DLmlONgW.js → SummaryCard-CHqc9QHC-Yq25xivx.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-Cr_KAM2z-B-N5lqS1.js → TaskManagementPage-Cr_KAM2z-B2jYjFSR.js} +1 -1
  157. package/dist/assets/{TimeRangeSwitcher-DkNMcmBm-BHsVOUJA.js → TimeRangeSwitcher-DkNMcmBm-BKKiSxbO.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-CULpyCRj-DpaezwVo.js → TimeframeSwitcher-CULpyCRj-B4sMqB1t.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-BSx_ynUp-DCoChT3Y.js → TimeframeSwitcherWithToggle-BSx_ynUp-C4foPuxp.js} +1 -1
  160. package/dist/assets/{TopExCard-B29o-5e0-BWjMLd0Z.js → TopExCard-B29o-5e0-C1Xb1edv.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-TVxgKbn8-Dea8Ndm8.js → TopExDetailPage-TVxgKbn8-h1-M6BqE.js} +1 -1
  162. package/dist/assets/{TransactionActivityLogPage-0wmqwFMQ-CtP3S4Ck.js → TransactionActivityLogPage-0wmqwFMQ-DpxBoViM.js} +1 -1
  163. package/dist/assets/{TransactionDetailPage-B9pzvWO8-DN9EJI4L.js → TransactionDetailPage-B9pzvWO8-C4lfGaqD.js} +1 -1
  164. package/dist/assets/{TransactionList-dUcT29oF-CA_JHn5F.js → TransactionList-dUcT29oF-CywtUBOF.js} +1 -1
  165. package/dist/assets/{TransactionListBig-DMnQfRkS-D1Tzrdsg.js → TransactionListBig-DMnQfRkS-20CPxACF.js} +1 -1
  166. package/dist/assets/{TransactionListPage-BB452Nj4-Be3PUtFs.js → TransactionListPage-BB452Nj4-Dgs9EM0f.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-BCkXd3P2-Dn9bmHZD.js → TransactionVendorDetailPage-BCkXd3P2-Bl6s22Tw.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-6Rt1ZlJA-J8WRDfD_.js → TransferDrawerPage-6Rt1ZlJA-I2Skd8-A.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-CuSfgvcS-Cr1ZHZCL.js → TreasuryOverviewPage-CuSfgvcS-m6L9Jvdu.js} +1 -1
  170. package/dist/assets/{TreasuryPromoPage-DUi2uBW8-DFXwMQFM.js → TreasuryPromoPage-DUi2uBW8-B47B8ibo.js} +1 -1
  171. package/dist/assets/{TreasuryStatementsPage-DNhwcfdJ-DHWXKCq1.js → TreasuryStatementsPage-DNhwcfdJ-BaprS6U4.js} +1 -1
  172. package/dist/assets/{TreasuryTaxLetterPage-BLIGs8oG-B-EAsmsV.js → TreasuryTaxLetterPage-BLIGs8oG-rs4DWgsu.js} +1 -1
  173. package/dist/assets/{TrendChart-KoCvlYmC-ji_PFFB-.js → TrendChart-KoCvlYmC-C-jk3kXT.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-Vqr8x7E_-Ch_SpSv4.js → TrendWithTransactions-Vqr8x7E_-B9kpqnaG.js} +1 -1
  175. package/dist/assets/{UncategorizedAccountsMappingPage-BKdvN3Lh-CF1FrkBZ.js → UncategorizedAccountsMappingPage-BKdvN3Lh-DXsxrj_5.js} +1 -1
  176. package/dist/assets/{UnitIntegrationPage-CQ7270p--BJrqtQBc.js → UnitIntegrationPage-CQ7270p--CQ6r0MVa.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-CcH5BomT-DAavyljg.js → UploadAdditionalDocumentOverlay-CcH5BomT-DSbThaHM.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-DtT11B4h-DSs5WQFV.js → Vendor2FAPopup-DtT11B4h-CT6Xi_aF.js} +1 -1
  179. package/dist/assets/{VendorACHDetailsPage-Cvek1Tr4-vPAILiGh.js → VendorACHDetailsPage-Cvek1Tr4-CzzV3ORJ.js} +1 -1
  180. package/dist/assets/{VendorDetailPage-2rTQcqZl-BGHBoCgZ.js → VendorDetailPage-2rTQcqZl-BvHWS2Gn.js} +1 -1
  181. package/dist/assets/{VendorDomesticWireDetailsPage-j-06hvAA-CbgEb_pw.js → VendorDomesticWireDetailsPage-j-06hvAA-DPFaoVLs.js} +1 -1
  182. package/dist/assets/{VendorFiling1099EditablePage-Cgkipd6r-BOi4aIsg.js → VendorFiling1099EditablePage-Cgkipd6r-DlLW9ftw.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-Va76j7QY-Ce_x6xNG.js → VendorFirstReviewPage-Va76j7QY-C_o-6JAB.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-D0IeqYQZ-CBSHQbo0.js → VendorInternationalWireDetailsPage-D0IeqYQZ-yCoXRdA4.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DZusODVt-CB9jvgle.js → VendorInternationalWireSwiftDetailsPage-DZusODVt-DtzcvocF.js} +1 -1
  186. package/dist/assets/{VendorsAccountsSection-CTmdfJi_-2OXKGXSP.js → VendorsAccountsSection-CTmdfJi_-CxsrtQCW.js} +1 -1
  187. package/dist/assets/{VerifyDevice-DFCNFtDD-BiKT2y-c.js → VerifyDevice-DFCNFtDD-B2l_EHpD.js} +1 -1
  188. package/dist/assets/{VideoPlayer-CIr6pCWx-BWEj8qhe.js → VideoPlayer-CIr6pCWx-BlGxtEbt.js} +1 -1
  189. package/dist/assets/{VideoPopup-CoeVMP5D-CZp7ggfX.js → VideoPopup-CoeVMP5D-CkEoZJPU.js} +1 -1
  190. package/dist/assets/{WarningsDrawerPage-CNBphx6e-DgBF9BD1.js → WarningsDrawerPage-CNBphx6e-uyGjzkS6.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-ysMCIpFe-BBrtmzdb.js → ZeniAccountDetailPage-ysMCIpFe-B_7tw6sp.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-DUalD7AP-CyveDoV_.js → ZeniAccountListViewPage-DUalD7AP-5wUXGfcR.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-B8jILUl8-De6cgOXp.js → ZeniAccountNavBarPieces-B8jILUl8-BBizFg1k.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-CUJm-42a-CXuQd7VV.js → ZeniAccountPromoPage-CUJm-42a-BQnYMroZ.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-BTurLFPN-CK5iO6d7.js → ZeniAccountSetupPage-BTurLFPN-ter0-uCW.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-BTFZ48gh-CtnEsi71.js → ZeniCopyright-BTFZ48gh-w15_W74f.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-f0nRZPzG-dUb4Mhul.js → ZeniTransferAmountSlider-f0nRZPzG-BLDyrypP.js} +1 -1
  198. package/dist/assets/{analyticsHelper-Bk8gqeLI.js → analyticsHelper-DeD9LR3c.js} +1 -1
  199. package/dist/assets/{analyticsHelper-lunHUd8g-D5OYaAmT.js → analyticsHelper-lunHUd8g-T6u0613Q.js} +1 -1
  200. package/dist/assets/{chartTypes-DESZubWD-Bq3-3C2k.js → chartTypes-DESZubWD-J95DqIha.js} +1 -1
  201. package/dist/assets/{commonDimensions-Cpv8YIix-Dpl_2njg.js → commonDimensions-Cpv8YIix-BXt5gzTm.js} +1 -1
  202. package/dist/assets/{commonTypes-B1gKMzJK-DEpai8h5.js → commonTypes-B1gKMzJK-DXXYZylr.js} +1 -1
  203. package/dist/assets/{detailCommon-DyrMcL2E-DbZbdMac.js → detailCommon-DyrMcL2E-Dkj1Ro3D.js} +1 -1
  204. package/dist/assets/{downloadPdf-D2sIdMDR-D6_l0NHH.js → downloadPdf-D2sIdMDR-CfGqGROi.js} +1 -1
  205. package/dist/assets/{helper-i78O9ew8-BuDifB0X.js → helper-i78O9ew8-C81IjMdE.js} +1 -1
  206. package/dist/assets/{index-Dw_MX6AZ.js → index-BPv2nRQb.js} +5 -5
  207. package/dist/assets/{mapLoadingInProgressToTreeNode-COG82OfJ-0ZJxCNAO.js → mapLoadingInProgressToTreeNode-COG82OfJ-CSZlHYMI.js} +1 -1
  208. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CjVZw324-Cy37hN-j.js → mapSectionWithAcOnlyToTreeNode-CjVZw324-gPmnB93g.js} +1 -1
  209. package/dist/assets/{mapSpacerToTreeNode-DZFRqtKk-B07ADlac.js → mapSpacerToTreeNode-DZFRqtKk-CsPnOowL.js} +1 -1
  210. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cm_MiRXt-C6UHQCJ6.js → mapTimeframeBalancesToTreeNode-Cm_MiRXt-CmRF5ht9.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-DnvhN4Go-CXn5QSNs.js → mapTimeframeBalancesToTreeNode-DnvhN4Go-qLT8aEp1.js} +1 -1
  212. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-40rewm2_-C-ELqPB7.js → mapTimeframeHeaderLoadingInProgressToTreeNode-40rewm2_-B5RLxn7A.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-DxETcMNK-ChqFn7jZ.js → toCOABalancesWithID-DxETcMNK-Bj7EoGl7.js} +1 -1
  214. package/dist/assets/{toChartData-BQYX2C7n-DbxCO4-E.js → toChartData-BQYX2C7n-Cm6krZ2M.js} +1 -1
  215. package/dist/assets/{uploadAttachment-C3cElL9m-QbAR0kQd.js → uploadAttachment-C3cElL9m-DY215Q-d.js} +1 -1
  216. package/dist/assets/{uploadReceipts-Dge0cNF1-BifC32F3.js → uploadReceipts-Dge0cNF1-C8hVDRbs.js} +1 -1
  217. package/dist/index.html +1 -1
  218. package/package.json +1 -1
  219. package/dist/assets/CustomerOnboardingContainerPage-Dm4ySQZZ-BvOTc4ng.js +0 -1
@@ -1,4 +1,4 @@
1
- import{ax as kt,y as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as ft,F as oe,o as s,jz as qe,cj as Ie,cn as Ct,ga as Tt,ba as $t,bP as Je,aU as bt,ce as yt,J as le,a9 as jt,x as Qe,cH as vt,ad as St,b4 as Gt,cv as Lt,iV as Nt,iW as It,jA as ze,aS as Et,i as Me,bU as Ee,eQ as et,jB as Dt,d1 as tt,jC as pe,jD as xe,jE as we,jF as st,jG as Mt,jH as ot,jI as nt,jJ as at,jK as rt,jL as it,jM as U,u as ke,jN as re,aj as ie,jO as zt,jP as Bt,b as At,ao as Rt,jQ as Wt,dc as Ot,jR as Pt,cL as lt,es as Ft,w as Ht,jS as _t,jT as Ut,gb as Vt,gC as Kt,jU as Xt,jV as J,jW as Be,cx as Yt,jX as Zt,jY as qt,jZ as Jt,j_ as Ae,p as Re,gz as Qt,an as es}from"./index-Dw_MX6AZ.js";import{a as n}from"./sentry-DBSEoG3b.js";import{n as o,c as fe}from"./mui-DdxImnN0.js";import{Gi as ts,Gj as We,cd as dt,ce as ct,cf as ss}from"./zeni-epic-state-1oOVJQJ4.js";import{J as os,t as ns}from"./SpendManagementSection-B01H6LCd-7KGohVSJ.js";import{A as as,t as rs,a as is,E as ls}from"./NotificationsListConfig-Cyzhla-8-CBrC2O9h.js";import{a as ds}from"./SpendManagementListViewPage-ErBiPjGh-DVBcFgz6.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./StatusSwitcher-DnuyzbQo-uFTkU_Rq.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]="853620bb-bfd5-4f35-b01f-faa41c5494be",e._sentryDebugIdIdentifier="sentry-dbid-853620bb-bfd5-4f35-b01f-faa41c5494be")}catch{}})();const cs=100,ps=100,us=3,hs=.7,ms=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=cs,scrollSpeed:h=ps,minScrollAmount:g=us,scrollCurveExponent:u=hs})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),T=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},j=m=>{const G=e.current;return!G||!(m.target instanceof Node)?!1:G.contains(m.target)},N=m=>j(m),E=m=>{const G=Math.max(m,0)/c,b=Math.pow(G,u)*h;return Math.max(g,b)},k=(m,G,b)=>{const I=b==="up"?-G:G;m===window?window.scrollBy({top:I,behavior:"auto"}):m instanceof HTMLElement&&typeof m.scrollTop=="number"&&(m.scrollTop+=I)},C=()=>e.current??window,w=()=>{if(!a)return;const m=C(),G=window.innerHeight,b=p;if(b<c&&b>0){const I=c-b,M=E(I);k(m,M,"up")}else if(b>G-c){const I=b-(G-c),M=E(I);k(m,M,"down")}i=requestAnimationFrame(w)},z=m=>{N(m)?a=!0:(a=!1,T())},B=()=>{a=!1,T()},A=m=>{a&&(p=m.clientY)},D=m=>{A(m),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",z),document.addEventListener("dragend",B),document.addEventListener("dragover",D),()=>{document.removeEventListener("dragstart",z),document.removeEventListener("dragend",B),document.removeEventListener("dragover",D),T()}},[r,d,g,e,u,h])},Se=oe.getLocalizedStrings(),pt=({count:e})=>t.jsx(gs,{isCircular:e<10,children:t.jsx(ks,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),gs=o.div`
1
+ import{ax as kt,y as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as ft,F as oe,o as s,jz as qe,cj as Ie,cn as Ct,ga as Tt,ba as $t,bP as Je,aU as bt,ce as yt,J as le,a9 as jt,x as Qe,cH as vt,ad as St,b4 as Gt,cv as Lt,iV as Nt,iW as It,jA as ze,aS as Et,i as Me,bU as Ee,eQ as et,jB as Dt,d1 as tt,jC as pe,jD as xe,jE as we,jF as st,jG as Mt,jH as ot,jI as nt,jJ as at,jK as rt,jL as it,jM as U,u as ke,jN as re,aj as ie,jO as zt,jP as Bt,b as At,ao as Rt,jQ as Wt,dc as Ot,jR as Pt,cL as lt,es as Ft,w as Ht,jS as _t,jT as Ut,gb as Vt,gC as Kt,jU as Xt,jV as J,jW as Be,cx as Yt,jX as Zt,jY as qt,jZ as Jt,j_ as Ae,p as Re,gz as Qt,an as es}from"./index-BPv2nRQb.js";import{a as n}from"./sentry-DBSEoG3b.js";import{n as o,c as fe}from"./mui-DdxImnN0.js";import{Gi as ts,Gj as We,cd as dt,ce as ct,cf as ss}from"./zeni-epic-state-1oOVJQJ4.js";import{J as os,t as ns}from"./SpendManagementSection-B01H6LCd-dV21F-9A.js";import{A as as,t as rs,a as is,E as ls}from"./NotificationsListConfig-Cyzhla-8-29lmg0oi.js";import{a as ds}from"./SpendManagementListViewPage-ErBiPjGh-ZxpEEpcQ.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./StatusSwitcher-DnuyzbQo-zsneBA5e.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]="853620bb-bfd5-4f35-b01f-faa41c5494be",e._sentryDebugIdIdentifier="sentry-dbid-853620bb-bfd5-4f35-b01f-faa41c5494be")}catch{}})();const cs=100,ps=100,us=3,hs=.7,ms=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=cs,scrollSpeed:h=ps,minScrollAmount:g=us,scrollCurveExponent:u=hs})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),T=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},j=m=>{const G=e.current;return!G||!(m.target instanceof Node)?!1:G.contains(m.target)},N=m=>j(m),E=m=>{const G=Math.max(m,0)/c,b=Math.pow(G,u)*h;return Math.max(g,b)},k=(m,G,b)=>{const I=b==="up"?-G:G;m===window?window.scrollBy({top:I,behavior:"auto"}):m instanceof HTMLElement&&typeof m.scrollTop=="number"&&(m.scrollTop+=I)},C=()=>e.current??window,w=()=>{if(!a)return;const m=C(),G=window.innerHeight,b=p;if(b<c&&b>0){const I=c-b,M=E(I);k(m,M,"up")}else if(b>G-c){const I=b-(G-c),M=E(I);k(m,M,"down")}i=requestAnimationFrame(w)},z=m=>{N(m)?a=!0:(a=!1,T())},B=()=>{a=!1,T()},A=m=>{a&&(p=m.clientY)},D=m=>{A(m),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",z),document.addEventListener("dragend",B),document.addEventListener("dragover",D),()=>{document.removeEventListener("dragstart",z),document.removeEventListener("dragend",B),document.removeEventListener("dragover",D),T()}},[r,d,g,e,u,h])},Se=oe.getLocalizedStrings(),pt=({count:e})=>t.jsx(gs,{isCircular:e<10,children:t.jsx(ks,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),gs=o.div`
2
2
  ${e=>e.isCircular?fe`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -1,4 +1,4 @@
1
- import{V as t,b4 as B,aF as S,dm as V,bs as H,o as c,aj as L}from"./index-Dw_MX6AZ.js";import{a as n}from"./sentry-DBSEoG3b.js";import{n as g}from"./mui-DdxImnN0.js";import{Y as q}from"./core-HDqpewC7.js";import{O as U}from"./CollapsableReportTable-CSVzLWq_-CmmDaO6f.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]="fa90c685-77d9-4308-83b1-9f4ea834a760",e._sentryDebugIdIdentifier="sentry-dbid-fa90c685-77d9-4308-83b1-9f4ea834a760")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
1
+ import{V as t,b4 as B,aF as S,dm as V,bs as H,o as c,aj as L}from"./index-BPv2nRQb.js";import{a as n}from"./sentry-DBSEoG3b.js";import{n as g}from"./mui-DdxImnN0.js";import{Y as q}from"./core-HDqpewC7.js";import{O as U}from"./CollapsableReportTable-CSVzLWq_-CEaOtd9D.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]="fa90c685-77d9-4308-83b1-9f4ea834a760",e._sentryDebugIdIdentifier="sentry-dbid-fa90c685-77d9-4308-83b1-9f4ea834a760")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -1,4 +1,4 @@
1
- import{V as r,o as t,aj as p,F as u}from"./index-Dw_MX6AZ.js";import{n as d}from"./mui-DdxImnN0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="7cef7fb4-ab16-4933-badc-5cef595225cd",e._sentryDebugIdIdentifier="sentry-dbid-7cef7fb4-ab16-4933-badc-5cef595225cd")}catch{}})();const g=d.div`
1
+ import{V as r,o as t,aj as p,F as u}from"./index-BPv2nRQb.js";import{n as d}from"./mui-DdxImnN0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="7cef7fb4-ab16-4933-badc-5cef595225cd",e._sentryDebugIdIdentifier="sentry-dbid-7cef7fb4-ab16-4933-badc-5cef595225cd")}catch{}})();const g=d.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{J as d,V as i,x as c,aj as u,bK as w}from"./index-Dw_MX6AZ.js";import{n as a}from"./mui-DdxImnN0.js";import{j as l}from"./TimeframeSwitcher-CULpyCRj-DpaezwVo.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="00af6ae7-c9be-4177-bc5c-c0ec9fe91708",e._sentryDebugIdIdentifier="sentry-dbid-00af6ae7-c9be-4177-bc5c-c0ec9fe91708")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},x=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),p=a(x)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>i.jsx(p,{...e}),n={timeframePaddingLeft:new c(0,0,125),timeframePaddingBottom:new c(8,8,0)},y=a.div`
1
+ import{J as d,V as i,x as c,aj as u,bK as w}from"./index-BPv2nRQb.js";import{n as a}from"./mui-DdxImnN0.js";import{j as l}from"./TimeframeSwitcher-CULpyCRj-B4sMqB1t.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="00af6ae7-c9be-4177-bc5c-c0ec9fe91708",e._sentryDebugIdIdentifier="sentry-dbid-00af6ae7-c9be-4177-bc5c-c0ec9fe91708")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},x=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),p=a(x)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>i.jsx(p,{...e}),n={timeframePaddingLeft:new c(0,0,125),timeframePaddingBottom:new c(8,8,0)},y=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aF as z,J as M,V as t,y as x,u as f,w as T,aZ as H,aP as R,aN as F,o as p,aj as C,ba as U,am as X,F as S,aO as Y,aT as E,b3 as G,b4 as N,ab as q,aU as J,bS as Q}from"./index-Dw_MX6AZ.js";import{P as w,a as W}from"./sentry-DBSEoG3b.js";import{F9 as Z}from"./zeni-epic-state-1oOVJQJ4.js";import{n as g}from"./mui-DdxImnN0.js";import{I as ee,T as te}from"./ReloadCard-BSiXuJWg-S2NiaAjj.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-B9Rqv9_n.js";import{H as k,X as $,Y as L,K,O as P,Q as ne,S as oe}from"./recharts-Djp9a38d.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]="de229c41-e04a-4e9b-a215-aa12b46698a6",e._sentryDebugIdIdentifier="sentry-dbid-de229c41-e04a-4e9b-a215-aa12b46698a6")}catch{}})();const ie=g(E)`
1
+ import{aF as z,J as M,V as t,y as x,u as f,w as T,aZ as H,aP as R,aN as F,o as p,aj as C,ba as U,am as X,F as S,aO as Y,aT as E,b3 as G,b4 as N,ab as q,aU as J,bS as Q}from"./index-BPv2nRQb.js";import{P as w,a as W}from"./sentry-DBSEoG3b.js";import{F9 as Z}from"./zeni-epic-state-1oOVJQJ4.js";import{n as g}from"./mui-DdxImnN0.js";import{I as ee,T as te}from"./ReloadCard-BSiXuJWg-BqlPHpin.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-B9Rqv9_n.js";import{H as k,X as $,Y as L,K,O as P,Q as ne,S as oe}from"./recharts-Djp9a38d.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]="de229c41-e04a-4e9b-a215-aa12b46698a6",e._sentryDebugIdIdentifier="sentry-dbid-de229c41-e04a-4e9b-a215-aa12b46698a6")}catch{}})();const ie=g(E)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{y as v,J as A,V as t,bD as S,F as x,aP as b,b4 as B,A as P,o as i,x as E,bR as H,bt as D,u as c,p as V,am as $,ab as F,b0 as z}from"./index-Dw_MX6AZ.js";import{n}from"./mui-DdxImnN0.js";import{F9 as T}from"./zeni-epic-state-1oOVJQJ4.js";import{E as _,I}from"./TopExCard-B29o-5e0-BWjMLd0Z.js";import{j as M}from"./TimeframeSwitcher-CULpyCRj-DpaezwVo.js";import{d as L}from"./NoDataTable-D0cyK_1j-BWgbh49q.js";import{P as Z,a as o}from"./sentry-DBSEoG3b.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./ReloadCard-BSiXuJWg-S2NiaAjj.js";import"./graphic-no-data-l-DU4J8fDt-B9Rqv9_n.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]="def3ee61-f484-4243-9a40-5119ce74bfc1",e._sentryDebugIdIdentifier="sentry-dbid-def3ee61-f484-4243-9a40-5119ce74bfc1")}catch{}})();const j="141px",O=i.sp4,N="123px",R=n(z)`
1
+ import{y as v,J as A,V as t,bD as S,F as x,aP as b,b4 as B,A as P,o as i,x as E,bR as H,bt as D,u as c,p as V,am as $,ab as F,b0 as z}from"./index-BPv2nRQb.js";import{n}from"./mui-DdxImnN0.js";import{F9 as T}from"./zeni-epic-state-1oOVJQJ4.js";import{E as _,I}from"./TopExCard-B29o-5e0-C1Xb1edv.js";import{j as M}from"./TimeframeSwitcher-CULpyCRj-B4sMqB1t.js";import{d as L}from"./NoDataTable-D0cyK_1j-CRU7hu0R.js";import{P as Z,a as o}from"./sentry-DBSEoG3b.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./ReloadCard-BSiXuJWg-BqlPHpin.js";import"./graphic-no-data-l-DU4J8fDt-B9Rqv9_n.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]="def3ee61-f484-4243-9a40-5119ce74bfc1",e._sentryDebugIdIdentifier="sentry-dbid-def3ee61-f484-4243-9a40-5119ce74bfc1")}catch{}})();const j="141px",O=i.sp4,N="123px",R=n(z)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{V as n,k as F,o,b8 as H,F as z,am as I,b as B,eI as U,an as K,bh as M,h as P,aj as W,dv as q,a_ as J}from"./index-Dw_MX6AZ.js";import{a as Q}from"./sentry-DBSEoG3b.js";import{n as i}from"./mui-DdxImnN0.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="18a102df-88c9-4453-ad5c-3d002b6ce63a",e._sentryDebugIdIdentifier="sentry-dbid-18a102df-88c9-4453-ad5c-3d002b6ce63a")}catch{}})();const A=z.getLocalizedStrings(),{transactionActivityLog:p}=A.expenseAutomation.transactions,{dateFormat:x}=A,g={"transaction_line.vendor.updated":p.fields.vendor,"transaction_line.vendor.matched":p.fields.vendor,"transaction_line.account.updated":p.fields.category,"transaction_line.class.updated":p.fields.class,"transaction_line.vendor.user_update":p.fields.vendor,"transaction_line.customer.user_update":p.fields.customer,"transaction_line.memo.user_update":p.fields.memo,"transaction_line.description.user_update":p.fields.description,"transaction_line.account.user_update":p.fields.category,"transaction_line.class.user_update":p.fields.class},f=p.linePrefix;function C(e){return e.data?.transaction?.lineId??null}function Z(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&Z(e[0].eventType)}function G(e){const t=e.data?.transaction?.originalLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function O(e){const t=e.data?.transaction?.updatedLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function y(e){return e.map(t=>`${t.fieldName}|${t.oldValue??""}|${t.newValue??""}`).join(";;")}function R(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=g[s.eventType]??s.eventType,d=G(s),h=O(s),c=t.get(l)??[];c.push({fieldName:m,oldValue:d,newValue:h}),t.set(l,c)}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=y(l);let d=a;for(;d+1<r.length&&y(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function j(e){return e.map(t=>`${t.fieldName}|${t.newValue??""}|${t.reasoning}`).join(";;")}function X(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=E(s),d=g[s.eventType]??s.eventType,h=s.data.aiSummaries[0];if(h!=null){const c=t.get(l)??[];c.push({fieldName:d,newValue:m,reasoning:h.reasoning}),t.set(l,c)}}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=j(l);let d=a;for(;d+1<r.length&&j(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function ee(e){const t=[];let r=0;for(;r<e.length;){const u=e[r],a=[u],s=u.data?.transaction?.correlationId;let l=r+1;if(s!=null)for(;l<e.length&&e[l].data?.transaction?.correlationId===s;)a.push(e[l]),l++;else for(;l<e.length&&e[l].createTime.format("DD MM YYYY HH:mm:ss")===u.createTime.format("DD MM YYYY HH:mm:ss");)a.push(e[l]),l++;t.push(a),r=l}return t}function te(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(Y(e)){const a=e[0].data?.user;if(a!=null){const s=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${a.firstName} ${a.lastName} ${s}`}return p.userUpdatedDetails}const t=[...new Set(e.map(a=>g[a.eventType]).filter(a=>a!=null))];if(t.length===0)return e[0].eventType;if(t.length===1)return`${p.aiBookkeeperAdded} ${t[0]}.`;const r=t.at(-1),u=t.slice(0,-1);return`${p.aiBookkeeperAdded} ${u.join(", ")} and ${r}.`}function E(e){const t=e.data?.transaction?.updatedLine;if(!(t==null||e.eventType==="transaction.sync_database")){if(e.eventType==="transaction_line.vendor.updated"||e.eventType==="transaction_line.vendor.matched")return t.vendor?.name;if(e.eventType==="transaction_line.account.updated")return t.account?.accountName;if(e.eventType==="transaction_line.class.updated")return t.class?.className;if(e.eventType==="transaction_line.customer.updated")return t.customer?.name}}function ne(e){return e.flatMap(t=>{if(t.data==null)return[];const r=t.data.aiSummaries[0];if(r==null)return[];const u=E(t);return[{fieldName:g[t.eventType]??t.eventType,newValue:u,reasoning:r.reasoning}]})}const qe=({transactionActivityLogSelectorView:e,onClose:t})=>{const{transactionActivityLogs:r}=e,u=ee(r);return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?n.jsxs(ie,{children:[n.jsx(F,{size:"ExtraLarge",start:!0}),";"]}):e.fetchState==="Completed"&&u.length===0?n.jsxs(v,{children:[n.jsx(b,{children:n.jsx(_,{children:p.title})}),n.jsx(Me,{children:n.jsx(Ae,{children:p.noLogsFound})})]}):n.jsxs(v,{children:[n.jsxs(b,{children:[n.jsx(_,{children:p.title}),n.jsx(se,{onClick:t,children:n.jsx(oe,{})})]}),n.jsx(ae,{children:u.map((a,s)=>n.jsx(re,{isLast:s===u.length-1,group:a},a[0].id))})]})},re=({group:e,isLast:t})=>{const[r,u]=Q.useState(!1),a=Y(e),s=a?[]:X(e),l=a?R(e):[],m=a?[]:ne(e);return n.jsxs(ue,{children:[n.jsxs(he,{children:[n.jsx(me,{children:a?n.jsx(ge,{}):n.jsx(fe,{})}),!t&&n.jsx($e,{})]}),n.jsxs(xe,{children:[n.jsx(ye,{children:te(e)}),n.jsxs(je,{children:[n.jsx(V,{children:e[0].createTime.format(x.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(V,{children:e[0].createTime.format(x.visual.HHMMFormat)})]}),a&&l.length>0&&n.jsx(w,{children:l.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsx(k,{children:d.lineDisplayLabel}),n.jsx(L,{"aria-hidden":!0,children:"#"})]}),n.jsx(ke,{children:d.details.map((c,$)=>n.jsxs(Le,{children:[n.jsxs(Ve,{children:[c.fieldName,":"," "]}),c.oldValue!=null&&n.jsx(De,{children:c.oldValue}),c.oldValue!=null&&c.newValue!=null&&n.jsx(Se,{children:" → "}),c.newValue!=null&&n.jsx(Ie,{children:c.newValue})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length>0&&n.jsx(w,{children:s.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsxs(le,{children:[n.jsx(de,{}),n.jsx(k,{children:d.lineDisplayLabel})]}),n.jsx(L,{"aria-hidden":!0,children:"#"})]}),n.jsx(ce,{children:d.details.map((c,$)=>n.jsxs(pe,{children:[n.jsxs(D,{children:[c.fieldName,c.newValue!=null&&`: ${c.newValue}`]}),n.jsx(S,{children:c.reasoning})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length===0&&m.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(be,{onClick:()=>u(d=>!d),children:[n.jsx(_e,{isExpanded:r}),n.jsx(we,{children:p.details})]}),r&&n.jsx(Te,{children:m.map((d,h)=>n.jsxs(Ne,{children:[n.jsxs(D,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(S,{children:d.reasoning})]},`${d.fieldName}-${h}`))})]})]})]})},ie=i.div`
1
+ import{V as n,k as F,o,b8 as H,F as z,am as I,b as B,eI as U,an as K,bh as M,h as P,aj as W,dv as q,a_ as J}from"./index-BPv2nRQb.js";import{a as Q}from"./sentry-DBSEoG3b.js";import{n as i}from"./mui-DdxImnN0.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="18a102df-88c9-4453-ad5c-3d002b6ce63a",e._sentryDebugIdIdentifier="sentry-dbid-18a102df-88c9-4453-ad5c-3d002b6ce63a")}catch{}})();const A=z.getLocalizedStrings(),{transactionActivityLog:p}=A.expenseAutomation.transactions,{dateFormat:x}=A,g={"transaction_line.vendor.updated":p.fields.vendor,"transaction_line.vendor.matched":p.fields.vendor,"transaction_line.account.updated":p.fields.category,"transaction_line.class.updated":p.fields.class,"transaction_line.vendor.user_update":p.fields.vendor,"transaction_line.customer.user_update":p.fields.customer,"transaction_line.memo.user_update":p.fields.memo,"transaction_line.description.user_update":p.fields.description,"transaction_line.account.user_update":p.fields.category,"transaction_line.class.user_update":p.fields.class},f=p.linePrefix;function C(e){return e.data?.transaction?.lineId??null}function Z(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&Z(e[0].eventType)}function G(e){const t=e.data?.transaction?.originalLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function O(e){const t=e.data?.transaction?.updatedLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function y(e){return e.map(t=>`${t.fieldName}|${t.oldValue??""}|${t.newValue??""}`).join(";;")}function R(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=g[s.eventType]??s.eventType,d=G(s),h=O(s),c=t.get(l)??[];c.push({fieldName:m,oldValue:d,newValue:h}),t.set(l,c)}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=y(l);let d=a;for(;d+1<r.length&&y(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function j(e){return e.map(t=>`${t.fieldName}|${t.newValue??""}|${t.reasoning}`).join(";;")}function X(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=E(s),d=g[s.eventType]??s.eventType,h=s.data.aiSummaries[0];if(h!=null){const c=t.get(l)??[];c.push({fieldName:d,newValue:m,reasoning:h.reasoning}),t.set(l,c)}}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=j(l);let d=a;for(;d+1<r.length&&j(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function ee(e){const t=[];let r=0;for(;r<e.length;){const u=e[r],a=[u],s=u.data?.transaction?.correlationId;let l=r+1;if(s!=null)for(;l<e.length&&e[l].data?.transaction?.correlationId===s;)a.push(e[l]),l++;else for(;l<e.length&&e[l].createTime.format("DD MM YYYY HH:mm:ss")===u.createTime.format("DD MM YYYY HH:mm:ss");)a.push(e[l]),l++;t.push(a),r=l}return t}function te(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(Y(e)){const a=e[0].data?.user;if(a!=null){const s=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${a.firstName} ${a.lastName} ${s}`}return p.userUpdatedDetails}const t=[...new Set(e.map(a=>g[a.eventType]).filter(a=>a!=null))];if(t.length===0)return e[0].eventType;if(t.length===1)return`${p.aiBookkeeperAdded} ${t[0]}.`;const r=t.at(-1),u=t.slice(0,-1);return`${p.aiBookkeeperAdded} ${u.join(", ")} and ${r}.`}function E(e){const t=e.data?.transaction?.updatedLine;if(!(t==null||e.eventType==="transaction.sync_database")){if(e.eventType==="transaction_line.vendor.updated"||e.eventType==="transaction_line.vendor.matched")return t.vendor?.name;if(e.eventType==="transaction_line.account.updated")return t.account?.accountName;if(e.eventType==="transaction_line.class.updated")return t.class?.className;if(e.eventType==="transaction_line.customer.updated")return t.customer?.name}}function ne(e){return e.flatMap(t=>{if(t.data==null)return[];const r=t.data.aiSummaries[0];if(r==null)return[];const u=E(t);return[{fieldName:g[t.eventType]??t.eventType,newValue:u,reasoning:r.reasoning}]})}const qe=({transactionActivityLogSelectorView:e,onClose:t})=>{const{transactionActivityLogs:r}=e,u=ee(r);return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?n.jsxs(ie,{children:[n.jsx(F,{size:"ExtraLarge",start:!0}),";"]}):e.fetchState==="Completed"&&u.length===0?n.jsxs(v,{children:[n.jsx(b,{children:n.jsx(_,{children:p.title})}),n.jsx(Me,{children:n.jsx(Ae,{children:p.noLogsFound})})]}):n.jsxs(v,{children:[n.jsxs(b,{children:[n.jsx(_,{children:p.title}),n.jsx(se,{onClick:t,children:n.jsx(oe,{})})]}),n.jsx(ae,{children:u.map((a,s)=>n.jsx(re,{isLast:s===u.length-1,group:a},a[0].id))})]})},re=({group:e,isLast:t})=>{const[r,u]=Q.useState(!1),a=Y(e),s=a?[]:X(e),l=a?R(e):[],m=a?[]:ne(e);return n.jsxs(ue,{children:[n.jsxs(he,{children:[n.jsx(me,{children:a?n.jsx(ge,{}):n.jsx(fe,{})}),!t&&n.jsx($e,{})]}),n.jsxs(xe,{children:[n.jsx(ye,{children:te(e)}),n.jsxs(je,{children:[n.jsx(V,{children:e[0].createTime.format(x.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(V,{children:e[0].createTime.format(x.visual.HHMMFormat)})]}),a&&l.length>0&&n.jsx(w,{children:l.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsx(k,{children:d.lineDisplayLabel}),n.jsx(L,{"aria-hidden":!0,children:"#"})]}),n.jsx(ke,{children:d.details.map((c,$)=>n.jsxs(Le,{children:[n.jsxs(Ve,{children:[c.fieldName,":"," "]}),c.oldValue!=null&&n.jsx(De,{children:c.oldValue}),c.oldValue!=null&&c.newValue!=null&&n.jsx(Se,{children:" → "}),c.newValue!=null&&n.jsx(Ie,{children:c.newValue})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length>0&&n.jsx(w,{children:s.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsxs(le,{children:[n.jsx(de,{}),n.jsx(k,{children:d.lineDisplayLabel})]}),n.jsx(L,{"aria-hidden":!0,children:"#"})]}),n.jsx(ce,{children:d.details.map((c,$)=>n.jsxs(pe,{children:[n.jsxs(D,{children:[c.fieldName,c.newValue!=null&&`: ${c.newValue}`]}),n.jsx(S,{children:c.reasoning})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length===0&&m.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(be,{onClick:()=>u(d=>!d),children:[n.jsx(_e,{isExpanded:r}),n.jsx(we,{children:p.details})]}),r&&n.jsx(Te,{children:m.map((d,h)=>n.jsxs(Ne,{children:[n.jsxs(D,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(S,{children:d.reasoning})]},`${d.fieldName}-${h}`))})]})]})]})},ie=i.div`
2
2
  display: flex;
3
3
  justify-content: center;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{dS as Hn,dT as Jn,I as Gn,q as Yn,y as _t,a9 as Xn,J as ae,F as M,aR as Yt,dU as Zn,dV as Qn,cH as Kn,aF as ea,dW as an,dX as ta,V as i,ad as ia,bD as na,dY as aa,dZ as oa,d_ as sa,d$ as Ai,aS as la,x as N,ab as F,e0 as on,e1 as Te,e2 as Oe,e3 as Ne,e4 as Qe,e5 as Ke,e6 as kt,e7 as zt,e8 as et,e9 as ht,ea as At,eb as Vt,ec as Xt,ed as ee,ee as ra,ef as Kt,eg as pe,eh as sn,ei as me,ej as ln,aL as ca,ek as Tt,el as Vi,em as da,i as ua,cr as pa,k as Di,o as a,ce as ma,en as ha,u as O,A as vi,p as re,ar as Ti,bb as ai,h as ga,eo as fa,cl as ya,cj as oi,cL as ot,ep as ba,eq as qt,aV as rn,c$ as xa,er as va,ch as wa,ci as Ca,aP as Le,am as ye,b0 as Ia,es as $a,et as cn,eu as Zt,ev as Qt,ew as mi,dh as Da,b4 as Ta,cv as Oa,ex as Oi,a8 as dn,ey as ei,ez as ti,eA as un,cQ as pn,bU as Li,eB as hi,dn as gi,eC as La,bt as ja,eD as Ei,eE as Sa,eF as ka,az as za,eG as Aa,eH as Va,H as mn,eI as hn,bL as Ea,eJ as Ri,eK as gn,eL as fn,eM as yn,bJ as st,au as Ra,at as Pa,dv as _a,w as bn,eN as Na,bH as Ua,b as Ba,an as Wa,l as Ma,aX as wi}from"./index-Dw_MX6AZ.js";import{a as v,P as Ot}from"./sentry-DBSEoG3b.js";import{n as l}from"./mui-DdxImnN0.js";import{FG as Fa,ux as qa,bE as Rt,bD as Pt,bF as Ha,c3 as Ja,la as Ga,bh as Ya}from"./zeni-epic-state-1oOVJQJ4.js";import{x as Pi}from"./LabeledControlledCheckBoxField-zpbzob1x-DTorn_1A.js";import{R as Xa}from"./TrendWithTransactions-Vqr8x7E_-Ch_SpSv4.js";import{u as Za,c as Qa,d as Ka,m as eo}from"./uploadAttachment-C3cElL9m-QbAR0kQd.js";import{o as to}from"./radio-default-CiSgisfh-LTUMKU8Y.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./TrendChart-KoCvlYmC-ji_PFFB-.js";import"./chartTypes-DESZubWD-Bq3-3C2k.js";import"./toCOABalancesWithID-DxETcMNK-ChqFn7jZ.js";import"./toChartData-BQYX2C7n-DbxCO4-E.js";import"./NoDataChart-BN3zyJkX-DustlDSJ.js";import"./InsightsSection-B7cEUOjq-CHOA81kF.js";import"./NavigationDots-OShASt5i-Bc5YcJG5.js";import"./TransactionList-dUcT29oF-CA_JHn5F.js";import"./ConstrainedInnerElement-BeIpAPjB-CaoYd0_P.js";import"./BoxItem-B6i9yx2h-8tTsCvCc.js";import"./commonDimensions-Cpv8YIix-Dpl_2njg.js";import"./panelSelectedMixin-Cddsb26L-gr9HWaHB.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]="a1df5af4-5995-4ccd-b68e-82ab33ac5965",e._sentryDebugIdIdentifier="sentry-dbid-a1df5af4-5995-4ccd-b68e-82ab33ac5965")}catch{}})();const io={headerMarginTop:new N(O[7],O[8])},no=l(ye)`
1
+ import{dS as Hn,dT as Jn,I as Gn,q as Yn,y as _t,a9 as Xn,J as ae,F as M,aR as Yt,dU as Zn,dV as Qn,cH as Kn,aF as ea,dW as an,dX as ta,V as i,ad as ia,bD as na,dY as aa,dZ as oa,d_ as sa,d$ as Ai,aS as la,x as N,ab as F,e0 as on,e1 as Te,e2 as Oe,e3 as Ne,e4 as Qe,e5 as Ke,e6 as kt,e7 as zt,e8 as et,e9 as ht,ea as At,eb as Vt,ec as Xt,ed as ee,ee as ra,ef as Kt,eg as pe,eh as sn,ei as me,ej as ln,aL as ca,ek as Tt,el as Vi,em as da,i as ua,cr as pa,k as Di,o as a,ce as ma,en as ha,u as O,A as vi,p as re,ar as Ti,bb as ai,h as ga,eo as fa,cl as ya,cj as oi,cL as ot,ep as ba,eq as qt,aV as rn,c$ as xa,er as va,ch as wa,ci as Ca,aP as Le,am as ye,b0 as Ia,es as $a,et as cn,eu as Zt,ev as Qt,ew as mi,dh as Da,b4 as Ta,cv as Oa,ex as Oi,a8 as dn,ey as ei,ez as ti,eA as un,cQ as pn,bU as Li,eB as hi,dn as gi,eC as La,bt as ja,eD as Ei,eE as Sa,eF as ka,az as za,eG as Aa,eH as Va,H as mn,eI as hn,bL as Ea,eJ as Ri,eK as gn,eL as fn,eM as yn,bJ as st,au as Ra,at as Pa,dv as _a,w as bn,eN as Na,bH as Ua,b as Ba,an as Wa,l as Ma,aX as wi}from"./index-BPv2nRQb.js";import{a as v,P as Ot}from"./sentry-DBSEoG3b.js";import{n as l}from"./mui-DdxImnN0.js";import{FG as Fa,ux as qa,bE as Rt,bD as Pt,bF as Ha,c3 as Ja,la as Ga,bh as Ya}from"./zeni-epic-state-1oOVJQJ4.js";import{x as Pi}from"./LabeledControlledCheckBoxField-zpbzob1x-De_sFAdL.js";import{R as Xa}from"./TrendWithTransactions-Vqr8x7E_-B9kpqnaG.js";import{u as Za,c as Qa,d as Ka,m as eo}from"./uploadAttachment-C3cElL9m-DY215Q-d.js";import{o as to}from"./radio-default-CiSgisfh-LTUMKU8Y.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./TrendChart-KoCvlYmC-C-jk3kXT.js";import"./chartTypes-DESZubWD-J95DqIha.js";import"./toCOABalancesWithID-DxETcMNK-Bj7EoGl7.js";import"./toChartData-BQYX2C7n-Cm6krZ2M.js";import"./NoDataChart-BN3zyJkX-d_10V5tE.js";import"./InsightsSection-B7cEUOjq-C4wpk5vd.js";import"./NavigationDots-OShASt5i-BCPaSs2y.js";import"./TransactionList-dUcT29oF-CywtUBOF.js";import"./ConstrainedInnerElement-BeIpAPjB-TJzIXuNi.js";import"./BoxItem-B6i9yx2h-BXmANcI9.js";import"./commonDimensions-Cpv8YIix-BXt5gzTm.js";import"./panelSelectedMixin-Cddsb26L-gr9HWaHB.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]="a1df5af4-5995-4ccd-b68e-82ab33ac5965",e._sentryDebugIdIdentifier="sentry-dbid-a1df5af4-5995-4ccd-b68e-82ab33ac5965")}catch{}})();const io={headerMarginTop:new N(O[7],O[8])},no=l(ye)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,ao=l(ye)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{ce as fe,J as R,V as t,b4 as ue,ab as h,dh as xe,di as he,dc as pe,dj as ge,o as a,p as A,cv as be,F as y,x as X,k as we,am as v,u as g,aj as $e,dk as ye,dl as Z,d3 as G,aP as ee,an as ve}from"./index-Dw_MX6AZ.js";import{a as u,P as ke}from"./sentry-DBSEoG3b.js";import{n,c as je}from"./mui-DdxImnN0.js";import{a as Ye}from"./ConstrainedInnerElement-BeIpAPjB-CaoYd0_P.js";import{Fa as _,Fb as J,Fc as K,Fd as L,bh as Le,Fv as te,bE as ie}from"./zeni-epic-state-1oOVJQJ4.js";import{g as ae}from"./BoxItem-B6i9yx2h-8tTsCvCc.js";import{t as Me}from"./panelSelectedMixin-Cddsb26L-gr9HWaHB.js";import{o as B}from"./commonDimensions-Cpv8YIix-Dpl_2njg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="f43c25f8-9bf5-4d55-9366-d8789e1c93d8",e._sentryDebugIdIdentifier="sentry-dbid-f43c25f8-9bf5-4d55-9366-d8789e1c93d8")}catch{}})();const D=e=>e?24:125,Pe={containerPaddingBottom:new X(g[9],g[8])},W=n.div`
1
+ import{ce as fe,J as R,V as t,b4 as ue,ab as h,dh as xe,di as he,dc as pe,dj as ge,o as a,p as A,cv as be,F as y,x as X,k as we,am as v,u as g,aj as $e,dk as ye,dl as Z,d3 as G,aP as ee,an as ve}from"./index-BPv2nRQb.js";import{a as u,P as ke}from"./sentry-DBSEoG3b.js";import{n,c as je}from"./mui-DdxImnN0.js";import{a as Ye}from"./ConstrainedInnerElement-BeIpAPjB-TJzIXuNi.js";import{Fa as _,Fb as J,Fc as K,Fd as L,bh as Le,Fv as te,bE as ie}from"./zeni-epic-state-1oOVJQJ4.js";import{g as ae}from"./BoxItem-B6i9yx2h-BXmANcI9.js";import{t as Me}from"./panelSelectedMixin-Cddsb26L-gr9HWaHB.js";import{o as B}from"./commonDimensions-Cpv8YIix-BXt5gzTm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="f43c25f8-9bf5-4d55-9366-d8789e1c93d8",e._sentryDebugIdIdentifier="sentry-dbid-f43c25f8-9bf5-4d55-9366-d8789e1c93d8")}catch{}})();const D=e=>e?24:125,Pe={containerPaddingBottom:new X(g[9],g[8])},W=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{x as a,J as R,ax as Z,aG as ie,aZ as ne,V as t,b4 as re,ab as w,u as n,w as ae,p as A,o,H as j,a as ee,F as $,br as se,bs as le,aj as de,ar as ce,aP as me,bt as pe,ap as he,k as ue,A as G,bu as te,i as q,aU as oe}from"./index-Dw_MX6AZ.js";import{a as T,P as C}from"./sentry-DBSEoG3b.js";import{n as i,c as ge}from"./mui-DdxImnN0.js";import{ES as xe,bg as we,bC as O}from"./zeni-epic-state-1oOVJQJ4.js";import{G as $e,c as be}from"./AccountsPromoCardStack-C0Ht_d_M-1zanAeyR.js";import{a as ye}from"./ConstrainedInnerElement-BeIpAPjB-CaoYd0_P.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./SummaryCard-CHqc9QHC-DLmlONgW.js";import"./ReloadCard-BSiXuJWg-S2NiaAjj.js";import"./NavigationArrow-CKhWji3v-aZKiVTlV.js";import"./NavigationDots-OShASt5i-Bc5YcJG5.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]="81365075-b396-48c6-90f2-599a03330e9f",e._sentryDebugIdIdentifier="sentry-dbid-81365075-b396-48c6-90f2-599a03330e9f")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
1
+ import{x as a,J as R,ax as Z,aG as ie,aZ as ne,V as t,b4 as re,ab as w,u as n,w as ae,p as A,o,H as j,a as ee,F as $,br as se,bs as le,aj as de,ar as ce,aP as me,bt as pe,ap as he,k as ue,A as G,bu as te,i as q,aU as oe}from"./index-BPv2nRQb.js";import{a as T,P as C}from"./sentry-DBSEoG3b.js";import{n as i,c as ge}from"./mui-DdxImnN0.js";import{ES as xe,bg as we,bC as O}from"./zeni-epic-state-1oOVJQJ4.js";import{G as $e,c as be}from"./AccountsPromoCardStack-C0Ht_d_M-AWi1njok.js";import{a as ye}from"./ConstrainedInnerElement-BeIpAPjB-TJzIXuNi.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./SummaryCard-CHqc9QHC-Yq25xivx.js";import"./ReloadCard-BSiXuJWg-BqlPHpin.js";import"./NavigationArrow-CKhWji3v-DrK7JvGJ.js";import"./NavigationDots-OShASt5i-BCPaSs2y.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]="81365075-b396-48c6-90f2-599a03330e9f",e._sentryDebugIdIdentifier="sentry-dbid-81365075-b396-48c6-90f2-599a03330e9f")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,Se=i.div`
@@ -1,4 +1,4 @@
1
- import{y as z,bA as M,bB as R,V as t,bC as Q,k as U,ab as h,bD as X,o as s,am as G}from"./index-Dw_MX6AZ.js";import{a as r,n as H}from"./sentry-DBSEoG3b.js";import{n as l}from"./mui-DdxImnN0.js";import{T as J}from"./TransactionList-dUcT29oF-CA_JHn5F.js";import{t as K}from"./page-detail-CWX5S47F-5PyHJMJh.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./ConstrainedInnerElement-BeIpAPjB-CaoYd0_P.js";import"./BoxItem-B6i9yx2h-8tTsCvCc.js";import"./commonDimensions-Cpv8YIix-Dpl_2njg.js";import"./panelSelectedMixin-Cddsb26L-gr9HWaHB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="42a4dc4c-92d6-4853-ab6c-cedbe57b4f63",e._sentryDebugIdIdentifier="sentry-dbid-42a4dc4c-92d6-4853-ab6c-cedbe57b4f63")}catch{}})();const W=l.div`
1
+ import{y as z,bA as M,bB as R,V as t,bC as Q,k as U,ab as h,bD as X,o as s,am as G}from"./index-BPv2nRQb.js";import{a as r,n as H}from"./sentry-DBSEoG3b.js";import{n as l}from"./mui-DdxImnN0.js";import{T as J}from"./TransactionList-dUcT29oF-CywtUBOF.js";import{t as K}from"./page-detail-CWX5S47F-5PyHJMJh.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./ConstrainedInnerElement-BeIpAPjB-TJzIXuNi.js";import"./BoxItem-B6i9yx2h-BXmANcI9.js";import"./commonDimensions-Cpv8YIix-BXt5gzTm.js";import"./panelSelectedMixin-Cddsb26L-gr9HWaHB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="42a4dc4c-92d6-4853-ab6c-cedbe57b4f63",e._sentryDebugIdIdentifier="sentry-dbid-42a4dc4c-92d6-4853-ab6c-cedbe57b4f63")}catch{}})();const W=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 0;
@@ -1,4 +1,4 @@
1
- import{J as A,F as k,V as o,k as R,ab as L,aS as W,o as a,x as g,b as _,H as J,d5 as K,a9 as Q,cH as U,ad as X,u as r,hi as F,hj as M,hk as B,y as G,cM as Y,gQ as z,hl as Z,b8 as ee,hp as oe,hq as te}from"./index-Dw_MX6AZ.js";import{a as I}from"./sentry-DBSEoG3b.js";import{n as c}from"./mui-DdxImnN0.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="bd75eff8-20c9-4313-a813-05e24c9b6e68",e._sentryDebugIdIdentifier="sentry-dbid-bd75eff8-20c9-4313-a813-05e24c9b6e68")}catch{}})();const O=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:x})=>{const i=A(),b=G(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=s=>h.filter(D=>D.accountId===s)[0]?.coaId??"",l=s=>C.filter(D=>D.classId===s)[0]?.accountingClassNumber??"",y=s=>{const D=h.find(q=>q.accountId===s)?.accountName;return[oe,te].includes(D??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:M(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:B(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
1
+ import{J as A,F as k,V as o,k as R,ab as L,aS as W,o as a,x as g,b as _,H as J,d5 as K,a9 as Q,cH as U,ad as X,u as r,hi as F,hj as M,hk as B,y as G,cM as Y,gQ as z,hl as Z,b8 as ee,hp as oe,hq as te}from"./index-BPv2nRQb.js";import{a as I}from"./sentry-DBSEoG3b.js";import{n as c}from"./mui-DdxImnN0.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="bd75eff8-20c9-4313-a813-05e24c9b6e68",e._sentryDebugIdIdentifier="sentry-dbid-bd75eff8-20c9-4313-a813-05e24c9b6e68")}catch{}})();const O=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:x})=>{const i=A(),b=G(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=s=>h.filter(D=>D.accountId===s)[0]?.coaId??"",l=s=>C.filter(D=>D.classId===s)[0]?.accountingClassNumber??"",y=s=>{const D=h.find(q=>q.accountId===s)?.accountName;return[oe,te].includes(D??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:M(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:B(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{V as t,J as ue,ab as A,hy as lt,aP as H,i as ve,hH as ct,k as Ne,aS as $e,o as a,F as E,x as c,b as Ye,c as dt,ba as ut,ar as ft,R as be,aj as De,am as fe,aR as ce,fE as pt,a9 as Xe,cH as mt,aZ as ht,aQ as gt,p as U,ad as qe,fI as ke,fJ as Ae,gg as wt,bU as ye,ga as xt,hI as $t,u as o,fs as bt,cj as He,c1 as Dt,f4 as yt,bL as Tt,an as Je,fV as Ct,dv as St,c3 as Ue,g$ as vt,h0 as kt}from"./index-Dw_MX6AZ.js";import{a as u}from"./sentry-DBSEoG3b.js";import{n}from"./mui-DdxImnN0.js";import{bL as At}from"./zeni-epic-state-1oOVJQJ4.js";import{v as Pt}from"./ZeniTransferAmountSlider-f0nRZPzG-dUb4Mhul.js";import{r as Lt}from"./AccountInfoPageContent-Dn6yodzf-C1aQIT5z.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./downloadPdf-D2sIdMDR-D6_l0NHH.js";import"./commonDimensions-Cpv8YIix-Dpl_2njg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="959d10ba-3d58-48b7-9b4f-dc57b2d8a53a",e._sentryDebugIdIdentifier="sentry-dbid-959d10ba-3d58-48b7-9b4f-dc57b2d8a53a")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ke="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ze="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ge=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:K,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:Z,onReviewClick:G}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),Y(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&Z?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};K(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),G())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Nt,{children:H("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ge(Ze),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ke),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ht,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Jt,{windowSize:i,children:[t.jsx(Zt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ut,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${H("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Kt,{windowSize:i}),t.jsx(Gt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${H("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ke]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
1
+ import{V as t,J as ue,ab as A,hy as lt,aP as H,i as ve,hH as ct,k as Ne,aS as $e,o as a,F as E,x as c,b as Ye,c as dt,ba as ut,ar as ft,R as be,aj as De,am as fe,aR as ce,fE as pt,a9 as Xe,cH as mt,aZ as ht,aQ as gt,p as U,ad as qe,fI as ke,fJ as Ae,gg as wt,bU as ye,ga as xt,hI as $t,u as o,fs as bt,cj as He,c1 as Dt,f4 as yt,bL as Tt,an as Je,fV as Ct,dv as St,c3 as Ue,g$ as vt,h0 as kt}from"./index-BPv2nRQb.js";import{a as u}from"./sentry-DBSEoG3b.js";import{n}from"./mui-DdxImnN0.js";import{bL as At}from"./zeni-epic-state-1oOVJQJ4.js";import{v as Pt}from"./ZeniTransferAmountSlider-f0nRZPzG-BLDyrypP.js";import{r as Lt}from"./AccountInfoPageContent-Dn6yodzf-CnavH9Km.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./downloadPdf-D2sIdMDR-CfGqGROi.js";import"./commonDimensions-Cpv8YIix-BXt5gzTm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="959d10ba-3d58-48b7-9b4f-dc57b2d8a53a",e._sentryDebugIdIdentifier="sentry-dbid-959d10ba-3d58-48b7-9b4f-dc57b2d8a53a")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ke="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ze="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ge=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:K,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:Z,onReviewClick:G}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),Y(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&Z?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};K(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),G())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Nt,{children:H("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ge(Ze),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ke),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ht,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Jt,{windowSize:i,children:[t.jsx(Zt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ut,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${H("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Kt,{windowSize:i}),t.jsx(Gt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${H("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ke]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,ab as W,k as We,o as i,aj as k,F as L,p as w,bL as Ee,x as f,fl as X,H as I,u as p,b5 as ne,bP as Le,aU as Me,ax as Ue,fY as Ge,h5 as _e,i as Je,am as A,b0 as Xe,jt as Ze,k5 as qe,bh as Qe,eR as et,da as tt,fV as it,l1 as ot,j2 as Ae,j3 as Oe,cv as rt,iV as at,iW as nt,l2 as st,kg as lt,an as E,bS as dt,cB as le,j1 as ct,cE as ht}from"./index-Dw_MX6AZ.js";import{a as y,P as pt}from"./sentry-DBSEoG3b.js";import{n as o,c as de}from"./mui-DdxImnN0.js";import{bL as U,c4 as xt}from"./zeni-epic-state-1oOVJQJ4.js";import{s as gt}from"./commonDimensions-Cpv8YIix-Dpl_2njg.js";import{g as ce}from"./BoxItem-B6i9yx2h-8tTsCvCc.js";import{o as mt}from"./shield-DOlUxcFf-BOPfGBnx.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-Djp9a38d.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="705a07c1-903b-4384-978e-fffb40f0838f",e._sentryDebugIdIdentifier="sentry-dbid-705a07c1-903b-4384-978e-fffb40f0838f")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ft={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new f(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new f(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new f(80,100,150,180,200)},oe=()=>[ft,yt,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new f(p[0],p[4]),headerLastColumnRightPadding:new f(p[3],p[11]),headerLastColumnBottomPadding:new f(p[0],p[4]),headerLastColumnLeftPadding:new f(p[3],p[11]),headerHeight:new f(Ae,Oe),sortIconSize:new f(p[2],p[2]),headerPaddingTop:new f(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=y.useState(oe());y.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(fe,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(fe,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
1
+ import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,ab as W,k as We,o as i,aj as k,F as L,p as w,bL as Ee,x as f,fl as X,H as I,u as p,b5 as ne,bP as Le,aU as Me,ax as Ue,fY as Ge,h5 as _e,i as Je,am as A,b0 as Xe,jt as Ze,k5 as qe,bh as Qe,eR as et,da as tt,fV as it,l1 as ot,j2 as Ae,j3 as Oe,cv as rt,iV as at,iW as nt,l2 as st,kg as lt,an as E,bS as dt,cB as le,j1 as ct,cE as ht}from"./index-BPv2nRQb.js";import{a as y,P as pt}from"./sentry-DBSEoG3b.js";import{n as o,c as de}from"./mui-DdxImnN0.js";import{bL as U,c4 as xt}from"./zeni-epic-state-1oOVJQJ4.js";import{s as gt}from"./commonDimensions-Cpv8YIix-BXt5gzTm.js";import{g as ce}from"./BoxItem-B6i9yx2h-BXmANcI9.js";import{o as mt}from"./shield-DOlUxcFf-BOPfGBnx.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-Djp9a38d.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="705a07c1-903b-4384-978e-fffb40f0838f",e._sentryDebugIdIdentifier="sentry-dbid-705a07c1-903b-4384-978e-fffb40f0838f")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ft={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new f(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new f(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new f(80,100,150,180,200)},oe=()=>[ft,yt,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new f(p[0],p[4]),headerLastColumnRightPadding:new f(p[3],p[11]),headerLastColumnBottomPadding:new f(p[0],p[4]),headerLastColumnLeftPadding:new f(p[3],p[11]),headerHeight:new f(Ae,Oe),sortIconSize:new f(p[2],p[2]),headerPaddingTop:new f(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=y.useState(oe());y.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(fe,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(fe,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{y as ce,J as V,ax as $e,a8 as fe,aR as ye,V as r,bD as be,fx as ke,b5 as je,o as t,jt as Se,bU as ze,aj as k,i as Z,ab as Q,F as A,H as $,ar as F,p as a,x as z,am as R,da as ve,bW as Le,c as Pe,an as Me,ff as Be,u as h,dP as Ee,bg as Ie,R as Te,b as De,w as ee,d5 as We}from"./index-Dw_MX6AZ.js";import{a as s,P as _e}from"./sentry-DBSEoG3b.js";import{n as i}from"./mui-DdxImnN0.js";import{GJ as Re}from"./zeni-epic-state-1oOVJQJ4.js";import{I as He,N as Ge}from"./VideoPlayer-CIr6pCWx-BWEj8qhe.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-CtO92HdQ.js";import{o as Ve}from"./shield-DOlUxcFf-BOPfGBnx.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="8ba65c16-380c-4677-9a6d-a8564e262653",e._sentryDebugIdIdentifier="sentry-dbid-8ba65c16-380c-4677-9a6d-a8564e262653")}catch{}})();const Ae=({isOpen:e,onClose:g})=>{const d=V(),C=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(qe,{onClick:g})}),r.jsxs(Ue,{children:[r.jsx(Ye,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(G,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Je,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ke,{children:p.links.map((u,b)=>r.jsx(Ze,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Fe=i.div`
1
+ import{y as ce,J as V,ax as $e,a8 as fe,aR as ye,V as r,bD as be,fx as ke,b5 as je,o as t,jt as Se,bU as ze,aj as k,i as Z,ab as Q,F as A,H as $,ar as F,p as a,x as z,am as R,da as ve,bW as Le,c as Pe,an as Me,ff as Be,u as h,dP as Ee,bg as Ie,R as Te,b as De,w as ee,d5 as We}from"./index-BPv2nRQb.js";import{a as s,P as _e}from"./sentry-DBSEoG3b.js";import{n as i}from"./mui-DdxImnN0.js";import{GJ as Re}from"./zeni-epic-state-1oOVJQJ4.js";import{I as He,N as Ge}from"./VideoPlayer-CIr6pCWx-BlGxtEbt.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-CtO92HdQ.js";import{o as Ve}from"./shield-DOlUxcFf-BOPfGBnx.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="8ba65c16-380c-4677-9a6d-a8564e262653",e._sentryDebugIdIdentifier="sentry-dbid-8ba65c16-380c-4677-9a6d-a8564e262653")}catch{}})();const Ae=({isOpen:e,onClose:g})=>{const d=V(),C=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(qe,{onClick:g})}),r.jsxs(Ue,{children:[r.jsx(Ye,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(G,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Je,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ke,{children:p.links.map((u,b)=>r.jsx(Ze,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Fe=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{y as S,J as j,V as t,bD as I,b4 as z,o as r,F as C,p as m,cv as D,x as P,u as p,am as T}from"./index-Dw_MX6AZ.js";import{a as h}from"./sentry-DBSEoG3b.js";import{n as o}from"./mui-DdxImnN0.js";import{$ as E}from"./BoxItem-B6i9yx2h-8tTsCvCc.js";import{o as B}from"./commonDimensions-Cpv8YIix-Dpl_2njg.js";import{O as M}from"./StatementItem-BJJHaw9s-DKXMQrB-.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./downloadPdf-D2sIdMDR-D6_l0NHH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="5f0a939a-ad93-49dd-8816-8945f218ee10",e._sentryDebugIdIdentifier="sentry-dbid-5f0a939a-ad93-49dd-8816-8945f218ee10")}catch{}})();const b=C.getLocalizedStrings().spendManagement.treasury.statements,u={listItemMargin:new P(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,statementListView:n,onBackClick:w})=>{const g=S(),i=j(),x=h.createRef(),y=h.useRef(),k=n.statements.length===0,$=()=>B.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.statements[s];return k===!1?t.jsx(f,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"treasuryStatement",boxType:E(s,n.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(f,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(H,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.statements.length,itemSize:$,initialScrollOffset:0,children:v})})})]})},R=o.div``,f=o.div`
1
+ import{y as S,J as j,V as t,bD as I,b4 as z,o as r,F as C,p as m,cv as D,x as P,u as p,am as T}from"./index-BPv2nRQb.js";import{a as h}from"./sentry-DBSEoG3b.js";import{n as o}from"./mui-DdxImnN0.js";import{$ as E}from"./BoxItem-B6i9yx2h-BXmANcI9.js";import{o as B}from"./commonDimensions-Cpv8YIix-BXt5gzTm.js";import{O as M}from"./StatementItem-BJJHaw9s-29L7-ckn.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./downloadPdf-D2sIdMDR-CfGqGROi.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="5f0a939a-ad93-49dd-8816-8945f218ee10",e._sentryDebugIdIdentifier="sentry-dbid-5f0a939a-ad93-49dd-8816-8945f218ee10")}catch{}})();const b=C.getLocalizedStrings().spendManagement.treasury.statements,u={listItemMargin:new P(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,statementListView:n,onBackClick:w})=>{const g=S(),i=j(),x=h.createRef(),y=h.useRef(),k=n.statements.length===0,$=()=>B.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.statements[s];return k===!1?t.jsx(f,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"treasuryStatement",boxType:E(s,n.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(f,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(H,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.statements.length,itemSize:$,initialScrollOffset:0,children:v})})})]})},R=o.div``,f=o.div`
2
2
  margin: ${e=>`${r.sp0} ${u.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{y as j,J as S,V as t,bD as L,b4 as I,o as r,F as z,p,cv as T,x as C,u as h,am as D}from"./index-Dw_MX6AZ.js";import{a as m}from"./sentry-DBSEoG3b.js";import{n as o}from"./mui-DdxImnN0.js";import{$ as P}from"./BoxItem-B6i9yx2h-8tTsCvCc.js";import{o as E}from"./commonDimensions-Cpv8YIix-Dpl_2njg.js";import{O as B}from"./StatementItem-BJJHaw9s-DKXMQrB-.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./downloadPdf-D2sIdMDR-D6_l0NHH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="08965e24-0199-4393-9a4c-c21a4cd61926",e._sentryDebugIdIdentifier="sentry-dbid-08965e24-0199-4393-9a4c-c21a4cd61926")}catch{}})();const x=z.getLocalizedStrings().spendManagement.treasury.taxLetter,u={listItemMargin:new C(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:w})=>{const g=j(),i=S(),f=m.createRef(),y=m.useRef(),$=n.taxLetters.length===0,k=()=>E.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return $===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:P(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(b,{windowSize:i,children:t.jsx(N,{children:x.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:x.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(H,{ref:f,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},M=o.div``,b=o.div`
1
+ import{y as j,J as S,V as t,bD as L,b4 as I,o as r,F as z,p,cv as T,x as C,u as h,am as D}from"./index-BPv2nRQb.js";import{a as m}from"./sentry-DBSEoG3b.js";import{n as o}from"./mui-DdxImnN0.js";import{$ as P}from"./BoxItem-B6i9yx2h-BXmANcI9.js";import{o as E}from"./commonDimensions-Cpv8YIix-BXt5gzTm.js";import{O as B}from"./StatementItem-BJJHaw9s-29L7-ckn.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./downloadPdf-D2sIdMDR-CfGqGROi.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="08965e24-0199-4393-9a4c-c21a4cd61926",e._sentryDebugIdIdentifier="sentry-dbid-08965e24-0199-4393-9a4c-c21a4cd61926")}catch{}})();const x=z.getLocalizedStrings().spendManagement.treasury.taxLetter,u={listItemMargin:new C(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:w})=>{const g=j(),i=S(),f=m.createRef(),y=m.useRef(),$=n.taxLetters.length===0,k=()=>E.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return $===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:P(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(b,{windowSize:i,children:t.jsx(N,{children:x.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:x.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(H,{ref:f,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},M=o.div``,b=o.div`
2
2
  margin: ${e=>`${r.sp0} ${u.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{F as $,V as n,y as P,b4 as _,w as j,aZ as A,ab as Y,o as L,p as I,am as R}from"./index-Dw_MX6AZ.js";import{a as v,P as z}from"./sentry-DBSEoG3b.js";import{Fd as m}from"./zeni-epic-state-1oOVJQJ4.js";import{d as B,g as T,p as D,u as O}from"./chartTypes-DESZubWD-Bq3-3C2k.js";import{n as k}from"./mui-DdxImnN0.js";import{o as q}from"./toCOABalancesWithID-DxETcMNK-ChqFn7jZ.js";import{V as K}from"./toChartData-BQYX2C7n-DbxCO4-E.js";import{H as V,I as G,X as N,Y as W,J as X,R as Z,K as H}from"./recharts-Djp9a38d.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="67cf877b-0fb4-4a01-a879-51b0cd5090ff",e._sentryDebugIdIdentifier="sentry-dbid-67cf877b-0fb4-4a01-a879-51b0cd5090ff")}catch{}})();const J=k.div`
1
+ import{F as $,V as n,y as P,b4 as _,w as j,aZ as A,ab as Y,o as L,p as I,am as R}from"./index-BPv2nRQb.js";import{a as v,P as z}from"./sentry-DBSEoG3b.js";import{Fd as m}from"./zeni-epic-state-1oOVJQJ4.js";import{d as B,g as T,p as D,u as O}from"./chartTypes-DESZubWD-J95DqIha.js";import{n as k}from"./mui-DdxImnN0.js";import{o as q}from"./toCOABalancesWithID-DxETcMNK-Bj7EoGl7.js";import{V as K}from"./toChartData-BQYX2C7n-Cm6krZ2M.js";import{H as V,I as G,X as N,Y as W,J as X,R as Z,K as H}from"./recharts-Djp9a38d.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="67cf877b-0fb4-4a01-a879-51b0cd5090ff",e._sentryDebugIdIdentifier="sentry-dbid-67cf877b-0fb4-4a01-a879-51b0cd5090ff")}catch{}})();const J=k.div`
2
2
  display: flex;
3
3
  `,Q=k.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{J as H,V as i,k as L,o as r,F,b4 as E,ab as T,x as c,b8 as I,R as V,u as a,am as A,b as q}from"./index-Dw_MX6AZ.js";import{a as k}from"./sentry-DBSEoG3b.js";import{n}from"./mui-DdxImnN0.js";import K from"./TrendChart-KoCvlYmC-ji_PFFB-.js";import{C as W}from"./NoDataChart-BN3zyJkX-DustlDSJ.js";import{F as J}from"./InsightsSection-B7cEUOjq-CHOA81kF.js";import{T as Q}from"./TransactionList-dUcT29oF-CA_JHn5F.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]="7adc6106-0460-487b-8779-a975c0a4a105",e._sentryDebugIdIdentifier="sentry-dbid-7adc6106-0460-487b-8779-a975c0a4a105")}catch{}})();const Z=n.div`
1
+ import{J as H,V as i,k as L,o as r,F,b4 as E,ab as T,x as c,b8 as I,R as V,u as a,am as A,b as q}from"./index-BPv2nRQb.js";import{a as k}from"./sentry-DBSEoG3b.js";import{n}from"./mui-DdxImnN0.js";import K from"./TrendChart-KoCvlYmC-C-jk3kXT.js";import{C as W}from"./NoDataChart-BN3zyJkX-d_10V5tE.js";import{F as J}from"./InsightsSection-B7cEUOjq-C4wpk5vd.js";import{T as Q}from"./TransactionList-dUcT29oF-CywtUBOF.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]="7adc6106-0460-487b-8779-a975c0a4a105",e._sentryDebugIdIdentifier="sentry-dbid-7adc6106-0460-487b-8779-a975c0a4a105")}catch{}})();const Z=n.div`
2
2
  display: inline-block;
3
3
  `,G=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{y as ie,J as ce,ax as Ke,aR as en,gL as I,hT as U,a9 as nn,hU as tn,hV as je,cH as on,V as t,bD as cn,cr as sn,cs as an,ct as ln,ad as dn,hW as rn,k as un,aS as pn,fB as mn,F as W,hX as _e,x as u,am as gn,o as a,cL as be,aW as q,gQ as te,hY as oe,hZ as Z,h_ as xn,u as r,H as ye,p as Ae,g9 as Ve,aj as $e,bj as hn}from"./index-Dw_MX6AZ.js";import{a as Y}from"./sentry-DBSEoG3b.js";import{n as s}from"./mui-DdxImnN0.js";import{G4 as Te,FK as fn,FL as wn,G5 as bn}from"./zeni-epic-state-1oOVJQJ4.js";import{h as yn}from"./VendorsAccountsSection-CTmdfJi_-2OXKGXSP.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="29ddf28a-a819-48a1-ae1f-580857dd67fa",e._sentryDebugIdIdentifier="sentry-dbid-29ddf28a-a819-48a1-ae1f-580857dd67fa")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new ye("standardMedium","largeMedium")},An=s.div`
1
+ import{y as ie,J as ce,ax as Ke,aR as en,gL as I,hT as U,a9 as nn,hU as tn,hV as je,cH as on,V as t,bD as cn,cr as sn,cs as an,ct as ln,ad as dn,hW as rn,k as un,aS as pn,fB as mn,F as W,hX as _e,x as u,am as gn,o as a,cL as be,aW as q,gQ as te,hY as oe,hZ as Z,h_ as xn,u as r,H as ye,p as Ae,g9 as Ve,aj as $e,bj as hn}from"./index-BPv2nRQb.js";import{a as Y}from"./sentry-DBSEoG3b.js";import{n as s}from"./mui-DdxImnN0.js";import{G4 as Te,FK as fn,FL as wn,G5 as bn}from"./zeni-epic-state-1oOVJQJ4.js";import{h as yn}from"./VendorsAccountsSection-CTmdfJi_-CxsrtQCW.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="29ddf28a-a819-48a1-ae1f-580857dd67fa",e._sentryDebugIdIdentifier="sentry-dbid-29ddf28a-a819-48a1-ae1f-580857dd67fa")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new ye("standardMedium","largeMedium")},An=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aR as S,V as t,i0 as q,i1 as W,J as P,F as O,cr as L,af as C,cs as U,ct as N,a9 as R,ad as H,cT as M,cO as F,x as g,cP as G,p as A,ap as J,k as K,i as Q,o as i,am as X,u as D,ar as Y,bb as Z}from"./index-Dw_MX6AZ.js";import{a as l}from"./sentry-DBSEoG3b.js";import{n as f}from"./mui-DdxImnN0.js";import{bL as ee,bh as te}from"./zeni-epic-state-1oOVJQJ4.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="41727dec-1ca7-45da-b67c-1a9a04706a01",e._sentryDebugIdIdentifier="sentry-dbid-41727dec-1ca7-45da-b67c-1a9a04706a01")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(D[3],D[2]),width:new g(300,420,420)},ie=f.div`
1
+ import{aR as S,V as t,i0 as q,i1 as W,J as P,F as O,cr as L,af as C,cs as U,ct as N,a9 as R,ad as H,cT as M,cO as F,x as g,cP as G,p as A,ap as J,k as K,i as Q,o as i,am as X,u as D,ar as Y,bb as Z}from"./index-BPv2nRQb.js";import{a as l}from"./sentry-DBSEoG3b.js";import{n as f}from"./mui-DdxImnN0.js";import{bL as ee,bh as te}from"./zeni-epic-state-1oOVJQJ4.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="41727dec-1ca7-45da-b67c-1a9a04706a01",e._sentryDebugIdIdentifier="sentry-dbid-41727dec-1ca7-45da-b67c-1a9a04706a01")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(D[3],D[2]),width:new g(300,420,420)},ie=f.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{a9 as U,fC as b,aR as k,J as M,F as A,cH as H,V as i,ad as W,ab as q,fD as J,o as a,p as K,cU as G,aS as Q,x,b as X,R as Y,bb as Z,ba as ee,u as c}from"./index-Dw_MX6AZ.js";import{a as f}from"./sentry-DBSEoG3b.js";import{n as o}from"./mui-DdxImnN0.js";import{ET as te}from"./zeni-epic-state-1oOVJQJ4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="0829151d-53ea-4476-bd23-bc48d12fb833",e._sentryDebugIdIdentifier="sentry-dbid-0829151d-53ea-4476-bd23-bc48d12fb833")}catch{}})();const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:S,companyOfficer:t,updateStatus:p,onClose:$,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[T,w]=f.useState(!1),[z,N]=f.useState(!1),D=k(p.fetchState),j=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},V=Object.values(j??{}).filter(l=>l!=null),B=te(V);f.useEffect(()=>{D==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[D,p,n,t?.additionalFiles]);const r=M(),y=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{B.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),_=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&H(()=>_(d,h))});return()=>{l.unsubscribe()}}),i.jsx(W,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:L})}),i.jsx(J,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:G,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${K.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:O,filesEndPoint:m,authParams:S,hasError:z,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>N(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),T?i.jsx(Q,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
1
+ import{a9 as U,fC as b,aR as k,J as M,F as A,cH as H,V as i,ad as W,ab as q,fD as J,o as a,p as K,cU as G,aS as Q,x,b as X,R as Y,bb as Z,ba as ee,u as c}from"./index-BPv2nRQb.js";import{a as f}from"./sentry-DBSEoG3b.js";import{n as o}from"./mui-DdxImnN0.js";import{ET as te}from"./zeni-epic-state-1oOVJQJ4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="0829151d-53ea-4476-bd23-bc48d12fb833",e._sentryDebugIdIdentifier="sentry-dbid-0829151d-53ea-4476-bd23-bc48d12fb833")}catch{}})();const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:S,companyOfficer:t,updateStatus:p,onClose:$,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[T,w]=f.useState(!1),[z,N]=f.useState(!1),D=k(p.fetchState),j=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},V=Object.values(j??{}).filter(l=>l!=null),B=te(V);f.useEffect(()=>{D==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[D,p,n,t?.additionalFiles]);const r=M(),y=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{B.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),_=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&H(()=>_(d,h))});return()=>{l.unsubscribe()}}),i.jsx(W,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:L})}),i.jsx(J,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:G,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${K.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:O,filesEndPoint:m,authParams:S,hasError:z,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>N(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),T?i.jsx(Q,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{aR as i,F as w,V as r,i0 as v,i1 as x}from"./index-Dw_MX6AZ.js";import{a as s}from"./sentry-DBSEoG3b.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./mui-DdxImnN0.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="765fcf34-a31c-428a-b8bd-51d0e2fa21e6",t._sentryDebugIdIdentifier="sentry-dbid-765fcf34-a31c-428a-b8bd-51d0e2fa21e6")}catch{}})();const G=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:V}=t,f=Object.assign({},m??V),[b,o]=s.useState(!1),[y,n]=s.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:b===!0?r.jsx(v,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(x,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:I=>S?.(I)}}):null})};export{G as default};
1
+ import{aR as i,F as w,V as r,i0 as v,i1 as x}from"./index-BPv2nRQb.js";import{a as s}from"./sentry-DBSEoG3b.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./mui-DdxImnN0.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="765fcf34-a31c-428a-b8bd-51d0e2fa21e6",t._sentryDebugIdIdentifier="sentry-dbid-765fcf34-a31c-428a-b8bd-51d0e2fa21e6")}catch{}})();const G=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:V}=t,f=Object.assign({},m??V),[b,o]=s.useState(!1),[y,n]=s.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:b===!0?r.jsx(v,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(x,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:I=>S?.(I)}}):null})};export{G as default};
@@ -1 +1 @@
1
- import{V as p}from"./index-Dw_MX6AZ.js";import{a as m}from"./sentry-DBSEoG3b.js";import{f as u}from"./ACHDetailsPage-CdyuCPU8-0VceC4Oh.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./mui-DdxImnN0.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./BankAccountWarningSection-DeUkht1G--scnEmUk.js";import"./MagicLinkTitleSection-DajyP-ys-Be4ZqDQL.js";import"./BankAccountSection-BQKaKFnm-DHGgFmbL.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]="96f5d7f4-2757-43cf-a3ec-395e6e286a7a",e._sentryDebugIdIdentifier="sentry-dbid-96f5d7f4-2757-43cf-a3ec-395e6e286a7a")}catch{}})();const I=({vendorViewDetails:e,bankAccountContext:t,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:d,bankAccountToCreate:c,fetchBankNameByRoutingStatus:f}=e;return m.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e.editVendorState?.saveStatus.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e.editVendorState?.saveStatus.fetchState,t,a]),p.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:d,fetchBankNameByRoutingStatus:f,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})};export{I as default};
1
+ import{V as p}from"./index-BPv2nRQb.js";import{a as m}from"./sentry-DBSEoG3b.js";import{f as u}from"./ACHDetailsPage-CdyuCPU8-Cc9AcSrc.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./mui-DdxImnN0.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./BankAccountWarningSection-DeUkht1G-Dr6bgRCP.js";import"./MagicLinkTitleSection-DajyP-ys-DhZ3lo9u.js";import"./BankAccountSection-BQKaKFnm-DXAkbQt8.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]="96f5d7f4-2757-43cf-a3ec-395e6e286a7a",e._sentryDebugIdIdentifier="sentry-dbid-96f5d7f4-2757-43cf-a3ec-395e6e286a7a")}catch{}})();const I=({vendorViewDetails:e,bankAccountContext:t,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:d,bankAccountToCreate:c,fetchBankNameByRoutingStatus:f}=e;return m.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e.editVendorState?.saveStatus.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e.editVendorState?.saveStatus.fetchState,t,a]),p.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:d,fetchBankNameByRoutingStatus:f,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})};export{I as default};
@@ -1,4 +1,4 @@
1
- import{y as Ee,J as ae,x as u,aF as we,cK as ft,a9 as wt,he as Ce,hf as Ct,aW as $t,cH as St,V as t,bC as Dt,ad as jt,hg as Tt,hh as ye,u as l,cI as Lt,aS as Vt,bD as kt,F as W,hi as Ue,hj as qe,hk as Qe,o,bQ as S,cL as It,gQ as $e,hl as Ot,cM as Pt,cN as Mt,cO as zt,hm as Ft,gh as _t,cV as Nt,hn as Wt,ho as Ht,p as N,b8 as Ye,aj as Ge,dv as Bt,b0 as Rt,hp as At,hq as Et,am as Ut,co as qt,du as Qt,d3 as Yt,aZ as pe,hr as Gt,cj as Je,hs as Jt,H as Se,a as Ke}from"./index-Dw_MX6AZ.js";import{a as $}from"./sentry-DBSEoG3b.js";import{n as a,c as Kt}from"./mui-DdxImnN0.js";import{bi as De,G0 as Xt,G1 as Zt}from"./zeni-epic-state-1oOVJQJ4.js";import{k as es}from"./SubTabSwitcher-Bk10VIFM-DuWTd5Gf.js";import{T as ts}from"./TransactionList-dUcT29oF-CA_JHn5F.js";import{R as ss}from"./TrendWithTransactions-Vqr8x7E_-Ch_SpSv4.js";import{o as os,t as as}from"./arrow-south-east-round-PEovUgvH-CIyEcJYf.js";import{C as ns}from"./LabeledAddressValueField-BppwMtJ1-Dgoqu5O4.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-5t5k_pgq-CfuE84-6.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./ConstrainedInnerElement-BeIpAPjB-CaoYd0_P.js";import"./BoxItem-B6i9yx2h-8tTsCvCc.js";import"./commonDimensions-Cpv8YIix-Dpl_2njg.js";import"./panelSelectedMixin-Cddsb26L-gr9HWaHB.js";import"./TrendChart-KoCvlYmC-ji_PFFB-.js";import"./chartTypes-DESZubWD-Bq3-3C2k.js";import"./toCOABalancesWithID-DxETcMNK-ChqFn7jZ.js";import"./toChartData-BQYX2C7n-DbxCO4-E.js";import"./NoDataChart-BN3zyJkX-DustlDSJ.js";import"./InsightsSection-B7cEUOjq-CHOA81kF.js";import"./NavigationDots-OShASt5i-Bc5YcJG5.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]="2f58d567-8fec-4d63-9eae-1553d9771239",e._sentryDebugIdIdentifier="sentry-dbid-2f58d567-8fec-4d63-9eae-1553d9771239")}catch{}})();const is=a.div`
1
+ import{y as Ee,J as ae,x as u,aF as we,cK as ft,a9 as wt,he as Ce,hf as Ct,aW as $t,cH as St,V as t,bC as Dt,ad as jt,hg as Tt,hh as ye,u as l,cI as Lt,aS as Vt,bD as kt,F as W,hi as Ue,hj as qe,hk as Qe,o,bQ as S,cL as It,gQ as $e,hl as Ot,cM as Pt,cN as Mt,cO as zt,hm as Ft,gh as _t,cV as Nt,hn as Wt,ho as Ht,p as N,b8 as Ye,aj as Ge,dv as Bt,b0 as Rt,hp as At,hq as Et,am as Ut,co as qt,du as Qt,d3 as Yt,aZ as pe,hr as Gt,cj as Je,hs as Jt,H as Se,a as Ke}from"./index-BPv2nRQb.js";import{a as $}from"./sentry-DBSEoG3b.js";import{n as a,c as Kt}from"./mui-DdxImnN0.js";import{bi as De,G0 as Xt,G1 as Zt}from"./zeni-epic-state-1oOVJQJ4.js";import{k as es}from"./SubTabSwitcher-Bk10VIFM-CrNC5Y_x.js";import{T as ts}from"./TransactionList-dUcT29oF-CywtUBOF.js";import{R as ss}from"./TrendWithTransactions-Vqr8x7E_-B9kpqnaG.js";import{o as os,t as as}from"./arrow-south-east-round-PEovUgvH-CIyEcJYf.js";import{C as ns}from"./LabeledAddressValueField-BppwMtJ1-T6lPuNrW.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-5t5k_pgq-3N767TYR.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./ConstrainedInnerElement-BeIpAPjB-TJzIXuNi.js";import"./BoxItem-B6i9yx2h-BXmANcI9.js";import"./commonDimensions-Cpv8YIix-BXt5gzTm.js";import"./panelSelectedMixin-Cddsb26L-gr9HWaHB.js";import"./TrendChart-KoCvlYmC-C-jk3kXT.js";import"./chartTypes-DESZubWD-J95DqIha.js";import"./toCOABalancesWithID-DxETcMNK-Bj7EoGl7.js";import"./toChartData-BQYX2C7n-Cm6krZ2M.js";import"./NoDataChart-BN3zyJkX-d_10V5tE.js";import"./InsightsSection-B7cEUOjq-C4wpk5vd.js";import"./NavigationDots-OShASt5i-BCPaSs2y.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]="2f58d567-8fec-4d63-9eae-1553d9771239",e._sentryDebugIdIdentifier="sentry-dbid-2f58d567-8fec-4d63-9eae-1553d9771239")}catch{}})();const is=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{V as l}from"./index-Dw_MX6AZ.js";import{a as k}from"./sentry-DBSEoG3b.js";import{D as y}from"./DomesticWireDetailsPage-CL-gGug5-Dmorx9NL.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./mui-DdxImnN0.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./BankAccountSection-BQKaKFnm-DHGgFmbL.js";import"./MagicLinkTitleSection-DajyP-ys-Be4ZqDQL.js";import"./BankAccountWarningSection-DeUkht1G--scnEmUk.js";import"./MailingDetailsSection-F1i0rBkv-CZo5kIPL.js";import"./LabeledAddressValueField-BppwMtJ1-Dgoqu5O4.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]="2b443283-2bf0-427c-b40a-01fa4a2f94f2",e._sentryDebugIdIdentifier="sentry-dbid-2b443283-2bf0-427c-b40a-01fa4a2f94f2")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:d,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:f,newVendorState:p,bankNameByRouting:m,bankAccountToCreate:u,fetchBankNameByRoutingStatus:b}=e,a=Object.assign({},f??p);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),l.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:m,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:b,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:d,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
1
+ import{V as l}from"./index-BPv2nRQb.js";import{a as k}from"./sentry-DBSEoG3b.js";import{D as y}from"./DomesticWireDetailsPage-CL-gGug5-CFzt84md.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./mui-DdxImnN0.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./BankAccountSection-BQKaKFnm-DXAkbQt8.js";import"./MagicLinkTitleSection-DajyP-ys-DhZ3lo9u.js";import"./BankAccountWarningSection-DeUkht1G-Dr6bgRCP.js";import"./MailingDetailsSection-F1i0rBkv-84yBXYZi.js";import"./LabeledAddressValueField-BppwMtJ1-T6lPuNrW.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]="2b443283-2bf0-427c-b40a-01fa4a2f94f2",e._sentryDebugIdIdentifier="sentry-dbid-2b443283-2bf0-427c-b40a-01fa4a2f94f2")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:d,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:f,newVendorState:p,bankNameByRouting:m,bankAccountToCreate:u,fetchBankNameByRoutingStatus:b}=e,a=Object.assign({},f??p);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),l.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:m,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:b,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:d,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
@@ -1,4 +1,4 @@
1
- import{J as ae,y as ze,a9 as Ae,cH as ke,x as w,V as t,bD as Be,ab as Oe,ad as Ee,cM as C,o as s,cR as We,hm as Re,gh as qe,cV as Me,hn as He,ho as Qe,cQ as Ke,aS as Ue,F as ne,f1 as K,ht as de,ex as _e,f2 as Ge,u as c,b as Je,bQ as L,cF as Ye,hu as Ze,p as F,N as Xe,cj as et,am as ce,eN as tt,hv as st,hw as lt,hx as M,f3 as it}from"./index-Dw_MX6AZ.js";import{a as x}from"./sentry-DBSEoG3b.js";import{n as o}from"./mui-DdxImnN0.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-5t5k_pgq-CfuE84-6.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="1196ec82-893b-42df-9d3c-a584e1859b80",e._sentryDebugIdIdentifier="sentry-dbid-1196ec82-893b-42df-9d3c-a584e1859b80")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function ot(e){const{loadingState:i}=e;return t.jsx(at,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function at({googleAPIKey:e,addressToEdit:i,sectionId:a,isDisabled:g,style:W}){const O=ae(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(O);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:W,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(a,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(a,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(a,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(a,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(a,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(a,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(O),width:"100%",outline:"none"},text:{type:"text",name:j(a,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=o.div`
1
+ import{J as ae,y as ze,a9 as Ae,cH as ke,x as w,V as t,bD as Be,ab as Oe,ad as Ee,cM as C,o as s,cR as We,hm as Re,gh as qe,cV as Me,hn as He,ho as Qe,cQ as Ke,aS as Ue,F as ne,f1 as K,ht as de,ex as _e,f2 as Ge,u as c,b as Je,bQ as L,cF as Ye,hu as Ze,p as F,N as Xe,cj as et,am as ce,eN as tt,hv as st,hw as lt,hx as M,f3 as it}from"./index-BPv2nRQb.js";import{a as x}from"./sentry-DBSEoG3b.js";import{n as o}from"./mui-DdxImnN0.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-5t5k_pgq-3N767TYR.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="1196ec82-893b-42df-9d3c-a584e1859b80",e._sentryDebugIdIdentifier="sentry-dbid-1196ec82-893b-42df-9d3c-a584e1859b80")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function ot(e){const{loadingState:i}=e;return t.jsx(at,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function at({googleAPIKey:e,addressToEdit:i,sectionId:a,isDisabled:g,style:W}){const O=ae(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(O);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:W,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(a,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(a,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(a,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(a,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(a,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(a,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(O),width:"100%",outline:"none"},text:{type:"text",name:j(a,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{J as re,ax as On,y as mn,a9 as ot,ib as Oe,cH as it,az as In,ic as oe,id as ge,ie as we,ig as ve,ih as le,V as n,i7 as rt,ab as be,ad as st,bD as at,aa as lt,cr as dt,cs as ct,ct as mt,bW as pt,bP as ut,cn as ht,b4 as gt,dq as wt,cv as vt,k as xt,F as ye,x as g,A as Ce,o as t,aV as Tn,am as Te,aU as ft,u as m,aj as je,cB as bt,co as Pn,bQ as Ne,bi as zn,cE as St,c0 as yt,dH as jt,bb as Je,bu as pn,p as E,h as Dn,h4 as $t,dl as vn,d3 as rn,ii as sn,ap as Rt,bU as Ae,dR as Vt,eB as xn,bL as Ct,dw as kt,i as fn,cy as Mt,ij as Nt,ik as Ot,cL as It,ex as Tt,eG as Pt,eH as zt,an as Ln,il as Dt,bJ as ie,im as bn,gS as Lt,au as _t,at as At,dv as Bt,w as _n,H as Ft,l as Et,aX as dn}from"./index-Dw_MX6AZ.js";import{a as b}from"./sentry-DBSEoG3b.js";import{n as i,c as cn}from"./mui-DdxImnN0.js";import{gu as Wt,G8 as Ut}from"./zeni-epic-state-1oOVJQJ4.js";import{r as Ht}from"./core-HDqpewC7.js";import"./liveblocks-Dv7Vdu8a.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="b90bedea-ed4e-4d63-8fc9-d5462d561ecd",e._sentryDebugIdIdentifier="sentry-dbid-b90bedea-ed4e-4d63-8fc9-d5462d561ecd")}catch{}})();const An=({steps:e})=>{const s=re();return n.jsx(qt,{windowSize:s,children:e.map((c,d)=>n.jsxs(Gt,{children:[n.jsx(Kt,{children:d!==e.length-1?d+1:n.jsx(Jt,{})}),n.jsx(Xt,{children:c}),d<e.length-1?n.jsx(Qt,{}):null]},`step_${d}`))})},Gt=i.div`
1
+ import{J as re,ax as On,y as mn,a9 as ot,ib as Oe,cH as it,az as In,ic as oe,id as ge,ie as we,ig as ve,ih as le,V as n,i7 as rt,ab as be,ad as st,bD as at,aa as lt,cr as dt,cs as ct,ct as mt,bW as pt,bP as ut,cn as ht,b4 as gt,dq as wt,cv as vt,k as xt,F as ye,x as g,A as Ce,o as t,aV as Tn,am as Te,aU as ft,u as m,aj as je,cB as bt,co as Pn,bQ as Ne,bi as zn,cE as St,c0 as yt,dH as jt,bb as Je,bu as pn,p as E,h as Dn,h4 as $t,dl as vn,d3 as rn,ii as sn,ap as Rt,bU as Ae,dR as Vt,eB as xn,bL as Ct,dw as kt,i as fn,cy as Mt,ij as Nt,ik as Ot,cL as It,ex as Tt,eG as Pt,eH as zt,an as Ln,il as Dt,bJ as ie,im as bn,gS as Lt,au as _t,at as At,dv as Bt,w as _n,H as Ft,l as Et,aX as dn}from"./index-BPv2nRQb.js";import{a as b}from"./sentry-DBSEoG3b.js";import{n as i,c as cn}from"./mui-DdxImnN0.js";import{gu as Wt,G8 as Ut}from"./zeni-epic-state-1oOVJQJ4.js";import{r as Ht}from"./core-HDqpewC7.js";import"./liveblocks-Dv7Vdu8a.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="b90bedea-ed4e-4d63-8fc9-d5462d561ecd",e._sentryDebugIdIdentifier="sentry-dbid-b90bedea-ed4e-4d63-8fc9-d5462d561ecd")}catch{}})();const An=({steps:e})=>{const s=re();return n.jsx(qt,{windowSize:s,children:e.map((c,d)=>n.jsxs(Gt,{children:[n.jsx(Kt,{children:d!==e.length-1?d+1:n.jsx(Jt,{})}),n.jsx(Xt,{children:c}),d<e.length-1?n.jsx(Qt,{}):null]},`step_${d}`))})},Gt=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,J,a9 as he,F as U,cH as ye,aF as ge,cr as be,cs as fe,ct as xe,ad as ve,aS as we,x as p,f1 as le,f2 as Ce,o as y,ba as $e,cL as oe,y as ne,f3 as De,f4 as K,cQ as G,b2 as H,cM as je,es as Te,u as a,ex as ke,ab as Se,p as V,H as Oe,k as Fe,bU as Ae,aj as Le,bL as Ie}from"./index-Dw_MX6AZ.js";import{a as R}from"./sentry-DBSEoG3b.js";import{n as g}from"./mui-DdxImnN0.js";import{bi as Q}from"./zeni-epic-state-1oOVJQJ4.js";import{W as We,A as ze}from"./BankAccountWarningSection-DeUkht1G--scnEmUk.js";import{T as Re}from"./MailingDetailsSection-F1i0rBkv-CZo5kIPL.js";import{S as Pe}from"./CurrencySelectField-CtKQBmBI-q57973By.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./LabeledAddressValueField-BppwMtJ1-Dgoqu5O4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="761497df-69ea-4109-939f-f87bc2f3dd71",e._sentryDebugIdIdentifier="sentry-dbid-761497df-69ea-4109-939f-f87bc2f3dd71")}catch{}})();const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(qe,{children:t.jsx(Ue,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
1
+ import{V as t,J,a9 as he,F as U,cH as ye,aF as ge,cr as be,cs as fe,ct as xe,ad as ve,aS as we,x as p,f1 as le,f2 as Ce,o as y,ba as $e,cL as oe,y as ne,f3 as De,f4 as K,cQ as G,b2 as H,cM as je,es as Te,u as a,ex as ke,ab as Se,p as V,H as Oe,k as Fe,bU as Ae,aj as Le,bL as Ie}from"./index-BPv2nRQb.js";import{a as R}from"./sentry-DBSEoG3b.js";import{n as g}from"./mui-DdxImnN0.js";import{bi as Q}from"./zeni-epic-state-1oOVJQJ4.js";import{W as We,A as ze}from"./BankAccountWarningSection-DeUkht1G-Dr6bgRCP.js";import{T as Re}from"./MailingDetailsSection-F1i0rBkv-84yBXYZi.js";import{S as Pe}from"./CurrencySelectField-CtKQBmBI-_7Z7zjF5.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./LabeledAddressValueField-BppwMtJ1-T6lPuNrW.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="761497df-69ea-4109-939f-f87bc2f3dd71",e._sentryDebugIdIdentifier="sentry-dbid-761497df-69ea-4109-939f-f87bc2f3dd71")}catch{}})();const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(qe,{children:t.jsx(Ue,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;