@zeniai/web-cockpit-ui 1.14.46-qa → 1.14.47-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 (226) hide show
  1. package/dist/assets/{ACHDetailsPage--syILfU1-B9SMulte.js → ACHDetailsPage-aTYc51Xr-C1F1HPVq.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-C9PHcZ9m-CSwqpy2H.js → AIPerformancePage-X0jCYtM_-Dajj_PUo.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-zufFLbYH-CLxyeDh-.js → AccountInfoPage-Dx3Y3u7a-DzyPx_IW.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DeUscKOY-BIIDwW2K.js → AccountInfoPageContent-9hyxOyvj-BSsUU_yS.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-DiV5MIVk-BsjDz0Sy.js → AccountLockedInfoModal-DJOB_sAg-fll74mil.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Df24sNTI-h5dLh4_O.js → AccountReconDetailsDrawerPage-CBLBMUVT-6EGS8S_h.js} +1 -1
  7. package/dist/assets/{AccountRow-D-gDxofP-By7XyTOi.js → AccountRow-COkMC9z6-D4dAraic.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CNrguaFw-DIe_0RXM.js → AccountsPromoCardStack-B0TKA_rE-CcQXvAsM.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CnKjCkiq-Dc3F3Z5s.js → AddAddressForCardDrawer-DBBW_ygt-CoqgvC6m.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-SBPIsp3g-yrQBUZm_.js → AddToWalletPage-Cy7qqaHF-C300FvQZ.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-CGN0FV9G-Cuevk1Ny.js → AgingReportsPage-LJTYoktZ-DWTTYjjO.js} +1 -1
  12. package/dist/assets/{AllUserItems-NSk_ZDaN-DXtFfq8g.js → AllUserItems-Cq-nSZod-B3AaUERo.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-gekBNl8u-B6df-8jE.js → ApAgingDetailPage-CxsG8tgq-CJg8VezM.js} +1 -1
  14. package/dist/assets/{AppBasePage-DZfMHT1p-D7EY5mjq.js → AppBasePage-DiHP_N5e-BY10VeqW.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-BbDWr_80-CYVMJb-j.js → AppDrawerContent-07l8bnfq-CSKvqfQD.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-r4PXEevj-B7-VA6Lm.js → ApprovalRulesSettingsPage-Cx1rLjH9-C_Ltncv_.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DDz9e6WP-BY6pQVBn.js → ArAgingChart-BPvPNszV-a8CSz8Qb.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BmwVAKi0-CKMBu8Me.js → ArAgingDetailPage-B27i7hBz-CCjYIiM-.js} +1 -1
  19. package/dist/assets/{AttachmentView-dC8wUD1A-BAmFWIev.js → AttachmentView-Ce-rZfQk-BSlqSlr9.js} +1 -1
  20. package/dist/assets/{BankAccountSection-dDAvWRwV-BxMkUNqJ.js → BankAccountSection-Bn4tVnuF-BKifB-w4.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CHV6yGut-DvVwmlc2.js → BankAccountWarningSection-GKmK6rZN-DZACD48w.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-DzuywfJO-3XVj5HB7.js → BankConnectionsSettingsPage-efLHWQFe-D589XB_U.js} +1 -1
  23. package/dist/assets/{BillDetailPage-C0bsxxO5-BFNM43C-.js → BillDetailPage-DKkpAZMG-SeTIAYUC.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-6X6ZFjh--BK-nAh3D.js → BillPayApprovalRuleDetailPage-MbH1c3C8-DXwAxfQY.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DZ68nsdO-Bg-gniAI.js → BillPayApprovalRulesPage-BH3upfB1-BAVEAnCw.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-Dupp9DMB-zysQgzSP.js → BillPayPromoPage-WDhvRVxp-DSooRHTy.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-qTXTQHHD-BGJggjOB.js → BillPaySetUpPage-C3rhKamR-BVMPCEUL.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-C0r0fzyn-B79vRRbQ.js → BillingSettingsPage-YJAdgtZ_-CbVZ2CKz.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-BlJsCrGg-HMfmrWjs.js → BillsBulkReviewDrawerPage-BrM9CWC2-B4iCDTat.js} +1 -1
  30. package/dist/assets/{BoxItem-C0jIrNqe-DhyHLL_1.js → BoxItem-ulH3Bhgp-DoyWtJ5-.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Dh0I2VDw-CwZRY8Nf.js → BusinessVerificationPage-0d5CYwdO-B5hjAZ-i.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-DCcLgAfF-DD0GyVQQ.js → CardNumberSubText-BvkAu7UB-D1Do5tQm.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-DukKLLKE-BPKBPKRj.js → CashbackDetailPage-BZJd6XyW-BRY1mTOL.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BhS_7ejN-Dmq4b_VY.js → ChargeCardDetailPage-CKjUyK_7-EI63_C3b.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-DPvS0lVp-CTiRNG5z.js → ChargeCardListPage-DODdNODU-DHkaajl5.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-CeO0vM1w--_WCeHU9.js → ChargeCardListTable-Mbqi4H1P-Bd7Ft3vS.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-BHcJygId-C3Q8NOlX.js → ChargeCardPromoPage-DeR-3iTY-BT7OIJwp.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-DPyAsDw_-0O-2LQBE.js → ChargeCardSetupPage-DVELUCoe-DIyl4fXM.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-BTrkI7AA-DM_vw4Fd.js → ChargeCardStatementsPage-Bld_eKmb-CNg19ZEZ.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-BEZFdQvc-BsjVpVUZ.js → ChargeCardUtils-fW7FfpSb-AR10z9iH.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-WT-vwyyH-CgXG-WuG.js → ChaseOverlay-2Otdlf5E-Bh5L7UAs.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-CltSZ5Wp-CUoE14xA.js → CheckDepositDrawerPage-B-qJ1mrW-3gQ6znM_.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-CLu0A-3k-CAbAEFc7.js → CollapsableReportTable-BTikLMZy-CPq5VhR3.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-CBeuHeZ--DGuTWalD.js → CompanyOfficerDetailsSection-zZO2eh1J-D-xmt2b-.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-jD2PB51n-DnExnnlW.js → CompanyPassportCard-0UAE79rI-B-jdvG0J.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-dyDms6h1-DGan7ZYW.js → CompanyPassportPage-DrmWGWPZ-B_z4gdKB.js} +1 -1
  47. package/dist/assets/{CompleteProfile-DPqqxn6i-B1sdhtHc.js → CompleteProfile-CluRzr-W-DDAiXIRE.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-P7_sML0C-DGlIHUHS.js → ConfettiBurst-EJvT8IrQ-BwgaF0zX.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-DFSTUJrp-BJPNHrYg.js → CreateOrEditVendorPage-DAD4YSrh-CoagSebS.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-B9wNKkH0-CTmCBE-T.js → CreditCardPaymentDrawerPage-BBNlpaft-6J9PqQGU.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-D9Wl3oG3-BJtL2Pru.js → CreditCardPaymentPlgSection-CktjAGdd-C02SMba-.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-DvGfc9aD-DEfgneuD.js → CurrencySelectField-Z_T4BQhi-COxN-MYU.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-Di_xeaIU-CPFcqzA_.js → CustomerOnboardingActivationPage-BI46q3Bq-DESxo0H8.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-CZAm4G7W-ByW6mtsb.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CWqC-t_X-BHyGwpXo.js → CustomerOnboardingDetailPageSkeleton-CGIUVfAE-3AAWT_zJ.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-CyYMBxPd-xgdSqtwp.js → CustomerOnboardingNoStepsPage-zFHqt8vr-B2yOewHT.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-DTn6NMQq-B4afQGnw.js → CustomerOnboardingPage-DRbQY2yr-n277D7g_.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-DUeYhG_T-D3NuVIlA.js → CustomerOnboardingProductSuitePage-BglzxmIP-BaPH02Kn.js} +1 -1
  59. package/dist/assets/{Dashboard-W3tlpN3d-t7zborBX.js → Dashboard-BJc01Zrg-RgvACYSo.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-BmKlBVki-fX4dAkd8.js → DashboardReportPage-C1d8VK5i-vurlF4lW.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-CyC3agvt-CpFCgkIA.js → DashboardSidebarBackgroundAnimation-DC1VJk0J-CysWCHBf.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-HP7beqdc-DaUTa9hx.js → DepositAccTransactionItem-BN0dT4ca-oNctEtSy.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-CCD5dXzH-0M2q22wv.js → DepositAccTransactionListPage-D4CLQ2zV-RbwqLCB9.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-7OXnbEeP-BfIqD6hq.js → DomesticWireDetailsPage-ai0YkB93-DkaYERr9.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-CVbHzXae-BxrVoy5L.js → DownloadOverlay-eNiRhovl-B_Sb3dth.js} +1 -1
  66. package/dist/assets/{DrawerPage-BbpOgIf_-DaSfTqY3.js → DrawerPage-_cA3LH2A-DGpoKTPP.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-BDADCpYY-CCblMZIr.js → EditPeoplePage-Bhh_BxeV-C4ip55LV.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-DIp9gLVK-B98x0esj.js → EditReimbursementDetailPage-C5aA5obB-BZuBmnJY.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-Drf_eWYE-3hxFv700.js → EntityDetailPage-CxzSbzv5-BR9vPhQJ.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-CjpSlwYo-DHfUwNT7.js → EntitySummarySection-Jt-Bgbwl-CUCvjOOE.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-B7s0JFUb-rJhQquKx.js → ExpenseAutomationOverviewPage-BnBfGZyF-D_f_8gWD.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-wVYtzHiK-Bn8XzhaO.js → ExpenseAutomationPage-CPINGlg8-Bux2Zal8.js} +63 -63
  73. package/dist/assets/{ExpressPayPage-BIe4mx0w-Cglhzhip.js → ExpressPayPage-nwL5UiPT-UG3SN8TA.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-C5qdS1Mx-BmDLgcyE.js → FeaturePreviewPage-C3ESvF_G-w9uey7NE.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-uCm-60ZT-CbTt2yrk.js → FollowStepsSection-B5affvdS-CC4gaZne.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-CZGd12z7-CCfVUjQo.js → GlobalReviewListPage-CsF47R3F-BKOuzhvv.js} +1 -1
  77. package/dist/assets/{HelpButton-BZh7cT22-BWaiDDJ0.js → HelpButton-COQrt2oX-DzMCGDGr.js} +1 -1
  78. package/dist/assets/{InformationCardStack-Ca1orjVR-B_GYs7pt.js → InformationCardStack-CzXjj7b8-z72c_jEO.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-DsF68qad-BCEH0kO-.js → InsightsCardStack-D97A5lvB-CqZqEGIc.js} +1 -1
  80. package/dist/assets/{InsightsSection-D0ZZ7KlF-pBBhRoDU.js → InsightsSection-2ILqXih8-DVpA5MVZ.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-Bbd74pLK-DvLGlRp4.js → IntegrationsSettingsPage-C02GIm78-D9a98bnd.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-Bk73k2oO-BxIyMIy9.js → InternationalWireSwiftDetailsPage-cwqfeYWq-AgZ26n0O.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage-DNXdlnbX-DS9k2d1Y.js → InternationalWireVerificationPage-BsM0qJMD-DG-IvkPp.js} +1 -1
  84. package/dist/assets/{InviteFormPage-D0h4v_NO-CqRTauBK.js → InviteFormPage-Cvvuts9_-CH1n1zwG.js} +1 -1
  85. package/dist/assets/{InvitePageListView-BFMkE9Tu-kg_GhHb9.js → InvitePageListView-C7bghm-Q-D_JwlgXA.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-oRP-EOMn-B5Vrp4cR.js → InvitePeoplePage-CZim2-oS-BCgwCbc_.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-C1Z861SF-BP0DFgEN.js → InvoiceUploadSection-DQpy2cRB-BYO7pkZD.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-BGLXn6Ko-Dt2W_6Rl.js → IssueChargeCardPage-DA0W292g-0Yrqnetr.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-Bv4KzEgZ-BtGAQlu-.js → LabeledAddressValue-BBqoyIwz-BuZPP0kB.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-BRIokwlO-DPDLkRSC.js → LabeledAddressValueField-l0XKNlaq-BRSM9eKo.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-CJExnmlN-pZO-vLVV.js → LabeledControlledCheckBoxField-CN6vZqSm-Cr0v_HbC.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-CCuk6AgV-Bsc4_gTD.js → LabeledCreatableSingleSelectField-DZIsQevy-9hx4zlye.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-D3qyVGxk-i5v90ZlX.js → LabeledDocumentField-DMEWdfq0-BSsFK7UP.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-BLgl-7Hq-liP-dBH3.js → LabeledDropDownFormattedTextField-CSUZIpw4-Bj9OQgXE.js} +1 -1
  95. package/dist/assets/{LabeledText-BQnIyfvc-CiGXfj_4.js → LabeledText-DyhIUdFx-DYQI7Oj4.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-zqrvuzP2-DCB0XXa0.js → LabeledUserSingleSelectWithSubtitlesField-CC89oZ_u-Du0GRcAB.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-BNymD4XC-C4feIup5.js → LabeledZeniRolesDropDownField-DXi_2I5i-BVMMAxfm.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-DVNS5f8U-B6n7yvfE.js → LinkJETransactionPage-BF4Qmfk0-BeEgKLJh.js} +4 -4
  99. package/dist/assets/{LowBalancePopup-RGljE6Gy-MsPJiUBc.js → LowBalancePopup-B1SB0L70-DRs6_4Ad.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-D7LUoqr8-C2_L8R3V.js → MagicLinkACHDetailsPage-Bx62Lvrk-Too4gNiU.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CP4QkcQq-nAflgaW5.js → MagicLinkDomesticWireDetailsPage-Dqqn9-Cd-VhclluXr.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-D-0OTLDt-D9TmdM7e.js → MagicLinkInternationalWireDetailsPage-l7z62GSc-CdFDNaqX.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-CqQPz8hK-CpEE5Tz8.js → MagicLinkSuccessPage-BLW5WloR-qHEmcZ_C.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-CvzFLF1d-D85XlTk1.js → MagicLinkTitleSection-C_Y0_Q8g-B7RA5zb8.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-CY9MIZVo-Bij-8Vq5.js → MailingDetailsSection-CWCOpN4f-D0dxYO1r.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-D4lzsud6-BlkR8uI2.js → MeetingCalenderPopup-CaAA-95e-B1U6_EBk.js} +1 -1
  107. package/dist/assets/{Menu-DSDvn7NT-BID2jd0P.js → Menu-r5aBVcPX-CEDXfgVi.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-CwUWREVA-PpL7QBCF.js → MyBankConnectionsSettingsPage-DxEZLt-N-DNiOVJQY.js} +1 -1
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-Dq2TaKYj-E_LlyQiW.js → MyPendingActivationChargeCardListPage-BuKZsRFM-Bu1K6iX8.js} +1 -1
  110. package/dist/assets/{MyProfileSettingsPage-BADmv6Se-CinTWIa_.js → MyProfileSettingsPage-CifOm8vx-BI0OeT7v.js} +1 -1
  111. package/dist/assets/{NavBarWithPicker-CQfjpio1-DOqEKv3R.js → NavBarWithPicker-ecFrLzuG-CUnQdZn0.js} +1 -1
  112. package/dist/assets/{NavigationArrow-C_pvSHPb-D6d0MWWl.js → NavigationArrow-1zbfgcmE-BdLBhx7f.js} +1 -1
  113. package/dist/assets/{NavigationDots-CD95Ln70-50l7FzCe.js → NavigationDots-2bNAi48B-k0PWrc4i.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-TW_3Xstm-D5iR9tHy.js → NewGlobalMerchantPage-B0O8iQck-CUVnFtbB.js} +1 -1
  115. package/dist/assets/{NoDataChart-CRt1tpsJ-DaG2TlJq.js → NoDataChart-DVB1FTW8-JpcfKKlk.js} +1 -1
  116. package/dist/assets/{NoDataTable-CDcIV82h-NHAFPOxb.js → NoDataTable-DWOVpAfA-u0_L5l-r.js} +1 -1
  117. package/dist/assets/{NotFoundPage-Bm6S-H7q-TNkn7ykw.js → NotFoundPage-BlhK0DnR-DnZMB0hX.js} +1 -1
  118. package/dist/assets/{NotificationSettingsPage-D-D5P9EO-Gb9krjYD.js → NotificationSettingsPage-D9h-cv_3-Api--9_4.js} +1 -1
  119. package/dist/assets/{NotificationsListConfig-WidehAvK-CZTBU5zj.js → NotificationsListConfig-CJzqBbvL-fegqpP2o.js} +1 -1
  120. package/dist/assets/{NotificationsPage-CfbNB9MM-CRUlx4MK.js → NotificationsPage-Bb8jGE88--EHNFTsZ.js} +1 -1
  121. package/dist/assets/{OpExByVendorPage-C8hkid96-CNaULiI1.js → OpExByVendorPage-cCbrLj0D-BbAQMT2y.js} +1 -1
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo-C_EoQPtd.js → OverlayContainerPage-Bmu909Fo-t16DnFNE.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-BtlmwFMj-TRnBUAYn.js → PandLWithForecastPage-G4lWjG0f-DxlqIkQq.js} +1 -1
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CkTQv7Wx-c9Zf9kAU.js → PaymentAccountSetupBillingAddressSection-DsnTCd1g-BBg0xXgD.js} +1 -1
  125. package/dist/assets/{PeoplePage-Bmme1KPn-CdrY84OX.js → PeoplePage-BFbEsxCG-BzoOFAW0.js} +1 -1
  126. package/dist/assets/{PortfolioAllocationFormPage-BFAm5TNr-CivfmHJ-.js → PortfolioAllocationFormPage-D1uHtLe7-CW4366Mc.js} +1 -1
  127. package/dist/assets/{PortfolioDetails-OkTxpi-C-B6RQ3PTA.js → PortfolioDetails-t8bIGJXx-CBmzVPci.js} +1 -1
  128. package/dist/assets/{ProductsCarousel-LvpG3-F1-wZyoAhyr.js → ProductsCarousel-BddjVme9-zQtZpwKJ.js} +1 -1
  129. package/dist/assets/{PromoBaseCards-Cv7K_N6u-CLGQUfmo.js → PromoBaseCards-D3KJDpH5-BzOCd7MM.js} +1 -1
  130. package/dist/assets/{QBOConnectionDialog-CUfScQXi-DtxBYIxD.js → QBOConnectionDialog-CXXyWMRA-D3LphS3j.js} +1 -1
  131. package/dist/assets/{QBOSetupSection-D9GWii9g-B2OaqOSN.js → QBOSetupSection-8vr753O6-BoaoMamx.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Dj3C1TmV-Dwvd8y0c.js → ReimbursementApprovalRuleDetailPage-4DxF-bsn-JReeMtWG.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-C2agT3nK-RYG9Zr2I.js → ReimbursementApprovalRulesPage-B8VB00Ys-C_GNgoO8.js} +1 -1
  134. package/dist/assets/{ReimbursementDetailPage-BuzGiN7H-BBq8gZGx.js → ReimbursementDetailPage-B3eXWVu_-C0b-9wxm.js} +1 -1
  135. package/dist/assets/{ReimbursementPromoPage-BK0BX0j6-BVX_EvxV.js → ReimbursementPromoPage-CZSp2B03-C2qo1ech.js} +1 -1
  136. package/dist/assets/{ReimbursementSetUpPage-BGC_ZClc-CJCG8RLm.js → ReimbursementSetUpPage-B2xoCrQQ-DP82ecwV.js} +1 -1
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-COt4v5HI-BrN3dvgZ.js → ReimbursementsBulkReviewDrawerPage-CP0GBWSz-CnJViZkd.js} +1 -1
  138. package/dist/assets/{ReloadCard-DicisRG0-B1YhEwBn.js → ReloadCard-BgQhOfRW-Bs85GxaN.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-BXl7f3Pv-CDoaU7TA.js → ReportTableViewSelector-lD-WdOy3-sXP4nlcM.js} +1 -1
  140. package/dist/assets/{ReportsPage-CFzHNZAT-C3XhkL-1.js → ReportsPage-SBj5iXie-B3niN5Xn.js} +1 -1
  141. package/dist/assets/{RevenueChart-B6v1tDMc-D1zwcTdr.js → RevenueChart-Bt1neNVP-DXNXYEd6.js} +1 -1
  142. package/dist/assets/{ReviewDetailsPage-v-ftm50C-BrjZ6vGf.js → ReviewDetailsPage-CpQj99Qb-DXbRhEAO.js} +1 -1
  143. package/dist/assets/{ReviewOverlay-D80OVH3g-DZzXd63f.js → ReviewOverlay-ByJYZZ8h-XZfyr2Ra.js} +1 -1
  144. package/dist/assets/{RoleWithToolTip-BLRFyqKt-PQ5Csr4L.js → RoleWithToolTip-DC3qy-Pk-DGTPKSil.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-AwnLkcH4-BE3r95R-.js → ScheduleDetailsFixedAssetsPage-CZSXWRtp-BWv6aA2z.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsPage-DQ18Ge_f-BA2hQHBn.js → ScheduleDetailsPage-DV-UMy5n-BaRWQ19W.js} +1 -1
  147. package/dist/assets/{ScheduleSequenceTable-C7BoKuLd-ZgutDKyj.js → ScheduleSequenceTable-g4vqQpwx-C0rIDRSk.js} +1 -1
  148. package/dist/assets/{ScreenRoutes-sr1kSQtz.js → ScreenRoutes-DeQfzDJz.js} +1 -1
  149. package/dist/assets/{SetUpAccountSection-CRYndaTf-CH_tIvnq.js → SetUpAccountSection-CTBtO2N2-CrkO9OG6.js} +1 -1
  150. package/dist/assets/{SetUpDefaultSection-BFsDk94Y-VMM-1ml6.js → SetUpDefaultSection-CXIQhQdd-BS_7M4GT.js} +1 -1
  151. package/dist/assets/{SignIn-DyuSa8z8-Levn_uVB.js → SignIn-8Qzfb-ML-CX78tjCb.js} +1 -1
  152. package/dist/assets/{SignInScreen-aOyaZ24n.js → SignInScreen-DZCziuLm.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-B8JdqiZT-vIV4h0oI.js → SpendManagementListViewPage-XRKpo66r-CCzHLMuc.js} +3 -3
  154. package/dist/assets/{SpendManagementPerTabPage-BsbTGRhc-D8kKeGwv.js → SpendManagementPerTabPage-DCzaAg5_-DnT0Jh7b.js} +1 -1
  155. package/dist/assets/{SpendManagementSection-BSagxXbA-DxueXvmS.js → SpendManagementSection-CIGWntD1-8Y2KgQKW.js} +1 -1
  156. package/dist/assets/{SpendMgmtSetupAccountSection-CnUAUXQu-Dja0jSMA.js → SpendMgmtSetupAccountSection-EFLwpIsc-BS9VwuhA.js} +1 -1
  157. package/dist/assets/{StatementItem-Nz1Cw2Na-BUWk7zEc.js → StatementItem-DBrH7VxB-Cxbw2Xyx.js} +1 -1
  158. package/dist/assets/{StatementsPage-xVxtuZJm-Bz9OuIKP.js → StatementsPage-14W8QRuc-DFQGe88D.js} +1 -1
  159. package/dist/assets/{StatusSwitcher-D-nXxItD-XT-PRXmJ.js → StatusSwitcher-Bc1YjzA2-C6Ge3kUi.js} +1 -1
  160. package/dist/assets/{SubTabSwitcher-BGPV9-bA-DSjX9xS_.js → SubTabSwitcher-CYkqW6KU-DnYIhzYl.js} +1 -1
  161. package/dist/assets/{SummaryCard-D5wEwe5n-BFBshNt6.js → SummaryCard-BCWWc9ky-mfm8GuQR.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-BwSjYaE4-TpcV-sgE.js → TaskManagementPage-ByiGVOvO-F-1AS2Wy.js} +1 -1
  163. package/dist/assets/{TimeRangeSwitcher-526_d3T2-DLXSPdGg.js → TimeRangeSwitcher-DAv5fZf9-DTJgtu4j.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcher-C6LtTgVk-Vet6JN62.js → TimeframeSwitcher-DuE5Ij9a-D_56OGW7.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-DsbKCFMf-DolJJbdZ.js → TimeframeSwitcherWithToggle-D2bWFmv2-BT6zUtfo.js} +1 -1
  166. package/dist/assets/{TopExCard-DvjdpI7S-DsZYfK-d.js → TopExCard-D2XGVr9A-vnGCIOut.js} +1 -1
  167. package/dist/assets/{TopExDetailPage-BIsPQ7dQ-BTUuA2en.js → TopExDetailPage-CW72OuYz-yNd1QGKY.js} +1 -1
  168. package/dist/assets/TransactionDetailPage-9UkwTR4Z-BiqGsF3z.js +912 -0
  169. package/dist/assets/{TransactionList-CtTDxJZI-OKQhqUrD.js → TransactionList-ietybHPX-0QOU9e6b.js} +1 -1
  170. package/dist/assets/{TransactionListBig-C5WN4Z9R-FaxK-nef.js → TransactionListBig-CImw-DuN-DO2JqFEj.js} +1 -1
  171. package/dist/assets/{TransactionListPage-DT6-g_bp-C_0WaZQ2.js → TransactionListPage-Wf8pCEet-DXiF_-U2.js} +1 -1
  172. package/dist/assets/{TransactionVendorDetailPage-D6BFJ0K9-Cy3-Yuhp.js → TransactionVendorDetailPage-De43f8hV-CkP49sAb.js} +1 -1
  173. package/dist/assets/{TransferDrawerPage-C2Cim8e--BJGLoLxH.js → TransferDrawerPage-DWZIGvKV-WkXRZpoX.js} +1 -1
  174. package/dist/assets/{TreasuryOverviewPage-Cj-2Z2gC-BYVZlnhM.js → TreasuryOverviewPage-DqY6cLQK-CHUh1TwA.js} +1 -1
  175. package/dist/assets/{TreasuryPromoPage-CgvANRdz-Bg8UjmR0.js → TreasuryPromoPage-860OBCJZ-D8WtLOki.js} +1 -1
  176. package/dist/assets/{TreasurySetupPage-CmkhmTXP-BiHx-955.js → TreasurySetupPage-qx5Bkp8D-X1VexfCR.js} +1 -1
  177. package/dist/assets/{TreasuryStatementsPage-C_ZcfWaA-BRK04FCK.js → TreasuryStatementsPage-BBLe40p3-XC6taSRD.js} +1 -1
  178. package/dist/assets/{TreasuryTaxLetterPage-Cc8opJIX-8VejuSeg.js → TreasuryTaxLetterPage-g5az8RTF-CAWpZCVs.js} +1 -1
  179. package/dist/assets/{TreasuryTransferOrReviewPage-DF5Rqu8e-Da9LxSc9.js → TreasuryTransferOrReviewPage-BoFF-bna-BXaJiZaF.js} +1 -1
  180. package/dist/assets/{TrendChart-C74g1AEy-Imdd1-MG.js → TrendChart-wr5WIfKD-DWjGFRlo.js} +1 -1
  181. package/dist/assets/{TrendWithTransactions-Ct1r_X3l-CerpXQgu.js → TrendWithTransactions-D2zxfMK6-BJSA0eIu.js} +1 -1
  182. package/dist/assets/{UncategorizedAccountsMappingPage-yoX6L7gv-_yxXPEtW.js → UncategorizedAccountsMappingPage-C6r6V08i-B4Y6tV6L.js} +1 -1
  183. package/dist/assets/{UnitIntegrationPage-Dv889hCl-BnpSJbqJ.js → UnitIntegrationPage-D1x3v9Gk-CniCEPEh.js} +1 -1
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-DL23btxR-DTDKMyPu.js → UploadAdditionalDocumentOverlay-CkmIxQkI-f-1wilOs.js} +1 -1
  185. package/dist/assets/{Vendor2FAPopup-CEZdlZ0d-DuXwSBQ-.js → Vendor2FAPopup-Db3DMkcT-Bdm6QnJ6.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-DNjVJ1l9-C1W9VT9D.js → VendorACHDetailsPage-DR3LqsST-DUNpzOnV.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-CtCQ_Go4-CDf9uavS.js → VendorDetailPage-D3QGr-pz-Dv17YPRy.js} +1 -1
  188. package/dist/assets/{VendorDomesticWireDetailsPage-BGRUZzV5-BBDOQOPD.js → VendorDomesticWireDetailsPage--bOPCKsx-BRy04Sfv.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-D6vRhOFW-CU56Zp8l.js → VendorFiling1099EditablePage-BCHuhF3x-CzwpyxaJ.js} +1 -1
  190. package/dist/assets/{VendorFirstReviewPage-B4BbdaKq-BRmOH8tt.js → VendorFirstReviewPage-7lNoCtJd-Cvkxy8dv.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireDetailsPage-DfUQQV53-D4nBdUbP.js → VendorInternationalWireDetailsPage-BKja_BeQ-BPOkDQ6L.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DB2bs1nX-kIiC7Pax.js → VendorInternationalWireSwiftDetailsPage-BU7akKA7-DBGOtvjW.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-B74xTqeg-BjNWfqiN.js → VendorsAccountsSection-DUUeE27C-BJ2NLWkJ.js} +1 -1
  194. package/dist/assets/{VerifyDevice-C4SVFWfe-B03sSldf.js → VerifyDevice-Bq2JQdFQ-DRISKGyV.js} +1 -1
  195. package/dist/assets/{VideoPlayer-Cioog4TG-nXNaLy3z.js → VideoPlayer-BO44yY9I-DkIU-YXX.js} +1 -1
  196. package/dist/assets/{VideoPopup-BKgRyZUf-Ce2_zEbA.js → VideoPopup-CGxCsA2n-CF7e4Ztp.js} +1 -1
  197. package/dist/assets/{WarningsDrawerPage-Bg-KsavE-mNW6GcCm.js → WarningsDrawerPage-DQe1wYJx-qPZptyKF.js} +1 -1
  198. package/dist/assets/{ZeniAccountDetailPage-By5RV9_L-mkjuHi3J.js → ZeniAccountDetailPage-PvGx4G0J-CSnqNKB9.js} +1 -1
  199. package/dist/assets/{ZeniAccountListViewPage-BproEfmr-g0WqBJGi.js → ZeniAccountListViewPage-CjFOZU7z-DvvaM5D2.js} +1 -1
  200. package/dist/assets/{ZeniAccountNavBarPieces-Cvs4x9iH-Da6DEicp.js → ZeniAccountNavBarPieces-Bl2KSpG4-CCHLm23i.js} +1 -1
  201. package/dist/assets/{ZeniAccountPromoPage-DPdoSB9H-BfMBcHan.js → ZeniAccountPromoPage-Bq8_AYTZ-Cx1MlikB.js} +1 -1
  202. package/dist/assets/{ZeniAccountSetupPage-ChLPQ2bx-CXYIpO17.js → ZeniAccountSetupPage-B11NHszy-DinsHxS3.js} +1 -1
  203. package/dist/assets/{ZeniCopyright-DohfTKh2-DGp3-7sk.js → ZeniCopyright-D-Hzee6E-BDkHmM8g.js} +1 -1
  204. package/dist/assets/{ZeniTransferAmountSlider-B7wjpsuR-DPr4MMes.js → ZeniTransferAmountSlider-D7vxmkxJ-BQHPCJmW.js} +1 -1
  205. package/dist/assets/{analyticsHelper-D4J42YHj.js → analyticsHelper-BIQ9L-EI.js} +1 -1
  206. package/dist/assets/{analyticsHelper-nAbM99rB-JvnSWYt-.js → analyticsHelper-BuFK9-t2-CjaWnvpX.js} +1 -1
  207. package/dist/assets/{chartTypes-V-x4cCxs-Cv1M1Njm.js → chartTypes-BeWpEHsD-0DeNHMwF.js} +1 -1
  208. package/dist/assets/{commonDimensions-DM4fZd5e-DmpfE2xf.js → commonDimensions-BXTyBb11-BJ8JxG1r.js} +1 -1
  209. package/dist/assets/{detailCommon-D9VWH3GS-CyNF-wvZ.js → detailCommon-D8YHBhNW-DknXRRJp.js} +1 -1
  210. package/dist/assets/{downloadPdf-qKKYFj-M-Cub-z5fm.js → downloadPdf-QmjxILNp-xDI--zpN.js} +1 -1
  211. package/dist/assets/{index-wPq1HPgw.js → index-BrOecDhr.js} +122 -122
  212. package/dist/assets/{mapLoadingInProgressToTreeNode-D7kWYmPh-DKLWwKrf.js → mapLoadingInProgressToTreeNode-UTrwHX36-nq5vNdK7.js} +1 -1
  213. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-jZUBfLPj-Cm6_85kM.js → mapSectionWithAcOnlyToTreeNode-uMOefjfH-MTjwhTlY.js} +1 -1
  214. package/dist/assets/{mapSpacerToTreeNode-DBILIDOx-DeIS52_s.js → mapSpacerToTreeNode-DSldUxM--BA669Oip.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-DQuI_wt3-CbExD7M6.js → mapTimeframeBalancesToTreeNode-B0VWLas7-B3sZcJLM.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-DEm31xu_-efttRQf3.js → mapTimeframeBalancesToTreeNode-CJT0f_FX-jeWaKZOo.js} +1 -1
  217. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B6ZeH2F7-IUoUo1PI.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BgH8fPhv-BXLJTSDz.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-CJao20O7-CJRr4f5m.js → toCOABalancesWithID-BC4hEk4v-dX5CNbOR.js} +1 -1
  219. package/dist/assets/{toChartData-DrQ08_nY-BMwrU8FS.js → toChartData-Dn6RzL-C-A4ExOcdY.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-DvNvYEVT-C52WKPuZ.js → treasuryColorHelper-0WRygmI_-CyLBFH1A.js} +1 -1
  221. package/dist/assets/{uploadAttachment-Cr0aSgEE-DPKcMmZm.js → uploadAttachment-DYn7wkG0-CaiTD7a3.js} +1 -1
  222. package/dist/assets/{uploadReceipts-dxsKhm9I-D8GMJm_n.js → uploadReceipts-dxsKhm9I-DWEBKo-0.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +3 -3
  225. package/dist/assets/CustomerOnboardingContainerPage-BwUAKpl2-C3QKzZE_.js +0 -1
  226. package/dist/assets/TransactionDetailPage-4BK7dglg-C55sJfOq.js +0 -912
@@ -1,4 +1,4 @@
1
- import{bJ as rt,e as B,j as e,aj as st,W as u,de as nt,R as y,df as lt,d9 as dt,dg as ct,o as a,f as Z,b_ as mt,C as V,l as m,m as ft,x as j,q as b,w as xt,dh as W,cz as J,a0 as _,n as ut}from"./index-wPq1HPgw.js";import{b as g,n,f as ht}from"./vendor-rkTZJa59.js";import{g as X}from"./BoxItem-C0jIrNqe-DhyHLL_1.js";import{o as E}from"./commonDimensions-DM4fZd5e-DmpfE2xf.js";const F=t=>t?24:125,pt={containerPaddingBottom:new V(b[9],b[8])},q=n.div`
1
+ import{bJ as rt,e as B,j as e,aj as st,W as u,de as nt,R as y,df as lt,d9 as dt,dg as ct,o as a,f as Z,b_ as mt,C as V,l as m,m as ft,x as j,q as b,w as xt,dh as W,cz as J,a0 as _,n as ut}from"./index-BrOecDhr.js";import{b as g,n,f as ht}from"./vendor-rkTZJa59.js";import{g as X}from"./BoxItem-ulH3Bhgp-DoyWtJ5-.js";import{o as E}from"./commonDimensions-BXTyBb11-BJ8JxG1r.js";const F=t=>t?24:125,pt={containerPaddingBottom:new V(b[9],b[8])},q=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{C as a,e as L,Y as N,K as ie,ab as ne,l as D,j as t,W as x,aj as re,R as w,q as n,v as ae,f as B,o,X as j,g as Q,aM as se,aN as le,w as de,r as ce,a0 as me,aO as pe,p as he,m as ge,Q as Y,I as G,aP as X,a6 as ee}from"./index-wPq1HPgw.js";import{b as U,n as i,f,j as ue}from"./vendor-rkTZJa59.js";import{G as xe,c as we}from"./AccountsPromoCardStack-CNrguaFw-DIe_0RXM.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./SummaryCard-D5wEwe5n-BFBshNt6.js";import"./ReloadCard-DicisRG0-B1YhEwBn.js";import"./NavigationArrow-C_pvSHPb-D6d0MWWl.js";import"./NavigationDots-CD95Ln70-50l7FzCe.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
1
+ import{C as a,e as L,Y as N,K as ie,ab as ne,l as D,j as t,W as x,aj as re,R as w,q as n,v as ae,f as B,o,X as j,g as Q,aM as se,aN as le,w as de,r as ce,a0 as me,aO as pe,p as he,m as ge,Q as Y,I as G,aP as X,a6 as ee}from"./index-BrOecDhr.js";import{b as U,n as i,f,j as ue}from"./vendor-rkTZJa59.js";import{G as xe,c as we}from"./AccountsPromoCardStack-B0TKA_rE-CcQXvAsM.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./SummaryCard-BCWWc9ky-mfm8GuQR.js";import"./ReloadCard-BgQhOfRW-Bs85GxaN.js";import"./NavigationArrow-1zbfgcmE-BdLBhx7f.js";import"./NavigationDots-2bNAi48B-k0PWrc4i.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,be=i.div`
@@ -1,4 +1,4 @@
1
- import{u as A,aV as z,aW as M,j as o,W as u,aX as W,m as J,aY as V,o as n,x as X}from"./index-wPq1HPgw.js";import{b as r,n as l}from"./vendor-rkTZJa59.js";import{f as Z}from"./TransactionList-CtTDxJZI-OKQhqUrD.js";import{t as _}from"./page-detail-CWX5S47F-BBa5wfAm.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BoxItem-C0jIrNqe-DhyHLL_1.js";import"./commonDimensions-DM4fZd5e-DmpfE2xf.js";const q=l.div`
1
+ import{u as A,aV as z,aW as M,j as o,W as u,aX as W,m as J,aY as V,o as n,x as X}from"./index-BrOecDhr.js";import{b as r,n as l}from"./vendor-rkTZJa59.js";import{f as Z}from"./TransactionList-ietybHPX-0QOU9e6b.js";import{t as _}from"./page-detail-CWX5S47F-BBa5wfAm.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BoxItem-ulH3Bhgp-DoyWtJ5-.js";import"./commonDimensions-BXTyBb11-BJ8JxG1r.js";const q=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{e as k,R as A,j as o,m as W,W as D,a4 as q,o as a,C as g,a3 as X,X as J,cB as U,a as Y,gB as F,gC as M,gD as R,ca as _,F as G,q as s,u as K,cd as Q,gf as z,gI as Z,am as ee,gM as oe,gN as te}from"./index-wPq1HPgw.js";import{b as I,n as d}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:v,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:h,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=k(),y=K(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",r=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(B=>B.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":D("vendor-details-section",h),children:[o.jsx(re,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Q,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>r(n),defaultValue:{selectedOption:v,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:R(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=d.div`
1
+ import{e as k,R as A,j as o,m as W,W as D,a4 as q,o as a,C as g,a3 as X,X as J,cB as U,a as Y,gB as F,gC as M,gD as R,ca as _,F as G,q as s,u as K,cd as Q,gf as z,gI as Z,am as ee,gM as oe,gN as te}from"./index-BrOecDhr.js";import{b as I,n as d}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:v,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:h,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=k(),y=K(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",r=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(B=>B.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":D("vendor-details-section",h),children:[o.jsx(re,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Q,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>r(n),defaultValue:{selectedOption:v,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:R(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{j as t,e as ue,W as A,gV as lt,R as I,a0 as J,Q as ve,h3 as ct,m as Ye,a4 as $e,o as a,C as c,a3 as Ne,T as dt,ao as ut,r as ft,c7 as De,w as be,x as fe,a2 as ce,f2 as pt,a as Xe,l as mt,ca as ht,ab as gt,a1 as wt,f as Q,F as qe,fb as ke,fc as Ae,fK as xt,bp as ye,fF as $t,h4 as Dt,q as o,d1 as bt,bO as Je,bw as yt,cG as Tt,b6 as Ct,n as Ge,f7 as St,ds as vt,by as Qe,fe as kt,fg as At}from"./index-wPq1HPgw.js";import{b as u,n}from"./vendor-rkTZJa59.js";import{v as Pt}from"./ZeniTransferAmountSlider-B7wjpsuR-DPr4MMes.js";import{r as Lt}from"./AccountInfoPageContent-DeUscKOY-BIIDwW2K.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./downloadPdf-qKKYFj-M-Cub-z5fm.js";import"./commonDimensions-DM4fZd5e-DmpfE2xf.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ue=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:U}){const i=ue(),E=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),H=r.transferMoneyPartiesFetchState,oe=ce(H),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),He=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const F={...h},le={amount:{amount:F[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===F[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===F[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:F})=>{if(F!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:F})=>{F!=null&&h!=null&&ht(()=>at(F,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),U())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Bt,{children:t.jsxs(Rt,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Q.heroLight}})})]})}):null,t.jsx(Yt,{children:J("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ue(Ke),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Re,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Re,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Jt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:B,setTotalBalance:M})]}):null,t.jsxs(Gt,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Qt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${J("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Ut,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${J("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Be,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Fe,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Be,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Fe,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Ft(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Ft=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Bt=n.div`
1
+ import{j as t,e as ue,W as A,gV as lt,R as I,a0 as J,Q as ve,h3 as ct,m as Ye,a4 as $e,o as a,C as c,a3 as Ne,T as dt,ao as ut,r as ft,c7 as De,w as be,x as fe,a2 as ce,f2 as pt,a as Xe,l as mt,ca as ht,ab as gt,a1 as wt,f as Q,F as qe,fb as ke,fc as Ae,fK as xt,bp as ye,fF as $t,h4 as Dt,q as o,d1 as bt,bO as Je,bw as yt,cG as Tt,b6 as Ct,n as Ge,f7 as St,ds as vt,by as Qe,fe as kt,fg as At}from"./index-BrOecDhr.js";import{b as u,n}from"./vendor-rkTZJa59.js";import{v as Pt}from"./ZeniTransferAmountSlider-D7vxmkxJ-BQHPCJmW.js";import{r as Lt}from"./AccountInfoPageContent-9hyxOyvj-BSsUU_yS.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./downloadPdf-QmjxILNp-xDI--zpN.js";import"./commonDimensions-BXTyBb11-BJ8JxG1r.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ue=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:U}){const i=ue(),E=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),H=r.transferMoneyPartiesFetchState,oe=ce(H),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),He=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const F={...h},le={amount:{amount:F[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===F[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===F[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:F})=>{if(F!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:F})=>{F!=null&&h!=null&&ht(()=>at(F,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),U())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Bt,{children:t.jsxs(Rt,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Q.heroLight}})})]})}):null,t.jsx(Yt,{children:J("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ue(Ke),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Re,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Re,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Jt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:B,setTotalBalance:M})]}):null,t.jsxs(Gt,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Qt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${J("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Ut,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${J("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Be,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Fe,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Be,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Fe,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Ft(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Ft=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Bt=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{e as C,u as M,b as Ke,bJ as Fe,j as t,R as L,a0 as V,bp as re,aX as We,v as ie,W as E,m as Ve,o as i,w as k,f as w,b6 as Ee,C as y,cV as _,X as B,l as W,q as p,gY as le,at as de,aw as ce,av as he,au as pe,b9 as Ue,bg as Le,a6 as Me,Y as Ge,fr as Xe,gs as Je,Q as _e,x as A,af as Qe,iB as qe,jc as Ze,aA as et,eK as tt,d7 as it,f7 as ot,ka as nt,ie as Ae,ig as Re,b_ as rt,ia as at,ib as st,bn as lt,n as U,c3 as xe,id as dt,c6 as ct}from"./index-wPq1HPgw.js";import{b as f,n as o,f as ht,j as ge}from"./vendor-rkTZJa59.js";import{s as pt}from"./commonDimensions-DM4fZd5e-DmpfE2xf.js";import{g as me}from"./BoxItem-C0jIrNqe-DhyHLL_1.js";import{l as ae,d as xt}from"./treasuryColorHelper-DvNvYEVT-C52WKPuZ.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-DYG2_sCF.js";import{o as mt}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Re),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function wt({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const h=M(),l=C(),[r,u]=f.useState(oe());f.useEffect(()=>{const c=[...r];for(const s of c)s.key===n.sortKey?s.sortOrder=n.sortOrder:s.sortOrder="ascending";u(c)},[n.sortKey,n.sortOrder]);const d=(c,s)=>{let m=s;n.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),a(c,m)},g=r.find(c=>c.key===n.sortKey)??r[0],x=c=>r.find(s=>s.key===c)?.value??"",$=r.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(lt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:n.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:n.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:n.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:r.map(c=>c.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":E("cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:n.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:n.sortKey===c.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===c.key&&c.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",n.sortKey)})})]},c.key))})})}const $t=ht.memo(wt),jt=o.div`
1
+ import{e as C,u as M,b as Ke,bJ as Fe,j as t,R as L,a0 as V,bp as re,aX as We,v as ie,W as E,m as Ve,o as i,w as k,f as w,b6 as Ee,C as y,cV as _,X as B,l as W,q as p,gY as le,at as de,aw as ce,av as he,au as pe,b9 as Ue,bg as Le,a6 as Me,Y as Ge,fr as Xe,gs as Je,Q as _e,x as A,af as Qe,iB as qe,jc as Ze,aA as et,eK as tt,d7 as it,f7 as ot,ka as nt,ie as Ae,ig as Re,b_ as rt,ia as at,ib as st,bn as lt,n as U,c3 as xe,id as dt,c6 as ct}from"./index-BrOecDhr.js";import{b as f,n as o,f as ht,j as ge}from"./vendor-rkTZJa59.js";import{s as pt}from"./commonDimensions-BXTyBb11-BJ8JxG1r.js";import{g as me}from"./BoxItem-ulH3Bhgp-DoyWtJ5-.js";import{l as ae,d as xt}from"./treasuryColorHelper-0WRygmI_-CyLBFH1A.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-DYG2_sCF.js";import{o as mt}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Re),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function wt({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const h=M(),l=C(),[r,u]=f.useState(oe());f.useEffect(()=>{const c=[...r];for(const s of c)s.key===n.sortKey?s.sortOrder=n.sortOrder:s.sortOrder="ascending";u(c)},[n.sortKey,n.sortOrder]);const d=(c,s)=>{let m=s;n.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),a(c,m)},g=r.find(c=>c.key===n.sortKey)??r[0],x=c=>r.find(s=>s.key===c)?.value??"",$=r.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(lt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:n.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:n.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:n.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:r.map(c=>c.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":E("cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:n.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:n.sortKey===c.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===c.key&&c.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",n.sortKey)})})]},c.key))})})}const $t=ht.memo(wt),jt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{u as ae,e as A,Y as Ce,b as we,a2 as $e,l as fe,R as O,j as r,aX as ye,o as i,iB as ke,bp as je,w as j,Q as J,W as Q,X as $,r as F,f as a,C as z,x as R,d7 as be,br as Se,T as ze,n as ve,cP as Le,q as h,dM as Me,ay as Be,c7 as Pe,a3 as Ee,v as K,cB as Te}from"./index-wPq1HPgw.js";import{b as s,n as t,f as Ie}from"./vendor-rkTZJa59.js";import{x as We}from"./MeetingCalenderPopup-D4lzsud6-BlkR8uI2.js";import{z as De}from"./VideoPlayer-Cioog4TG-nXNaLy3z.js";import{l as _e}from"./treasuryColorHelper-DvNvYEVT-C52WKPuZ.js";import{r as Re}from"./auto-transfer-rule-mbafm5D3-DsDlaCxy.js";import{o as He}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const Ge=({isOpen:e,onClose:C})=>{const c=A(),x=O.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Le,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ne,{windowSize:c,children:[r.jsx(Ae,{children:r.jsx(qe,{onClick:C})}),r.jsxs(Oe,{children:[r.jsx(Fe,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(Z,{children:x.agreementDrawer.intro}),r.jsx(G,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(re,{children:p},w))}),r.jsx(G,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ve,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Xe,{children:p.links.map((g,k)=>r.jsx(Ue,{children:g.link!==""?r.jsx(ee,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(Z,{style:{marginTop:i.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(G,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(re,{children:p},w))})]})]})})},Ne=t.div`
1
+ import{u as ae,e as A,Y as Ce,b as we,a2 as $e,l as fe,R as O,j as r,aX as ye,o as i,iB as ke,bp as je,w as j,Q as J,W as Q,X as $,r as F,f as a,C as z,x as R,d7 as be,br as Se,T as ze,n as ve,cP as Le,q as h,dM as Me,ay as Be,c7 as Pe,a3 as Ee,v as K,cB as Te}from"./index-BrOecDhr.js";import{b as s,n as t,f as Ie}from"./vendor-rkTZJa59.js";import{x as We}from"./MeetingCalenderPopup-CaAA-95e-B1U6_EBk.js";import{z as De}from"./VideoPlayer-BO44yY9I-DkIU-YXX.js";import{l as _e}from"./treasuryColorHelper-0WRygmI_-CyLBFH1A.js";import{r as Re}from"./auto-transfer-rule-mbafm5D3-DsDlaCxy.js";import{o as He}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const Ge=({isOpen:e,onClose:C})=>{const c=A(),x=O.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Le,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ne,{windowSize:c,children:[r.jsx(Ae,{children:r.jsx(qe,{onClick:C})}),r.jsxs(Oe,{children:[r.jsx(Fe,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(Z,{children:x.agreementDrawer.intro}),r.jsx(G,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(re,{children:p},w))}),r.jsx(G,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ve,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Xe,{children:p.links.map((g,k)=>r.jsx(Ue,{children:g.link!==""?r.jsx(ee,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(Z,{style:{marginTop:i.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(G,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(re,{children:p},w))})]})]})})},Ne=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{b as Me,u as Ue,e as ae,a2 as se,a as re,ca as le,R as ce,a8 as te,j as t,cP as Re,f as He,C as u,aX as _e,m as Ne,F as de,dO as qe,aS as Ge,q as n,Q as Je,bp as Xe,W as Qe,cg as Ye,a4 as Ze,o as i,x as ue,c7 as Ke,a3 as et,X as tt,g as it}from"./index-wPq1HPgw.js";import{b as a,n as o}from"./vendor-rkTZJa59.js";import{D as ot}from"./HelpButton-BZh7cT22-BWaiDDJ0.js";import{r as nt}from"./verification-CW6uEyev-BVrJsi0i.js";import{q as ie}from"./SetUpDefaultSection-BFsDk94Y-VMM-1ml6.js";import{f as at}from"./SpendMgmtSetupAccountSection-CnUAUXQu-Dja0jSMA.js";import st from"./PortfolioAllocationFormPage-BFAm5TNr-CivfmHJ-.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-D4lzsud6-BlkR8uI2.js";import"./ChargeCardUtils-BEZFdQvc-BsjVpVUZ.js";import"./CreditCardPaymentPlgSection-D9Wl3oG3-BJtL2Pru.js";import"./ChaseOverlay-WT-vwyyH-CgXG-WuG.js";import"./PortfolioDetails-OkTxpi-C-B6RQ3PTA.js";import"./treasuryColorHelper-DvNvYEVT-C52WKPuZ.js";const rt=(e,f)=>`${e}.${f}`,E={labelWidth:new u(145,155),navBarContainerPaddingYaxis:new u(10,n[3]),containerPaddingLeft:new u(n[3],n[6],n[8]),containerPaddingRight:new u(n[3],n[6],n[8])},lt={stepTitle:new tt("h6Regular","h5Regular")},pe=ce.getLocalizedStrings(),{common:oe}=pe,h=pe.commonSetUp.businessVerification,J=h.sourceOfFundOptions,$="additionalVerificationFields",ct=({companyOfficer:e,companyDetails:f,updateStatus:c,isDetailsSubmitted:x,onClose:d,onAdditionalVerificationFieldsChanged:I,onSendForVerificationClick:B,onCloseOverlay:j})=>{const p=ae(),k=E.labelWidth.value(p),D=se(c.fetchState),C=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[$]:{sourceOfFunds:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(J)}}}),[f?.sourceOfFunds])}),W=m=>J[m]??m,M=C.handleSubmit(()=>{B(e?.officerType??"Officer_1")}),P=async(m,w)=>{I(w[$])};return a.useEffect(()=>{const m=C.watch((w,{name:O})=>{O!=null&&w!=null&&le(()=>P(O,w))});return()=>{m.unsubscribe()}}),D==="In-Progress"&&c.fetchState==="Completed"||x===!0?t.jsxs(gt,{children:[t.jsxs(xt,{children:[t.jsx(nt,{}),t.jsx(ht,{windowSize:p,children:h.submittedTitle}),t.jsx(ft,{children:h.submittedDescription})]}),t.jsx(Je,{label:h.submittedButton,onClick:j,variant:"primary"})]}):t.jsxs(dt,{windowSize:p,children:[t.jsx(ut,{windowSize:p,children:t.jsx(Xe,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":Qe("nav-bar-back-portfolio-allocation"),onClick:j||d})})}),t.jsxs(wt,{windowSize:p,children:[t.jsx(yt,{windowSize:p,children:h.verifyBusinessDetails}),t.jsx(bt,{children:t.jsxs(kt,{children:[t.jsx(Ct,{}),t.jsx(vt,{})]})})]}),t.jsx(he,{children:h.verifyBusinessDetailsDescription}),t.jsx(de,{...C,children:t.jsxs("form",{id:$,onSubmit:M,children:[t.jsx(mt,{children:t.jsx(Ye,{label:{label:h.sourceOfFundsLabel,width:k},style:{width:"auto"},additionalInfoLabel:h.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:rt($,"sourceOfFunds"),placeholder:h.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:W,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(J)},registerOptions:{required:!0,validate:m=>!!m?.selectedOption}},isFunctional:!0,errorInfoLabel:h.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ze,{formId:$,primaryBtn:{label:oe.footer.submit,style:{width:"auto",minWidth:p==="small"?"auto":"83px"},isLoading:c.fetchState==="In-Progress"},cancelBtn:{label:oe.footer.back,style:{width:p==="small"?"auto":"83px"},onClick:d},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},dt=o.div`
1
+ import{b as Me,u as Ue,e as ae,a2 as se,a as re,ca as le,R as ce,a8 as te,j as t,cP as Re,f as He,C as u,aX as _e,m as Ne,F as de,dO as qe,aS as Ge,q as n,Q as Je,bp as Xe,W as Qe,cg as Ye,a4 as Ze,o as i,x as ue,c7 as Ke,a3 as et,X as tt,g as it}from"./index-BrOecDhr.js";import{b as a,n as o}from"./vendor-rkTZJa59.js";import{D as ot}from"./HelpButton-COQrt2oX-DzMCGDGr.js";import{r as nt}from"./verification-CW6uEyev-BVrJsi0i.js";import{q as ie}from"./SetUpDefaultSection-CXIQhQdd-BS_7M4GT.js";import{f as at}from"./SpendMgmtSetupAccountSection-EFLwpIsc-BS9VwuhA.js";import st from"./PortfolioAllocationFormPage-D1uHtLe7-CW4366Mc.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-CaAA-95e-B1U6_EBk.js";import"./ChargeCardUtils-fW7FfpSb-AR10z9iH.js";import"./CreditCardPaymentPlgSection-CktjAGdd-C02SMba-.js";import"./ChaseOverlay-2Otdlf5E-Bh5L7UAs.js";import"./PortfolioDetails-t8bIGJXx-CBmzVPci.js";import"./treasuryColorHelper-0WRygmI_-CyLBFH1A.js";const rt=(e,f)=>`${e}.${f}`,E={labelWidth:new u(145,155),navBarContainerPaddingYaxis:new u(10,n[3]),containerPaddingLeft:new u(n[3],n[6],n[8]),containerPaddingRight:new u(n[3],n[6],n[8])},lt={stepTitle:new tt("h6Regular","h5Regular")},pe=ce.getLocalizedStrings(),{common:oe}=pe,h=pe.commonSetUp.businessVerification,J=h.sourceOfFundOptions,$="additionalVerificationFields",ct=({companyOfficer:e,companyDetails:f,updateStatus:c,isDetailsSubmitted:x,onClose:d,onAdditionalVerificationFieldsChanged:I,onSendForVerificationClick:B,onCloseOverlay:j})=>{const p=ae(),k=E.labelWidth.value(p),D=se(c.fetchState),C=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[$]:{sourceOfFunds:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(J)}}}),[f?.sourceOfFunds])}),W=m=>J[m]??m,M=C.handleSubmit(()=>{B(e?.officerType??"Officer_1")}),P=async(m,w)=>{I(w[$])};return a.useEffect(()=>{const m=C.watch((w,{name:O})=>{O!=null&&w!=null&&le(()=>P(O,w))});return()=>{m.unsubscribe()}}),D==="In-Progress"&&c.fetchState==="Completed"||x===!0?t.jsxs(gt,{children:[t.jsxs(xt,{children:[t.jsx(nt,{}),t.jsx(ht,{windowSize:p,children:h.submittedTitle}),t.jsx(ft,{children:h.submittedDescription})]}),t.jsx(Je,{label:h.submittedButton,onClick:j,variant:"primary"})]}):t.jsxs(dt,{windowSize:p,children:[t.jsx(ut,{windowSize:p,children:t.jsx(Xe,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":Qe("nav-bar-back-portfolio-allocation"),onClick:j||d})})}),t.jsxs(wt,{windowSize:p,children:[t.jsx(yt,{windowSize:p,children:h.verifyBusinessDetails}),t.jsx(bt,{children:t.jsxs(kt,{children:[t.jsx(Ct,{}),t.jsx(vt,{})]})})]}),t.jsx(he,{children:h.verifyBusinessDetailsDescription}),t.jsx(de,{...C,children:t.jsxs("form",{id:$,onSubmit:M,children:[t.jsx(mt,{children:t.jsx(Ye,{label:{label:h.sourceOfFundsLabel,width:k},style:{width:"auto"},additionalInfoLabel:h.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:rt($,"sourceOfFunds"),placeholder:h.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:W,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(J)},registerOptions:{required:!0,validate:m=>!!m?.selectedOption}},isFunctional:!0,errorInfoLabel:h.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ze,{formId:$,primaryBtn:{label:oe.footer.submit,style:{width:"auto",minWidth:p==="small"?"auto":"83px"},isLoading:c.fetchState==="In-Progress"},cancelBtn:{label:oe.footer.back,style:{width:p==="small"?"auto":"83px"},onClick:d},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},dt=o.div`
2
2
  height: auto;
3
3
  padding-left: ${e=>`${E.containerPaddingLeft.valuePx(e.windowSize)}`};
4
4
  padding-right: ${e=>`${E.containerPaddingRight.valuePx(e.windowSize)}`};
@@ -1,4 +1,4 @@
1
- import{u as j,e as v,j as t,aX as z,R as C,aj as P,o as r,f as c,b_ as R,C as I,q as d,x as T}from"./index-wPq1HPgw.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as B}from"./BoxItem-C0jIrNqe-DhyHLL_1.js";import{o as E}from"./commonDimensions-DM4fZd5e-DmpfE2xf.js";import{O as L}from"./StatementItem-Nz1Cw2Na-BUWk7zEc.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./downloadPdf-qKKYFj-M-Cub-z5fm.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:g})=>{const b=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>E.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:B(s,a.statements.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(H,{children:h.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(z,{title:h.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(O,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,p=o.div`
1
+ import{u as j,e as v,j as t,aX as z,R as C,aj as P,o as r,f as c,b_ as R,C as I,q as d,x as T}from"./index-BrOecDhr.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as B}from"./BoxItem-ulH3Bhgp-DoyWtJ5-.js";import{o as E}from"./commonDimensions-BXTyBb11-BJ8JxG1r.js";import{O as L}from"./StatementItem-DBrH7VxB-Cxbw2Xyx.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./downloadPdf-QmjxILNp-xDI--zpN.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:g})=>{const b=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>E.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:B(s,a.statements.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(H,{children:h.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(z,{title:h.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(O,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,p=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{u as S,e as v,j as t,aX as L,R as z,aj as C,o as r,f as c,b_ as P,C as R,q as d,x as T}from"./index-wPq1HPgw.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as I}from"./BoxItem-C0jIrNqe-DhyHLL_1.js";import{o as B}from"./commonDimensions-DM4fZd5e-DmpfE2xf.js";import{O as E}from"./StatementItem-Nz1Cw2Na-BUWk7zEc.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./downloadPdf-qKKYFj-M-Cub-z5fm.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new R(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:g})=>{const b=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>B.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:I(s,a.taxLetters.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(H,{children:p.noTaxLetter})})})})};return t.jsxs(A,{children:[t.jsx(L,{title:p.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(O,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},M=o.div``,m=o.div`
1
+ import{u as S,e as v,j as t,aX as L,R as z,aj as C,o as r,f as c,b_ as P,C as R,q as d,x as T}from"./index-BrOecDhr.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as I}from"./BoxItem-ulH3Bhgp-DoyWtJ5-.js";import{o as B}from"./commonDimensions-BXTyBb11-BJ8JxG1r.js";import{O as E}from"./StatementItem-DBrH7VxB-Cxbw2Xyx.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./downloadPdf-QmjxILNp-xDI--zpN.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new R(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:g})=>{const b=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>B.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:I(s,a.taxLetters.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(H,{children:p.noTaxLetter})})})})};return t.jsxs(A,{children:[t.jsx(L,{title:p.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(O,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},M=o.div``,m=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{e as ge,J as $t,j as o,W as P,gV as bt,R as xe,a0 as W,Q as Ne,m as Ze,a4 as et,o as t,C as f,a3 as De,T as St,am as vt,u as jt,a2 as J,bp as At,cV as tt,X as R,l as z,g2 as kt,f as S,r as Tt,g as ot,w as Y,x as q,f2 as Pt,a as Ct,ca as zt,F as Dt,fK as Lt,q as c,bw as rt,d1 as nt,bO as it,cG as Ft,cx as Mt,fe as Rt,f6 as Bt,b as Ot,n as It,f7 as Et,ds as Nt,c3 as _t,c2 as Vt,aR as Wt,be as Yt,fg as qt,fp as Gt,ab as Xt}from"./index-wPq1HPgw.js";import{n as r,b as x}from"./vendor-rkTZJa59.js";import{V as at}from"./PortfolioDetails-OkTxpi-C-B6RQ3PTA.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./treasuryColorHelper-DvNvYEVT-C52WKPuZ.js";const Jt=xe.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Qt=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Ot().analytics,[l,m]=x.useState(a);x.useEffect(()=>{m(a)},[a]);const w=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(to,{sliderValue:l,children:[o.jsx(eo,{sliderValue:l,type:"range",min:F[0],max:F[F.length-1],step:Qt,value:l,onChange:w}),o.jsx(oo,{style:{width:`${Math.min(l/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(ao,{sliderValue:l,style:{left:`calc(${Math.min(Math.max(l/F[F.length-1]*100,5),95)}% - 50px)`},children:Ut(l)}),o.jsx(ro,{children:F.map((h,i)=>o.jsx(no,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Ht(i)},children:o.jsx(io,{isSelected:l>=h,children:Zt(h)})},h))})]})}const Ut=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${Jt.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 Ht=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%"}},Zt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),eo=r.input`
1
+ import{e as ge,J as $t,j as o,W as P,gV as bt,R as xe,a0 as W,Q as Ne,m as Ze,a4 as et,o as t,C as f,a3 as De,T as St,am as vt,u as jt,a2 as J,bp as At,cV as tt,X as R,l as z,g2 as kt,f as S,r as Tt,g as ot,w as Y,x as q,f2 as Pt,a as Ct,ca as zt,F as Dt,fK as Lt,q as c,bw as rt,d1 as nt,bO as it,cG as Ft,cx as Mt,fe as Rt,f6 as Bt,b as Ot,n as It,f7 as Et,ds as Nt,c3 as _t,c2 as Vt,aR as Wt,be as Yt,fg as qt,fp as Gt,ab as Xt}from"./index-BrOecDhr.js";import{n as r,b as x}from"./vendor-rkTZJa59.js";import{V as at}from"./PortfolioDetails-t8bIGJXx-CBmzVPci.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./treasuryColorHelper-0WRygmI_-CyLBFH1A.js";const Jt=xe.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Qt=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Ot().analytics,[l,m]=x.useState(a);x.useEffect(()=>{m(a)},[a]);const w=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(to,{sliderValue:l,children:[o.jsx(eo,{sliderValue:l,type:"range",min:F[0],max:F[F.length-1],step:Qt,value:l,onChange:w}),o.jsx(oo,{style:{width:`${Math.min(l/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(ao,{sliderValue:l,style:{left:`calc(${Math.min(Math.max(l/F[F.length-1]*100,5),95)}% - 50px)`},children:Ut(l)}),o.jsx(ro,{children:F.map((h,i)=>o.jsx(no,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Ht(i)},children:o.jsx(io,{isSelected:l>=h,children:Zt(h)})},h))})]})}const Ut=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${Jt.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 Ht=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%"}},Zt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),eo=r.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1,4 +1,4 @@
1
- import{R as w,j as s,l as u,u as R,W as Y,aj as Z,b7 as z,b8 as B,aw as F,v as k,av as P,ab as O,b9 as q,ax as _,bb as G,o as L,f as K,x as N}from"./index-wPq1HPgw.js";import{b as v,f as W,n as $}from"./vendor-rkTZJa59.js";import{d as V,g as T,p as D,u as J}from"./chartTypes-V-x4cCxs-Cv1M1Njm.js";import{o as Q}from"./toCOABalancesWithID-CJao20O7-CJRr4f5m.js";import{V as X}from"./toChartData-DrQ08_nY-BMwrU8FS.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const H=$.div`
1
+ import{R as w,j as s,l as u,u as R,W as Y,aj as Z,b7 as z,b8 as B,aw as F,v as k,av as P,ab as O,b9 as q,ax as _,bb as G,o as L,f as K,x as N}from"./index-BrOecDhr.js";import{b as v,f as W,n as $}from"./vendor-rkTZJa59.js";import{d as V,g as T,p as D,u as J}from"./chartTypes-BeWpEHsD-0DeNHMwF.js";import{o as Q}from"./toCOABalancesWithID-BC4hEk4v-dX5CNbOR.js";import{V as X}from"./toChartData-Dn6RzL-C-A4ExOcdY.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const H=$.div`
2
2
  display: flex;
3
3
  `,I=$.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{e as D,j as i,m as R,o as t,R as F,C as c,W as S,aj as q,am as Y,c7 as E,q as a,x as W,a3 as K}from"./index-wPq1HPgw.js";import{b as k,n}from"./vendor-rkTZJa59.js";import V from"./TrendChart-C74g1AEy-Imdd1-MG.js";import{C as _}from"./NoDataChart-CRt1tpsJ-DaG2TlJq.js";import{B as J}from"./InsightsSection-D0ZZ7KlF-pBBhRoDU.js";import{f as X}from"./TransactionList-CtTDxJZI-OKQhqUrD.js";const Z=n.div`
1
+ import{e as D,j as i,m as R,o as t,R as F,C as c,W as S,aj as q,am as Y,c7 as E,q as a,x as W,a3 as K}from"./index-BrOecDhr.js";import{b as k,n}from"./vendor-rkTZJa59.js";import V from"./TrendChart-wr5WIfKD-DWjGFRlo.js";import{C as _}from"./NoDataChart-DVB1FTW8-JpcfKKlk.js";import{B as J}from"./InsightsSection-2ILqXih8-DVpA5MVZ.js";import{f as X}from"./TransactionList-ietybHPX-0QOU9e6b.js";const Z=n.div`
2
2
  display: inline-block;
3
3
  `,G=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{u as ce,e as se,Y as Xe,a2 as en,ga as R,hc as U,R as H,a as nn,hd as tn,he as Te,ca as on,j as t,aX as cn,bV as sn,bX as ln,bY as an,F as rn,l as J,hf as dn,m as un,hg as Z,hh as pn,a4 as mn,hi as Ve,C as u,x as gn,o as l,cn as ye,a8 as W,gf as oe,hj as ie,q as d,X as Ae,f as $e,fE as _e,w as Se,aC as xn}from"./index-wPq1HPgw.js";import{b as K,n as s}from"./vendor-rkTZJa59.js";import{D as hn}from"./HelpButton-BZh7cT22-BWaiDDJ0.js";import{h as wn}from"./VendorsAccountsSection-B74xTqeg-BjNWfqiN.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-D4lzsud6-BlkR8uI2.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])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
1
+ import{u as ce,e as se,Y as Xe,a2 as en,ga as R,hc as U,R as H,a as nn,hd as tn,he as Te,ca as on,j as t,aX as cn,bV as sn,bX as ln,bY as an,F as rn,l as J,hf as dn,m as un,hg as Z,hh as pn,a4 as mn,hi as Ve,C as u,x as gn,o as l,cn as ye,a8 as W,gf as oe,hj as ie,q as d,X as Ae,f as $e,fE as _e,w as Se,aC as xn}from"./index-BrOecDhr.js";import{b as K,n as s}from"./vendor-rkTZJa59.js";import{D as hn}from"./HelpButton-COQrt2oX-DzMCGDGr.js";import{h as wn}from"./VendorsAccountsSection-DUUeE27C-BJ2NLWkJ.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-CaAA-95e-B1U6_EBk.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])},qe={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{a2 as b,j as t,hl as R,hm as _,e as F,R as O,bV as N,d as C,bX as U,bY as z,a as H,F as M,cj as G,l as T,cf as D,C as g,cg as Q,f as A,p as J,m as K,Q as X,o as i,x as Y,q as B,r as Z,ap as ee}from"./index-wPq1HPgw.js";import{b as c,n as f}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.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{a2 as b,j as t,hl as R,hm as _,e as F,R as O,bV as N,d as C,bX as U,bY as z,a as H,F as M,cj as G,l as T,cf as D,C as g,cg as Q,f as A,p as J,m as K,Q as X,o as i,x as Y,q as B,r as Z,ap as ee}from"./index-BrOecDhr.js";import{b as c,n as f}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.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 M,fh as x,a2 as U,l as W,e as q,R as _,j as i,ca as A,F as G,W as J,fi as H,o as a,f as K,ck as Q,a4 as X,C as y,a3 as Y,c7 as Z,ap as ee,ao as te,q as c}from"./index-wPq1HPgw.js";import{b as m,n as l}from"./vendor-rkTZJa59.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},f="additionalDocumentsForm",s="ssnCard";function fe(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:u,onClose:S,onEditFileName:I,onDeleteFile:v,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=M({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,$]=m.useState(!1),[N,O]=m.useState(!1),b=U(u.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=W.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&u.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,u,n,t?.additionalFiles]);const r=q(),h=_.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),k=async(o,p)=>{const d=p[f].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),$(!0)):$(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&A(()=>k(d,p))});return()=>{o.unsubscribe()}}),i.jsx(G,{...n,children:i.jsxs("form",{id:f,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":J("upload-additional-documents-close",f)})}),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(H,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:Q,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${K.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front: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:I,onDeleteFile:v,updateFilesEntity:D,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(X,{formId:f,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
1
+ import{a as M,fh as x,a2 as U,l as W,e as q,R as _,j as i,ca as A,F as G,W as J,fi as H,o as a,f as K,ck as Q,a4 as X,C as y,a3 as Y,c7 as Z,ap as ee,ao as te,q as c}from"./index-BrOecDhr.js";import{b as m,n as l}from"./vendor-rkTZJa59.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},f="additionalDocumentsForm",s="ssnCard";function fe(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:u,onClose:S,onEditFileName:I,onDeleteFile:v,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=M({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,$]=m.useState(!1),[N,O]=m.useState(!1),b=U(u.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=W.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&u.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,u,n,t?.additionalFiles]);const r=q(),h=_.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),k=async(o,p)=>{const d=p[f].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),$(!0)):$(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&A(()=>k(d,p))});return()=>{o.unsubscribe()}}),i.jsx(G,{...n,children:i.jsxs("form",{id:f,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":J("upload-additional-documents-close",f)})}),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(H,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:Q,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${K.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front: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:I,onDeleteFile:v,updateFilesEntity:D,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(X,{formId:f,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},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{a2 as o,R as v,j as i,hl as y,hm as b}from"./index-wPq1HPgw.js";import{b as e}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const G=({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=v.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(y,{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(b,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{G as default};
1
+ import{a2 as o,R as v,j as i,hl as y,hm as b}from"./index-BrOecDhr.js";import{b as e}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const G=({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=v.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(y,{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(b,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{G as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-wPq1HPgw.js";import{b as d}from"./vendor-rkTZJa59.js";import{f as k}from"./ACHDetailsPage--syILfU1-B9SMulte.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountWarningSection-CHV6yGut-DvVwmlc2.js";import"./MagicLinkTitleSection-CvzFLF1d-D85XlTk1.js";import"./BankAccountSection-dDAvWRwV-BxMkUNqJ.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-BrOecDhr.js";import{b as d}from"./vendor-rkTZJa59.js";import{f as k}from"./ACHDetailsPage-aTYc51Xr-C1F1HPVq.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountWarningSection-GKmK6rZN-DZACD48w.js";import"./MagicLinkTitleSection-C_Y0_Q8g-B7RA5zb8.js";import"./BankAccountSection-Bn4tVnuF-BKifB-w4.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,4 +1,4 @@
1
- import{R as N,u as Re,e as ne,C as g,J as fe,l as se,cc as xt,a as yt,gB as Be,gC as Ae,gD as Ee,gE as be,gF as ft,a8 as bt,ca as wt,j as t,aX as Ct,F as $t,gG as St,gH as ue,q as l,cb as Dt,a4 as jt,o,bh as S,cn as Tt,gf as we,gI as Lt,cd as Vt,ce as kt,cf as Ot,gJ as It,fL as Pt,cl as zt,gK as Ft,gL as Mt,f as M,dr as Nt,dq as _t,cz as Wt,ab as de,am as qe,w as Ue,ds as Ht,af as Rt,gM as Bt,gN as At,x as Et,gO as qt,bO as Ye,gP as Ut,X as Ce,g as Ge}from"./index-wPq1HPgw.js";import{b as $,n as a,j as Yt}from"./vendor-rkTZJa59.js";import{k as Gt}from"./SubTabSwitcher-BGPV9-bA-DSjX9xS_.js";import{f as Jt}from"./TransactionList-CtTDxJZI-OKQhqUrD.js";import{R as Xt}from"./TrendWithTransactions-Ct1r_X3l-CerpXQgu.js";import{o as Kt,t as Qt}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import{C as Zt}from"./LabeledAddressValueField-BRIokwlO-DPDLkRSC.js";import{Y as es}from"./LabeledDropDownFormattedTextField-BLgl-7Hq-liP-dBH3.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BoxItem-C0jIrNqe-DhyHLL_1.js";import"./commonDimensions-DM4fZd5e-DmpfE2xf.js";import"./TrendChart-C74g1AEy-Imdd1-MG.js";import"./chartTypes-V-x4cCxs-Cv1M1Njm.js";import"./toCOABalancesWithID-CJao20O7-CJRr4f5m.js";import"./toChartData-DrQ08_nY-BMwrU8FS.js";import"./NoDataChart-CRt1tpsJ-DaG2TlJq.js";import"./InsightsSection-D0ZZ7KlF-pBBhRoDU.js";import"./NavigationDots-CD95Ln70-50l7FzCe.js";const ts=a.div`
1
+ import{R as N,u as Re,e as ne,C as g,J as fe,l as se,cc as xt,a as yt,gB as Be,gC as Ae,gD as Ee,gE as be,gF as ft,a8 as bt,ca as wt,j as t,aX as Ct,F as $t,gG as St,gH as ue,q as l,cb as Dt,a4 as jt,o,bh as S,cn as Tt,gf as we,gI as Lt,cd as Vt,ce as kt,cf as Ot,gJ as It,fL as Pt,cl as zt,gK as Ft,gL as Mt,f as M,dr as Nt,dq as _t,cz as Wt,ab as de,am as qe,w as Ue,ds as Ht,af as Rt,gM as Bt,gN as At,x as Et,gO as qt,bO as Ye,gP as Ut,X as Ce,g as Ge}from"./index-BrOecDhr.js";import{b as $,n as a,j as Yt}from"./vendor-rkTZJa59.js";import{k as Gt}from"./SubTabSwitcher-CYkqW6KU-DnYIhzYl.js";import{f as Jt}from"./TransactionList-ietybHPX-0QOU9e6b.js";import{R as Xt}from"./TrendWithTransactions-D2zxfMK6-BJSA0eIu.js";import{o as Kt,t as Qt}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import{C as Zt}from"./LabeledAddressValueField-l0XKNlaq-BRSM9eKo.js";import{Y as es}from"./LabeledDropDownFormattedTextField-CSUZIpw4-Bj9OQgXE.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BoxItem-ulH3Bhgp-DoyWtJ5-.js";import"./commonDimensions-BXTyBb11-BJ8JxG1r.js";import"./TrendChart-wr5WIfKD-DWjGFRlo.js";import"./chartTypes-BeWpEHsD-0DeNHMwF.js";import"./toCOABalancesWithID-BC4hEk4v-dX5CNbOR.js";import"./toChartData-Dn6RzL-C-A4ExOcdY.js";import"./NoDataChart-DVB1FTW8-JpcfKKlk.js";import"./InsightsSection-2ILqXih8-DVpA5MVZ.js";import"./NavigationDots-2bNAi48B-k0PWrc4i.js";const ts=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{j as S}from"./index-wPq1HPgw.js";import{b as C}from"./vendor-rkTZJa59.js";import{y as b}from"./DomesticWireDetailsPage-7OXnbEeP-BfIqD6hq.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountSection-dDAvWRwV-BxMkUNqJ.js";import"./MagicLinkTitleSection-CvzFLF1d-D85XlTk1.js";import"./BankAccountWarningSection-CHV6yGut-DvVwmlc2.js";import"./MailingDetailsSection-CY9MIZVo-Bij-8Vq5.js";import"./LabeledAddressValueField-BRIokwlO-DPDLkRSC.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
1
+ import{j as S}from"./index-BrOecDhr.js";import{b as C}from"./vendor-rkTZJa59.js";import{y as b}from"./DomesticWireDetailsPage-ai0YkB93-DkaYERr9.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountSection-Bn4tVnuF-BKifB-w4.js";import"./MagicLinkTitleSection-C_Y0_Q8g-B7RA5zb8.js";import"./BankAccountWarningSection-GKmK6rZN-DZACD48w.js";import"./MailingDetailsSection-CWCOpN4f-D0dxYO1r.js";import"./LabeledAddressValueField-l0XKNlaq-BRSM9eKo.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
@@ -1,4 +1,4 @@
1
- import{e as oe,u as ze,R as ne,a as ke,cD as K,gQ as de,ca as Ae,C as w,j as t,aX as Be,W as Ee,F as Re,cd as C,o as s,ch as Oe,gJ as We,fL as qe,cl as Me,gK as He,gL as Ue,ct as Ke,a4 as Ge,cv as Ze,cE as Je,q as c,a3 as Ye,bh as D,c8 as _e,gR as Qe,f as I,eW as Xe,bO as et,x as ce,eF as tt,gS as st,gT as lt,gU as M,cF as it}from"./index-wPq1HPgw.js";import{b as y,n as a}from"./vendor-rkTZJa59.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-BLgl-7Hq-liP-dBH3.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:h,style:O}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:O,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:h,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{e as oe,u as ze,R as ne,a as ke,cD as K,gQ as de,ca as Ae,C as w,j as t,aX as Be,W as Ee,F as Re,cd as C,o as s,ch as Oe,gJ as We,fL as qe,cl as Me,gK as He,gL as Ue,ct as Ke,a4 as Ge,cv as Ze,cE as Je,q as c,a3 as Ye,bh as D,c8 as _e,gR as Qe,f as I,eW as Xe,bO as et,x as ce,eF as tt,gS as st,gT as lt,gU as M,cF as it}from"./index-BrOecDhr.js";import{b as y,n as a}from"./vendor-rkTZJa59.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-CSUZIpw4-Bj9OQgXE.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:h,style:O}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:O,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:h,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{e as ae,Y as On,u as mn,a as nt,hw as Pe,ca as tt,B as Nn,hx as ie,hy as ve,hz as fe,hA as be,hB as me,R as je,j as n,hs as ot,F as rt,aX as it,_ as st,bV as at,bX as lt,bY as dt,br as ct,W as Y,bg as mt,bS as pt,aj as ut,dl as ht,b_ as gt,C as w,m as wt,I as Oe,o as t,a7 as In,x as De,a6 as xt,q as c,w as Re,c3 as vt,l as zn,dr as Pn,bh as ze,aB as Tn,c6 as ft,bv as bt,dE as $t,ap as Ye,aP as pn,f as F,az as Dn,fl as St,dh as wn,cz as rn,hC as yt,hD as sn,p as jt,bp as Fe,dO as Rt,eu as xn,b6 as Ct,dt as Vt,Q as vn,hE as kt,cn as Mt,cv as Ot,cw as Nt,ez as It,n as Ln,hF as zt,b4 as se,hG as fn,gh as Pt,b2 as Tt,aD as Dt,ds as Lt,v as _n,X as _t,eG as At,a9 as dn}from"./index-wPq1HPgw.js";import{b as f,n as o,j as cn}from"./vendor-rkTZJa59.js";import{r as Bt}from"./mui-C42whWwM.js";import{R as Ft}from"./Menu-DSDvn7NT-BID2jd0P.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const An=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
1
+ import{e as ae,Y as On,u as mn,a as nt,hw as Pe,ca as tt,B as Nn,hx as ie,hy as ve,hz as fe,hA as be,hB as me,R as je,j as n,hs as ot,F as rt,aX as it,_ as st,bV as at,bX as lt,bY as dt,br as ct,W as Y,bg as mt,bS as pt,aj as ut,dl as ht,b_ as gt,C as w,m as wt,I as Oe,o as t,a7 as In,x as De,a6 as xt,q as c,w as Re,c3 as vt,l as zn,dr as Pn,bh as ze,aB as Tn,c6 as ft,bv as bt,dE as $t,ap as Ye,aP as pn,f as F,az as Dn,fl as St,dh as wn,cz as rn,hC as yt,hD as sn,p as jt,bp as Fe,dO as Rt,eu as xn,b6 as Ct,dt as Vt,Q as vn,hE as kt,cn as Mt,cv as Ot,cw as Nt,ez as It,n as Ln,hF as zt,b4 as se,hG as fn,gh as Pt,b2 as Tt,aD as Dt,ds as Lt,v as _n,X as _t,eG as At,a9 as dn}from"./index-BrOecDhr.js";import{b as f,n as o,j as cn}from"./vendor-rkTZJa59.js";import{r as Bt}from"./mui-C42whWwM.js";import{R as Ft}from"./Menu-r5aBVcPX-CEDXfgVi.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const An=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,e as X,a as he,R as U,ca as ye,J as ge,l as J,bV as be,bX as fe,bY as xe,F as ve,a4 as we,C as p,cD as le,cE as Ce,o as y,ao as $e,cn as oe,u as ne,cF as De,cG as Y,ct as G,ah as H,cd as je,cH as Te,q as a,cv as Se,W as ke,f as V,m as Fe,X as Oe,bp as Ae,w as Le,b6 as We}from"./index-wPq1HPgw.js";import{b as R,n as g}from"./vendor-rkTZJa59.js";import{W as ze,A as Ie}from"./BankAccountWarningSection-CHV6yGut-DvVwmlc2.js";import{T as Re}from"./MailingDetailsSection-CY9MIZVo-Bij-8Vq5.js";import{S as Pe}from"./CurrencySelectField-DvGfc9aD-DEfgneuD.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./LabeledAddressValueField-BRIokwlO-DPDLkRSC.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:k=!0}){const C=X(),{formState:{errors:b}}=oe(),$=ne(),D=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&j||D){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const _e=g.div`
1
+ import{j as t,e as X,a as he,R as U,ca as ye,J as ge,l as J,bV as be,bX as fe,bY as xe,F as ve,a4 as we,C as p,cD as le,cE as Ce,o as y,ao as $e,cn as oe,u as ne,cF as De,cG as Y,ct as G,ah as H,cd as je,cH as Te,q as a,cv as Se,W as ke,f as V,m as Fe,X as Oe,bp as Ae,w as Le,b6 as We}from"./index-BrOecDhr.js";import{b as R,n as g}from"./vendor-rkTZJa59.js";import{W as ze,A as Ie}from"./BankAccountWarningSection-GKmK6rZN-DZACD48w.js";import{T as Re}from"./MailingDetailsSection-CWCOpN4f-D0dxYO1r.js";import{S as Pe}from"./CurrencySelectField-Z_T4BQhi-COxN-MYU.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./LabeledAddressValueField-l0XKNlaq-BRSM9eKo.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:k=!0}){const C=X(),{formState:{errors:b}}=oe(),$=ne(),D=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&j||D){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const _e=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{j as l}from"./index-wPq1HPgw.js";import{b as B}from"./vendor-rkTZJa59.js";import{f as u}from"./InternationalWireSwiftDetailsPage-Bk73k2oO-BxIyMIy9.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountWarningSection-CHV6yGut-DvVwmlc2.js";import"./MailingDetailsSection-CY9MIZVo-Bij-8Vq5.js";import"./LabeledAddressValueField-BRIokwlO-DPDLkRSC.js";import"./MagicLinkTitleSection-CvzFLF1d-D85XlTk1.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
1
+ import{j as l}from"./index-BrOecDhr.js";import{b as B}from"./vendor-rkTZJa59.js";import{f as u}from"./InternationalWireSwiftDetailsPage-cwqfeYWq-AgZ26n0O.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountWarningSection-GKmK6rZN-DZACD48w.js";import"./MailingDetailsSection-CWCOpN4f-D0dxYO1r.js";import"./LabeledAddressValueField-l0XKNlaq-BRSM9eKo.js";import"./MagicLinkTitleSection-C_Y0_Q8g-B7RA5zb8.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{e as ie,u as oe,R as te,C as c,ga as w,a8 as k,j as i,hk as g,hj as m,o as n,X as re,f as ne,dy as se,w as le,q as a}from"./index-wPq1HPgw.js";import{n as l}from"./vendor-rkTZJa59.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},T={title:new re("standardMedium","largeMedium")},de=l.div`
1
+ import{e as ie,u as oe,R as te,C as c,ga as w,a8 as k,j as i,hk as g,hj as m,o as n,X as re,f as ne,dy as se,w as le,q as a}from"./index-BrOecDhr.js";import{n as l}from"./vendor-rkTZJa59.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},T={title:new re("standardMedium","largeMedium")},de=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{a2 as A,a as Q,R as N,j as r,bo as q,_ as d,l as B,F as U,bp as W,w as f,bq as X,o,Q as D,br as Z,x as P,bs as G,bt as C,b6 as J,f as y,ap as b,bu as K}from"./index-wPq1HPgw.js";import{b as c,n as t}from"./vendor-rkTZJa59.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-DiV5MIVk-BsjDz0Sy.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./handshake-BPg58FML-CVKh3Eii.js";const ee=e=>{if(!e)return"";try{const i=G(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const p=i.countryCallingCode,x=i.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},F=120,I=30,O=2,re="456px",te="256px",V=6,n=N.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Le=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[j,L]=c.useState(0),[v,S]=c.useState(F),[h,w]=c.useState(I),E=A(e.verifyOtpFetchState),u=Q({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),$=u.watch(m),T=()=>{e.onCancelVerifyDevice()},R=()=>{$.trim().length===V&&e.onVerifyOtp($)},M=n.footerHelperText.replace(/<button_text>/,n.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),L(s=>s+1),u.setValue(m,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const s=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[v]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[h]);const H=s=>{const a=Math.floor(s/60),z=s%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(q,{open:!0,children:r.jsxs(oe,{children:[r.jsx(d,{controller:j>O,children:r.jsx(Y,{unlockDate:B.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:j<=O,children:r.jsx(U,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(ne,{children:n.verifyDeviceTitle}),r.jsx(se,{children:n.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(ie,{children:ee(e.phoneNumber+"")}),r.jsx(W,{placement:"top",title:r.jsxs(f,{children:[n.changePhoneNumberHelperText,r.jsx(we,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(Se,{})})]})]}),r.jsxs(ce,{children:[r.jsx(X,{value:$,valueLength:6,hasError:l===!0||p===!0,style:{margin:o.sp0},onChange:s=>{u.setValue(m,s),x(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(_,{children:r.jsxs($e,{children:[n.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(_,{children:r.jsx(ye,{children:n.codeExpired})})})]}),p===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:j>=1,children:r.jsx(ae,{children:n.incorrectCode})}),r.jsx(d,{controller:j===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),n.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="ERR_OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:n.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),g(!1),u.setValue(m,""),S(F),w(I))},children:n.resend}),h>0&&r.jsxs(he,{children:[N.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(je,{children:[r.jsxs(xe,{children:[r.jsx(D,{label:n.cancel,onClick:T,style:{width:82}}),r.jsx(D,{variant:"primary",label:n.verify,onClick:R,style:{width:82},loading:i,disabled:$.trim().length!==V||l===!0})]}),r.jsx(me,{children:M})]})]})})})]})})},oe=t.div`
1
+ import{a2 as A,a as Q,R as N,j as r,bo as q,_ as d,l as B,F as U,bp as W,w as f,bq as X,o,Q as D,br as Z,x as P,bs as G,bt as C,b6 as J,f as y,ap as b,bu as K}from"./index-BrOecDhr.js";import{b as c,n as t}from"./vendor-rkTZJa59.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-DJOB_sAg-fll74mil.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./handshake-BPg58FML-CVKh3Eii.js";const ee=e=>{if(!e)return"";try{const i=G(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const p=i.countryCallingCode,x=i.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},F=120,I=30,O=2,re="456px",te="256px",V=6,n=N.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Le=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[j,L]=c.useState(0),[v,S]=c.useState(F),[h,w]=c.useState(I),E=A(e.verifyOtpFetchState),u=Q({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),$=u.watch(m),T=()=>{e.onCancelVerifyDevice()},R=()=>{$.trim().length===V&&e.onVerifyOtp($)},M=n.footerHelperText.replace(/<button_text>/,n.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),L(s=>s+1),u.setValue(m,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const s=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[v]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[h]);const H=s=>{const a=Math.floor(s/60),z=s%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(q,{open:!0,children:r.jsxs(oe,{children:[r.jsx(d,{controller:j>O,children:r.jsx(Y,{unlockDate:B.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:j<=O,children:r.jsx(U,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(ne,{children:n.verifyDeviceTitle}),r.jsx(se,{children:n.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(ie,{children:ee(e.phoneNumber+"")}),r.jsx(W,{placement:"top",title:r.jsxs(f,{children:[n.changePhoneNumberHelperText,r.jsx(we,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(Se,{})})]})]}),r.jsxs(ce,{children:[r.jsx(X,{value:$,valueLength:6,hasError:l===!0||p===!0,style:{margin:o.sp0},onChange:s=>{u.setValue(m,s),x(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(_,{children:r.jsxs($e,{children:[n.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(_,{children:r.jsx(ye,{children:n.codeExpired})})})]}),p===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:j>=1,children:r.jsx(ae,{children:n.incorrectCode})}),r.jsx(d,{controller:j===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),n.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="ERR_OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:n.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),g(!1),u.setValue(m,""),S(F),w(I))},children:n.resend}),h>0&&r.jsxs(he,{children:[N.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(je,{children:[r.jsxs(xe,{children:[r.jsx(D,{label:n.cancel,onClick:T,style:{width:82}}),r.jsx(D,{variant:"primary",label:n.verify,onClick:R,style:{width:82},loading:i,disabled:$.trim().length!==V||l===!0})]}),r.jsx(me,{children:M})]})]})})})]})})},oe=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -1,4 +1,4 @@
1
- import{e as B,j as o,f0 as F,o as c}from"./index-wPq1HPgw.js";import{b as e,n as f,k as S}from"./vendor-rkTZJa59.js";const k=t=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("g",{filter:"url(#filter0_f_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),e.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),e.createElement("g",{filter:"url(#filter1_d_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),e.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),e.createElement("g",{clipPath:"url(#clip0_251_38441)"},e.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),e.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:4}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),e.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("clipPath",{id:"clip0_251_38441"},e.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function O({src:t,config:a,controls:p=!0,height:m="100%",loop:E=!1,muted:d=!1,showPlayButton:n=!1,style:u,thumbnail:C,width:h="100%",onEnded:_,onPlay:s}){const g=B(),[r,l]=e.useState(!1),i={};a?.youtube&&(i.youtube=a.youtube);const x=()=>{l(!0),s?.()},y=()=>{l(!1),_?.()},w=()=>{l(!0),s?.()};return o.jsxs(o.Fragment,{children:[o.jsx(F,{src:t,playing:r,controls:r?p:!1,muted:d,loop:E,width:h,height:m,style:u,light:n&&!r?C??!0:!1,onEnded:y,onPlay:w,config:i}),n&&!r&&o.jsx(b,{onClick:x,children:o.jsx(v,{windowSize:g})})]})}const A=S`
1
+ import{e as B,j as o,f0 as F,o as c}from"./index-BrOecDhr.js";import{b as e,n as f,k as S}from"./vendor-rkTZJa59.js";const k=t=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("g",{filter:"url(#filter0_f_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),e.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),e.createElement("g",{filter:"url(#filter1_d_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),e.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),e.createElement("g",{clipPath:"url(#clip0_251_38441)"},e.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),e.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:4}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),e.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("clipPath",{id:"clip0_251_38441"},e.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function O({src:t,config:a,controls:p=!0,height:m="100%",loop:E=!1,muted:d=!1,showPlayButton:n=!1,style:u,thumbnail:C,width:h="100%",onEnded:_,onPlay:s}){const g=B(),[r,l]=e.useState(!1),i={};a?.youtube&&(i.youtube=a.youtube);const x=()=>{l(!0),s?.()},y=()=>{l(!1),_?.()},w=()=>{l(!0),s?.()};return o.jsxs(o.Fragment,{children:[o.jsx(F,{src:t,playing:r,controls:r?p:!1,muted:d,loop:E,width:h,height:m,style:u,light:n&&!r?C??!0:!1,onEnded:y,onPlay:w,config:i}),n&&!r&&o.jsx(b,{onClick:x,children:o.jsx(v,{windowSize:g})})]})}const A=S`
2
2
  0% {
3
3
  transform: rotate(0deg);
4
4
  }
@@ -1,4 +1,4 @@
1
- import{e as d,j as i,p as l,W as a,f as c,o as n,C as r}from"./index-wPq1HPgw.js";import{n as t}from"./vendor-rkTZJa59.js";import{z as h}from"./VideoPlayer-Cioog4TG-nXNaLy3z.js";const s={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
1
+ import{e as d,j as i,p as l,W as a,f as c,o as n,C as r}from"./index-BrOecDhr.js";import{n as t}from"./vendor-rkTZJa59.js";import{z as h}from"./VideoPlayer-BO44yY9I-DkIU-YXX.js";const s={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{e as C,l as S,R as B,j as s,eS as j,eW as D,Q as M,v as E,o as n,C as $,X as L,g as P,a3 as z,c7 as N,f as h,T,az as A,eG as R,q as g}from"./index-wPq1HPgw.js";import{n as t}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const e=B.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},Q={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?S.getAuditWarningsCount(r):0,v=r?.onboardingInfo?.bankAccountLinked,x=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=G(v,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=O(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=q(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=F(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(V,{children:[s.jsx(H,{windowSize:l,children:s.jsx(W,{children:s.jsxs(K,{windowSize:l,children:[s.jsx(U,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(X,{children:[s.jsx(_,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
1
+ import{e as C,l as S,R as B,j as s,eS as j,eW as D,Q as M,v as E,o as n,C as $,X as L,g as P,a3 as z,c7 as N,f as h,T,az as A,eG as R,q as g}from"./index-BrOecDhr.js";import{n as t}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const e=B.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},Q={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?S.getAuditWarningsCount(r):0,v=r?.onboardingInfo?.bankAccountLinked,x=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=G(v,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=O(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=q(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=F(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(V,{children:[s.jsx(H,{windowSize:l,children:s.jsx(W,{children:s.jsxs(K,{windowSize:l,children:[s.jsx(U,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(X,{children:[s.jsx(_,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
2
2
  ${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),u.map((i,c)=>s.jsx(J,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(D,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...E.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},G=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},O=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},q=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},F=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},V=t.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{a as Te,e as M,Y as Pe,l as P,u as pe,a2 as Be,j as t,R as Z,a0 as B,bp as L,o,aX as Le,v as D,bV as O,bX as Y,bY as F,F as Ne,cH as He,f as y,cv as Me,W as k,m as ue,w,b6 as Ee,bg as Ie,a6 as Ue,C as j,fj as We,cV as ae,q as p,gY as Re,at as Oe,b8 as Ye,aw as Fe,av as Ve,b9 as Ge,au as Xe,x as q,gZ as Je,am as Ke,af as Ze,g_ as qe,T as _e,g$ as Qe,az as et,fl as tt,cC as ot,n as at,X as it,bO as nt}from"./index-wPq1HPgw.js";import{b as l,n as a}from"./vendor-rkTZJa59.js";import{$ as rt}from"./BoxItem-C0jIrNqe-DhyHLL_1.js";import{w as lt}from"./downloadPdf-qKKYFj-M-Cub-z5fm.js";import{H as ct}from"./DepositAccTransactionItem-HP7beqdc-DaUTa9hx.js";import{T as st}from"./ZeniAccountNavBarPieces-Cvs4x9iH-Da6DEicp.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./commonDimensions-DM4fZd5e-DmpfE2xf.js";const dt=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
1
+ import{a as Te,e as M,Y as Pe,l as P,u as pe,a2 as Be,j as t,R as Z,a0 as B,bp as L,o,aX as Le,v as D,bV as O,bX as Y,bY as F,F as Ne,cH as He,f as y,cv as Me,W as k,m as ue,w,b6 as Ee,bg as Ie,a6 as Ue,C as j,fj as We,cV as ae,q as p,gY as Re,at as Oe,b8 as Ye,aw as Fe,av as Ve,b9 as Ge,au as Xe,x as q,gZ as Je,am as Ke,af as Ze,g_ as qe,T as _e,g$ as Qe,az as et,fl as tt,cC as ot,n as at,X as it,bO as nt}from"./index-BrOecDhr.js";import{b as l,n as a}from"./vendor-rkTZJa59.js";import{$ as rt}from"./BoxItem-ulH3Bhgp-DoyWtJ5-.js";import{w as lt}from"./downloadPdf-QmjxILNp-xDI--zpN.js";import{H as ct}from"./DepositAccTransactionItem-BN0dT4ca-oNctEtSy.js";import{T as st}from"./ZeniAccountNavBarPieces-Bl2KSpG4-CCHLm23i.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./commonDimensions-BXTyBb11-BJ8JxG1r.js";const dt=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{e as J,a as Ie,a2 as _e,u as De,ab as Ee,R as Q,a1 as Fe,j as t,bV as W,f as o,F as Ge,o as n,cH as Ne,cv as Re,bX as ne,bY as ie,gV as Ue,a0 as G,bp as fe,aX as Oe,v as C,r as We,x as Ye,T as Ve,bv as qe,b6 as ye,w as b,Y as Ze,l as He,bJ as Xe,cV as F,W as N,C as j,n as K,fe as Je,X as Qe,g as Ke,s as et,cx as tt,bO as nt,fF as it,q as u,dM as ot,fn as rt,gW as st,Q as at,fg as ct,bg as lt,a6 as dt}from"./index-wPq1HPgw.js";import{b as g,n as i}from"./vendor-rkTZJa59.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-DsDlaCxy.js";import{o as ut}from"./shield-DOlUxcFf-bFVWRY1X.js";import{T as mt}from"./ZeniAccountNavBarPieces-Cvs4x9iH-Da6DEicp.js";import{v as ht}from"./ZeniTransferAmountSlider-B7wjpsuR-DPr4MMes.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const gt=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=Q.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:w,style:v})=>{const s=J(),S=(c,T)=>Object.entries(T).reduce((M,[A,$])=>M.replace(new RegExp(`__${A}__`,"g"),$),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),L=[{icon:t.jsx(zt,{}),title:S(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:S(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(vt,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(St,{}),title:m.features.automation,id:"automation"}];return t.jsxs($t,{style:v,children:[t.jsx(wt,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(jt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(bt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsxs(At,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},$t=i.div`
1
+ import{e as J,a as Ie,a2 as _e,u as De,ab as Ee,R as Q,a1 as Fe,j as t,bV as W,f as o,F as Ge,o as n,cH as Ne,cv as Re,bX as ne,bY as ie,gV as Ue,a0 as G,bp as fe,aX as Oe,v as C,r as We,x as Ye,T as Ve,bv as qe,b6 as ye,w as b,Y as Ze,l as He,bJ as Xe,cV as F,W as N,C as j,n as K,fe as Je,X as Qe,g as Ke,s as et,cx as tt,bO as nt,fF as it,q as u,dM as ot,fn as rt,gW as st,Q as at,fg as ct,bg as lt,a6 as dt}from"./index-BrOecDhr.js";import{b as g,n as i}from"./vendor-rkTZJa59.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-DsDlaCxy.js";import{o as ut}from"./shield-DOlUxcFf-bFVWRY1X.js";import{T as mt}from"./ZeniAccountNavBarPieces-Bl2KSpG4-CCHLm23i.js";import{v as ht}from"./ZeniTransferAmountSlider-D7vxmkxJ-BQHPCJmW.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const gt=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=Q.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:w,style:v})=>{const s=J(),S=(c,T)=>Object.entries(T).reduce((M,[A,$])=>M.replace(new RegExp(`__${A}__`,"g"),$),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),L=[{icon:t.jsx(zt,{}),title:S(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:S(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(vt,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(St,{}),title:m.features.automation,id:"automation"}];return t.jsxs($t,{style:v,children:[t.jsx(wt,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(jt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(bt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsxs(At,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},$t=i.div`
2
2
  position: relative;
3
3
  display: flex;
4
4
  flex-direction: column;