@zeniai/web-cockpit-ui 1.14.3-qa → 1.14.4-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/dist/assets/{ACHDetailsPage-IlicpbsX-CIp9n46M.js → ACHDetailsPage-DuaBM5pi-Bsfl4ipB.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Cg8pnJ1F-CtPPPJRA.js → AIPerformancePage-DNJZld4y-DlnQ624v.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Bo4f6WXu-BabowD88.js → AccountInfoPage-B26iFpUV-COrK5vYd.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CgyoqeY7-BWwklb7h.js → AccountInfoPageContent-D52iIQne-B4z2FhUp.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-X4XAlKXA-1nGPfaAo.js → AccountReconDetailsDrawerPage-CB9vTHCy-kDgz9xNb.js} +1 -1
  6. package/dist/assets/{AccountRow-CmtPvQJV-T7-zfCpt.js → AccountRow-BtJsms16-atISEBaH.js} +1 -1
  7. package/dist/assets/{AccountsPromoCardStack-DSiki31T-DPfnCPYV.js → AccountsPromoCardStack-DxkEUAyX-C6Idipth.js} +1 -1
  8. package/dist/assets/{AddAddressForCardDrawer-BPlI1vyY-C2MFOZho.js → AddAddressForCardDrawer-nrwPhSQ7-BL7-bGEF.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-D33swzes-CC2O_WyX.js → AddToWalletPage-U3xQJ0ga-Dcd-0jyv.js} +1 -1
  10. package/dist/assets/{AgingReportsPage-fmZS9DwN-DcoL4nWy.js → AgingReportsPage-C-XPC3Ye-rYvlunDJ.js} +1 -1
  11. package/dist/assets/{AllUserItems-Ah7nd-Zu-i2A0gNkU.js → AllUserItems-D9bUKynh-BFnDPP1t.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-BXFmj8CM-B2ArjfiG.js → ApAgingDetailPage-Ct-dl0QP-DXgQdgKD.js} +1 -1
  13. package/dist/assets/{AppBasePage-A25scWRX-CPv3y2P1.js → AppBasePage-DR85cYP5-CKd2IfUf.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-DDwmivCK-CXedu8pz.js → AppDrawerContent-CEALC8UE-BILKJ-kK.js} +1 -1
  15. package/dist/assets/{ApprovalRulesSettingsPage-CKtm-n4R-DABFOC1v.js → ApprovalRulesSettingsPage-OEXjss85-tD_Jhzeu.js} +1 -1
  16. package/dist/assets/{ArAgingChart-0NSve898-D70FTJak.js → ArAgingChart-CU6nYJDL-CM4ji1yR.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-2P188mhw-CDoWZU2c.js → ArAgingDetailPage-SlPH0ZP_-B2JfdfGL.js} +1 -1
  18. package/dist/assets/{AttachmentView-C4mcX4Zi-BC2RVpg1.js → AttachmentView-B_a5fakI-p04obxYu.js} +1 -1
  19. package/dist/assets/{BankAccountSection-3-6tRy48-TS10UTbU.js → BankAccountSection-CHFSoKtQ-CqSlxhlX.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-DiVd7shS-D-QbVmqB.js → BankAccountWarningSection-BEPUwZxt-C_LY2V1e.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-DORa-BJl-C5zwWcbv.js → BankConnectionsSettingsPage-RqqXRKg2-DAiCkGb4.js} +1 -1
  22. package/dist/assets/{BillDetailPage-CntHvNW--Cf2IFww1.js → BillDetailPage-Cri2O4fW-C0ZK-tRn.js} +1 -1
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-B2xSwMW8-CkAWmuaE.js → BillPayApprovalRuleDetailPage-CflhMC1k-DSH7D8uO.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-D3zs2AXf-u2Q9vnEw.js → BillPayApprovalRulesPage-B3w9pJTA-orF7dUvE.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-CuRyMElO-T_xD6FvT.js → BillPayPromoPage-DK2kXArZ-BqGVG9s8.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-l5cRtorO-Dwn-Hkh9.js → BillPaySetUpPage-C3pMQJHf-8nsMcIJV.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-CX5yCTyc-C9CjkS3j.js → BillingSettingsPage-B3Z4o1Ju-DzUjBP3P.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-hbvOVMQk-CpH-Sutm.js → BillsBulkReviewDrawerPage-DRFjIKgb-CMXz0HSw.js} +1 -1
  29. package/dist/assets/{BoxItem-D3QYSB_0-C9x18gKc.js → BoxItem-CCvSsuyr-BBXHe_fK.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-BqA2qWYz-DK_rOsw6.js → BusinessVerificationPage-HAKln9TW-BSV3Qs6U.js} +1 -1
  31. package/dist/assets/{CardNumberSubText-DbBXFWnu-jNimgAa6.js → CardNumberSubText-BN0HQsC5-CWEnH6iY.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-DmWiLgGr-B-9mUZXA.js → CashbackDetailPage-CWMrI6N5-BxS-Dkms.js} +1 -1
  33. package/dist/assets/{ChargeCardDetailPage-CWsbYZI_-oB5QSppR.js → ChargeCardDetailPage-C7i4P8xn-B3JRdCZ3.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-7OVFjrMz-PjQ4mw5J.js → ChargeCardListPage-rjBPLgqe-BpTrAAxV.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-BHhRhMRt-ByBPFlaU.js → ChargeCardListTable-DZky8Lwh-DgWmlfmu.js} +1 -1
  36. package/dist/assets/{ChargeCardPromoPage-Bz3R_LIK-CxlOOJTr.js → ChargeCardPromoPage-BEzLSyck-BrFXUjQo.js} +1 -1
  37. package/dist/assets/{ChargeCardSetupPage-Cd8IdYSm-B2_y6_A4.js → ChargeCardSetupPage-6yjkxRan-BdrXiky8.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-64aocTjB-B0INJkXO.js → ChargeCardStatementsPage-DbW7AzXa-DYLtBdX7.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-C9viDXeo-DVhXdLg_.js → ChargeCardUtils-KGLTWfKZ-CRECzEnA.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-CIiRuAKM-gfU5B4mN.js → ChaseOverlay-ZotQ5CpW-RSeyMejc.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DjKaXOhO-BIzC_3EL.js → CheckDepositDrawerPage-DmxBu2PA-BnBD1jJD.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-NkWEC75c-DZw2wCrM.js → CollapsableReportTable-CFXAvolG-CQrO1G35.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-ELXdYttn-D3OWHSbL.js → CompanyOfficerDetailsSection-BvZ8RVfx-DY2fXGl1.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-C9oh6f6c-DivctqTX.js → CompanyPassportCard-DoaxcZ7_-Dlt7qVWw.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-DqwIHSwq-DY6ClqfF.js → CompanyPassportPage-DQvFR_RP-2b-NpySm.js} +1 -1
  46. package/dist/assets/{CompleteProfile-BIlg3hln-CQE7_U8m.js → CompleteProfile-Bx56Tens-Bp6BKQMJ.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-DTCsF6tY-Dm8lwDdj.js → ConfettiBurst-DnYSdE1w-C_kRgLNS.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-eK7muw60-DPSx_AOT.js → CreateOrEditVendorPage-DHxKxmOq-6AZoO2-8.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-C5y6Qeh2-C1_FvIxP.js → CreditCardPaymentDrawerPage-C46M2-tK-CyO0OcFI.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-BfHK2O6G-Di_HgTUk.js → CreditCardPaymentPlgSection-DNMXEbs0-CN_Z_iqU.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-Cq-8I5M7-DKoUyolN.js → CurrencySelectField-V5pEFFIR-DxCFsYXe.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-C9-hMQWD-D00HhmKZ.js → CustomerOnboardingActivationPage-T-V2eiKa-BzwOahLR.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-DGD2vqOH-Dk1W0Xxd.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CTWkmWXm-J1a7Usib.js → CustomerOnboardingDetailPageSkeleton-BSE7KmYp-DMJVvdjg.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CMsvHUPO-BQU8tRQp.js → CustomerOnboardingNoStepsPage-BukqpZ8B-g9Ys8rck.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-CUUtm6Cl-rIeaL_6G.js → CustomerOnboardingPage-8A2Z3y9v-CQUPonbG.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-pN8y9rAE-Cv5tSLNs.js → CustomerOnboardingProductSuitePage-Dpr8oJNi-BITYzDSc.js} +1 -1
  58. package/dist/assets/{Dashboard-xlal4qqq-DsnGEsUU.js → Dashboard-P0yPNp-4-BauQYqj7.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-CBhxD-B4-CZL3NMVe.js → DashboardReportPage-Bkx6FmDQ-DrOh2ion.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-B2nnVYf9-BvElR6n1.js → DepositAccTransactionItem-Cx08KL0D-NXPGi5St.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-C8rgdc0N-ciM5dUPK.js → DepositAccTransactionListPage-BDExP7eh-C9s7xFTm.js} +1 -1
  62. package/dist/assets/{DocumentSecurityBanner-D-c2msUb-C6TSxjZE.js → DocumentSecurityBanner-omOUa698-BgeIyoJ0.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-racBIxWu-MPFFLVJB.js → DomesticWireDetailsPage-_6h8wT5x-Cjkkj6Kq.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-Cvo4oa42-CaXawzKt.js → DownloadOverlay-DPU0VkUu-BD-J-Z9x.js} +1 -1
  65. package/dist/assets/{DrawerPage-ChV5Xh-2-BUaUfKLp.js → DrawerPage-CWKR8Rw5-D35RUrwO.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-CMtniu66-DAL3H0Zg.js → EditPeoplePage-DZaNNyln-Dni-Dy0I.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-Bx4frTSg-DQzrmFcP.js → EditReimbursementDetailPage-CcGcN8w2-DnTWFBTS.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-CZSlVlVM-C8lsQlxT.js → EntityDetailPage-D3LRtQ3C-D1SrxFEt.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-BVcKIen2-DEeP-_X9.js → EntitySummarySection-BWdoghlh-BqXiq7Ak.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BWGtpYKA-_uIDeM_s.js → ExpenseAutomationOverviewPage-mO5gwQc_-CBD5LQwd.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-PAOsfgJ8-dEK7lDQN.js → ExpenseAutomationPage-DMvlc3hY-CmUekSgZ.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-CwQ5ge-1-CrPScI-k.js → ExpressPayPage-CqqA3yus-GSO-aktT.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-BFHtMaGo-CY4_e4Vn.js → FeaturePreviewPage-DFhnoUW--PEMTGy87.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-d9o0CLQV-CEaEmlgK.js → FollowStepsSection-B788Zc2c-BIRdmDst.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-DDVOPoeM--w5AjyxH.js → GlobalReviewListPage-Dj4hMBFz-BrGnmruD.js} +1 -1
  76. package/dist/assets/{HelpButton-Cms9G_Fp-Dv8NpLNt.js → HelpButton-BDMRH4As-BAeJZ0ZL.js} +1 -1
  77. package/dist/assets/{InformationCardStack--nHJ7Vje-D3ejdc7h.js → InformationCardStack-Ba4PzwbG-BR5xH1h_.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-DogY3RH--CV6EWQ9U.js → InsightsCardStack-4ht4YZWA-BvYBsgG3.js} +1 -1
  79. package/dist/assets/{InsightsSection-BFSU6XTB-DShtd7Ph.js → InsightsSection-0LvR4mZQ-BXvcA3NA.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-CH8yZ1rE-Dxex2JXN.js → IntegrationsSettingsPage-6BJsk-Zu-DYYmlYHf.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-5xZXSwfn-xmLfBznf.js → InternationalWireSwiftDetailsPage-DhOLruXZ-fb8Y8SzP.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-CYE3BuMX-Bk_Ln32T.js → InternationalWireVerificationPage-Dd_gqrju-CkA6_WG9.js} +1 -1
  83. package/dist/assets/{InviteFormPage-CpSZgL3C-BTUAYVlY.js → InviteFormPage-C4UNR9b6-Dbmt2iqv.js} +1 -1
  84. package/dist/assets/{InvitePageListView-CxWgQb_H-GOtzg5oj.js → InvitePageListView-Byp3MA_v-C63JZukW.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-D2dxkMSc-Dc_CJpfu.js → InvitePeoplePage-BiKieQDe-B-mgQ55x.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-CesF-8aw-B0bWXDV1.js → InvoiceUploadSection-DZL57cJT-Cpi14hxt.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-BHoqeA-T-DaiHFfsv.js → IssueChargeCardPage-BtPK5cNg-f0oqEWZi.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-BzK11ds6-CcvV09fi.js → LabeledAddressValue-BSIB8Qf_-CWkXGolG.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-DCYUeYio-BzNzAQJG.js → LabeledAddressValueField-B42nS3_A-CeldxyTV.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-uBDSnSo1-C1YC1O4P.js → LabeledControlledCheckBoxField-C4A2B6vg-Dc5c0RMY.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DCazn6yx-D-PdItfW.js → LabeledCreatableSingleSelectField-CBDrFWBx-BkSLhEXT.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-Cip0e83a-B6dChm-x.js → LabeledDocumentField-C_-ej9Ow-nTysT8e3.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-BEG28_NH-1ks7eJ38.js → LabeledDropDownFormattedTextField-Cwc0pxm3-DK64hUnP.js} +1 -1
  94. package/dist/assets/{LabeledText-CuwxNLlP-D6m96ynk.js → LabeledText-3TJmm0tF-Ddjx7_cN.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BST69Rvq-wHmY1H-T.js → LabeledUserSingleSelectWithSubtitlesField-BeKUbkvn-BMIMFh_y.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CsBQ5HAf-Cqdgzvlx.js → LabeledZeniRolesDropDownField-Y4xH8vGm-PgpTQQCH.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-Dqx2CF7d-B1D69m-1.js → LinkJETransactionPage-Dx5YK4tN-Dya16_iS.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-B7YSf5nh-C3BwvcCy.js → LowBalancePopup-BEQHyRLg-BWnlcStV.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-Onv3TsOp-BLwhta2f.js → MagicLinkACHDetailsPage-CAfhLmSb-CMNOXNUE.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-DyQ47uYn-Iopnjj--.js → MagicLinkDomesticWireDetailsPage-Bmk401kR-C2rBEYlP.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C-AvrrYI-BFQWfPM4.js → MagicLinkInternationalWireDetailsPage-sEXYjLgT-CpYYWmdQ.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-BSHuvzHb-HQ3_pmwV.js → MagicLinkSuccessPage-BJ8DC1kk-CN-ehDSa.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-C7oqHWqv-BNwwIiLY.js → MagicLinkTitleSection-DT1byqwI-DnGCC5VX.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-Cl8HeSLQ-TMINMIFS.js → MailingDetailsSection-iqN9dgmJ-g8n62IAD.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-Crufcivq-W90Cv2mM.js → MeetingCalenderPopup-Ck4DBnLb-CpWe-W42.js} +1 -1
  106. package/dist/assets/{Menu-Bxgksma7-aEZRIsJG.js → Menu-DdDY0xYV-BEvu9l3u.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-CP2msF1X-DmYnpCDE.js → MyBankConnectionsSettingsPage-BssdQbZt-Ds86Lwyb.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-BycRkfNQ-BALMz5fy.js → MyPendingActivationChargeCardListPage-Bk15K6aY-BqVCghWS.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-RuUJD6J4-BG125bzv.js → MyProfileSettingsPage-DXBK98XL-D5oWdQ5y.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-JELo6Q4S-BR5cDCuU.js → NavBarWithPicker-CiTE0-y8-CPt98nkB.js} +1 -1
  111. package/dist/assets/{NavigationArrow-CFSP9IjV-DnL3g903.js → NavigationArrow-DSUT4aub-bld7hpTo.js} +1 -1
  112. package/dist/assets/{NavigationDots-GHAOWiXe-CRiA2FQo.js → NavigationDots-BjzeF34D-DIvAMSYi.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-DwEjytGo-CkxpwxN2.js → NewGlobalMerchantPage-Y5YIhEkg-D5RIN3qo.js} +1 -1
  114. package/dist/assets/{NoDataChart-CwAwvz9y-CzhHYB7A.js → NoDataChart-3HE6nhZn-KnvhULUo.js} +1 -1
  115. package/dist/assets/{NoDataTable-BAMPdDP7-D8D-7nU1.js → NoDataTable-BTw1BmAf-D-xHUU6S.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CaEcM3_c-C-7il59U.js → NotFoundPage-tRMR7UW4-B7lUiNIg.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-Bam34Xpg-KkPBDWTj.js → NotificationSettingsPage-CQqmntm6-B8_yJBxG.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-B68mFIbn-CQuTe_QJ.js → NotificationsListConfig-Dm1G55mu-Cc65HnmX.js} +1 -1
  119. package/dist/assets/{NotificationsPage-C5ordrdT-CdxsD243.js → NotificationsPage-Asdeuaqq-DMOj6G-9.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-DY3NOyYr-B3VPbQg2.js → OpExByVendorPage-BLq8Ctj1-DHO-2zH3.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-GWXnlbZH-DSNfvDV7.js → OverlayContainerPage-GWXnlbZH-vRusHYvy.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-BX6aj5Y6-BV-yGtkx.js → PandLWithForecastPage-DwJKEUDv-5-npUXfm.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-f5qsN-3Y-i7KzCiTe.js → PaymentAccountSetupBillingAddressSection-wujd9fIw-BUpA-nlO.js} +1 -1
  124. package/dist/assets/{PeoplePage-BkXdO_eN-ROIkQ9N2.js → PeoplePage-DPfCZF1U-ih22mCnT.js} +1 -1
  125. package/dist/assets/{PortfolioAllocationFormPage-C_lmPeC9-BhOSuS0f.js → PortfolioAllocationFormPage-D9mZATtO-Cu--vkc1.js} +4 -4
  126. package/dist/assets/PortfolioDetails-Cgq2JdwS-B0wDIzGK.js +218 -0
  127. package/dist/assets/{ProductsCarousel-BP9cI12D-DAhAtplX.js → ProductsCarousel-B77mX5vy-BuRkFwev.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-6W04d7zP-onuAHZ2Y.js → PromoBaseCards-D-19cOmP-CKnOOHiw.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-DjT-h910-GewQlvc4.js → QBOConnectionDialog-Afsdvgkl-Dnac_hvL.js} +1 -1
  130. package/dist/assets/{QBOSetupSection-DXfY8nFt-DSDmrl1V.js → QBOSetupSection-CIINq6G--Cnu25hcY.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-I93XcmAv-CdIOX0Jv.js → ReimbursementApprovalRuleDetailPage-BauwtxXL-DtvNXa98.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-D8mME0QI-Czpvp077.js → ReimbursementApprovalRulesPage-CJ_7q2S5-b-A-IkdZ.js} +1 -1
  133. package/dist/assets/{ReimbursementDetailPage-CsqyYapD-JsyiFfVu.js → ReimbursementDetailPage-BfA-gWiV-Bz1PmPly.js} +1 -1
  134. package/dist/assets/{ReimbursementPromoPage-CjjAZH_R-BGC4qyXm.js → ReimbursementPromoPage-BugyRgus-DwYL_lE_.js} +1 -1
  135. package/dist/assets/{ReimbursementSetUpPage-CmENGPDd-00uhbZuu.js → ReimbursementSetUpPage-U56eB_bc-DGWsmH4h.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DodlV376-NIv34nlG.js → ReimbursementsBulkReviewDrawerPage-BF7-BQrP-DrY6-0C1.js} +1 -1
  137. package/dist/assets/{ReloadCard-DCswXdRU-DtBNy5fj.js → ReloadCard-CUwDcZ5d-BVApZyZw.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-CuJjacY9-tUM2kE0S.js → ReportTableViewSelector-DPZiNtOP-DD38m_51.js} +1 -1
  139. package/dist/assets/{ReportsPage-BS1znKom-Bv0qC36S.js → ReportsPage-DG2RyIza-BvPfPFTp.js} +1 -1
  140. package/dist/assets/{RevenueChart-QYZoX_2o-O8bUzT6B.js → RevenueChart-DV12hQwS-s1trcTd0.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-DlcjxoKl-D-5l0Jk8.js → ReviewDetailsPage-C2qnZOx_-C9QZtDTi.js} +1 -1
  142. package/dist/assets/{ReviewOverlay-qo1v9-E4-BYDTspq1.js → ReviewOverlay-B0us5qds-CxXUYzRM.js} +1 -1
  143. package/dist/assets/{RoleWithToolTip-7IBT7PpV-D6Bj65qK.js → RoleWithToolTip-KqICk9kG-DmYDkHVn.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-kz4Xwcye-HXBFq5zd.js → ScheduleDetailsFixedAssetsPage-C6OEABHj-BQN5vgw0.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsPage-guEjspG5-DBUGwfI6.js → ScheduleDetailsPage-CrzvMwbJ-CP5_7ojA.js} +1 -1
  146. package/dist/assets/{ScheduleSequenceTable-4Yc3ZRdp-3UM-CU09.js → ScheduleSequenceTable-BUDWyViz-9AsBg7Zc.js} +1 -1
  147. package/dist/assets/{ScreenRoutes-BNDJL6N8.js → ScreenRoutes-DUKbex1c.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-BlokopoC-Bop-jr7-.js → SetUpAccountSection-Imz6rw6K-DioSxUN3.js} +1 -1
  149. package/dist/assets/{SetUpDefaultSection-CjXLrIH0-BjiqSN9Y.js → SetUpDefaultSection-bAd0d4qo-PUApdyLc.js} +1 -1
  150. package/dist/assets/{SignIn-B4sJUaDd-BaHB37hV.js → SignIn-C1k0afjs-BsJ29JBx.js} +1 -1
  151. package/dist/assets/{SignInScreen-CJ7zegaW.js → SignInScreen-Dia63Br4.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-LA2GQyOi-KDvcAm1D.js → SpendManagementListViewPage-CvjkWB-_-SMCEdzKT.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-BSV94PVx-D97pS7UH.js → SpendManagementPerTabPage-DYq_U4nN-Bt3zwfrs.js} +1 -1
  154. package/dist/assets/{SpendManagementSection-D5lkkIVU-B83SRI-L.js → SpendManagementSection-CHBLAXiF-_awyWpSH.js} +1 -1
  155. package/dist/assets/{SpendMgmtSetupAccountSection-B2F0oKk_-Dweq8O9R.js → SpendMgmtSetupAccountSection-C7lpDD5w-_yXLXZJi.js} +1 -1
  156. package/dist/assets/{StatementItem-CfkMZIbO-CJkbQsZc.js → StatementItem-ClfyhiJC-DBO5FYei.js} +1 -1
  157. package/dist/assets/{StatementsPage-DmbLst4p-BMwE15Me.js → StatementsPage-BLtMccZw-DwxygkeE.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-BQK9o7R4-DOr32zYh.js → StatusSwitcher-DrlUYFAO-CEIbzGSQ.js} +1 -1
  159. package/dist/assets/{SubTabSwitcher-DWeDSFKx-BRV1s6BY.js → SubTabSwitcher-Dyq1x5SP-GVBqxQwY.js} +1 -1
  160. package/dist/assets/{SummaryCard-egnXlcLU-BTAigjea.js → SummaryCard-CzHp89o2-CnJxg-nf.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-CMRKQ-Ko-DgSysLtq.js → TaskManagementPage-V4Jb53tv-BJIV-q4a.js} +1 -1
  162. package/dist/assets/{TimeRangeSwitcher-OxjJ576j-BfsPu4wi.js → TimeRangeSwitcher-BxJX9ASF-CIlk1Ow0.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcher-DrC9bvMo-D0iWUVmI.js → TimeframeSwitcher-C5xMAnLt-DSHjKIW6.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-C7fCh8tl-BWbS8tru.js → TimeframeSwitcherWithToggle-DMX6o1BS-CjA07rpv.js} +1 -1
  165. package/dist/assets/{TopExCard-wnzLjnaP-DPI8NuqX.js → TopExCard-D6jvucRB-CrTEQZYn.js} +1 -1
  166. package/dist/assets/{TopExDetailPage-BbKGbGU5-DrQnp4xT.js → TopExDetailPage-QpVoLtzq-iFCHXke5.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-DztoB9X4-Bf2YsL4j.js → TransactionDetailPage-3aDWdlUB-B0XsE2gb.js} +1 -1
  168. package/dist/assets/{TransactionList-DmEyc2C4-2LmzZp0a.js → TransactionList-k8YmeJcr-MUQoIUD6.js} +1 -1
  169. package/dist/assets/{TransactionListBig-BK_J4i4g-LxNbi2i2.js → TransactionListBig-vTaTpmta-Cq5jSX6I.js} +1 -1
  170. package/dist/assets/{TransactionListPage-Ca55hjDg-E9NGV6V2.js → TransactionListPage-CYnJEUFj-DqrWZiop.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-7_O3STPw-QlwvCBgP.js → TransactionVendorDetailPage-BdGJYzkn-BavW_ppw.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-CvCsaIq--BwoULVBZ.js → TransferDrawerPage-JhER6Fzb-D43akvxL.js} +1 -1
  173. package/dist/assets/{TreasuryOverviewPage-DIKQKR_u-Boz7_UBI.js → TreasuryOverviewPage-etZMI5qq-DiD9U0db.js} +1 -1
  174. package/dist/assets/{TreasuryPromoPage-BpgRih0--DkzJfX8X.js → TreasuryPromoPage-DMQCUGTI-B2n7b1DJ.js} +1 -1
  175. package/dist/assets/{TreasurySetupPage-CZ1BTHXX-CHCJxM9O.js → TreasurySetupPage-CLLUfgvc-EYd9wl82.js} +1 -1
  176. package/dist/assets/{TreasuryStatementsPage-DgoatXf4-CZ_Wpkc-.js → TreasuryStatementsPage-CbJuuQJf-Y3IHssMy.js} +1 -1
  177. package/dist/assets/{TreasuryTaxLetterPage-DZsnsmnk-CvMt_sqj.js → TreasuryTaxLetterPage-CNZRB1JA-xJYaD87a.js} +1 -1
  178. package/dist/assets/{TreasuryTransferOrReviewPage-BFRIDROn-OgdMzbux.js → TreasuryTransferOrReviewPage-_KQow8xx-83MqpleX.js} +76 -76
  179. package/dist/assets/{TrendChart-BfsNpqPF-BgEax26m.js → TrendChart-DgcS2Qi8-DiEt2rLi.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-CcmSvqVJ-Ct2mISKB.js → TrendWithTransactions-BV5_3PZZ-BJ-il-PK.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-LqkF-E1i-rBHDJi6E.js → UncategorizedAccountsMappingPage-Bsm7bAwr-CUxNTAzV.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage-uA8jq1yR-B6L-CUsT.js → UnitIntegrationPage-ChuaH8ac-67iZtJui.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-N0bSxafO-CcK85smH.js → UploadAdditionalDocumentOverlay-Bz_n0Pn3-CI7EeNcG.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-e-xRW6rn-BVJB6GSQ.js → Vendor2FAPopup-R19bkGMS-BNz9_Z6D.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-Cca7Gf4u-DC2Z_rY2.js → VendorACHDetailsPage-C_RgFepi-k1b3Hisb.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-Bk_NbpIs-BhLwvvDk.js → VendorDetailPage-uA1hH2Jz-DSdoHVu-.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-BI35k3uH-B4S0GcWn.js → VendorDomesticWireDetailsPage-9tAj_M02-D-y5y0QJ.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-Cr3OoQa1-Bj31nHn_.js → VendorFiling1099EditablePage-DG0cllTw-tqIqoC2I.js} +1 -1
  189. package/dist/assets/{VendorFirstReviewPage-O82qXI11-BmA5fiVn.js → VendorFirstReviewPage-Bt-yNa1d-CeKmMJ9w.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireDetailsPage-a5jqRn0i-CjYbN30q.js → VendorInternationalWireDetailsPage-CgI4LQyI-CnHBKCEY.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CR3nUSIG-y8BSmCa9.js → VendorInternationalWireSwiftDetailsPage-BrMTSUIo-DlQUEivq.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-DUUy43AG-DDhNQEQj.js → VendorsAccountsSection-WaX0Qe7x-zY81ntXq.js} +1 -1
  193. package/dist/assets/{WarningsDrawerPage-ANVg-uR9-D0szyCOh.js → WarningsDrawerPage-Cafo6rCY-Co-TDult.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-DuaoV3nD-Tejdg43i.js → ZeniAccountDetailPage-B7wC3QXT-DjGEfIBK.js} +1 -1
  195. package/dist/assets/{ZeniAccountListViewPage-DJoQlRuS-0v75K9Tz.js → ZeniAccountListViewPage-pAoiX5t8-DOYCD6Jl.js} +1 -1
  196. package/dist/assets/{ZeniAccountNavBarPieces-DciiSI3f-DdOi_CFw.js → ZeniAccountNavBarPieces-DK__bQjs-Cwwi7p69.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-C4TGOls6-CuyT7Co5.js → ZeniAccountPromoPage-DI4EDGF1-Dm33SaFx.js} +1 -1
  198. package/dist/assets/{ZeniAccountSetupPage-CvIAyaFj-Y__elh2o.js → ZeniAccountSetupPage-C7Sl8Kvq-BAfFQNWK.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-9rssOaZJ-CV0roKXf.js → ZeniCopyright-Clbu-tZt-BzfKJCS4.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-0yTtw1XU-BFy78o6-.js → ZeniTransferAmountSlider-CF39KlIc-BCG0SSs3.js} +1 -1
  201. package/dist/assets/{analyticsHelper-BLAu2yM--4MNx61WQ.js → analyticsHelper-BF4C5cfp-CH2DxjTE.js} +1 -1
  202. package/dist/assets/{analyticsHelper-BN526rzC.js → analyticsHelper-DsnuBBTs.js} +1 -1
  203. package/dist/assets/{chartTypes-Br4XSz7W-CqUwzZOS.js → chartTypes-BuFzxmL_-B2IChMB8.js} +1 -1
  204. package/dist/assets/{commonDimensions-DYyjzo8L-Qs3s6l0G.js → commonDimensions-DNp72kDa-Cicm30TI.js} +1 -1
  205. package/dist/assets/{detailCommon-CXtdUvH5-BxRn2hSj.js → detailCommon-ClngFipo-C59qs-Xf.js} +1 -1
  206. package/dist/assets/{downloadPdf-Ceik9x1F-D8Bsv6jW.js → downloadPdf-CvBnJ3dy-Cd8LdAT0.js} +1 -1
  207. package/dist/assets/{index-4pBF5Sdt.js → index-1Afae-x7.js} +5 -5
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-CTk8G3Gw--JO1-eAU.js → mapLoadingInProgressToTreeNode-_i8eyx1f-er3yaSsO.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DSfitd4--NHfTySFt.js → mapSectionWithAcOnlyToTreeNode-CG5X_Lif-C_NtY9qL.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-NDmnO3-w-Cc1vt0E0.js → mapSpacerToTreeNode-C58mhpiy-Byst5W8N.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-CCDxZE7U-BewQyMpE.js → mapTimeframeBalancesToTreeNode-By8Tp-Gv-owcstXxo.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-DxbCC6c3-BAVNQs6t.js → mapTimeframeBalancesToTreeNode-oCLMU9SF-PWyybgFN.js} +1 -1
  213. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-nb9z_DUI-Be0Hp7lE.js → mapTimeframeHeaderLoadingInProgressToTreeNode-GuK79d7h-CJh54W1Z.js} +1 -1
  214. package/dist/assets/{play-icon-CUEtOPwa-DLyEAfVi.js → play-icon-CIcjP313-CSSPDV3d.js} +1 -1
  215. package/dist/assets/{toCOABalancesWithID-BuGHg1ur-BdY3n1XR.js → toCOABalancesWithID-C-bTJwi8-NxSrtpOt.js} +1 -1
  216. package/dist/assets/{toChartData-C5QlPh1F-BSGx6jN0.js → toChartData-Cy5VqMOG-C5DMk1vW.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-D1HNtoAk-5WW2qfzw.js → treasuryColorHelper-DAviLn_P-C2Dhk4Qd.js} +1 -1
  218. package/dist/assets/{uploadAttachment-zGYCP5sV-DEZy8HjP.js → uploadAttachment-Xl-SHr7p-Ro9goyXY.js} +1 -1
  219. package/dist/assets/{uploadReceipts-D80JLNY4-DUW52nGK.js → uploadReceipts-D80JLNY4-DxXv1Yav.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +4 -4
  222. package/dist/assets/CustomerOnboardingContainerPage-BVOEIC7A-DDv8b4KC.js +0 -1
  223. package/dist/assets/PortfolioDetails-BvN3T8NL-CCXqHdhh.js +0 -218
@@ -1,4 +1,4 @@
1
- import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3 as He,o as t,C as f,a2 as Ce,k as $t,al as bt,u as St,a1 as pe,bs as vt,cO as Je,Q as R,l as z,fX as jt,g as S,Z as At,h as et,v as Y,s as X,eX as kt,a as Tt,c3 as Pt,F as Ct,fD as zt,m as c,bm as tt,cW as ot,bH as rt,cz as Dt,cq as Lt,f7 as Ft,e$ as Mt,d2 as Rt,e as Bt,f0 as Ot,dp as It,bY as Et,bX as _t,aP as Nt,bc as Vt,f9 as Wt,fi as Yt,aa as Xt}from"./index-4pBF5Sdt.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{U as nt}from"./PortfolioDetails-BvN3T8NL-CCXqHdhh.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-D1HNtoAk-5WW2qfzw.js";const Ut=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],qt=1e3;function Gt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(Jt,{sliderValue:s,children:[o.jsx(Ht,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:qt,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Kt(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Zt(i)},children:o.jsx(ro,{isSelected:s>=h,children:Qt(h)})},h))})]})}const Kt=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${Ut.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Zt=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Qt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Ht=r.input`
1
+ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,c as Qe,a3 as He,o as t,C as f,a2 as Ce,k as $t,al as bt,u as St,a1 as pe,bs as vt,cO as Je,Q as R,l as z,fX as jt,g as S,Z as At,h as et,v as W,s as X,eX as kt,a as Tt,c3 as Pt,F as Ct,fD as zt,m as c,bm as tt,cW as ot,bH as rt,cz as Dt,cq as Lt,f7 as Ft,e$ as Mt,d2 as Rt,e as Bt,f0 as Ot,dp as It,bY as Et,bX as _t,aP as Nt,bc as Vt,f9 as Yt,fi as Wt,aa as Xt}from"./index-1Afae-x7.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{E as nt}from"./PortfolioDetails-Cgq2JdwS-B0wDIzGK.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-DAviLn_P-C2Dhk4Qd.js";const Gt=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Ut=1e3;function qt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(Jt,{sliderValue:s,children:[o.jsx(Ht,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:Ut,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Kt(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Zt(i)},children:o.jsx(ro,{isSelected:s>=h,children:Qt(h)})},h))})]})}const Kt=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${Gt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Zt=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Qt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Ht=r.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -46,10 +46,10 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
46
46
  position: absolute;
