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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/dist/assets/{ACHDetailsPage-CYMIIaPh-C8Zl6MLV.js → ACHDetailsPage-CYMIIaPh-CazcteT9.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DpQIi2ZW-BO0NE_2F.js → AIPerformancePage-DpQIi2ZW-BfbtTbJc.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Sh-82JXU-CKtI4bnL.js → AccountInfoPage-Sh-82JXU-CK-JAG50.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CsHvwqHd-BlW8CgcU.js → AccountInfoPageContent-CsHvwqHd-Bi3KcCU6.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-DlKlKwh2-DpdK7fsT.js → AccountReconDetailsDrawerPage-DlKlKwh2-COmsGMX5.js} +1 -1
  6. package/dist/assets/{AccountRow-CtIoeB6x-B01gigKX.js → AccountRow-CtIoeB6x-DB6L8OFQ.js} +1 -1
  7. package/dist/assets/{AccountsPromoCardStack-XGoMEJWB-ClZD8Pkf.js → AccountsPromoCardStack-XGoMEJWB-ewH7aqGC.js} +1 -1
  8. package/dist/assets/{AddAddressForCardDrawer-C6Sfh784-BO6CLNaD.js → AddAddressForCardDrawer-C6Sfh784-v8gPAmnp.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-CzD2AhWP-GEi12jel.js → AddToWalletPage-CzD2AhWP-Y1lzrcrr.js} +1 -1
  10. package/dist/assets/{AgingReportsPage-D9YcQ7A--jEVrKNWY.js → AgingReportsPage-D9YcQ7A--CgFqdHda.js} +1 -1
  11. package/dist/assets/{AllUserItems-BtS-YtE0-oBJempiY.js → AllUserItems-BtS-YtE0-BnRz1B7J.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-BTJqRp9j-CVJ5DZ9g.js → ApAgingDetailPage-BTJqRp9j-CFbtvXnt.js} +1 -1
  13. package/dist/assets/{AppBasePage-B5fgkJHL-nKspGTEB.js → AppBasePage-B5fgkJHL-BjE5NFxw.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-C1lzepXw-Dt703jdK.js → AppDrawerContent-C1lzepXw-DLsvksBd.js} +1 -1
  15. package/dist/assets/{ApprovalRulesSettingsPage-Bqt15rR_-CJ2-js2Y.js → ApprovalRulesSettingsPage-Bqt15rR_-6tCXuJPM.js} +1 -1
  16. package/dist/assets/{ArAgingChart-BGVvhkR5-CfmO25FB.js → ArAgingChart-BGVvhkR5-CMJLQ0Bz.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-Ddp7z3e8-BWaOoITE.js → ArAgingDetailPage-Ddp7z3e8-3p3-vb0v.js} +1 -1
  18. package/dist/assets/{AttachmentView-pcpYs-s8-D808dzO5.js → AttachmentView-pcpYs-s8-Bb1hmV9r.js} +1 -1
  19. package/dist/assets/{BankAccountSection-CmXQQBck-BXf6w0tF.js → BankAccountSection-CmXQQBck-5U9GbvUg.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-Dp7qMaI2-DCN96rsg.js → BankAccountWarningSection-Dp7qMaI2-DUYDyhSL.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-ldzD1a4O-CXgyrIw4.js → BankConnectionsSettingsPage-ldzD1a4O-Cm0no8yC.js} +1 -1
  22. package/dist/assets/{BillDetailPage-CBubcYMe-BO_dFsg-.js → BillDetailPage-CBubcYMe-BwBKzNWZ.js} +1 -1
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-BxiRr1tP-COYx8jcO.js → BillPayApprovalRuleDetailPage-BxiRr1tP-jMPlVte-.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-CLBGuxUe-fnAlfa5X.js → BillPayApprovalRulesPage-CLBGuxUe-BeVtWdv4.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-C3takK8D-DwgwIjWq.js → BillPayPromoPage-C3takK8D-D35v8jhQ.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-CweOkcc2-D46-_5BW.js → BillPaySetUpPage-CweOkcc2-Bmcq6In9.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-BQSZ6DMP-DRARmVD3.js → BillingSettingsPage-BQSZ6DMP-BpIPoFvc.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-3trPH78u-CF22gH7n.js → BillsBulkReviewDrawerPage-3trPH78u-CknT1dvx.js} +1 -1
  29. package/dist/assets/{BoxItem-Bf7JemSM-D8tvXCvN.js → BoxItem-Bf7JemSM-DA-EqZ9I.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-DXODyk9C-B5e28vsE.js → BusinessVerificationPage-DXODyk9C-BNgCRU8b.js} +1 -1
  31. package/dist/assets/{CardNumberSubText-ByVXSDZX-CD-Gw7wf.js → CardNumberSubText-ByVXSDZX-DEHzKLxG.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-9RLOXq5b-DSEoSjiZ.js → CashbackDetailPage-9RLOXq5b-Dkm3ES1i.js} +1 -1
  33. package/dist/assets/{ChargeCardDetailPage-lkNsxEdO-e-8D7tkI.js → ChargeCardDetailPage-lkNsxEdO-BUneoo-E.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-DV25pQMP-BgesY_b4.js → ChargeCardListPage-DV25pQMP-BOo6rIHo.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-CSWl05jK-CRlk7PbR.js → ChargeCardListTable-CSWl05jK-DuONjB5U.js} +1 -1
  36. package/dist/assets/{ChargeCardPromoPage-Cv34m9BS-BmZiFW4y.js → ChargeCardPromoPage-Cv34m9BS-CZNZStg6.js} +1 -1
  37. package/dist/assets/{ChargeCardSetupPage-7mEdImT--BWhFbFIQ.js → ChargeCardSetupPage-7mEdImT--CnvgcvBB.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-D_rKdZ5c-DUDd82r_.js → ChargeCardStatementsPage-D_rKdZ5c-CEA_Rx_h.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-BB7l65Bf-DfL6sW6K.js → ChargeCardUtils-BB7l65Bf-CPLK84z2.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-hsrWeA5X-B3bQwtbG.js → ChaseOverlay-hsrWeA5X-Dcp3XMSx.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-CZNH4rCm-CxSsvi_m.js → CheckDepositDrawerPage-CZNH4rCm-DdTXudjo.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-C73RBmaZ-A1Br721z.js → CollapsableReportTable-C73RBmaZ-D428uVrP.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-CZWTSWyp-BOVUWJjT.js → CompanyOfficerDetailsSection-CZWTSWyp-J81A-yw0.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-D-hYeDRN-Bo9rwkQb.js → CompanyPassportCard-D-hYeDRN-CHleBT8E.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-fQ60DR7u-DD7YvAPU.js → CompanyPassportPage-fQ60DR7u-CalJr939.js} +1 -1
  46. package/dist/assets/{CompleteProfile-DnBzaAdT-JcsdBGpZ.js → CompleteProfile-DnBzaAdT-DtIxbZgo.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-D5XTvsuG-Dl2X4lye.js → ConfettiBurst-D5XTvsuG-DqvhMlLN.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-7KdDJirx--0K-JjCB.js → CreateOrEditVendorPage-7KdDJirx-Cy50oCjG.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-BNJLUnlH-D5HY42Lo.js → CreditCardPaymentDrawerPage-BNJLUnlH-HMrOhsYY.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-BwqznNRc-DXBqgi-A.js → CreditCardPaymentPlgSection-BwqznNRc-Bkwvl_Pm.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-PwurThUn-qsqObS4L.js → CurrencySelectField-PwurThUn-CCLMhDMc.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-CHJLyOyf-vC6AUxAJ.js → CustomerOnboardingActivationPage-CHJLyOyf-B-wAfl7n.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-DyM4sCZd-2ugo5OTL.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BqdhqyL7-D5d_8a27.js → CustomerOnboardingDetailPageSkeleton-BqdhqyL7-8QZEAu-d.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DDio10hZ-Bwj4xg2w.js → CustomerOnboardingNoStepsPage-DDio10hZ-BfoQu7jO.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-k2OYvIqe-DW9-8aDi.js → CustomerOnboardingPage-k2OYvIqe-BCb17bIF.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CxB32dUM-D8l5mASB.js → CustomerOnboardingProductSuitePage-CxB32dUM-Do1nrT8y.js} +1 -1
  58. package/dist/assets/{Dashboard-DhMPjLVy-BPpidTU7.js → Dashboard-DhMPjLVy-BLMPexXk.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-C9YvD_24-CnK8XRxa.js → DashboardReportPage-C9YvD_24-CoC796XJ.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-BYFOUvho-D1tjwPkv.js → DepositAccTransactionItem-BYFOUvho-CLqmAE-P.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-DeN4-lBP-CBJVTEU-.js → DepositAccTransactionListPage-DeN4-lBP-BcaZtaYF.js} +1 -1
  62. package/dist/assets/{DocumentSecurityBanner-6cQ2cW7e-Bf5Osic5.js → DocumentSecurityBanner-6cQ2cW7e-B-LiYCwn.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-BmMEth4c-Duh2OS1c.js → DomesticWireDetailsPage-BmMEth4c-0ZA88eE1.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-D0_pmb7k-BhK-Q9wQ.js → DownloadOverlay-D0_pmb7k-485JyjTo.js} +1 -1
  65. package/dist/assets/{DrawerPage-C5u676VK-BwyTjOJX.js → DrawerPage-C5u676VK-CQ6YNm3J.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-DAM71X8m-kukHxW_0.js → EditPeoplePage-DAM71X8m-B2UZEnLj.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-BxjNoyj8-mj8ySbuq.js → EditReimbursementDetailPage-BxjNoyj8-BPCBUC8w.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-BfscGvkI-DlE98_0K.js → EntityDetailPage-BfscGvkI-CDpC3UiC.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-BCkLY2Py-lpTrhfnW.js → EntitySummarySection-BCkLY2Py-BvmspxF4.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-C4SCxViu-BAakN-WZ.js → ExpenseAutomationOverviewPage-C4SCxViu-BTF6U5vA.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-DF1-Q4X5-DubLusUH.js → ExpenseAutomationPage-DF1-Q4X5-DpQfueM1.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-Cdtx03yB-BxTU3id1.js → ExpressPayPage-Cdtx03yB-CFuea7SC.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-nQYT4moR-CobwvrFz.js → FeaturePreviewPage-nQYT4moR-Cr3GrNZL.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-CRBm3eL9-Bz_q7qOo.js → FollowStepsSection-CRBm3eL9-BxrxyxZb.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-3iXmpaXt-BpdqjyXr.js → GlobalReviewListPage-3iXmpaXt-DvNMoVjg.js} +1 -1
  76. package/dist/assets/{HelpButton-Cv7-d_qL-CciztHgu.js → HelpButton-Cv7-d_qL-CUvPOpAv.js} +1 -1
  77. package/dist/assets/{InformationCardStack-JCre21xs-BlkeDU23.js → InformationCardStack-JCre21xs-DtS-Hddp.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-Dekfw94R-VqCo_XNV.js → InsightsCardStack-Dekfw94R-BLPjyaig.js} +1 -1
  79. package/dist/assets/{InsightsSection-CLqfyvOO-CKwkK2Sj.js → InsightsSection-CLqfyvOO-xadJoIF2.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-o9w1-WIT-BCMJ43n5.js → IntegrationsSettingsPage-o9w1-WIT-_9mLCWjO.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-DBG1ni7g-DMTAsaCM.js → InternationalWireSwiftDetailsPage-DBG1ni7g-5byzUSyT.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-BLU4F--p-BFU2uuwn.js → InternationalWireVerificationPage-BLU4F--p-CJDTcopv.js} +1 -1
  83. package/dist/assets/{InviteFormPage-Bf8Mqb7S-BtjdSecG.js → InviteFormPage-Bf8Mqb7S-DDTavBxx.js} +1 -1
  84. package/dist/assets/{InvitePageListView-6oeT1vaB-Bpmua81S.js → InvitePageListView-6oeT1vaB-CKIuu3RS.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-CLvVDRca-CLtgUYZW.js → InvitePeoplePage-CLvVDRca-D907h_Dw.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-BiIfE0Mk-DzhUPeCE.js → InvoiceUploadSection-BiIfE0Mk-CTWHQOhW.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-Dd312Qu7-BymELIm-.js → IssueChargeCardPage-Dd312Qu7-DJeAloNR.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-BplX--OG-BBD4K47a.js → LabeledAddressValue-BplX--OG-CiZ_SQgG.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-DkhJs5ky-DLdSr7t1.js → LabeledAddressValueField-DkhJs5ky-B6R8wPlw.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-SJfjkDzA-q46TDnxw.js → LabeledControlledCheckBoxField-SJfjkDzA-CpIAw81s.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CPwrvNjy-C-LowpML.js → LabeledCreatableSingleSelectField-CPwrvNjy-D3f7Nu-c.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-DLd6UnEn-DtqGgdoi.js → LabeledDocumentField-DLd6UnEn-o-XnUJ1D.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-D70GX0HR-7dIEmO5F.js → LabeledDropDownFormattedTextField-D70GX0HR-Mxvvq1WO.js} +1 -1
  94. package/dist/assets/{LabeledText-mTAE2dvH-e6RXkC8i.js → LabeledText-mTAE2dvH-BXZp1Sm_.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Dx8TfHuB-hRPyJuOY.js → LabeledUserSingleSelectWithSubtitlesField-Dx8TfHuB-DrtQGMZC.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-ZGHinaTy-14IF6Cak.js → LabeledZeniRolesDropDownField-ZGHinaTy-Bb9QLK3C.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-CNYQO-AQ-BO9clNns.js → LinkJETransactionPage-CNYQO-AQ-CY88gwq7.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-hdwaJezh-B0CYMe4t.js → LowBalancePopup-hdwaJezh-f3ksDR4g.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage--DRHcaKz-BBtLo6wh.js → MagicLinkACHDetailsPage--DRHcaKz-WEt4M3n2.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-B5hbI4dU-0vD7L8pJ.js → MagicLinkDomesticWireDetailsPage-B5hbI4dU-BBmovkJC.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-BdwVZCRt-BzFpmTJD.js → MagicLinkInternationalWireDetailsPage-BdwVZCRt-5G01_OeQ.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-DOUrPdD--h771bDUh.js → MagicLinkSuccessPage-DOUrPdD--DcZ_t2NE.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-Bb27jU2a-DQOPYd-Z.js → MagicLinkTitleSection-Bb27jU2a-DoQ8aWp1.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-CdKFQB_8-K5G0AaPG.js → MailingDetailsSection-CdKFQB_8-DW3BDO52.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-B3sIZU3d-DuEMLObz.js → MeetingCalenderPopup-B3sIZU3d-DQNFWJ_9.js} +1 -1
  106. package/dist/assets/{Menu-Bsk58l8k-kRDchKev.js → Menu-Bsk58l8k-DveIoh_v.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-P1Zh6SFD-C4DvQ61H.js → MyBankConnectionsSettingsPage-P1Zh6SFD-hnAROTqH.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-Cs7rVAdh-B9AXkK-5.js → MyPendingActivationChargeCardListPage-Cs7rVAdh-Cmwa__iw.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-Cc4XfbBQ-C9qNtbAb.js → MyProfileSettingsPage-Cc4XfbBQ-CNw8hQXw.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-DFD5LZ4o-CjFvYGu-.js → NavBarWithPicker-DFD5LZ4o-DVbNG2lJ.js} +1 -1
  111. package/dist/assets/{NavigationArrow-mL8dVddD-CApZjvsF.js → NavigationArrow-mL8dVddD-CWP10rmD.js} +1 -1
  112. package/dist/assets/{NavigationDots-MPqPjbnr-gK408Eu4.js → NavigationDots-MPqPjbnr-B2VuEWoT.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-QTvziNPs-DJ7dMRKm.js → NewGlobalMerchantPage-QTvziNPs-CWfcgxwK.js} +1 -1
  114. package/dist/assets/{NoDataChart-C1BY1riw-DoqrJEIG.js → NoDataChart-C1BY1riw-DEwvHChk.js} +1 -1
  115. package/dist/assets/{NoDataTable-C_4AqyDp-cxOm3TqL.js → NoDataTable-C_4AqyDp-8AvQpHPa.js} +1 -1
  116. package/dist/assets/{NotFoundPage-U8Zqpzgy-DGacTch6.js → NotFoundPage-U8Zqpzgy-B6U5r_7M.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-2A4Pahmq-ugOY8DfW.js → NotificationSettingsPage-2A4Pahmq-CXgVjNli.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-BIw5ASx2-BpsD8zMo.js → NotificationsListConfig-BIw5ASx2-Bj3yoWmL.js} +1 -1
  119. package/dist/assets/{NotificationsPage-B6yKJmGI-ABrq9lsr.js → NotificationsPage-B6yKJmGI-DzN6ib9t.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-BnTlBXeu-CtQ9Rudi.js → OpExByVendorPage-BnTlBXeu-CipcFkdu.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-BxBOhoib-0U2mSFzb.js → OverlayContainerPage-BxBOhoib-ukQtuWFC.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-CKW73tr8-DQuvWZ35.js → PandLWithForecastPage-CKW73tr8-D7h3LcYD.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CSEVISAI-Bq0DuZcX.js → PaymentAccountSetupBillingAddressSection-CSEVISAI-BNavlD0y.js} +1 -1
  124. package/dist/assets/{PeoplePage-BJxZJT-l-FSQqwOWI.js → PeoplePage-BJxZJT-l-C9LL-QhI.js} +1 -1
  125. package/dist/assets/{PortfolioAllocationFormPage-C4pRhyet-Wf_11Z3Y.js → PortfolioAllocationFormPage-C4pRhyet-BgcVpkPb.js} +1 -1
  126. package/dist/assets/{PortfolioDetails-4fbkArz6-0_-lQYOm.js → PortfolioDetails-4fbkArz6-B-yRSXBm.js} +1 -1
  127. package/dist/assets/{ProductsCarousel-gGbLzHle-BYrndM43.js → ProductsCarousel-gGbLzHle-BiV0Dada.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-DUlZEg5E-CbxyeszU.js → PromoBaseCards-DUlZEg5E-xcZglFHs.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-C_Z2lvUz-DLhuJ1u0.js → QBOConnectionDialog-C_Z2lvUz-BwsPJmHe.js} +1 -1
  130. package/dist/assets/{QBOSetupSection-DqWiwHwl-DIb9XM9r.js → QBOSetupSection-DqWiwHwl-CaRIoZTT.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-JWdrVgqW-CFvIiw2A.js → ReimbursementApprovalRuleDetailPage-JWdrVgqW-C_wUAOQY.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-BnBNwFzM-C_gjNu0y.js → ReimbursementApprovalRulesPage-BnBNwFzM-DjomTgZF.js} +1 -1
  133. package/dist/assets/{ReimbursementDetailPage-Dyjb0qZE-BT9Piz6e.js → ReimbursementDetailPage-Dyjb0qZE-Bb3CYqzm.js} +1 -1
  134. package/dist/assets/{ReimbursementPromoPage-D1EqiXEa-DCne6gHN.js → ReimbursementPromoPage-D1EqiXEa-FvZLWCiR.js} +1 -1
  135. package/dist/assets/{ReimbursementSetUpPage-ClJ_4WMp-Rk-zjJTF.js → ReimbursementSetUpPage-ClJ_4WMp-BJpe0ne4.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B-uGRv6i-04ZwLpFl.js → ReimbursementsBulkReviewDrawerPage-B-uGRv6i-CHahWJGS.js} +1 -1
  137. package/dist/assets/{ReloadCard-DVYCtjFP-BRGDk89Q.js → ReloadCard-DVYCtjFP-CU_Dnd08.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-BTu2hum1-C1Mbyqo-.js → ReportTableViewSelector-BTu2hum1-CPyUV-1u.js} +1 -1
  139. package/dist/assets/{ReportsPage-BJEqtDDR-D_PksdU9.js → ReportsPage-BJEqtDDR-DrtRVAGN.js} +1 -1
  140. package/dist/assets/{RevenueChart-BFS-A4qa-BBXnyto4.js → RevenueChart-BFS-A4qa-Cx-As_Eb.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-C6qSCmDQ-B2yUNAOk.js → ReviewDetailsPage-C6qSCmDQ-DWlHT8F5.js} +1 -1
  142. package/dist/assets/{ReviewOverlay-DItEmr7f-J3VxEX04.js → ReviewOverlay-DItEmr7f-AS3xzQ96.js} +1 -1
  143. package/dist/assets/{RoleWithToolTip-CqtMdboJ-Do2co-59.js → RoleWithToolTip-CqtMdboJ-DDxj3xxP.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CKcDbns8-CVYGhsoz.js → ScheduleDetailsFixedAssetsPage-CKcDbns8-fF7PO25g.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsPage-CYqYYvix-CdBl7QS5.js → ScheduleDetailsPage-CYqYYvix-BNlu0RJ8.js} +1 -1
  146. package/dist/assets/{ScheduleSequenceTable-DUYFGZvc-B-XLebxH.js → ScheduleSequenceTable-DUYFGZvc-9HL4QDrz.js} +1 -1
  147. package/dist/assets/{ScreenRoutes-BFh5xZjd.js → ScreenRoutes-BI6xyHHN.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-DfuZHlL6-sva6HoSx.js → SetUpAccountSection-DfuZHlL6-D7lVamWi.js} +1 -1
  149. package/dist/assets/{SetUpDefaultSection-Jl4dtzx3-CDDnDgUz.js → SetUpDefaultSection-Jl4dtzx3-C3-EmpC_.js} +1 -1
  150. package/dist/assets/{SignIn-OTT_6lLp-4uioYcss.js → SignIn-OTT_6lLp-BofEbUzx.js} +1 -1
  151. package/dist/assets/{SignInScreen-VsVK9Vz1.js → SignInScreen-CCNlCZPG.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-BkL-3WNh-DhY9QPd5.js → SpendManagementListViewPage-BkL-3WNh-CmJxty83.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-Buppd61y-KX81e_1p.js → SpendManagementPerTabPage-Buppd61y-Z26soCL-.js} +1 -1
  154. package/dist/assets/{SpendManagementSection-BGcBRKGN-CG3uT_ZE.js → SpendManagementSection-BGcBRKGN-r3ndTuv4.js} +1 -1
  155. package/dist/assets/{SpendMgmtSetupAccountSection-Cswh297O-5u1iK010.js → SpendMgmtSetupAccountSection-Cswh297O-ClH8d_8B.js} +1 -1
  156. package/dist/assets/{StatementItem-C3tUNT5A-D9LIbCmi.js → StatementItem-C3tUNT5A-CIQABbZw.js} +1 -1
  157. package/dist/assets/{StatementsPage-DGryRE6z-C-mT3zfT.js → StatementsPage-DGryRE6z-DYX2UB10.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-BgWlxay9-Mp4PEzEM.js → StatusSwitcher-BgWlxay9-C2yA7CjA.js} +1 -1
  159. package/dist/assets/{SubTabSwitcher-DwwAqq_R-DBNFWy_6.js → SubTabSwitcher-DwwAqq_R-C-rVBP68.js} +1 -1
  160. package/dist/assets/{SummaryCard-Dm0Tx9is-BV25EA5P.js → SummaryCard-Dm0Tx9is-BOl3yzj-.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-59XAl_cs-BbyBf_KE.js → TaskManagementPage-59XAl_cs-DdQCzzW7.js} +1 -1
  162. package/dist/assets/{TimeRangeSwitcher-D7-Jph-G-Cn7zeCi8.js → TimeRangeSwitcher-D7-Jph-G-DrzBgOKv.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcher-CWYQWFLF-B37Mzr7G.js → TimeframeSwitcher-CWYQWFLF-B2eT3g6m.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-QOhQ3sac-BtE_j2V5.js → TimeframeSwitcherWithToggle-QOhQ3sac-DRu8hhQ-.js} +1 -1
  165. package/dist/assets/{TopExCard-CTlizsDD-CdK-gYL3.js → TopExCard-CTlizsDD-CbVG0KKn.js} +1 -1
  166. package/dist/assets/{TopExDetailPage-Df3JbgcF-BUIhSfiv.js → TopExDetailPage-Df3JbgcF-DygJJzQr.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-DvNpTjAp-3mOQ99vo.js → TransactionDetailPage-DvNpTjAp-nivJ-WE2.js} +1 -1
  168. package/dist/assets/{TransactionList-SkSPfIsE-CE8kQBAe.js → TransactionList-SkSPfIsE-3VqEpEta.js} +1 -1
  169. package/dist/assets/{TransactionListBig-CZCV_kmJ-DVUvA7le.js → TransactionListBig-CZCV_kmJ-CU-ZTueA.js} +1 -1
  170. package/dist/assets/{TransactionListPage-CBbyagWp-Da8WpQzF.js → TransactionListPage-CBbyagWp-CABnQ2Ad.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-BXnlFdHR-DkKO-vTr.js → TransactionVendorDetailPage-BXnlFdHR-Cg-sleYC.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-CxXLyKwW-pf6KUagR.js → TransferDrawerPage-CxXLyKwW-CcrxmwoP.js} +1 -1
  173. package/dist/assets/{TreasuryOverviewPage-3JlXZfCV-Dx_gGX5K.js → TreasuryOverviewPage-3JlXZfCV-BaVWxrMw.js} +1 -1
  174. package/dist/assets/{TreasuryPromoPage-BhAicq7r-CWtB-Ior.js → TreasuryPromoPage-BhAicq7r-BXFjeSvE.js} +1 -1
  175. package/dist/assets/{TreasurySetupPage-BQG_Wd5U-DotUWNKW.js → TreasurySetupPage-BQG_Wd5U-CuRZifkf.js} +1 -1
  176. package/dist/assets/{TreasuryStatementsPage-dCAtvvZk-CQC0pKh5.js → TreasuryStatementsPage-dCAtvvZk-LOpMx3mv.js} +1 -1
  177. package/dist/assets/{TreasuryTaxLetterPage-irA0Cgkj-CtL9UaTH.js → TreasuryTaxLetterPage-irA0Cgkj-CK8dgrod.js} +1 -1
  178. package/dist/assets/{TreasuryTransferOrReviewPage-Dd1oLBma-BqeITAG-.js → TreasuryTransferOrReviewPage-Dd1oLBma-BdudBXha.js} +1 -1
  179. package/dist/assets/{TrendChart-Ctquh3qH-BiYWLM8X.js → TrendChart-Ctquh3qH-BXdwoNzy.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-CoXTnQK7-BLlEO5rp.js → TrendWithTransactions-CoXTnQK7-DI1VEsOz.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-Cq49D6V9-TgKDL_ek.js → UncategorizedAccountsMappingPage-Cq49D6V9-DdxXW0nh.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage-CR0nZ7NM-R_gwAwZ8.js → UnitIntegrationPage-CR0nZ7NM-CNMCC02w.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-B_DFEIlC-D-vyB1J1.js → UploadAdditionalDocumentOverlay-B_DFEIlC-CURAudK_.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-KsRgKz_Z-j8koIFf4.js → Vendor2FAPopup-KsRgKz_Z-LsR0JToL.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-MRaehbhm-DmI12dQp.js → VendorACHDetailsPage-MRaehbhm-CLgE5xYR.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-Cji21PBc-B3adWyVF.js → VendorDetailPage-Cji21PBc-BCtJStdp.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-DhUIW9g--qdYZ8d9x.js → VendorDomesticWireDetailsPage-DhUIW9g--COJKg8zJ.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-BWFbXLhQ-C5qvIENm.js → VendorFiling1099EditablePage-BWFbXLhQ-BxUi0-__.js} +1 -1
  189. package/dist/assets/{VendorFirstReviewPage-tvh5pcvQ-B2Kk7Crs.js → VendorFirstReviewPage-tvh5pcvQ-THD3l6eB.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireDetailsPage-CfmZSb8O-B-ILWyNn.js → VendorInternationalWireDetailsPage-CfmZSb8O-DIxfvNFa.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-V_1s9mWi-hnkkHj00.js → VendorInternationalWireSwiftDetailsPage-V_1s9mWi-CfIMbPtN.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-b9s5nqGq-DfS13Vrv.js → VendorsAccountsSection-b9s5nqGq-C603vDJM.js} +1 -1
  193. package/dist/assets/{VerifyDevice-CJgD3UmO-uodXssPo.js → VerifyDevice-CJgD3UmO-DfWOJP1r.js} +1 -1
  194. package/dist/assets/{WarningsDrawerPage-CB4mJGTB-fzxOGtfc.js → WarningsDrawerPage-CB4mJGTB-BdjqZZPI.js} +1 -1
  195. package/dist/assets/{ZeniAccountDetailPage-CgSyyen1-PEjv41n1.js → ZeniAccountDetailPage-CgSyyen1-CshTBZp2.js} +1 -1
  196. package/dist/assets/{ZeniAccountListViewPage-DjGZpdh_-BsFv0aAo.js → ZeniAccountListViewPage-DjGZpdh_-ZERnQ4MU.js} +1 -1
  197. package/dist/assets/{ZeniAccountNavBarPieces-BJC4d2Iu-BjaYs6wQ.js → ZeniAccountNavBarPieces-BJC4d2Iu-DYh40FyS.js} +1 -1
  198. package/dist/assets/{ZeniAccountPromoPage-D3Yt6FIj-ypiLoIIl.js → ZeniAccountPromoPage-D3Yt6FIj-GRZWrpyM.js} +1 -1
  199. package/dist/assets/{ZeniAccountSetupPage-BeCPekI4-BoIQB_8y.js → ZeniAccountSetupPage-BeCPekI4-B43tT3eQ.js} +1 -1
  200. package/dist/assets/{ZeniCopyright-Dhdl9kqY-CRu5oNtE.js → ZeniCopyright-Dhdl9kqY-Ef9QRXwR.js} +1 -1
  201. package/dist/assets/{ZeniTransferAmountSlider-B8VFb2l--enqH4TrQ.js → ZeniTransferAmountSlider-B8VFb2l--DxgbNpeK.js} +1 -1
  202. package/dist/assets/{analyticsHelper-DBiIeSgZ.js → analyticsHelper-CWmZNwFh.js} +1 -1
  203. package/dist/assets/{analyticsHelper-Cawv3PXO-DqLgneHd.js → analyticsHelper-Cawv3PXO-W_w6SVVv.js} +1 -1
  204. package/dist/assets/{chartTypes-5p7NWUHx-6R9pye-p.js → chartTypes-5p7NWUHx-CaLqh1mY.js} +1 -1
  205. package/dist/assets/{commonDimensions-CQlLUBWG-C3nTCVjo.js → commonDimensions-CQlLUBWG-DzlL6K89.js} +1 -1
  206. package/dist/assets/{detailCommon-CoAmJ6pY-B0Qu3snC.js → detailCommon-CoAmJ6pY-B7nmx1bS.js} +1 -1
  207. package/dist/assets/{downloadPdf-CCJjnfCZ-ODxWAPRh.js → downloadPdf-CCJjnfCZ-DhZmGI0x.js} +1 -1
  208. package/dist/assets/{index-C2JVdK9x.js → index-BQuxwdpl.js} +9 -9
  209. package/dist/assets/{mapLoadingInProgressToTreeNode-CwyU1xs5-DTtIWEnS.js → mapLoadingInProgressToTreeNode-CwyU1xs5-BVaHor8r.js} +1 -1
  210. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-IKJYFM7_-BiH-dZ1q.js → mapSectionWithAcOnlyToTreeNode-IKJYFM7_-BhnDf8Ml.js} +1 -1
  211. package/dist/assets/{mapSpacerToTreeNode-D5XTLzM7-CZeCl2Hx.js → mapSpacerToTreeNode-D5XTLzM7-BSt0rKdl.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-CJMbtmIl-DGh10zzw.js → mapTimeframeBalancesToTreeNode-CJMbtmIl-5p_Ma1rs.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-SX6fBp6e-DSWmrMTg.js → mapTimeframeBalancesToTreeNode-SX6fBp6e-CrAiUa7Z.js} +1 -1
  214. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Ts5lOZtX-DZNSlCJx.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Ts5lOZtX-EAxYFN8c.js} +1 -1
  215. package/dist/assets/{play-icon-oQKnPjZi-D1s2fk0_.js → play-icon-oQKnPjZi-ikYsAriO.js} +1 -1
  216. package/dist/assets/{toCOABalancesWithID-DwvFse7w-YhdHXdmt.js → toCOABalancesWithID-DwvFse7w-BpGyVZma.js} +1 -1
  217. package/dist/assets/{toChartData-BBvMC_VQ-D9RVT7PQ.js → toChartData-BBvMC_VQ-C0NFogQd.js} +1 -1
  218. package/dist/assets/{treasuryColorHelper-CUDK9KvQ-DUBVC7I-.js → treasuryColorHelper-CUDK9KvQ-D8RX0DsH.js} +1 -1
  219. package/dist/assets/{uploadAttachment-P4S_2L_v-CgBJ3cvv.js → uploadAttachment-P4S_2L_v-CGkHKEhM.js} +1 -1
  220. package/dist/assets/{uploadReceipts-DhDnr0ap-Dmr6ZzO6.js → uploadReceipts-DhDnr0ap-B_HL-sz_.js} +1 -1
  221. package/dist/index.html +1 -1
  222. package/package.json +1 -1
  223. package/dist/assets/CustomerOnboardingContainerPage-DyM4sCZd-DLhRqrqJ.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as k,fc as x,a1 as U,l as W,X as Y,M as _,j as i,c6 as q,F as A,Y as K,fd as X,o as a,g as G,cg as H,a3 as J,C as y,a2 as Q,c3 as Z,ao as ee,an as te,p as c}from"./index-C2JVdK9x.js";import{b as m,n as l}from"./vendor-CnQcJ2Lu.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:f,onClose:b,onEditFileName:v,onDeleteFile:I,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,O]=m.useState(!1),$=U(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},L=Object.values(j??{}).filter(o=>o!=null),T=W.reduceAllFetchState(L);m.useEffect(()=>{$==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[$,f,n,t?.additionalFiles]);const r=Y(),h=_.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,M=n.handleSubmit(()=>{T.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(A,{...n,children:i.jsxs("form",{id:u,onSubmit:M,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:b,"data-testid":K("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:v,onDeleteFile:I,updateFilesEntity:D,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(J,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:b},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
