@zeniai/web-cockpit-ui 1.14.57-qa → 1.14.58-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 (227) hide show
  1. package/dist/assets/{ACHDetailsPage-DV4OB7NM-DpheZDDw.js → ACHDetailsPage-DzIkTxTe-CGnlEvGr.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CSg1Tfge-3V1Hk1xQ.js → AIPerformancePage-DcSfABe8-3zvQsiXL.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Cw_ymT2g-COtyboUM.js → AccountInfoPage-DKZf9iEj-Cqpyy4Vs.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-C8-5w46b-BZ3-FFyo.js → AccountInfoPageContent-Z1na4dJy-Bp2J4BQI.js} +4 -4
  5. package/dist/assets/{AccountLockedInfoModal-snm4MHKv-DQl6U7Zc.js → AccountLockedInfoModal-4c3W-zeE-B1c5Jxib.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CsQrPbPT-DvakPIsl.js → AccountReconDetailsDrawerPage-C5vlTGj8-Ds3maU4Z.js} +1 -1
  7. package/dist/assets/{AccountRow-O8arJC4_-v0u-eSlD.js → AccountRow-3d9RsrK--DaKRBKsx.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BXmvXtxq-B5NEzqo9.js → AccountsPromoCardStack-CebFf63k-Dtc8wKba.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-DgSD5HoZ-DYgxONQh.js → AddAddressForCardDrawer-CUUW8OmY-ijRFX5im.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-uRrVSXNs--mztgd62.js → AddToWalletPage-C-7QiNhe-Cz9c7fGy.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-Nzs-YthX-XLgKVOqs.js → AgingReportsPage-BDNPqEUA-b-lmDZ2s.js} +1 -1
  12. package/dist/assets/{AllUserItems-DSajX03F-DFbad5FV.js → AllUserItems-q1-exTg0-I4ilmPPA.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-COJgBK0j-BvZMgO5T.js → ApAgingDetailPage-Biqhlmi5-CI8Q5HyB.js} +1 -1
  14. package/dist/assets/{AppBasePage-CNEQI1s3-D-H7QPq1.js → AppBasePage-OcF9VjD2-Bdlh0IQl.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DAoQqu2t-BArttMUx.js → AppDrawerContent-Bvp-m86Z-BB2R_i-p.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BfdaJqb9-_s4NqnDq.js → ApprovalRulesSettingsPage-DoU4XLU1-CvfylkUK.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Do0NLLSa-zICxFvnq.js → ArAgingChart-Derurnjv-5DUciMgH.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-Bcb2ACg0-Kfsr2rJK.js → ArAgingDetailPage-BANucXvz-Bj00e-OO.js} +1 -1
  19. package/dist/assets/{AttachmentView-Ca6sXezF-De-BV89V.js → AttachmentView-DmZoR5fC-BdhRh1XM.js} +2 -2
  20. package/dist/assets/{BankAccountSection-OBSfguxr-Po-ACxiO.js → BankAccountSection-Cw7uDvEJ-Bd6yTqI1.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Ckzs3GdZ-Cnu7FtQV.js → BankAccountWarningSection-ClNYTjN_-BQ9-dTwM.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-ZtHOghED-BpY-vsrv.js → BankConnectionsSettingsPage-B48-v1cX-DmoRrTNq.js} +1 -1
  23. package/dist/assets/{BillDetailPage-Cx4731vW-C8vz3-jh.js → BillDetailPage-Dz1Us8Hp-Dvh6A91e.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-AvM-KVpf-D8AXGj4p.js → BillPayApprovalRuleDetailPage-DJhSGn1E-BOs-lVeh.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DQUxCO26-vDu2bo-1.js → BillPayApprovalRulesPage-DZMg0cXF-D6fcVvgs.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CyRoiwLd-D3uC0hpX.js → BillPayPromoPage-B0XdQSYS-fKxnWAWc.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-D1CNDey5-DKuMBw4P.js → BillPaySetUpPage-Ft2KuiQF-DJ0GPF8U.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-B1tyFzD9-DyOQQ19O.js → BillingSettingsPage-uQpN2px5-CCH8ecOp.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-B2mBpc3M-uRIcYuFp.js → BillsBulkReviewDrawerPage-DBtKf5-t-9GGijifn.js} +1 -1
  30. package/dist/assets/{BoxItem-DNKrNJdW-BFr8N6MT.js → BoxItem-DR7ZjTUs-C1VV8CvK.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-BhamWrv8-sjdEKwJ5.js → BusinessVerificationPage-Ccqlx-_j-Ck3zpa3h.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-gZk_X-XR-C8qzit8R.js → CardNumberSubText-C1IwXiVs-BtmlRQkR.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-5xjTDPNi-O9gDAqnb.js → CashbackDetailPage-uh_slX-Q-DCtndNmX.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DhPOhmHL-BKJcNq4E.js → ChargeCardDetailPage-DEsNdsI1-C8KKmQtV.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-Cmmzx-W1-CvX1PDlY.js → ChargeCardListPage-BRErjFyU-9efbkwzY.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-SwxRmQUm-B_W5OISN.js → ChargeCardListTable-3b_fwt_f-DFTzMCW1.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-gaKf1tn--KwAgWHSg.js → ChargeCardPromoPage-Dn0omfoT-DWD-VALN.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-Cn6E7r73-BPNDrYBR.js → ChargeCardSetupPage-doVAo_Au-D-Ixqf31.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-DqileRbM-Bo_WHZuG.js → ChargeCardStatementsPage-DGOegtho-Bs1IutSH.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-CjQgqDbz-DRoRvzTL.js → ChargeCardUtils-BlLiJhdJ-Dg7co2BP.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-D7OybUeO-DfM050IG.js → ChaseOverlay-DY7W-VhR-lpJ0bMnw.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-CwZohOyA-Bfj-6GKs.js → CheckDepositDrawerPage-CDelWBRG-DS_wLJBI.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-BLws2OAO-CsNQ9o8X.js → CollapsableReportTable-BEIzIiuS-Cae50Vwc.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-vBLAKoiC-DY9VadxE.js → CompanyOfficerDetailsSection-B5JwDvdV-22SX7YTN.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard--ffusTh9-C-ivOKwr.js → CompanyPassportCard-BcnnhR8L-CKzgL5RH.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-wKXcFSeY-541H99sm.js → CompanyPassportPage-Cjc8jDSu-Dciot8Ts.js} +1 -1
  47. package/dist/assets/{CompleteProfile-BcV1Utwt-DxvCoKT3.js → CompleteProfile-bOwTw1Lh-C3KVTm6N.js} +1 -1
  48. package/dist/assets/ConfettiBurst-w-1sEoT7-DJmiMn2B.js +1 -0
  49. package/dist/assets/{CreateOrEditVendorPage-D0Z_vCWN-BpJmzH_c.js → CreateOrEditVendorPage-B7_YMeTg-CK721ieE.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CMV7xqgA-CJ2jSV4K.js → CreditCardPaymentDrawerPage-1CZyhIOU-DM7jOkAo.js} +4 -4
  51. package/dist/assets/{CreditCardPaymentPlgSection-Cmrbj4Ya-M1K-g6EO.js → CreditCardPaymentPlgSection-zy5jp8oZ-C1FeG_GO.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-OYuUR0mT-Gdngdkqq.js → CurrencySelectField-DLcojhnq-GxGrtfJf.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-BpvRDCGQ-dnjfWs5U.js → CustomerOnboardingActivationPage-DIwdLnW_-URuxZzGT.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-AGr9ylBU-BGA0gtkj.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-EE_kzrRA-CKMQzBWD.js → CustomerOnboardingDetailPageSkeleton-G6eM-LXh-C21__FUD.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-B69SWxDI-DVIkz2hi.js → CustomerOnboardingNoStepsPage-ZUm80ZnR-BXGfs1fA.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-CFJOSKfq-ZO9cNjoG.js → CustomerOnboardingPage-ap2hRZbg-BmCYAqsv.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-B1loVTKk-By7ugQ4m.js → CustomerOnboardingProductSuitePage-JHpQNLLp-MnvQuCHK.js} +1 -1
  59. package/dist/assets/{Dashboard-DpCe3pX5-B6EdzulI.js → Dashboard-BGw23hBU-BMEdB3X2.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-D0GKRRRO-C1YoKH-x.js → DashboardReportPage-DxQfaMpu-zuEzookN.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-Dxf_aFtw-BAQprOXO.js → DashboardSidebarBackgroundAnimation-G2W4zpsl-CwjTTMim.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-CYTxgJyj-D2u5PugV.js → DepositAccTransactionItem-DMKKoFPE-EaHMiJO6.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-mhcLB2nV-DYskHqLE.js → DepositAccTransactionListPage-P_jQozTg-CCIMfRSh.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-COxtxo6V-0ccNRhaR.js → DomesticWireDetailsPage-Cukq5TMS-XayFd7lz.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-CChNuB4u-NCsw2Dmc.js → DownloadOverlay-0TBZx4M5-tJw7aFF5.js} +18 -18
  66. package/dist/assets/{DrawerPage-BolT_6Cm-BdNx6m33.js → DrawerPage-BCFgiTrx-BpRcwO3p.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-Cpe16SmA-CnV0rAFy.js → EditPeoplePage-Bz6R4dHg--y88xLIK.js} +4 -4
  68. package/dist/assets/{EditReimbursementDetailPage-DmR3eRtA-D4nNFO1T.js → EditReimbursementDetailPage-CpyYBV_p-DhtE3Ix7.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-DBNvCESo-JF8Z-AUG.js → EntityDetailPage-B2zcu4ey-AZAmTTuP.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-D2riKfGi-C1PoBMLo.js → EntitySummarySection-D5aLYTXS-DxX7_ZQq.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-C5shdFUa-aDup1tHo.js → ExpenseAutomationOverviewPage-DOCWbVlk-DU6plvze.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-BJpCFccV-PK4sp4kI.js → ExpenseAutomationPage-CvRVtFoX-BLm68niC.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-D58z0xFD-D-OvdK3m.js → ExpressPayPage-BXf-9l9G-CHlzXKio.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-C5TI7Aed-lsl-bhfu.js → FeaturePreviewPage-LOJ6iaCh-CUZ-sXmH.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-Csdpah5Q-QCTleZxZ.js → FollowStepsSection-BgJIGSUb-CLTuK3I_.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-B3S1RAGw-9KQZDdcw.js → GlobalReviewListPage-vKPeBn-E-Ct7koJCC.js} +1 -1
  77. package/dist/assets/{HelpButton-CGAbbUiJ-DkMm1beR.js → HelpButton-JzcF30dH-CB6SuxmB.js} +1 -1
  78. package/dist/assets/{InformationCardStack-CISjCFub-BlPbGZ3i.js → InformationCardStack-DE_mlx0b-C88FUke7.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-B_kwkhFg-BBqswPBh.js → InsightsCardStack-CPmZ9Zr6-tnBQERvR.js} +1 -1
  80. package/dist/assets/{InsightsSection-9aVhHxu0-CGwFWXzX.js → InsightsSection-mpQV3wZ8-4CdAfd3B.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-0sXjzrcJ-CrRSEA7-.js → IntegrationsSettingsPage-CPSSCQzQ-BBUxk6fr.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-DpP4SuIM-ClmZEK8X.js → InternationalWireSwiftDetailsPage-D6WfqTKR-DPVVasiw.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage-CW1NHbLf-3NOE9NhA.js → InternationalWireVerificationPage-CryJKJXs-Bb-JpupC.js} +1 -1
  84. package/dist/assets/{InviteFormPage-2ppyHkHI-BWGi3gQ0.js → InviteFormPage-C7nLoXTU-DQ8Zo9RY.js} +1 -1
  85. package/dist/assets/{InvitePageListView-CDwmsdNJ-CGqDrO6J.js → InvitePageListView-CtRAy7TX-jnZ8ty_H.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-Y0Yvs2ez-CbSdO6l0.js → InvitePeoplePage-ClFxfSTT-BZxpCDTB.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-BNwg_c1l-NkVqlA96.js → InvoiceUploadSection-DjnuyOSw-kA9Q5RC1.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-DtEXpUel-tCcQAwDl.js → IssueChargeCardPage-CstjZX3q-CVES2HO-.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-lIc9AUSj-DqBDA_kW.js → LabeledAddressValue-Brk71Pjr-Br7WYOjy.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-DQmJ358S-QTuPKr5s.js → LabeledAddressValueField-CvCb2aoN-BMraSweU.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-gzV5lqRv-Ytt8xmja.js → LabeledControlledCheckBoxField-Gqssp1Ri-D4KakohM.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-BSRuZZ9w-DSCUUjDn.js → LabeledCreatableSingleSelectField-VKo2nKGM-CJJoztRm.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-DEbnfj_g-BDtGX6Cu.js → LabeledDocumentField-COC_Ej58-XrCdeiIk.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-CQYgbSaL-BQbS0c5u.js → LabeledDropDownFormattedTextField-r2aCE7Vv-DoETpRb7.js} +1 -1
  95. package/dist/assets/{LabeledText-VwF4V6_p-e5l7dNRT.js → LabeledText-VrCpjPlp-ClFT9aSd.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-eXNE6eGu-DdqN-Lc_.js → LabeledUserSingleSelectWithSubtitlesField-CoAdkKTm-DZKcUQ_D.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-CdedV02i-DtQQnjnc.js → LabeledZeniRolesDropDownField-BP7diqSR-CfKOYSdV.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-BbTu0l-b-DfynPHf7.js → LinkJETransactionPage-WS_VPmbY-BMhOvB7O.js} +1 -1
  99. package/dist/assets/{LockCardPage-62coj_g_-NIgt4Xvt.js → LockCardPage-C0sABFjo-CRzPpS2y.js} +1 -1
  100. package/dist/assets/{LowBalancePopup-DIyrsEot-DJ-G6tHL.js → LowBalancePopup-Cnt8hF5d-CwzBbZJu.js} +1 -1
  101. package/dist/assets/{MagicLinkACHDetailsPage-CWjbXKIJ-XCCAhaIg.js → MagicLinkACHDetailsPage-DHMQHaja-9u2_93Hj.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-DZQgzdhA-SdEXA6vz.js → MagicLinkDomesticWireDetailsPage-CiLUscCx-zxVCbDr6.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DnoE71_A-Bu_k-oWA.js → MagicLinkInternationalWireDetailsPage-X2ADFf0h-CXRlqLrK.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-BDHrHc95-CQy8kZnD.js → MagicLinkSuccessPage-BRHxmUGi-RlvFx9Vv.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-tsi574d5-CuLIaiMH.js → MagicLinkTitleSection-CHy41StU-iaC_IZyx.js} +1 -1
  106. package/dist/assets/{MailingDetailsSection-De2NGkdU-D-C0xeMe.js → MailingDetailsSection-Djpl2M02-DRUGr-cD.js} +1 -1
  107. package/dist/assets/{MeetingCalenderPopup-DeDqhOVG-C5rpEr0y.js → MeetingCalenderPopup-qui2SnEi-zaTm9eCM.js} +1 -1
  108. package/dist/assets/{Menu-BZ3MfCWq-BWn-MU6e.js → Menu-BMPH4-8R-BpGxpLB8.js} +1 -1
  109. package/dist/assets/{MyBankConnectionsSettingsPage-B6gbSXeJ-Bn9Incln.js → MyBankConnectionsSettingsPage-Mohwcu-e-CWUSlqWi.js} +1 -1
  110. package/dist/assets/{MyPendingActivationChargeCardListPage-Dm2DU2pe-B-yqu7UE.js → MyPendingActivationChargeCardListPage-DePpW1nZ-C9q3vMXn.js} +1 -1
  111. package/dist/assets/{MyProfileSettingsPage-DlFYEYR2-aNdzUFFn.js → MyProfileSettingsPage-C--PD-iR-DaoANO6b.js} +1 -1
  112. package/dist/assets/{NavBarWithPicker-B9fB_b4i-kEw5t4nV.js → NavBarWithPicker-CDrtlEhe-BXT_gs6d.js} +4 -4
  113. package/dist/assets/{NavigationArrow-CNpW28GW-BDlQVbHD.js → NavigationArrow-Ci8e8S3O-B8ujCRoJ.js} +1 -1
  114. package/dist/assets/{NavigationDots-DrEAFxpz-BnvcN6kv.js → NavigationDots-CT4KVH38-BGK5cPzx.js} +1 -1
  115. package/dist/assets/{NewGlobalMerchantPage-DjYEm0mU-CjRyBc5v.js → NewGlobalMerchantPage-Cih2BVZW-Cj5t7bgU.js} +1 -1
  116. package/dist/assets/{NoDataChart-CPJXwyWa-BAyXITzt.js → NoDataChart-Bb4iomO0-P7hz2s_V.js} +1 -1
  117. package/dist/assets/{NoDataTable-zqmAdMpH-B_Jid1IU.js → NoDataTable-CGhIXUQS-CDx2kork.js} +1 -1
  118. package/dist/assets/{NotFoundPage-BxsQnhKX-C1feDXPZ.js → NotFoundPage-C1yRpH5R-Ck1XUNUA.js} +1 -1
  119. package/dist/assets/{NotificationSettingsPage-5rT4kBF0-Dlnb7vzs.js → NotificationSettingsPage-B6niw-yz-CwrfbQTC.js} +1 -1
  120. package/dist/assets/{NotificationsListConfig-DD21aJah-CTiNKNtS.js → NotificationsListConfig-BXhnYFMc-BTDY1rqZ.js} +1 -1
  121. package/dist/assets/{NotificationsPage-B2vE5QMM-C5GC12E3.js → NotificationsPage-BxD_x5RM-zpY3e44n.js} +1 -1
  122. package/dist/assets/{OpExByVendorPage-BlOjhXuk-CyyWfvxe.js → OpExByVendorPage-DhU6KaAy-BGhweX73.js} +1 -1
  123. package/dist/assets/{OverlayContainerPage-D1XDQqSC-BKuiQi0m.js → OverlayContainerPage-D1XDQqSC-DiLr-3XY.js} +1 -1
  124. package/dist/assets/{PandLWithForecastPage-D4BVhSNf-DPtBBqMT.js → PandLWithForecastPage-a4spNLTC-HTxHhtnZ.js} +1 -1
  125. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BHfmGlTd-DpEW14U8.js → PaymentAccountSetupBillingAddressSection-BNP1S38J-BKexTB0-.js} +1 -1
  126. package/dist/assets/{PeoplePage-DEziszmp-DVbYKq_e.js → PeoplePage-BkflVTQ7-DltmyGpk.js} +1 -1
  127. package/dist/assets/{PortfolioAllocationFormPage-B5JZy2cU-WGG24DNA.js → PortfolioAllocationFormPage-B6dIZdSj-1TnuK3pg.js} +5 -5
  128. package/dist/assets/{PortfolioDetails-CN5JC3Jy-D6AYc0mv.js → PortfolioDetails-DgBQTG2N-CH7_79Km.js} +1 -1
  129. package/dist/assets/{ProductsCarousel-DctP1eXs-PnK8mzwU.js → ProductsCarousel-98LvzRjI-B_uCpX-j.js} +1 -1
  130. package/dist/assets/{PromoBaseCards-DnMnpK-a-Cz6aCHL9.js → PromoBaseCards-8w-GQx13-DTQa74HO.js} +1 -1
  131. package/dist/assets/{QBOConnectionDialog-BazrhjZb-BMKfT6ZY.js → QBOConnectionDialog-Sok8rRG4-Cjf0nLBD.js} +1 -1
  132. package/dist/assets/{QBOSetupSection-BLLT8kmS-DsRWfoS9.js → QBOSetupSection-BMRMT06i-DJALpgeV.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D975K6ku-CXBT8B2c.js → ReimbursementApprovalRuleDetailPage-Cye5Dfay-CGpPHs6b.js} +1 -1
  134. package/dist/assets/{ReimbursementApprovalRulesPage-IeqxqH7T-C0Raolst.js → ReimbursementApprovalRulesPage-C8C8pUIT-CjmH8lZQ.js} +1 -1
  135. package/dist/assets/{ReimbursementDetailPage-ClF5VZjq-ks4eFHc2.js → ReimbursementDetailPage-BkrQE22J-D3U3w3Jc.js} +1 -1
  136. package/dist/assets/{ReimbursementPromoPage-tHvviUt5-DCWX7DuX.js → ReimbursementPromoPage-qafth1vd-_RORg2Jf.js} +1 -1
  137. package/dist/assets/{ReimbursementSetUpPage-DarYgpUr-D9KULYPs.js → ReimbursementSetUpPage-CnroOkJk-BCH-HReS.js} +1 -1
  138. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-2TxWVhxf-BPrvE5Jn.js → ReimbursementsBulkReviewDrawerPage-2zlPBW1D-CFci4vmn.js} +1 -1
  139. package/dist/assets/{ReloadCard-TX3UFbxi-B8hH381T.js → ReloadCard-B0LL0bsO-BrdpqtUX.js} +1 -1
  140. package/dist/assets/{ReportTableViewSelector-BxGg49JV-CMSnSqKd.js → ReportTableViewSelector-CwM38MkL-Clt78PC5.js} +1 -1
  141. package/dist/assets/{ReportsPage-CzLbNd7f-C5bVJW8o.js → ReportsPage-Cyl_WUQz-jLAMEAS-.js} +1 -1
  142. package/dist/assets/{RevenueChart-x2L7j2F6-CqtqsE0T.js → RevenueChart-CXxEH9pM-VtijpZqR.js} +1 -1
  143. package/dist/assets/{ReviewDetailsPage-BOE0i6DJ-4o6WDgzx.js → ReviewDetailsPage-C0soI4uR-CarcY93y.js} +3 -3
  144. package/dist/assets/{ReviewOverlay-k7Yv6cPl-BZkgCdqh.js → ReviewOverlay-BKS6IxUd-1ICeh20u.js} +1 -1
  145. package/dist/assets/{RoleWithToolTip-BXNPbq51-cZa09h6P.js → RoleWithToolTip-BfLzD5K8-Bba4gM-x.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DwsARyar-CYSzhK6i.js → ScheduleDetailsFixedAssetsPage-1ULyqeCq-BoIFwh0V.js} +1 -1
  147. package/dist/assets/{ScheduleDetailsPage-DiWh6HFF-Blhgzbbs.js → ScheduleDetailsPage-D-Z-Fi_m-BaMORKKh.js} +1 -1
  148. package/dist/assets/{ScheduleSequenceTable-uB-F8Zfa-vvMhHs0D.js → ScheduleSequenceTable-DAwNCXh_-Q6E83xzc.js} +1 -1
  149. package/dist/assets/{ScreenRoutes-BtY8Lm47.js → ScreenRoutes-BufP4FWU.js} +1 -1
  150. package/dist/assets/{SetUpAccountSection-B_NrG7PF-Dh75fgQ6.js → SetUpAccountSection-_zsQfBq1-0U-HhnaD.js} +1 -1
  151. package/dist/assets/{SetUpDefaultSection-B4Tvbzll-ClIjrHAf.js → SetUpDefaultSection-BHYOBJ7g-BuIYblZ8.js} +1 -1
  152. package/dist/assets/{SignIn-QHVyx5c0-D9jmFgmi.js → SignIn-BOLyauQa-CixO2RtW.js} +3 -3
  153. package/dist/assets/{SignInScreen-C7CYcXm8.js → SignInScreen-YcOown53.js} +1 -1
  154. package/dist/assets/{SpendManagementListViewPage-BtVibd3X-BA7WTFVT.js → SpendManagementListViewPage-zh_Ui5iH-CGdOpKBT.js} +3 -3
  155. package/dist/assets/{SpendManagementPerTabPage-BM4QDdoq-DhzrIDjb.js → SpendManagementPerTabPage-Bu4V_wEU-CSfLUAuy.js} +1 -1
  156. package/dist/assets/{SpendManagementSection-CkjbKHuA-BrSfj2hB.js → SpendManagementSection-vhFCT9_L-qwRdXZvK.js} +1 -1
  157. package/dist/assets/{SpendMgmtSetupAccountSection-BZ6YBI9L-hIwwKeHI.js → SpendMgmtSetupAccountSection-DiiBySox-BM3KKSU_.js} +9 -9
  158. package/dist/assets/{StatementItem-C-OOwdLj-DwPF0QMA.js → StatementItem-5oh_s6z3-6OUEM9XJ.js} +1 -1
  159. package/dist/assets/{StatementsPage-C8FwOEHw-BkgHvewq.js → StatementsPage-CQqrzaz3-BJwsThFV.js} +1 -1
  160. package/dist/assets/{StatusSwitcher-DDAIdmGW-BZKAFf2k.js → StatusSwitcher-C1BUhsR_-8sLNdfiT.js} +1 -1
  161. package/dist/assets/{SubTabSwitcher-DHxYgN7S-Bap9nrQA.js → SubTabSwitcher-DbtPzcHo-y1X0rE6B.js} +1 -1
  162. package/dist/assets/{SummaryCard-DB61FVhc-ChmdxtFb.js → SummaryCard-ChBY9-wb-Bw7p-RjC.js} +1 -1
  163. package/dist/assets/{TaskManagementPage-3KR1pIOP-C95UYT8s.js → TaskManagementPage-BLvvJOu7-COHpvcme.js} +1 -1
  164. package/dist/assets/{TimeRangeSwitcher-C8w8Bh_E-DWSDMtvn.js → TimeRangeSwitcher-BKBRRSFm-SlEGCNlP.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcher-DYaFRiai--n33zqBa.js → TimeframeSwitcher-BYbWJkqV-Sx7SebtL.js} +1 -1
  166. package/dist/assets/{TimeframeSwitcherWithToggle-O8Wee44C-CJs2xDjf.js → TimeframeSwitcherWithToggle-CQ7RqzAP-CKRbf7Jg.js} +1 -1
  167. package/dist/assets/{TopExCard-9KbsTjCg-Ey2RTzZz.js → TopExCard-DlOpHPBt-t5AMNx03.js} +1 -1
  168. package/dist/assets/{TopExDetailPage-DMvUVN5s-CXpH48fc.js → TopExDetailPage-DiRn3jsO-DsHIdgbe.js} +1 -1
  169. package/dist/assets/{TransactionDetailPage-DZ_tNzxQ-DpKMNdAL.js → TransactionDetailPage-CVxiCsG1-C01wk2JT.js} +1 -1
  170. package/dist/assets/{TransactionList-CvrOM5cz-CX-JxclV.js → TransactionList-bXlPU8EJ-CsgRWKIU.js} +1 -1
  171. package/dist/assets/{TransactionListBig-CzSohE8_-03DALQ8n.js → TransactionListBig-C8XRWb2H-CEO2-wEp.js} +1 -1
  172. package/dist/assets/{TransactionListPage-DDCjfLv3-DJhHksJA.js → TransactionListPage-CUX45pNJ-Cjx1dU3-.js} +1 -1
  173. package/dist/assets/{TransactionVendorDetailPage-D79bSSm4-Dww2nWgS.js → TransactionVendorDetailPage-CN37v29r-Bn0Qs16b.js} +1 -1
  174. package/dist/assets/{TransferDrawerPage-wIuuspOB-WRgF78NI.js → TransferDrawerPage-GsrHKsdt-CPhY9uVH.js} +6 -6
  175. package/dist/assets/{TreasuryOverviewPage-gnHjOdp1-B3YWr_sV.js → TreasuryOverviewPage-C-yNzG5C-wM7S6XC2.js} +1 -1
  176. package/dist/assets/{TreasuryPromoPage-D6IVoctX-DC3NqrUL.js → TreasuryPromoPage-BENRjIY1-VluX1kUr.js} +12 -12
  177. package/dist/assets/{TreasurySetupPage-CyaXCzZf-D4YFNmAY.js → TreasurySetupPage-DmIyCtnW-dsW9ITCo.js} +2 -2
  178. package/dist/assets/{TreasuryStatementsPage-XyURgUMc-CBu9Hnj0.js → TreasuryStatementsPage-DTCPq8Gp-B--ZL0Y4.js} +1 -1
  179. package/dist/assets/{TreasuryTaxLetterPage-OHvXH4x_-DKXJmMwd.js → TreasuryTaxLetterPage-O433FhAV-DJp0rfJO.js} +1 -1
  180. package/dist/assets/{TreasuryTransferOrReviewPage-DvPOsZ6Y-CGOfirO5.js → TreasuryTransferOrReviewPage-D_3AEXbX-D5VhmFuv.js} +1 -1
  181. package/dist/assets/{TrendChart-CPbwWuUI-BlcNZdOr.js → TrendChart-DdACpA7D-awtrGG14.js} +1 -1
  182. package/dist/assets/{TrendWithTransactions-BhxaSxAB-zDkIJ6O5.js → TrendWithTransactions-BnHF9LmW-X7CQ4Pfm.js} +1 -1
  183. package/dist/assets/{UncategorizedAccountsMappingPage-CLDyk6B7-CSc85-L-.js → UncategorizedAccountsMappingPage-CPwbKmda-BltiYNM6.js} +1 -1
  184. package/dist/assets/{UnitIntegrationPage-BoU9j_IJ-C-52Ozhj.js → UnitIntegrationPage-Du-y-JVz-BVzpDhf6.js} +1 -1
  185. package/dist/assets/{UploadAdditionalDocumentOverlay-BBBO7he9-fEljungr.js → UploadAdditionalDocumentOverlay-Pjy5PzIW-Cpkjr1U1.js} +1 -1
  186. package/dist/assets/{Vendor2FAPopup-Rb3R_tes-N8vNV45c.js → Vendor2FAPopup-DgjZcTQX-DrNGW2uE.js} +1 -1
  187. package/dist/assets/{VendorACHDetailsPage-DHfHuMBC-Cauz5QoR.js → VendorACHDetailsPage-DcNKtZ0R-ELKLGcxf.js} +1 -1
  188. package/dist/assets/{VendorDetailPage-DyxCCxD8-5X-mlZQs.js → VendorDetailPage-DEEb2gjp-CUZwVnwd.js} +1 -1
  189. package/dist/assets/{VendorDomesticWireDetailsPage-BiAaQYS9-BzfsxwUe.js → VendorDomesticWireDetailsPage-y3jp785O-Cy5mapty.js} +1 -1
  190. package/dist/assets/{VendorFiling1099EditablePage-u8ThnUDe-CXMgAxtx.js → VendorFiling1099EditablePage-BduWVF51-Di0FCJx8.js} +1 -1
  191. package/dist/assets/{VendorFirstReviewPage-D7XydNcf-DaT1tWU4.js → VendorFirstReviewPage-B8vqDzGi-Bp2ZfGwo.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireDetailsPage-D4nE3lgg-DQXyzPBP.js → VendorInternationalWireDetailsPage-DmJ3Bq2T-dpnRBprR.js} +1 -1
  193. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DazgqE6v-_yB_sNLi.js → VendorInternationalWireSwiftDetailsPage-Bxy4g8yL-DEIHbAOM.js} +1 -1
  194. package/dist/assets/{VendorsAccountsSection-BGko46RN-BuP4OOc7.js → VendorsAccountsSection-DhleXBjq-D7pc7nto.js} +1 -1
  195. package/dist/assets/{VerifyDevice-CZP5FKvG-DAEE8-rN.js → VerifyDevice-BdUpM2Xk-SRC45i0e.js} +6 -6
  196. package/dist/assets/{VideoPlayer-Csx55A4e-CYEC6H0n.js → VideoPlayer-Bh9pi5bb-BqO_YZ12.js} +1 -1
  197. package/dist/assets/{VideoPopup-Dp-c0GWW-BvIbGViq.js → VideoPopup-BmSbL0tQ-BdCyOT4Q.js} +1 -1
  198. package/dist/assets/{WarningsDrawerPage-DkbOQKDX-BriGIVHB.js → WarningsDrawerPage-DfPbJNDz-QbWFDUy4.js} +1 -1
  199. package/dist/assets/{ZeniAccountDetailPage-BEBuZNiD-Cv8ntbS5.js → ZeniAccountDetailPage-BgJTjD7y-CYWtq9SB.js} +1 -1
  200. package/dist/assets/{ZeniAccountListViewPage-B1TCB511-Yg8vE6vw.js → ZeniAccountListViewPage-BWVLF3FE-LLLk-CBs.js} +1 -1
  201. package/dist/assets/{ZeniAccountNavBarPieces-Cx0PFqHk-D_k55FPv.js → ZeniAccountNavBarPieces-Qs5xZ8ja-CrDO9fOa.js} +1 -1
  202. package/dist/assets/{ZeniAccountPromoPage-CxmtyMwE-2r5VdT0T.js → ZeniAccountPromoPage-B9FLpxZq-BlSVDmdE.js} +1 -1
  203. package/dist/assets/{ZeniAccountSetupPage-DnRT5njn-BvoN5Zov.js → ZeniAccountSetupPage-CvumFc2I--HP8MNxX.js} +1 -1
  204. package/dist/assets/{ZeniCopyright-BVCuJT6Y-AhQJq0S8.js → ZeniCopyright-2Gm8bvIj-B-XJ0sll.js} +1 -1
  205. package/dist/assets/{ZeniTransferAmountSlider-tgjKZKK9-D8cq27WA.js → ZeniTransferAmountSlider-3iNLjlk5-DrUy3mRf.js} +1 -1
  206. package/dist/assets/{analyticsHelper-CUE9UAMD-j3N3J05n.js → analyticsHelper-BjdxHYNU-ylGVD7-2.js} +1 -1
  207. package/dist/assets/{analyticsHelper-Co1rlE0p.js → analyticsHelper-DfZHUz5O.js} +1 -1
  208. package/dist/assets/{chartTypes-CcLTCCG0-BsGFo6hT.js → chartTypes-C55wRbZm-DhTW0crF.js} +1 -1
  209. package/dist/assets/{commonDimensions-CTsqA6um-TMDaWMZU.js → commonDimensions-kvPZ9uhR-DQbxhhwD.js} +1 -1
  210. package/dist/assets/{detailCommon--EhC1iKt-Blem0hPE.js → detailCommon-flEwHQWE-CMzUPdgC.js} +1 -1
  211. package/dist/assets/{downloadPdf-Co6NLPP_-7oJCEbHq.js → downloadPdf-9PwAfZrf-CivehzyW.js} +1 -1
  212. package/dist/assets/{index-DoBZ9eO3.js → index-CU0svkHW.js} +62 -62
  213. package/dist/assets/{mapLoadingInProgressToTreeNode-vinEf3O0-DiGNxDCE.js → mapLoadingInProgressToTreeNode-D2-Xk-a2-Byms7b6e.js} +1 -1
  214. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BnxbUJPe-W3Tk6KAT.js → mapSectionWithAcOnlyToTreeNode-D8mXp6cH-QaunmZY4.js} +1 -1
  215. package/dist/assets/{mapSpacerToTreeNode-chkrQGMX-Bt9w3lDX.js → mapSpacerToTreeNode-DgTZkD7S-DEhHjHQU.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-DTHtlrnV-CkzSt2B6.js → mapTimeframeBalancesToTreeNode-DacdNIKt-9l0GpLu7.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-j2aabgKb-C5V01lWW.js → mapTimeframeBalancesToTreeNode-Dc8D2GxV-CGuVbu0D.js} +1 -1
  218. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-gAxSLe4t-BgMAFIm5.js → mapTimeframeHeaderLoadingInProgressToTreeNode-ByVkwcZX-B0WkGWvQ.js} +1 -1
  219. package/dist/assets/{toCOABalancesWithID-sfFXqnrY-C-amH0SJ.js → toCOABalancesWithID-CHP1NmFV-B53Lqnlb.js} +1 -1
  220. package/dist/assets/{toChartData-DHQAPqS1-DREPvFwN.js → toChartData-CV-IsjGn-DrX1S8Xg.js} +1 -1
  221. package/dist/assets/{treasuryColorHelper-BqprOh-j-eRf2rqaX.js → treasuryColorHelper-73WJKkar-B6B4qh8C.js} +1 -1
  222. package/dist/assets/{uploadAttachment-CD0cbojy-D2UDZJqF.js → uploadAttachment-Cj3QcGO3-KJ3f0q5Q.js} +1 -1
  223. package/dist/assets/{uploadReceipts-CQ7whQyJ-LTC-UytC.js → uploadReceipts-CQ7whQyJ-DaTTfVLX.js} +1 -1
  224. package/dist/index.html +1 -1
  225. package/package.json +3 -3
  226. package/dist/assets/ConfettiBurst-BoAprBVC-BMNcAYF3.js +0 -1
  227. package/dist/assets/CustomerOnboardingContainerPage-B0SKnjh2-CEWiCnCo.js +0 -1