47
47
  cursor: pointer;
48
48
  transform: translateX(-50%);
49
- `,ro=r(Y)`
49
+ `,ro=r(W)`
50
50
  color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.grey1};
51
51
  white-space: nowrap;
52
- `,no=r(Y)`
52
+ `,no=r(W)`
53
53
  position: absolute;
54
54
  top: -${t.sp5};
55
55
  white-space: nowrap;
@@ -60,15 +60,15 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
60
60
  justify-content: center;
61
61
  align-items: center;
62
62
  padding: 2px ${t.sp2};
63
- `,G={navBarContainerPaddingXaxis:new f(10,19),containerPaddingLeft:new f(c[3],c[6],c[8]),containerPaddingRight:new f(c[3],c[6],c[8]),reviewContentWrapperPaddingBottom:new f(c[5],c[8]),elementsContainerPadding:new f(c[3],c[4])},Te={pageTitle:new R("h6Regular","h5Regular"),integerStyles:new R("h5Regular","h2Regular"),decimalStyles:new R("extraLargeMedium","h5Medium")},{common:{edit:io},dateFormat:{visual:{DMMMYYYYFormat:ao}},spendManagement:{treasury:{transferDrawer:E},billPay:{insufficientFunds:{lowBalance:so,addOrSwitchInitiateTransfer:lo,lowBalanceIn:co}}}}=we.getLocalizedStrings(),uo=({fromAccount:e,themeContext:a,toAccount:u,transferDetails:n})=>{const d=ge();if(d==="small"){const s=wo(e,u,n.treasuryAccount.id);return o.jsxs(o.Fragment,{children:[o.jsxs(ce,{style:s.topAccount?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:s.topAccountLabel}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,s.topAccount?.id??"",!0,s.topAccount?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[s.topAccount?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,s.topAccount?.id??"",!0,!0,!0)})]})]}),ie(s.topAccount,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]}),s.arrowDirection==="up"?o.jsx(Xo,{}):o.jsx(Uo,{}),o.jsxs(ce,{style:s.bottomAccount?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:s.bottomAccountLabel}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,s.bottomAccount?.id??"",!0,s.bottomAccount?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[s.bottomAccount?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,s.bottomAccount?.id??"",!0,!1,!0)})]})]}),ie(s.bottomAccount,n.treasuryAccount.id,d,!0)?o.jsx(ue,{}):null]})]})}else return o.jsxs(o.Fragment,{children:[o.jsxs(ce,{style:e?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:"Transfer Funds From"}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,e?.id??"",!0,e?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[e?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,e?.id??"",!0,!0,!0)})]})]}),ie(e,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]}),o.jsx(Yo,{}),o.jsxs(ce,{style:u?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:"To"}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,u?.id??"",!0,u?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[u?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,u?.id??"",!0,!1,!0)})]})]}),ie(u,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]})]})},po=(e,a,u)=>{if(!e)return!0;if(e.id===a.id){const n=a.balance;return n?z.checkIfLowBalance(u,n):!0}if("accountBalance"in e){const n=e.accountBalance?.available;return n==null?!1:z.checkIfLowBalance(u,n)}return!1},ho=({transferDetails:e,fundDetails:a,portfolioAllocation:u,setShowReviewContent:n,onTransferClick:d,onCancelClick:s})=>{const m=ge(),x=St(),v=pe(e.fetchState),[h,i]=w.useState(!1);w.useEffect(()=>{v==="In-Progress"&&e.fetchState==="Error"&&e.error!=null?i(!0):i(!1)},[e.error]);const{fromAccount:$,toAccount:T,amount:A}=e.treasuryTransferMoneyLocalData,p=po($,e.treasuryAccount,A);return o.jsxs(o.Fragment,{children:[o.jsxs(ko,{windowSize:m,children:[o.jsx(Lo,{windowSize:m,children:o.jsx(vt,{title:"Close",enterTouchDelay:600,placement:"bottom",children:o.jsx(Ee,{"data-testid":P("nav-bar-close-transfer-review"),onClick:s})})}),o.jsx(Fo,{windowSize:m,children:E.reviewAndConfirm}),o.jsx(Vo,{windowSize:m,children:o.jsx(Je,{amount:A,alwaysShowDecimal:!0,integerStyles:Te.integerStyles.styleObject(m),decimalStyles:Te.decimalStyles.styleObject(m)})}),o.jsx(zo,{}),o.jsx(Wo,{children:o.jsxs(o.Fragment,{children:[E.review.prefix,`"${T?.label}" `,E.success.midfix,` "${$?.label}" `,E.review.suffix.replace("__date__",z.zeniDate(z.getNextNthWorkingDay(z.dateNow().toDate(),[0,6],1).toDateString()).format(ao))]})}),p?o.jsx(jt,{variant:"low-balance",style:{marginTop:t.sp3,marginBottom:t.sp3},title:co.replace("__account__",$?.id===e.treasuryAccount.id?$?.label??"":`${$?.label??""} ${$?.maskedAccountNumber??""}`),description:lo}):null,h?o.jsx(Ao,{children:o.jsxs(bo,{children:[o.jsxs(To,{children:[o.jsx(Co,{}),o.jsxs(So,{children:[o.jsx(vo,{children:e.error?.title}),o.jsx(jo,{children:e.error?.message})]})]}),o.jsx(Po,{children:o.jsx(Ee,{"data-testid":P("close-error-transfer-review"),onClick:()=>{i(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,o.jsx(Do,{windowSize:m,children:o.jsxs(xo,{windowSize:m,children:[o.jsx(yo,{windowSize:m,children:o.jsx(uo,{fromAccount:$,themeContext:x,toAccount:T,transferDetails:e})}),o.jsx($o,{children:o.jsx(nt,{isInReview:!0,isSetup:!1,fundDetails:a,allocation:u,amount:fo(e),fundAllocations:go(e),page:"transfer review"})})]})})]}),o.jsx(He,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:E.review.footNote,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:io,onClick:()=>{i(!1),n(!1)},style:{minWidth:94}},primaryBtn:{label:E.transferBtn,onClick:d,isLoading:e.fetchState==="In-Progress",isDisabled:p,style:{minWidth:94}}})]})},N=(e,a,u,n,d)=>{if(n===!0)return o.jsx(_e,{isOptionSelected:u,isForReview:d,children:o.jsx(Ne,{color:S.brandColorGoldDark})});if(a==="")return o.jsx(No,{isForReview:d,children:o.jsx(Lt,{})});const s=e.find(x=>x.id===a),m=e.findIndex(x=>x.id===a);if(s!=null){if(s.accType==="depositAccount")return o.jsx(_e,{isOptionSelected:u,isForReview:d,children:o.jsx(Ne,{color:Ft(m)})});if(s.accType==="paymentAccount")return s.logo!==void 0&&(s.logo.base64||s.logo.url)?o.jsx(Io,{src:mo(s.logo),isOptionSelected:u,isForReview:d,loading:"lazy"}):o.jsx(Eo,{isOptionSelected:u,isForReview:d,children:o.jsx(_o,{})})}return null},V=(e,a,u,n,d,s,m)=>{if(!u)return null;if(u===a.id)return(s||!n)&&a.balance?o.jsx(ve,{children:W("0,0[.]00",a.balance)}):null;const x=e.find(h=>h.id===u);let v=!1;return d===!0&&m!=null&&x?.accountBalance?.available?.amount!=null&&(v=z.checkIfLowBalance(m,x.accountBalance.available)),n===!0&&!s?o.jsx(Ro,{children:x?.maskedAccountNumber}):o.jsxs(Mo,{className:"option-sublabel",children:[o.jsx(ve,{children:x?.maskedAccountNumber}),x?.accountBalance?.available?o.jsx(Oo,{className:"dot"}):null,x?.accountBalance?.available?o.jsxs(ve,{children:[W("0,0[.]00",x.accountBalance.available),v?o.jsx(Bo,{children:so}):null]}):null,x?.balanceFetchStatus?.fetchState==="In-Progress"?o.jsx(Qe,{size:"Small",start:!0}):null]})},mo=e=>e.base64!==void 0?`${Mt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",fo=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id!==e.treasuryAccount.id)return e.treasuryTransferMoneyLocalData.amount},go=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id===e.treasuryAccount.id)return e.treasuryAccount.fundAllocations},wo=(e,a,u)=>e?.id===u?{topAccount:a,bottomAccount:e,topAccountLabel:"To",bottomAccountLabel:"Transfer Funds From",arrowDirection:"up"}:{topAccount:e,bottomAccount:a,topAccountLabel:"Transfer Funds From",bottomAccountLabel:"To",arrowDirection:"down"},ie=(e,a,u,n)=>u==="small"?e?.id===a&&n:e?.id===a,ae=r.div`
63
+ `,q={navBarContainerPaddingXaxis:new f(10,19),containerPaddingLeft:new f(c[3],c[6],c[8]),containerPaddingRight:new f(c[3],c[6],c[8]),reviewContentWrapperPaddingBottom:new f(c[5],c[8]),elementsContainerPadding:new f(c[3],c[4])},Te={pageTitle:new R("h6Regular","h5Regular"),integerStyles:new R("h5Regular","h2Regular"),decimalStyles:new R("extraLargeMedium","h5Medium")},{common:{edit:io},dateFormat:{visual:{DMMMYYYYFormat:ao}},spendManagement:{treasury:{transferDrawer:E},billPay:{insufficientFunds:{lowBalance:so,addOrSwitchInitiateTransfer:lo,lowBalanceIn:co}}}}=we.getLocalizedStrings(),uo=({fromAccount:e,themeContext:a,toAccount:u,transferDetails:n})=>{const d=ge();if(d==="small"){const s=go(e,u,n.treasuryAccount.id);return o.jsxs(o.Fragment,{children:[o.jsxs(ce,{style:s.topAccount?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:s.topAccountLabel}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,s.topAccount?.id??"",!0,s.topAccount?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[s.topAccount?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,s.topAccount?.id??"",!0,!0,!0)})]})]}),ie(s.topAccount,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]}),s.arrowDirection==="up"?o.jsx(Wo,{}):o.jsx(Xo,{}),o.jsxs(ce,{style:s.bottomAccount?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:s.bottomAccountLabel}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,s.bottomAccount?.id??"",!0,s.bottomAccount?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[s.bottomAccount?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,s.bottomAccount?.id??"",!0,!1,!0)})]})]}),ie(s.bottomAccount,n.treasuryAccount.id,d,!0)?o.jsx(ue,{}):null]})]})}else return o.jsxs(o.Fragment,{children:[o.jsxs(ce,{style:e?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:"Transfer Funds From"}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,e?.id??"",!0,e?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[e?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,e?.id??"",!0,!0,!0)})]})]}),ie(e,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]}),o.jsx(Yo,{}),o.jsxs(ce,{style:u?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:"To"}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,u?.id??"",!0,u?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[u?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,u?.id??"",!0,!1,!0)})]})]}),ie(u,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]})]})},po=(e,a,u)=>{if(!e)return!0;if(e.id===a.id){const n=a.balance;return n?z.checkIfLowBalance(u,n):!0}if("accountBalance"in e){const n=e.accountBalance?.available;return n==null?!1:z.checkIfLowBalance(u,n)}return!1},ho=({transferDetails:e,fundDetails:a,portfolioAllocation:u,setShowReviewContent:n,onTransferClick:d,onCancelClick:s})=>{const m=ge(),x=St(),v=pe(e.fetchState),[h,i]=w.useState(!1);w.useEffect(()=>{v==="In-Progress"&&e.fetchState==="Error"&&e.error!=null?i(!0):i(!1)},[e.error]);const{fromAccount:$,toAccount:T,amount:A}=e.treasuryTransferMoneyLocalData,p=po($,e.treasuryAccount,A);return o.jsxs(o.Fragment,{children:[o.jsxs(Ao,{windowSize:m,children:[o.jsx(Do,{windowSize:m,children:o.jsx(vt,{title:"Close",enterTouchDelay:600,placement:"bottom",children:o.jsx(Ee,{"data-testid":P("nav-bar-close-transfer-review"),onClick:s})})}),o.jsx(Lo,{windowSize:m,children:E.reviewAndConfirm}),o.jsx(No,{windowSize:m,children:o.jsx(Je,{amount:A,alwaysShowDecimal:!0,integerStyles:Te.integerStyles.styleObject(m),decimalStyles:Te.decimalStyles.styleObject(m)})}),o.jsx(Co,{}),o.jsx(Vo,{children:o.jsxs(o.Fragment,{children:[E.review.prefix,`"${T?.label}" `,E.success.midfix,` "${$?.label}" `,E.review.suffix.replace("__date__",z.zeniDate(z.getNextNthWorkingDay(z.dateNow().toDate(),[0,6],1).toDateString()).format(ao))]})}),p?o.jsx(jt,{variant:"low-balance",style:{marginTop:t.sp3,marginBottom:t.sp3},title:co.replace("__account__",$?.id===e.treasuryAccount.id?$?.label??"":`${$?.label??""} ${$?.maskedAccountNumber??""}`),description:lo}):null,h?o.jsx(jo,{children:o.jsxs($o,{children:[o.jsxs(ko,{children:[o.jsx(Po,{}),o.jsxs(bo,{children:[o.jsx(So,{children:e.error?.title}),o.jsx(vo,{children:e.error?.message})]})]}),o.jsx(To,{children:o.jsx(Ee,{"data-testid":P("close-error-transfer-review"),onClick:()=>{i(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,o.jsx(zo,{windowSize:m,children:o.jsxs(wo,{windowSize:m,children:[o.jsx(xo,{windowSize:m,children:o.jsx(uo,{fromAccount:$,themeContext:x,toAccount:T,transferDetails:e})}),o.jsx(yo,{children:o.jsx(nt,{isInReview:!0,isSetup:!1,fundDetails:a,allocation:u,amount:fo(e),page:"transfer review"})})]})})]}),o.jsx(He,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:E.review.footNote,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:io,onClick:()=>{i(!1),n(!1)},style:{minWidth:94}},primaryBtn:{label:E.transferBtn,onClick:d,isLoading:e.fetchState==="In-Progress",isDisabled:p,style:{minWidth:94}}})]})},N=(e,a,u,n,d)=>{if(n===!0)return o.jsx(_e,{isOptionSelected:u,isForReview:d,children:o.jsx(Ne,{color:S.brandColorGoldDark})});if(a==="")return o.jsx(_o,{isForReview:d,children:o.jsx(Lt,{})});const s=e.find(x=>x.id===a),m=e.findIndex(x=>x.id===a);if(s!=null){if(s.accType==="depositAccount")return o.jsx(_e,{isOptionSelected:u,isForReview:d,children:o.jsx(Ne,{color:Ft(m)})});if(s.accType==="paymentAccount")return s.logo!==void 0&&(s.logo.base64||s.logo.url)?o.jsx(Oo,{src:mo(s.logo),isOptionSelected:u,isForReview:d,loading:"lazy"}):o.jsx(Io,{isOptionSelected:u,isForReview:d,children:o.jsx(Eo,{})})}return null},V=(e,a,u,n,d,s,m)=>{if(!u)return null;if(u===a.id)return(s||!n)&&a.balance?o.jsx(ve,{children:Y("0,0[.]00",a.balance)}):null;const x=e.find(h=>h.id===u);let v=!1;return d===!0&&m!=null&&x?.accountBalance?.available?.amount!=null&&(v=z.checkIfLowBalance(m,x.accountBalance.available)),n===!0&&!s?o.jsx(Mo,{children:x?.maskedAccountNumber}):o.jsxs(Fo,{className:"option-sublabel",children:[o.jsx(ve,{children:x?.maskedAccountNumber}),x?.accountBalance?.available?o.jsx(Bo,{className:"dot"}):null,x?.accountBalance?.available?o.jsxs(ve,{children:[Y("0,0[.]00",x.accountBalance.available),v?o.jsx(Ro,{children:so}):null]}):null,x?.balanceFetchStatus?.fetchState==="In-Progress"?o.jsx(Qe,{size:"Small",start:!0}):null]})},mo=e=>e.base64!==void 0?`${Mt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",fo=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id!==e.treasuryAccount.id)return e.treasuryTransferMoneyLocalData.amount},go=(e,a,u)=>e?.id===u?{topAccount:a,bottomAccount:e,topAccountLabel:"To",bottomAccountLabel:"Transfer Funds From",arrowDirection:"up"}:{topAccount:e,bottomAccount:a,topAccountLabel:"Transfer Funds From",bottomAccountLabel:"To",arrowDirection:"down"},ie=(e,a,u,n)=>u==="small"?e?.id===a&&n:e?.id===a,ae=r.div`
64
64
  display: flex;
65
65
  flex-direction: column;
66
- `,se=r(Y)`
66
+ `,se=r(W)`
67
67
  color: ${e=>e.theme.colors.hero};
68
68
  `,le=r(X)`
69
69
  display: flex;
70
70
  align-items: center;
71
- `,xo=r.div`
71
+ `,wo=r.div`
72
72
  display: flex;
73
73
  flex-direction: column;
74
74
  width: 100%;
@@ -76,12 +76,12 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
76
76
  border: 1px solid ${e=>e.theme.colors.grey3};
77
77
  box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
78
78
  border-radius: ${t.sp2};
79
- padding: ${e=>`${G.elementsContainerPadding.valuePx(e.windowSize)}`};
79
+ padding: ${e=>`${q.elementsContainerPadding.valuePx(e.windowSize)}`};
80
80
  gap: ${t.sp4};
81
81
  ${e=>e.windowSize==="small"&&`
82
82
  width: auto;
83
83
  `}
84
- `,yo=r.div`
84
+ `,xo=r.div`
85
85
  display: flex;
86
86
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
87
87
  justify-content: space-between;
@@ -97,27 +97,27 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
97
97
  border: 1px solid ${e=>e.theme.colors.grey3};
98
98
  border-radius: ${t.sp2};
99
99
  width: ${e=>e.windowSize==="small"?"auto":"288px"};
100
- `,$o=r.div`
100
+ `,yo=r.div`
101
101
  padding: ${t.sp2} ${t.sp3};
102
102
  background-color: ${e=>e.theme.colors.grey4};
103
103
  border: 1px solid ${e=>e.theme.colors.grey1};
104
104
  border-radius: ${t.sp2};
105
- `,bo=r.div`
105
+ `,$o=r.div`
106
106
  display: flex;
107
107
  width: 100%;
108
108
  justify-content: space-between;
109
109
  padding: ${t.sp3} ${t.sp4};
110
110
  background-color: ${S.importantLight};
111
111
  border-radius: ${t.sp2};
112
- `,So=r.div`
112
+ `,bo=r.div`
113
113
  display: flex;
114
114
  flex-direction: column;
115
115
  margin-left: ${t.sp2};
116
- `,vo=r(rt)`
116
+ `,So=r(rt)`
117
117
  color: ${S.important};
118
- `,jo=r(X)`
118
+ `,vo=r(X)`
119
119
  color: ${S.important};
120
- `,Ao=r.div`
120
+ `,jo=r.div`
121
121
  margin-top: ${t.sp3};
122
122
  display: flex;
123
123
  background-color: ${e=>e.theme.colors.grey5};
@@ -126,15 +126,15 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
126
126
  border: ${e=>`1px solid ${e.theme.colors.grey3}`};
127
127
  border-radius: ${t.sp2};
128
128
  box-shadow: ${e=>`${t.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
129
- `,ko=r.div`
129
+ `,Ao=r.div`
130
130
  height: auto;
131
- padding-left: ${e=>`${G.containerPaddingLeft.valuePx(e.windowSize)}`};
132
- padding-right: ${e=>`${G.containerPaddingRight.valuePx(e.windowSize)}`};
131
+ padding-left: ${e=>`${q.containerPaddingLeft.valuePx(e.windowSize)}`};
132
+ padding-right: ${e=>`${q.containerPaddingRight.valuePx(e.windowSize)}`};
133
133
  margin-bottom: auto;
134
- `,To=r.div`
134
+ `,ko=r.div`
135
135
  display: flex;
136
136
  align-items: flex-start;
137
- `,Po=r.div``,Co=r(ot)`
137
+ `,To=r.div``,Po=r(ot)`
138
138
  width: ${t.sp4};
139
139
  height: ${t.sp4};
140
140
  color: ${S.important};
@@ -147,65 +147,65 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
147
147
  &:hover {
148
148
  color: ${e=>e.theme.colors.primary};
149
149
  }
150
- `,zo=r.div`
150
+ `,Co=r.div`
151
151
  display: flex;
152
152
  flex: 1;
153
153
  background-color: ${e=>e.theme.colors.grey3};
154
154
  min-height: 1px;
155
155
  max-height: 1px;
156
- `,de=r(Y)`
156
+ `,de=r(W)`
157
157
  color: ${e=>e.theme.colors.hero};
158
- `,Do=r.div`
158
+ `,zo=r.div`
159
159
  display: flex;
160
160
  flex-direction: column;
161
161
  padding-top: ${t.sp3};
162
- padding-bottom: ${e=>`${G.reviewContentWrapperPaddingBottom.valuePx(e.windowSize)}`};
163
- `,Lo=r.div`
162
+ padding-bottom: ${e=>`${q.reviewContentWrapperPaddingBottom.valuePx(e.windowSize)}`};
163
+ `,Do=r.div`
164
164
  display: flex;
165
165
  flex-direction: row;
166
166
  justify-content: flex-end;
167
167
  align-items: center;
168
168
  width: 100%;
169
169
  top: ${t.sp0};
170
- padding: ${e=>`${G.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
170
+ padding: ${e=>`${q.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
171
171
  z-index: 2;
172
172
  background-color: transparent;
173
- `,Fo=r(et)`
173
+ `,Lo=r(et)`
174
174
  ${e=>`${Te.pageTitle.style(e.windowSize)}`};
175
175
  color: ${e=>e.theme.colors.primary};
176
176
  padding: ${t.sp3} ${t.sp0} ${t.sp2} ${t.sp0};
177
177
  ${e=>e.windowSize==="small"&&`
178
178
  padding-bottom: ${t.sp0};
179
179
  `}
180
- `,Mo=r(Y)`
180
+ `,Fo=r(W)`
181
181
  color: ${e=>e.theme.colors.hero};
182
182
  display: flex;
183
183
  flex-direction: row;
184
184
  align-items: center;
185
185
  gap: ${t.sp2};
186
- `,Ro=r.span`
186
+ `,Mo=r.span`
187
187
  margin-left: ${t.sp2};
188
- `,ve=r.div``,Bo=r(Vt)`
188
+ `,ve=r.div``,Ro=r(Vt)`
189
189
  color: ${e=>e.theme.colors.brandColorGoldDark};
190
190
  margin-left: ${t.sp1};
191
- `,Oo=r.div`
191
+ `,Bo=r.div`
192
192
  width: ${t.sp1};
193
193
  height: ${t.sp1};
194
194
  min-width: ${t.sp1};
195
195
  background-color: ${e=>e.theme.colors.grey1};
196
196
  border-radius: 50%;
197
- `,Io=r.img`
197
+ `,Oo=r.img`
198
198
  display: flex;
199
199
  width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
200
200
  height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
201
201
  min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
202
202
  margin-right: ${t.sp2};
203
- `,Eo=r.div`
203
+ `,Io=r.div`
204
204
  min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
205
205
  width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
206
206
  height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
207
207
  margin-right: ${t.sp2};
208
- `,_o=r(Yt)`
208
+ `,Eo=r(Wt)`
209
209
  min-width: inherit;
210
210
  width: inherit;
211
211
  height: inherit;
@@ -215,37 +215,37 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
215
215
  width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
216
216
  height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
217
217
  margin-right: ${t.sp2};
218
- `,Ne=r(Wt)`
218
+ `,Ne=r(Yt)`
219
219
  min-width: inherit;
220
220
  width: inherit;
221
221
  height: inherit;
222
222
  margin-right: ${t.sp2};
223
- `,No=r.div`
223
+ `,_o=r.div`
224
224
  width: ${e=>e.isForReview?t.sp6:t.sp4};
225
225
  height: ${e=>e.isForReview?t.sp6:t.sp4};
226
226
  margin-right: 12px;
227
227
  margin-left: ${t.sp1};
228
228
  color: ${e=>e.theme.colors.hero};
229
- `,Vo=r(tt)`
229
+ `,No=r(tt)`
230
230
  color: ${e=>e.theme.colors.primary};
231
231
  margin: ${t.sp2} ${t.sp0} ${t.sp3} ${t.sp0};
232
232
  ${e=>e.windowSize==="small"&&`
233
233
  margin-top: ${t.sp1};
234
234
  margin-bottom: ${t.sp1};
235
235
  `}
236
- `,Wo=r(X)`
236
+ `,Vo=r(X)`
237
237
  color: ${e=>e.theme.colors.hero};
238
238
  margin-top: ${t.sp3};
239
239
  `,Yo=r(Nt)`
240
240
  width: ${t.sp4};
241
241
  height: ${t.sp4};
242
242
  color: ${e=>e.theme.colors.hero};
243
- `,Xo=r(Et)`
243
+ `,Wo=r(Et)`
244
244
  width: ${t.sp4};
245
245
  height: ${t.sp4};
246
246
  color: ${e=>e.theme.colors.hero};
247
247
  align-self: center;
248
- `,Uo=r(_t)`
248
+ `,Xo=r(_t)`
249
249
  width: ${t.sp4};
250
250
  height: ${t.sp4};
251
251
  color: ${e=>e.theme.colors.hero};
@@ -257,7 +257,7 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
257
257
  position: absolute;
258
258
  right: 50%;
259
259
  bottom: -25px;
260
- `,{common:je,spendManagement:{treasury:M,zeniAccounts:{zeniAccountList:qo},billPay:{insufficientFunds:Ve}}}=we.getLocalizedStrings(),it="amount",Go="transferTo",Ko="transferFrom",_="transferDetails",at="transferDetailPage",Ae=(e,a)=>`${e}.${a}`,st=e=>`${e}_form`,g={largeLabelWidth:new f(120,120,160),labeleMarginLeft:new f(c[0],c[0]),labelMarginRight:new f(c[3],c[3]),labeleMarginBottom:new f(c[2],c[0]),labeledFieldPaddingLeft:new f(c[3],c[0]),labeledFieldPaddingRight:new f(c[3],c[2]),labeledFieldPaddingTop:new f(c[3],c[3]),labeledFieldPaddingBottom:new f(c[3],c[2]),infoLabelPaddingRight:new f(c[0],c[3]),infoLabelMarginTop:new f(c[1],c[0]),portfolioContainerPadding:new f(c[3],c[4]),rowContentSelectPaddingLeft:new f(c[3],c[4]),formFieldPaddingRight:new f(0,c[2])},me={yieldEarned:new R("smallMedium","standardMedium"),calculatorFooterText:new R("extraSmallRegular","smallRegular"),integerStyles:new R("h5Regular","h2Regular"),decimalStyles:new R("extraLargeMedium","h5Medium")};function Zo({transferDetails:e,fundDetails:a,portfolioAllocation:u,isFirstTransfer:n,maxInsuredAmount:d,plaidConnectionDetails:s,onSaveChangesToLocalStore:m,onReviewClick:x,onEstablishConnectionClick:v,onFetchLinkTokenClick:h}){const i=ge(),$=g.largeLabelWidth.value(i),[T,A]=w.useState(!1),[p,C]=w.useState(!1),[B,Z]=w.useState(e.treasuryTransferMoneyLocalData.amount?.amount??0),O=a.reduce((l,y)=>{const j=y.yield;return Math.max(l,j)},0),[Q,H]=w.useState(he(B,O)),b=s.link_account_no_microdeposit,[D,xe]=w.useState(b.linkToken??null),[J,ze]=w.useState(!1),[De,Le]=w.useState(!1),ye=e.transferMoneyPartiesFetchState,Fe=pe(ye),$e=e.treasuryTransferMoneyLocalData.fromAccount?.id,be=e.treasuryTransferMoneyLocalData.toAccount?.id,Me=pe($e),Re=pe(be),lt=w.useCallback(l=>{v?.(l),Le(!1),ze(!1)},[v]),ct=w.useCallback((l,y)=>{l!=null&&console.log("Plaid Connection Error",l,y)},[]),{open:ee,ready:U}=kt({token:D,onSuccess:lt,onExit:ct}),q=w.useCallback(l=>{l.preventDefault(),l.stopPropagation(),U?ee():ze(!0)},[ee,U]),I=Tt({mode:"all",reValidateMode:"onChange",defaultValues:w.useMemo(()=>We(e,n,q),[e,n])}),{isValid:dt}=I.formState;w.useEffect(()=>{b.fetchStatus.fetchState==="Completed"&&b.linkToken!=null&&b.linkToken!==D&&xe(b.linkToken)},[b.fetchStatus.fetchState,b.linkToken,D]),w.useEffect(()=>{b.linkToken===D&&b.fetchStatus.fetchState==="Completed"&&U&&Le(!0)},[U,D,b.fetchStatus,b.linkToken,b.fetchStatus.fetchState]),w.useEffect(()=>{De&&J&&ee()},[De,ee,J]),w.useEffect(()=>{(z.zeniDate(new Date().toISOString()).isAfter(b.expiration)||b.linkToken==null)&&h?.("link_account_no_microdeposit")},[]),w.useEffect(()=>{(Fe==="In-Progress"&&ye==="Completed"||Me!==$e||Re!==be)&&I.reset(We(e,n,q))},[U,D,b.fetchStatus.fetchState,Fe,ye,Me,Re,be,$e,I,e,n,q]);const ut=()=>e.transferMoneyParties.find(l=>l.id!==e.treasuryAccount.id&&l.accType==="depositAccount"),pt=()=>{const l=e.primaryPaymentAccount?.paymentAccountId;return e.transferMoneyParties.find(y=>y.id===l)},ht=async(l,y)=>{if(l!=null){const j={...y},te=j[_].transferFrom.selectedOption,oe=j[_].transferTo.selectedOption;let re=e.transferMoneyParties.find(Se=>Se.id===te),ne=e.transferMoneyParties.find(Se=>Se.id===oe);te===e.treasuryAccount.id&&(re=e.treasuryAccount),oe===e.treasuryAccount.id&&(ne=e.treasuryAccount);const Oe={amount:j[_].amount??0,currencyCode:"USD",currencySymbol:"$"};l.includes("transferFrom")?te===e.treasuryAccount.id?oe===e.treasuryAccount.id&&(ne=ut()):ne=e.treasuryAccount:l.includes("transferTo")&&(oe===e.treasuryAccount.id?te===e.treasuryAccount.id&&(re=pt()):re=e.treasuryAccount);const wt={amount:Oe,fromAccount:re,toAccount:ne};Z(Oe.amount),m(wt)}};w.useEffect(()=>{const l=I.watch((y,{name:j})=>{j!=null&&y!=null&&Pt(()=>ht(j,y))});return()=>{l.unsubscribe()}}),w.useEffect(()=>{H(he(B,O))},[B,O]);const mt=I.handleSubmit(()=>{dt&&x()}),{fromAccount:ft,toAccount:Be,amount:L}=e.treasuryTransferMoneyLocalData,gt=l=>{if(!l||!L.amount)return"";const y=e.transferMoneyParties.find(j=>j.id===l);if(l===e.treasuryAccount.id){const j=e.treasuryAccount.balance;if(j&&z.checkIfLowBalance(L,j))return Ve.addMoney}else if(y?.accountBalance?.available&&z.checkIfLowBalance(L,y.accountBalance.available))return Ve.addMoney;return""};return o.jsxs(o.Fragment,{children:[T?o.jsx(Qo,{children:o.jsxs(Jo,{children:[o.jsxs(er,{children:[o.jsx(or,{}),o.jsxs(rr,{children:[o.jsx(nr,{children:e.error?.title}),o.jsx(ir,{children:e.error?.message})]})]}),o.jsx(tr,{children:o.jsx(cr,{"data-testid":P("amount-details-error-close"),onClick:()=>{A(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,o.jsx(ar,{windowSize:i,children:o.jsx(Je,{amount:L,integerStyles:me.integerStyles.styleObject(i),decimalStyles:me.decimalStyles.styleObject(i),alwaysShowDecimal:!0})}),o.jsx(Ct,{...I,children:o.jsxs(Ho,{id:st(at),onSubmit:mt,children:[o.jsxs(sr,{children:[o.jsx(Pe,{size:i,children:o.jsx(Ye,{label:{label:je.labels.transferFrom,width:$,style:{marginLeft:g.labeleMarginLeft.valuePx(i),marginBottom:g.labeleMarginBottom.valuePx(i),marginRight:g.labelMarginRight.valuePx(i)}},style:{paddingTop:g.labeledFieldPaddingTop.valuePx(i),paddingBottom:g.labeledFieldPaddingBottom.valuePx(i),paddingLeft:g.labeledFieldPaddingLeft.valuePx(i),paddingRight:g.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:g.infoLabelPaddingRight.valuePx(i),marginTop:g.infoLabelMarginTop.valuePx(i),color:S.brandColorGoldDark},singleSelectPickerField:{name:Ae(_,Ko),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(l,y)=>N(e.transferMoneyParties,l,y,l===e.treasuryAccount.id,!1),valueToSubLabels:(l,y)=>V(e.transferMoneyParties,e.treasuryAccount,l,y,!0,!1,L),defaultValue:{selectedOption:ft?.id,allOptions:fe(e,!0,n,!0,q,!0)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}},valueToAdditionalLabel:gt})}),!n&&o.jsxs(o.Fragment,{children:[o.jsx(ke,{}),o.jsx(Pe,{size:i,children:o.jsx(Ye,{label:{label:je.labels.transferTo,width:$,style:{marginLeft:g.labeleMarginLeft.valuePx(i),marginBottom:g.labeleMarginBottom.valuePx(i),marginRight:g.labelMarginRight.valuePx(i)}},style:{paddingTop:g.labeledFieldPaddingTop.valuePx(i),paddingBottom:g.labeledFieldPaddingBottom.valuePx(i),paddingLeft:g.labeledFieldPaddingLeft.valuePx(i),paddingRight:g.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:g.infoLabelPaddingRight.valuePx(i),marginTop:g.infoLabelMarginTop.valuePx(i),color:S.brandColorGoldDark},singleSelectPickerField:{name:Ae(_,Go),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(l,y)=>N(e.transferMoneyParties,l,y,l===e.treasuryAccount.id,!1),valueToSubLabels:(l,y)=>V(e.transferMoneyParties,e.treasuryAccount,l,y,!1,!1),defaultValue:{selectedOption:Be?.id,allOptions:fe(e,!1,n,!0,q,!1)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})})]}),o.jsx(ke,{}),o.jsx(zt,{showAdditionalInfoLabel:!1,label:{label:je.labels.amount,width:$},style:{padding:t.sp2,paddingLeft:t.sp0,paddingRight:g.formFieldPaddingRight.valuePx(i),width:"auto"},formattedTextField:{type:"number",name:Ae(_,it),defaultValue:L.amount===0?void 0:L.amount,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},placeholder:M.transferDrawer.amountPlaceholder,autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1}}),n&&o.jsxs(o.Fragment,{children:[o.jsx(ke,{}),o.jsx(lr,{size:i,children:o.jsx(nt,{isInReview:!0,fundDetails:a,allocation:u,isSetup:!1,amount:L,page:"fund transfer"})})]})]}),!n&&Be?.accType==="treasuryAccount"&&o.jsxs(dr,{children:[p?o.jsxs(ur,{children:[o.jsx(pr,{windowSize:i,children:M.transferDrawer.calculator.heading.replace("__amount__",W("0,0.[00]a",{amount:d,currencySymbol:"$"})).replace("__rate__",O.toString())}),o.jsx(Gt,{interestRate:O,transferAmount:B,setYieldEarned:H,setTransferAmount:Z})]}):null,o.jsxs(mr,{windowSize:i,children:[o.jsxs(wr,{windowSize:i,children:[o.jsx(fr,{children:o.jsx(hr,{windowSize:i,children:`${M.transferDrawer.calculator.footerText.annualYieldEarned} ${W("0,0",{amount:Q,currencySymbol:"$"})}`})}),o.jsx(gr,{windowSize:i}),o.jsx(xr,{children:`${M.transferDrawer.calculator.footerText.forTotalDeposit} ${W("0,0",{amount:B,currencySymbol:"$"})}`})]}),p?o.jsxs(Ue,{windowSize:i,onClick:()=>C(!1),"data-testid":P("calculator-footer-close"),children:[o.jsx(Xe,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.hide}),o.jsx(yr,{className:"calculatorFooterArrowIcon"})]}):o.jsxs(Ue,{windowSize:i,onClick:()=>C(!0),"data-testid":P("calculator-footer-show"),children:[o.jsx(Xe,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.showYieldCalculator}),o.jsx($r,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]})}const fe=(e,a,u,n=!0,d,s=!1,m,x)=>{const v=e.treasuryTransferMoneyLocalData.fromAccount?.id,h=e.treasuryTransferMoneyLocalData.toAccount?.id,i=e.transferMoneyParties.find(p=>p.id===v)||e.treasuryAccount,$=e.transferMoneyParties.find(p=>p.id===h)||e.treasuryAccount;let T=e.transferMoneyParties;a||(T=T.filter(p=>p.accType!=="paymentAccount"));const A=T.map(p=>{const C={label:p.label,value:p.id};return n&&(a?C.isDisabled=p.id===h||p.accType==="paymentAccount"&&$?.accType==="paymentAccount":C.isDisabled=p.id===v||p.accType==="paymentAccount"&&i?.accType==="paymentAccount"),C});if(!u){const p={label:"Treasury",value:e.treasuryAccount.id,isDisabled:!1};n&&(a?p.isDisabled=!1:p.isDisabled=e.treasuryAccount.id===v),a?A.push(p):A.unshift(p)}if(s&&d){const p={label:qo.transferDrawer.selectAddAccount,value:"",type:"button",onClick:d};A.push(p)}return A},We=(e,a,u)=>{const{fromAccount:n,toAccount:d,amount:s}=e.treasuryTransferMoneyLocalData;return{transferDetails:{[it]:s.amount===0?void 0:s.amount,transferFrom:{allOptions:fe(e,!0,a,!0,u,!0),selectedOption:n!=null?n.id:e.primaryPaymentAccount?.paymentAccountId},transferTo:{allOptions:fe(e,!1,a,!0,u,!1),selectedOption:d?.id}}}},Qo=r.div`
260
+ `,{common:je,spendManagement:{treasury:M,zeniAccounts:{zeniAccountList:Go},billPay:{insufficientFunds:Ve}}}=we.getLocalizedStrings(),it="amount",Uo="transferTo",qo="transferFrom",_="transferDetails",at="transferDetailPage",Ae=(e,a)=>`${e}.${a}`,st=e=>`${e}_form`,g={largeLabelWidth:new f(120,120,160),labeleMarginLeft:new f(c[0],c[0]),labelMarginRight:new f(c[3],c[3]),labeleMarginBottom:new f(c[2],c[0]),labeledFieldPaddingLeft:new f(c[3],c[0]),labeledFieldPaddingRight:new f(c[3],c[2]),labeledFieldPaddingTop:new f(c[3],c[3]),labeledFieldPaddingBottom:new f(c[3],c[2]),infoLabelPaddingRight:new f(c[0],c[3]),infoLabelMarginTop:new f(c[1],c[0]),portfolioContainerPadding:new f(c[3],c[4]),rowContentSelectPaddingLeft:new f(c[3],c[4]),formFieldPaddingRight:new f(0,c[2])},me={yieldEarned:new R("smallMedium","standardMedium"),calculatorFooterText:new R("extraSmallRegular","smallRegular"),integerStyles:new R("h5Regular","h2Regular"),decimalStyles:new R("extraLargeMedium","h5Medium")};function Ko({transferDetails:e,fundDetails:a,portfolioAllocation:u,isFirstTransfer:n,maxInsuredAmount:d,plaidConnectionDetails:s,onSaveChangesToLocalStore:m,onReviewClick:x,onEstablishConnectionClick:v,onFetchLinkTokenClick:h}){const i=ge(),$=g.largeLabelWidth.value(i),[T,A]=w.useState(!1),[p,C]=w.useState(!1),[B,Z]=w.useState(e.treasuryTransferMoneyLocalData.amount?.amount??0),O=a.reduce((l,y)=>{const j=y.yield;return Math.max(l,j)},0),[Q,H]=w.useState(he(B,O)),b=s.link_account_no_microdeposit,[D,xe]=w.useState(b.linkToken??null),[J,ze]=w.useState(!1),[De,Le]=w.useState(!1),ye=e.transferMoneyPartiesFetchState,Fe=pe(ye),$e=e.treasuryTransferMoneyLocalData.fromAccount?.id,be=e.treasuryTransferMoneyLocalData.toAccount?.id,Me=pe($e),Re=pe(be),lt=w.useCallback(l=>{v?.(l),Le(!1),ze(!1)},[v]),ct=w.useCallback((l,y)=>{l!=null&&console.log("Plaid Connection Error",l,y)},[]),{open:ee,ready:G}=kt({token:D,onSuccess:lt,onExit:ct}),U=w.useCallback(l=>{l.preventDefault(),l.stopPropagation(),G?ee():ze(!0)},[ee,G]),I=Tt({mode:"all",reValidateMode:"onChange",defaultValues:w.useMemo(()=>Ye(e,n,U),[e,n])}),{isValid:dt}=I.formState;w.useEffect(()=>{b.fetchStatus.fetchState==="Completed"&&b.linkToken!=null&&b.linkToken!==D&&xe(b.linkToken)},[b.fetchStatus.fetchState,b.linkToken,D]),w.useEffect(()=>{b.linkToken===D&&b.fetchStatus.fetchState==="Completed"&&G&&Le(!0)},[G,D,b.fetchStatus,b.linkToken,b.fetchStatus.fetchState]),w.useEffect(()=>{De&&J&&ee()},[De,ee,J]),w.useEffect(()=>{(z.zeniDate(new Date().toISOString()).isAfter(b.expiration)||b.linkToken==null)&&h?.("link_account_no_microdeposit")},[]),w.useEffect(()=>{(Fe==="In-Progress"&&ye==="Completed"||Me!==$e||Re!==be)&&I.reset(Ye(e,n,U))},[G,D,b.fetchStatus.fetchState,Fe,ye,Me,Re,be,$e,I,e,n,U]);const ut=()=>e.transferMoneyParties.find(l=>l.id!==e.treasuryAccount.id&&l.accType==="depositAccount"),pt=()=>{const l=e.primaryPaymentAccount?.paymentAccountId;return e.transferMoneyParties.find(y=>y.id===l)},ht=async(l,y)=>{if(l!=null){const j={...y},te=j[_].transferFrom.selectedOption,oe=j[_].transferTo.selectedOption;let re=e.transferMoneyParties.find(Se=>Se.id===te),ne=e.transferMoneyParties.find(Se=>Se.id===oe);te===e.treasuryAccount.id&&(re=e.treasuryAccount),oe===e.treasuryAccount.id&&(ne=e.treasuryAccount);const Oe={amount:j[_].amount??0,currencyCode:"USD",currencySymbol:"$"};l.includes("transferFrom")?te===e.treasuryAccount.id?oe===e.treasuryAccount.id&&(ne=ut()):ne=e.treasuryAccount:l.includes("transferTo")&&(oe===e.treasuryAccount.id?te===e.treasuryAccount.id&&(re=pt()):re=e.treasuryAccount);const wt={amount:Oe,fromAccount:re,toAccount:ne};Z(Oe.amount),m(wt)}};w.useEffect(()=>{const l=I.watch((y,{name:j})=>{j!=null&&y!=null&&Pt(()=>ht(j,y))});return()=>{l.unsubscribe()}}),w.useEffect(()=>{H(he(B,O))},[B,O]);const mt=I.handleSubmit(()=>{dt&&x()}),{fromAccount:ft,toAccount:Be,amount:L}=e.treasuryTransferMoneyLocalData,gt=l=>{if(!l||!L.amount)return"";const y=e.transferMoneyParties.find(j=>j.id===l);if(l===e.treasuryAccount.id){const j=e.treasuryAccount.balance;if(j&&z.checkIfLowBalance(L,j))return Ve.addMoney}else if(y?.accountBalance?.available&&z.checkIfLowBalance(L,y.accountBalance.available))return Ve.addMoney;return""};return o.jsxs(o.Fragment,{children:[T?o.jsx(Zo,{children:o.jsxs(Ho,{children:[o.jsxs(Jo,{children:[o.jsx(tr,{}),o.jsxs(or,{children:[o.jsx(rr,{children:e.error?.title}),o.jsx(nr,{children:e.error?.message})]})]}),o.jsx(er,{children:o.jsx(lr,{"data-testid":P("amount-details-error-close"),onClick:()=>{A(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,o.jsx(ir,{windowSize:i,children:o.jsx(Je,{amount:L,integerStyles:me.integerStyles.styleObject(i),decimalStyles:me.decimalStyles.styleObject(i),alwaysShowDecimal:!0})}),o.jsx(Ct,{...I,children:o.jsxs(Qo,{id:st(at),onSubmit:mt,children:[o.jsxs(ar,{children:[o.jsx(Pe,{size:i,children:o.jsx(We,{label:{label:je.labels.transferFrom,width:$,style:{marginLeft:g.labeleMarginLeft.valuePx(i),marginBottom:g.labeleMarginBottom.valuePx(i),marginRight:g.labelMarginRight.valuePx(i)}},style:{paddingTop:g.labeledFieldPaddingTop.valuePx(i),paddingBottom:g.labeledFieldPaddingBottom.valuePx(i),paddingLeft:g.labeledFieldPaddingLeft.valuePx(i),paddingRight:g.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:g.infoLabelPaddingRight.valuePx(i),marginTop:g.infoLabelMarginTop.valuePx(i),color:S.brandColorGoldDark},singleSelectPickerField:{name:Ae(_,qo),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(l,y)=>N(e.transferMoneyParties,l,y,l===e.treasuryAccount.id,!1),valueToSubLabels:(l,y)=>V(e.transferMoneyParties,e.treasuryAccount,l,y,!0,!1,L),defaultValue:{selectedOption:ft?.id,allOptions:fe(e,!0,n,!0,U,!0)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}},valueToAdditionalLabel:gt})}),!n&&o.jsxs(o.Fragment,{children:[o.jsx(ke,{}),o.jsx(Pe,{size:i,children:o.jsx(We,{label:{label:je.labels.transferTo,width:$,style:{marginLeft:g.labeleMarginLeft.valuePx(i),marginBottom:g.labeleMarginBottom.valuePx(i),marginRight:g.labelMarginRight.valuePx(i)}},style:{paddingTop:g.labeledFieldPaddingTop.valuePx(i),paddingBottom:g.labeledFieldPaddingBottom.valuePx(i),paddingLeft:g.labeledFieldPaddingLeft.valuePx(i),paddingRight:g.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:g.infoLabelPaddingRight.valuePx(i),marginTop:g.infoLabelMarginTop.valuePx(i),color:S.brandColorGoldDark},singleSelectPickerField:{name:Ae(_,Uo),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(l,y)=>N(e.transferMoneyParties,l,y,l===e.treasuryAccount.id,!1),valueToSubLabels:(l,y)=>V(e.transferMoneyParties,e.treasuryAccount,l,y,!1,!1),defaultValue:{selectedOption:Be?.id,allOptions:fe(e,!1,n,!0,U,!1)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})})]}),o.jsx(ke,{}),o.jsx(zt,{showAdditionalInfoLabel:!1,label:{label:je.labels.amount,width:$},style:{padding:t.sp2,paddingLeft:t.sp0,paddingRight:g.formFieldPaddingRight.valuePx(i),width:"auto"},formattedTextField:{type:"number",name:Ae(_,it),defaultValue:L.amount===0?void 0:L.amount,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},placeholder:M.transferDrawer.amountPlaceholder,autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1}}),n&&o.jsxs(o.Fragment,{children:[o.jsx(ke,{}),o.jsx(sr,{size:i,children:o.jsx(nt,{isInReview:!0,fundDetails:a,allocation:u,isSetup:!1,amount:L,page:"fund transfer"})})]})]}),!n&&Be?.accType==="treasuryAccount"&&o.jsxs(cr,{children:[p?o.jsxs(dr,{children:[o.jsx(ur,{windowSize:i,children:M.transferDrawer.calculator.heading.replace("__amount__",Y("0,0.[00]a",{amount:d,currencySymbol:"$"})).replace("__rate__",O.toString())}),o.jsx(qt,{interestRate:O,transferAmount:B,setYieldEarned:H,setTransferAmount:Z})]}):null,o.jsxs(hr,{windowSize:i,children:[o.jsxs(gr,{windowSize:i,children:[o.jsx(mr,{children:o.jsx(pr,{windowSize:i,children:`${M.transferDrawer.calculator.footerText.annualYieldEarned} ${Y("0,0",{amount:Q,currencySymbol:"$"})}`})}),o.jsx(fr,{windowSize:i}),o.jsx(wr,{children:`${M.transferDrawer.calculator.footerText.forTotalDeposit} ${Y("0,0",{amount:B,currencySymbol:"$"})}`})]}),p?o.jsxs(Ge,{windowSize:i,onClick:()=>C(!1),"data-testid":P("calculator-footer-close"),children:[o.jsx(Xe,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.hide}),o.jsx(xr,{className:"calculatorFooterArrowIcon"})]}):o.jsxs(Ge,{windowSize:i,onClick:()=>C(!0),"data-testid":P("calculator-footer-show"),children:[o.jsx(Xe,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.showYieldCalculator}),o.jsx(yr,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]})}const fe=(e,a,u,n=!0,d,s=!1,m,x)=>{const v=e.treasuryTransferMoneyLocalData.fromAccount?.id,h=e.treasuryTransferMoneyLocalData.toAccount?.id,i=e.transferMoneyParties.find(p=>p.id===v)||e.treasuryAccount,$=e.transferMoneyParties.find(p=>p.id===h)||e.treasuryAccount;let T=e.transferMoneyParties;a||(T=T.filter(p=>p.accType!=="paymentAccount"));const A=T.map(p=>{const C={label:p.label,value:p.id};return n&&(a?C.isDisabled=p.id===h||p.accType==="paymentAccount"&&$?.accType==="paymentAccount":C.isDisabled=p.id===v||p.accType==="paymentAccount"&&i?.accType==="paymentAccount"),C});if(!u){const p={label:"Treasury",value:e.treasuryAccount.id,isDisabled:!1};n&&(a?p.isDisabled=!1:p.isDisabled=e.treasuryAccount.id===v),a?A.push(p):A.unshift(p)}if(s&&d){const p={label:Go.transferDrawer.selectAddAccount,value:"",type:"button",onClick:d};A.push(p)}return A},Ye=(e,a,u)=>{const{fromAccount:n,toAccount:d,amount:s}=e.treasuryTransferMoneyLocalData;return{transferDetails:{[it]:s.amount===0?void 0:s.amount,transferFrom:{allOptions:fe(e,!0,a,!0,u,!0),selectedOption:n!=null?n.id:e.primaryPaymentAccount?.paymentAccountId},transferTo:{allOptions:fe(e,!1,a,!0,u,!1),selectedOption:d?.id}}}},Zo=r.div`
261
261
  margin-top: ${t.sp3};
262
262
  display: flex;
263
263
  background-color: ${e=>e.theme.colors.grey5};
@@ -266,44 +266,44 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
266
266
  border: ${e=>`1px solid ${e.theme.colors.grey3}`};
267
267
  border-radius: ${t.sp2};
268
268
  box-shadow: ${e=>`${t.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
269
- `,Ho=r.form`
269
+ `,Qo=r.form`
270
270
  display: flex;
271
271
  flex-direction: column;
272
272
  justify-content: center;
273
273
  align-items: center;
274
- `,Jo=r.div`
274
+ `,Ho=r.div`
275
275
  display: flex;
276
276
  width: 100%;
277
277
  justify-content: space-between;
278
278
  padding: ${t.sp3} ${t.sp4};
279
279
  background-color: ${S.importantLight};
280
280
  border-radius: ${t.sp2};
281
- `,er=r.div`
281
+ `,Jo=r.div`
282
282
  display: flex;
283
283
  align-items: flex-start;
284
- `,tr=r.div``,or=r(ot)`
284
+ `,er=r.div``,tr=r(ot)`
285
285
  width: ${t.sp4};
286
286
  height: ${t.sp4};
287
287
  color: ${S.important};
288
- `,rr=r.div`
288
+ `,or=r.div`
289
289
  display: flex;
290
290
  flex-direction: column;
291
291
  margin-left: ${t.sp2};
292
- `,nr=r(rt)`
292
+ `,rr=r(rt)`
293
293
  color: ${S.important};
294
- `,ir=r(X)`
294
+ `,nr=r(X)`
295
295
  color: ${S.important};
296
- `,ar=r(tt)`
296
+ `,ir=r(tt)`
297
297
  color: ${e=>e.theme.colors.primary};
298
298
  margin: ${t.sp5} ${t.sp0} ${t.sp3} ${t.sp0};
299
299
  ${e=>e.windowSize==="small"&&`
300
300
  margin-top: ${t.sp1};
301
301
  margin-bottom: ${t.sp1};
302
302
  `}
303
- `,Ye=r(Dt)`
303
+ `,We=r(Dt)`
304
304
  border-radius: ${t.sp2};
305
305
  border: ${e=>`1px solid ${e.theme.colors.grey3}`};
306
- `,sr=r.div`
306
+ `,ar=r.div`
307
307
  display: flex;
308
308
  flex-direction: column;
309
309
  width: 100%;
@@ -347,10 +347,10 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
347
347
  margin-right: ${t.sp1} !important;
348
348
  }
349
349
  `}
350
- `,lr=r(Pe)`
350
+ `,sr=r(Pe)`
351
351
  padding: ${({size:e})=>g.portfolioContainerPadding.valuePx(e)};
352
352
  padding-top: ${t.sp2};
353
- `,cr=r(Ce)`
353
+ `,lr=r(Ce)`
354
354
  cursor: pointer;
355
355
  color: ${e=>e.theme.colors.hero};
356
356
  width: ${t.sp4};
@@ -359,10 +359,10 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
359
359
  &:hover {
360
360
  color: ${e=>e.theme.colors.primary};
361
361
  }
362
- `,dr=r.div`
362
+ `,cr=r.div`
363
363
  margin-bottom: ${t.sp6};
364
364
  width: 90%;
365
- `,ur=r.div`
365
+ `,dr=r.div`
366
366
  background-color: ${e=>e.theme.colors.background};
367
367
  border: 1px solid ${e=>e.theme.colors.grey3};
368
368
  border-top: none;
@@ -371,16 +371,16 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
371
371
  justify-content: center;
372
372
  align-items: center;
373
373
  flex-direction: column;
374
- `,pr=r(X)`
374
+ `,ur=r(X)`
375
375
  color: ${e=>e.theme.colors.hero};
376
376
  margin: ${e=>e.windowSize==="small"?t.sp3:`${t.sp3} ${t.sp8}`};
377
377
  white-space: pre-line;
378
378
  text-align: center;
379
- `,hr=r.div`
379
+ `,pr=r.div`
380
380
  ${e=>me.yieldEarned.style(e.windowSize)}
381
381
  color: ${S.success};
382
382
  white-space: nowrap;
383
- `,mr=r.div`
383
+ `,hr=r.div`
384
384
  display: flex;
385
385
  align-items: center;
386
386
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
@@ -389,7 +389,7 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
389
389
  background-color: ${e=>e.theme.colors.grey3};
390
390
  border-bottom-right-radius: ${t.sp1};
391
391
  border-bottom-left-radius: ${t.sp1};
392
- `,fr=r.div`
392
+ `,mr=r.div`
393
393
  display: flex;
394
394
  flex-direction: row;
395
395
  align-items: center;
@@ -397,7 +397,7 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
397
397
  ${e=>me.calculatorFooterText.style(e.windowSize)}
398
398
  color: ${e=>e.theme.colors.hero};
399
399
  cursor: pointer;
400
- `,Ue=r.div`
400
+ `,Ge=r.div`
401
401
  display: flex;
402
402
  flex-direction: row;
403
403
  align-items: center;
@@ -411,7 +411,7 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
411
411
  color: ${e=>e.theme.colors.primary};
412
412
  }
413
413
  }
414
- `,gr=r.div`
414
+ `,fr=r.div`
415
415
  display: ${e=>e.windowSize==="small"?"none":"block"};
416
416
  width: ${t.sp1};
417
417
  height: ${t.sp1};
@@ -419,55 +419,55 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
419
419
  margin: 0 ${t.sp2};
420
420
  background-color: ${e=>e.theme.colors.grey1};
421
421
  border-radius: 50%;
422
- `,wr=r.div`
422
+ `,gr=r.div`
423
423
  display: flex;
424
424
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
425
425
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
426
426
  width: ${e=>e.windowSize==="small"?"100%":"unset"};
427
- `,xr=r(Bt)`
427
+ `,wr=r(Bt)`
428
428
  color: ${e=>e.theme.colors.hero};
429
- `,yr=r(Ot)`
429
+ `,xr=r(Ot)`
430
430
  cursor: pointer;
431
431
  width: 12px;
432
432
  height: 12px;
433
433
  min-width: 12px;
434
434
  min-height: 12px;
435
435
  color: ${e=>e.theme.colors.hero};
436
- `,$r=r(It)`
436
+ `,yr=r(It)`
437
437
  cursor: pointer;
438
438
  width: 12px;
439
439
  height: 12px;
440
440
  min-width: 12px;
441
441
  min-height: 12px;
442
442
  color: ${e=>e.theme.colors.hero};
443
- `,K={navBarContainerPaddingXaxis:new f(10,19),containerPaddingLeft:new f(c[3],c[6],c[8]),containerPaddingRight:new f(c[3],c[6],c[8]),successContentMargin:new f(c[3],c[12]),buttonTrayGap:new f(c[4],c[5])},br={formTitle:new R("h6Regular","h5Regular")},{common:qe,spendManagement:{treasury:k}}=we.getLocalizedStrings(),Vr=({transferDetails:e,treasurySetupView:a,showReviewContent:u,maxInsuredAmount:n,isFirstTransfer:d,plaidConnectionDetails:s,onSaveChangesToLocalStore:m,onTransferClick:x,onAnotherTransferClick:v,onCancelClick:h,setShowReviewContent:i,onReviewClick:$,onEstablishConnectionClick:T,onFetchLinkTokenClick:A})=>{const p=ge(),{fundsData:C,currentAllocation:B,fundAllocationOptions:Z,fetchState:O}=a,Q=Z.find(J=>xt(J.allocation,B))??{allocation:{},riskLevel:"Conservative",riskScore:0,optionIndex:0},H=()=>O==="Completed"&&(e.treasuryTransferMoneyLocalData.fromAccount!=null||e.treasuryTransferMoneyLocalData.toAccount!=null||e.treasuryTransferMoneyLocalData.amount.amount>0),{fromAccount:b,toAccount:D,amount:xe}=e.treasuryTransferMoneyLocalData;return o.jsx(jr,{windowSize:p,children:e.fetchState==="Completed"?o.jsxs(Ge,{windowSize:p,isTransferCompleted:!0,children:[o.jsx(Ke,{windowSize:p,children:o.jsx(Ze,{"data-testid":P("cross-transfer-success-close-button"),onClick:()=>{h()}})}),o.jsxs(Pr,{windowSize:p,children:[o.jsx(yt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),o.jsx(Ar,{children:o.jsxs(o.Fragment,{children:[k.transferDrawer.success.prefix,o.jsx(kr,{children:W("0,0.[00]",xe)}),k.transferDrawer.success.midfix,`"${b?.label}"`,k.transferDrawer.success.midfix2,`"${D?.label}".`]})}),o.jsxs(Tr,{windowSize:p,children:[o.jsx(Ie,{variant:"secondary",label:k.transferDrawer.anotherTransfer,"data-testid":P("another-transfer-button","treasury"),onClick:()=>{v()},style:{minWidth:200}}),o.jsx(Ie,{variant:"primary",label:k.transferDrawer.backToTreasury,"data-testid":P("back-to-treasury-button"),onClick:()=>{h()},style:{minWidth:200}})]})]})]}):u?o.jsx(ho,{transferDetails:e,setShowReviewContent:i,onTransferClick:x,fundDetails:C,portfolioAllocation:Q,onCancelClick:h}):o.jsxs(o.Fragment,{children:[o.jsxs(Ge,{windowSize:p,isTransferCompleted:!1,children:[o.jsx(Ke,{windowSize:p,children:o.jsx(Ze,{"data-testid":P("cross-amount-details-close-button"),onClick:()=>{h()}})}),p==="small"?o.jsx(Cr,{windowSize:p,children:d?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}):o.jsx(zr,{windowSize:p,children:d?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}),p==="small"?o.jsx(vr,{children:k.transferDrawer.subTitle}):o.jsx(Sr,{children:k.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?o.jsx(Zo,{onSaveChangesToLocalStore:m,transferDetails:e,onReviewClick:$,fundDetails:C,portfolioAllocation:Q,isFirstTransfer:d,maxInsuredAmount:n,plaidConnectionDetails:s,onEstablishConnectionClick:T,onFetchLinkTokenClick:A}):o.jsx(Qe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),H()?o.jsx(He,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:st(at),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:qe.review},cancelBtn:{label:qe.cancel,onClick:()=>{h()}}}):null]})})},Sr=r(X)`
443
+ `,K={navBarContainerPaddingXaxis:new f(10,19),containerPaddingLeft:new f(c[3],c[6],c[8]),containerPaddingRight:new f(c[3],c[6],c[8]),successContentMargin:new f(c[3],c[12]),buttonTrayGap:new f(c[4],c[5])},$r={formTitle:new R("h6Regular","h5Regular")},{common:Ue,spendManagement:{treasury:k}}=we.getLocalizedStrings(),Nr=({transferDetails:e,treasurySetupView:a,showReviewContent:u,maxInsuredAmount:n,isFirstTransfer:d,plaidConnectionDetails:s,onSaveChangesToLocalStore:m,onTransferClick:x,onAnotherTransferClick:v,onCancelClick:h,setShowReviewContent:i,onReviewClick:$,onEstablishConnectionClick:T,onFetchLinkTokenClick:A})=>{const p=ge(),{fundsData:C,currentAllocation:B,fundAllocationOptions:Z,fetchState:O}=a,Q=Z.find(J=>xt(J.allocation,B))??{allocation:{},riskLevel:"Conservative",riskScore:0,optionIndex:0},H=()=>O==="Completed"&&(e.treasuryTransferMoneyLocalData.fromAccount!=null||e.treasuryTransferMoneyLocalData.toAccount!=null||e.treasuryTransferMoneyLocalData.amount.amount>0),{fromAccount:b,toAccount:D,amount:xe}=e.treasuryTransferMoneyLocalData;return o.jsx(vr,{windowSize:p,children:e.fetchState==="Completed"?o.jsxs(qe,{windowSize:p,isTransferCompleted:!0,children:[o.jsx(Ke,{windowSize:p,children:o.jsx(Ze,{"data-testid":P("cross-transfer-success-close-button"),onClick:()=>{h()}})}),o.jsxs(Tr,{windowSize:p,children:[o.jsx(yt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),o.jsx(jr,{children:o.jsxs(o.Fragment,{children:[k.transferDrawer.success.prefix,o.jsx(Ar,{children:Y("0,0.[00]",xe)}),k.transferDrawer.success.midfix,`"${b?.label}"`,k.transferDrawer.success.midfix2,`"${D?.label}".`]})}),o.jsxs(kr,{windowSize:p,children:[o.jsx(Ie,{variant:"secondary",label:k.transferDrawer.anotherTransfer,"data-testid":P("another-transfer-button","treasury"),onClick:()=>{v()},style:{minWidth:200}}),o.jsx(Ie,{variant:"primary",label:k.transferDrawer.backToTreasury,"data-testid":P("back-to-treasury-button"),onClick:()=>{h()},style:{minWidth:200}})]})]})]}):u?o.jsx(ho,{transferDetails:e,setShowReviewContent:i,onTransferClick:x,fundDetails:C,portfolioAllocation:Q,onCancelClick:h}):o.jsxs(o.Fragment,{children:[o.jsxs(qe,{windowSize:p,isTransferCompleted:!1,children:[o.jsx(Ke,{windowSize:p,children:o.jsx(Ze,{"data-testid":P("cross-amount-details-close-button"),onClick:()=>{h()}})}),p==="small"?o.jsx(Pr,{windowSize:p,children:d?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}):o.jsx(Cr,{windowSize:p,children:d?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}),p==="small"?o.jsx(Sr,{children:k.transferDrawer.subTitle}):o.jsx(br,{children:k.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?o.jsx(Ko,{onSaveChangesToLocalStore:m,transferDetails:e,onReviewClick:$,fundDetails:C,portfolioAllocation:Q,isFirstTransfer:d,maxInsuredAmount:n,plaidConnectionDetails:s,onEstablishConnectionClick:T,onFetchLinkTokenClick:A}):o.jsx(Qe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),H()?o.jsx(He,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:st(at),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:Ue.review},cancelBtn:{label:Ue.cancel,onClick:()=>{h()}}}):null]})})},br=r(X)`
444
444
  color: ${e=>e.theme.colors.hero};
445
- `,vr=r(Y)`
445
+ `,Sr=r(W)`
446
446
  color: ${e=>e.theme.colors.hero};
447
- `,jr=r.div`
447
+ `,vr=r.div`
448
448
  display: flex;
449
449
  flex-direction: column;
450
450
  background-color: ${e=>e.theme.colors.grey4};
451
451
  overflow-x: hidden;
452
452
  height: 100vh;
453
453
  width: 100%;
454
- `,Ar=r($t)`
454
+ `,jr=r($t)`
455
455
  color: ${e=>e.theme.colors.primary};
456
456
  text-align: center;
457
- `,kr=r(bt)`
457
+ `,Ar=r(bt)`
458
458
  display: inline;
459
- `,Ge=r.div`
459
+ `,qe=r.div`
460
460
  height: ${e=>e.isTransferCompleted?"100%":"auto"};
461
461
  padding-left: ${e=>`${K.containerPaddingLeft.valuePx(e.windowSize)}`};
462
462
  padding-right: ${e=>`${K.containerPaddingRight.valuePx(e.windowSize)}`};
463
463
  margin-bottom: auto;
464
- `,Tr=r.div`
464
+ `,kr=r.div`
465
465
  display: flex;
466
466
  justify-content: center;
467
467
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
468
468
  margin-top: ${t.sp6};
469
469
  gap: ${e=>`${K.buttonTrayGap.valuePx(e.windowSize)}`};
470
- `,Pr=r.div`
470
+ `,Tr=r.div`
471
471
  height: 80%;
472
472
  display: flex;
473
473
  flex-direction: column;
@@ -493,14 +493,14 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3
493
493
  &:hover {
494
494
  color: ${e=>e.theme.colors.primary};
495
495
  }
496
- `,Cr=r(At)`
496
+ `,Pr=r(At)`
497
497
  color: ${e=>e.theme.colors.primary};
498
498
  margin-top: ${t.sp3};
499
499
  margin-bottom: ${t.sp0};
500
500
  margin-right: ${t.sp3};
501
- `,zr=r(et)`
502
- ${e=>`${br.formTitle.style(e.windowSize)}`};
501
+ `,Cr=r(et)`
502
+ ${e=>`${$r.formTitle.style(e.windowSize)}`};
503
503
  color: ${e=>e.theme.colors.primary};
504
504
  margin-top: ${t.sp3};
505
505
  margin-bottom: ${t.sp2};
506
- `;export{Vr as default};
506
+ `;export{Nr as default};
@@ -1,4 +1,4 @@
1
- import{M as $,j as s,l as u,u as Z,Y as j,ai as z,b5 as B,b6 as F,au as P,p as w,at as R,aa as O,b7 as q,av as K,b9 as _,o as L,g as G,s as N}from"./index-4pBF5Sdt.js";import{b as v,f as V,n as k}from"./vendor-CnQcJ2Lu.js";import{d as W,g as M,p as D,u as Q}from"./chartTypes-Br4XSz7W-CqUwzZOS.js";import{o as X}from"./toCOABalancesWithID-BuGHg1ur-BdY3n1XR.js";import{V as H}from"./toChartData-C5QlPh1F-BSGx6jN0.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const I=k.div`
1
+ import{M as $,j as s,l as u,u as Z,Y as j,ai as z,b5 as B,b6 as F,au as P,p as w,at as R,aa as O,b7 as q,av as K,b9 as _,o as L,g as G,s as N}from"./index-1Afae-x7.js";import{b as v,f as V,n as k}from"./vendor-CnQcJ2Lu.js";import{d as W,g as M,p as D,u as Q}from"./chartTypes-BuFzxmL_-B2IChMB8.js";import{o as X}from"./toCOABalancesWithID-C-bTJwi8-NxSrtpOt.js";import{V as H}from"./toChartData-Cy5VqMOG-C5DMk1vW.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const I=k.div`
2
2
  display: flex;
3
3
  `,J=k.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{X as D,j as i,c as R,o as t,M as F,C as c,Y as S,ai as E,al as Y,c0 as K,m as a,s as X,a2 as q}from"./index-4pBF5Sdt.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-BfsNpqPF-BgEax26m.js";import{C as W}from"./NoDataChart-CwAwvz9y-CzhHYB7A.js";import{F as _}from"./InsightsSection-BFSU6XTB-DShtd7Ph.js";import{d as Z}from"./TransactionList-DmEyc2C4-2LmzZp0a.js";const G=n.div`
1
+ import{X as D,j as i,c as R,o as t,M as F,C as c,Y as S,ai as E,al as Y,c0 as K,m as a,s as X,a2 as q}from"./index-1Afae-x7.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-DgcS2Qi8-DiEt2rLi.js";import{C as W}from"./NoDataChart-3HE6nhZn-KnvhULUo.js";import{F as _}from"./InsightsSection-0LvR4mZQ-BXvcA3NA.js";import{d as Z}from"./TransactionList-k8YmeJcr-MUQoIUD6.js";const G=n.div`
2
2
  display: inline-block;
3
3
  `,J=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{u as ce,X as se,w as Ke,a1 as en,g3 as R,hb as U,M as q,a as nn,hc as tn,hd as Te,c3 as on,j as t,aV as cn,bO as sn,bQ as ln,bR as an,F as rn,l as J,he as dn,c as un,hf as X,hg as pn,a3 as mn,hh as Ve,C as u,s as gn,o as l,cg as fe,a7 as W,g8 as oe,hi as ie,m as d,Q as Ae,g as $e,fx as _e,v as Se,aA as xn}from"./index-4pBF5Sdt.js";import{b as Y,n as s}from"./vendor-CnQcJ2Lu.js";import{F as hn}from"./HelpButton-Cms9G_Fp-Dv8NpLNt.js";import{h as wn}from"./VendorsAccountsSection-DUUy43AG-DDhNQEQj.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-Crufcivq-W90Cv2mM.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},He={title:new Ae("standardMedium","largeMedium")},bn=s.div`
1
+ import{u as ce,X as se,w as Ke,a1 as en,g3 as R,hb as U,M as q,a as nn,hc as tn,hd as Te,c3 as on,j as t,aV as cn,bO as sn,bQ as ln,bR as an,F as rn,l as J,he as dn,c as un,hf as X,hg as pn,a3 as mn,hh as Ve,C as u,s as gn,o as l,cg as fe,a7 as W,g8 as oe,hi as ie,m as d,Q as Ae,g as $e,fx as _e,v as Se,aA as xn}from"./index-1Afae-x7.js";import{b as Y,n as s}from"./vendor-CnQcJ2Lu.js";import{F as hn}from"./HelpButton-BDMRH4As-BAeJZ0ZL.js";import{h as wn}from"./VendorsAccountsSection-WaX0Qe7x-zY81ntXq.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-Ck4DBnLb-CpWe-W42.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},He={title:new Ae("standardMedium","largeMedium")},bn=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{a1 as b,j as t,hk as R,hl as _,X as F,M as O,bO as U,i as C,bQ as z,bR as N,a as M,F as G,cc as H,l as T,c8 as D,C as g,c9 as K,g as A,f as Z,c as J,K as Q,o as i,s as X,m as B,Z as Y,ao as ee}from"./index-4pBF5Sdt.js";import{b as c,n as f}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[2]),width:new g(300,420,420)},te=f.div`
1
+ import{a1 as b,j as t,hk as R,hl as _,X as F,M as O,bO as U,i as C,bQ as z,bR as N,a as M,F as G,cc as H,l as T,c8 as D,C as g,c9 as K,g as A,f as Z,c as J,K as Q,o as i,s as X,m as B,Z as Y,ao as ee}from"./index-1Afae-x7.js";import{b as c,n as f}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[2]),width:new g(300,420,420)},te=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{a as R,fa as x,a1 as U,l as W,X as Y,M as _,j as i,c3 as q,F as A,Y as K,fb as X,o as a,g as G,cd as H,a3 as J,C as y,a2 as Q,c0 as Z,ao as ee,an as te,m as c}from"./index-4pBF5Sdt.js";import{b as m,n as l}from"./vendor-CnQcJ2Lu.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:f,onClose:b,onEditFileName:v,onDeleteFile:I,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=R({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,O]=m.useState(!1),$=U(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=W.reduceAllFetchState(T);m.useEffect(()=>{$==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[$,f,n,t?.additionalFiles]);const r=Y(),h=_.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),M=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>M(d,p))});return()=>{o.unsubscribe()}}),i.jsx(A,{...n,children:i.jsxs("form",{id:u,onSubmit:k,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:b,"data-testid":K("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:v,onDeleteFile:I,updateFilesEntity:D,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(J,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:b},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
1
+ import{a as R,fa as x,a1 as U,l as W,X as Y,M as _,j as i,c3 as q,F as A,Y as K,fb as X,o as a,g as G,cd as H,a3 as J,C as y,a2 as Q,c0 as Z,ao as ee,an as te,m as c}from"./index-1Afae-x7.js";import{b as m,n as l}from"./vendor-CnQcJ2Lu.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:f,onClose:b,onEditFileName:v,onDeleteFile:I,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=R({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,O]=m.useState(!1),$=U(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=W.reduceAllFetchState(T);m.useEffect(()=>{$==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[$,f,n,t?.additionalFiles]);const r=Y(),h=_.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),M=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>M(d,p))});return()=>{o.unsubscribe()}}),i.jsx(A,{...n,children:i.jsxs("form",{id:u,onSubmit:k,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:b,"data-testid":K("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:v,onDeleteFile:I,updateFilesEntity:D,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(J,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:b},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{a1 as o,M as k,j as i,hk as v,hl as j}from"./index-4pBF5Sdt.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const z=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=k.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(v,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(j,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{z as default};
1
+ import{a1 as o,M as k,j as i,hk as v,hl as j}from"./index-1Afae-x7.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const z=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=k.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(v,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(j,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{z as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-4pBF5Sdt.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-IlicpbsX-CIp9n46M.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-DiVd7shS-D-QbVmqB.js";import"./MagicLinkTitleSection-C7oqHWqv-BNwwIiLY.js";import"./BankAccountSection-3-6tRy48-TS10UTbU.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
1
+ import{j as u}from"./index-1Afae-x7.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-DuaBM5pi-Bsfl4ipB.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-BEPUwZxt-C_LY2V1e.js";import"./MagicLinkTitleSection-DT1byqwI-DnGCC5VX.js";import"./BankAccountSection-CHFSoKtQ-CqSlxhlX.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};