@zeniai/web-app-ui 4.14.38-dev → 4.14.38-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 (279) hide show
  1. package/dist/assets/{ACHDetailsPage-BShpKoIj-D1Wy32uO.js → ACHDetailsPage-BShpKoIj-fWd9thRi.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CFErwUsE-DcUypqs6.js → AIPerformancePage-CFErwUsE-snITC-s1.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-B8upbXj9-Cm42EUIq.js → AccountInfoPage-B8upbXj9-vrSWYUF1.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CKpeDot5-CwoUlvIm.js → AccountInfoPageContent-CKpeDot5-D2xjzg6V.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-c30P9O_3-DzDiXoV7.js → AccountLockedInfoModal-c30P9O_3-7xneSCwL.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CO9BYPWm-CTb98mzK.js → AccountReconDetailsDrawerPage-CO9BYPWm-C-h2FArs.js} +1 -1
  7. package/dist/assets/{AccountRow-BrW_eEjE-Cmf0Jids.js → AccountRow-BrW_eEjE-DNRjFVcP.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-De2yNNuZ-XXlQf85I.js → AccountsPromoCardStack-De2yNNuZ-CSno44se.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-riOPLnxb-DAb8sz-Z.js → AddAddressForCardDrawer-riOPLnxb-mAwCf0Pc.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CsOmzC7v-S49ZGsCa.js → AddToWalletPage-CsOmzC7v-Cj06wdOf.js} +1 -1
  11. package/dist/assets/{AddressRoutes-CO2FKDgK.js → AddressRoutes-DQjryUkl.js} +1 -1
  12. package/dist/assets/{AddressScreen-DsuZFaVf.js → AddressScreen-C6vJhn2u.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-D9I9afnB-Df3hrLUY.js → AgingReportsPage-D9I9afnB-yHHj3Wmi.js} +1 -1
  14. package/dist/assets/{AiCfoScreen-D5N0hxeG.js → AiCfoScreen-BAk_dxw0.js} +1 -1
  15. package/dist/assets/{AllUserItems-Dq7NcP-o-Da1Zo4z6.js → AllUserItems-Dq7NcP-o-BAdmqEIT.js} +1 -1
  16. package/dist/assets/{ApAgingDetailPage-Z5JgfH-e-CEuDNd6O.js → ApAgingDetailPage-Z5JgfH-e-BN9WDlLq.js} +1 -1
  17. package/dist/assets/{AppBasePage-B5sDynhi-CeUmBhIQ.js → AppBasePage-B5sDynhi-KPVBtrs7.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-D9Q8ir0T-DZmwUW8c.js → AppDrawerContent-D9Q8ir0T-CSqphav9.js} +1 -1
  19. package/dist/assets/{ApprovalRulesSettingsPage-DVGvJsQG-yl1UuAvx.js → ApprovalRulesSettingsPage-DVGvJsQG-C6QLqN1r.js} +1 -1
  20. package/dist/assets/{ArAgingChart-Tcu0Lja_-BWNKgMZE.js → ArAgingChart-Tcu0Lja_-BdIZJO8_.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-B5vqkc3v-B1AqC5xt.js → ArAgingDetailPage-B5vqkc3v-BVlxBAMs.js} +1 -1
  22. package/dist/assets/{AttachmentView-CiYfninr-DZhIwWMR.js → AttachmentView-CiYfninr-6iFibggZ.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-tiQUQUbX-DMW3pWLJ.js → BalancesInsightWithToolTip-tiQUQUbX-DzkOWVQM.js} +1 -1
  24. package/dist/assets/{BankAccountSection-EZtscP2z-C2fUrA1M.js → BankAccountSection-EZtscP2z-CnmlGLJZ.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-DCfyIUlu-D_RVGDL2.js → BankAccountWarningSection-DCfyIUlu-DWGOWwU8.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-CQWy9jvt-Brl3VmAQ.js → BankConnectionsSettingsPage-CQWy9jvt-6r8YHtRG.js} +1 -1
  27. package/dist/assets/{BillDetailPage-pt1k5AQf-C_HrCJfS.js → BillDetailPage-pt1k5AQf-C4XZbQqy.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-5Y0msu-c.js → BillPayApprovalRoutes-BlJjLh3Z.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-Drh7Bhi8-EZrQsXba.js → BillPayApprovalRuleDetailPage-Drh7Bhi8-DEQ3gHmS.js} +1 -1
  30. package/dist/assets/{BillPayApprovalRulesPage-Cmyo59xB-D7U9ywcy.js → BillPayApprovalRulesPage-Cmyo59xB-B9Q9d_tb.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-Dgpz2TLG-BwKkDBie.js → BillPayPromoPage-Dgpz2TLG-CIs4FndH.js} +1 -1
  32. package/dist/assets/{BillPayRoutes-aVWMd64J.js → BillPayRoutes-C3s6um5A.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-B6Pd_eBf-DFM86E0U.js → BillPaySetUpPage-B6Pd_eBf-Ds0KjbN5.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-CYsvBrFV-B9NfPSZ9.js → BillingSettingsPage-CYsvBrFV-CkCbu93u.js} +1 -1
  35. package/dist/assets/{BillsBulkReviewDrawerPage-DNnAmqWz-C01NVO_d.js → BillsBulkReviewDrawerPage-DNnAmqWz-DGjq3gMe.js} +1 -1
  36. package/dist/assets/{BoxItem-B06DK4G--C4opawya.js → BoxItem-B06DK4G--DWbBsOKU.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-Dgk5gyMv-BrQSkaHR.js → BusinessVerificationPage-Dgk5gyMv-C_48y3eC.js} +1 -1
  38. package/dist/assets/{BusinessVerificationPageScreen-D9PxWQrU.js → BusinessVerificationPageScreen-C0MRjLR6.js} +1 -1
  39. package/dist/assets/{BusyIndication-Cd67eHX6-C7aB5h-1.js → BusyIndication-Cd67eHX6-CtvBXiRL.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-CcH9jUoZ-HppogTjx.js → CardNumberSubText-CcH9jUoZ-BDFM7Ge9.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-5eysaHGf-CZA31npt.js → CashbackDetailPage-5eysaHGf-CYaLHynC.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-Diwf-gwZ-BccKvsWr.js → ChargeCardDetailPage-Diwf-gwZ-BiwCPZo-.js} +1 -1
  43. package/dist/assets/{ChargeCardListPage-C-RTGkKK-Cc1az4M9.js → ChargeCardListPage-C-RTGkKK-B2_lKD4-.js} +1 -1
  44. package/dist/assets/{ChargeCardListTable-B-bNbtZQ-BuEumynS.js → ChargeCardListTable-B-bNbtZQ-Dci6OLkr.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-Cu-zT5tO-CNy0B9A3.js → ChargeCardPaymentHistoryPage-Cu-zT5tO-BOra7Rvn.js} +1 -1
  46. package/dist/assets/{ChargeCardPromoPage-Cz3rNFwM-CdxjjcEa.js → ChargeCardPromoPage-Cz3rNFwM-Bi8y2V52.js} +1 -1
  47. package/dist/assets/{ChargeCardRoutes-CKV_cGg2.js → ChargeCardRoutes-BN8xSwU5.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-BcTB9Yy5-BJuaiwYA.js → ChargeCardSetupPage-BcTB9Yy5-r-uwgYnE.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-B_ERvgmB-W5ryAUPk.js → ChargeCardStatementsPage-B_ERvgmB-CYpHQAai.js} +1 -1
  50. package/dist/assets/{CheckDepositDrawerPage-D7_usOVn-DA-Kombi.js → CheckDepositDrawerPage-D7_usOVn-J4mV41ZF.js} +1 -1
  51. package/dist/assets/{CollapsableReportTable-h0vIfI8o-Q6XPsw6M.js → CollapsableReportTable-h0vIfI8o-B6GpVtrk.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-CWADX4kZ-DANlup8L.js → CompanyOfficerDetailsSection-CWADX4kZ-BPWcwdB2.js} +1 -1
  53. package/dist/assets/{CompanyPassportCard-DF9LFrFD-DPvP8c2P.js → CompanyPassportCard-DF9LFrFD-DKr80bar.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-BtAopyLq-CG1Jq4C9.js → CompanyPassportPage-BtAopyLq-CYUPpkJA.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-Dl29U7F0.js → CompanyPassportScreen-ChKPVSO-.js} +1 -1
  56. package/dist/assets/{CompleteProfile-CsbsHQ0p-DmLd2177.js → CompleteProfile-CsbsHQ0p-Bd33SFhs.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-duD341Gp-CKS6HfNq.js → ConfettiBurst-duD341Gp-DUM2aCzm.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CtmFWvaS.js → ConnectionAuthScreen--S5MRVzc.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-hv51KpGg-CKGSsSPo.js → ConstrainedInnerElement-hv51KpGg-D4gYEuVE.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-C2xU6c51-Cx-c8OBN.js → CreateOrEditVendorPage-C2xU6c51-DBwl6xUl.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-CeagMaCu-CazU8VPX.js → CreditCardPaymentDrawerPage-CeagMaCu-WyeO0sfn.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-B8EoF2aF-DHzUxLL4.js → CurrencySelectField-B8EoF2aF-CpaeLEvO.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-CIeR2XvU-CMOVbNs9.js → CustomerOnboardingActivationPage-CIeR2XvU-C2ojqyMc.js} +1 -1
  64. package/dist/assets/{CustomerOnboardingAuthScreen-DtvN_x2S.js → CustomerOnboardingAuthScreen-56Gd68oe.js} +1 -1
  65. package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-DfPVnT4w.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-kUbwh2r2-BjHJq9e_.js → CustomerOnboardingDetailPageSkeleton-kUbwh2r2-XN6Qwg1Y.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-Br0jy7Pu-xbtVpPeD.js → CustomerOnboardingNoStepsPage-Br0jy7Pu-BRxlJCi7.js} +1 -1
  68. package/dist/assets/{CustomerOnboardingPage-Dm2Si769-CuOP2t9G.js → CustomerOnboardingPage-Dm2Si769-Cmr-TTFk.js} +1 -1
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-Cz81Q5jC-CBFgnoEY.js → CustomerOnboardingProductSuitePage-Cz81Q5jC-_9JVpPYF.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-C_QLwzau.js → CustomerOnboardingRoutes-BM1FvHLp.js} +1 -1
  71. package/dist/assets/{Dashboard-DReG_aaf-B9cmSG7e.js → Dashboard-DReG_aaf-CJroxq1R.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-BXSlwsR7-CjT08Tnm.js → DashboardReportPage-BXSlwsR7-Bifyqc1s.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-Cr_y84hZ.js → DashboardRoutes-CcC7_3PW.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-B3dtVAe2-DcsdDEM2.js → DashboardSidebarBackgroundAnimation-B3dtVAe2-ceF5qNn2.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-Bp9gU4vX.js → DefaultTenantHome-d55WPyJZ.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-YuSXjbLh-DkrFIYaS.js → DepositAccTransactionItem-YuSXjbLh-B9DRqaZc.js} +1 -1
  77. package/dist/assets/{DepositAccTransactionListPage-C-FAvZwD-CLMW6N19.js → DepositAccTransactionListPage-C-FAvZwD-BlyjU0oU.js} +1 -1
  78. package/dist/assets/{DomesticWireDetailScreen-CV-2twy7.js → DomesticWireDetailScreen-BavbRsOF.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-BaiSpc0N-BjZ307kD.js → DomesticWireDetailsPage-BaiSpc0N-Ch_6qZVT.js} +1 -1
  80. package/dist/assets/{DownloadOverlay-BpRKCn-0-Ceuu4G9V.js → DownloadOverlay-BpRKCn-0-L4byV6ko.js} +1 -1
  81. package/dist/assets/{DrawerPage-DQ3Xuekx-osFrzw_b.js → DrawerPage-DQ3Xuekx-C25HKZ4X.js} +1 -1
  82. package/dist/assets/{DrawerScreen-0WDRSJz6.js → DrawerScreen-C_bLtDRv.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-8DalSMWH-CybAz5BL.js → EditPeoplePage-8DalSMWH-jeT76aa4.js} +1 -1
  84. package/dist/assets/{EditReimbursementDetailPage-CC2BjMkR-UcYvbITo.js → EditReimbursementDetailPage-CC2BjMkR-BA33kcGZ.js} +1 -1
  85. package/dist/assets/{EntityDetailPage-fmWuxHTZ-zOCr7HwT.js → EntityDetailPage-fmWuxHTZ-DkQICR3e.js} +1 -1
  86. package/dist/assets/{EntityDetailRoutes-r6uNQDsF.js → EntityDetailRoutes-BJPdCnex.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-vsEMiXYh-xFy88yRd.js → EntitySummarySection-vsEMiXYh-b447Pkl8.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-B3HPfIsK-BoAXmFoS.js → ExpenseAutomationOverviewPage-B3HPfIsK-BWcr0uLA.js} +1 -1
  89. package/dist/assets/{ExpenseAutomationPage-4LJefgNh-n1--5-UE.js → ExpenseAutomationPage-4LJefgNh-CHSe-eX7.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-Dd80KoVV.js → ExpenseAutomationRoutes-DVq6I4cf.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-BH7oCW_F-DgICn4el.js → ExpressPayPage-BH7oCW_F-Cn_ygI86.js} +1 -1
  92. package/dist/assets/{FeaturePreviewPage-DSv61BhF-BsdnfTlO.js → FeaturePreviewPage-DSv61BhF-CnLFcwsn.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-D2Pa-R10.js → FeaturePreviewScreen-DX_dSelb.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-Bgy9MpO4-CvIWpdyW.js → FollowStepsSection-Bgy9MpO4-C5zXR2w0.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-VRq_gimm-BpVLghA7.js → GlobalReviewListPage-VRq_gimm-q7Ngmw6E.js} +1 -1
  96. package/dist/assets/{InformationCardStack-rx0fypl3-OYwqii2C.js → InformationCardStack-rx0fypl3-DX-Qi0u8.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-uJWMkIZL-BDZTXUwm.js → InsightsCardStack-uJWMkIZL-BEQ1nM_Y.js} +1 -1
  98. package/dist/assets/{InsightsSection-ByFf2oGn-ChvKOP1F.js → InsightsSection-ByFf2oGn-O2kwXghv.js} +1 -1
  99. package/dist/assets/{IntegrationsSettingsPage-Cj01Nub6-lRHeOJiB.js → IntegrationsSettingsPage-Cj01Nub6-DanmyN_T.js} +1 -1
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-C2PM97sv-BLs5mpsl.js → InternationalWireSwiftDetailsPage-C2PM97sv--IsCSEC1.js} +1 -1
  101. package/dist/assets/{InternationalWireVerificationPage-Cr3sDrT--Dj5HT769.js → InternationalWireVerificationPage-Cr3sDrT--CUVEN_2T.js} +1 -1
  102. package/dist/assets/{InviteFormPage-dsMpScvq-pwPoaIw-.js → InviteFormPage-dsMpScvq-BSmEB5t_.js} +1 -1
  103. package/dist/assets/{InvitePageListView-e7vGSbFa-BfSD0kcH.js → InvitePageListView-e7vGSbFa-lWVPew31.js} +1 -1
  104. package/dist/assets/{InvitePeoplePage-BT_YVCP4-CQRb2c-r.js → InvitePeoplePage-BT_YVCP4-DtNP7JKz.js} +1 -1
  105. package/dist/assets/{InvoiceUploadSection-Dg1-uunA-1cshMTVc.js → InvoiceUploadSection-Dg1-uunA-CdV_lYCj.js} +1 -1
  106. package/dist/assets/{IssueChargeCardPage-CyF9wrb0-CWwHqex_.js → IssueChargeCardPage-CyF9wrb0-C00uByr7.js} +1 -1
  107. package/dist/assets/{LabeledAddressValue-3l0Bv00--Bw_81ZJz.js → LabeledAddressValue-3l0Bv00--D4SAlVUn.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-F9kvUR_r-9ELTRqNI.js → LabeledAddressValueField-F9kvUR_r-DWIWqg4N.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-BgC8y0D6-BlS4qFJC.js → LabeledControlledCheckBoxField-BgC8y0D6-CE2WH-rg.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-3qI_4noU-UcVNXOp1.js → LabeledCountryMultiSelectField-3qI_4noU-BeknFMe3.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-BV3h9bh7-BCEINAy7.js → LabeledCreatableSingleSelectField-BV3h9bh7-46gx1dC-.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-rriEcsdr-CcDZw3QZ.js → LabeledDocumentField-rriEcsdr-BwrcuQUL.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-DoVSg3nZ-82mPtDTT.js → LabeledDropDownFormattedTextField-DoVSg3nZ-BFaTo2zA.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-CKWZEkTs-C9DTkL1y.js → LabeledEmailInputField-CKWZEkTs-K1-nx9hv.js} +1 -1
  115. package/dist/assets/{LabeledNameField-yaSRe5Vt-cnDt7eal.js → LabeledNameField-yaSRe5Vt-B1WOmtZJ.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-D5QUlcEP-DOA8WTdI.js → LabeledSingleSelectField-D5QUlcEP-CTACJg8Z.js} +1 -1
  117. package/dist/assets/{LabeledText-DGZ7hxY4-BBOC0Eln.js → LabeledText-DGZ7hxY4-BoX7lemD.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-NPjB_w_o.js → LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-BjyfWV9u.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-jIrTovp--C7mgztQg.js → LabeledZeniRolesDropDownField-jIrTovp--KnDiAlnF.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-Bvbqpltz-BZhW34oI.js → LinkJETransactionPage-Bvbqpltz-TQTwB5Ra.js} +1 -1
  121. package/dist/assets/{LockCardPage-DyEQBJYx-DksW1-ZG.js → LockCardPage-DyEQBJYx-BqE2JwR7.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-C2vHKMNF-CMEceag2.js → LowBalancePopup-C2vHKMNF-B1dLaV9R.js} +1 -1
  123. package/dist/assets/{MagicLinkACHDetailsPage-lAAwAtH7-D8E0BCBV.js → MagicLinkACHDetailsPage-lAAwAtH7-u0ZacaAy.js} +1 -1
  124. package/dist/assets/{MagicLinkDomesticWireDetailsPage-cv823ASo-Br4bjkHP.js → MagicLinkDomesticWireDetailsPage-cv823ASo-CPv9egXH.js} +1 -1
  125. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C_SjsgC9-Dt-hi6Za.js → MagicLinkInternationalWireDetailsPage-C_SjsgC9-nDwskxXL.js} +1 -1
  126. package/dist/assets/{MagicLinkRoutes-DAnRUF47.js → MagicLinkRoutes-JRtQtFqQ.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-BRdR8FPq.js → MagicLinkSignInScreen-DkCDkLiS.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-B1LBYM2F-DRIhjweE.js → MagicLinkSuccessPage-B1LBYM2F-BhpgnlDO.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-ClAnBBt9-BWJjfwMs.js → MagicLinkTitleSection-ClAnBBt9-Cym29B_c.js} +1 -1
  130. package/dist/assets/{MailingDetailsSection-9_XLl4bT-Bq5v10Od.js → MailingDetailsSection-9_XLl4bT-uVaax-qs.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-DXy0Oi_h.js → MobileAppDrawer-D_NdxckS.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-Ct8k8Oax-C0IXgNiJ.js → MoreMenuButton-Ct8k8Oax-Jl7RdYoC.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-CBNYcuP4-CSPIvvUE.js → MyBankConnectionsSettingsPage-CBNYcuP4-D719I_IU.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-n71n40uQ-DnLQhl3T.js → MyPendingActivationChargeCardListPage-n71n40uQ-DGClXmnK.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-BUMIjZYc-CAlzma3h.js → MyProfileSettingsPage-BUMIjZYc-DIf9EMiw.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-CbjFNysh-Ck578WIs.js → NavBarWithPicker-CbjFNysh-Gsj0zn-Z.js} +1 -1
  137. package/dist/assets/{NavigationArrow-Dpc7u6y4-CiTKhYeI.js → NavigationArrow-Dpc7u6y4-BduXlhxm.js} +1 -1
  138. package/dist/assets/{NavigationDots-DCpslVnm-D-4SKVAz.js → NavigationDots-DCpslVnm-wapVz6Ga.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-B10sY6Q_-Cu6PKFa1.js → NewGlobalMerchantPage-B10sY6Q_-DHbg5KdP.js} +1 -1
  140. package/dist/assets/{NoDataChart-9-bhq204-BNHp8Nld.js → NoDataChart-9-bhq204-Ck-FboCC.js} +1 -1
  141. package/dist/assets/{NoDataTable-C6Q2Anpz-BqTI2GFx.js → NoDataTable-C6Q2Anpz-Dt08aukB.js} +1 -1
  142. package/dist/assets/{NotFoundPage-4mPhXD5--pWqZwF3K.js → NotFoundPage-4mPhXD5--B-cMmgSa.js} +1 -1
  143. package/dist/assets/{NotFoundScreen-MU1vvTl3.js → NotFoundScreen-DIsBJSaH.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-CiTIiIjp.js → NotificationRoutes-BlE0nk7I.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-BTxCoB_b-1ycVlHAN.js → NotificationSettingsPage-BTxCoB_b-GR1fpvE7.js} +1 -1
  146. package/dist/assets/{NotificationsListConfig-CylnViXd-DEcj9I_Q.js → NotificationsListConfig-CylnViXd-DiKD1VlE.js} +1 -1
  147. package/dist/assets/{NotificationsPage-D41h0mS6-lOcsglza.js → NotificationsPage-D41h0mS6-C9DBLIC1.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-BV_uJSCh-ClxLsbjb.js → OpExByVendorPage-BV_uJSCh-CweIBxzu.js} +1 -1
  149. package/dist/assets/{OverlayContainerPage-CkUYOhlh-C1amAlX0.js → OverlayContainerPage-CkUYOhlh-BLbo4mkL.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-Cj3UWjG4-C0webWAA.js → PandLWithForecastPage-Cj3UWjG4-DJOh_oXL.js} +1 -1
  151. package/dist/assets/{PandLWithForecastRoutes-t6sqNQ0M.js → PandLWithForecastRoutes-Du4Y6NM_.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BWFl695q-DCuXfW77.js → PaymentAccountSetupBillingAddressSection-BWFl695q-COL-e_83.js} +1 -1
  153. package/dist/assets/{PeoplePage-DcGqWtAP-kL10xLdE.js → PeoplePage-DcGqWtAP-DPX6yuPR.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-DvMa0FHX.js → PeopleRoutes-BBTvXpYa.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-C97G2NlX.js → PerformanceRoutes-BwZ7C83C.js} +1 -1
  156. package/dist/assets/{ProductsCarousel-C9JoJQeH-y7_emSya.js → ProductsCarousel-C9JoJQeH-CkXkxCBK.js} +1 -1
  157. package/dist/assets/{PromoBaseCards-mFk7SsOr-B_0Pg0f0.js → PromoBaseCards-mFk7SsOr-aETB5Ygs.js} +1 -1
  158. package/dist/assets/{QBOConnectionDialog-CJsIrEZq-CgfqE4WV.js → QBOConnectionDialog-CJsIrEZq-D0yN3PXk.js} +1 -1
  159. package/dist/assets/{QBOConnectionScreen-1Q56jIZw.js → QBOConnectionScreen--nNex-HH.js} +1 -1
  160. package/dist/assets/{QBOSetupSection-C_fqHza_-B72ZoKWs.js → QBOSetupSection-C_fqHza_-KCFm35xW.js} +1 -1
  161. package/dist/assets/{ReferralListScreen-DJHg0qdR.js → ReferralListScreen-DTl3cgUl.js} +1 -1
  162. package/dist/assets/{ReimbursementApprovalRoutes-5hvNi1ri.js → ReimbursementApprovalRoutes-Chwz3Zd6.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BMZnKpsk-C22qLIuK.js → ReimbursementApprovalRuleDetailPage-BMZnKpsk-CZta2n6p.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CE15OHBL.js → ReimbursementApprovalRuleDetailScreen-3osscpq2.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRulesPage-C2zNa8dT-D_08-i4Q.js → ReimbursementApprovalRulesPage-C2zNa8dT-Dx_jUEM7.js} +1 -1
  166. package/dist/assets/{ReimbursementDetailPage-B1o8ea57-pJYrfLLt.js → ReimbursementDetailPage-B1o8ea57-Dof3tsbT.js} +1 -1
  167. package/dist/assets/{ReimbursementPromoPage-Df5QmXzC-CKWnZWeo.js → ReimbursementPromoPage-Df5QmXzC-BHlanHYp.js} +1 -1
  168. package/dist/assets/{ReimbursementRoutes-RM0BTfix.js → ReimbursementRoutes-CNHtnGTV.js} +1 -1
  169. package/dist/assets/{ReimbursementSetUpPage-D450RVsP-XThkQYrn.js → ReimbursementSetUpPage-D450RVsP-w7ex11t8.js} +1 -1
  170. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-Dpv01EXR.js → ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-CGZmi3lN.js} +1 -1
  171. package/dist/assets/{ReloadCard-D5cvzWxe-BiXLC8Nt.js → ReloadCard-D5cvzWxe-DYoPEBgn.js} +1 -1
  172. package/dist/assets/{ReportTableViewSelector-Ig41fOPb-DWudlBCf.js → ReportTableViewSelector-Ig41fOPb-rBlSQ3e9.js} +1 -1
  173. package/dist/assets/{ReportsPage-CRAVAUTO-B8oVNLjt.js → ReportsPage-CRAVAUTO-CDAZl-Wm.js} +1 -1
  174. package/dist/assets/{ReportsRoutes-yGE_MThE.js → ReportsRoutes-BpBrdYFu.js} +1 -1
  175. package/dist/assets/{RevenueChart-DtQu0KAn-8Nxk30mB.js → RevenueChart-DtQu0KAn-CJ0e9bCc.js} +1 -1
  176. package/dist/assets/{ReviewDetailsPage-vui4TqeA-BHywFcJg.js → ReviewDetailsPage-vui4TqeA-CrYNT8pq.js} +1 -1
  177. package/dist/assets/{ReviewOverlay-CUnL7H-a-C2Hax1dX.js → ReviewOverlay-CUnL7H-a-B6WGfdWG.js} +1 -1
  178. package/dist/assets/{RewardsRoutes-BLdquuw-.js → RewardsRoutes-j_a3QqIz.js} +1 -1
  179. package/dist/assets/{RoleWithToolTip-x2rnvWn9-CndfBCzZ.js → RoleWithToolTip-x2rnvWn9-BcsseCTF.js} +1 -1
  180. package/dist/assets/{ScheduleDetailsFixedAssetsPage-D_Cls2jC-DT2hV6fF.js → ScheduleDetailsFixedAssetsPage-D_Cls2jC-BbXiHOdz.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsPage-DmSLuM8g-BJX_WigV.js → ScheduleDetailsPage-DmSLuM8g-VVVHjW5Q.js} +1 -1
  182. package/dist/assets/{ScheduleSequenceTable-js9_P_Lo-C0aHTQ-B.js → ScheduleSequenceTable-js9_P_Lo-D3P2gakZ.js} +1 -1
  183. package/dist/assets/{ScreenRoutes-Ckyy2m-9.js → ScreenRoutes-tN3DKXwj.js} +2 -2
  184. package/dist/assets/{SetUpAccountSection-DYRWWXcL-BJMCbqBu.js → SetUpAccountSection-DYRWWXcL-Bt4sXwAD.js} +1 -1
  185. package/dist/assets/{SettingsRoutes-HPPA3EWU.js → SettingsRoutes-B7xS4Bv0.js} +1 -1
  186. package/dist/assets/{SetupPagesScreen-Cz2ybo_2.js → SetupPagesScreen-Dec5-vG9.js} +1 -1
  187. package/dist/assets/{SignIn-CUJkZb3S-Cj2EgQsz.js → SignIn-CUJkZb3S-Cl_ZsA0p.js} +1 -1
  188. package/dist/assets/{SignInScreen-BSE9oghj.js → SignInScreen-BCab6yM0.js} +1 -1
  189. package/dist/assets/{SignOutScreen-CDL-h93X.js → SignOutScreen-BVFjhNbz.js} +1 -1
  190. package/dist/assets/{SpendManagementListViewPage-BieufnDb-Cqid6Xsk.js → SpendManagementListViewPage-BieufnDb-BvlrNZeN.js} +3 -3
  191. package/dist/assets/{SpendManagementPerTabPage-BmUp80QX-B1ZhgxKn.js → SpendManagementPerTabPage-BmUp80QX-5QSrTfVD.js} +1 -1
  192. package/dist/assets/{SpendManagementSection-DKZNTYXT-D04hpJmz.js → SpendManagementSection-DKZNTYXT-JIQihEyD.js} +1 -1
  193. package/dist/assets/{StatementItem-Dyt5Q0eR-jB2YMdu5.js → StatementItem-Dyt5Q0eR-DMqzBE6A.js} +1 -1
  194. package/dist/assets/{StatementsPage-CbtnJM5y-y3-8Ovdn.js → StatementsPage-CbtnJM5y-DFFjoYfI.js} +1 -1
  195. package/dist/assets/{StatusSwitcher-BfQ9VbBH-C2uXiIL4.js → StatusSwitcher-BfQ9VbBH-Dgu_WG_g.js} +1 -1
  196. package/dist/assets/{SubTabSwitcher-CzGiuhk3-C7cKUv_v.js → SubTabSwitcher-CzGiuhk3-ryyXc5wR.js} +1 -1
  197. package/dist/assets/{SuccessAnimation-DA3343II-B6vDBJ0_.js → SuccessAnimation-DA3343II-CPpeKMV2.js} +1 -1
  198. package/dist/assets/{SummaryCard-D61xzK3a-CfR23TFg.js → SummaryCard-D61xzK3a-QerUeyNc.js} +1 -1
  199. package/dist/assets/{TaskDetailPage-CyZxZdJB-DrITidSC.js → TaskDetailPage-CyZxZdJB-Ciw5Uu5K.js} +1 -1
  200. package/dist/assets/{TaskListScreen-DwAEl1NC.js → TaskListScreen-j6aXmdAS.js} +1 -1
  201. package/dist/assets/{TaskManagementPage-ucVAdv7x-Msj3UnnC.js → TaskManagementPage-ucVAdv7x-fUgA7HRS.js} +1 -1
  202. package/dist/assets/{TaskRoutes-Bz1uRNCx.js → TaskRoutes-CGRMEck8.js} +1 -1
  203. package/dist/assets/{TimeRangeSwitcher-C3jXm39I-fOK0S_yE.js → TimeRangeSwitcher-C3jXm39I-0VbXr2bN.js} +1 -1
  204. package/dist/assets/{TimeframeSwitcher-CcYg-YQJ-DfqszobX.js → TimeframeSwitcher-CcYg-YQJ-DOGZ9gMN.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcherWithToggle-w4YJno-p-mLBmOb3v.js → TimeframeSwitcherWithToggle-w4YJno-p-C9o85JE8.js} +1 -1
  206. package/dist/assets/{TopExCard-D2PRxvFc-3B8t-gu0.js → TopExCard-D2PRxvFc-DYT8NSuE.js} +1 -1
  207. package/dist/assets/{TopExDetailPage-C0uHdU7N-CImodBfZ.js → TopExDetailPage-C0uHdU7N-nxnaVy-a.js} +1 -1
  208. package/dist/assets/{TransactionActivityLogPage-CqYb19tY-MGx1R4Ww.js → TransactionActivityLogPage-CqYb19tY-BdO5tRUg.js} +1 -1
  209. package/dist/assets/{TransactionDetailPage-D-NR_yZG-CxUKWZX4.js → TransactionDetailPage-D-NR_yZG-Ci72o0wJ.js} +1 -1
  210. package/dist/assets/{TransactionDetailRoutes-CpDSsFwB.js → TransactionDetailRoutes-DT2_L5nu.js} +1 -1
  211. package/dist/assets/{TransactionDetailScreen-DfuoY_gg.js → TransactionDetailScreen-C-kbZYkM.js} +1 -1
  212. package/dist/assets/{TransactionList-f6yB-byH-FETk5Iif.js → TransactionList-f6yB-byH-BbsyqjjD.js} +1 -1
  213. package/dist/assets/{TransactionListBig-BrDWayQS-BY28Hg37.js → TransactionListBig-BrDWayQS-CYutGkGW.js} +1 -1
  214. package/dist/assets/{TransactionListPage-C-Z62y2d-DONuCLTJ.js → TransactionListPage-C-Z62y2d-Cs4hNKp4.js} +1 -1
  215. package/dist/assets/{TransactionListRoutes-Bw5edFOJ.js → TransactionListRoutes-CS-Aed2O.js} +1 -1
  216. package/dist/assets/{TransactionVendorDetailPage-CQQuAR6V-DBSEzxOy.js → TransactionVendorDetailPage-CQQuAR6V-BrnkOOxy.js} +1 -1
  217. package/dist/assets/{TransferDrawerPage-DfFm-1-3-BhX0O4LO.js → TransferDrawerPage-DfFm-1-3-BUPWCPmv.js} +1 -1
  218. package/dist/assets/{TreasuryOverviewPage-CKSanlUG-CXaeORdV.js → TreasuryOverviewPage-CKSanlUG-hcTuDL8m.js} +1 -1
  219. package/dist/assets/{TreasuryPromoPage-Dyip3H10-C2tUOOp5.js → TreasuryPromoPage-Dyip3H10-CaL--OIv.js} +1 -1
  220. package/dist/assets/{TreasuryRoutes-j5E27301.js → TreasuryRoutes-2SWOS6G5.js} +1 -1
  221. package/dist/assets/{TreasuryStatementsPage-mljf2Van-DcI9l-or.js → TreasuryStatementsPage-mljf2Van-BxW1eeF3.js} +1 -1
  222. package/dist/assets/{TreasuryTaxLetterPage-D3cV3a-8-ZsZIzn5I.js → TreasuryTaxLetterPage-D3cV3a-8-BTBXzOEj.js} +1 -1
  223. package/dist/assets/{TrendChart-fFlHCvNx-QKskVgw6.js → TrendChart-fFlHCvNx-C-NDpGcx.js} +1 -1
  224. package/dist/assets/{TrendWithTransactions-It4KDov3-DY_vu1lx.js → TrendWithTransactions-It4KDov3-SqmxJLwp.js} +1 -1
  225. package/dist/assets/{UncategorizedAccountsMappingPage-BxBz2Ce0-BJNWUYth.js → UncategorizedAccountsMappingPage-BxBz2Ce0-BuxR3cW9.js} +1 -1
  226. package/dist/assets/{UnitIntegrationPage-gVgsk2ji-D4-73jRv.js → UnitIntegrationPage-gVgsk2ji-Be3rQKfw.js} +1 -1
  227. package/dist/assets/{UploadAdditionalDocumentOverlay-C5m8jqup-BRodE0Ls.js → UploadAdditionalDocumentOverlay-C5m8jqup-BuDXKqpt.js} +1 -1
  228. package/dist/assets/{Vendor2FAPopup-DRwBzOwn-DD_9hpy1.js → Vendor2FAPopup-DRwBzOwn-Bu88G5Uf.js} +1 -1
  229. package/dist/assets/{VendorACHDetailsPage-By2Ya2bv-Cwsi_OAL.js → VendorACHDetailsPage-By2Ya2bv-BZiTrUhh.js} +1 -1
  230. package/dist/assets/{VendorDetailPage-jci1LqX3-BHXhYJF0.js → VendorDetailPage-jci1LqX3-CcT9Y7_3.js} +1 -1
  231. package/dist/assets/{VendorDomesticWireDetailsPage-uIDE-n5v-uvktM6eq.js → VendorDomesticWireDetailsPage-uIDE-n5v-CZQCRVkI.js} +1 -1
  232. package/dist/assets/{VendorFiling1099EditablePage-8pYT3u-X-BDiOOpIL.js → VendorFiling1099EditablePage-8pYT3u-X-E-s_MI6R.js} +1 -1
  233. package/dist/assets/{VendorFirstReviewPage-CafakxA1-DGimiBs4.js → VendorFirstReviewPage-CafakxA1-2lhthp_z.js} +1 -1
  234. package/dist/assets/{VendorInternationalWireDetailsPage-DJeI-ZFW-Cgs5W7gM.js → VendorInternationalWireDetailsPage-DJeI-ZFW-DsIia0J7.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Co-5nTam-xgR7Rh7n.js → VendorInternationalWireSwiftDetailsPage-Co-5nTam-ShOnk0vp.js} +1 -1
  236. package/dist/assets/{VendorsAccountsSection-YX2g8ETe-YNhvXO1d.js → VendorsAccountsSection-YX2g8ETe-DB_XPKqM.js} +1 -1
  237. package/dist/assets/{VendorsRoutes-n5RcX0Vf.js → VendorsRoutes-BKpp91Ol.js} +1 -1
  238. package/dist/assets/{VerifyDevice-DeHW4GAi-ejYUh2le.js → VerifyDevice-DeHW4GAi-Xw2L2uDk.js} +1 -1
  239. package/dist/assets/{VideoPlayer-DxIfGrPu-C3cW7OOT.js → VideoPlayer-DxIfGrPu-CxZJ5OEW.js} +1 -1
  240. package/dist/assets/{VideoPopup-CUP7ctgS-Cy6Bpggh.js → VideoPopup-CUP7ctgS-COd6keBu.js} +1 -1
  241. package/dist/assets/{WiseConfirmationScreen-CJyMiRdY.js → WiseConfirmationScreen-B8p2H0wE.js} +1 -1
  242. package/dist/assets/{ZeniAccountDetailPage-7NdkdSg3-trkVyM14.js → ZeniAccountDetailPage-7NdkdSg3-7e7alBpD.js} +1 -1
  243. package/dist/assets/{ZeniAccountListViewPage-B-cs_xnc-DkcNyo5a.js → ZeniAccountListViewPage-B-cs_xnc-DPQ7NJOh.js} +1 -1
  244. package/dist/assets/{ZeniAccountNavBarPieces-CjRip0v9-Bv00yUCA.js → ZeniAccountNavBarPieces-CjRip0v9-x_CaXaVR.js} +1 -1
  245. package/dist/assets/{ZeniAccountPromoPage-BikXtkeH-BWgu0hz6.js → ZeniAccountPromoPage-BikXtkeH-nFNGwlDD.js} +1 -1
  246. package/dist/assets/{ZeniAccountRoutes-BdqNU648.js → ZeniAccountRoutes-C-qtUClC.js} +1 -1
  247. package/dist/assets/{ZeniAccountSetupPage-BRBsijVt-BBTbKTOF.js → ZeniAccountSetupPage-BRBsijVt-ZM0-bMDB.js} +1 -1
  248. package/dist/assets/{ZeniAccountStatementScreen-DVjRkXeL.js → ZeniAccountStatementScreen-BtXMxdDS.js} +1 -1
  249. package/dist/assets/{ZeniAvatar-pjdoqfWE-DmYSRpHD.js → ZeniAvatar-pjdoqfWE-BIF5P_G9.js} +1 -1
  250. package/dist/assets/{ZeniCopyright-DDGvdmLF-CPeY3qcE.js → ZeniCopyright-DDGvdmLF-DwYXGCDa.js} +1 -1
  251. package/dist/assets/{ZeniDatePicker-K3F-G3-0-pGSyeWuf.js → ZeniDatePicker-K3F-G3-0-D-lxuOwz.js} +1 -1
  252. package/dist/assets/{ZeniTransferAmountSlider-Cdg0TlHk-B_jBC96s.js → ZeniTransferAmountSlider-Cdg0TlHk-DNSmlK3y.js} +1 -1
  253. package/dist/assets/{analyticsHelper-CTH_kB-0.js → analyticsHelper-CMK0FF_Q.js} +1 -1
  254. package/dist/assets/{analyticsHelper-D9xdJK4b-DkISjLhy.js → analyticsHelper-D9xdJK4b-C4FHTXha.js} +1 -1
  255. package/dist/assets/{calculateSize-zPet_z9g-UKcDxIjM.js → calculateSize-zPet_z9g-DAbLjY3A.js} +1 -1
  256. package/dist/assets/{chartTypes-Dq3hUz_T-DlStt0to.js → chartTypes-Dq3hUz_T-boMzYtYd.js} +1 -1
  257. package/dist/assets/{common-kiEGPQ33-BvLj55nP.js → common-kiEGPQ33-i2MKa07U.js} +1 -1
  258. package/dist/assets/{commonDimensions-CGHIQ2To-BVJ-7SGP.js → commonDimensions-CGHIQ2To-BnULbNsl.js} +1 -1
  259. package/dist/assets/{commonTypes-BAJPaPYg-qcmBeNCl.js → commonTypes-BAJPaPYg-2nCYtMXG.js} +1 -1
  260. package/dist/assets/{downloadPdf-BI2Y41h2-C3b-r1N_.js → downloadPdf-BI2Y41h2-Bu4K6jWB.js} +1 -1
  261. package/dist/assets/{getLocaleForTenant-BPL6tSgt.js → getLocaleForTenant-BxHoiee7.js} +1 -1
  262. package/dist/assets/{helper-z5-P4a-y-DRvyDGbW.js → helper-z5-P4a-y-BYdbtuif.js} +1 -1
  263. package/dist/assets/{index-BocbTmE1.js → index-DBW4633P.js} +5 -5
  264. package/dist/assets/{mapLoadingInProgressToTreeNode-DrC2Zs2y-B2Wt05iy.js → mapLoadingInProgressToTreeNode-DrC2Zs2y-BM0pLknf.js} +1 -1
  265. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-dsBogxKz-DAKgnUEj.js → mapSectionWithAcOnlyToTreeNode-dsBogxKz-D2PE8B4K.js} +1 -1
  266. package/dist/assets/{mapSpacerToTreeNode-DMDEaLzQ-lo7UbRO0.js → mapSpacerToTreeNode-DMDEaLzQ-A_DJ4_H7.js} +1 -1
  267. package/dist/assets/{mapTimeframeBalancesToTreeNode-CW_wzI5T-BaeuL7EQ.js → mapTimeframeBalancesToTreeNode-CW_wzI5T-u6fAoA1F.js} +1 -1
  268. package/dist/assets/{mapTimeframeBalancesToTreeNode-DvfKBCs5-Dl1ySEwF.js → mapTimeframeBalancesToTreeNode-DvfKBCs5-pYXcOLbR.js} +1 -1
  269. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-CUYmne9-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-BAYHZBxR.js} +1 -1
  270. package/dist/assets/{routePaths-_EQ7HBkZ.js → routePaths-GPfd2GU_.js} +1 -1
  271. package/dist/assets/{toCOABalancesWithID-P7keEtAg-CVzjqCh4.js → toCOABalancesWithID-P7keEtAg-DjgvOCvR.js} +1 -1
  272. package/dist/assets/{toChartData-BUf5HHim-BMyIU8Hn.js → toChartData-BUf5HHim-BlDtF069.js} +1 -1
  273. package/dist/assets/{uploadAttachment-DJA30WSD-Mme28mRP.js → uploadAttachment-DJA30WSD-plv7LCEU.js} +1 -1
  274. package/dist/assets/{uploadReceipts-CqDftTRt-DnJMDyN6.js → uploadReceipts-CqDftTRt-Dkc7WGe9.js} +1 -1
  275. package/dist/assets/{useInitialThreadRequest-GWflkp6K.js → useInitialThreadRequest-CIvC2FkG.js} +1 -1
  276. package/dist/assets/{withTransactionSidePanel-D4o5a7Hq.js → withTransactionSidePanel-C2pbazis.js} +1 -1
  277. package/dist/index.html +1 -1
  278. package/package.json +1 -1
  279. package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-uJRgyQW8.js +0 -1