@@ -1 +1 @@
1
- import{aP as o,F as y,j as i,hY as j,hZ as v}from"./index-DoBZ9eO3.js";import{b as e}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const H=({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),P=y.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(j,{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(v,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:E=>h?.(E)}}):null})};export{H as default};
1
+ import{aP as o,F as y,j as i,hY as j,hZ as v}from"./index-CU0svkHW.js";import{b as e}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const H=({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),P=y.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(j,{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(v,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:E=>h?.(E)}}):null})};export{H as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-DoBZ9eO3.js";import{b as d}from"./vendor-Bs1fkIUX.js";import{f as k}from"./ACHDetailsPage-DV4OB7NM-DpheZDDw.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountWarningSection-Ckzs3GdZ-Cnu7FtQV.js";import"./MagicLinkTitleSection-tsi574d5-CuLIaiMH.js";import"./BankAccountSection-OBSfguxr-Po-ACxiO.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-CU0svkHW.js";import{b as d}from"./vendor-Bs1fkIUX.js";import{f as k}from"./ACHDetailsPage-DzIkTxTe-CGnlEvGr.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountWarningSection-ClNYTjN_-BQ9-dTwM.js";import"./MagicLinkTitleSection-CHy41StU-iaC_IZyx.js";import"./BankAccountSection-Cw7uDvEJ-Bd6yTqI1.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{F as _,c as Re,q as ne,y as g,aC as fe,l as se,cU as xt,aa as yt,hc as Ae,hd as Be,he as Ee,hf as be,hg as ft,aU as bt,cS as wt,j as t,bF as $t,ad as Ct,hh as St,hi as ue,u as l,cT as Dt,aQ as jt,o,b_ as S,d3 as Tt,gT as we,hj as Lt,cV as Vt,cW as kt,cX as Ot,hk as It,gn as Pt,d1 as Ft,hl as zt,hm as Mt,h as M,dL as _t,dK as Nt,df as Wt,aX as de,b6 as Ue,ai as qe,dM as Ht,a$ as Rt,hn as At,ho as Bt,am as Et,hp as Ut,cw as Ye,hq as qt,O as $e,H as Qe}from"./index-DoBZ9eO3.js";import{b as C,n as a,i as Yt}from"./vendor-Bs1fkIUX.js";import{k as Qt}from"./SubTabSwitcher-DHxYgN7S-Bap9nrQA.js";import{f as Xt}from"./TransactionList-CvrOM5cz-CX-JxclV.js";import{R as Gt}from"./TrendWithTransactions-BhxaSxAB-zDkIJ6O5.js";import{o as Zt,t as Jt}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{W as Kt}from"./LabeledAddressValueField-DQmJ358S-QTuPKr5s.js";import{Y as es}from"./LabeledDropDownFormattedTextField-CQYgbSaL-BQbS0c5u.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BoxItem-DNKrNJdW-BFr8N6MT.js";import"./commonDimensions-CTsqA6um-TMDaWMZU.js";import"./TrendChart-CPbwWuUI-BlcNZdOr.js";import"./chartTypes-CcLTCCG0-BsGFo6hT.js";import"./toCOABalancesWithID-sfFXqnrY-C-amH0SJ.js";import"./toChartData-DHQAPqS1-DREPvFwN.js";import"./NoDataChart-CPJXwyWa-BAyXITzt.js";import"./InsightsSection-9aVhHxu0-CGwFWXzX.js";import"./NavigationDots-DrEAFxpz-BnvcN6kv.js";const ts=a.div`
1
+ import{F as _,c as Re,q as ne,y as g,aC as fe,l as se,cU as xt,aa as yt,hc as Ae,hd as Be,he as Ee,hf as be,hg as ft,aU as bt,cS as wt,j as t,bF as $t,ad as Ct,hh as St,hi as ue,u as l,cT as Dt,aQ as jt,o,b_ as S,d3 as Tt,gT as we,hj as Lt,cV as Vt,cW as kt,cX as Ot,hk as It,gn as Pt,d1 as Ft,hl as zt,hm as Mt,h as M,dL as _t,dK as Nt,df as Wt,aX as de,b6 as Ue,ai as qe,dM as Ht,a$ as Rt,hn as At,ho as Bt,am as Et,hp as Ut,cw as Ye,hq as qt,O as $e,H as Qe}from"./index-CU0svkHW.js";import{b as C,n as a,i as Yt}from"./vendor-Bs1fkIUX.js";import{k as Qt}from"./SubTabSwitcher-DbtPzcHo-y1X0rE6B.js";import{f as Xt}from"./TransactionList-bXlPU8EJ-CsgRWKIU.js";import{R as Gt}from"./TrendWithTransactions-BnHF9LmW-X7CQ4Pfm.js";import{o as Zt,t as Jt}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{W as Kt}from"./LabeledAddressValueField-CvCb2aoN-BMraSweU.js";import{Y as es}from"./LabeledDropDownFormattedTextField-r2aCE7Vv-DoETpRb7.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BoxItem-DR7ZjTUs-C1VV8CvK.js";import"./commonDimensions-kvPZ9uhR-DQbxhhwD.js";import"./TrendChart-DdACpA7D-awtrGG14.js";import"./chartTypes-C55wRbZm-DhTW0crF.js";import"./toCOABalancesWithID-CHP1NmFV-B53Lqnlb.js";import"./toChartData-CV-IsjGn-DrX1S8Xg.js";import"./NoDataChart-Bb4iomO0-P7hz2s_V.js";import"./InsightsSection-mpQV3wZ8-4CdAfd3B.js";import"./NavigationDots-CT4KVH38-BGK5cPzx.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-DoBZ9eO3.js";import{b as C}from"./vendor-Bs1fkIUX.js";import{D as b}from"./DomesticWireDetailsPage-COxtxo6V-0ccNRhaR.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountSection-OBSfguxr-Po-ACxiO.js";import"./MagicLinkTitleSection-tsi574d5-CuLIaiMH.js";import"./BankAccountWarningSection-Ckzs3GdZ-Cnu7FtQV.js";import"./MailingDetailsSection-De2NGkdU-D-C0xeMe.js";import"./LabeledAddressValueField-DQmJ358S-QTuPKr5s.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-CU0svkHW.js";import{b as C}from"./vendor-Bs1fkIUX.js";import{D as b}from"./DomesticWireDetailsPage-Cukq5TMS-XayFd7lz.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountSection-Cw7uDvEJ-Bd6yTqI1.js";import"./MagicLinkTitleSection-CHy41StU-iaC_IZyx.js";import"./BankAccountWarningSection-ClNYTjN_-BQ9-dTwM.js";import"./MailingDetailsSection-Djpl2M02-DRUGr-cD.js";import"./LabeledAddressValueField-CvCb2aoN-BMraSweU.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{q as oe,c as Ne,F as ne,aa as Ae,dj as K,hr as de,cS as ke,y as w,j as t,bF as Be,aM as Ee,ad as Re,cV as C,o as s,cZ as Oe,hk as We,gn as qe,d1 as Me,hl as He,hm as Ue,d9 as Ke,aQ as Ge,db as Qe,dk as Ye,u as c,A as Ze,b_ as P,cQ as _e,hs as Je,h as I,K as Xe,cw as et,am as ce,eY as tt,ht as st,hu as lt,hv as M,dl as it}from"./index-DoBZ9eO3.js";import{b as x,n as a}from"./vendor-Bs1fkIUX.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-CQYgbSaL-BQbS0c5u.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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:g,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:g,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:g,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:g,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:g,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:g,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:g,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:g,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{q as oe,c as Ne,F as ne,aa as Ae,dj as K,hr as de,cS as ke,y as w,j as t,bF as Be,aM as Ee,ad as Re,cV as C,o as s,cZ as Oe,hk as We,gn as qe,d1 as Me,hl as He,hm as Ue,d9 as Ke,aQ as Ge,db as Qe,dk as Ye,u as c,A as Ze,b_ as P,cQ as _e,hs as Je,h as I,K as Xe,cw as et,am as ce,eY as tt,ht as st,hu as lt,hv as M,dl as it}from"./index-CU0svkHW.js";import{b as x,n as a}from"./vendor-Bs1fkIUX.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-r2aCE7Vv-DoETpRb7.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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:g,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:g,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:g,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:g,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:g,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:g,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:g,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:g,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{q as ae,ax as Nn,c as mn,aa as nt,i7 as ze,cS as tt,az as On,i8 as ie,i9 as ve,ia as fe,ib as be,ic as me,F as je,j as n,i3 as ot,ad as rt,bF as it,ab as st,cD as at,cE as lt,cF as dt,c7 as ct,aM as X,bZ as mt,cA as pt,b3 as ut,dG as ht,cH as gt,y as w,m as wt,B as Ne,o as t,aT as In,am as De,aS as xt,u as c,ai as Re,cM as vt,l as Pn,dL as zn,b_ as Pe,bl as Tn,cP as ft,cd as bt,dY as $t,b9 as Xe,bx as pn,h as B,M as Dn,fZ as St,dC as wn,df as rn,id as yt,ie as sn,ap as jt,c5 as Be,e6 as Rt,eN as xn,bP as Ct,dN as Vt,a as vn,ig as kt,d3 as Mt,db as Nt,dc as Ot,eS as It,an as Ln,ih as Pt,bN as se,ii as fn,gV as zt,av as Tt,au as Dt,dM as Lt,C as Fn,O as Ft,b as At,aV as dn}from"./index-DoBZ9eO3.js";import{b as f,n as o,i as cn}from"./vendor-Bs1fkIUX.js";import{r as _t}from"./mui-Ty75qFQF.js";import{P as Bt}from"./Menu-BZ3MfCWq-BWn-MU6e.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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{q as ae,ax as Nn,c as mn,aa as nt,i7 as ze,cS as tt,az as On,i8 as ie,i9 as ve,ia as fe,ib as be,ic as me,F as je,j as n,i3 as ot,ad as rt,bF as it,ab as st,cD as at,cE as lt,cF as dt,c7 as ct,aM as X,bZ as mt,cA as pt,b3 as ut,dG as ht,cH as gt,y as w,m as wt,B as Ne,o as t,aT as In,am as De,aS as xt,u as c,ai as Re,cM as vt,l as Pn,dL as zn,b_ as Pe,bl as Tn,cP as ft,cd as bt,dY as $t,b9 as Xe,bx as pn,h as B,M as Dn,fZ as St,dC as wn,df as rn,id as yt,ie as sn,ap as jt,c5 as Be,e6 as Rt,eN as xn,bP as Ct,dN as Vt,a as vn,ig as kt,d3 as Mt,db as Nt,dc as Ot,eS as It,an as Ln,ih as Pt,bN as se,ii as fn,gV as zt,av as Tt,au as Dt,dM as Lt,C as Fn,O as Ft,b as At,aV as dn}from"./index-CU0svkHW.js";import{b as f,n as o,i as cn}from"./vendor-Bs1fkIUX.js";import{r as _t}from"./mui-Ty75qFQF.js";import{P as Bt}from"./Menu-BMPH4-8R-BpGxpLB8.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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,q as K,aa as he,F as N,cS as ye,aC as ge,l as Q,cD as be,cE as fe,cF as xe,ad as ve,aQ as we,y as p,dj as le,dk as Ce,o as y,b8 as $e,d3 as oe,c as ne,dl as je,dm as Y,d9 as G,b1 as H,cV as De,dn as Te,u as a,db as Se,aM as Fe,h as V,m as ke,O as Oe,c5 as Ae,ai as Le,bP as We}from"./index-DoBZ9eO3.js";import{b as I,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Re}from"./BankAccountWarningSection-Ckzs3GdZ-Cnu7FtQV.js";import{T as Ie}from"./MailingDetailsSection-De2NGkdU-D-C0xeMe.js";import{S as Pe}from"./CurrencySelectField-OYuUR0mT-Gdngdkqq.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./LabeledAddressValueField-DQmJ358S-QTuPKr5s.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:D,showAdditionalInfoLabel:F=!0}){const C=K(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(ke,{size:"Small",start:!0})});if(F&&D||j){let c=null;return o===!0&&F&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ue,{children:t.jsx(Ne,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":Fe("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(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(Be,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
1
+ import{j as t,q as K,aa as he,F as N,cS as ye,aC as ge,l as Q,cD as be,cE as fe,cF as xe,ad as ve,aQ as we,y as p,dj as le,dk as Ce,o as y,b8 as $e,d3 as oe,c as ne,dl as je,dm as Y,d9 as G,b1 as H,cV as De,dn as Te,u as a,db as Se,aM as Fe,h as V,m as ke,O as Oe,c5 as Ae,ai as Le,bP as We}from"./index-CU0svkHW.js";import{b as I,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Re}from"./BankAccountWarningSection-ClNYTjN_-BQ9-dTwM.js";import{T as Ie}from"./MailingDetailsSection-Djpl2M02-DRUGr-cD.js";import{S as Pe}from"./CurrencySelectField-DLcojhnq-GxGrtfJf.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./LabeledAddressValueField-CvCb2aoN-BMraSweU.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:D,showAdditionalInfoLabel:F=!0}){const C=K(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(ke,{size:"Small",start:!0})});if(F&&D||j){let c=null;return o===!0&&F&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ue,{children:t.jsx(Ne,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":Fe("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(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(Be,{windowSize:C,hasError:j,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-DoBZ9eO3.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-DpP4SuIM-ClmZEK8X.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountWarningSection-Ckzs3GdZ-Cnu7FtQV.js";import"./MailingDetailsSection-De2NGkdU-D-C0xeMe.js";import"./LabeledAddressValueField-DQmJ358S-QTuPKr5s.js";import"./MagicLinkTitleSection-tsi574d5-CuLIaiMH.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-CU0svkHW.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-D6WfqTKR-DPVVasiw.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountWarningSection-ClNYTjN_-BQ9-dTwM.js";import"./MailingDetailsSection-Djpl2M02-DRUGr-cD.js";import"./LabeledAddressValueField-CvCb2aoN-BMraSweU.js";import"./MagicLinkTitleSection-CHy41StU-iaC_IZyx.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{q as ie,c as oe,F as te,y as c,gO as w,aU as L,j as i,hX as m,hW as g,o as n,O as re,h as ne,dS as se,ai as le,u as a}from"./index-DoBZ9eO3.js";import{n as l}from"./vendor-Bs1fkIUX.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{q as ie,c as oe,F as te,y as c,gO as w,aU as L,j as i,hX as m,hW as g,o as n,O as re,h as ne,dS as se,ai as le,u as a}from"./index-CU0svkHW.js";import{n as l}from"./vendor-Bs1fkIUX.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{aP as A,aa as B,F as O,j as r,c4 as U,ab as d,l as W,ad as X,c5 as Y,ai as f,c6 as Z,o,a as D,c7 as q,am as _,c8 as G,c9 as C,bP as J,h as y,b9 as b,ca as K}from"./index-DoBZ9eO3.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Q,Z as k}from"./AccountLockedInfoModal-snm4MHKv-DQl6U7Zc.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./handshake-BPg58FML-BpN0H-2S.js";const ee=e=>{if(!e)return"";try{const s=G(e);if(!s){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 h=s.countryCallingCode,m=s.nationalNumber.slice(-4);return`+${h} (•••) ••• ${m}`}catch{const s=e.replace(/\D/g,"");if(s.length>=4){const h=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${h}`}return C(e)||e}},F=120,I=30,P=2,re="456px",te="256px",V=6,n=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",Le=e=>{const s=e.verifyOtpFetchState==="In-Progress",[h,m]=c.useState(!1),[l,g]=c.useState(!1),[$,L]=c.useState(0),[v,E]=c.useState(F),[p,S]=c.useState(I),w=A(e.verifyOtpFetchState),u=B({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),j=u.watch(x),T=()=>{e.onCancelVerifyDevice()},R=()=>{j.trim().length===V&&e.onVerifyOtp(j)},M=n.footerHelperText.replace(/<button_text>/,n.verify);c.useEffect(()=>{w==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(m(!0),L(i=>i+1),u.setValue(x,""))},[w,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const i=setInterval(()=>{E(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[v]),c.useEffect(()=>{if(p<=0)return;const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[p]);const H=i=>{const a=Math.floor(i/60),z=i%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(U,{open:!0,children:r.jsxs(oe,{children:[r.jsx(d,{controller:$>P,children:r.jsx(Q,{unlockDate:W.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=P,children:r.jsx(X,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(ne,{children:n.verifyDeviceTitle}),r.jsx(ie,{children:n.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(Y,{placement:"top",title:r.jsxs(f,{children:[n.changePhoneNumberHelperText,r.jsx(Se,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(Ee,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Z,{value:j,valueLength:6,hasError:l===!0||h===!0,style:{margin:o.sp0},onChange:i=>{u.setValue(x,i),m(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(N,{children:r.jsxs(je,{children:[n.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(N,{children:r.jsx(ye,{children:n.codeExpired})})})]}),h===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:n.incorrectCode})}),r.jsx(d,{controller:$===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(he,{children:n.codeNotReceived}),r.jsx(ue,{disabled:p>0,onClick:()=>{p===0&&(e.onResendOtp(),m(!1),g(!1),u.setValue(x,""),E(F),S(I))},children:n.resend}),p>0&&r.jsxs(pe,{children:[O.getLocalizedStrings().common.in.toLowerCase()," ",p,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(me,{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:s,disabled:j.trim().length!==V||l===!0})]}),r.jsx(xe,{children:M})]})]})})})]})})},oe=t.div`
1
+ import{aP as A,aa as B,F as O,j as r,c4 as U,ab as d,l as W,ad as X,c5 as Y,ai as f,c6 as Z,o,a as D,c7 as q,am as L,c8 as G,c9 as C,bP as J,h as y,b9 as b,ca as K}from"./index-CU0svkHW.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Q,Z as k}from"./AccountLockedInfoModal-4c3W-zeE-B1c5Jxib.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./handshake-BPg58FML-BpN0H-2S.js";const ee=e=>{if(!e)return"";try{const s=G(e);if(!s){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 h=s.countryCallingCode,m=s.nationalNumber.slice(-4);return`+${h} (•••) ••• ${m}`}catch{const s=e.replace(/\D/g,"");if(s.length>=4){const h=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${h}`}return C(e)||e}},F=120,I=30,P=2,re="456px",te="256px",V=6,n=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",Te=e=>{const s=e.verifyOtpFetchState==="In-Progress",[h,m]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,S]=c.useState(F),[p,w]=c.useState(I),E=A(e.verifyOtpFetchState),u=B({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),j=u.watch(x),_=()=>{e.onCancelVerifyDevice()},M=()=>{j.trim().length===V&&e.onVerifyOtp(j)},R=n.footerHelperText.replace(/<button_text>/,n.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(m(!0),T(i=>i+1),u.setValue(x,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[v]),c.useEffect(()=>{if(p<=0)return;const i=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[p]);const H=i=>{const a=Math.floor(i/60),z=i%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(U,{open:!0,children:r.jsxs(oe,{children:[r.jsx(d,{controller:$>P,children:r.jsx(Q,{unlockDate:W.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=P,children:r.jsx(X,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(ne,{children:n.verifyDeviceTitle}),r.jsx(ie,{children:n.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(Y,{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(Z,{value:j,valueLength:6,hasError:l===!0||h===!0,style:{margin:o.sp0},onChange:i=>{u.setValue(x,i),m(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(N,{children:r.jsxs(je,{children:[n.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(N,{children:r.jsx(ye,{children:n.codeExpired})})})]}),h===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:n.incorrectCode})}),r.jsx(d,{controller:$===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!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(he,{children:n.codeNotReceived}),r.jsx(ue,{disabled:p>0,onClick:()=>{p===0&&(e.onResendOtp(),m(!1),g(!1),u.setValue(x,""),S(F),w(I))},children:n.resend}),p>0&&r.jsxs(pe,{children:[O.getLocalizedStrings().common.in.toLowerCase()," ",p,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(me,{children:[r.jsx(D,{label:n.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:n.verify,onClick:M,style:{width:82},loading:s,disabled:j.trim().length!==V||l===!0})]}),r.jsx(xe,{children:R})]})]})})})]})})},oe=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -9,10 +9,10 @@ import{aP as A,aa as B,F as O,j as r,c4 as U,ab as d,l as W,ad as X,c5 as Y,ai a
9
9
  `,ne=t(q)`
10
10
  color: ${e=>e.theme.colors.primary};
11
11
  text-align: center;
12
- `,ie=t(_)`
12
+ `,ie=t(L)`
13
13
  color: ${e=>e.theme.colors.hero};
14
14
  text-align: center;
15
- `,se=t(_)`
15
+ `,se=t(L)`
16
16
  color: ${e=>e.theme.colors.primary};
17
17
  text-align: center;
18
18
  `,le=t.div`
@@ -98,7 +98,7 @@ import{aP as A,aa as B,F as O,j as r,c4 as U,ab as d,l as W,ad as X,c5 as Y,ai a
98
98
  height: ${o.sp3};
99
99
  top: 2px;
100
100
  position: relative;
101
- `,Ee=t(J)`
101
+ `,Se=t(J)`
102
102
  width: ${o.sp3};
103
103
  height: ${o.sp3};
104
104
  color: ${e=>e.theme.colors.grey1};
@@ -106,7 +106,7 @@ import{aP as A,aa as B,F as O,j as r,c4 as U,ab as d,l as W,ad as X,c5 as Y,ai a
106
106
  &:hover {
107
107
  color: ${e=>e.theme.colors.primary};
108
108
  }
109
- `,Se=t.a`
109
+ `,we=t.a`
110
110
  text-decoration: underline;
111
111
  color: inherit;
112
- `;export{Le as default};
112
+ `;export{Te as default};
@@ -1,4 +1,4 @@
1
- import{q as k,j as t,ap as j,dy as y,h as S}from"./index-DoBZ9eO3.js";import{b as e,n,k as A}from"./vendor-Bs1fkIUX.js";import{r as O}from"./mui-Ty75qFQF.js";const U=o=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},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 W({src:o,autoPlay:p=!0,config:d,controls:m=!0,height:_="100%",isModalOpen:r,loop:u=!1,muted:E=!1,showPlayButton:s=!1,style:w,thumbnail:i,width:b="100%",onEnded:v,onModalClose:h,onPlay:x}){const c=k(),[a,l]=e.useState(!1);e.useEffect(()=>{r===!0&&p?l(!0):r===!1&&l(!1)},[r,p]);const f={};d?.youtube&&(f.youtube=d.youtube);const B=()=>{l(!0),x?.()},F=()=>{l(!1),h?.()},g=()=>{l(!1),v?.(),r!=null&&h?.()},C=()=>{l(!0),x?.()};return r!=null?r?O.createPortal(t.jsx(I,{windowSize:c,role:"presentation",children:t.jsx(j,{onClickAway:F,children:t.jsx(M,{windowSize:c,"data-testid":"video-player-modal",children:t.jsxs($,{children:[s&&!a&&t.jsxs(t.Fragment,{children:[i!=null&&i!==""&&t.jsx(z,{src:i,alt:"Video thumbnail"}),t.jsx(D,{onClick:B,children:t.jsx(P,{windowSize:c})})]}),(!s||a)&&t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:"100%",height:"100%",onEnded:g,onPlay:C,config:f})]})})})}),document.body):null:t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:b,height:_,style:w,light:s&&!a?i??!0:!1,onEnded:g,onPlay:C,config:f})}const G=A`
1
+ import{q as k,j as t,ap as j,dy as y,h as S}from"./index-CU0svkHW.js";import{b as e,n,k as A}from"./vendor-Bs1fkIUX.js";import{r as O}from"./mui-Ty75qFQF.js";const U=o=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},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 W({src:o,autoPlay:p=!0,config:d,controls:m=!0,height:_="100%",isModalOpen:r,loop:u=!1,muted:E=!1,showPlayButton:s=!1,style:w,thumbnail:i,width:b="100%",onEnded:v,onModalClose:h,onPlay:x}){const c=k(),[a,l]=e.useState(!1);e.useEffect(()=>{r===!0&&p?l(!0):r===!1&&l(!1)},[r,p]);const f={};d?.youtube&&(f.youtube=d.youtube);const B=()=>{l(!0),x?.()},F=()=>{l(!1),h?.()},g=()=>{l(!1),v?.(),r!=null&&h?.()},C=()=>{l(!0),x?.()};return r!=null?r?O.createPortal(t.jsx(I,{windowSize:c,role:"presentation",children:t.jsx(j,{onClickAway:F,children:t.jsx(M,{windowSize:c,"data-testid":"video-player-modal",children:t.jsxs($,{children:[s&&!a&&t.jsxs(t.Fragment,{children:[i!=null&&i!==""&&t.jsx(z,{src:i,alt:"Video thumbnail"}),t.jsx(D,{onClick:B,children:t.jsx(P,{windowSize:c})})]}),(!s||a)&&t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:"100%",height:"100%",onEnded:g,onPlay:C,config:f})]})})})}),document.body):null:t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:b,height:_,style:w,light:s&&!a?i??!0:!1,onEnded:g,onPlay:C,config:f})}const G=A`
2
2
  0% {
3
3
  transform: rotate(0deg);
4
4
  }
@@ -1,4 +1,4 @@
1
- import{q as s,j as i,ap as l,aM as a,h as c,o as n,y as r}from"./index-DoBZ9eO3.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{K as h}from"./VideoPlayer-Csx55A4e-CYEC6H0n.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
1
+ import{q as s,j as i,ap as l,aM as a,h as c,o as n,y as r}from"./index-CU0svkHW.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{K as h}from"./VideoPlayer-Bh9pi5bb-BqO_YZ12.js";const d={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{q as C,l as B,F as D,j as s,n as I,K as S,a as M,C as L,o as n,y as $,O as E,H as P,A as z,L as N,h as w,s as A,M as O,b as R,u}from"./index-DoBZ9eO3.js";import{n as t}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},T={title:new E("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),j=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=F(x,f,i);g.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(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=q(v,f,i);g.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}=H(y,f,i);g.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}=G(k,f,i);g.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(Q,{children:[s.jsx(V,{windowSize:l,children:s.jsx(K,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(J,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(_,{children:[s.jsx(U,{children:j>0?s.jsxs(b,{children:[s.jsx(b,{children:I(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${j}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
1
+ import{q as C,l as B,F as D,j as s,n as I,K as S,a as M,C as L,o as n,y as $,O as E,H as P,A as z,L as N,h as w,s as A,M as O,b as R,u}from"./index-CU0svkHW.js";import{n as t}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},T={title:new E("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),j=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=F(x,f,i);g.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(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=q(v,f,i);g.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}=H(y,f,i);g.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}=G(k,f,i);g.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(Q,{children:[s.jsx(V,{windowSize:l,children:s.jsx(K,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(J,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(_,{children:[s.jsx(U,{children:j>0?s.jsxs(b,{children:[s.jsx(b,{children:I(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${j}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
2
2
  ${I(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(S,{}):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:{...L.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},F=(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}},q=(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}},H=(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}},G=(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}},Q=t.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aa as Pe,q as E,ax as Te,l as T,c as pe,aP as Be,j as t,F as X,aN as B,c5 as L,o,bF as Le,C as D,cD as R,cE as F,cF as G,ad as Ne,dn as Me,h as $,db as Ee,aM as C,m as he,ai as w,bP as He,bZ as Ie,aS as Ue,y as j,fX as Oe,ft as ae,u as p,hz as We,be as Re,bR as Fe,bh as Ge,bg as Ye,bS as Ve,bf as Ze,am as q,hA as Je,b6 as Ke,a$ as Xe,hB as qe,s as _e,hC as Qe,M as et,fZ as tt,di as ot,an as at,O as it,cw as nt}from"./index-DoBZ9eO3.js";import{b as r,n as a}from"./vendor-Bs1fkIUX.js";import{$ as lt}from"./BoxItem-DNKrNJdW-BFr8N6MT.js";import{w as rt}from"./downloadPdf-Co6NLPP_-7oJCEbHq.js";import{H as ct}from"./DepositAccTransactionItem-CYTxgJyj-D2u5PugV.js";import{T as st}from"./ZeniAccountNavBarPieces-Cx0PFqHk-D_k55FPv.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./commonDimensions-CTsqA6um-TMDaWMZU.js";const dt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.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"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.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{aa as Pe,q as E,ax as Te,l as T,c as pe,aP as Be,j as t,F as X,aN as B,c5 as L,o,bF as Le,C as D,cD as R,cE as F,cF as G,ad as Ne,dn as Me,h as $,db as Ee,aM as C,m as he,ai as w,bP as He,bZ as Ie,aS as Ue,y as j,fX as Oe,ft as ae,u as p,hz as We,be as Re,bR as Fe,bh as Ge,bg as Ye,bS as Ve,bf as Ze,am as q,hA as Je,b6 as Ke,a$ as Xe,hB as qe,s as _e,hC as Qe,M as et,fZ as tt,di as ot,an as at,O as it,cw as nt}from"./index-CU0svkHW.js";import{b as r,n as a}from"./vendor-Bs1fkIUX.js";import{$ as lt}from"./BoxItem-DR7ZjTUs-C1VV8CvK.js";import{w as rt}from"./downloadPdf-9PwAfZrf-CivehzyW.js";import{H as ct}from"./DepositAccTransactionItem-DMKKoFPE-EaHMiJO6.js";import{T as st}from"./ZeniAccountNavBarPieces-Qs5xZ8ja-CrDO9fOa.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./commonDimensions-kvPZ9uhR-DQbxhhwD.js";const dt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.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"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.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{q as X,aa as Ie,aP as _e,c as De,aX as Ee,F as J,aO as Fe,j as t,cD as W,h as o,ad as Ge,o as n,dn as Ne,db as Ue,cE as ne,cF as ie,hw as Oe,aN as G,c5 as fe,bF as Re,C,ar as We,am as Ye,s as Ve,cd as Ze,bP as ye,ai as b,ax as qe,l as He,cr as Ke,ft as F,aM as N,y as j,an as Q,fS as Xe,O as Je,H as Qe,ao as et,dd as tt,cw as nt,gh as it,u,e4 as ot,f$ as rt,hx as st,a as at,fU as ct,bZ as lt,aS as dt}from"./index-DoBZ9eO3.js";import{b as g,n as i}from"./vendor-Bs1fkIUX.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as ut}from"./shield-DOlUxcFf-CDkNAu2o.js";import{T as mt}from"./ZeniAccountNavBarPieces-Cx0PFqHk-D_k55FPv.js";import{v as ht}from"./ZeniTransferAmountSlider-tgjKZKK9-D8cq27WA.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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}}}=J.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:w,style:S})=>{const s=X(),v=(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:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs($t,{style:S,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{q as X,aa as Ie,aP as _e,c as De,aX as Ee,F as J,aO as Fe,j as t,cD as W,h as o,ad as Ge,o as n,dn as Ne,db as Ue,cE as ne,cF as ie,hw as Oe,aN as G,c5 as fe,bF as Re,C,ar as We,am as Ye,s as Ve,cd as Ze,bP as ye,ai as b,ax as qe,l as He,cr as Ke,ft as F,aM as N,y as j,an as Q,fS as Xe,O as Je,H as Qe,ao as et,dd as tt,cw as nt,gh as it,u,e4 as ot,f$ as rt,hx as st,a as at,fU as ct,bZ as lt,aS as dt}from"./index-CU0svkHW.js";import{b as g,n as i}from"./vendor-Bs1fkIUX.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as ut}from"./shield-DOlUxcFf-CDkNAu2o.js";import{T as mt}from"./ZeniAccountNavBarPieces-Qs5xZ8ja-CrDO9fOa.js";import{v as ht}from"./ZeniTransferAmountSlider-3iNLjlk5-DrUy3mRf.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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}}}=J.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:w,style:S})=>{const s=X(),v=(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:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs($t,{style:S,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;
@@ -1,4 +1,4 @@
1
- import{ax as B,g3 as O,l as P,F as z,j as a,aM as $,h3 as p,hy as u,o as s,h5 as j}from"./index-DoBZ9eO3.js";import{n as d}from"./vendor-Bs1fkIUX.js";const o=z.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:o.moveMoney.editNickName},{value:"accountStatement",label:o.moveMoney.accountStatement}],y={value:"payBill",label:o.moveMoney.payBills},g={value:"transfer",label:o.moveMoney.transfer},v={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:o.moveMoney.checkDeposit},w=[y,g,v,M],A=[v,g,y,M],R=({zeniBankProps:e,isBillPayEnabled:h,isExpressPayEnabled:x,analytics:b,onSettingsClick:f})=>{const i=B(),l=i.loggedInUserRoleMap.deposit_accounts_user===!0||O(i),k=P.hasBillPayAccess(i.loggedInUserRoleMap),S=m.filter(t=>t.value==="accountStatement"),c=h===!0?w:A,r=x===!0?c:c.filter(t=>t.value!=="sendMoney"),N=k?r:r.filter(t=>t.value!=="payBill");return a.jsxs(E,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!l?a.jsx(C,{onClick:f,"data-testid":$("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!0,options:l?S:m,title:o.moveMoney.title}),l?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:N,title:o.moveMoney.title,onMenuOpen:()=>b?.trackAccountsListPageClicked("Move Money")})]})},C=d(j)`
1
+ import{ax as B,g3 as O,l as P,F as z,j as a,aM as $,h3 as p,hy as u,o as s,h5 as j}from"./index-CU0svkHW.js";import{n as d}from"./vendor-Bs1fkIUX.js";const o=z.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:o.moveMoney.editNickName},{value:"accountStatement",label:o.moveMoney.accountStatement}],y={value:"payBill",label:o.moveMoney.payBills},g={value:"transfer",label:o.moveMoney.transfer},v={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:o.moveMoney.checkDeposit},w=[y,g,v,M],A=[v,g,y,M],R=({zeniBankProps:e,isBillPayEnabled:h,isExpressPayEnabled:x,analytics:b,onSettingsClick:f})=>{const i=B(),l=i.loggedInUserRoleMap.deposit_accounts_user===!0||O(i),k=P.hasBillPayAccess(i.loggedInUserRoleMap),S=m.filter(t=>t.value==="accountStatement"),c=h===!0?w:A,r=x===!0?c:c.filter(t=>t.value!=="sendMoney"),N=k?r:r.filter(t=>t.value!=="payBill");return a.jsxs(E,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!l?a.jsx(C,{onClick:f,"data-testid":$("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!0,options:l?S:m,title:o.moveMoney.title}),l?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:N,title:o.moveMoney.title,onMenuOpen:()=>b?.trackAccountsListPageClicked("Move Money")})]})},C=d(j)`
2
2
  cursor: pointer;
3
3
  min-width: ${s.sp4};
4
4
  width: ${s.sp4};
@@ -1,4 +1,4 @@
1
- import{c as ae,q as v,aP as ce,ax as xe,g3 as me,j as i,bF as pe,F as I,s as he,o,cQ as ue,ar as J,a as L,aM as F,af as j,L as ge,aX as z,aO as k,aS as V,bC as we,y as x,h as A,cR as je,aT as $e,b9 as ye,u as W,O as $,H as C,an as T,ag as Se}from"./index-DoBZ9eO3.js";import{b as D,n}from"./vendor-Bs1fkIUX.js";import{x as fe}from"./MeetingCalenderPopup-DeDqhOVG-C5rpEr0y.js";import{M as B}from"./usp-line-BBd1wKwW-ZlUrfnG1.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const u={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(W[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,W[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},be=n.div`
1
+ import{c as ae,q as v,aP as ce,ax as xe,g3 as me,j as i,bF as pe,F as I,s as he,o,cQ as ue,ar as J,a as L,aM as F,af as j,L as ge,aX as z,aO as k,aS as V,bC as we,y as x,h as A,cR as je,aT as $e,b9 as ye,u as W,O as $,H as C,an as T,ag as Se}from"./index-CU0svkHW.js";import{b as D,n}from"./vendor-Bs1fkIUX.js";import{x as fe}from"./MeetingCalenderPopup-qui2SnEi-zaTm9eCM.js";import{M as B}from"./usp-line-BBd1wKwW-ZlUrfnG1.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const u={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(W[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,W[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},be=n.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{c as Se,q as we,aP as O,aa as be,cS as Ae,F as xe,aU as $,j as t,fn as Pe,h as Ce,y as d,bF as ke,m as Fe,ad as ve,e6 as je,bA as Te,aQ as ze,o as Ee,u as a,am as Ve}from"./index-DoBZ9eO3.js";import{b as f,n as S}from"./vendor-Bs1fkIUX.js";import{D as De}from"./HelpButton-CGAbbUiJ-DkMm1beR.js";import{K as Ue}from"./SetUpDefaultSection-B4Tvbzll-ClIjrHAf.js";import{f as Ie}from"./SpendMgmtSetupAccountSection-BZ6YBI9L-hIwwKeHI.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-BBBO7he9-fEljungr.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-DeDqhOVG-C5rpEr0y.js";import"./ChargeCardUtils-CjQgqDbz-DRoRvzTL.js";import"./CreditCardPaymentPlgSection-Cmrbj4Ya-M1K-g6EO.js";import"./ChaseOverlay-D7OybUeO-DfM050IG.js";const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59)},B="zeniAccountSetUpPage",k="payAccount",{common:$e,commonSetUp:_,spendManagement:Be}=xe.getLocalizedStrings(),{zeniAccounts:W}=Be,{zeniAccountSetUp:z}=W,{setUp:E}=_,st=({isDisabled:e,meetingUrl:F,zeniAccountSetUpView:p,analytics:l,connectedAccountProvider:s,filesEndPoint:q,authParams:H,accountsPromoConfig:Z,onFetchLinkTokenClick:M,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:K,onBusinessVerificationSectionClick:Q,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:w,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const b=Se(),i=we(),[A,h]=f.useState(!1),{fetchState:g,companyBillPayInfo:V,isRefreshingViewInBackground:le,updateStatus:r,accountUpdateStatus:re,plaidConnectionDetails:ue,allBankAccounts:de,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:D}=p,U=O(g),x=O(r.fetchState),v=be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>L(p),[p]),values:L(p)}),me=v.handleSubmit(y=>{l.trackEnableZeniAccounts(),G()}),fe=async(y,C)=>{const n=C[k];if(y.includes(k)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const u=D.find(T=>T.id===n.fundingAccount.selectedOption);u!=null&&J(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(T=>T.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&l.trackConnectBankLink(u.value,u.label,"zeni_accounts"),K(n.account.selectedOption,m.id,m.accType)}}};f.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&U==="In-Progress"&&g==="Completed"&&h(!1)},[o,g,U]),f.useEffect(()=>{const y=v.watch((C,{name:n})=>{n!=null&&C!=null&&Ae(()=>fe(n,C))});return()=>{y.unsubscribe()}}),f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const P=pe?.isZeniAccountEnabled===!0,j=V?.isBusinessVerified===!0,he=g==="In-Progress"||g==="Not-Started";f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const ge=j?_.setUp.setupVerifiedSubTitle:z.setupSubTitle,I=b.mode==="light"?new $(b.colors.brandColorJadeLight):new $(b.colors.brandColorJadeDark),ye=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):Q?.()};return t.jsxs(Re,{children:[t.jsx(Pe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Ce.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:H,filesEndPoint:q,updateStatus:r,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(ke,{title:z.setupTitle,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!P&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx(_e,{windowSize:i,children:ge}),he?t.jsx(We,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...v,children:t.jsx("form",{id:R(B),onSubmit:me,children:t.jsxs(qe,{windowSize:i,children:[t.jsx(Ue,{onClick:ye,title:E.businessVerificationTitle,subTitle:E.businessVerificationSubTitle,header:E.businessVerificationHeader,icon:{element:t.jsx(je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:I},status:V?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ie,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:de,sectionId:k,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:I},analytics:l,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:P,allFundingAccounts:D,pageName:"Zeni Account Setup",accountsPromoConfig:Z})]})})})]}),j&&!P?t.jsx(ze,{formId:R(B),primaryBtn:{label:z.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:r.fetchState==="In-Progress"||re.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:$e.strings.empty},style:{padding:`12px ${Ee.sp3}`}}):null,t.jsx(De,{isFooterRendered:j&&!P,meetingUrl:F,analytics:l,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:F,allFundingAccounts:p,primaryFundingAccount:l}=e;return{[k]:{fundingAccount:{selectedOption:l?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:l?.zeniAccountId,allOptions:F.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=S.div`
1
+ import{c as Se,q as we,aP as O,aa as be,cS as Ae,F as xe,aU as $,j as t,fn as Pe,h as Ce,y as d,bF as ke,m as Fe,ad as ve,e6 as je,bA as Te,aQ as ze,o as Ee,u as a,am as Ve}from"./index-CU0svkHW.js";import{b as f,n as S}from"./vendor-Bs1fkIUX.js";import{D as De}from"./HelpButton-JzcF30dH-CB6SuxmB.js";import{K as Ue}from"./SetUpDefaultSection-BHYOBJ7g-BuIYblZ8.js";import{f as Ie}from"./SpendMgmtSetupAccountSection-DiiBySox-BM3KKSU_.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-Pjy5PzIW-Cpkjr1U1.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-qui2SnEi-zaTm9eCM.js";import"./ChargeCardUtils-BlLiJhdJ-Dg7co2BP.js";import"./CreditCardPaymentPlgSection-zy5jp8oZ-C1FeG_GO.js";import"./ChaseOverlay-DY7W-VhR-lpJ0bMnw.js";const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59)},B="zeniAccountSetUpPage",k="payAccount",{common:$e,commonSetUp:_,spendManagement:Be}=xe.getLocalizedStrings(),{zeniAccounts:W}=Be,{zeniAccountSetUp:z}=W,{setUp:E}=_,st=({isDisabled:e,meetingUrl:F,zeniAccountSetUpView:p,analytics:l,connectedAccountProvider:s,filesEndPoint:q,authParams:H,accountsPromoConfig:Z,onFetchLinkTokenClick:M,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:K,onBusinessVerificationSectionClick:Q,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:w,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const b=Se(),i=we(),[A,h]=f.useState(!1),{fetchState:g,companyBillPayInfo:V,isRefreshingViewInBackground:le,updateStatus:r,accountUpdateStatus:re,plaidConnectionDetails:ue,allBankAccounts:de,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:D}=p,U=O(g),x=O(r.fetchState),v=be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>L(p),[p]),values:L(p)}),me=v.handleSubmit(y=>{l.trackEnableZeniAccounts(),G()}),fe=async(y,C)=>{const n=C[k];if(y.includes(k)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const u=D.find(T=>T.id===n.fundingAccount.selectedOption);u!=null&&J(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(T=>T.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&l.trackConnectBankLink(u.value,u.label,"zeni_accounts"),K(n.account.selectedOption,m.id,m.accType)}}};f.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&U==="In-Progress"&&g==="Completed"&&h(!1)},[o,g,U]),f.useEffect(()=>{const y=v.watch((C,{name:n})=>{n!=null&&C!=null&&Ae(()=>fe(n,C))});return()=>{y.unsubscribe()}}),f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const P=pe?.isZeniAccountEnabled===!0,j=V?.isBusinessVerified===!0,he=g==="In-Progress"||g==="Not-Started";f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const ge=j?_.setUp.setupVerifiedSubTitle:z.setupSubTitle,I=b.mode==="light"?new $(b.colors.brandColorJadeLight):new $(b.colors.brandColorJadeDark),ye=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):Q?.()};return t.jsxs(Re,{children:[t.jsx(Pe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Ce.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:H,filesEndPoint:q,updateStatus:r,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(ke,{title:z.setupTitle,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!P&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx(_e,{windowSize:i,children:ge}),he?t.jsx(We,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...v,children:t.jsx("form",{id:R(B),onSubmit:me,children:t.jsxs(qe,{windowSize:i,children:[t.jsx(Ue,{onClick:ye,title:E.businessVerificationTitle,subTitle:E.businessVerificationSubTitle,header:E.businessVerificationHeader,icon:{element:t.jsx(je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:I},status:V?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ie,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:de,sectionId:k,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:I},analytics:l,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:P,allFundingAccounts:D,pageName:"Zeni Account Setup",accountsPromoConfig:Z})]})})})]}),j&&!P?t.jsx(ze,{formId:R(B),primaryBtn:{label:z.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:r.fetchState==="In-Progress"||re.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:$e.strings.empty},style:{padding:`12px ${Ee.sp3}`}}):null,t.jsx(De,{isFooterRendered:j&&!P,meetingUrl:F,analytics:l,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:F,allFundingAccounts:p,primaryFundingAccount:l}=e;return{[k]:{fundingAccount:{selectedOption:l?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:l?.zeniAccountId,allOptions:F.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=S.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -1 +1 @@
1
- import{F as r,j as e}from"./index-DoBZ9eO3.js";function i(){const t=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",t.toString());return e.jsx(e.Fragment,{children:n})}export{i};
1
+ import{F as r,j as e}from"./index-CU0svkHW.js";function i(){const t=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",t.toString());return e.jsx(e.Fragment,{children:n})}export{i};
@@ -1,4 +1,4 @@
1
- import{j as g,F as E,aM as F,o as i,h as j,ai as M}from"./index-DoBZ9eO3.js";import{b as $,n as m}from"./vendor-Bs1fkIUX.js";const S=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:o,transferAmount:x,minStep:p,currentAccountBalance:w,setYieldEarned:b,setTotalBalance:k}){const[l,A]=$.useState(0),{depositProductConfig:h}=o.zeniAccountsConfigDetail,c=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[t,r]=e.range;return r==null&&t!=null?t+25e5:r??0}):[],[h?.depositProducts]),z=e=>{const t=parseFloat(e.target.value),{returnedYield:r,totalAmount:u}=P(t);A(t),b(r),k(u)},D=e=>`${C(e)}${S.transferDrawer.calculator.sliderTooltipText}`,C=e=>e===0?c[0]:e>0&&e<1?c[1]:e>=1&&e<2?c[2]:e>=2&&e<3?c[3]:c[4],P=e=>{const t=C(e),[r,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else return{returnedYield:f(5e6,t),totalAmount:5e6}},T=e=>{const{returnedYield:t,totalAmount:r}=P(e);A(e),k(r),b(t)},Y=$.useCallback((e,t,r,u)=>{let a=0,s=0,v=0,y=0;if(e<r[0])a=t[0];else{for(let d=0;d<r.length-1;d++)if(e>=r[d]&&e<r[d+1]){a=t[d+1],s=(r[d+1]-r[d])*u,v=e-r[d],y=v/s*u+d;break}e>=r[r.length-1]&&(a=t[t.length-1],y=r.length-1)}A(y),b(f(e,a))},[b]);return $.useEffect(()=>{const e=x+w;k(e),Y(e,c,n,p)},[x,w,k,c,p,b,n,Y]),g.jsxs(V,{sliderValue:l,children:[g.jsx(I,{sliderValue:l,type:"range",min:0,max:c.length-1,step:p,value:l,onChange:z}),g.jsx(H,{style:{width:`calc(${l/(c.length-1)*100}% - ${l*7.5}px)`}}),g.jsx(J,{sliderValue:l,style:{left:`calc(${l/(c.length-1)*100}% - ${l*10+20}px)`},children:D(l)}),g.jsx(N,{children:n.map((e,t)=>g.jsx(X,{onClick:()=>T(t),"data-testid":F("slider-label",e.toString()),style:{left:L(t)},children:g.jsx(G,{isSelected:l>=t,children:B(e)})},t))})]})}const f=(o,x)=>{const p=x/100,w=o*Math.pow(1+p/12,12);return Math.floor(w-o)},L=o=>{switch(o){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%"}},B=o=>o===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(o)}`:o===5e6?S.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(o),I=m.input`
1
+ import{j as g,F as E,aM as F,o as i,h as j,ai as M}from"./index-CU0svkHW.js";import{b as $,n as m}from"./vendor-Bs1fkIUX.js";const S=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:o,transferAmount:x,minStep:p,currentAccountBalance:w,setYieldEarned:b,setTotalBalance:k}){const[l,A]=$.useState(0),{depositProductConfig:h}=o.zeniAccountsConfigDetail,c=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[t,r]=e.range;return r==null&&t!=null?t+25e5:r??0}):[],[h?.depositProducts]),z=e=>{const t=parseFloat(e.target.value),{returnedYield:r,totalAmount:u}=P(t);A(t),b(r),k(u)},D=e=>`${C(e)}${S.transferDrawer.calculator.sliderTooltipText}`,C=e=>e===0?c[0]:e>0&&e<1?c[1]:e>=1&&e<2?c[2]:e>=2&&e<3?c[3]:c[4],P=e=>{const t=C(e),[r,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else return{returnedYield:f(5e6,t),totalAmount:5e6}},T=e=>{const{returnedYield:t,totalAmount:r}=P(e);A(e),k(r),b(t)},Y=$.useCallback((e,t,r,u)=>{let a=0,s=0,v=0,y=0;if(e<r[0])a=t[0];else{for(let d=0;d<r.length-1;d++)if(e>=r[d]&&e<r[d+1]){a=t[d+1],s=(r[d+1]-r[d])*u,v=e-r[d],y=v/s*u+d;break}e>=r[r.length-1]&&(a=t[t.length-1],y=r.length-1)}A(y),b(f(e,a))},[b]);return $.useEffect(()=>{const e=x+w;k(e),Y(e,c,n,p)},[x,w,k,c,p,b,n,Y]),g.jsxs(V,{sliderValue:l,children:[g.jsx(I,{sliderValue:l,type:"range",min:0,max:c.length-1,step:p,value:l,onChange:z}),g.jsx(H,{style:{width:`calc(${l/(c.length-1)*100}% - ${l*7.5}px)`}}),g.jsx(J,{sliderValue:l,style:{left:`calc(${l/(c.length-1)*100}% - ${l*10+20}px)`},children:D(l)}),g.jsx(N,{children:n.map((e,t)=>g.jsx(X,{onClick:()=>T(t),"data-testid":F("slider-label",e.toString()),style:{left:L(t)},children:g.jsx(G,{isSelected:l>=t,children:B(e)})},t))})]})}const f=(o,x)=>{const p=x/100,w=o*Math.pow(1+p/12,12);return Math.floor(w-o)},L=o=>{switch(o){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%"}},B=o=>o===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(o)}`:o===5e6?S.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(o),I=m.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1 +1 @@
1
- import{F as o,l as s}from"./index-DoBZ9eO3.js";const m=t=>{switch(t){case"week":return"weeks";case"month":return"months";case"quarter":return"quarters";case"year":return"years";case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return t}},_=(t,n,e)=>{const{dateFormat:{analytics:a},common:{strings:{atTheRate:r}}}=o.getLocalizedStrings();if(e==null)return"";switch(n){case"month":return r+s.formatZeniDate(e.startDate,a.MMMYYFormat,t);case"quarter":return r+"Q"+s.formatZeniDate(e.startDate,a.QYYYYFormat,t);case"year":return r+s.formatZeniDate(e.startDate,a.YYYYFormat,t);case"free_range":case"week":return r+s.formatZeniDate(e.startDate,a.MMMYYYYFormat,t)}};export{_ as l,m};
1
+ import{F as o,l as s}from"./index-CU0svkHW.js";const m=t=>{switch(t){case"week":return"weeks";case"month":return"months";case"quarter":return"quarters";case"year":return"years";case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return t}},_=(t,n,e)=>{const{dateFormat:{analytics:a},common:{strings:{atTheRate:r}}}=o.getLocalizedStrings();if(e==null)return"";switch(n){case"month":return r+s.formatZeniDate(e.startDate,a.MMMYYFormat,t);case"quarter":return r+"Q"+s.formatZeniDate(e.startDate,a.QYYYYFormat,t);case"year":return r+s.formatZeniDate(e.startDate,a.YYYYFormat,t);case"free_range":case"week":return r+s.formatZeniDate(e.startDate,a.MMMYYYYFormat,t)}};export{_ as l,m};
@@ -1 +1 @@
1
- import{d as o}from"./index-DoBZ9eO3.js";const t=(a,m,i,s)=>{o.identify(a.userId,{tenant_id:i?.tenantId,tenant_email_domain:i?.tenantEmailDomain,company_id:i?.companyId,company_name:i?.companyName,user_role:i?.userRole,$email:a.userEmail,user_email_domain:a.userEmailDomain,$first_name:a.firstName,$last_name:a.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:m})};export{t as f};
1
+ import{d as o}from"./index-CU0svkHW.js";const t=(a,m,i,s)=>{o.identify(a.userId,{tenant_id:i?.tenantId,tenant_email_domain:i?.tenantEmailDomain,company_id:i?.companyId,company_name:i?.companyName,user_role:i?.userRole,$email:a.userEmail,user_email_domain:a.userEmailDomain,$first_name:a.firstName,$last_name:a.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:m})};export{t as f};
@@ -1 +1 @@
1
- import{aN as i}from"./index-DoBZ9eO3.js";const u=n=>i("0,0.[00]a",n),d=(n,e,r)=>{const o=e.findIndex(c=>c===n);let t=n,s=o<e.length?e[o]:void 0;return r>1&&(t=o-r+1>=0?e[o-r+1]:void 0,t===void 0?s=o===0?e[o+r-1]:e[o+r-2]:s=e[o]),[t,s]},a=n=>{const e=n.recordByTimeseries;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},l=n=>{const e=n.recordByDurations;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},p={net_burn_or_income:5,revenue:5,cash_position:8,operating_expenses:8,cash_in_cash_out:5,operating_expenses_by_vendor:12},y=(n,e)=>`${n}_${e}`,m=n=>n.substring(0,n.lastIndexOf("_")),b=(n,e)=>`${n}_${e}`,g=n=>{const[e]=n.split("_");return e},h=n=>{const[e,...r]=n.split("_");return r.join("_")};export{l as _,m as b,a as d,d as g,h,b as l,g as m,y as p,u,p as y};
1
+ import{aN as i}from"./index-CU0svkHW.js";const u=n=>i("0,0.[00]a",n),d=(n,e,r)=>{const o=e.findIndex(c=>c===n);let t=n,s=o<e.length?e[o]:void 0;return r>1&&(t=o-r+1>=0?e[o-r+1]:void 0,t===void 0?s=o===0?e[o+r-1]:e[o+r-2]:s=e[o]),[t,s]},a=n=>{const e=n.recordByTimeseries;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},l=n=>{const e=n.recordByDurations;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},p={net_burn_or_income:5,revenue:5,cash_position:8,operating_expenses:8,cash_in_cash_out:5,operating_expenses_by_vendor:12},y=(n,e)=>`${n}_${e}`,m=n=>n.substring(0,n.lastIndexOf("_")),b=(n,e)=>`${n}_${e}`,g=n=>{const[e]=n.split("_");return e},h=n=>{const[e,...r]=n.split("_");return r.join("_")};export{l as _,m as b,a as d,d as g,h,b as l,g as m,y as p,u,p as y};
@@ -1 +1 @@
1
- import{y as t}from"./index-DoBZ9eO3.js";const n=58,e=76,i={transactionItemHeight:n,transactionItemHeightResponsive:new t(e,n),amountWidth:new t(105,200)};export{i as o,e as s};
1
+ import{y as t}from"./index-CU0svkHW.js";const n=58,e=76,i={transactionItemHeight:n,transactionItemHeightResponsive:new t(e,n),amountWidth:new t(105,200)};export{i as o,e as s};
@@ -1,4 +1,4 @@
1
- import{q as x,j as r,ap as g,b$ as M,o as n,bw as P,bP as f,y as h,am as b,F as v,u as c}from"./index-DoBZ9eO3.js";import{b as y,n as s,i as S}from"./vendor-Bs1fkIUX.js";import{J as j}from"./CollapsableReportTable-BLws2OAO-CsNQ9o8X.js";const p={tooltipLeftPosition:new h(c[0],-156),tooltipTopPosition:new h(c[3],c[4]),tooltipWidth:new h(300,350)},u=S`
1
+ import{q as x,j as r,ap as g,b$ as M,o as n,bw as P,bP as f,y as h,am as b,F as v,u as c}from"./index-CU0svkHW.js";import{b as y,n as s,i as S}from"./vendor-Bs1fkIUX.js";import{J as j}from"./CollapsableReportTable-BEIzIiuS-Cae50Vwc.js";const p={tooltipLeftPosition:new h(c[0],-156),tooltipTopPosition:new h(c[3],c[4]),tooltipWidth:new h(300,350)},u=S`
2
2
  position: relative;
3
3
  `,z=s.div`
4
4
  color: ${e=>e.theme.colors.primary};
@@ -1 +1 @@
1
- import{ct as n,cu as c,cv as f}from"./index-DoBZ9eO3.js";async function w(s,o,e,t,r=!1){t?.(!0);try{const a=await n({urlEndPoint:s,authParams:e,fileType:"pdf"});if(a.ok){const i=c(a.headers,o),l=await a.arrayBuffer();f(l,r?i:o),t?.(!1)}else console.error(`${o} download Failed with ${a.statusText}`),t?.(!1)}catch(a){console.error(`${o} download Failed with ${JSON.stringify(a)}`),t?.(!1)}}export{w};
1
+ import{ct as n,cu as c,cv as f}from"./index-CU0svkHW.js";async function w(s,o,e,t,r=!1){t?.(!0);try{const a=await n({urlEndPoint:s,authParams:e,fileType:"pdf"});if(a.ok){const i=c(a.headers,o),l=await a.arrayBuffer();f(l,r?i:o),t?.(!1)}else console.error(`${o} download Failed with ${a.statusText}`),t?.(!1)}catch(a){console.error(`${o} download Failed with ${JSON.stringify(a)}`),t?.(!1)}}export{w};