1
+ import{a as k,fc as x,a1 as U,l as W,X as Y,M as _,j as i,c6 as q,F as A,Y as K,fd as X,o as a,g as G,cg as H,a3 as J,C as y,a2 as Q,c3 as Z,ao as ee,an as te,p as c}from"./index-BQuxwdpl.js";import{b as m,n as l}from"./vendor-CnQcJ2Lu.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:f,onClose:b,onEditFileName:v,onDeleteFile:I,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,O]=m.useState(!1),$=U(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},L=Object.values(j??{}).filter(o=>o!=null),T=W.reduceAllFetchState(L);m.useEffect(()=>{$==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[$,f,n,t?.additionalFiles]);const r=Y(),h=_.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,M=n.handleSubmit(()=>{T.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(A,{...n,children:i.jsxs("form",{id:u,onSubmit:M,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:b,"data-testid":K("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:v,onDeleteFile:I,updateFilesEntity:D,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(J,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:b},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{a1 as o,M as v,j as n,hn as k,ho as j}from"./index-C2JVdK9x.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const H=({vendorViewDetails:S,isExpressPayPage:i,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=v.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),n.jsx(n.Fragment,{children:C===!0?n.jsx(k,{showHelperText:!i,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?n.jsx(j,{showHelperText:!i,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:i?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{H as default};
1
+ import{a1 as o,M as v,j as n,hn as k,ho as j}from"./index-BQuxwdpl.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const H=({vendorViewDetails:S,isExpressPayPage:i,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=v.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),n.jsx(n.Fragment,{children:C===!0?n.jsx(k,{showHelperText:!i,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?n.jsx(j,{showHelperText:!i,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:i?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{H as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-C2JVdK9x.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-CYMIIaPh-C8Zl6MLV.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Dp7qMaI2-DCN96rsg.js";import"./MagicLinkTitleSection-Bb27jU2a-DQOPYd-Z.js";import"./BankAccountSection-CmXQQBck-BXf6w0tF.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-BQuxwdpl.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-CYMIIaPh-CazcteT9.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Dp7qMaI2-DUYDyhSL.js";import"./MagicLinkTitleSection-Bb27jU2a-DoQ8aWp1.js";import"./BankAccountSection-CmXQQBck-5U9GbvUg.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{M as _,u as Re,X as ne,C as g,B as be,l as se,c8 as xt,a as yt,gw as Be,gx as Ae,gy as Ee,gz as fe,gA as bt,a7 as ft,c6 as wt,j as t,aV as Ct,F as $t,gB as St,gC as ue,p as l,c7 as Dt,a3 as jt,o,bf as S,cj as Tt,ga as we,gD as Lt,c9 as Vt,ca as kt,cb as It,gE as Ot,fG as Pt,ch as Ft,gF as zt,gG as Mt,g as M,dr as _t,dq as Nt,cv as Wt,aa as de,al as qe,v as Ue,ds as Ht,f2 as Rt,gH as Bt,gI as At,s as Et,gJ as qt,bK as Ye,gK as Ut,Q as Ce,h as Ge}from"./index-C2JVdK9x.js";import{b as $,n as a,j as Yt}from"./vendor-CnQcJ2Lu.js";import{k as Gt}from"./SubTabSwitcher-DwwAqq_R-DBNFWy_6.js";import{d as Qt}from"./TransactionList-SkSPfIsE-CE8kQBAe.js";import{R as Kt}from"./TrendWithTransactions-CoXTnQK7-BLlEO5rp.js";import{o as Jt,t as Xt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{W as Zt}from"./LabeledAddressValueField-DkhJs5ky-DLdSr7t1.js";import{Y as es}from"./LabeledDropDownFormattedTextField-D70GX0HR-7dIEmO5F.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-Bf7JemSM-D8tvXCvN.js";import"./commonDimensions-CQlLUBWG-C3nTCVjo.js";import"./TrendChart-Ctquh3qH-BiYWLM8X.js";import"./chartTypes-5p7NWUHx-6R9pye-p.js";import"./toCOABalancesWithID-DwvFse7w-YhdHXdmt.js";import"./toChartData-BBvMC_VQ-D9RVT7PQ.js";import"./NoDataChart-C1BY1riw-DoqrJEIG.js";import"./InsightsSection-CLqfyvOO-CKwkK2Sj.js";import"./NavigationDots-MPqPjbnr-gK408Eu4.js";const ts=a.div`
1
+ import{M as _,u as Re,X as ne,C as g,B as be,l as se,c8 as xt,a as yt,gw as Be,gx as Ae,gy as Ee,gz as fe,gA as bt,a7 as ft,c6 as wt,j as t,aV as Ct,F as $t,gB as St,gC as ue,p as l,c7 as Dt,a3 as jt,o,bf as S,cj as Tt,ga as we,gD as Lt,c9 as Vt,ca as kt,cb as It,gE as Ot,fG as Pt,ch as Ft,gF as zt,gG as Mt,g as M,dr as _t,dq as Nt,cv as Wt,aa as de,al as qe,v as Ue,ds as Ht,f2 as Rt,gH as Bt,gI as At,s as Et,gJ as qt,bK as Ye,gK as Ut,Q as Ce,h as Ge}from"./index-BQuxwdpl.js";import{b as $,n as a,j as Yt}from"./vendor-CnQcJ2Lu.js";import{k as Gt}from"./SubTabSwitcher-DwwAqq_R-C-rVBP68.js";import{d as Qt}from"./TransactionList-SkSPfIsE-3VqEpEta.js";import{R as Kt}from"./TrendWithTransactions-CoXTnQK7-DI1VEsOz.js";import{o as Jt,t as Xt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{W as Zt}from"./LabeledAddressValueField-DkhJs5ky-B6R8wPlw.js";import{Y as es}from"./LabeledDropDownFormattedTextField-D70GX0HR-Mxvvq1WO.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-Bf7JemSM-DA-EqZ9I.js";import"./commonDimensions-CQlLUBWG-DzlL6K89.js";import"./TrendChart-Ctquh3qH-BXdwoNzy.js";import"./chartTypes-5p7NWUHx-CaLqh1mY.js";import"./toCOABalancesWithID-DwvFse7w-BpGyVZma.js";import"./toChartData-BBvMC_VQ-C0NFogQd.js";import"./NoDataChart-C1BY1riw-DEwvHChk.js";import"./InsightsSection-CLqfyvOO-xadJoIF2.js";import"./NavigationDots-MPqPjbnr-B2VuEWoT.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-C2JVdK9x.js";import{b as C}from"./vendor-CnQcJ2Lu.js";import{y as b}from"./DomesticWireDetailsPage-BmMEth4c-Duh2OS1c.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-CmXQQBck-BXf6w0tF.js";import"./MagicLinkTitleSection-Bb27jU2a-DQOPYd-Z.js";import"./BankAccountWarningSection-Dp7qMaI2-DCN96rsg.js";import"./MailingDetailsSection-CdKFQB_8-K5G0AaPG.js";import"./LabeledAddressValueField-DkhJs5ky-DLdSr7t1.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-BQuxwdpl.js";import{b as C}from"./vendor-CnQcJ2Lu.js";import{y as b}from"./DomesticWireDetailsPage-BmMEth4c-0ZA88eE1.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-CmXQQBck-5U9GbvUg.js";import"./MagicLinkTitleSection-Bb27jU2a-DoQ8aWp1.js";import"./BankAccountWarningSection-Dp7qMaI2-DUYDyhSL.js";import"./MailingDetailsSection-CdKFQB_8-DW3BDO52.js";import"./LabeledAddressValueField-DkhJs5ky-B6R8wPlw.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{X as oe,u as Ne,M as ne,a as ke,cz as K,gL as de,c6 as Ae,C as w,j as t,aV as Be,Y as Ee,F as Oe,c9 as C,o as s,cd as We,gE as Re,fG as Me,ch as qe,gF as He,gG as Ue,cp as Ke,a3 as Ge,cr as Ye,cA as Ze,p as c,a2 as Je,bf as F,c4 as Qe,gM as Xe,g as I,eT as _e,bK as et,s as ce,eC as tt,gN as st,gO as lt,gP as q,cB as it}from"./index-C2JVdK9x.js";import{b as y,n as a}from"./vendor-CnQcJ2Lu.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-D70GX0HR-7dIEmO5F.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:h,style:W}){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:W,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:q(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:q(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:q(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:h,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{X as oe,u as Ne,M as ne,a as ke,cz as K,gL as de,c6 as Ae,C as w,j as t,aV as Be,Y as Ee,F as Oe,c9 as C,o as s,cd as We,gE as Re,fG as Me,ch as qe,gF as He,gG as Ue,cp as Ke,a3 as Ge,cr as Ye,cA as Ze,p as c,a2 as Je,bf as F,c4 as Qe,gM as Xe,g as I,eT as _e,bK as et,s as ce,eC as tt,gN as st,gO as lt,gP as q,cB as it}from"./index-BQuxwdpl.js";import{b as y,n as a}from"./vendor-CnQcJ2Lu.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-D70GX0HR-Mxvvq1WO.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:h,style:W}){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:W,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:q(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:q(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:q(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:h,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{X as ae,V as Nn,u as mn,a as nt,hz as Te,c6 as tt,y as On,hA as ie,hB as xe,hC as fe,hD as be,hE as me,M as je,j as n,hv as ot,F as rt,aV as it,T as st,bR as at,bT as lt,bU as dt,bp as ct,Y as X,be as mt,bO as pt,ai as ut,dl as ht,bW as gt,C as w,d as wt,A as Ne,o as t,a6 as In,s as De,a5 as vt,p as c,v as Re,b$ as xt,l as Pn,dr as Tn,bf as Pe,az as zn,c2 as ft,bE as bt,d2 as $t,ao as Xe,aN as pn,g as B,ax as Dn,fg as St,dh as wn,cv as rn,hF as yt,hG as sn,m as jt,bw as Be,d1 as Rt,er as vn,b4 as Ct,dt as Vt,K as xn,hH as kt,cj as Mt,cr as Nt,cs as Ot,ew as It,f as Ln,hI as Pt,b2 as se,hJ as fn,gc as Tt,b0 as zt,aB as Dt,ds as Lt,q as An,Q as At,eD as _t,a8 as dn}from"./index-C2JVdK9x.js";import{b as f,n as o,j as cn}from"./vendor-CnQcJ2Lu.js";import{r as Ft}from"./mui-C5LQ0bMa.js";import{R as Bt}from"./Menu-Bsk58l8k-kRDchKev.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const _n=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(Gt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(qt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
1
+ import{X as ae,V as Nn,u as mn,a as nt,hz as Te,c6 as tt,y as On,hA as ie,hB as xe,hC as fe,hD as be,hE as me,M as je,j as n,hv as ot,F as rt,aV as it,T as st,bR as at,bT as lt,bU as dt,bp as ct,Y as X,be as mt,bO as pt,ai as ut,dl as ht,bW as gt,C as w,d as wt,A as Ne,o as t,a6 as In,s as De,a5 as vt,p as c,v as Re,b$ as xt,l as Pn,dr as Tn,bf as Pe,az as zn,c2 as ft,bE as bt,d2 as $t,ao as Xe,aN as pn,g as B,ax as Dn,fg as St,dh as wn,cv as rn,hF as yt,hG as sn,m as jt,bw as Be,d1 as Rt,er as vn,b4 as Ct,dt as Vt,K as xn,hH as kt,cj as Mt,cr as Nt,cs as Ot,ew as It,f as Ln,hI as Pt,b2 as se,hJ as fn,gc as Tt,b0 as zt,aB as Dt,ds as Lt,q as An,Q as At,eD as _t,a8 as dn}from"./index-BQuxwdpl.js";import{b as f,n as o,j as cn}from"./vendor-CnQcJ2Lu.js";import{r as Ft}from"./mui-C5LQ0bMa.js";import{R as Bt}from"./Menu-Bsk58l8k-DveIoh_v.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const _n=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(Gt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(qt,{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,X as Q,a as he,M as N,c6 as ye,B as ge,l as Y,bR as be,bT as fe,bU as xe,F as ve,a3 as we,C as p,cz as le,cA as Ce,o as y,an as $e,cj as oe,u as ne,cB as je,cC as J,cp as G,ag as H,c9 as De,cD as Te,p as a,cr as Se,Y as ke,g as V,d as Fe,Q as Oe,bw as Ae,v as Le,b4 as ze}from"./index-C2JVdK9x.js";import{b as I,n as g}from"./vendor-CnQcJ2Lu.js";import{W as We,A as Re}from"./BankAccountWarningSection-Dp7qMaI2-DCN96rsg.js";import{T as Ie}from"./MailingDetailsSection-CdKFQB_8-K5G0AaPG.js";import{S as Pe}from"./CurrencySelectField-PwurThUn-qsqObS4L.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-DkhJs5ky-DLdSr7t1.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:k=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(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":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(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,X as Q,a as he,M as N,c6 as ye,B as ge,l as Y,bR as be,bT as fe,bU as xe,F as ve,a3 as we,C as p,cz as le,cA as Ce,o as y,an as $e,cj as oe,u as ne,cB as je,cC as J,cp as G,ag as H,c9 as De,cD as Te,p as a,cr as Se,Y as ke,g as V,d as Fe,Q as Oe,bw as Ae,v as Le,b4 as ze}from"./index-BQuxwdpl.js";import{b as I,n as g}from"./vendor-CnQcJ2Lu.js";import{W as We,A as Re}from"./BankAccountWarningSection-Dp7qMaI2-DUYDyhSL.js";import{T as Ie}from"./MailingDetailsSection-CdKFQB_8-DW3BDO52.js";import{S as Pe}from"./CurrencySelectField-PwurThUn-CCLMhDMc.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-DkhJs5ky-B6R8wPlw.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:k=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(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":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(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-C2JVdK9x.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-DBG1ni7g-DMTAsaCM.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Dp7qMaI2-DCN96rsg.js";import"./MailingDetailsSection-CdKFQB_8-K5G0AaPG.js";import"./LabeledAddressValueField-DkhJs5ky-DLdSr7t1.js";import"./MagicLinkTitleSection-Bb27jU2a-DQOPYd-Z.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-BQuxwdpl.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-DBG1ni7g-5byzUSyT.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Dp7qMaI2-DUYDyhSL.js";import"./MailingDetailsSection-CdKFQB_8-DW3BDO52.js";import"./LabeledAddressValueField-DkhJs5ky-B6R8wPlw.js";import"./MagicLinkTitleSection-Bb27jU2a-DoQ8aWp1.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{X as ie,u as oe,M as te,C as c,g5 as w,a7 as T,j as i,hm as m,hl as g,o as n,Q as re,g as ne,dy as se,v as le,p as a}from"./index-C2JVdK9x.js";import{n as l}from"./vendor-CnQcJ2Lu.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},L={title:new re("standardMedium","largeMedium")},de=l.div`
1
+ import{X as ie,u as oe,M as te,C as c,g5 as w,a7 as T,j as i,hm as m,hl as g,o as n,Q as re,g as ne,dy as se,v as le,p as a}from"./index-BQuxwdpl.js";import{n as l}from"./vendor-CnQcJ2Lu.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},L={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{a1 as j,a as $,M as b,j as t,bm as w,F as C,bn as F,bo as S,K as d,o as n,bp as V,s as h,ao as m,v as k}from"./index-C2JVdK9x.js";import{b as p,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const l="otpInputField",Y=e=>{const x=e.verifyOtpFetchState==="In-Progress",[f,c]=p.useState(!1),a=j(e.verifyOtpFetchState),i=$({mode:"all",reValidateMode:"onChange",defaultValues:{[l]:""}}),s=i.watch(l),u=()=>{e.onCancelVerifyDevice()},y=()=>{s.length===6&&e.onVerifyOtp(s)},o=b.getLocalizedStrings().commonSetUp.twoFactorAuthentication,g=o.footerHelperText.replace(/<button_text>/,o.verify);return p.useEffect(()=>{a==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(c(!0),i.setValue(l,""))},[a,e.verifyOtpFetchState,i]),t.jsx(w,{open:!0,onClose:e.onCancelVerifyDevice,children:t.jsx(O,{children:t.jsx(C,{...i,children:t.jsxs(A,{children:[t.jsxs(z,{children:[t.jsx(M,{children:o.verifyDeviceTitle}),t.jsx(D,{children:o.verifyDeviceDescription}),t.jsx(E,{children:F(e.phoneNumber+"")})]}),t.jsx(P,{children:t.jsx(S,{value:s,valueLength:6,onChange:v=>i.setValue(l,v)})}),f===!0?t.jsx(I,{children:o.invalidCode}):null,t.jsxs(N,{children:[t.jsx(R,{children:o.codeNotReceived}),t.jsx(K,{onClick:()=>{e.onResendOtp(),c(!1),i.setValue(l,"")},children:o.resend})]}),t.jsxs(H,{children:[t.jsxs(L,{children:[t.jsx(d,{label:o.cancel,onClick:u,style:{width:82}}),t.jsx(d,{variant:"primary",label:o.verify,onClick:y,style:{width:82},loading:x,disabled:s.length!==6})]}),t.jsx(T,{children:g})]})]})})})})},O=r.div`
1
+ import{a1 as j,a as $,M as b,j as t,bm as w,F as C,bn as F,bo as S,K as d,o as n,bp as V,s as h,ao as m,v as k}from"./index-BQuxwdpl.js";import{b as p,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const l="otpInputField",Y=e=>{const x=e.verifyOtpFetchState==="In-Progress",[f,c]=p.useState(!1),a=j(e.verifyOtpFetchState),i=$({mode:"all",reValidateMode:"onChange",defaultValues:{[l]:""}}),s=i.watch(l),u=()=>{e.onCancelVerifyDevice()},y=()=>{s.length===6&&e.onVerifyOtp(s)},o=b.getLocalizedStrings().commonSetUp.twoFactorAuthentication,g=o.footerHelperText.replace(/<button_text>/,o.verify);return p.useEffect(()=>{a==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(c(!0),i.setValue(l,""))},[a,e.verifyOtpFetchState,i]),t.jsx(w,{open:!0,onClose:e.onCancelVerifyDevice,children:t.jsx(O,{children:t.jsx(C,{...i,children:t.jsxs(A,{children:[t.jsxs(z,{children:[t.jsx(M,{children:o.verifyDeviceTitle}),t.jsx(D,{children:o.verifyDeviceDescription}),t.jsx(E,{children:F(e.phoneNumber+"")})]}),t.jsx(P,{children:t.jsx(S,{value:s,valueLength:6,onChange:v=>i.setValue(l,v)})}),f===!0?t.jsx(I,{children:o.invalidCode}):null,t.jsxs(N,{children:[t.jsx(R,{children:o.codeNotReceived}),t.jsx(K,{onClick:()=>{e.onResendOtp(),c(!1),i.setValue(l,"")},children:o.resend})]}),t.jsxs(H,{children:[t.jsxs(L,{children:[t.jsx(d,{label:o.cancel,onClick:u,style:{width:82}}),t.jsx(d,{variant:"primary",label:o.verify,onClick:y,style:{width:82},loading:x,disabled:s.length!==6})]}),t.jsx(T,{children:g})]})]})})})})},O=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 456px;
@@ -1,4 +1,4 @@
1
- import{X as C,l as B,M as D,j as s,eP as j,eT as S,K as M,q as E,o as n,C as $,Q as L,h as P,a2 as z,c3 as N,g as w,k as A,ax as T,eD as R,p as g}from"./index-C2JVdK9x.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},Q={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?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",u=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=O(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.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);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=F(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=G(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(V,{children:[s.jsx(H,{windowSize:l,children:s.jsx(K,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(U,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(X,{children:[s.jsx(_,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
1
+ import{X as C,l as B,M as D,j as s,eP as j,eT as S,K as M,q as E,o as n,C as $,Q as L,h as P,a2 as z,c3 as N,g as w,k as A,ax as T,eD as R,p as g}from"./index-BQuxwdpl.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},Q={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?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",u=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=O(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.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);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=F(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=G(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(V,{children:[s.jsx(H,{windowSize:l,children:s.jsx(K,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(U,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(X,{children:[s.jsx(_,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
2
2
  ${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),u.map((i,c)=>s.jsx(W,{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:{...E.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},O=(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}},F=(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}},V=t.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{a as Te,X as H,V as Pe,l as P,u as pe,a1 as Be,j as t,M as _,_ as B,bw as L,o,aV as Le,q as D,bR as R,bT as V,bU as F,F as Ne,cD as Me,g as y,cr as He,Y as v,d as ue,v as w,b4 as Ee,be as Ie,a5 as Ue,C as j,fe as We,cR as ae,p,gT as Oe,ar as Re,b6 as Ve,au as Fe,at as Ye,b7 as Ge,as as Je,s as q,gU as Ke,al as Xe,ae as _e,gV as qe,k as Ze,gW as Qe,ax as et,fg as tt,cy as ot,f as at,Q as it,bK as nt}from"./index-C2JVdK9x.js";import{b as l,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as rt}from"./BoxItem-Bf7JemSM-D8tvXCvN.js";import{w as lt}from"./downloadPdf-CCJjnfCZ-ODxWAPRh.js";import{H as ct}from"./DepositAccTransactionItem-BYFOUvho-D1tjwPkv.js";import{T as st}from"./ZeniAccountNavBarPieces-BJC4d2Iu-BjaYs6wQ.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./commonDimensions-CQlLUBWG-C3nTCVjo.js";const dt=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
1
+ import{a as Te,X as H,V as Pe,l as P,u as pe,a1 as Be,j as t,M as _,_ as B,bw as L,o,aV as Le,q as D,bR as R,bT as V,bU as F,F as Ne,cD as Me,g as y,cr as He,Y as v,d as ue,v as w,b4 as Ee,be as Ie,a5 as Ue,C as j,fe as We,cR as ae,p,gT as Oe,ar as Re,b6 as Ve,au as Fe,at as Ye,b7 as Ge,as as Je,s as q,gU as Ke,al as Xe,ae as _e,gV as qe,k as Ze,gW as Qe,ax as et,fg as tt,cy as ot,f as at,Q as it,bK as nt}from"./index-BQuxwdpl.js";import{b as l,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as rt}from"./BoxItem-Bf7JemSM-DA-EqZ9I.js";import{w as lt}from"./downloadPdf-CCJjnfCZ-DhZmGI0x.js";import{H as ct}from"./DepositAccTransactionItem-BYFOUvho-CLqmAE-P.js";import{T as st}from"./ZeniAccountNavBarPieces-BJC4d2Iu-DYh40FyS.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./commonDimensions-CQlLUBWG-DzlL6K89.js";const dt=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{X,a as Ie,a1 as _e,u as De,aa as Ee,M as J,a0 as Fe,j as t,bR as W,g as o,F as Ge,o as n,cD as Re,cr as Ue,bT as ne,bU as ie,gQ as Ne,_ as G,bw as fe,aV as Oe,q as z,Z as We,s as Ye,k as Ve,bE as Ze,b4 as ye,v as b,V as qe,l as Ke,cR as F,Y as R,C as j,f as H,f9 as Qe,Q as Xe,h as Je,n as He,ct as et,bK as tt,fA as nt,p as u,dL as it,fi as ot,gR as rt,K as st,fb as at,be as ct,a5 as lt}from"./index-C2JVdK9x.js";import{b as g,n as i}from"./vendor-CnQcJ2Lu.js";import{r as dt}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as pt}from"./shield-DOlUxcFf-BCUrujod.js";import{T as ut}from"./ZeniAccountNavBarPieces-BJC4d2Iu-BjaYs6wQ.js";import{v as mt}from"./ZeniTransferAmountSlider-B8VFb2l--enqH4TrQ.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ht=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(),gt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:$,style:C})=>{const s=X(),v=(c,T)=>Object.entries(T).reduce((M,[L,w])=>M.replace(new RegExp(`__${L}__`,"g"),w),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),S=[{icon:t.jsx(At,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(zt,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(Ct,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(xt,{style:C,children:[t.jsx(wt,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx($t,{}),t.jsx(ft,{})]}),t.jsx(yt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(kt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:S.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(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,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(we,{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(bt,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:S.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(we,{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:$,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},xt=i.div`
1
+ import{X,a as Ie,a1 as _e,u as De,aa as Ee,M as J,a0 as Fe,j as t,bR as W,g as o,F as Ge,o as n,cD as Re,cr as Ue,bT as ne,bU as ie,gQ as Ne,_ as G,bw as fe,aV as Oe,q as z,Z as We,s as Ye,k as Ve,bE as Ze,b4 as ye,v as b,V as qe,l as Ke,cR as F,Y as R,C as j,f as H,f9 as Qe,Q as Xe,h as Je,n as He,ct as et,bK as tt,fA as nt,p as u,dL as it,fi as ot,gR as rt,K as st,fb as at,be as ct,a5 as lt}from"./index-BQuxwdpl.js";import{b as g,n as i}from"./vendor-CnQcJ2Lu.js";import{r as dt}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as pt}from"./shield-DOlUxcFf-BCUrujod.js";import{T as ut}from"./ZeniAccountNavBarPieces-BJC4d2Iu-DYh40FyS.js";import{v as mt}from"./ZeniTransferAmountSlider-B8VFb2l--DxgbNpeK.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ht=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(),gt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:$,style:C})=>{const s=X(),v=(c,T)=>Object.entries(T).reduce((M,[L,w])=>M.replace(new RegExp(`__${L}__`,"g"),w),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),S=[{icon:t.jsx(At,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(zt,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(Ct,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(xt,{style:C,children:[t.jsx(wt,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx($t,{}),t.jsx(ft,{})]}),t.jsx(yt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(kt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:S.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(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,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(we,{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(bt,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:S.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(we,{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:$,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},xt=i.div`
2
2
  position: relative;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{V as P,fm as $,l as j,M as O,j as a,Y as w,gn as p,gS as u,o as s,gp as z}from"./index-C2JVdK9x.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const o=O.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},M={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},v={value:"checkDeposit",label:o.moveMoney.checkDeposit},B=[y,g,M,v],A=[M,g,y,v],I=({zeniBankProps:e,isBillPayEnabled:f,isExpressPayEnabled:h,analytics:x,onSettingsClick:k})=>{const i=P(),l=i.loggedInUserRoleMap.deposit_accounts_user===!0||$(i),S=j.hasBillPayAccess(i.loggedInUserRoleMap),b=m.filter(t=>t.value==="accountStatement"),c=f===!0?B:A,r=h===!0?c:c.filter(t=>t.value!=="sendMoney"),N=S?r:r.filter(t=>t.value!=="payBill");return a.jsxs(C,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!l?a.jsx(E,{onClick:k,"data-testid":w("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?b: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:()=>x?.trackAccountsListPageClicked("Move Money")})]})},E=d(z)`
1
+ import{V as P,fm as $,l as j,M as O,j as a,Y as w,gn as p,gS as u,o as s,gp as z}from"./index-BQuxwdpl.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const o=O.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},M={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},v={value:"checkDeposit",label:o.moveMoney.checkDeposit},B=[y,g,M,v],A=[M,g,y,v],I=({zeniBankProps:e,isBillPayEnabled:f,isExpressPayEnabled:h,analytics:x,onSettingsClick:k})=>{const i=P(),l=i.loggedInUserRoleMap.deposit_accounts_user===!0||$(i),S=j.hasBillPayAccess(i.loggedInUserRoleMap),b=m.filter(t=>t.value==="accountStatement"),c=f===!0?B:A,r=h===!0?c:c.filter(t=>t.value!=="sendMoney"),N=S?r:r.filter(t=>t.value!=="payBill");return a.jsxs(C,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!l?a.jsx(E,{onClick:k,"data-testid":w("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?b: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:()=>x?.trackAccountsListPageClicked("Move Money")})]})},E=d(z)`
2
2
  cursor: pointer;
3
3
  min-width: ${s.sp4};
4
4
  width: ${s.sp4};
@@ -1,4 +1,4 @@
1
- import{u as ae,X as v,a1 as ce,V as xe,fm as me,j as i,aV as pe,M as P,k as he,o,c4 as ue,Z as J,K as L,Y as W,i as j,c3 as ge,aa as b,a0 as k,a5 as K,aS as we,C as x,g as A,c5 as je,a6 as $e,ao as ye,p as Y,Q as $,h as C,f as T,$ as Se}from"./index-C2JVdK9x.js";import{b as V,n}from"./vendor-CnQcJ2Lu.js";import{x as fe}from"./MeetingCalenderPopup-B3sIZU3d-DuEMLObz.js";import{M as B}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const u={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(Y[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,Y[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")},ze=n.div`
1
+ import{u as ae,X as v,a1 as ce,V as xe,fm as me,j as i,aV as pe,M as P,k as he,o,c4 as ue,Z as J,K as L,Y as W,i as j,c3 as ge,aa as b,a0 as k,a5 as K,aS as we,C as x,g as A,c5 as je,a6 as $e,ao as ye,p as Y,Q as $,h as C,f as T,$ as Se}from"./index-BQuxwdpl.js";import{b as V,n}from"./vendor-CnQcJ2Lu.js";import{x as fe}from"./MeetingCalenderPopup-B3sIZU3d-DQNFWJ_9.js";import{M as B}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const u={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(Y[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,Y[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")},ze=n.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{u as Se,X as we,a1 as U,a as be,c6 as Ae,M as xe,a7 as $,j as t,cL as Ce,g as Pe,C as d,aV as ke,d as Fe,F as ve,d1 as je,aQ as Te,a3 as Ve,o as ze,p as a,s as Ee}from"./index-C2JVdK9x.js";import{b as f,n as S}from"./vendor-CnQcJ2Lu.js";import{F as De}from"./HelpButton-Cv7-d_qL-CciztHgu.js";import{K as Ie}from"./SetUpDefaultSection-Jl4dtzx3-CDDnDgUz.js";import{f as Oe}from"./SpendMgmtSetupAccountSection-Cswh297O-5u1iK010.js";import{g as Ue}from"./UploadAdditionalDocumentOverlay-B_DFEIlC-D-vyB1J1.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-B3sIZU3d-DuEMLObz.js";import"./ChargeCardUtils-BB7l65Bf-DfL6sW6K.js";import"./CreditCardPaymentPlgSection-BwqznNRc-DXBqgi-A.js";import"./ChaseOverlay-hsrWeA5X-B3bQwtbG.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:W,spendManagement:Be}=xe.getLocalizedStrings(),{zeniAccounts:_}=Be,{zeniAccountSetUp:V}=_,{setUp:z}=W,st=({isDisabled:e,meetingUrl:F,zeniAccountSetUpView:p,analytics:l,connectedAccountProvider:s,filesEndPoint:H,authParams:q,accountsPromoConfig:M,onFetchLinkTokenClick:Z,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:E,isRefreshingViewInBackground:le,updateStatus:r,accountUpdateStatus:re,plaidConnectionDetails:ue,allBankAccounts:de,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:D}=p,I=U(g),x=U(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,P)=>{const n=P[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&&I==="In-Progress"&&g==="Completed"&&h(!1)},[o,g,I]),f.useEffect(()=>{const y=v.watch((P,{name:n})=>{n!=null&&P!=null&&Ae(()=>fe(n,P))});return()=>{y.unsubscribe()}}),f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const C=pe?.isZeniAccountEnabled===!0,j=E?.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?W.setUp.setupVerifiedSubTitle:V.setupSubTitle,O=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(Ce,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Ue,{authParams:q,filesEndPoint:H,updateStatus:r,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(ke,{title:V.setupTitle,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx(We,{windowSize:i,children:ge}),he?t.jsx(_e,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...v,children:t.jsx("form",{id:R(B),onSubmit:me,children:t.jsxs(He,{windowSize:i,children:[t.jsx(Ie,{onClick:ye,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},status:E?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Oe,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:de,sectionId:k,isDisabled:e,header:_.accountSectionHeader,onFetchLinkTokenClick:Z,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},analytics:l,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:D,pageName:"Zeni Account Setup",accountsPromoConfig:M})]})})})]}),j&&!C?t.jsx(Ve,{formId:R(B),primaryBtn:{label:V.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 ${ze.sp3}`}}):null,t.jsx(De,{isFooterRendered:j&&!C,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{u as Se,X as we,a1 as U,a as be,c6 as Ae,M as xe,a7 as $,j as t,cL as Ce,g as Pe,C as d,aV as ke,d as Fe,F as ve,d1 as je,aQ as Te,a3 as Ve,o as ze,p as a,s as Ee}from"./index-BQuxwdpl.js";import{b as f,n as S}from"./vendor-CnQcJ2Lu.js";import{F as De}from"./HelpButton-Cv7-d_qL-CUvPOpAv.js";import{K as Ie}from"./SetUpDefaultSection-Jl4dtzx3-C3-EmpC_.js";import{f as Oe}from"./SpendMgmtSetupAccountSection-Cswh297O-ClH8d_8B.js";import{g as Ue}from"./UploadAdditionalDocumentOverlay-B_DFEIlC-CURAudK_.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-B3sIZU3d-DQNFWJ_9.js";import"./ChargeCardUtils-BB7l65Bf-CPLK84z2.js";import"./CreditCardPaymentPlgSection-BwqznNRc-Bkwvl_Pm.js";import"./ChaseOverlay-hsrWeA5X-Dcp3XMSx.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:W,spendManagement:Be}=xe.getLocalizedStrings(),{zeniAccounts:_}=Be,{zeniAccountSetUp:V}=_,{setUp:z}=W,st=({isDisabled:e,meetingUrl:F,zeniAccountSetUpView:p,analytics:l,connectedAccountProvider:s,filesEndPoint:H,authParams:q,accountsPromoConfig:M,onFetchLinkTokenClick:Z,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:E,isRefreshingViewInBackground:le,updateStatus:r,accountUpdateStatus:re,plaidConnectionDetails:ue,allBankAccounts:de,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:D}=p,I=U(g),x=U(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,P)=>{const n=P[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&&I==="In-Progress"&&g==="Completed"&&h(!1)},[o,g,I]),f.useEffect(()=>{const y=v.watch((P,{name:n})=>{n!=null&&P!=null&&Ae(()=>fe(n,P))});return()=>{y.unsubscribe()}}),f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const C=pe?.isZeniAccountEnabled===!0,j=E?.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?W.setUp.setupVerifiedSubTitle:V.setupSubTitle,O=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(Ce,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Ue,{authParams:q,filesEndPoint:H,updateStatus:r,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(ke,{title:V.setupTitle,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx(We,{windowSize:i,children:ge}),he?t.jsx(_e,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...v,children:t.jsx("form",{id:R(B),onSubmit:me,children:t.jsxs(He,{windowSize:i,children:[t.jsx(Ie,{onClick:ye,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},status:E?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Oe,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:de,sectionId:k,isDisabled:e,header:_.accountSectionHeader,onFetchLinkTokenClick:Z,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},analytics:l,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:D,pageName:"Zeni Account Setup",accountsPromoConfig:M})]})})})]}),j&&!C?t.jsx(Ve,{formId:R(B),primaryBtn:{label:V.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 ${ze.sp3}`}}):null,t.jsx(De,{isFooterRendered:j&&!C,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{M as r,j as e}from"./index-C2JVdK9x.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{M as r,j as e}from"./index-BQuxwdpl.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,M as E,Y as L,o as i,g as j,v as M}from"./index-C2JVdK9x.js";import{b as $,n as m}from"./vendor-CnQcJ2Lu.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}=Y(t);A(t),b(r),k(u)},D=e=>`${v(e)}${S.transferDrawer.calculator.sliderTooltipText}`,v=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],Y=e=>{const t=v(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}=Y(e);A(e),k(r),b(t)},C=$.useCallback((e,t,r,u)=>{let a=0,s=0,P=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,P=e-r[d],y=P/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),C(e,c,n,p)},[x,w,k,c,p,b,n,C]),g.jsxs(B,{sliderValue:l,children:[g.jsx(V,{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(G,{sliderValue:l,style:{left:`calc(${l/(c.length-1)*100}% - ${l*10+20}px)`},children:D(l)}),g.jsx(K,{children:n.map((e,t)=>g.jsx(N,{onClick:()=>T(t),"data-testid":L("slider-label",e.toString()),style:{left:F(t)},children:g.jsx(X,{isSelected:l>=t,children:I(e)})},t))})]})}const f=(o,x)=>{const p=x/100,w=o*Math.pow(1+p/12,12);return Math.floor(w-o)},F=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%"}},I=o=>o===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(o)}`:o===5e6?S.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(o),V=m.input`
1
+ import{j as g,M as E,Y as L,o as i,g as j,v as M}from"./index-BQuxwdpl.js";import{b as $,n as m}from"./vendor-CnQcJ2Lu.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}=Y(t);A(t),b(r),k(u)},D=e=>`${v(e)}${S.transferDrawer.calculator.sliderTooltipText}`,v=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],Y=e=>{const t=v(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}=Y(e);A(e),k(r),b(t)},C=$.useCallback((e,t,r,u)=>{let a=0,s=0,P=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,P=e-r[d],y=P/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),C(e,c,n,p)},[x,w,k,c,p,b,n,C]),g.jsxs(B,{sliderValue:l,children:[g.jsx(V,{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(G,{sliderValue:l,style:{left:`calc(${l/(c.length-1)*100}% - ${l*10+20}px)`},children:D(l)}),g.jsx(K,{children:n.map((e,t)=>g.jsx(N,{onClick:()=>T(t),"data-testid":L("slider-label",e.toString()),style:{left:F(t)},children:g.jsx(X,{isSelected:l>=t,children:I(e)})},t))})]})}const f=(o,x)=>{const p=x/100,w=o*Math.pow(1+p/12,12);return Math.floor(w-o)},F=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%"}},I=o=>o===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(o)}`:o===5e6?S.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(o),V=m.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1 +1 @@
1
- import{kf as o}from"./index-C2JVdK9x.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{kf as o}from"./index-BQuxwdpl.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{M as o,l as s}from"./index-C2JVdK9x.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{M as o,l as s}from"./index-BQuxwdpl.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{_ as i}from"./index-C2JVdK9x.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{_ as i}from"./index-BQuxwdpl.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{C as t}from"./index-C2JVdK9x.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{C as t}from"./index-BQuxwdpl.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{X as x,j as r,m as g,bh as M,o as n,aM as v,b4 as f,C as h,s as P,M as S,p as c}from"./index-C2JVdK9x.js";import{b,n as s,j}from"./vendor-CnQcJ2Lu.js";import{Q as D}from"./CollapsableReportTable-C73RBmaZ-A1Br721z.js";const p={tooltipLeftPosition:new h(c[0],-156),tooltipTopPosition:new h(c[3],c[4]),tooltipWidth:new h(300,350)},u=j`
1
+ import{X as x,j as r,m as g,bh as M,o as n,aM as v,b4 as f,C as h,s as P,M as S,p as c}from"./index-BQuxwdpl.js";import{b,n as s,j}from"./vendor-CnQcJ2Lu.js";import{Q as D}from"./CollapsableReportTable-C73RBmaZ-D428uVrP.js";const p={tooltipLeftPosition:new h(c[0],-156),tooltipTopPosition:new h(c[3],c[4]),tooltipWidth:new h(300,350)},u=j`
2
2
  position: relative;
3
3
  `,z=s.div`
4
4
  color: ${e=>e.theme.colors.primary};
@@ -1 +1 @@
1
- import{bH as l,bI as f,bJ as d}from"./index-C2JVdK9x.js";async function w(e,o,s,t,r=!1){t?.(!0);try{const a=await l({urlEndPoint:e,authParams:s,fileType:"pdf"});if(a.ok){const i=f(a.headers,o),n=await a.arrayBuffer();d(n,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{bH as l,bI as f,bJ as d}from"./index-BQuxwdpl.js";async function w(e,o,s,t,r=!1){t?.(!0);try{const a=await l({urlEndPoint:e,authParams:s,fileType:"pdf"});if(a.ok){const i=f(a.headers,o),n=await a.arrayBuffer();d(n,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};