@@ -1,4 +1,4 @@
1
- import{X as A,O as k,V as o,L as F,E as I,a9 as R,o as t,x as m,a8 as W,N as _,cu as J,P as K,c8 as Q,M as U,j as a,gI as M,gJ as B,gK as q,y as G,cd as X,gf as z,gL as Y,ar as Z,gP as ee,gQ as oe}from"./index-BocbTmE1.js";import{a as j}from"./sentry-DINNQYpi.js";import{n as d}from"./mui-C_CXevf3.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="fee5dbd9-9d6b-4deb-b6a4-7df33a33ebcf",e._sentryDebugIdIdentifier="sentry-dbid-fee5dbd9-9d6b-4deb-b6a4-7df33a33ebcf")}catch{}})();const L=(e,r)=>`${e}.${r}`,N={labelWidth:new m(120,145,160),controlWidth:new m(110,145,160)},i=k.getLocalizedStrings().transactionDetail.vendorDetails.vendorCreation,te=({selectedAccountId:e,isSaveError:r,selectedClassId:g,selectedOwnerId:l,selectedVendorName:w,allAccounts:u,allClasses:O,allOwners:$,sectionId:h,isDisabled:c,accountsHierarchyList:x,classHierarchyList:b})=>{const s=A(),y=G(),C=N.labelWidth.value(s),S=N.controlWidth.value(s);return o.jsxs(ae,{"data-testid":I("vendor-details-section",h),children:[o.jsx(ne,{children:i.vendorDetails.title}),o.jsxs(re,{children:[o.jsx(X,{label:{label:i.vendorDetails.vendorName,width:C},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:w,autoComplete:"off",options:{required:!0}},isSaveError:r,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(se,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:C},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:v=>(p=>u.filter(n=>n.accountId===p)[0]?.coaId??"")(v),defaultValue:{selectedOption:e,allOptions:B(x)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c,disableCurrentOption:v=>{const p=u.find(n=>n.accountId===v)?.accountName;return[ee,oe].includes(p??"")},zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:C},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:v=>(p=>O.filter(n=>n.classId===p)[0]?.accountingClassNumber??"")(v),defaultValue:{selectedOption:g,allOptions:M(b)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c}),$!=null?o.jsx(Y,{label:{label:i.vendorDetails.vendorOwner,width:C},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:q($),selectedOption:l},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:c,style:{justifyContent:"space-between"},controlWidth:S}):null]})]})},ae=d.div`
1
+ import{X as A,O as k,V as o,L as F,E as I,a9 as R,o as t,x as m,a8 as W,N as _,cu as J,P as K,c8 as Q,M as U,j as a,gI as M,gJ as B,gK as q,y as G,cd as X,gf as z,gL as Y,ar as Z,gP as ee,gQ as oe}from"./index-DBW4633P.js";import{a as j}from"./sentry-DINNQYpi.js";import{n as d}from"./mui-C_CXevf3.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="fee5dbd9-9d6b-4deb-b6a4-7df33a33ebcf",e._sentryDebugIdIdentifier="sentry-dbid-fee5dbd9-9d6b-4deb-b6a4-7df33a33ebcf")}catch{}})();const L=(e,r)=>`${e}.${r}`,N={labelWidth:new m(120,145,160),controlWidth:new m(110,145,160)},i=k.getLocalizedStrings().transactionDetail.vendorDetails.vendorCreation,te=({selectedAccountId:e,isSaveError:r,selectedClassId:g,selectedOwnerId:l,selectedVendorName:w,allAccounts:u,allClasses:O,allOwners:$,sectionId:h,isDisabled:c,accountsHierarchyList:x,classHierarchyList:b})=>{const s=A(),y=G(),C=N.labelWidth.value(s),S=N.controlWidth.value(s);return o.jsxs(ae,{"data-testid":I("vendor-details-section",h),children:[o.jsx(ne,{children:i.vendorDetails.title}),o.jsxs(re,{children:[o.jsx(X,{label:{label:i.vendorDetails.vendorName,width:C},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:w,autoComplete:"off",options:{required:!0}},isSaveError:r,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(se,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:C},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:v=>(p=>u.filter(n=>n.accountId===p)[0]?.coaId??"")(v),defaultValue:{selectedOption:e,allOptions:B(x)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c,disableCurrentOption:v=>{const p=u.find(n=>n.accountId===v)?.accountName;return[ee,oe].includes(p??"")},zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:C},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:v=>(p=>O.filter(n=>n.classId===p)[0]?.accountingClassNumber??"")(v),defaultValue:{selectedOption:g,allOptions:M(b)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c}),$!=null?o.jsx(Y,{label:{label:i.vendorDetails.vendorOwner,width:C},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:q($),selectedOption:l},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:c,style:{justifyContent:"space-between"},controlWidth:S}):null]})]})},ae=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${t.sp3};
@@ -1,4 +1,4 @@
1
- import{V as t,X as fe,E as A,gY as st,a5 as N,a as Pe,h4 as lt,L as qe,a9 as De,o as a,O as I,x as c,a8 as Ge,n as ct,at as dt,D as ft,c2 as ye,C as Te,l as ue,a7 as ce,P as Ue,c8 as ut,ag as pt,a6 as mt,e as q,M as He,fg as Le,fh as je,fN as ht,bo as Ce,h5 as gt,j as i,f1 as wt,bH as Je,bv as xt,eH as $t,b6 as bt,H as Ze,ft as Dt,bj as yt,bx as Ke,gp as Tt,gq as Ct}from"./index-BocbTmE1.js";import{a as f}from"./sentry-DINNQYpi.js";import{n}from"./mui-C_CXevf3.js";import{u as St}from"./plaid-Yyr3DBd8.js";import{bG as vt}from"./zeni-epic-state-a7Sj5mjO.js";import{v as kt}from"./ZeniTransferAmountSlider-Cdg0TlHk-B_jBC96s.js";import{m as At}from"./BusyIndication-Cd67eHX6-C7aB5h-1.js";import{r as Pt}from"./AccountInfoPageContent-CKpeDot5-CwoUlvIm.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./downloadPdf-BI2Y41h2-C3b-r1N_.js";import"./commonDimensions-CGHIQ2To-BVJ-7SGP.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]="6385cb48-c03d-4279-87e7-5c9998379b70",e._sentryDebugIdIdentifier="sentry-dbid-6385cb48-c03d-4279-87e7-5c9998379b70")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=I.getLocalizedStrings(),Qe="amount",ze="transferFrom",k="transferDetails",et="transferDetailPage",xe=(e,r)=>`${e}.${r}`,tt=e=>`${e}_form`,u={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(i[3],i[4]),labeleMarginLeft:new c(i[0],i[0]),labelMarginRight:new c(i[3],i[3]),labeleMarginBottom:new c(i[2],i[0]),labeledFieldPaddingLeft:new c(i[3],i[0]),labeledFieldPaddingRight:new c(i[3],i[2]),labeledFieldPaddingTop:new c(i[3],i[3]),labeledFieldPaddingBottom:new c(i[3],i[2]),infoLabelPaddingRight:new c(i[0],i[3]),infoLabelMarginTop:new c(i[1],i[0]),controllerWrapperFlex:new c(1,i[0])};function Lt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:h,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:p,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:F,onSaveChangesToLocalStore:G,onBackClick:M,onEstablishConnectionClick:R,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:U,onReviewClick:H}){const o=fe(),E=u.largeLabelWidth.value(o),[_,j]=f.useState(!1),m=e.link_account_no_microdeposit,[v,W]=f.useState(m.linkToken??null),[x,z]=f.useState(!1),[Y,ie]=f.useState(!1),J=r.transferMoneyPartiesFetchState,Z=ce(J),K=r.transferDetailLocalData.transferFrom?.id,Q=r.transferDetailLocalData.transferTo?.id,Se=ce(K),ve=ce(Q),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),at=f.useCallback(s=>{R?.(s),M(),ie(!1),z(!1)},[M,R]),nt=f.useCallback((s,g)=>{s!=null&&console.log("Plaid Connection Error",s,g)},[]),{open:V,ready:ee}=St({token:v,onSuccess:at,onExit:nt}),oe=f.useCallback(s=>{s.preventDefault(),s.stopPropagation(),ee?V():z(!0)},[V,ee]),P=Ue({mode:"all",reValidateMode:"onBlur",defaultValues:f.useMemo(()=>Be(r,oe),[r])});f.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),f.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&ee&&ie(!0)},[ee,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),f.useEffect(()=>{Y&&x&&V()},[Y,V,x]),f.useEffect(()=>{(vt(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&U?.("link_account_no_microdeposit")},[]),f.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(Z==="In-Progress"&&J==="Completed"||Se!==K||ve!==Q||s)&&P.reset(Be(r,()=>V()))},[ee,v,m.fetchStatus.fetchState,Z,J,Se,ve,Q,K,me,pe,P,r,V]);const{isValid:rt}=P.formState;f.useEffect(()=>{const s=P.watch((g,{name:se})=>{if(se!=null&&g!=null){const le=g[k]?.amount??0,he=g[k]?.transferFrom,te=g[k]?.transferTo,ge=r.transferMoneyParties.find(we=>we.id===he?.selectedOption),ae=r.transferMoneyParties.find(we=>we.id===te?.selectedOption);ge?.accType==="paymentAccount"&&ae?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),f.useEffect(()=>{const s=P.watch((g,{name:se})=>{se!=null&&g!=null&&ut(()=>(async(le,he)=>{if(le!=null){const te={...he},ge={amount:{amount:te[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===te[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===te[k].transferTo.selectedOption)};G(ge)}})(se,g))});return()=>{s.unsubscribe()}}),f.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const it=P.handleSubmit(()=>{rt&&(O("Review","Amount Details"),H())});f.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ze}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,oe,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const ke=h.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ae=ke[ke.length-1].annualPercentageYield.toString(),ot=pt(mt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[_?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(It,{}),t.jsxs(Rt,{children:[t.jsx(Ot,{children:r.reviewTransferDetail.error?.title}),t.jsx(_t,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{O("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:q.heroLight}})})]})}):null,t.jsx(Wt,{children:N("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(He,{...P,children:t.jsxs(Bt,{id:tt(et),onSubmit:it,children:[t.jsxs(Qt,{children:[t.jsx(Oe,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,ze),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,oe,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Re,{}),t.jsx(Oe,{size:o,children:t.jsx(ea,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,"transferTo"),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,oe)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Re,{}),t.jsx(ht,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:xe(k,Qe),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(Xt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Vt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Ae).replace("__amount__",ot)}),t.jsx(kt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:h,setYieldEarned:B,setTotalBalance:F})]}):null,t.jsxs(qt,{windowSize:o,children:[t.jsx(Ht,{windowSize:o,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(Me,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${N("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Ce,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:o==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Ut,{windowSize:o}),t.jsx(Jt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${N("0,0",{amount:p,currencySymbol:"$"})}`})]}):t.jsx(Me,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Ae)})}),$?t.jsxs(Ie,{windowSize:o,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Ie,{windowSize:o,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(qe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,h,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const p={label:d.label,value:d.id};return $&&(p.isDisabled=r?d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),p});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:h};w.push(d)}return w},Be=(e,r)=>({transferDetails:{[Qe]: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:jt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=n.div`
1
+ import{V as t,X as fe,E as A,gY as st,a5 as N,a as Pe,h4 as lt,L as qe,a9 as De,o as a,O as I,x as c,a8 as Ge,n as ct,at as dt,D as ft,c2 as ye,C as Te,l as ue,a7 as ce,P as Ue,c8 as ut,ag as pt,a6 as mt,e as q,M as He,fg as Le,fh as je,fN as ht,bo as Ce,h5 as gt,j as i,f1 as wt,bH as Je,bv as xt,eH as $t,b6 as bt,H as Ze,ft as Dt,bj as yt,bx as Ke,gp as Tt,gq as Ct}from"./index-DBW4633P.js";import{a as f}from"./sentry-DINNQYpi.js";import{n}from"./mui-C_CXevf3.js";import{u as St}from"./plaid-Yyr3DBd8.js";import{bG as vt}from"./zeni-epic-state-a7Sj5mjO.js";import{v as kt}from"./ZeniTransferAmountSlider-Cdg0TlHk-DNSmlK3y.js";import{m as At}from"./BusyIndication-Cd67eHX6-CtvBXiRL.js";import{r as Pt}from"./AccountInfoPageContent-CKpeDot5-D2xjzg6V.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./downloadPdf-BI2Y41h2-Bu4K6jWB.js";import"./commonDimensions-CGHIQ2To-BnULbNsl.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]="6385cb48-c03d-4279-87e7-5c9998379b70",e._sentryDebugIdIdentifier="sentry-dbid-6385cb48-c03d-4279-87e7-5c9998379b70")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=I.getLocalizedStrings(),Qe="amount",ze="transferFrom",k="transferDetails",et="transferDetailPage",xe=(e,r)=>`${e}.${r}`,tt=e=>`${e}_form`,u={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(i[3],i[4]),labeleMarginLeft:new c(i[0],i[0]),labelMarginRight:new c(i[3],i[3]),labeleMarginBottom:new c(i[2],i[0]),labeledFieldPaddingLeft:new c(i[3],i[0]),labeledFieldPaddingRight:new c(i[3],i[2]),labeledFieldPaddingTop:new c(i[3],i[3]),labeledFieldPaddingBottom:new c(i[3],i[2]),infoLabelPaddingRight:new c(i[0],i[3]),infoLabelMarginTop:new c(i[1],i[0]),controllerWrapperFlex:new c(1,i[0])};function Lt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:h,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:p,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:F,onSaveChangesToLocalStore:G,onBackClick:M,onEstablishConnectionClick:R,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:U,onReviewClick:H}){const o=fe(),E=u.largeLabelWidth.value(o),[_,j]=f.useState(!1),m=e.link_account_no_microdeposit,[v,W]=f.useState(m.linkToken??null),[x,z]=f.useState(!1),[Y,ie]=f.useState(!1),J=r.transferMoneyPartiesFetchState,Z=ce(J),K=r.transferDetailLocalData.transferFrom?.id,Q=r.transferDetailLocalData.transferTo?.id,Se=ce(K),ve=ce(Q),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),at=f.useCallback(s=>{R?.(s),M(),ie(!1),z(!1)},[M,R]),nt=f.useCallback((s,g)=>{s!=null&&console.log("Plaid Connection Error",s,g)},[]),{open:V,ready:ee}=St({token:v,onSuccess:at,onExit:nt}),oe=f.useCallback(s=>{s.preventDefault(),s.stopPropagation(),ee?V():z(!0)},[V,ee]),P=Ue({mode:"all",reValidateMode:"onBlur",defaultValues:f.useMemo(()=>Be(r,oe),[r])});f.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),f.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&ee&&ie(!0)},[ee,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),f.useEffect(()=>{Y&&x&&V()},[Y,V,x]),f.useEffect(()=>{(vt(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&U?.("link_account_no_microdeposit")},[]),f.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(Z==="In-Progress"&&J==="Completed"||Se!==K||ve!==Q||s)&&P.reset(Be(r,()=>V()))},[ee,v,m.fetchStatus.fetchState,Z,J,Se,ve,Q,K,me,pe,P,r,V]);const{isValid:rt}=P.formState;f.useEffect(()=>{const s=P.watch((g,{name:se})=>{if(se!=null&&g!=null){const le=g[k]?.amount??0,he=g[k]?.transferFrom,te=g[k]?.transferTo,ge=r.transferMoneyParties.find(we=>we.id===he?.selectedOption),ae=r.transferMoneyParties.find(we=>we.id===te?.selectedOption);ge?.accType==="paymentAccount"&&ae?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),f.useEffect(()=>{const s=P.watch((g,{name:se})=>{se!=null&&g!=null&&ut(()=>(async(le,he)=>{if(le!=null){const te={...he},ge={amount:{amount:te[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===te[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===te[k].transferTo.selectedOption)};G(ge)}})(se,g))});return()=>{s.unsubscribe()}}),f.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const it=P.handleSubmit(()=>{rt&&(O("Review","Amount Details"),H())});f.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ze}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,oe,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const ke=h.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ae=ke[ke.length-1].annualPercentageYield.toString(),ot=pt(mt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[_?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(It,{}),t.jsxs(Rt,{children:[t.jsx(Ot,{children:r.reviewTransferDetail.error?.title}),t.jsx(_t,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{O("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:q.heroLight}})})]})}):null,t.jsx(Wt,{children:N("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(He,{...P,children:t.jsxs(Bt,{id:tt(et),onSubmit:it,children:[t.jsxs(Qt,{children:[t.jsx(Oe,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,ze),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,oe,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Re,{}),t.jsx(Oe,{size:o,children:t.jsx(ea,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,"transferTo"),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,oe)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Re,{}),t.jsx(ht,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:xe(k,Qe),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(Xt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Vt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Ae).replace("__amount__",ot)}),t.jsx(kt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:h,setYieldEarned:B,setTotalBalance:F})]}):null,t.jsxs(qt,{windowSize:o,children:[t.jsx(Ht,{windowSize:o,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(Me,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${N("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Ce,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:o==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Ut,{windowSize:o}),t.jsx(Jt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${N("0,0",{amount:p,currencySymbol:"$"})}`})]}):t.jsx(Me,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Ae)})}),$?t.jsxs(Ie,{windowSize:o,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Ie,{windowSize:o,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(qe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,h,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const p={label:d.label,value:d.id};return $&&(p.isDisabled=r?d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),p});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:h};w.push(d)}return w},Be=(e,r)=>({transferDetails:{[Qe]: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:jt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=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{v as te,V as t,di as Xe,X as L,y as A,m as qe,ba as Qe,dl as Ze,bF as et,a5 as _,bo as he,a_ as tt,w as de,E as F,L as it,be as ot,o as i,x as w,C as T,O as M,e as b,b6 as nt,eY as oe,N,j as p,ao as me,bd as He,ab as Ke,fw as at,aM as rt,a as st,cU as lt,l as B,aj as dt,iC as ct,bf as pt,aB as ht,ep as mt,cz as xt,ft as gt,bV as ut,js as yt,d2 as ge,H as U,bm as ft,b_ as ue,id as wt,c1 as $t}from"./index-BocbTmE1.js";import{a as y,b as bt}from"./sentry-DINNQYpi.js";import{n as o,c as ye}from"./mui-C_CXevf3.js";import{bG as X,bp as jt}from"./zeni-epic-state-a7Sj5mjO.js";import{s as vt}from"./commonDimensions-CGHIQ2To-BVJ-7SGP.js";import{a as St,M as Ye,S as Fe,L as Ct,_ as kt}from"./common-kiEGPQ33-BvLj55nP.js";import{g as fe}from"./BoxItem-B06DK4G--C4opawya.js";import{o as zt}from"./transaction-placeholder-CpOwZAMG-kO6lyet9.js";import{y as Tt}from"./MoreMenuButton-Ct8k8Oax-C0IXgNiJ.js";import{o as Pt}from"./money-2cg1MuG4-C1UnGCa2.js";import{o as Dt}from"./shield-DOlUxcFf-DFaW8QSC.js";import{R as we,J as $e,X as be,Y as je,K as ve,B as Lt}from"./recharts-CTWfsY-L.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.js";import"./calculateSize-zPet_z9g-UKcDxIjM.js";import"./bank-letter-BOcVjN6J-B3HKnrvN.js";import"./spend-limit-D6SyboD4-05QrBanM.js";import"./dollar-round-D18u7nlm-BAPPb_YV.js";import"./page-summary-D7_VQHwN-BBMfUdRp.js";import"./unlock-BPWn2I5L-fA9hPtxv.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]="2de4e61d-7fff-49dc-a567-fd39bda2db82",e._sentryDebugIdIdentifier="sentry-dbid-2de4e61d-7fff-49dc-a567-fd39bda2db82")}catch{}})();const xe=M.getLocalizedStrings().spendManagement.treasury.overviewPage.header,It={key:"description",value:xe.trasnactionTitle,sortOrder:"ascending",width:new w(120,250,400,400,500)},Mt={key:"date",value:xe.paymentDate,sortOrder:"ascending",width:new w(100,120,200,250,300)},Ot={key:"amount",value:xe.amount,sortOrder:"ascending",width:new w(80,100,150,180,200)},ce=()=>[It,Mt,Ot],z={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new w(p[0],p[4]),headerLastColumnRightPadding:new w(p[3],p[11]),headerLastColumnBottomPadding:new w(p[0],p[4]),headerLastColumnLeftPadding:new w(p[3],p[11]),headerHeight:new w(Ye,Fe),sortIconSize:new w(p[2],p[2]),headerPaddingTop:new w(p[0],2)},Rt=bt.memo(function({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const s=A(),l=L(),[r,u]=y.useState(ce());y.useEffect(()=>{const d=[...r];for(const h of d)h.key===n.sortKey?h.sortOrder=n.sortOrder:h.sortOrder="ascending";u(d)},[n.sortKey,n.sortOrder]);const m=(d,h)=>{let c=h;n.sortKey===d&&(c=h==="ascending"?"descending":"ascending"),a(d,c)},x=r.find(d=>d.key===n.sortKey)??r[0],g=r.map(d=>d.key),f=M.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(Nt,{windowSize:l,children:[t.jsxs(Kt,{children:[t.jsx(Ft,{children:t.jsx(Yt,{})}),t.jsx(ft,{title:f.sortBy,placeholder:f.sortBy,pickerValues:g,valueToLabel:d=>r.find(h=>h.key===d)?.value??"",selectedValue:n.sortKey,onPickerSelectionChanged:d=>{m(d,"ascending")},optionTextStyle:de.extraSmallRegular,titleTextStyle:de.extraSmallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.grey4})]}),t.jsxs(Gt,{onClick:()=>m(x.key,x.sortOrder),"data-testid":F("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:x.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:x,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===x.key,children:t.jsx(ue,{})})})]})]}):t.jsx(At,{windowSize:l,children:t.jsx(Bt,{children:r.map(d=>d.width.value(l)!==0&&t.jsxs(Et,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:d.key,wrapperWidth:d.width,windowSize:l,children:[t.jsxs(Wt,{onClick:()=>m(d.key,d.sortOrder),"data-testid":F("cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:d.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:d,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===d.key,children:t.jsx(ue,{})})})]}),t.jsx(Vt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===d.key&&d.key!=="date",children:t.jsx(Ht,{onClick:()=>m("date","ascending"),"data-testid":F("cards-list-sort-cancel",n.sortKey)})})]},d.key))})})}),At=o.div`
1
+ import{v as te,V as t,di as Xe,X as L,y as A,m as qe,ba as Qe,dl as Ze,bF as et,a5 as _,bo as he,a_ as tt,w as de,E as F,L as it,be as ot,o as i,x as w,C as T,O as M,e as b,b6 as nt,eY as oe,N,j as p,ao as me,bd as He,ab as Ke,fw as at,aM as rt,a as st,cU as lt,l as B,aj as dt,iC as ct,bf as pt,aB as ht,ep as mt,cz as xt,ft as gt,bV as ut,js as yt,d2 as ge,H as U,bm as ft,b_ as ue,id as wt,c1 as $t}from"./index-DBW4633P.js";import{a as y,b as bt}from"./sentry-DINNQYpi.js";import{n as o,c as ye}from"./mui-C_CXevf3.js";import{bG as X,bp as jt}from"./zeni-epic-state-a7Sj5mjO.js";import{s as vt}from"./commonDimensions-CGHIQ2To-BnULbNsl.js";import{a as St,M as Ye,S as Fe,L as Ct,_ as kt}from"./common-kiEGPQ33-i2MKa07U.js";import{g as fe}from"./BoxItem-B06DK4G--DWbBsOKU.js";import{o as zt}from"./transaction-placeholder-CpOwZAMG-kO6lyet9.js";import{y as Tt}from"./MoreMenuButton-Ct8k8Oax-Jl7RdYoC.js";import{o as Pt}from"./money-2cg1MuG4-C1UnGCa2.js";import{o as Dt}from"./shield-DOlUxcFf-DFaW8QSC.js";import{R as we,J as $e,X as be,Y as je,K as ve,B as Lt}from"./recharts-CTWfsY-L.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.js";import"./calculateSize-zPet_z9g-DAbLjY3A.js";import"./bank-letter-BOcVjN6J-B3HKnrvN.js";import"./spend-limit-D6SyboD4-05QrBanM.js";import"./dollar-round-D18u7nlm-BAPPb_YV.js";import"./page-summary-D7_VQHwN-BBMfUdRp.js";import"./unlock-BPWn2I5L-fA9hPtxv.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]="2de4e61d-7fff-49dc-a567-fd39bda2db82",e._sentryDebugIdIdentifier="sentry-dbid-2de4e61d-7fff-49dc-a567-fd39bda2db82")}catch{}})();const xe=M.getLocalizedStrings().spendManagement.treasury.overviewPage.header,It={key:"description",value:xe.trasnactionTitle,sortOrder:"ascending",width:new w(120,250,400,400,500)},Mt={key:"date",value:xe.paymentDate,sortOrder:"ascending",width:new w(100,120,200,250,300)},Ot={key:"amount",value:xe.amount,sortOrder:"ascending",width:new w(80,100,150,180,200)},ce=()=>[It,Mt,Ot],z={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new w(p[0],p[4]),headerLastColumnRightPadding:new w(p[3],p[11]),headerLastColumnBottomPadding:new w(p[0],p[4]),headerLastColumnLeftPadding:new w(p[3],p[11]),headerHeight:new w(Ye,Fe),sortIconSize:new w(p[2],p[2]),headerPaddingTop:new w(p[0],2)},Rt=bt.memo(function({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const s=A(),l=L(),[r,u]=y.useState(ce());y.useEffect(()=>{const d=[...r];for(const h of d)h.key===n.sortKey?h.sortOrder=n.sortOrder:h.sortOrder="ascending";u(d)},[n.sortKey,n.sortOrder]);const m=(d,h)=>{let c=h;n.sortKey===d&&(c=h==="ascending"?"descending":"ascending"),a(d,c)},x=r.find(d=>d.key===n.sortKey)??r[0],g=r.map(d=>d.key),f=M.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(Nt,{windowSize:l,children:[t.jsxs(Kt,{children:[t.jsx(Ft,{children:t.jsx(Yt,{})}),t.jsx(ft,{title:f.sortBy,placeholder:f.sortBy,pickerValues:g,valueToLabel:d=>r.find(h=>h.key===d)?.value??"",selectedValue:n.sortKey,onPickerSelectionChanged:d=>{m(d,"ascending")},optionTextStyle:de.extraSmallRegular,titleTextStyle:de.extraSmallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.grey4})]}),t.jsxs(Gt,{onClick:()=>m(x.key,x.sortOrder),"data-testid":F("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:x.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:x,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===x.key,children:t.jsx(ue,{})})})]})]}):t.jsx(At,{windowSize:l,children:t.jsx(Bt,{children:r.map(d=>d.width.value(l)!==0&&t.jsxs(Et,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:d.key,wrapperWidth:d.width,windowSize:l,children:[t.jsxs(Wt,{onClick:()=>m(d.key,d.sortOrder),"data-testid":F("cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:d.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:d,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===d.key,children:t.jsx(ue,{})})})]}),t.jsx(Vt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===d.key&&d.key!=="date",children:t.jsx(Ht,{onClick:()=>m("date","ascending"),"data-testid":F("cards-list-sort-cancel",n.sortKey)})})]},d.key))})})}),At=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 ae,X as G,v as Ce,m as we,a7 as $e,V as r,a_ as fe,f6 as ye,ao as be,o as i,iC as ke,bo as je,C as j,a as K,E as J,O as N,N as f,D as O,e as a,x as z,l as _,cz as Se,bq as ze,n as ve,H as Le,eS as Me,j as h,az as Pe,c2 as Be,a8 as Ee,w as Q,cu as Te}from"./index-BocbTmE1.js";import{a as s,b as Ie}from"./sentry-DINNQYpi.js";import{n as o}from"./mui-C_CXevf3.js";import{Hc as De}from"./zeni-epic-state-a7Sj5mjO.js";import{I as We,N as _e}from"./VideoPlayer-DxIfGrPu-C3cW7OOT.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-BXD0aAHO.js";import{t as Re}from"./clock-CJkylEKt-BFtrn8ev.js";import{o as Ge}from"./shield-DOlUxcFf-DFaW8QSC.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./media-player-BX2lrCiw.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]="ccf14b41-eda2-4a1c-a387-d02be464a8ac",e._sentryDebugIdIdentifier="sentry-dbid-ccf14b41-eda2-4a1c-a387-d02be464a8ac")}catch{}})();const Ne=({isOpen:e,onClose:g})=>{const d=G(),C=N.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Me,{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(Oe,{windowSize:d,children:[r.jsx(Ve,{children:r.jsx(qe,{onClick:g})}),r.jsxs(Ae,{children:[r.jsx(Fe,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(Z,{children:C.agreementDrawer.intro}),r.jsx(H,{children:C.agreementDrawer.introBullets.map((p,u)=>r.jsx(re,{children:p},u))}),r.jsx(H,{children:C.agreementDrawer.documents.map((p,u)=>r.jsx(Ue,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ye,{children:p.links.map((w,k)=>r.jsx(Xe,{children:w.link!==""?r.jsx(ee,{href:w.link,target:"_blank",rel:"noopener noreferrer",children:w.text}):w.text},k))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},u))}),r.jsx(Z,{style:{marginTop:i.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(H,{children:C.agreementDrawer.confirmBullets.map((p,u)=>r.jsx(re,{children:p},u))})]})]})})},Oe=o.div`
1
+ import{y as ae,X as G,v as Ce,m as we,a7 as $e,V as r,a_ as fe,f6 as ye,ao as be,o as i,iC as ke,bo as je,C as j,a as K,E as J,O as N,N as f,D as O,e as a,x as z,l as _,cz as Se,bq as ze,n as ve,H as Le,eS as Me,j as h,az as Pe,c2 as Be,a8 as Ee,w as Q,cu as Te}from"./index-DBW4633P.js";import{a as s,b as Ie}from"./sentry-DINNQYpi.js";import{n as o}from"./mui-C_CXevf3.js";import{Hc as De}from"./zeni-epic-state-a7Sj5mjO.js";import{I as We,N as _e}from"./VideoPlayer-DxIfGrPu-CxZJ5OEW.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-BXD0aAHO.js";import{t as Re}from"./clock-CJkylEKt-BFtrn8ev.js";import{o as Ge}from"./shield-DOlUxcFf-DFaW8QSC.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./media-player-BX2lrCiw.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]="ccf14b41-eda2-4a1c-a387-d02be464a8ac",e._sentryDebugIdIdentifier="sentry-dbid-ccf14b41-eda2-4a1c-a387-d02be464a8ac")}catch{}})();const Ne=({isOpen:e,onClose:g})=>{const d=G(),C=N.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Me,{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(Oe,{windowSize:d,children:[r.jsx(Ve,{children:r.jsx(qe,{onClick:g})}),r.jsxs(Ae,{children:[r.jsx(Fe,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(Z,{children:C.agreementDrawer.intro}),r.jsx(H,{children:C.agreementDrawer.introBullets.map((p,u)=>r.jsx(re,{children:p},u))}),r.jsx(H,{children:C.agreementDrawer.documents.map((p,u)=>r.jsx(Ue,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ye,{children:p.links.map((w,k)=>r.jsx(Xe,{children:w.link!==""?r.jsx(ee,{href:w.link,target:"_blank",rel:"noopener noreferrer",children:w.text}):w.text},k))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},u))}),r.jsx(Z,{style:{marginTop:i.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(H,{children:C.agreementDrawer.confirmBullets.map((p,u)=>r.jsx(re,{children:p},u))})]})]})})},Oe=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as e}from"./liveblocks-BsQBjN-0.js";import{j as F,h as U,i as B,l as V,u as g,N as L,k as O,R as he,m as j}from"./core-5sxMy3sZ.js";import{Hc as z,ct as v,Lx as P,z$ as ne,cW as W,zJ as se,Lz as Se,A2 as xe,Lv as Ie,Lw as re,LN as we,y8 as Te,pi as ke,LB as je,Ad as Ce,Ly as oe,bO as Z,zI as ie,cy as be,cA as Ae,MF as ve,MG as Ee,zK as De,MH as Le,zL as Fe,zU as Ue,bt as Be,G1 as Pe,G2 as Me,Gb as Re,Fb as Ve,cV as Oe,Fa as ze,Hh as Ne,Gp as Ge}from"./zeni-epic-state-a7Sj5mjO.js";import{v as N,a7 as _e,ju as A,bk as G,jB as C,L as $,lR as $e,lS as He,lT as H,X as K,y as q,k4 as We,aE as ce,aG as D,jS as R,x as Ze,lU as Ke,kx as J,jQ as qe,lV as Je,jO as X,lW as Xe,lX as Qe,ke as Ye}from"./index-BocbTmE1.js";import{n as M,D as et,S as tt}from"./mui-C_CXevf3.js";import at from"./NotFoundScreen-MU1vvTl3.js";import{S as ee}from"./SetupPagesScreen-Cz2ybo_2.js";import{a as u}from"./sentry-DINNQYpi.js";import{M as le}from"./MobileAppDrawer-DXy0Oi_h.js";import{F as nt}from"./FeaturePreviewScreen-D2Pa-R10.js";import{a as te}from"./analyticsHelper-CTH_kB-0.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./routePaths-_EQ7HBkZ.js";import"./BusinessVerificationPageScreen-D9PxWQrU.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]="d49ae582-6cdc-450c-a705-e4ce3180d201",t._sentryDebugIdIdentifier="sentry-dbid-d49ae582-6cdc-450c-a705-e4ce3180d201")}catch{}})();const st=M.div`
1
+ import{j as e}from"./liveblocks-BsQBjN-0.js";import{j as F,h as U,i as B,l as V,u as g,N as L,k as O,R as he,m as j}from"./core-5sxMy3sZ.js";import{Hc as z,ct as v,Lx as P,z$ as ne,cW as W,zJ as se,Lz as Se,A2 as xe,Lv as Ie,Lw as re,LN as we,y8 as Te,pi as ke,LB as je,Ad as Ce,Ly as oe,bO as Z,zI as ie,cy as be,cA as Ae,MF as ve,MG as Ee,zK as De,MH as Le,zL as Fe,zU as Ue,bt as Be,G1 as Pe,G2 as Me,Gb as Re,Fb as Ve,cV as Oe,Fa as ze,Hh as Ne,Gp as Ge}from"./zeni-epic-state-a7Sj5mjO.js";import{v as N,a7 as _e,ju as A,bk as G,jB as C,L as $,lR as $e,lS as He,lT as H,X as K,y as q,k4 as We,aE as ce,aG as D,jS as R,x as Ze,lU as Ke,kx as J,jQ as qe,lV as Je,jO as X,lW as Xe,lX as Qe,ke as Ye}from"./index-DBW4633P.js";import{n as M,D as et,S as tt}from"./mui-C_CXevf3.js";import at from"./NotFoundScreen-DIsBJSaH.js";import{S as ee}from"./SetupPagesScreen-Dec5-vG9.js";import{a as u}from"./sentry-DINNQYpi.js";import{M as le}from"./MobileAppDrawer-D_NdxckS.js";import{F as nt}from"./FeaturePreviewScreen-DX_dSelb.js";import{a as te}from"./analyticsHelper-CMK0FF_Q.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./routePaths-GPfd2GU_.js";import"./BusinessVerificationPageScreen-C0MRjLR6.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]="d49ae582-6cdc-450c-a705-e4ce3180d201",t._sentryDebugIdIdentifier="sentry-dbid-d49ae582-6cdc-450c-a705-e4ce3180d201")}catch{}})();const st=M.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{y as v,X as S,V as t,a_ as I,an as z,o as r,O as C,e as m,bV as P,x as T,j as p,l as B}from"./index-BocbTmE1.js";import{a as h}from"./sentry-DINNQYpi.js";import{n as o}from"./mui-C_CXevf3.js";import{$ as _}from"./BoxItem-B06DK4G--C4opawya.js";import{o as D}from"./commonDimensions-CGHIQ2To-BVJ-7SGP.js";import{O as M}from"./StatementItem-Dyt5Q0eR-jB2YMdu5.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./downloadPdf-BI2Y41h2-C3b-r1N_.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]="ac647aaf-f12d-43ce-9281-ecfe99a9a19c",e._sentryDebugIdIdentifier="sentry-dbid-ac647aaf-f12d-43ce-9281-ecfe99a9a19c")}catch{}})();const f=C.getLocalizedStrings().spendManagement.treasury.statements,b={listItemMargin:new T(p[3],p[8])},ae=({currentTenantCompanyName:e,authParams:i,downloadEndPoint:c,statementListView:n,onBackClick:g})=>{const w=v(),a=S(),x=h.createRef(),y=h.useRef(),k=n.statements.length===0,$=()=>D.transactionItemHeightResponsive.value(a),j=({index:s,style:l})=>{const d=n.statements[s];return k===!1?t.jsx(u,{windowSize:a,style:{...l,width:`calc(100% - 2*${b.listItemMargin.valuePx(a)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:i,downloadEndPoint:c,documentType:"treasuryStatement",boxType:_(s,n.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(E,{children:t.jsx(u,{windowSize:a,children:t.jsx(O,{children:f.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:f.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(V,{windowSize:a,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(N,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.statements.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},R=o.div``,u=o.div`
1
+ import{y as v,X as S,V as t,a_ as I,an as z,o as r,O as C,e as m,bV as P,x as T,j as p,l as B}from"./index-DBW4633P.js";import{a as h}from"./sentry-DINNQYpi.js";import{n as o}from"./mui-C_CXevf3.js";import{$ as _}from"./BoxItem-B06DK4G--DWbBsOKU.js";import{o as D}from"./commonDimensions-CGHIQ2To-BnULbNsl.js";import{O as M}from"./StatementItem-Dyt5Q0eR-DMqzBE6A.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./downloadPdf-BI2Y41h2-Bu4K6jWB.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]="ac647aaf-f12d-43ce-9281-ecfe99a9a19c",e._sentryDebugIdIdentifier="sentry-dbid-ac647aaf-f12d-43ce-9281-ecfe99a9a19c")}catch{}})();const f=C.getLocalizedStrings().spendManagement.treasury.statements,b={listItemMargin:new T(p[3],p[8])},ae=({currentTenantCompanyName:e,authParams:i,downloadEndPoint:c,statementListView:n,onBackClick:g})=>{const w=v(),a=S(),x=h.createRef(),y=h.useRef(),k=n.statements.length===0,$=()=>D.transactionItemHeightResponsive.value(a),j=({index:s,style:l})=>{const d=n.statements[s];return k===!1?t.jsx(u,{windowSize:a,style:{...l,width:`calc(100% - 2*${b.listItemMargin.valuePx(a)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:i,downloadEndPoint:c,documentType:"treasuryStatement",boxType:_(s,n.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(E,{children:t.jsx(u,{windowSize:a,children:t.jsx(O,{children:f.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:f.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(V,{windowSize:a,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(N,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.statements.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},R=o.div``,u=o.div`
2
2
  margin: ${e=>`${r.sp0} ${b.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{y as v,X as L,V as t,a_ as I,an as S,o as r,O as z,e as p,bV as T,x as C,j as h,l as P}from"./index-BocbTmE1.js";import{a as m}from"./sentry-DINNQYpi.js";import{n as o}from"./mui-C_CXevf3.js";import{$ as B}from"./BoxItem-B06DK4G--C4opawya.js";import{o as _}from"./commonDimensions-CGHIQ2To-BVJ-7SGP.js";import{O as D}from"./StatementItem-Dyt5Q0eR-jB2YMdu5.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./downloadPdf-BI2Y41h2-C3b-r1N_.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]="470f4735-b1af-4d0a-86f7-b843ecb93e4b",e._sentryDebugIdIdentifier="sentry-dbid-470f4735-b1af-4d0a-86f7-b843ecb93e4b")}catch{}})();const b=z.getLocalizedStrings().spendManagement.treasury.taxLetter,f={listItemMargin:new C(h[3],h[8])},ie=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:g})=>{const u=v(),i=L(),w=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>_.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${f.listItemMargin.valuePx(i)})`},children:t.jsx(D,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:B(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(x,{windowSize:i,children:t.jsx(O,{children:b.noTaxLetter})})})})};return t.jsxs(E,{children:[t.jsx(I,{title:b.title,backgroundColor:u.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(S,{children:({height:s,width:l})=>t.jsx(N,{ref:w,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},M=o.div``,x=o.div`
1
+ import{y as v,X as L,V as t,a_ as I,an as S,o as r,O as z,e as p,bV as T,x as C,j as h,l as P}from"./index-DBW4633P.js";import{a as m}from"./sentry-DINNQYpi.js";import{n as o}from"./mui-C_CXevf3.js";import{$ as B}from"./BoxItem-B06DK4G--DWbBsOKU.js";import{o as _}from"./commonDimensions-CGHIQ2To-BnULbNsl.js";import{O as D}from"./StatementItem-Dyt5Q0eR-DMqzBE6A.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./downloadPdf-BI2Y41h2-Bu4K6jWB.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]="470f4735-b1af-4d0a-86f7-b843ecb93e4b",e._sentryDebugIdIdentifier="sentry-dbid-470f4735-b1af-4d0a-86f7-b843ecb93e4b")}catch{}})();const b=z.getLocalizedStrings().spendManagement.treasury.taxLetter,f={listItemMargin:new C(h[3],h[8])},ie=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:g})=>{const u=v(),i=L(),w=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>_.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${f.listItemMargin.valuePx(i)})`},children:t.jsx(D,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:B(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(x,{windowSize:i,children:t.jsx(O,{children:b.noTaxLetter})})})})};return t.jsxs(E,{children:[t.jsx(I,{title:b.title,backgroundColor:u.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(S,{children:({height:s,width:l})=>t.jsx(N,{ref:w,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},M=o.div``,x=o.div`
2
2
  margin: ${e=>`${r.sp0} ${f.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{O as Y,V as s,y as _,an as O,w as M,ag as z,E as k,o as $,e as B,l as I}from"./index-BocbTmE1.js";import{a as w,b as P}from"./sentry-DINNQYpi.js";import{FA as h}from"./zeni-epic-state-a7Sj5mjO.js";import{d as q,g as T,p as j,u as R}from"./chartTypes-Dq3hUz_T-DlStt0to.js";import{n as L}from"./mui-C_CXevf3.js";import{o as A}from"./toCOABalancesWithID-P7keEtAg-CVzjqCh4.js";import{V as G}from"./toChartData-BUf5HHim-BMyIU8Hn.js";import{G as K,C as N,X as V,Y as W,B as H,M as Q,H as X}from"./recharts-CTWfsY-L.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.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]="8eb65b35-0c2e-4147-ba17-b87ed2bdb3be",e._sentryDebugIdIdentifier="sentry-dbid-8eb65b35-0c2e-4147-ba17-b87ed2bdb3be")}catch{}})();const J=L.div`
1
+ import{O as Y,V as s,y as _,an as O,w as M,ag as z,E as k,o as $,e as B,l as I}from"./index-DBW4633P.js";import{a as w,b as P}from"./sentry-DINNQYpi.js";import{FA as h}from"./zeni-epic-state-a7Sj5mjO.js";import{d as q,g as T,p as j,u as R}from"./chartTypes-Dq3hUz_T-boMzYtYd.js";import{n as L}from"./mui-C_CXevf3.js";import{o as A}from"./toCOABalancesWithID-P7keEtAg-DjgvOCvR.js";import{V as G}from"./toChartData-BUf5HHim-BlDtF069.js";import{G as K,C as N,X as V,Y as W,B as H,M as Q,H as X}from"./recharts-CTWfsY-L.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.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]="8eb65b35-0c2e-4147-ba17-b87ed2bdb3be",e._sentryDebugIdIdentifier="sentry-dbid-8eb65b35-0c2e-4147-ba17-b87ed2bdb3be")}catch{}})();const J=L.div`
2
2
  display: flex;
3
3
  `,U=L.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{X as k,V as i,L as C,o as n,O as L,E as $,an as N,x as l,ar as H,c2 as _,j as a,l as B,a8 as E}from"./index-BocbTmE1.js";import{a as R}from"./sentry-DINNQYpi.js";import{n as r}from"./mui-C_CXevf3.js";import V from"./TrendChart-fFlHCvNx-QKskVgw6.js";import{C as q}from"./NoDataChart-9-bhq204-BNHp8Nld.js";import{F as A}from"./InsightsSection-ByFf2oGn-ChvKOP1F.js";import{z as K}from"./TransactionList-f6yB-byH-FETk5Iif.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]="84357259-548f-4745-b3a4-768800b836c9",e._sentryDebugIdIdentifier="sentry-dbid-84357259-548f-4745-b3a4-768800b836c9")}catch{}})();const W=r.div`
1
+ import{X as k,V as i,L as C,o as n,O as L,E as $,an as N,x as l,ar as H,c2 as _,j as a,l as B,a8 as E}from"./index-DBW4633P.js";import{a as R}from"./sentry-DINNQYpi.js";import{n as r}from"./mui-C_CXevf3.js";import V from"./TrendChart-fFlHCvNx-C-NDpGcx.js";import{C as q}from"./NoDataChart-9-bhq204-Ck-FboCC.js";import{F as A}from"./InsightsSection-ByFf2oGn-O2kwXghv.js";import{z as K}from"./TransactionList-f6yB-byH-BbsyqjjD.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]="84357259-548f-4745-b3a4-768800b836c9",e._sentryDebugIdIdentifier="sentry-dbid-84357259-548f-4745-b3a4-768800b836c9")}catch{}})();const W=r.div`
2
2
  display: inline-block;
3
3
  `,G=r.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{y as ie,X as ce,v as Qe,a7 as Ze,ga as I,hg as J,P as Xe,hh as Ke,hi as je,c8 as Ye,V as o,a_ as en,bR as nn,bS as on,bT as tn,M as cn,hj as sn,L as an,a9 as ln,fa as dn,O as G,hk as _e,x as u,l as rn,o as a,cc as ye,ad as N,gf as oe,hl as te,hm as Z,hn as un,j as r,N as fe,e as Ae,fE as Ve,C as Se,aD as pn}from"./index-BocbTmE1.js";import{a as X}from"./sentry-DINNQYpi.js";import{n as s}from"./mui-C_CXevf3.js";import{Gr as Te,G3 as mn,G4 as gn,cU as xn}from"./zeni-epic-state-a7Sj5mjO.js";import{h as hn}from"./VendorsAccountsSection-YX2g8ETe-YNhvXO1d.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="3929716d-d102-486c-8f06-f2349930c71b",e._sentryDebugIdIdentifier="sentry-dbid-3929716d-d102-486c-8f06-f2349930c71b")}catch{}})();const $={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])},qe={title:new fe("standardMedium","largeMedium")},bn=s.div`
1
+ import{y as ie,X as ce,v as Qe,a7 as Ze,ga as I,hg as J,P as Xe,hh as Ke,hi as je,c8 as Ye,V as o,a_ as en,bR as nn,bS as on,bT as tn,M as cn,hj as sn,L as an,a9 as ln,fa as dn,O as G,hk as _e,x as u,l as rn,o as a,cc as ye,ad as N,gf as oe,hl as te,hm as Z,hn as un,j as r,N as fe,e as Ae,fE as Ve,C as Se,aD as pn}from"./index-DBW4633P.js";import{a as X}from"./sentry-DINNQYpi.js";import{n as s}from"./mui-C_CXevf3.js";import{Gr as Te,G3 as mn,G4 as gn,cU as xn}from"./zeni-epic-state-a7Sj5mjO.js";import{h as hn}from"./VendorsAccountsSection-YX2g8ETe-DB_XPKqM.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="3929716d-d102-486c-8f06-f2349930c71b",e._sentryDebugIdIdentifier="sentry-dbid-3929716d-d102-486c-8f06-f2349930c71b")}catch{}})();const $={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])},qe={title:new fe("standardMedium","largeMedium")},bn=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>$.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{a7 as S,V as t,hp as _,hq as W,X as T,O,bR as L,c as k,bS as U,bT as z,P as R,M,ci as G,cf as D,x as b,cg as H,e as N,i as J,L as X,a as K,o as i,l as Q,j as F,D as Y,au as Z}from"./index-BocbTmE1.js";import{a as l}from"./sentry-DINNQYpi.js";import{n as f}from"./mui-C_CXevf3.js";import{bG as ee,bs as te}from"./zeni-epic-state-a7Sj5mjO.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="483114a6-3979-42e6-89d6-a492bf25d4c7",e._sentryDebugIdIdentifier="sentry-dbid-483114a6-3979-42e6-89d6-a492bf25d4c7")}catch{}})();const x={labelWidth:new b(152,176,176),smallLabelWidth:new b(92,110,110),paddingBottom:new b(F[3],F[2]),width:new b(300,420,420)},ie=f.div`
1
+ import{a7 as S,V as t,hp as _,hq as W,X as T,O,bR as L,c as k,bS as U,bT as z,P as R,M,ci as G,cf as D,x as b,cg as H,e as N,i as J,L as X,a as K,o as i,l as Q,j as F,D as Y,au as Z}from"./index-DBW4633P.js";import{a as l}from"./sentry-DINNQYpi.js";import{n as f}from"./mui-C_CXevf3.js";import{bG as ee,bs as te}from"./zeni-epic-state-a7Sj5mjO.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="483114a6-3979-42e6-89d6-a492bf25d4c7",e._sentryDebugIdIdentifier="sentry-dbid-483114a6-3979-42e6-89d6-a492bf25d4c7")}catch{}})();const x={labelWidth:new b(152,176,176),smallLabelWidth:new b(92,110,110),paddingBottom:new b(F[3],F[2]),width:new b(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{P as U,fb as g,a7 as W,X as q,O as X,c8 as A,V as i,M as G,E as H,fc as J,o as a,e as K,cj as Q,a9 as Y,x as y,a8 as Z,c2 as ee,au as te,at as ie,j as d}from"./index-BocbTmE1.js";import{a as c}from"./sentry-DINNQYpi.js";import{n as o}from"./mui-C_CXevf3.js";import{Fc as ae}from"./zeni-epic-state-a7Sj5mjO.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]="0297f997-3a1b-4d42-acce-00b7de90bfd5",e._sentryDebugIdIdentifier="sentry-dbid-0297f997-3a1b-4d42-acce-00b7de90bfd5")}catch{}})();const b={marginRight:new y(d[3],d[8]),marginLeft:new y(d[3],d[8]),height:new y(d[5],62)},f="additionalDocumentsForm",s="ssnCard";function ge(e){const{filesEndPoint:m,authParams:x,companyOfficer:t,updateStatus:u,onClose:F,onEditFileName:E,onDeleteFile:v,updateFilesEntity:P,onSendForVerificationClick:z,onCompanyOfficerUpdated:C}=e,l=U({mode:"all",reValidateMode:"onChange",defaultValues:c.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[N,S]=c.useState(!1),[O,T]=c.useState(!1),$=W(u.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},V=Object.values(j??{}).filter(r=>r!=null),L=ae(V);c.useEffect(()=>{$==="In-Progress"&&u.fetchState==="Completed"&&l.reset({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}})},[$,u,l,t?.additionalFiles]);const n=q(),p=X.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:h}=p,_=`${h.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=l.handleSubmit(()=>{L.fetchState!=="In-Progress"&&z?.(t?.officerType??"Officer_1")});return c.useEffect(()=>{const r=l.watch((w,{name:I})=>{I!=null&&w!=null&&A(()=>(async(M,R)=>{const D=R[f].front;M.includes("front")&&D?.fileId!=null?(C?.(t?.officerType??"Officer_1",[D?.fileId]),S(!0)):S(!1)})(I,w))});return()=>{r.unsubscribe()}}),i.jsx(G,{...l,children:i.jsxs("form",{id:f,onSubmit:k,children:[i.jsxs(ce,{size:n,children:[i.jsx(re,{size:n,children:i.jsx(de,{size:n,onClick:F,"data-testid":H("upload-additional-documents-close",f)})}),i.jsxs(fe,{children:[i.jsx(se,{children:h.title[s]}),i.jsx(oe,{children:h.description[s]})]}),i.jsx(ne,{children:i.jsx(le,{children:_})}),i.jsx(J,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:Q,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${K.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:g(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:m,authParams:x,hasError:O,onEditFileName:E,onDeleteFile:v,updateFilesEntity:P,onFileSizeError:r=>T(r),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),N?i.jsx(Y,{formId:f,primaryBtn:{label:p.sendForVerificationButton,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:p.cancel,style:{width:n==="small"?"auto":"181px"},onClick:F},style:{position:"absolute",width:"100%"}}):null]})})}const se=o(ee)`
1
+ import{P as U,fb as g,a7 as W,X as q,O as X,c8 as A,V as i,M as G,E as H,fc as J,o as a,e as K,cj as Q,a9 as Y,x as y,a8 as Z,c2 as ee,au as te,at as ie,j as d}from"./index-DBW4633P.js";import{a as c}from"./sentry-DINNQYpi.js";import{n as o}from"./mui-C_CXevf3.js";import{Fc as ae}from"./zeni-epic-state-a7Sj5mjO.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]="0297f997-3a1b-4d42-acce-00b7de90bfd5",e._sentryDebugIdIdentifier="sentry-dbid-0297f997-3a1b-4d42-acce-00b7de90bfd5")}catch{}})();const b={marginRight:new y(d[3],d[8]),marginLeft:new y(d[3],d[8]),height:new y(d[5],62)},f="additionalDocumentsForm",s="ssnCard";function ge(e){const{filesEndPoint:m,authParams:x,companyOfficer:t,updateStatus:u,onClose:F,onEditFileName:E,onDeleteFile:v,updateFilesEntity:P,onSendForVerificationClick:z,onCompanyOfficerUpdated:C}=e,l=U({mode:"all",reValidateMode:"onChange",defaultValues:c.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[N,S]=c.useState(!1),[O,T]=c.useState(!1),$=W(u.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},V=Object.values(j??{}).filter(r=>r!=null),L=ae(V);c.useEffect(()=>{$==="In-Progress"&&u.fetchState==="Completed"&&l.reset({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}})},[$,u,l,t?.additionalFiles]);const n=q(),p=X.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:h}=p,_=`${h.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=l.handleSubmit(()=>{L.fetchState!=="In-Progress"&&z?.(t?.officerType??"Officer_1")});return c.useEffect(()=>{const r=l.watch((w,{name:I})=>{I!=null&&w!=null&&A(()=>(async(M,R)=>{const D=R[f].front;M.includes("front")&&D?.fileId!=null?(C?.(t?.officerType??"Officer_1",[D?.fileId]),S(!0)):S(!1)})(I,w))});return()=>{r.unsubscribe()}}),i.jsx(G,{...l,children:i.jsxs("form",{id:f,onSubmit:k,children:[i.jsxs(ce,{size:n,children:[i.jsx(re,{size:n,children:i.jsx(de,{size:n,onClick:F,"data-testid":H("upload-additional-documents-close",f)})}),i.jsxs(fe,{children:[i.jsx(se,{children:h.title[s]}),i.jsx(oe,{children:h.description[s]})]}),i.jsx(ne,{children:i.jsx(le,{children:_})}),i.jsx(J,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:Q,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${K.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:g(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:m,authParams:x,hasError:O,onEditFileName:E,onDeleteFile:v,updateFilesEntity:P,onFileSizeError:r=>T(r),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),N?i.jsx(Y,{formId:f,primaryBtn:{label:p.sendForVerificationButton,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:p.cancel,style:{width:n==="small"?"auto":"181px"},onClick:F},style:{position:"absolute",width:"100%"}}):null]})})}const se=o(ee)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{a7 as s,O as w,V as r,hp as x,hq as P}from"./index-BocbTmE1.js";import{a as n}from"./sentry-DINNQYpi.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./mui-C_CXevf3.js";import"./pdf-DyB_VHQx.js";import"./recharts-CTWfsY-L.js";import"./lottie-C2R6rGxS.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="926ab739-24a9-434c-9b2c-17ac34f17b78",t._sentryDebugIdIdentifier="sentry-dbid-926ab739-24a9-434c-9b2c-17ac34f17b78")}catch{}})();const q=({vendorViewDetails:t,isExpressPayPage:o,onSaveVendor:p,onGetOtp:h,onResendOtp:S,onVerifyOtp:g,onVerifyOtpSuccess:f})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:b}=t,c=Object.assign({},m??b),[V,i]=n.useState(!1),[y,a]=n.useState(e.initiateVerification===!0),d=s(c?.saveStatus?.fetchState),C=s(e.userVerificationStatus.fetchState),u=s(e.otpVerificationStatus?.fetchState),l=s(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return n.useEffect(()=>{d==="In-Progress"&&c?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&a(!0)},[c,e,d]),n.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(i(!1),p())},[e.userVerificationStatus]),n.useEffect(()=>{u==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&f?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[u,e,f]),n.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(i(!0),a(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(x,{showHelperText:!o,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>i(!1),onResendOtp:S,onEditButtonClick:()=>{a(!0),i(!1)}}}):y===!0?r.jsx(P,{showHelperText:!o,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:o?O:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:I=>h?.(I)}}):null})};export{q as default};
1
+ import{a7 as s,O as w,V as r,hp as x,hq as P}from"./index-DBW4633P.js";import{a as n}from"./sentry-DINNQYpi.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./mui-C_CXevf3.js";import"./pdf-DyB_VHQx.js";import"./recharts-CTWfsY-L.js";import"./lottie-C2R6rGxS.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="926ab739-24a9-434c-9b2c-17ac34f17b78",t._sentryDebugIdIdentifier="sentry-dbid-926ab739-24a9-434c-9b2c-17ac34f17b78")}catch{}})();const q=({vendorViewDetails:t,isExpressPayPage:o,onSaveVendor:p,onGetOtp:h,onResendOtp:S,onVerifyOtp:g,onVerifyOtpSuccess:f})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:b}=t,c=Object.assign({},m??b),[V,i]=n.useState(!1),[y,a]=n.useState(e.initiateVerification===!0),d=s(c?.saveStatus?.fetchState),C=s(e.userVerificationStatus.fetchState),u=s(e.otpVerificationStatus?.fetchState),l=s(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return n.useEffect(()=>{d==="In-Progress"&&c?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&a(!0)},[c,e,d]),n.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(i(!1),p())},[e.userVerificationStatus]),n.useEffect(()=>{u==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&f?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[u,e,f]),n.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(i(!0),a(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(x,{showHelperText:!o,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>i(!1),onResendOtp:S,onEditButtonClick:()=>{a(!0),i(!1)}}}):y===!0?r.jsx(P,{showHelperText:!o,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:o?O:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:I=>h?.(I)}}):null})};export{q as default};
@@ -1 +1 @@
1
- import{V as m}from"./index-BocbTmE1.js";import{a as c}from"./sentry-DINNQYpi.js";import{f as u}from"./ACHDetailsPage-BShpKoIj-D1Wy32uO.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./mui-C_CXevf3.js";import"./pdf-DyB_VHQx.js";import"./recharts-CTWfsY-L.js";import"./lottie-C2R6rGxS.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.js";import"./BankAccountWarningSection-DCfyIUlu-D_RVGDL2.js";import"./MagicLinkTitleSection-ClAnBBt9-BWJjfwMs.js";import"./BankAccountSection-EZtscP2z-C2fUrA1M.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="6ed864f8-9e70-4aa2-af02-dea92fd280e2",t._sentryDebugIdIdentifier="sentry-dbid-6ed864f8-9e70-4aa2-af02-dea92fd280e2")}catch{}})();const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})=>{const{bankAccountCreationState:o,bankNameByRouting:s,bankAccountToCreate:f,fetchBankNameByRoutingStatus:p}=t;return c.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),m.jsx(u,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameByRouting:s,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})};export{R as default};
1
+ import{V as m}from"./index-DBW4633P.js";import{a as c}from"./sentry-DINNQYpi.js";import{f as u}from"./ACHDetailsPage-BShpKoIj-fWd9thRi.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./mui-C_CXevf3.js";import"./pdf-DyB_VHQx.js";import"./recharts-CTWfsY-L.js";import"./lottie-C2R6rGxS.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.js";import"./BankAccountWarningSection-DCfyIUlu-DWGOWwU8.js";import"./MagicLinkTitleSection-ClAnBBt9-Cym29B_c.js";import"./BankAccountSection-EZtscP2z-CnmlGLJZ.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="6ed864f8-9e70-4aa2-af02-dea92fd280e2",t._sentryDebugIdIdentifier="sentry-dbid-6ed864f8-9e70-4aa2-af02-dea92fd280e2")}catch{}})();const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})=>{const{bankAccountCreationState:o,bankNameByRouting:s,bankAccountToCreate:f,fetchBankNameByRoutingStatus:p}=t;return c.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),m.jsx(u,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameByRouting:s,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})};export{R as default};
@@ -1,4 +1,4 @@
1
- import{y as Ye,X as le,x as g,S as $e,cb as wt,P as ft,gE as De,gF as bt,ad as Ct,c8 as St,V as t,aZ as $t,M as Dt,gG as jt,gH as ye,j as n,c9 as Lt,a9 as Tt,a_ as _t,O as A,gI as Ge,gJ as Qe,gK as Ze,o as s,bg as $,cc as Vt,E as u,gf as je,gL as kt,cd as It,ce as Ot,cf as Pt,gM as Mt,fO as zt,ck as Ft,gN as Nt,gO as Wt,e as R,ar as Je,C as Ke,bj as Ht,aj as Rt,gP as At,gQ as Bt,l as Et,bO as Ut,cT as qt,cs as Yt,ag as pe,gR as Gt,bH as Xe,gS as Qt,N as Le,d as et}from"./index-BocbTmE1.js";import{a as S}from"./sentry-DINNQYpi.js";import{n as o,c as Zt}from"./mui-C_CXevf3.js";import{bQ as Te,Gn as Jt,Go as Kt}from"./zeni-epic-state-a7Sj5mjO.js";import{R as Xt}from"./SubTabSwitcher-CzGiuhk3-C7cKUv_v.js";import{z as ea}from"./TransactionList-f6yB-byH-FETk5Iif.js";import{R as ta}from"./TrendWithTransactions-It4KDov3-DY_vu1lx.js";import{o as aa,t as sa}from"./arrow-south-east-round-PEovUgvH-CxvC0Cnw.js";import{k as oa}from"./LabeledAddressValueField-F9kvUR_r-9ELTRqNI.js";import{Y as na}from"./LabeledDropDownFormattedTextField-DoVSg3nZ-82mPtDTT.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./ConstrainedInnerElement-hv51KpGg-CKGSsSPo.js";import"./BoxItem-B06DK4G--C4opawya.js";import"./commonDimensions-CGHIQ2To-BVJ-7SGP.js";import"./panelSelectedMixin-Cddsb26L-Kk0Lc2Dj.js";import"./TrendChart-fFlHCvNx-QKskVgw6.js";import"./chartTypes-Dq3hUz_T-DlStt0to.js";import"./toCOABalancesWithID-P7keEtAg-CVzjqCh4.js";import"./toChartData-BUf5HHim-BMyIU8Hn.js";import"./NoDataChart-9-bhq204-BNHp8Nld.js";import"./InsightsSection-ByFf2oGn-ChvKOP1F.js";import"./NavigationDots-DCpslVnm-D-4SKVAz.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]="a19fd652-c0e8-4c26-9349-d3728c8c564c",e._sentryDebugIdIdentifier="sentry-dbid-a19fd652-c0e8-4c26-9349-d3728c8c564c")}catch{}})();const ia=o.div`
1
+ import{y as Ye,X as le,x as g,S as $e,cb as wt,P as ft,gE as De,gF as bt,ad as Ct,c8 as St,V as t,aZ as $t,M as Dt,gG as jt,gH as ye,j as n,c9 as Lt,a9 as Tt,a_ as _t,O as A,gI as Ge,gJ as Qe,gK as Ze,o as s,bg as $,cc as Vt,E as u,gf as je,gL as kt,cd as It,ce as Ot,cf as Pt,gM as Mt,fO as zt,ck as Ft,gN as Nt,gO as Wt,e as R,ar as Je,C as Ke,bj as Ht,aj as Rt,gP as At,gQ as Bt,l as Et,bO as Ut,cT as qt,cs as Yt,ag as pe,gR as Gt,bH as Xe,gS as Qt,N as Le,d as et}from"./index-DBW4633P.js";import{a as S}from"./sentry-DINNQYpi.js";import{n as o,c as Zt}from"./mui-C_CXevf3.js";import{bQ as Te,Gn as Jt,Go as Kt}from"./zeni-epic-state-a7Sj5mjO.js";import{R as Xt}from"./SubTabSwitcher-CzGiuhk3-ryyXc5wR.js";import{z as ea}from"./TransactionList-f6yB-byH-BbsyqjjD.js";import{R as ta}from"./TrendWithTransactions-It4KDov3-SqmxJLwp.js";import{o as aa,t as sa}from"./arrow-south-east-round-PEovUgvH-CxvC0Cnw.js";import{k as oa}from"./LabeledAddressValueField-F9kvUR_r-DWIWqg4N.js";import{Y as na}from"./LabeledDropDownFormattedTextField-DoVSg3nZ-BFaTo2zA.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./ConstrainedInnerElement-hv51KpGg-D4gYEuVE.js";import"./BoxItem-B06DK4G--DWbBsOKU.js";import"./commonDimensions-CGHIQ2To-BnULbNsl.js";import"./panelSelectedMixin-Cddsb26L-Kk0Lc2Dj.js";import"./TrendChart-fFlHCvNx-C-NDpGcx.js";import"./chartTypes-Dq3hUz_T-boMzYtYd.js";import"./toCOABalancesWithID-P7keEtAg-DjgvOCvR.js";import"./toChartData-BUf5HHim-BlDtF069.js";import"./NoDataChart-9-bhq204-Ck-FboCC.js";import"./InsightsSection-ByFf2oGn-O2kwXghv.js";import"./NavigationDots-DCpslVnm-wapVz6Ga.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]="a19fd652-c0e8-4c26-9349-d3728c8c564c",e._sentryDebugIdIdentifier="sentry-dbid-a19fd652-c0e8-4c26-9349-d3728c8c564c")}catch{}})();const ia=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{V as b}from"./index-BocbTmE1.js";import{a as k}from"./sentry-DINNQYpi.js";import{y}from"./DomesticWireDetailsPage-BaiSpc0N-BjZ307kD.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./mui-C_CXevf3.js";import"./pdf-DyB_VHQx.js";import"./recharts-CTWfsY-L.js";import"./lottie-C2R6rGxS.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.js";import"./BankAccountSection-EZtscP2z-C2fUrA1M.js";import"./MagicLinkTitleSection-ClAnBBt9-BWJjfwMs.js";import"./BankAccountWarningSection-DCfyIUlu-D_RVGDL2.js";import"./MailingDetailsSection-9_XLl4bT-Bq5v10Od.js";import"./LabeledAddressValueField-F9kvUR_r-9ELTRqNI.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]="32b5696e-8fc8-468d-9d56-bcf39030fa96",e._sentryDebugIdIdentifier="sentry-dbid-32b5696e-8fc8-468d-9d56-bcf39030fa96")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:d,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:f,bankAccountToCreate:u,fetchBankNameByRoutingStatus:l}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),b.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:f,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:d,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{H as default};
1
+ import{V as b}from"./index-DBW4633P.js";import{a as k}from"./sentry-DINNQYpi.js";import{y}from"./DomesticWireDetailsPage-BaiSpc0N-Ch_6qZVT.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./mui-C_CXevf3.js";import"./pdf-DyB_VHQx.js";import"./recharts-CTWfsY-L.js";import"./lottie-C2R6rGxS.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.js";import"./BankAccountSection-EZtscP2z-CnmlGLJZ.js";import"./MagicLinkTitleSection-ClAnBBt9-Cym29B_c.js";import"./BankAccountWarningSection-DCfyIUlu-DWGOWwU8.js";import"./MailingDetailsSection-9_XLl4bT-uVaax-qs.js";import"./LabeledAddressValueField-F9kvUR_r-DWIWqg4N.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]="32b5696e-8fc8-468d-9d56-bcf39030fa96",e._sentryDebugIdIdentifier="sentry-dbid-32b5696e-8fc8-468d-9d56-bcf39030fa96")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:d,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:f,bankAccountToCreate:u,fetchBankNameByRoutingStatus:l}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),b.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:f,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:d,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{H as default};
@@ -1,4 +1,4 @@
1
- import{X as ce,y as ze,P as ke,c8 as Ae,x as b,V as t,a_ as Be,E as Oe,M as Ee,cd as V,o as s,ch as We,gM as Me,fO as Re,ck as qe,gN as He,gO as Ue,c6 as Ge,a9 as _e,O as pe,eE as X,gT as ue,e5 as Ke,eF as Xe,j as d,a8 as Ze,bg as F,c3 as Je,gU as Qe,e as N,eB as Ye,bH as et,l as ge,el as tt,gV as st,gW as lt,gX as G,eG as it}from"./index-BocbTmE1.js";import{a as m}from"./sentry-DINNQYpi.js";import{n as o}from"./mui-C_CXevf3.js";import{Y as at}from"./LabeledDropDownFormattedTextField-DoVSg3nZ-82mPtDTT.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="6e08b71d-3977-4d13-9742-1d7a5127860b",e._sentryDebugIdIdentifier="sentry-dbid-6e08b71d-3977-4d13-9742-1d7a5127860b")}catch{}})();const ie={largeLabelWidth:new b(160,210,230),paddingBottom:new b(d[3],d[2])},S=(e,i)=>`${e}.${i}`;function ot(e){const{loadingState:i}=e;return t.jsx(rt,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function rt({googleAPIKey:e,addressToEdit:i,sectionId:r,isDisabled:u,style:R}){const W=ce(),c=pe.getLocalizedStrings().companyPassport,p=ie.largeLabelWidth.value(W);return t.jsxs(t.Fragment,{children:[t.jsx(ae,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:u,label:{label:c.address.street,width:p,showBullet:!0},addressField:{name:S(r,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?ue(i):void 0},placeholder:G(c.address.street),registerOptions:{required:!0,validate:$=>$!=null&&!!$.addressString},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(V,{isDisabled:u,label:{label:c.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:S(r,"suite"),defaultValue:i?.street[1],placeholder:c.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(V,{isDisabled:u,label:{label:c.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"city"),defaultValue:i?.city,placeholder:G(c.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(V,{isDisabled:u,label:{label:c.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"state"),defaultValue:i?.state,placeholder:G(c.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(ae,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:u,label:{label:c.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:S(r,"country"),placeholder:c.address.countryPlaceholder,defaultValue:X(i?.country),registerOptions:{validate:$=>!($==null||!$.selectedOption)}}}),t.jsx(V,{isDisabled:u,label:{label:c.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"postalCode"),defaultValue:i?.postalCode,placeholder:c.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(V,{isDisabled:u,label:{label:c.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:ie.paddingBottom.valuePx(W),width:"100%",outline:"none"},text:{type:"text",name:S(r,"secondaryInfo"),defaultValue:i?.street[2],placeholder:c.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=o.div`
1
+ import{X as ce,y as ze,P as ke,c8 as Ae,x as b,V as t,a_ as Be,E as Oe,M as Ee,cd as V,o as s,ch as We,gM as Me,fO as Re,ck as qe,gN as He,gO as Ue,c6 as Ge,a9 as _e,O as pe,eE as X,gT as ue,e5 as Ke,eF as Xe,j as d,a8 as Ze,bg as F,c3 as Je,gU as Qe,e as N,eB as Ye,bH as et,l as ge,el as tt,gV as st,gW as lt,gX as G,eG as it}from"./index-DBW4633P.js";import{a as m}from"./sentry-DINNQYpi.js";import{n as o}from"./mui-C_CXevf3.js";import{Y as at}from"./LabeledDropDownFormattedTextField-DoVSg3nZ-BFaTo2zA.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="6e08b71d-3977-4d13-9742-1d7a5127860b",e._sentryDebugIdIdentifier="sentry-dbid-6e08b71d-3977-4d13-9742-1d7a5127860b")}catch{}})();const ie={largeLabelWidth:new b(160,210,230),paddingBottom:new b(d[3],d[2])},S=(e,i)=>`${e}.${i}`;function ot(e){const{loadingState:i}=e;return t.jsx(rt,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function rt({googleAPIKey:e,addressToEdit:i,sectionId:r,isDisabled:u,style:R}){const W=ce(),c=pe.getLocalizedStrings().companyPassport,p=ie.largeLabelWidth.value(W);return t.jsxs(t.Fragment,{children:[t.jsx(ae,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:u,label:{label:c.address.street,width:p,showBullet:!0},addressField:{name:S(r,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?ue(i):void 0},placeholder:G(c.address.street),registerOptions:{required:!0,validate:$=>$!=null&&!!$.addressString},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(V,{isDisabled:u,label:{label:c.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:S(r,"suite"),defaultValue:i?.street[1],placeholder:c.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(V,{isDisabled:u,label:{label:c.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"city"),defaultValue:i?.city,placeholder:G(c.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(V,{isDisabled:u,label:{label:c.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"state"),defaultValue:i?.state,placeholder:G(c.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(ae,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:u,label:{label:c.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:S(r,"country"),placeholder:c.address.countryPlaceholder,defaultValue:X(i?.country),registerOptions:{validate:$=>!($==null||!$.selectedOption)}}}),t.jsx(V,{isDisabled:u,label:{label:c.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"postalCode"),defaultValue:i?.postalCode,placeholder:c.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(V,{isDisabled:u,label:{label:c.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:ie.paddingBottom.valuePx(W),width:"100%",outline:"none"},text:{type:"text",name:S(r,"secondaryInfo"),defaultValue:i?.street[2],placeholder:c.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{X as oe,v as Rn,y as tn,P as Bn,hx as Me,c8 as Fn,A as Vn,hy as ee,hz as pe,hA as he,hB as ue,hC as re,V as n,ht as En,E as ve,M as Un,a_ as Wn,I as Hn,bR as qn,bS as Gn,bT as Qn,bq as Kn,bd as Xn,bN as Jn,an as Yn,cR as Zn,bV as eo,L as no,O as be,x as w,K as Re,o,ac as Cn,l as Ie,ab as oo,j as m,C as fe,b_ as to,bO as kn,bg as ke,aC as Mn,c1 as io,bu as ro,d7 as so,au as Ke,aR as rn,e as A,aA as Nn,gv as ao,cN as cn,cs as Ye,hD as Ze,i as lo,bo as Ae,dh as co,e9 as mn,b6 as mo,cU as po,a as pn,bX as ho,hE as uo,hF as wo,cc as go,e5 as vo,ee as xo,ef as bo,H as In,hG as fo,b4 as ne,hH as hn,gh as $o,$ as So,k as yo,bj as jo,w as On,N as Ro,em as Vo,ae as nn}from"./index-BocbTmE1.js";import{a as f}from"./sentry-DINNQYpi.js";import{n as i,c as on}from"./mui-C_CXevf3.js";import{bJ as Co,Gu as ko}from"./zeni-epic-state-a7Sj5mjO.js";import{r as Mo}from"./core-5sxMy3sZ.js";import"./liveblocks-BsQBjN-0.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="17311fa0-e888-40b5-b346-cc3aa340d5c2",e._sentryDebugIdIdentifier="sentry-dbid-17311fa0-e888-40b5-b346-cc3aa340d5c2")}catch{}})();const Pn=({steps:e})=>{const a=oe();return n.jsx(Io,{windowSize:a,children:e.map((c,l)=>n.jsxs(No,{children:[n.jsx(Po,{children:l!==e.length-1?l+1:n.jsx(To,{})}),n.jsx(zo,{children:c}),l<e.length-1?n.jsx(Oo,{}):null]},`step_${l}`))})},No=i.div`
1
+ import{X as oe,v as Rn,y as tn,P as Bn,hx as Me,c8 as Fn,A as Vn,hy as ee,hz as pe,hA as he,hB as ue,hC as re,V as n,ht as En,E as ve,M as Un,a_ as Wn,I as Hn,bR as qn,bS as Gn,bT as Qn,bq as Kn,bd as Xn,bN as Jn,an as Yn,cR as Zn,bV as eo,L as no,O as be,x as w,K as Re,o,ac as Cn,l as Ie,ab as oo,j as m,C as fe,b_ as to,bO as kn,bg as ke,aC as Mn,c1 as io,bu as ro,d7 as so,au as Ke,aR as rn,e as A,aA as Nn,gv as ao,cN as cn,cs as Ye,hD as Ze,i as lo,bo as Ae,dh as co,e9 as mn,b6 as mo,cU as po,a as pn,bX as ho,hE as uo,hF as wo,cc as go,e5 as vo,ee as xo,ef as bo,H as In,hG as fo,b4 as ne,hH as hn,gh as $o,$ as So,k as yo,bj as jo,w as On,N as Ro,em as Vo,ae as nn}from"./index-DBW4633P.js";import{a as f}from"./sentry-DINNQYpi.js";import{n as i,c as on}from"./mui-C_CXevf3.js";import{bJ as Co,Gu as ko}from"./zeni-epic-state-a7Sj5mjO.js";import{r as Mo}from"./core-5sxMy3sZ.js";import"./liveblocks-BsQBjN-0.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="17311fa0-e888-40b5-b346-cc3aa340d5c2",e._sentryDebugIdIdentifier="sentry-dbid-17311fa0-e888-40b5-b346-cc3aa340d5c2")}catch{}})();const Pn=({steps:e})=>{const a=oe();return n.jsx(Io,{windowSize:a,children:e.map((c,l)=>n.jsxs(No,{children:[n.jsx(Po,{children:l!==e.length-1?l+1:n.jsx(To,{})}),n.jsx(zo,{children:c}),l<e.length-1?n.jsx(Oo,{}):null]},`step_${l}`))})},No=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,X,P as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,M as Ce,a9 as $e,x as c,eE as ae,eF as De,o as y,at as je,cc as re,y as de,eG as Te,eH as Y,c6 as Q,al as H,cd as Se,d_ as ke,j as a,e5 as Oe,E as Ae,e as M,N as Le,L as Fe,bo as ze,C as Ie,b6 as We}from"./index-BocbTmE1.js";import{a as W}from"./sentry-DINNQYpi.js";import{n as g}from"./mui-C_CXevf3.js";import{bQ as Z}from"./zeni-epic-state-a7Sj5mjO.js";import{W as Re,A as Pe}from"./BankAccountWarningSection-DCfyIUlu-D_RVGDL2.js";import{T as _e}from"./MailingDetailsSection-9_XLl4bT-Bq5v10Od.js";import{S as Ee}from"./CurrencySelectField-B8EoF2aF-DHzUxLL4.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./LabeledAddressValueField-F9kvUR_r-9ELTRqNI.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]="abdd1a14-5682-458a-9141-4d00ec05de96",e._sentryDebugIdIdentifier="sentry-dbid-abdd1a14-5682-458a-9141-4d00ec05de96")}catch{}})();const A={width:new c(343,580,726),height:new c(a[6],a[6]),controlHeight:new c(a[6],a[6]),paddingTopBottom:new c(a[2],a[2]),marginRight:new c(a[2],a[2]),labelMarginLeft:new c(a[3],a[4]),labelMarginRight:new c(a[3],a[4]),labelMarginTop:new c(a[2],a[2])},se={infoLabel:new Le("extraSmallRegular","smallRegular")};function Me({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:s,isAdditionalInfoLabelLoading:o=!1,showAdditionalLabelTooltip:n=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:k=!0}){const C=X(),{formState:{errors:b}}=re(),$=de(),D=Oe(b,l.name);return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Ae("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(He,{labelWidth:i.width,children:[t.jsx(Ee,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Ve,{windowSize:C,hasError:D,children:s}):null,(()=>{if(o===!0)return t.jsx(Ne,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&j||D){let p=null;return n===!0&&k&&w&&(p=t.jsx(ze,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(qe,{children:w}),children:t.jsx(Ge,{children:t.jsx(Qe,{})})})),t.jsxs(Ue,{size:C,isError:D,hasToolTip:n,isDisabled:e!=null,children:[p,j]})}})()]})]})}const Be=g.div`
1
+ import{V as t,X,P as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,M as Ce,a9 as $e,x as c,eE as ae,eF as De,o as y,at as je,cc as re,y as de,eG as Te,eH as Y,c6 as Q,al as H,cd as Se,d_ as ke,j as a,e5 as Oe,E as Ae,e as M,N as Le,L as Fe,bo as ze,C as Ie,b6 as We}from"./index-DBW4633P.js";import{a as W}from"./sentry-DINNQYpi.js";import{n as g}from"./mui-C_CXevf3.js";import{bQ as Z}from"./zeni-epic-state-a7Sj5mjO.js";import{W as Re,A as Pe}from"./BankAccountWarningSection-DCfyIUlu-DWGOWwU8.js";import{T as _e}from"./MailingDetailsSection-9_XLl4bT-uVaax-qs.js";import{S as Ee}from"./CurrencySelectField-B8EoF2aF-CpaeLEvO.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./LabeledAddressValueField-F9kvUR_r-DWIWqg4N.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]="abdd1a14-5682-458a-9141-4d00ec05de96",e._sentryDebugIdIdentifier="sentry-dbid-abdd1a14-5682-458a-9141-4d00ec05de96")}catch{}})();const A={width:new c(343,580,726),height:new c(a[6],a[6]),controlHeight:new c(a[6],a[6]),paddingTopBottom:new c(a[2],a[2]),marginRight:new c(a[2],a[2]),labelMarginLeft:new c(a[3],a[4]),labelMarginRight:new c(a[3],a[4]),labelMarginTop:new c(a[2],a[2])},se={infoLabel:new Le("extraSmallRegular","smallRegular")};function Me({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:s,isAdditionalInfoLabelLoading:o=!1,showAdditionalLabelTooltip:n=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:k=!0}){const C=X(),{formState:{errors:b}}=re(),$=de(),D=Oe(b,l.name);return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Ae("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(He,{labelWidth:i.width,children:[t.jsx(Ee,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Ve,{windowSize:C,hasError:D,children:s}):null,(()=>{if(o===!0)return t.jsx(Ne,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&j||D){let p=null;return n===!0&&k&&w&&(p=t.jsx(ze,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(qe,{children:w}),children:t.jsx(Ge,{children:t.jsx(Qe,{})})})),t.jsxs(Ue,{size:C,isError:D,hasToolTip:n,isDisabled:e!=null,children:[p,j]})}})()]})]})}const Be=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{V as k}from"./index-BocbTmE1.js";import{a as S}from"./sentry-DINNQYpi.js";import{f as b}from"./InternationalWireSwiftDetailsPage-C2PM97sv-BLs5mpsl.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./mui-C_CXevf3.js";import"./pdf-DyB_VHQx.js";import"./recharts-CTWfsY-L.js";import"./lottie-C2R6rGxS.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.js";import"./BankAccountWarningSection-DCfyIUlu-D_RVGDL2.js";import"./MailingDetailsSection-9_XLl4bT-Bq5v10Od.js";import"./LabeledAddressValueField-F9kvUR_r-9ELTRqNI.js";import"./MagicLinkTitleSection-ClAnBBt9-BWJjfwMs.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="92515753-db2a-48c2-a654-480d65383257",t._sentryDebugIdIdentifier="sentry-dbid-92515753-db2a-48c2-a654-480d65383257")}catch{}})();const H=({vendorViewDetails:t,bankAccountContext:e,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:p,bankNameBySwift:l,fetchBankNameBySwiftStatus:u}=t,a={...m??p};return S.useEffect(()=>{(e==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,e]),k.jsx(b,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameBySwift:l,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onAddressClick:c,onFetchBankNameBySwift:s})};export{H as default};
1
+ import{V as k}from"./index-DBW4633P.js";import{a as S}from"./sentry-DINNQYpi.js";import{f as b}from"./InternationalWireSwiftDetailsPage-C2PM97sv--IsCSEC1.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./mui-C_CXevf3.js";import"./pdf-DyB_VHQx.js";import"./recharts-CTWfsY-L.js";import"./lottie-C2R6rGxS.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.js";import"./BankAccountWarningSection-DCfyIUlu-DWGOWwU8.js";import"./MailingDetailsSection-9_XLl4bT-uVaax-qs.js";import"./LabeledAddressValueField-F9kvUR_r-DWIWqg4N.js";import"./MagicLinkTitleSection-ClAnBBt9-Cym29B_c.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="92515753-db2a-48c2-a654-480d65383257",t._sentryDebugIdIdentifier="sentry-dbid-92515753-db2a-48c2-a654-480d65383257")}catch{}})();const H=({vendorViewDetails:t,bankAccountContext:e,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:p,bankNameBySwift:l,fetchBankNameBySwiftStatus:u}=t,a={...m??p};return S.useEffect(()=>{(e==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,e]),k.jsx(b,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameBySwift:l,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onAddressClick:c,onFetchBankNameBySwift:s})};export{H as default};
@@ -1,4 +1,4 @@
1
- import{X as ie,y as oe,O as te,x as c,ga as w,ad as k,V as i,ho as g,o as r,hl as m,N as ne,e as re,c_ as de,C as se,j as a}from"./index-BocbTmE1.js";import{n as s}from"./mui-C_CXevf3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="5bf474ca-51be-4e54-89b4-6567560d2468",e._sentryDebugIdIdentifier="sentry-dbid-5bf474ca-51be-4e54-89b4-6567560d2468")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},T={title:new ne("standardMedium","largeMedium")},le=s.div`
1
+ import{X as ie,y as oe,O as te,x as c,ga as w,ad as k,V as i,ho as g,o as r,hl as m,N as ne,e as re,c_ as de,C as se,j as a}from"./index-DBW4633P.js";import{n as s}from"./mui-C_CXevf3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="5bf474ca-51be-4e54-89b4-6567560d2468",e._sentryDebugIdIdentifier="sentry-dbid-5bf474ca-51be-4e54-89b4-6567560d2468")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},T={title:new ne("standardMedium","largeMedium")},le=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>d.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{j as l}from"./liveblocks-BsQBjN-0.js";import{a as g}from"./sentry-DINNQYpi.js";import{j as R,h as K,l as J,u as S,k as G,i as Y,R as tt,m as B,N as $}from"./core-5sxMy3sZ.js";import{ct as L,Ic as De,Id as Je,dt as X,bH as ye,bI as Ee,rV as pt,Ie as at,rZ as Gt,Eo as ee,rT as $t,rN as zt,If as Ue,rF as Yt,rE as Kt,ry as qt,rK as Qt,r_ as Ht,Ig as ue,Ih as Ne,rG as Wt,Ii as he,cF as mt,sd as St,s6 as ft,Ij as gt,k$ as Ie,s1 as vt,r$ as Tt,Ik as xt,sk as It,sh as Dt,s2 as yt,sj as Me,CQ as Et,Il as Zt,Im as Xt,bJ as ea,In as ta,Io as aa,Ip as pe,Iq as le,Ir as Ce,Ep as Re,sz as ve,En as Te,sm as Ct,rW as Ge,Is as na,Eq as Q,It as $e,rQ as sa,Iu as oa,Iv as la,Iw as ze,Ix as Ye,Iy as Ke,Iz as qe,st as we,IA as wt,sa as bt,IB as ia,IC as ca,ID as da,IE as ra,IF as ua,IG as ha,IH as pa,II as ma,pu as Sa,pv as fa,Du as je,IJ as ga,IK as va,ga as Fe,bs as Ta,IL as xa,IM as Ia,hJ as Da,hS as ya,Dt as Pe,bG as nt,IN as kt,D9 as jt,IO as Ea,IP as Ca,IQ as wa,hU as ba,IR as st,IS as ot,IT as lt,IU as it,IV as ka,hQ as ja,IW as Fa,hT as Pa,IX as _a,IY as Ft,DQ as Pt,h7 as Aa,IZ as Va,I_ as _e,I$ as _t,DO as At,ut as La,J0 as Ba,J1 as Oa,hr as Vt,J2 as Ja,J3 as Ua,E0 as Na,na as Ma,J4 as Lt,J5 as ct,DZ as Ae,J6 as dt,J7 as Ra,E2 as Ga,J8 as $a,J9 as za,Ja as Ya,Jb as Ka,Jc as qa,nd as Qa,Jd as Ha,Er as Wa,Je as Za,DH as Ve,eb as Xa,Jf as en,Jg as tn,e9 as an,Jh as nn,Ji as sn,ux as on,Jj as ln,Jk as cn,Jl as dn,Jm as rn,hb as un,bm as hn,cA as pn,cy as mn}from"./zeni-epic-state-a7Sj5mjO.js";import{ju as U,a7 as Le,jS as Bt,bk as W,jB as F,k6 as Z,kz as Sn,jQ as N,O as xe,W as ie,kA as Qe,kB as fn,kC as gn,jO as He,kD as vn,y as Tn,X as ce,x as We,aE as te,aG as z,kE as xn,jF as Ze,kF as In,kG as Ot,k4 as Dn,kH as yn,v as En,kI as Cn,kx as Jt,o as H,e as Ut,jV as wn,kJ as bn,kK as kn,K as Xe,kL as jn,kM as Fn,jN as Pn,kN as _n,kO as An}from"./index-BocbTmE1.js";import{n as M,D as Vn,S as Nt}from"./mui-C_CXevf3.js";import{t as Ln,A as Bn}from"./AddressScreen-DsuZFaVf.js";import oe from"./NotFoundScreen-MU1vvTl3.js";import{F as On}from"./FeaturePreviewScreen-D2Pa-R10.js";import{b as q,v as et,c as Jn}from"./routePaths-_EQ7HBkZ.js";import{p as Mt}from"./pathToGoBack-D5dFRCuJ.js";import{M as me}from"./MobileAppDrawer-DXy0Oi_h.js";import{S as Un}from"./zeni-icon-only-COM3FcNM.js";import{D as Nn}from"./DrawerScreen-0WDRSJz6.js";import{g as Mn,m as Rn}from"./accountMappingHelper-CMy_dzCB.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="617767c3-5452-4b52-9efb-a337a0db7422",e._sentryDebugIdIdentifier="sentry-dbid-617767c3-5452-4b52-9efb-a337a0db7422")}catch{}})();const Gn=xe.getLocalizedStrings(),$n=G(function(e,a){const s=Je(e,a.scheduleTab),t=e.tenantState.currentTenantId;return{authParams:{userId:a.signedInUser.userId??"",sessionId:a.signedInUser.zeniSessionId??"",tenantId:t??""},linkBillExpenseView:s.linkBillExpenseView,transactions:s.linkBillExpenseView.transactions}},function(e,a){const{navigate:s,location:t}=a;return{onTransactionSelect(n){e(at({selectedTransaction:n}))},onBackClick:()=>{s("..",{relative:"path"})},onCancel(){e(at({selectedTransaction:void 0})),e(Gt()),s("..",{relative:"path"})},onTransactionClick:n=>{const o=`${q(n,a.tenantEmailDomain)}`,c=N(t.state?.pathnameStackToGoBack,t.pathname);s(o,{state:{pathnameStackToGoBack:c}})},onLinkSave(){a.setShouldNavigateBack(!1),e(pt(a.scheduleTab,a.scheduleAccruedDetailsView.selectedJEAccruedSchedule?.jeScheduleId))}}})(Sn),zn=({setShouldNavigateBack:e})=>{const a=R(),s=K(),{scheduleDetailId:t,tenantEmailDomain:n}=J(),{scheduleType:o}=J();if(n==null)throw Error("Can't access Link Bill Expense page without tenant Email Domain");const c=S(f=>L(f)),r=De(o)??"accrued_expenses",h=U.getSignedInUser();if(h==null)throw Error("Can't access Link Bill Expensedetail page without signing in...");if(t==null)throw Error("Invalid Schedule Detail Id");const i=S(f=>Je(f,r)),m=i.selectedJELinkRowIndex,d=S(f=>X(f,c.companyId)),u=Le(i.updateStatus.fetchState);g.useEffect(()=>{u==="In-Progress"&&i.updateStatus.fetchState==="Completed"&&a("..",{relative:"path"})},[u,i.updateStatus.fetchState]),g.useEffect(()=>{i.fetchState==="Not-Started"&&a("..",{relative:"path"})},[]),g.useEffect(()=>{i.selectedJEAccruedSchedule!=null&&i.selectedJELinkRowIndex!=null||a("..",{relative:"path"})},[i.selectedJEAccruedSchedule,i.selectedJELinkRowIndex]);const p=i.linkBillExpenseView.fetchState==="Completed";return l.jsx(l.Fragment,{children:i.linkBillExpenseView.fetchState==="In-Progress"?l.jsx(Bt,{fetchState:i.linkBillExpenseView.fetchState}):i.selectedJEAccruedSchedule!=null&&m!=null?l.jsxs(l.Fragment,{children:[p===!0?l.jsx(W,{analytics:F,onLoad:()=>{Yn(i,r,d)}}):null,l.jsx($n,{signedInUser:h,attachmentEndPoint:`${Z}/vendor_attachments`,setShouldNavigateBack:e,scheduleVendorId:i.selectedJEAccruedSchedule.vendor.id??"",location:s,tenantEmailDomain:n,scheduleAccruedDetailsView:i,saveFetchState:i.updateStatus.fetchState,scheduleTab:r,navigate:a,analytics:F,controllerUserDetails:d,saveStatus:i.updateStatus.fetchState,jeAccruedSchedule:i.selectedJEAccruedSchedule,localData:i.scheduleAccruedDetailsLocalData.jeScheduleDetails[m]})]}):null})},Rt=e=>{const a=Gn.dateFormat.analytics.YYYYDashMMDashDDFormat;return{scheduleCreateDate:e.createTime.format(a)??null,scheduleMonthlyAmount:e.recurringAmount??null,startingBalance:e.otherAttributes.startingBalance??null,scheduleAccountCategory:e.jeCredit.account?.accountName??null,description:e.memo,runningBalance:e.balanceAsOfToday??null,currentBalance:e.balanceAsOfToday??null,currentStatus:e.status.label,period:e.period??null,startMonth:e.startDate?.format(a)??null,endMonth:e.endDate?.format(a)??null}},Yn=(e,a,s)=>{const t=e.selectedJEAccruedSchedule,n=e.selectedJELinkRowIndex;let o;n!=null&&t!=null&&(o=t.scheduledJournalEntry[n]);const{transactions:c}=e.linkBillExpenseView,r=c.some(m=>m.isRecommendedTransaction===!0),h=ye(s.controllers),i=Ee(s.controllerUserIds);t!=null&&F.trackScheduleAccruedDetailsJournalEntryLinkedLoaded({scheduleType:a,schedule:{...Rt(t)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{wasRecommendationAvailable:r,journalEntryPostingStatus:o?.status.label??""},vendorName:t.vendor.name??null,controllerEmails:h,controllerUserIds:i})},Kn=M.div`
1
+ import{j as l}from"./liveblocks-BsQBjN-0.js";import{a as g}from"./sentry-DINNQYpi.js";import{j as R,h as K,l as J,u as S,k as G,i as Y,R as tt,m as B,N as $}from"./core-5sxMy3sZ.js";import{ct as L,Ic as De,Id as Je,dt as X,bH as ye,bI as Ee,rV as pt,Ie as at,rZ as Gt,Eo as ee,rT as $t,rN as zt,If as Ue,rF as Yt,rE as Kt,ry as qt,rK as Qt,r_ as Ht,Ig as ue,Ih as Ne,rG as Wt,Ii as he,cF as mt,sd as St,s6 as ft,Ij as gt,k$ as Ie,s1 as vt,r$ as Tt,Ik as xt,sk as It,sh as Dt,s2 as yt,sj as Me,CQ as Et,Il as Zt,Im as Xt,bJ as ea,In as ta,Io as aa,Ip as pe,Iq as le,Ir as Ce,Ep as Re,sz as ve,En as Te,sm as Ct,rW as Ge,Is as na,Eq as Q,It as $e,rQ as sa,Iu as oa,Iv as la,Iw as ze,Ix as Ye,Iy as Ke,Iz as qe,st as we,IA as wt,sa as bt,IB as ia,IC as ca,ID as da,IE as ra,IF as ua,IG as ha,IH as pa,II as ma,pu as Sa,pv as fa,Du as je,IJ as ga,IK as va,ga as Fe,bs as Ta,IL as xa,IM as Ia,hJ as Da,hS as ya,Dt as Pe,bG as nt,IN as kt,D9 as jt,IO as Ea,IP as Ca,IQ as wa,hU as ba,IR as st,IS as ot,IT as lt,IU as it,IV as ka,hQ as ja,IW as Fa,hT as Pa,IX as _a,IY as Ft,DQ as Pt,h7 as Aa,IZ as Va,I_ as _e,I$ as _t,DO as At,ut as La,J0 as Ba,J1 as Oa,hr as Vt,J2 as Ja,J3 as Ua,E0 as Na,na as Ma,J4 as Lt,J5 as ct,DZ as Ae,J6 as dt,J7 as Ra,E2 as Ga,J8 as $a,J9 as za,Ja as Ya,Jb as Ka,Jc as qa,nd as Qa,Jd as Ha,Er as Wa,Je as Za,DH as Ve,eb as Xa,Jf as en,Jg as tn,e9 as an,Jh as nn,Ji as sn,ux as on,Jj as ln,Jk as cn,Jl as dn,Jm as rn,hb as un,bm as hn,cA as pn,cy as mn}from"./zeni-epic-state-a7Sj5mjO.js";import{ju as U,a7 as Le,jS as Bt,bk as W,jB as F,k6 as Z,kz as Sn,jQ as N,O as xe,W as ie,kA as Qe,kB as fn,kC as gn,jO as He,kD as vn,y as Tn,X as ce,x as We,aE as te,aG as z,kE as xn,jF as Ze,kF as In,kG as Ot,k4 as Dn,kH as yn,v as En,kI as Cn,kx as Jt,o as H,e as Ut,jV as wn,kJ as bn,kK as kn,K as Xe,kL as jn,kM as Fn,jN as Pn,kN as _n,kO as An}from"./index-DBW4633P.js";import{n as M,D as Vn,S as Nt}from"./mui-C_CXevf3.js";import{t as Ln,A as Bn}from"./AddressScreen-C6vJhn2u.js";import oe from"./NotFoundScreen-DIsBJSaH.js";import{F as On}from"./FeaturePreviewScreen-DX_dSelb.js";import{b as q,v as et,c as Jn}from"./routePaths-GPfd2GU_.js";import{p as Mt}from"./pathToGoBack-D5dFRCuJ.js";import{M as me}from"./MobileAppDrawer-D_NdxckS.js";import{S as Un}from"./zeni-icon-only-COM3FcNM.js";import{D as Nn}from"./DrawerScreen-C_bLtDRv.js";import{g as Mn,m as Rn}from"./accountMappingHelper-CMy_dzCB.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="617767c3-5452-4b52-9efb-a337a0db7422",e._sentryDebugIdIdentifier="sentry-dbid-617767c3-5452-4b52-9efb-a337a0db7422")}catch{}})();const Gn=xe.getLocalizedStrings(),$n=G(function(e,a){const s=Je(e,a.scheduleTab),t=e.tenantState.currentTenantId;return{authParams:{userId:a.signedInUser.userId??"",sessionId:a.signedInUser.zeniSessionId??"",tenantId:t??""},linkBillExpenseView:s.linkBillExpenseView,transactions:s.linkBillExpenseView.transactions}},function(e,a){const{navigate:s,location:t}=a;return{onTransactionSelect(n){e(at({selectedTransaction:n}))},onBackClick:()=>{s("..",{relative:"path"})},onCancel(){e(at({selectedTransaction:void 0})),e(Gt()),s("..",{relative:"path"})},onTransactionClick:n=>{const o=`${q(n,a.tenantEmailDomain)}`,c=N(t.state?.pathnameStackToGoBack,t.pathname);s(o,{state:{pathnameStackToGoBack:c}})},onLinkSave(){a.setShouldNavigateBack(!1),e(pt(a.scheduleTab,a.scheduleAccruedDetailsView.selectedJEAccruedSchedule?.jeScheduleId))}}})(Sn),zn=({setShouldNavigateBack:e})=>{const a=R(),s=K(),{scheduleDetailId:t,tenantEmailDomain:n}=J(),{scheduleType:o}=J();if(n==null)throw Error("Can't access Link Bill Expense page without tenant Email Domain");const c=S(f=>L(f)),r=De(o)??"accrued_expenses",h=U.getSignedInUser();if(h==null)throw Error("Can't access Link Bill Expensedetail page without signing in...");if(t==null)throw Error("Invalid Schedule Detail Id");const i=S(f=>Je(f,r)),m=i.selectedJELinkRowIndex,d=S(f=>X(f,c.companyId)),u=Le(i.updateStatus.fetchState);g.useEffect(()=>{u==="In-Progress"&&i.updateStatus.fetchState==="Completed"&&a("..",{relative:"path"})},[u,i.updateStatus.fetchState]),g.useEffect(()=>{i.fetchState==="Not-Started"&&a("..",{relative:"path"})},[]),g.useEffect(()=>{i.selectedJEAccruedSchedule!=null&&i.selectedJELinkRowIndex!=null||a("..",{relative:"path"})},[i.selectedJEAccruedSchedule,i.selectedJELinkRowIndex]);const p=i.linkBillExpenseView.fetchState==="Completed";return l.jsx(l.Fragment,{children:i.linkBillExpenseView.fetchState==="In-Progress"?l.jsx(Bt,{fetchState:i.linkBillExpenseView.fetchState}):i.selectedJEAccruedSchedule!=null&&m!=null?l.jsxs(l.Fragment,{children:[p===!0?l.jsx(W,{analytics:F,onLoad:()=>{Yn(i,r,d)}}):null,l.jsx($n,{signedInUser:h,attachmentEndPoint:`${Z}/vendor_attachments`,setShouldNavigateBack:e,scheduleVendorId:i.selectedJEAccruedSchedule.vendor.id??"",location:s,tenantEmailDomain:n,scheduleAccruedDetailsView:i,saveFetchState:i.updateStatus.fetchState,scheduleTab:r,navigate:a,analytics:F,controllerUserDetails:d,saveStatus:i.updateStatus.fetchState,jeAccruedSchedule:i.selectedJEAccruedSchedule,localData:i.scheduleAccruedDetailsLocalData.jeScheduleDetails[m]})]}):null})},Rt=e=>{const a=Gn.dateFormat.analytics.YYYYDashMMDashDDFormat;return{scheduleCreateDate:e.createTime.format(a)??null,scheduleMonthlyAmount:e.recurringAmount??null,startingBalance:e.otherAttributes.startingBalance??null,scheduleAccountCategory:e.jeCredit.account?.accountName??null,description:e.memo,runningBalance:e.balanceAsOfToday??null,currentBalance:e.balanceAsOfToday??null,currentStatus:e.status.label,period:e.period??null,startMonth:e.startDate?.format(a)??null,endMonth:e.endDate?.format(a)??null}},Yn=(e,a,s)=>{const t=e.selectedJEAccruedSchedule,n=e.selectedJELinkRowIndex;let o;n!=null&&t!=null&&(o=t.scheduledJournalEntry[n]);const{transactions:c}=e.linkBillExpenseView,r=c.some(m=>m.isRecommendedTransaction===!0),h=ye(s.controllers),i=Ee(s.controllerUserIds);t!=null&&F.trackScheduleAccruedDetailsJournalEntryLinkedLoaded({scheduleType:a,schedule:{...Rt(t)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{wasRecommendationAvailable:r,journalEntryPostingStatus:o?.status.label??""},vendorName:t.vendor.name??null,controllerEmails:h,controllerUserIds:i})},Kn=M.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{a7 as L,P as N,V as r,bn as P,I as d,M,bo as R,C as x,bp as z,o as n,O as _,a as E,bq as A,l as O,br as H,bs as C,b6 as q,e as j,au as v,bt as U}from"./index-BocbTmE1.js";import{a as l}from"./sentry-DINNQYpi.js";import{n as t}from"./mui-C_CXevf3.js";import{bs as W}from"./zeni-epic-state-a7Sj5mjO.js";import{A as X,Z as k}from"./AccountLockedInfoModal-c30P9O_3-DzDiXoV7.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./handshake-BPg58FML-Cw8-rpU_.js";import"./unlock-BPWn2I5L-fA9hPtxv.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]="ced879bd-3599-4d81-a45f-481c6bfe89ef",e._sentryDebugIdIdentifier="sentry-dbid-ced879bd-3599-4d81-a45f-481c6bfe89ef")}catch{}})();const Z=e=>{if(!e)return"";try{const i=H(e);if(!i){const s=e.replace(/\D/g,"");if(s.length>=4){const c=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${c}`}return C(e)||e}return`+${i.countryCallingCode} (•••) ••• ${i.nationalNumber.slice(-4)}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},o=_.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f="otpInputField",Oe=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,s]=l.useState(!1),[c,w]=l.useState(!1),[g,F]=l.useState(0),[$,D]=l.useState(120),[h,S]=l.useState(30),I=L(e.verifyOtpFetchState),m=N({mode:"all",reValidateMode:"onChange",defaultValues:{[f]:""}}),y=m.watch(f),T=o.footerHelperText.replace(/<button_text>/,o.verify);return l.useEffect(()=>{I==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(s(!0),F(a=>a+1),m.setValue(f,""))},[I,e.verifyOtpFetchState,m]),l.useEffect(()=>{if($<=0)return void w(!0);const a=setInterval(()=>{D(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[$]),l.useEffect(()=>{if(h<=0)return;const a=setInterval(()=>{S(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[h]),r.jsx(P,{open:!0,children:r.jsxs(B,{children:[r.jsx(d,{controller:g>2,children:r.jsx(X,{unlockDate:W().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:g<=2,children:r.jsx(M,{...m,children:r.jsxs(ce,{children:[r.jsxs(se,{children:[r.jsx(G,{children:o.verifyDeviceTitle}),r.jsx(J,{children:o.verifyDeviceDescription}),r.jsxs(Q,{children:[e.phoneNumber!=null&&r.jsx(K,{children:Z(e.phoneNumber+"")}),r.jsx(R,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(fe,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(ue,{})})]})]}),r.jsxs(Y,{children:[r.jsx(z,{value:y,valueLength:6,hasError:c===!0||p===!0,style:{margin:n.sp0},onChange:a=>{m.setValue(f,a),s(!1)}}),r.jsx(d,{controller:c===!1,children:r.jsx(V,{children:r.jsxs(de,{children:[o.codeExpiresIn," ",(b=$,`${Math.floor(b/60)}:${(b%60).toString().padStart(2,"0")}`)]})})}),r.jsx(d,{controller:c===!0,children:r.jsx(V,{children:r.jsx(pe,{children:o.codeExpired})})})]}),p===!0&&c===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:g>=1,children:r.jsx(ee,{children:o.incorrectCode})}),r.jsx(d,{controller:g===2,children:r.jsx(he,{children:r.jsxs(x,{children:[r.jsx(me,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(re,{children:[r.jsx(te,{children:o.codeNotReceived}),r.jsx(oe,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),s(!1),w(!1),m.setValue(f,""),D(120),S(30))},children:o.resend}),h>0&&r.jsxs(ne,{children:[_.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ae,{children:[r.jsxs(ie,{children:[r.jsx(E,{label:o.cancel,onClick:()=>{e.onCancelVerifyDevice()},style:{width:82}}),r.jsx(E,{variant:"primary",label:o.verify,onClick:()=>{y.trim().length===6&&e.onVerifyOtp(y)},style:{width:82},loading:i,disabled:y.trim().length!==6||c===!0})]}),r.jsx(le,{children:T})]})]})})})]})});var b},B=t.div`
1
+ import{a7 as L,P as N,V as r,bn as P,I as d,M,bo as R,C as x,bp as z,o as n,O as _,a as E,bq as A,l as O,br as H,bs as C,b6 as q,e as j,au as v,bt as U}from"./index-DBW4633P.js";import{a as l}from"./sentry-DINNQYpi.js";import{n as t}from"./mui-C_CXevf3.js";import{bs as W}from"./zeni-epic-state-a7Sj5mjO.js";import{A as X,Z as k}from"./AccountLockedInfoModal-c30P9O_3-7xneSCwL.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./handshake-BPg58FML-Cw8-rpU_.js";import"./unlock-BPWn2I5L-fA9hPtxv.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]="ced879bd-3599-4d81-a45f-481c6bfe89ef",e._sentryDebugIdIdentifier="sentry-dbid-ced879bd-3599-4d81-a45f-481c6bfe89ef")}catch{}})();const Z=e=>{if(!e)return"";try{const i=H(e);if(!i){const s=e.replace(/\D/g,"");if(s.length>=4){const c=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${c}`}return C(e)||e}return`+${i.countryCallingCode} (•••) ••• ${i.nationalNumber.slice(-4)}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},o=_.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f="otpInputField",Oe=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,s]=l.useState(!1),[c,w]=l.useState(!1),[g,F]=l.useState(0),[$,D]=l.useState(120),[h,S]=l.useState(30),I=L(e.verifyOtpFetchState),m=N({mode:"all",reValidateMode:"onChange",defaultValues:{[f]:""}}),y=m.watch(f),T=o.footerHelperText.replace(/<button_text>/,o.verify);return l.useEffect(()=>{I==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(s(!0),F(a=>a+1),m.setValue(f,""))},[I,e.verifyOtpFetchState,m]),l.useEffect(()=>{if($<=0)return void w(!0);const a=setInterval(()=>{D(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[$]),l.useEffect(()=>{if(h<=0)return;const a=setInterval(()=>{S(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[h]),r.jsx(P,{open:!0,children:r.jsxs(B,{children:[r.jsx(d,{controller:g>2,children:r.jsx(X,{unlockDate:W().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:g<=2,children:r.jsx(M,{...m,children:r.jsxs(ce,{children:[r.jsxs(se,{children:[r.jsx(G,{children:o.verifyDeviceTitle}),r.jsx(J,{children:o.verifyDeviceDescription}),r.jsxs(Q,{children:[e.phoneNumber!=null&&r.jsx(K,{children:Z(e.phoneNumber+"")}),r.jsx(R,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(fe,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(ue,{})})]})]}),r.jsxs(Y,{children:[r.jsx(z,{value:y,valueLength:6,hasError:c===!0||p===!0,style:{margin:n.sp0},onChange:a=>{m.setValue(f,a),s(!1)}}),r.jsx(d,{controller:c===!1,children:r.jsx(V,{children:r.jsxs(de,{children:[o.codeExpiresIn," ",(b=$,`${Math.floor(b/60)}:${(b%60).toString().padStart(2,"0")}`)]})})}),r.jsx(d,{controller:c===!0,children:r.jsx(V,{children:r.jsx(pe,{children:o.codeExpired})})})]}),p===!0&&c===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:g>=1,children:r.jsx(ee,{children:o.incorrectCode})}),r.jsx(d,{controller:g===2,children:r.jsx(he,{children:r.jsxs(x,{children:[r.jsx(me,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(re,{children:[r.jsx(te,{children:o.codeNotReceived}),r.jsx(oe,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),s(!1),w(!1),m.setValue(f,""),D(120),S(30))},children:o.resend}),h>0&&r.jsxs(ne,{children:[_.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ae,{children:[r.jsxs(ie,{children:[r.jsx(E,{label:o.cancel,onClick:()=>{e.onCancelVerifyDevice()},style:{width:82}}),r.jsx(E,{variant:"primary",label:o.verify,onClick:()=>{y.trim().length===6&&e.onVerifyOtp(y)},style:{width:82},loading:i,disabled:y.trim().length!==6||c===!0})]}),r.jsx(le,{children:T})]})]})})})]})});var b},B=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${"256px"};
@@ -1,4 +1,4 @@
1
- import{X as F,V as o,i as B,e as k}from"./index-BocbTmE1.js";import{a as e}from"./sentry-DINNQYpi.js";import{n,k as S}from"./mui-C_CXevf3.js";import{r as j}from"./core-5sxMy3sZ.js";import{s as x}from"./media-player-BX2lrCiw.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="74d4684c-72a6-406d-a7ad-9636a5c01d09",t._sentryDebugIdIdentifier="sentry-dbid-74d4684c-72a6-406d-a7ad-9636a5c01d09")}catch{}})();const A=t=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("g",{filter:"url(#filter0_f_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),e.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),e.createElement("g",{filter:"url(#filter1_d_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),e.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),e.createElement("g",{clipPath:"url(#clip0_251_38441)"},e.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),e.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:4}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),e.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("clipPath",{id:"clip0_251_38441"},e.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function R({src:t,autoPlay:i=!0,config:c,controls:m=!0,height:_="100%",isModalOpen:r,loop:u=!1,muted:h=!1,showPlayButton:d=!1,style:w,thumbnail:s,width:b="100%",onEnded:v,onModalClose:E,onPlay:g}){const p=F(),[a,l]=e.useState(!1);e.useEffect(()=>{r===!0&&i?l(!0):r===!1&&l(!1)},[r,i]);const f={};c?.youtube&&(f.youtube=c.youtube);const C=()=>{l(!1),v?.(),r!=null&&E?.()},y=()=>{l(!0),g?.()};return r!=null?r?j.createPortal(o.jsx(O,{windowSize:p,role:"presentation",children:o.jsx(B,{onClickAway:()=>{l(!1),E?.()},children:o.jsx(P,{windowSize:p,"data-testid":"video-player-modal",children:o.jsxs(z,{children:[d&&!a&&o.jsxs(o.Fragment,{children:[s!=null&&s!==""&&o.jsx(G,{src:s,alt:"Video thumbnail"}),o.jsx(U,{onClick:()=>{l(!0),g?.()},children:o.jsx(D,{windowSize:p})})]}),(!d||a)&&o.jsx(x,{src:t,playing:a,controls:m,muted:h,loop:u,width:"100%",height:"100%",onEnded:C,onPlay:y,config:f})]})})})}),document.body):null:o.jsx(x,{src:t,playing:a,controls:m,muted:h,loop:u,width:b,height:_,style:w,light:!(!d||a)&&(s??!0),onEnded:C,onPlay:y,config:f})}const I=S`
1
+ import{X as F,V as o,i as B,e as k}from"./index-DBW4633P.js";import{a as e}from"./sentry-DINNQYpi.js";import{n,k as S}from"./mui-C_CXevf3.js";import{r as j}from"./core-5sxMy3sZ.js";import{s as x}from"./media-player-BX2lrCiw.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="74d4684c-72a6-406d-a7ad-9636a5c01d09",t._sentryDebugIdIdentifier="sentry-dbid-74d4684c-72a6-406d-a7ad-9636a5c01d09")}catch{}})();const A=t=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("g",{filter:"url(#filter0_f_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),e.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),e.createElement("g",{filter:"url(#filter1_d_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),e.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),e.createElement("g",{clipPath:"url(#clip0_251_38441)"},e.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),e.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:4}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),e.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("clipPath",{id:"clip0_251_38441"},e.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function R({src:t,autoPlay:i=!0,config:c,controls:m=!0,height:_="100%",isModalOpen:r,loop:u=!1,muted:h=!1,showPlayButton:d=!1,style:w,thumbnail:s,width:b="100%",onEnded:v,onModalClose:E,onPlay:g}){const p=F(),[a,l]=e.useState(!1);e.useEffect(()=>{r===!0&&i?l(!0):r===!1&&l(!1)},[r,i]);const f={};c?.youtube&&(f.youtube=c.youtube);const C=()=>{l(!1),v?.(),r!=null&&E?.()},y=()=>{l(!0),g?.()};return r!=null?r?j.createPortal(o.jsx(O,{windowSize:p,role:"presentation",children:o.jsx(B,{onClickAway:()=>{l(!1),E?.()},children:o.jsx(P,{windowSize:p,"data-testid":"video-player-modal",children:o.jsxs(z,{children:[d&&!a&&o.jsxs(o.Fragment,{children:[s!=null&&s!==""&&o.jsx(G,{src:s,alt:"Video thumbnail"}),o.jsx(U,{onClick:()=>{l(!0),g?.()},children:o.jsx(D,{windowSize:p})})]}),(!d||a)&&o.jsx(x,{src:t,playing:a,controls:m,muted:h,loop:u,width:"100%",height:"100%",onEnded:C,onPlay:y,config:f})]})})})}),document.body):null:o.jsx(x,{src:t,playing:a,controls:m,muted:h,loop:u,width:b,height:_,style:w,light:!(!d||a)&&(s??!0),onEnded:C,onPlay:y,config:f})}const I=S`
2
2
  0% {
3
3
  transform: rotate(0deg);
4
4
  }
@@ -1,4 +1,4 @@
1
- import{X as s,V as t,i as a,E as l,e as c,o as n,x as o}from"./index-BocbTmE1.js";import{n as d}from"./mui-C_CXevf3.js";import{N as f}from"./VideoPlayer-DxIfGrPu-C3cW7OOT.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]="595d489f-d65d-48ad-b63f-28d470fca51c",e._sentryDebugIdIdentifier="sentry-dbid-595d489f-d65d-48ad-b63f-28d470fca51c")}catch{}})();const r={width:new o(300,770,770),height:new o(195,500,500)},h=d.div`
1
+ import{X as s,V as t,i as a,E as l,e as c,o as n,x as o}from"./index-DBW4633P.js";import{n as d}from"./mui-C_CXevf3.js";import{N as f}from"./VideoPlayer-DxIfGrPu-CxZJ5OEW.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]="595d489f-d65d-48ad-b63f-28d470fca51c",e._sentryDebugIdIdentifier="sentry-dbid-595d489f-d65d-48ad-b63f-28d470fca51c")}catch{}})();const r={width:new o(300,770,770),height:new o(195,500,500)},h=d.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{j as o}from"./liveblocks-BsQBjN-0.js";import{a as f}from"./sentry-DINNQYpi.js";import{o as m,i as h,u as b,N as y}from"./core-5sxMy3sZ.js";import{HC as I,cu as w,vQ as j}from"./zeni-epic-state-a7Sj5mjO.js";import{ju as l,jS as S,e as x,jV as v}from"./index-BocbTmE1.js";import{n as c}from"./mui-C_CXevf3.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="deeface2-d6de-46e7-b85b-a45c5b265c04",e._sentryDebugIdIdentifier="sentry-dbid-deeface2-d6de-46e7-b85b-a45c5b265c04")}catch{}})();const W=()=>{const[e]=m(),t=e.get("code")??"",s=e.get("state")??"",g=e.get("profileId")??"",[n,p]=f.useState(!1),a=h(),i=b(u=>I(u)),r=l.getSignedInUser(),d=l.getSignedInUserTenantWithId(s);if(r==null||d==null)return o.jsx(y,{to:"/signin/auth",replace:!0});if(r==null)throw Error("Can't access this page without signing in...");return w(r.userId,r.zeniSessionId,d?.tenantId),f.useEffect(()=>{n||(p(!0),a(j(t,g,s)))},[n,a]),i.fetchState==="Error"?o.jsx(D,{children:o.jsx(E,{children:i.error?.message??""})}):(i.fetchState==="Completed"&&window.close(),o.jsx(S,{fetchState:"In-Progress"}))},D=c.div`
1
+ import{j as o}from"./liveblocks-BsQBjN-0.js";import{a as f}from"./sentry-DINNQYpi.js";import{o as m,i as h,u as b,N as y}from"./core-5sxMy3sZ.js";import{HC as I,cu as w,vQ as j}from"./zeni-epic-state-a7Sj5mjO.js";import{ju as l,jS as S,e as x,jV as v}from"./index-DBW4633P.js";import{n as c}from"./mui-C_CXevf3.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="deeface2-d6de-46e7-b85b-a45c5b265c04",e._sentryDebugIdIdentifier="sentry-dbid-deeface2-d6de-46e7-b85b-a45c5b265c04")}catch{}})();const W=()=>{const[e]=m(),t=e.get("code")??"",s=e.get("state")??"",g=e.get("profileId")??"",[n,p]=f.useState(!1),a=h(),i=b(u=>I(u)),r=l.getSignedInUser(),d=l.getSignedInUserTenantWithId(s);if(r==null||d==null)return o.jsx(y,{to:"/signin/auth",replace:!0});if(r==null)throw Error("Can't access this page without signing in...");return w(r.userId,r.zeniSessionId,d?.tenantId),f.useEffect(()=>{n||(p(!0),a(j(t,g,s)))},[n,a]),i.fetchState==="Error"?o.jsx(D,{children:o.jsx(E,{children:i.error?.message??""})}):(i.fetchState==="Completed"&&window.close(),o.jsx(S,{fetchState:"In-Progress"}))},D=c.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{v as ye,V as t,di as Oe,P as Re,X as M,m as We,ba as Ge,dl as Ye,y as be,a7 as Ve,a5 as L,bo as N,o,a_ as _e,w as S,bR as F,bS as J,bT as X,M as Fe,d_ as Je,e as b,e5 as Xe,E as D,L as fe,be as Ke,x as f,C as j,O as H,b6 as Ze,cU as qe,bd as Qe,ab as et,j as h,gr as tt,eY as ce,l as oe,ar as ot,aj as at,g$ as it,n as nt,h0 as lt,aA as rt,gv as ct,cw as st,H as dt,N as pt,bH as ht}from"./index-BocbTmE1.js";import{a as n}from"./sentry-DINNQYpi.js";import{n as a}from"./mui-C_CXevf3.js";import{Gp as mt,bG as K}from"./zeni-epic-state-a7Sj5mjO.js";import{$ as ut}from"./BoxItem-B06DK4G--C4opawya.js";import{w as xt}from"./downloadPdf-BI2Y41h2-C3b-r1N_.js";import{Y as gt}from"./DepositAccTransactionItem-YuSXjbLh-DkrFIYaS.js";import{J as yt}from"./ZeniAccountNavBarPieces-CjRip0v9-Bv00yUCA.js";import{t as bt}from"./bank-letter-BOcVjN6J-B3HKnrvN.js";import{R as ft,J as $t,C as wt,X as jt,Y as Ct,B as kt,K as vt}from"./recharts-CTWfsY-L.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.js";import"./commonDimensions-CGHIQ2To-BVJ-7SGP.js";import"./MoreMenuButton-Ct8k8Oax-C0IXgNiJ.js";import"./spend-limit-D6SyboD4-05QrBanM.js";import"./dollar-round-D18u7nlm-BAPPb_YV.js";import"./money-2cg1MuG4-C1UnGCa2.js";import"./page-summary-D7_VQHwN-BBMfUdRp.js";import"./transaction-placeholder-CpOwZAMG-kO6lyet9.js";import"./unlock-BPWn2I5L-fA9hPtxv.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]="74d88d2a-805c-4833-8c80-c3194bb796ef",e._sentryDebugIdIdentifier="sentry-dbid-74d88d2a-805c-4833-8c80-c3194bb796ef")}catch{}})();const Dt=a.div`
1
+ import{v as ye,V as t,di as Oe,P as Re,X as M,m as We,ba as Ge,dl as Ye,y as be,a7 as Ve,a5 as L,bo as N,o,a_ as _e,w as S,bR as F,bS as J,bT as X,M as Fe,d_ as Je,e as b,e5 as Xe,E as D,L as fe,be as Ke,x as f,C as j,O as H,b6 as Ze,cU as qe,bd as Qe,ab as et,j as h,gr as tt,eY as ce,l as oe,ar as ot,aj as at,g$ as it,n as nt,h0 as lt,aA as rt,gv as ct,cw as st,H as dt,N as pt,bH as ht}from"./index-DBW4633P.js";import{a as n}from"./sentry-DINNQYpi.js";import{n as a}from"./mui-C_CXevf3.js";import{Gp as mt,bG as K}from"./zeni-epic-state-a7Sj5mjO.js";import{$ as ut}from"./BoxItem-B06DK4G--DWbBsOKU.js";import{w as xt}from"./downloadPdf-BI2Y41h2-Bu4K6jWB.js";import{Y as gt}from"./DepositAccTransactionItem-YuSXjbLh-B9DRqaZc.js";import{J as yt}from"./ZeniAccountNavBarPieces-CjRip0v9-x_CaXaVR.js";import{t as bt}from"./bank-letter-BOcVjN6J-B3HKnrvN.js";import{R as ft,J as $t,C as wt,X as jt,Y as Ct,B as kt,K as vt}from"./recharts-CTWfsY-L.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.js";import"./commonDimensions-CGHIQ2To-BnULbNsl.js";import"./MoreMenuButton-Ct8k8Oax-Jl7RdYoC.js";import"./spend-limit-D6SyboD4-05QrBanM.js";import"./dollar-round-D18u7nlm-BAPPb_YV.js";import"./money-2cg1MuG4-C1UnGCa2.js";import"./page-summary-D7_VQHwN-BBMfUdRp.js";import"./transaction-placeholder-CpOwZAMG-kO6lyet9.js";import"./unlock-BPWn2I5L-fA9hPtxv.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]="74d88d2a-805c-4833-8c80-c3194bb796ef",e._sentryDebugIdIdentifier="sentry-dbid-74d88d2a-805c-4833-8c80-c3194bb796ef")}catch{}})();const Dt=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;