@zeniai/web-cockpit-ui 1.14.67-qa → 1.14.68-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/dist/assets/{ACHDetailsPage-B3MRYG7O-B7t1LWBD.js → ACHDetailsPage-CMgJ1cGK-DvE4dyD3.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-ByLk7bRL-BUIANK_5.js → AIPerformancePage-RHA80n5c-CG5ZlPVX.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-CH881ucN-CWMeX4zA.js → AccountInfoPage-Bc9_Gwe0-DSt5dX0v.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-C-yeV-YN-pfTO0G6B.js → AccountInfoPageContent-D9p4wiMM-BHYWfKwE.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-CQspLG36-BK7PHBYG.js → AccountLockedInfoModal-B4ZZXnWs-BA2VyS6K.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Bw0R1HT--UdAYATPQ.js → AccountReconDetailsDrawerPage-DhH6Wuc9-BWOjL5iD.js} +1 -1
  7. package/dist/assets/{AccountRow-CTNE4Tss-CRKFajbJ.js → AccountRow-BKbPbhBv-Dvg1JlaL.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-B2-W28Ow-Dg2jchYJ.js → AccountsPromoCardStack-DkrHu9Zr-7G8ZQBXB.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CBcxUuUC-zo0rT_Ob.js → AddAddressForCardDrawer-DQEeiq5T-D94YezPj.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BWkSNjgD-DyKeCR58.js → AddToWalletPage-BypNXFHM-DAFm4mUF.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-C7XlVJxm-BjvVXWw4.js → AgingReportsPage-DJMmT7Xn-DxVMgvLa.js} +1 -1
  12. package/dist/assets/{AllUserItems-oIUDu9Hy-C2c0-Unx.js → AllUserItems-DWOtJQrH-cHCbvt9M.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-Qmh-Dv3X-CY64Spgc.js → ApAgingDetailPage-2m52Vsk0-0hMwa5um.js} +1 -1
  14. package/dist/assets/{AppBasePage-C8Pv9qkT-Ga9Pwu2G.js → AppBasePage-DBr8xmLH-B_SPGPtP.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-CHz5S2vI-DqRPyRRM.js → AppDrawerContent-B2cIpSc2-AxekPM8B.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-C9JsCNLO-NCs7C5qK.js → ApprovalRulesSettingsPage-j2VsqliU-DzQe5Lhs.js} +1 -1
  17. package/dist/assets/{ArAgingChart-f3SbRki9-qStYCNyh.js → ArAgingChart-CPs_hBl5-C9-CWwCv.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-CTMtTeBR-BoOxEiPV.js → ArAgingDetailPage-B32Ax8qO-CS7leoAb.js} +1 -1
  19. package/dist/assets/{AttachmentView-CZ6HLMlg-B490lT6k.js → AttachmentView-Ck8fKhU--B5cWgA4i.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DMa6vU71-8lFdYQF_.js → BankAccountSection-6x7gLafC-DfFr7yFv.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CqTSk_2C-aSAVNh2L.js → BankAccountWarningSection-CVPx-LJA-BK70plvl.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-C2tLBkdJ-Dw5K8VdD.js → BankConnectionsSettingsPage-CBVBOobW-E6-u_B-L.js} +1 -1
  23. package/dist/assets/{BillDetailPage-pfZBbg1r-BSC9r9Yt.js → BillDetailPage-CZ4xtsXl-BzmSI5dk.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-cQnt1TBQ-AqXdImxB.js → BillPayApprovalRuleDetailPage-DM104sdv-DKIJyKp_.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CLpGsVKi-DQB2pwkc.js → BillPayApprovalRulesPage-BkH2fZoE-D21D82vU.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-BYQEO1xh-YaBpYagz.js → BillPayPromoPage-CdXJx47q-BCA1e3os.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-BS70_HuX-CixLd1_x.js → BillPaySetUpPage-BH9OG18h-CxmyqItp.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-ChtvIWW_-DPmL9mzj.js → BillingSettingsPage-V2clNBp1-Clfxdn5L.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-BeMaaqpS-B-xQ-PY8.js → BillsBulkReviewDrawerPage-DDYnb1qu-9wc5io28.js} +1 -1
  30. package/dist/assets/{BoxItem-i1_Whvbs-Coc5rPJr.js → BoxItem-D1raF0Bb-BQ4qZrGw.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-DJ0qBDiF-ChxrxRig.js → BusinessVerificationPage-oDBXfR2b-WSpHeJmw.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-CU5rFHAb-W7E8_WNh.js → CardNumberSubText-DIzhO62e-wtFD9j1L.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-Dhzwqgty-ChKAFTu1.js → CashbackDetailPage-FA_LJDen-CqlW84Xh.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-CN1cFTtP-CwrXl2qp.js → ChargeCardDetailPage-DQZk45ty-D7oB5q5_.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-FZDjtNdh-CTYeC9PJ.js → ChargeCardListPage-VoDFataV-Dk3YOBQl.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-DfWqZ2zc-BEiEfu9E.js → ChargeCardListTable-6S5R0MEF-CNIXp4KJ.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-CXQ00gUz-CuA13-9g.js → ChargeCardPromoPage-CRe-562K-DXQc_7l7.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-5-47MrwS-BMDQ88dK.js → ChargeCardSetupPage-CGRfP0Mr-Cr0xmzwa.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-DlhV6rXM-DwtVqWoh.js → ChargeCardStatementsPage-BkcDt0NN-DYSsmoFD.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-DwrchU8w-rfEpjdHS.js → ChargeCardUtils-Rb7oaOW_-d4fs5S75.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-Yi_R09xG-D-5pbKeF.js → ChaseOverlay-BU6mQm8r-CttX-8es.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-B0TD1myX-J8i1thUq.js → CheckDepositDrawerPage-ZDT9NLSR-CwGwpdhL.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-zWMH2vIR-C22nQkwG.js → CollapsableReportTable-BiTfvads-DGZbCVGC.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-BXU8YDaR-CjIP3fYD.js → CompanyOfficerDetailsSection-BLHPb4Kw-C4r0ctAA.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-DohGHFRG-DZKQLoCJ.js → CompanyPassportCard-C-JE0Sme-CKYNxh60.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-D68YD2i4-DrDwA-EY.js → CompanyPassportPage-6TWctrIO-nUfMjZ-F.js} +1 -1
  47. package/dist/assets/{CompleteProfile-CapeQwIz-DiLGOUb9.js → CompleteProfile-C4tYRyUp-CFgqyQo6.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-Cwmz88Dx-DzbW97Eo.js → ConfettiBurst-VH11V5gf-BTNKAUt2.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-BFKyvGSD-Ti0Mcnpv.js → CreateOrEditVendorPage-CrVk03Va-CT1egSYX.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-3OOMyGxK-DHP6VTU5.js → CreditCardPaymentDrawerPage-7Ot4RKHT-DlFI1zLq.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-B_dwX8WO-CbDsLJRc.js → CreditCardPaymentPlgSection-DRAYmlBe-BG5WzWK1.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-Cc7VZ0zc-DX1RPqfP.js → CurrencySelectField-Dx5oODVS-DsU2RMPj.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-DUdbWdvR-C8tcUTrq.js → CustomerOnboardingActivationPage-BVyt3npx-C6Pqv3rR.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-D8PRZARC-ijyZPnwq.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DWjl7yrv-_5wRcXML.js → CustomerOnboardingDetailPageSkeleton-D5j0brjB-BXxnb6B4.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-Bb-S05FB-B2EtfkL_.js → CustomerOnboardingNoStepsPage-T_yn9Ayl-jI4GjWKV.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-BqRpUo3o-Whj2fxGl.js → CustomerOnboardingPage-B93IuVlm-Bg6VHUbL.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-Bn_Iwd9N-BkCYh9MB.js → CustomerOnboardingProductSuitePage-D7QT4FZr-BfWKHbMb.js} +1 -1
  59. package/dist/assets/{Dashboard-ahtVxl05-Lpa-qDe3.js → Dashboard-DfZk4OOm-Daizwkbi.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-UkrX4vIf-BeLyw4i2.js → DashboardReportPage-Db_YbCM7-D2iQi9oL.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-CB9orLpr-DMsVLHOR.js → DashboardSidebarBackgroundAnimation-BiJt5vqz-BQhusBjx.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-CNf7CHUT-CsIGmFh1.js → DepositAccTransactionItem-BEUsQEp1-D1GMXuRx.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-bVxE-cgF-BZQAVu_w.js → DepositAccTransactionListPage-sLO10QfC-GJOP8-Zl.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-CJnEtp5K-DPibwW35.js → DomesticWireDetailsPage-I5F9LWGB-BmpAh5gH.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-8wBIc5lL-BcsiviHd.js → DownloadOverlay-YH6m6XQU-Cx2sd3XE.js} +1 -1
  66. package/dist/assets/{DrawerPage-AukSslCE-BCUN3BvD.js → DrawerPage-CihI8QEj-Iswy3v3a.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-C5IQY5wt-B1OKubyh.js → EditPeoplePage-CbeK4UaS-B_RUNo2p.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-SR0uyRt1-ffWNcrRB.js → EditReimbursementDetailPage-C-CnZ_t5-D3lw1f1R.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-DOhakqPm-DK6Ztzob.js → EntityDetailPage-CDQnVOQV-CR6mJntz.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-CjH6bwx9-tOgkcODx.js → EntitySummarySection-B-tapT4f-TQwdzZkw.js} +1 -1
  71. package/dist/assets/ExpenseAutomationOverviewPage-DMUgRsBS-B9eST0_M.js +281 -0
  72. package/dist/assets/{ExpenseAutomationPage-BYWFEssP-D4zr05Dl.js → ExpenseAutomationPage-B8RlasfH-B31-xcCD.js} +2 -2
  73. package/dist/assets/{ExpressPayPage-C2CdcS2q-DlWB2g3N.js → ExpressPayPage--7td4Tic-Bd85iI36.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-BDKOkYU7-BoVYVYDG.js → FeaturePreviewPage-njh-UfiA-JD7qnteJ.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-DlIC6oJU-DrUbAfgn.js → FollowStepsSection-CrDjC1rw-5m0nt8q0.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-CGuksEmC-BPpU8aco.js → GlobalReviewListPage-DoiCdkZa-vFmWLDpe.js} +1 -1
  77. package/dist/assets/{HelpButton-BY3Ymwq7-DCzAJuNO.js → HelpButton-B4oEkhlX-DiN0FZzX.js} +1 -1
  78. package/dist/assets/{InformationCardStack-BMdbEkfR-CCAePBQH.js → InformationCardStack-CGfX85vD-sk26uM04.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-CkLV264k-BnxMhtgq.js → InsightsCardStack-B3iYMmmp-DB0Pxba9.js} +1 -1
  80. package/dist/assets/{InsightsSection-CR-kPvnj-B41E7xie.js → InsightsSection-BuY7NDTY-xxIMuImU.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-D3R03fGU-CfEvTYuW.js → IntegrationsSettingsPage-BgJRrHaz-CNKk0bHJ.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-8WfR9slT-CzVW-xiA.js → InternationalWireSwiftDetailsPage-CgNM0g0m-CHDxQMtp.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage-DMiuLUlB-DhpJhfiK.js → InternationalWireVerificationPage-XXJnf58G-CEcqAYu0.js} +1 -1
  84. package/dist/assets/{InviteFormPage-B6cxtPk--jtJKxo6s.js → InviteFormPage-pO1pxwjB-BwaWlosr.js} +1 -1
  85. package/dist/assets/{InvitePageListView-dkMy2z5--D9l5Nhps.js → InvitePageListView-zHrJmtwL-DCkyQB-Q.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-ayyL83Zy-CR1KoJcV.js → InvitePeoplePage-BjFXlgAf-DrxmwUbY.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-BpIHhDSm-BqNUk3zs.js → InvoiceUploadSection-DXkK4aYY-CjfhGZLS.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-BVyuOZQS-BuUfdX1N.js → IssueChargeCardPage-BW7JrdRK-DJX15h7z.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-BcRiL0qG-Dlly21MO.js → LabeledAddressValue-Cg2Tq3Gt-PmS2S87l.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-_3232w63-O3TCiy_m.js → LabeledAddressValueField-CkvZpsW_-BgITszim.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-BklmcaDu-kQN7jea_.js → LabeledControlledCheckBoxField-CpFAWsn--BIBIaVtJ.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-DAw3PzRB-BZoToE-U.js → LabeledCreatableSingleSelectField-DNWRY7Ey-x8ff0KGS.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-CJsB2pbM-WcbIJAUK.js → LabeledDocumentField-m1_WB5Gt-OX3WpFvE.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-CaInnQPt-DCEyrF46.js → LabeledDropDownFormattedTextField-7XrwzS1l-C2if2Gx3.js} +1 -1
  95. package/dist/assets/{LabeledText-DI154Uwg-CcdFgCVF.js → LabeledText-DdKqgFoU-Zj0UXGBI.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-ZH0-Q1Pd-BFKto1MD.js → LabeledUserSingleSelectWithSubtitlesField-COlqdUo_-n4PTYfeV.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-DiOhi2zF-HyQktFgo.js → LabeledZeniRolesDropDownField-C7JIbbpV-C7IjaWN4.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-BnjQF3RS-DeUTOjBB.js → LinkJETransactionPage-D1qRHbaA-BcCcbITr.js} +1 -1
  99. package/dist/assets/{LockCardPage-DKV-hT_y-D435M9Su.js → LockCardPage-CFlvOVsw-Cwyp_QP3.js} +1 -1
  100. package/dist/assets/{LowBalancePopup-D02ZsO-u-kYJ1Pe1o.js → LowBalancePopup-BXPrjrWM-DGkHBjkh.js} +1 -1
  101. package/dist/assets/{MagicLinkACHDetailsPage-DCA7Bsmf-BRRKQI7d.js → MagicLinkACHDetailsPage-b5gWcTs9-CooYGShp.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BqyXqpus-BPorgKv6.js → MagicLinkDomesticWireDetailsPage-DunZNVc1-Dl-pCVDN.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-SO9CfgsA-BivZXBIH.js → MagicLinkInternationalWireDetailsPage-BewhG2Y--vMtR9NDc.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-BJeY48z_-Dha2_ZaJ.js → MagicLinkSuccessPage-DM1KJn6n-ChhLFOPl.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-CeaDLMlx-DNektGaM.js → MagicLinkTitleSection-CymRElk--jScovfXE.js} +1 -1
  106. package/dist/assets/{MailingDetailsSection-C1cnBO3h-L7u76QW9.js → MailingDetailsSection-BOu2MkGP-C7zHzgDI.js} +1 -1
  107. package/dist/assets/{MeetingCalenderPopup-Bh-VTzSP-xiAxSq1x.js → MeetingCalenderPopup-CNVAnAtx-B8wbqPcJ.js} +1 -1
  108. package/dist/assets/{Menu-Br77QlAp-C8sfPd4I.js → Menu-Cu6MQ0Mp-CViA14mm.js} +1 -1
  109. package/dist/assets/{MyBankConnectionsSettingsPage-Ap91ms0N-BuM6w_tw.js → MyBankConnectionsSettingsPage-IhOwVqKo-m-pFuT-G.js} +1 -1
  110. package/dist/assets/{MyPendingActivationChargeCardListPage-a0yE_EpI-Chyq6Wbn.js → MyPendingActivationChargeCardListPage-D7EOGf4a-Cpzipa85.js} +1 -1
  111. package/dist/assets/{MyProfileSettingsPage-WMrBFKSQ-DuGrwJEJ.js → MyProfileSettingsPage-bCV-I8Ji-CKEkJTrJ.js} +1 -1
  112. package/dist/assets/{NavBarWithPicker-BAWR5XvY-B7NG-B6x.js → NavBarWithPicker-CpvxN2Hn-BMZvsfvi.js} +1 -1
  113. package/dist/assets/{NavigationArrow-D79XVJvq-Bfcst1a0.js → NavigationArrow-DJ3GkCuv-BIHV3mTH.js} +1 -1
  114. package/dist/assets/{NavigationDots-DHkA0dj3-mmZt_Uzm.js → NavigationDots-COeMhprl-BHsPcORJ.js} +1 -1
  115. package/dist/assets/{NewGlobalMerchantPage-Bfioqua_-Bw5hz6Li.js → NewGlobalMerchantPage-B0KaR3M3-CFQRHMZr.js} +1 -1
  116. package/dist/assets/{NoDataChart-gu-_4U1R-BXpb0aAl.js → NoDataChart-BqHCJbkE-DNDwIJeS.js} +1 -1
  117. package/dist/assets/{NoDataTable-Chs82RP6-C44RugCE.js → NoDataTable-CLpVffwh-COJyqTzU.js} +1 -1
  118. package/dist/assets/{NotFoundPage-DOjJLgnk-DpyqMB16.js → NotFoundPage-D0Owpo17-DI1zFed6.js} +1 -1
  119. package/dist/assets/{NotificationSettingsPage-C3w3Bzgx-Dd5XzxpG.js → NotificationSettingsPage-XnGjNZTH-eqcQFoGS.js} +1 -1
  120. package/dist/assets/{NotificationsListConfig-BeXvj9Mw-DgI2WDbS.js → NotificationsListConfig-DCB_vMvp-Ck0I72cV.js} +1 -1
  121. package/dist/assets/{NotificationsPage-DiDztamo-WwV5Or_v.js → NotificationsPage-DTky0NXR-DICM88Ru.js} +1 -1
  122. package/dist/assets/{OpExByVendorPage-CRjkPJS8-DId30Ur_.js → OpExByVendorPage-Dqpt3_-D-Cc-OYYOr.js} +1 -1
  123. package/dist/assets/{OverlayContainerPage-CU1AAMcq-BShggEAf.js → OverlayContainerPage-CU1AAMcq-ByCn9AWh.js} +1 -1
  124. package/dist/assets/{PandLWithForecastPage-ByknD0gW-IGglOoPU.js → PandLWithForecastPage-DtfmkqVV-Ztd4T5fF.js} +1 -1
  125. package/dist/assets/{PaymentAccountSetupBillingAddressSection-tL7XJ7DM-C7TAJ7ae.js → PaymentAccountSetupBillingAddressSection-BvcrD1e7-D-XfZs73.js} +1 -1
  126. package/dist/assets/{PeoplePage-EiZHvmVY-DE-Zb9JA.js → PeoplePage-CWHu0Sq9-BwJgCh_z.js} +1 -1
  127. package/dist/assets/{PortfolioAllocationFormPage-CKjc0QtM-C3Maa9sc.js → PortfolioAllocationFormPage-BegnBtWP-DHRCO0G2.js} +1 -1
  128. package/dist/assets/{PortfolioDetails-9g-2bZ7_-B3nM8h3T.js → PortfolioDetails-C4QFrCtd-DGLpyQbF.js} +1 -1
  129. package/dist/assets/{ProductsCarousel-C5VZxn-U-Cz8vVScX.js → ProductsCarousel-vY6fb_eY-DYYAx0lQ.js} +1 -1
  130. package/dist/assets/{PromoBaseCards-DpLAAMn3-DcWHIum-.js → PromoBaseCards-C9tkV0u3-iFoGwlzp.js} +1 -1
  131. package/dist/assets/{QBOConnectionDialog-MuhlhaDK-T_ygV9r9.js → QBOConnectionDialog-DGgIZaZo-Dt4A8Nio.js} +1 -1
  132. package/dist/assets/{QBOSetupSection-BXzQkbN_-DJwvucVp.js → QBOSetupSection-Bzn_0eHF-nnqVfVf9.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CiWLeNGv-BpTw0AdX.js → ReimbursementApprovalRuleDetailPage-YG-ZmSOq-CbfFbwTr.js} +1 -1
  134. package/dist/assets/{ReimbursementApprovalRulesPage-DpTfzsJj-C9HQIGaT.js → ReimbursementApprovalRulesPage-BHLjY5jH-BLph2DN0.js} +1 -1
  135. package/dist/assets/{ReimbursementDetailPage-DmiM1S0p-DB6BDA9n.js → ReimbursementDetailPage-BWH9h8Ql-CVKxQw1E.js} +1 -1
  136. package/dist/assets/{ReimbursementPromoPage-DDskL1Cg-CorVMinX.js → ReimbursementPromoPage-hg4-K7R2-DTPj26Em.js} +1 -1
  137. package/dist/assets/{ReimbursementSetUpPage-aGtxNqA2-CygYhlr6.js → ReimbursementSetUpPage-DEOEKkRD-Cl7ZSDpF.js} +1 -1
  138. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BsEEDkzr-Omfqswjk.js → ReimbursementsBulkReviewDrawerPage-KQYb9ZYP-IDXXNEcn.js} +1 -1
  139. package/dist/assets/{ReloadCard-BUY63G2x-CAnQVWa2.js → ReloadCard-CpK3iKky-IxbQEQsz.js} +1 -1
  140. package/dist/assets/{ReportTableViewSelector-QiyxxiAv-DYDq9Dh_.js → ReportTableViewSelector-oEZJG-zS-doZe10k2.js} +1 -1
  141. package/dist/assets/{ReportsPage-CyjlbTY3-C-OSX7y3.js → ReportsPage-DNoDjph9-BdqaHLzB.js} +1 -1
  142. package/dist/assets/{RevenueChart-BEv2FSM3-C9YrGN1o.js → RevenueChart-BlGrs9ak-Bl2udpd4.js} +1 -1
  143. package/dist/assets/{ReviewDetailsPage-BJJpKuVh-DaMKhS39.js → ReviewDetailsPage-CkXJg8qx-DzIncbv1.js} +1 -1
  144. package/dist/assets/{ReviewOverlay-BW4w_HbW-BZArfYeZ.js → ReviewOverlay-CCY42ZWV-DcdwSm0u.js} +1 -1
  145. package/dist/assets/{RoleWithToolTip-DcDcU4iM-Da3e6NNo.js → RoleWithToolTip-DA-5sRXq-BkZCpotj.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CZQOJpBV-CRAyeQtR.js → ScheduleDetailsFixedAssetsPage-SJlqU94b-_UJNRcDq.js} +1 -1
  147. package/dist/assets/{ScheduleDetailsPage-CHuoVnZb-BHG9OtRj.js → ScheduleDetailsPage-CMHXURZB-rbTZPDbO.js} +1 -1
  148. package/dist/assets/{ScheduleSequenceTable-9ZlFlS4G-YJelXBTO.js → ScheduleSequenceTable-BNbnuQqL-BBqx-jw9.js} +1 -1
  149. package/dist/assets/{ScreenRoutes-Dlkxg7Uw.js → ScreenRoutes-B02XSFm8.js} +1 -1
  150. package/dist/assets/{SetUpAccountSection-Dt6HOtE0-Diaz_GhB.js → SetUpAccountSection-DWaLPi04-BwJOpM1g.js} +1 -1
  151. package/dist/assets/{SetUpDefaultSection-C944LR7Y-DmPt9yvH.js → SetUpDefaultSection-He_L-zlp-BKSpIPTj.js} +1 -1
  152. package/dist/assets/{SignIn-BgW9BTlN-Cs8bv74X.js → SignIn-DK_-VKvi-m8DB3WYN.js} +18 -18
  153. package/dist/assets/{SignInScreen-P9I1qyle.js → SignInScreen-BGkX5yWz.js} +1 -1
  154. package/dist/assets/{SpendManagementListViewPage-D99vUAok-D5TMBN5J.js → SpendManagementListViewPage-BQ4n_NDa-CiEm3Oy5.js} +3 -3
  155. package/dist/assets/{SpendManagementPerTabPage-BVp4Mi_3-BXU0V6Yx.js → SpendManagementPerTabPage-rr4-wmBx-CYhRm1T-.js} +1 -1
  156. package/dist/assets/{SpendManagementSection-BgiEVgoh-D610rqiy.js → SpendManagementSection-B2iLYwhO-CwRH1IuD.js} +1 -1
  157. package/dist/assets/{SpendMgmtSetupAccountSection-D7RNQvNU-zoSHCkGf.js → SpendMgmtSetupAccountSection-bwI5SMzd-BrpYl8cj.js} +1 -1
  158. package/dist/assets/{StatementItem-Btk7PnAh-CYEldI5P.js → StatementItem-Crb860tq-DQs1oo3F.js} +1 -1
  159. package/dist/assets/{StatementsPage-Cqf2d6IZ-D508cWZS.js → StatementsPage-DQxoheUL-DwzozzHj.js} +1 -1
  160. package/dist/assets/{StatusSwitcher-k1u49c8V-CS3rR8si.js → StatusSwitcher-CpSTk6fh-Dyjr7_XU.js} +1 -1
  161. package/dist/assets/{SubTabSwitcher-C9n0mkw2-BIOIUOhq.js → SubTabSwitcher-CvFfDi4R-C5peqFuG.js} +1 -1
  162. package/dist/assets/{SummaryCard-BzsE8HgQ-CY7xej-t.js → SummaryCard-DLrFJAYR-D-2jNhaZ.js} +1 -1
  163. package/dist/assets/{TaskManagementPage-DbxErPL_-Cn7L17ww.js → TaskManagementPage-gmghCTe0-Bn8pl_3Q.js} +1 -1
  164. package/dist/assets/{TimeRangeSwitcher-IlmBkt9N-jzXgPByR.js → TimeRangeSwitcher-pGymI1rn--y-tpwuD.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcher-C8yhmrny-Bo19k0fV.js → TimeframeSwitcher-BNWadFX9-Bu9pVoT_.js} +1 -1
  166. package/dist/assets/{TimeframeSwitcherWithToggle-Yag6iKnC-DlJi5rYu.js → TimeframeSwitcherWithToggle-Bl6jOrhs-2oUZuTWn.js} +1 -1
  167. package/dist/assets/{TopExCard-CKFuDAEh-D9uZ5Exc.js → TopExCard-BR2WZqdU-b3E8O-s_.js} +1 -1
  168. package/dist/assets/{TopExDetailPage-yofOz9fv-DSYGQHLH.js → TopExDetailPage-DclP8tyI-Dymyy75G.js} +1 -1
  169. package/dist/assets/{TransactionDetailPage-VWE8ybri-D-1ubiKL.js → TransactionDetailPage-CRdTaUm_-BDQgTxrs.js} +1 -1
  170. package/dist/assets/{TransactionList-CBlM8Agr-CcsKnlKb.js → TransactionList-CPVAoxeJ-CM-aQqoz.js} +1 -1
  171. package/dist/assets/{TransactionListBig-D7tvHCmm-BlscpzXh.js → TransactionListBig-BBj0CyKr-DHyI3QPN.js} +1 -1
  172. package/dist/assets/{TransactionListPage-B1C1YfFW-xRHZete0.js → TransactionListPage-BV5zYdaJ-CV1vxjjY.js} +1 -1
  173. package/dist/assets/{TransactionVendorDetailPage-CY-BzT4W-DElXVgog.js → TransactionVendorDetailPage-DsO_7w9f-Dh73Dy-E.js} +1 -1
  174. package/dist/assets/{TransferDrawerPage-DMhsu2Ez-pcOm9HFa.js → TransferDrawerPage-Dyb8vOaI-DUPC7UTq.js} +1 -1
  175. package/dist/assets/{TreasuryOverviewPage-BdABAdF5-CyHK7PSZ.js → TreasuryOverviewPage-DWK-wAnQ-CZ_ZaTD6.js} +1 -1
  176. package/dist/assets/{TreasuryPromoPage-BycMsheg-DQzQgI5k.js → TreasuryPromoPage-n2b9dFkR-Bzovr4PU.js} +1 -1
  177. package/dist/assets/{TreasurySetupPage-DdCKylj9-BJ8mRSJ2.js → TreasurySetupPage-DbcesrJc-BaYPZ79R.js} +1 -1
  178. package/dist/assets/{TreasuryStatementsPage-BvoM-QPO-GRsmYEtV.js → TreasuryStatementsPage-D66FOMsz-CmLZ2hKU.js} +1 -1
  179. package/dist/assets/{TreasuryTaxLetterPage-ia-dRgNb-9PURu_eA.js → TreasuryTaxLetterPage-idn6oRse-DewfGtVf.js} +1 -1
  180. package/dist/assets/{TreasuryTransferOrReviewPage-BBmOKWs3-LQw59gmh.js → TreasuryTransferOrReviewPage-D-5wLfD4-CMZ7eL51.js} +1 -1
  181. package/dist/assets/{TrendChart-BvUgR7NR-Dds38jx_.js → TrendChart-DqWZYuvO-D_YQdCrg.js} +1 -1
  182. package/dist/assets/{TrendWithTransactions-CzH_CezC-QSK7oFkg.js → TrendWithTransactions-Dqn9bFON-DGnKntb1.js} +1 -1
  183. package/dist/assets/{UncategorizedAccountsMappingPage-BnzXqGM2-DNtZttrz.js → UncategorizedAccountsMappingPage-CI7PS9WF-BnHlJSL3.js} +1 -1
  184. package/dist/assets/{UnitIntegrationPage-5hPuDT-S-sxZ-hNE9.js → UnitIntegrationPage-byKcxHJ5-DChVg5mK.js} +1 -1
  185. package/dist/assets/{UploadAdditionalDocumentOverlay-Djewfdeg-Cvuq7XZG.js → UploadAdditionalDocumentOverlay-CQJ8BiZt-DRyn5f3-.js} +1 -1
  186. package/dist/assets/{Vendor2FAPopup-B5OkuijD-VLDGOa6x.js → Vendor2FAPopup-Bz2N_Z_B-CV0aEyqI.js} +1 -1
  187. package/dist/assets/{VendorACHDetailsPage-D6EQzAtO-C_IfOA4e.js → VendorACHDetailsPage-sjTazeaT-BEQ33S1y.js} +1 -1
  188. package/dist/assets/{VendorDetailPage-BQO3DDuH-CPNZ4qkT.js → VendorDetailPage-CYI0vhlZ-DgGeSh2H.js} +1 -1
  189. package/dist/assets/{VendorDomesticWireDetailsPage-D3WxsT-q-BcD9InxO.js → VendorDomesticWireDetailsPage-DXtZZKJX-D29KtJGJ.js} +1 -1
  190. package/dist/assets/{VendorFiling1099EditablePage-CgkHu1IC-zko3AnRh.js → VendorFiling1099EditablePage-BQqzBWiK-4huR_joa.js} +1 -1
  191. package/dist/assets/{VendorFirstReviewPage--u5ke09D-Ba2Wafmz.js → VendorFirstReviewPage-BydF-zx0-Ds-OQSQK.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireDetailsPage-dkHrnsSV-ByBD6NHe.js → VendorInternationalWireDetailsPage-CZ3FWng6-Bwx6NEoF.js} +1 -1
  193. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C7gOd27m-B2IxWRgs.js → VendorInternationalWireSwiftDetailsPage-BtiNotg--D_rPoihE.js} +1 -1
  194. package/dist/assets/{VendorsAccountsSection-BeWKBguu-DGCqE_zT.js → VendorsAccountsSection-CQQcqnp7-BLMoserV.js} +1 -1
  195. package/dist/assets/{VerifyDevice-DyNInj6s-Dv02GWQC.js → VerifyDevice-CNlq40ss-hsip325s.js} +1 -1
  196. package/dist/assets/{VideoPlayer-BDT7Wxrv-B9yrG6S9.js → VideoPlayer-ClKEd_qa-CKLw3kO6.js} +1 -1
  197. package/dist/assets/{VideoPopup-DSGUlfzg-Brx1B17J.js → VideoPopup-DEWbEJ75-NGuCGxkN.js} +1 -1
  198. package/dist/assets/{WarningsDrawerPage-yfZ6-vxe-O4QMV9_7.js → WarningsDrawerPage-CByprh_g--bl-9l23.js} +1 -1
  199. package/dist/assets/{ZeniAccountDetailPage-DTf57PZf-BgeGge9w.js → ZeniAccountDetailPage-4TQgTid5-ZbzSb7zq.js} +1 -1
  200. package/dist/assets/{ZeniAccountListViewPage-OLK3W7iK-BNfNVMOO.js → ZeniAccountListViewPage-qD7VoeQ2-ra3nP0TH.js} +1 -1
  201. package/dist/assets/{ZeniAccountNavBarPieces-CdDZwzfE-D1v8vond.js → ZeniAccountNavBarPieces-J53UyPBo-C4rZGiWY.js} +1 -1
  202. package/dist/assets/{ZeniAccountPromoPage-LLR9YF1x-Br0aVBHN.js → ZeniAccountPromoPage-DvMlld08-CziAadpT.js} +1 -1
  203. package/dist/assets/{ZeniAccountSetupPage-BlOzo2P6-CAzyLNKe.js → ZeniAccountSetupPage-Ctj4wYK7-DmK2YWKk.js} +1 -1
  204. package/dist/assets/{ZeniCopyright-DJeoJMcb-BN1p0C5l.js → ZeniCopyright-Dowsov_B-drczQZ77.js} +1 -1
  205. package/dist/assets/{ZeniTransferAmountSlider-DeYuGxZX-CBbNUuRc.js → ZeniTransferAmountSlider-BbMEETxN-CkVTZ0_l.js} +1 -1
  206. package/dist/assets/{analyticsHelper-DssWu6hc.js → analyticsHelper-C5UfLPMm.js} +1 -1
  207. package/dist/assets/{analyticsHelper-CaGXOjR9-Clsb_rNM.js → analyticsHelper-Dtr9Pfx_-DQC5cywL.js} +1 -1
  208. package/dist/assets/{chartTypes-CultIwKc-Cq3_oBZW.js → chartTypes-BOtv_Qyt-DUqfch7p.js} +1 -1
  209. package/dist/assets/{commonDimensions-Bvh80Imh-jW8sAv4e.js → commonDimensions-BVYRkutP-DJ77KjRS.js} +1 -1
  210. package/dist/assets/{detailCommon-Cc3ubqjI-BLBLFUtf.js → detailCommon-BsIpYHeH-D56ZFPv9.js} +1 -1
  211. package/dist/assets/{downloadPdf-CKNipVJW-C7xRlSKq.js → downloadPdf-DQIFB4bS-BYGHS3hy.js} +1 -1
  212. package/dist/assets/{index-CzIBPZCT.js → index-Dx_6v6jJ.js} +200 -200
  213. package/dist/assets/{mapLoadingInProgressToTreeNode-CVc6dVXE-B7MrpV3T.js → mapLoadingInProgressToTreeNode-C5LYHc0Q-Dtx-IqT2.js} +1 -1
  214. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B66AL3K--C-sa1phe.js → mapSectionWithAcOnlyToTreeNode-BOm_ik4B-BjKrpqdg.js} +1 -1
  215. package/dist/assets/{mapSpacerToTreeNode-qh1Ancpy-DTDjrJtH.js → mapSpacerToTreeNode-DbgbUCkC-BMZIT_dX.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-Bo5MD3fO-owqKsJ3y.js → mapTimeframeBalancesToTreeNode-B_PesTPC-F-OdOXwT.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-CozdZtAx-BzwCOCHw.js → mapTimeframeBalancesToTreeNode-Cd_Q_CeL-DwIuc36Q.js} +1 -1
  218. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BiZYk8F8-D8FH7INd.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B1ZGUSLu-DtgXKGHH.js} +1 -1
  219. package/dist/assets/{toCOABalancesWithID-QJXJYQ9T-gEErCy0J.js → toCOABalancesWithID-CD6AMXij-VvTJfohU.js} +1 -1
  220. package/dist/assets/{toChartData-CN15R7RB-CS5Czivs.js → toChartData-B2D5ypu5-DgxwVZtD.js} +1 -1
  221. package/dist/assets/{treasuryColorHelper-DJ8dpJXH-Dn6jYgdD.js → treasuryColorHelper-Bg0esw6P-BrO6amDL.js} +1 -1
  222. package/dist/assets/{uploadAttachment-CpcDDNe_-D7MWDILa.js → uploadAttachment-Cjtei7R6-1iwtAM3Q.js} +1 -1
  223. package/dist/assets/{uploadReceipts-9DTOr0BG-iS8BE4_d.js → uploadReceipts-9DTOr0BG-DDXhnv1e.js} +1 -1
  224. package/dist/index.html +1 -1
  225. package/package.json +2 -2
  226. package/dist/assets/CustomerOnboardingContainerPage-BQe_y3eK-BXQqXJV_.js +0 -1
  227. package/dist/assets/ExpenseAutomationOverviewPage-DIhHFUx3-BNYcztNb.js +0 -281
@@ -1,4 +1,4 @@
1
- import{aa as U,fV as x,aP as _,l as k,q as A,O as W,j as i,cS as q,ad as Q,aM as G,fW as H,o as a,h as J,d0 as K,aQ as X,y,A as Y,_ as Z,b9 as ee,b8 as te,u as c}from"./index-CzIBPZCT.js";import{b as m,n as l}from"./vendor-Bs1fkIUX.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:$,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onSendForVerificationClick:D,onCompanyOfficerUpdated:z}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,S]=m.useState(!1),[N,O]=m.useState(!1),b=_(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),V=k.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=A(),h=W.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&D?.(t?.officerType??"Officer_1")}),M=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(z?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>M(d,p))});return()=>{o.unsubscribe()}}),i.jsx(Q,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":G("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:L})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(X,{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:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
1
+ import{aa as U,fV as x,aP as _,l as k,q as A,O as W,j as i,cS as q,ad as Q,aM as G,fW as H,o as a,h as J,d0 as K,aQ as X,y,A as Y,_ as Z,b9 as ee,b8 as te,u as c}from"./index-Dx_6v6jJ.js";import{b as m,n as l}from"./vendor-Bs1fkIUX.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:$,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onSendForVerificationClick:D,onCompanyOfficerUpdated:z}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,S]=m.useState(!1),[N,O]=m.useState(!1),b=_(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),V=k.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=A(),h=W.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&D?.(t?.officerType??"Officer_1")}),M=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(z?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>M(d,p))});return()=>{o.unsubscribe()}}),i.jsx(Q,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":G("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:L})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(X,{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:$},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{aP as o,O as E,j as i,hY as j,hZ as v}from"./index-CzIBPZCT.js";import{b as t}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const H=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:e,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=t.useState(!1),[O,a]=t.useState(e.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(e.userVerificationStatus.fetchState),f=o(e.otpVerificationStatus?.fetchState),u=o(e.sendOtpStatus.fetchState),P=E.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return t.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&a(!0)},[r,e,p]),t.useEffect(()=>{x==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[e.userVerificationStatus]),t.useEffect(()=>{f==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&c?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[f,e,c]),t.useEffect(()=>{u==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,e.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(j,{showHelperText:!n,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(v,{showHelperText:!n,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:y=>h?.(y)}}):null})};export{H as default};
1
+ import{aP as o,O as E,j as i,hY as j,hZ as v}from"./index-Dx_6v6jJ.js";import{b as t}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const H=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:e,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=t.useState(!1),[O,a]=t.useState(e.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(e.userVerificationStatus.fetchState),f=o(e.otpVerificationStatus?.fetchState),u=o(e.sendOtpStatus.fetchState),P=E.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return t.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&a(!0)},[r,e,p]),t.useEffect(()=>{x==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[e.userVerificationStatus]),t.useEffect(()=>{f==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&c?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[f,e,c]),t.useEffect(()=>{u==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,e.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(j,{showHelperText:!n,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(v,{showHelperText:!n,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:y=>h?.(y)}}):null})};export{H as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-CzIBPZCT.js";import{b as d}from"./vendor-Bs1fkIUX.js";import{f as k}from"./ACHDetailsPage-B3MRYG7O-B7t1LWBD.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountWarningSection-CqTSk_2C-aSAVNh2L.js";import"./MagicLinkTitleSection-CeaDLMlx-DNektGaM.js";import"./BankAccountSection-DMa6vU71-8lFdYQF_.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-Dx_6v6jJ.js";import{b as d}from"./vendor-Bs1fkIUX.js";import{f as k}from"./ACHDetailsPage-CMgJ1cGK-DvE4dyD3.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountWarningSection-CVPx-LJA-BK70plvl.js";import"./MagicLinkTitleSection-CymRElk--jScovfXE.js";import"./BankAccountSection-6x7gLafC-DfFr7yFv.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{O as _,c as Re,q as ne,y as g,aC as be,l as se,cU as xt,aa as yt,hc as Ae,hd as Be,he as Ee,hf as fe,hg as bt,aU as ft,cS as wt,j as t,bF as Ct,ad as $t,hh as St,hi as ue,u as l,cT as Dt,aQ as jt,o,b_ as S,d3 as Tt,gT as we,hj as Lt,cV as Vt,cW as kt,cX as Ot,hk as It,gn as Pt,d1 as Ft,hl as Mt,hm as zt,h as z,dL as _t,dK as Nt,df as Wt,aX as de,b6 as Ue,ai as qe,dM as Ht,a$ as Rt,hn as At,ho as Bt,am as Et,hp as Ut,cw as Ye,hq as qt,b as Ce,H as Xe}from"./index-CzIBPZCT.js";import{b as $,n as a,i as Yt}from"./vendor-Bs1fkIUX.js";import{k as Xt}from"./SubTabSwitcher-C9n0mkw2-BIOIUOhq.js";import{f as Gt}from"./TransactionList-CBlM8Agr-CcsKnlKb.js";import{R as Qt}from"./TrendWithTransactions-CzH_CezC-QSK7oFkg.js";import{o as Zt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{W as Jt}from"./LabeledAddressValueField-_3232w63-O3TCiy_m.js";import{Y as es}from"./LabeledDropDownFormattedTextField-CaInnQPt-DCEyrF46.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BoxItem-i1_Whvbs-Coc5rPJr.js";import"./commonDimensions-Bvh80Imh-jW8sAv4e.js";import"./TrendChart-BvUgR7NR-Dds38jx_.js";import"./chartTypes-CultIwKc-Cq3_oBZW.js";import"./toCOABalancesWithID-QJXJYQ9T-gEErCy0J.js";import"./toChartData-CN15R7RB-CS5Czivs.js";import"./NoDataChart-gu-_4U1R-BXpb0aAl.js";import"./InsightsSection-CR-kPvnj-B41E7xie.js";import"./NavigationDots-DHkA0dj3-mmZt_Uzm.js";const ts=a.div`
1
+ import{O as _,c as Re,q as ne,y as g,aC as be,l as se,cU as xt,aa as yt,hc as Ae,hd as Be,he as Ee,hf as fe,hg as bt,aU as ft,cS as wt,j as t,bF as Ct,ad as $t,hh as St,hi as ue,u as l,cT as Dt,aQ as jt,o,b_ as S,d3 as Tt,gT as we,hj as Lt,cV as Vt,cW as kt,cX as Ot,hk as It,gn as Pt,d1 as Ft,hl as Mt,hm as zt,h as z,dL as _t,dK as Nt,df as Wt,aX as de,b6 as Ue,ai as qe,dM as Ht,a$ as Rt,hn as At,ho as Bt,am as Et,hp as Ut,cw as Ye,hq as qt,b as Ce,H as Xe}from"./index-Dx_6v6jJ.js";import{b as $,n as a,i as Yt}from"./vendor-Bs1fkIUX.js";import{k as Xt}from"./SubTabSwitcher-CvFfDi4R-C5peqFuG.js";import{f as Gt}from"./TransactionList-CPVAoxeJ-CM-aQqoz.js";import{R as Qt}from"./TrendWithTransactions-Dqn9bFON-DGnKntb1.js";import{o as Zt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{W as Jt}from"./LabeledAddressValueField-CkvZpsW_-BgITszim.js";import{Y as es}from"./LabeledDropDownFormattedTextField-7XrwzS1l-C2if2Gx3.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BoxItem-D1raF0Bb-BQ4qZrGw.js";import"./commonDimensions-BVYRkutP-DJ77KjRS.js";import"./TrendChart-DqWZYuvO-D_YQdCrg.js";import"./chartTypes-BOtv_Qyt-DUqfch7p.js";import"./toCOABalancesWithID-CD6AMXij-VvTJfohU.js";import"./toChartData-B2D5ypu5-DgxwVZtD.js";import"./NoDataChart-BqHCJbkE-DNDwIJeS.js";import"./InsightsSection-BuY7NDTY-xxIMuImU.js";import"./NavigationDots-COeMhprl-BHsPcORJ.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-CzIBPZCT.js";import{b as C}from"./vendor-Bs1fkIUX.js";import{D as b}from"./DomesticWireDetailsPage-CJnEtp5K-DPibwW35.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountSection-DMa6vU71-8lFdYQF_.js";import"./MagicLinkTitleSection-CeaDLMlx-DNektGaM.js";import"./BankAccountWarningSection-CqTSk_2C-aSAVNh2L.js";import"./MailingDetailsSection-C1cnBO3h-L7u76QW9.js";import"./LabeledAddressValueField-_3232w63-O3TCiy_m.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-Dx_6v6jJ.js";import{b as C}from"./vendor-Bs1fkIUX.js";import{D as b}from"./DomesticWireDetailsPage-I5F9LWGB-BmpAh5gH.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountSection-6x7gLafC-DfFr7yFv.js";import"./MagicLinkTitleSection-CymRElk--jScovfXE.js";import"./BankAccountWarningSection-CVPx-LJA-BK70plvl.js";import"./MailingDetailsSection-BOu2MkGP-C7zHzgDI.js";import"./LabeledAddressValueField-CkvZpsW_-BgITszim.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
@@ -1,4 +1,4 @@
1
- import{q as oe,c as Ne,O as ne,aa as ke,dj as G,hr as de,cS as Ae,y as w,j as t,bF as Be,aM as Oe,ad as Ee,cV as C,o as s,cZ as Re,hk as We,gn as qe,d1 as Me,hl as He,hm as Ue,d9 as Ge,aQ as Ke,db as Qe,dk as Ye,u as c,A as Ze,b_ as D,cQ as _e,hs as Je,h as I,t as Xe,cw as et,am as ce,eY as tt,ht as st,hu as lt,hv as M,dl as it}from"./index-CzIBPZCT.js";import{b as x,n as a}from"./vendor-Bs1fkIUX.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-CaInnQPt-DCEyrF46.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:R}){const O=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(O);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:G(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(O),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{q as oe,c as Ne,O as ne,aa as ke,dj as G,hr as de,cS as Ae,y as w,j as t,bF as Be,aM as Oe,ad as Ee,cV as C,o as s,cZ as Re,hk as We,gn as qe,d1 as Me,hl as He,hm as Ue,d9 as Ge,aQ as Ke,db as Qe,dk as Ye,u as c,A as Ze,b_ as D,cQ as _e,hs as Je,h as I,t as Xe,cw as et,am as ce,eY as tt,ht as st,hu as lt,hv as M,dl as it}from"./index-Dx_6v6jJ.js";import{b as x,n as a}from"./vendor-Bs1fkIUX.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-7XrwzS1l-C2if2Gx3.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:R}){const O=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(O);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:G(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(O),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{q as ae,ax as Nn,c as mn,aa as nt,i7 as ze,cS as tt,az as On,i8 as re,i9 as ve,ia as fe,ib as be,ic as me,O as je,j as n,i3 as ot,ad as it,bF as rt,ab as st,cD as at,cE as lt,cF as dt,c7 as ct,aM as Y,bZ as mt,cA as pt,b3 as ut,dG as ht,cH as gt,y as w,P as wt,B as Ne,o as t,aT as In,am as De,aS as xt,u as c,ai as Re,cM as vt,l as Pn,dL as zn,b_ as Pe,bl as Tn,cP as ft,cd as bt,dY as $t,b9 as Ye,bx as pn,h as B,M as Dn,fZ as St,dC as wn,df as rn,id as yt,ie as sn,ap as jt,c5 as Be,e6 as Rt,eN as xn,bP as Ct,dN as Vt,n as vn,ig as kt,d3 as Mt,db as Nt,dc as Ot,eS as It,an as Ln,ih as Pt,bN as se,ii as fn,gV as zt,av as Tt,au as Dt,dM as Lt,C as An,b as At,I as _t,aV as dn}from"./index-CzIBPZCT.js";import{b as f,n as o,i as cn}from"./vendor-Bs1fkIUX.js";import{r as Ft}from"./mui-Ty75qFQF.js";import{P as Bt}from"./Menu-Br77QlAp-C8sfPd4I.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const _n=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
1
+ import{q as ae,ax as Nn,c as mn,aa as nt,i7 as ze,cS as tt,az as On,i8 as re,i9 as ve,ia as fe,ib as be,ic as me,O as je,j as n,i3 as ot,ad as it,bF as rt,ab as st,cD as at,cE as lt,cF as dt,c7 as ct,aM as Y,bZ as mt,cA as pt,b3 as ut,dG as ht,cH as gt,y as w,P as wt,B as Ne,o as t,aT as In,am as De,aS as xt,u as c,ai as Re,cM as vt,l as Pn,dL as zn,b_ as Pe,bl as Tn,cP as ft,cd as bt,dY as $t,b9 as Ye,bx as pn,h as B,M as Dn,fZ as St,dC as wn,df as rn,id as yt,ie as sn,ap as jt,c5 as Be,e6 as Rt,eN as xn,bP as Ct,dN as Vt,n as vn,ig as kt,d3 as Mt,db as Nt,dc as Ot,eS as It,an as Ln,ih as Pt,bN as se,ii as fn,gV as zt,av as Tt,au as Dt,dM as Lt,C as An,b as At,I as _t,aV as dn}from"./index-Dx_6v6jJ.js";import{b as f,n as o,i as cn}from"./vendor-Bs1fkIUX.js";import{r as Ft}from"./mui-Ty75qFQF.js";import{P as Bt}from"./Menu-Cu6MQ0Mp-CViA14mm.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const _n=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,q as Q,aa as he,O as U,cS as ye,aC as ge,l as Y,cD as be,cE as fe,cF as xe,ad as ve,aQ as we,y as p,dj as le,dk as Ce,o as y,b8 as $e,d3 as oe,c as ne,dl as je,dm as J,d9 as G,b1 as H,cV as De,dn as Te,u as a,db as Se,aM as ke,h as V,P as Oe,b as Fe,c5 as Ae,ai as Le,bP as We}from"./index-CzIBPZCT.js";import{b as R,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Ie}from"./BankAccountWarningSection-CqTSk_2C-aSAVNh2L.js";import{T as Re}from"./MailingDetailsSection-C1cnBO3h-L7u76QW9.js";import{S as Pe}from"./CurrencySelectField-Cc7VZ0zc-DX1RPqfP.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./LabeledAddressValueField-_3232w63-O3TCiy_m.js";const F={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 Fe("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(Oe,{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(Ne,{children:t.jsx(Ue,{})})})),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:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
1
+ import{j as t,q as Q,aa as he,O as U,cS as ye,aC as ge,l as Y,cD as be,cE as fe,cF as xe,ad as ve,aQ as we,y as p,dj as le,dk as Ce,o as y,b8 as $e,d3 as oe,c as ne,dl as je,dm as J,d9 as G,b1 as H,cV as De,dn as Te,u as a,db as Se,aM as ke,h as V,P as Oe,b as Fe,c5 as Ae,ai as Le,bP as We}from"./index-Dx_6v6jJ.js";import{b as R,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Ie}from"./BankAccountWarningSection-CVPx-LJA-BK70plvl.js";import{T as Re}from"./MailingDetailsSection-BOu2MkGP-C7zHzgDI.js";import{S as Pe}from"./CurrencySelectField-Dx5oODVS-DsU2RMPj.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./LabeledAddressValueField-CkvZpsW_-BgITszim.js";const F={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 Fe("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(Oe,{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(Ne,{children:t.jsx(Ue,{})})})),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:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),j?t.jsx(Me,{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-CzIBPZCT.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-8WfR9slT-CzVW-xiA.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountWarningSection-CqTSk_2C-aSAVNh2L.js";import"./MailingDetailsSection-C1cnBO3h-L7u76QW9.js";import"./LabeledAddressValueField-_3232w63-O3TCiy_m.js";import"./MagicLinkTitleSection-CeaDLMlx-DNektGaM.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-Dx_6v6jJ.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-CgNM0g0m-CHDxQMtp.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountWarningSection-CVPx-LJA-BK70plvl.js";import"./MailingDetailsSection-BOu2MkGP-C7zHzgDI.js";import"./LabeledAddressValueField-CkvZpsW_-BgITszim.js";import"./MagicLinkTitleSection-CymRElk--jScovfXE.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{q as ie,c as oe,O as te,y as c,gO as w,aU as P,j as i,hX as m,hW as g,o as n,b as re,h as ne,dS as se,ai as le,u as a}from"./index-CzIBPZCT.js";import{n as l}from"./vendor-Bs1fkIUX.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},T={title:new re("standardMedium","largeMedium")},de=l.div`
1
+ import{q as ie,c as oe,O as te,y as c,gO as w,aU as P,j as i,hX as m,hW as g,o as n,b as re,h as ne,dS as se,ai as le,u as a}from"./index-Dx_6v6jJ.js";import{n as l}from"./vendor-Bs1fkIUX.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},T={title:new re("standardMedium","largeMedium")},de=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aP as A,aa as B,O as L,j as r,c4 as U,ab as d,l as W,ad as X,c5 as Y,ai as f,c6 as Z,o,n as D,c7 as q,am as N,c8 as G,c9 as C,bP as J,h as y,b9 as b,ca as K}from"./index-CzIBPZCT.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Q,Z as k}from"./AccountLockedInfoModal-CQspLG36-BK7PHBYG.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./handshake-BPg58FML-BpN0H-2S.js";const ee=e=>{if(!e)return"";try{const i=G(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const h=i.countryCallingCode,m=i.nationalNumber.slice(-4);return`+${h} (•••) ••• ${m}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const h=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${h}`}return C(e)||e}},I=120,P=30,F=2,re="456px",te="256px",O=6,n=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",Te=e=>{const i=e.verifyOtpFetchState==="In-Progress",[h,m]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,S]=c.useState(I),[p,w]=c.useState(P),E=A(e.verifyOtpFetchState),u=B({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),j=u.watch(x),_=()=>{e.onCancelVerifyDevice()},M=()=>{j.trim().length===O&&e.onVerifyOtp(j)},R=n.footerHelperText.replace(/<button_text>/,n.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(m(!0),T(s=>s+1),u.setValue(x,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const s=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[v]),c.useEffect(()=>{if(p<=0)return;const s=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[p]);const H=s=>{const a=Math.floor(s/60),z=s%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(U,{open:!0,children:r.jsxs(oe,{children:[r.jsx(d,{controller:$>F,children:r.jsx(Q,{unlockDate:W.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=F,children:r.jsx(X,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(ne,{children:n.verifyDeviceTitle}),r.jsx(se,{children:n.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(ie,{children:ee(e.phoneNumber+"")}),r.jsx(Y,{placement:"top",title:r.jsxs(f,{children:[n.changePhoneNumberHelperText,r.jsx(we,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(Se,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Z,{value:j,valueLength:6,hasError:l===!0||h===!0,style:{margin:o.sp0},onChange:s=>{u.setValue(x,s),m(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(V,{children:r.jsxs(je,{children:[n.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(V,{children:r.jsx(ye,{children:n.codeExpired})})})]}),h===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:n.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),n.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(he,{children:n.codeNotReceived}),r.jsx(ue,{disabled:p>0,onClick:()=>{p===0&&(e.onResendOtp(),m(!1),g(!1),u.setValue(x,""),S(I),w(P))},children:n.resend}),p>0&&r.jsxs(pe,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",p,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(me,{children:[r.jsx(D,{label:n.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:n.verify,onClick:M,style:{width:82},loading:i,disabled:j.trim().length!==O||l===!0})]}),r.jsx(xe,{children:R})]})]})})})]})})},oe=t.div`
1
+ import{aP as A,aa as B,O as L,j as r,c4 as U,ab as d,l as W,ad as X,c5 as Y,ai as f,c6 as Z,o,n as D,c7 as q,am as N,c8 as G,c9 as C,bP as J,h as y,b9 as b,ca as K}from"./index-Dx_6v6jJ.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Q,Z as k}from"./AccountLockedInfoModal-B4ZZXnWs-BA2VyS6K.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./handshake-BPg58FML-BpN0H-2S.js";const ee=e=>{if(!e)return"";try{const i=G(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const h=i.countryCallingCode,m=i.nationalNumber.slice(-4);return`+${h} (•••) ••• ${m}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const h=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${h}`}return C(e)||e}},I=120,P=30,F=2,re="456px",te="256px",O=6,n=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",Te=e=>{const i=e.verifyOtpFetchState==="In-Progress",[h,m]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,S]=c.useState(I),[p,w]=c.useState(P),E=A(e.verifyOtpFetchState),u=B({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),j=u.watch(x),_=()=>{e.onCancelVerifyDevice()},M=()=>{j.trim().length===O&&e.onVerifyOtp(j)},R=n.footerHelperText.replace(/<button_text>/,n.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(m(!0),T(s=>s+1),u.setValue(x,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const s=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[v]),c.useEffect(()=>{if(p<=0)return;const s=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[p]);const H=s=>{const a=Math.floor(s/60),z=s%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(U,{open:!0,children:r.jsxs(oe,{children:[r.jsx(d,{controller:$>F,children:r.jsx(Q,{unlockDate:W.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=F,children:r.jsx(X,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(ne,{children:n.verifyDeviceTitle}),r.jsx(se,{children:n.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(ie,{children:ee(e.phoneNumber+"")}),r.jsx(Y,{placement:"top",title:r.jsxs(f,{children:[n.changePhoneNumberHelperText,r.jsx(we,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(Se,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Z,{value:j,valueLength:6,hasError:l===!0||h===!0,style:{margin:o.sp0},onChange:s=>{u.setValue(x,s),m(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(V,{children:r.jsxs(je,{children:[n.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(V,{children:r.jsx(ye,{children:n.codeExpired})})})]}),h===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:n.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),n.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(he,{children:n.codeNotReceived}),r.jsx(ue,{disabled:p>0,onClick:()=>{p===0&&(e.onResendOtp(),m(!1),g(!1),u.setValue(x,""),S(I),w(P))},children:n.resend}),p>0&&r.jsxs(pe,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",p,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(me,{children:[r.jsx(D,{label:n.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:n.verify,onClick:M,style:{width:82},loading:i,disabled:j.trim().length!==O||l===!0})]}),r.jsx(xe,{children:R})]})]})})})]})})},oe=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -1,4 +1,4 @@
1
- import{q as k,j as t,ap as j,dy as y,h as S}from"./index-CzIBPZCT.js";import{b as e,n,k as A}from"./vendor-Bs1fkIUX.js";import{r as O}from"./mui-Ty75qFQF.js";const U=o=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},e.createElement("g",{filter:"url(#filter0_f_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),e.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),e.createElement("g",{filter:"url(#filter1_d_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),e.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),e.createElement("g",{clipPath:"url(#clip0_251_38441)"},e.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),e.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:4}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),e.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("clipPath",{id:"clip0_251_38441"},e.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function W({src:o,autoPlay:p=!0,config:d,controls:m=!0,height:_="100%",isModalOpen:r,loop:u=!1,muted:E=!1,showPlayButton:s=!1,style:w,thumbnail:i,width:b="100%",onEnded:v,onModalClose:h,onPlay:x}){const c=k(),[a,l]=e.useState(!1);e.useEffect(()=>{r===!0&&p?l(!0):r===!1&&l(!1)},[r,p]);const f={};d?.youtube&&(f.youtube=d.youtube);const B=()=>{l(!0),x?.()},F=()=>{l(!1),h?.()},g=()=>{l(!1),v?.(),r!=null&&h?.()},C=()=>{l(!0),x?.()};return r!=null?r?O.createPortal(t.jsx(I,{windowSize:c,role:"presentation",children:t.jsx(j,{onClickAway:F,children:t.jsx(M,{windowSize:c,"data-testid":"video-player-modal",children:t.jsxs($,{children:[s&&!a&&t.jsxs(t.Fragment,{children:[i!=null&&i!==""&&t.jsx(z,{src:i,alt:"Video thumbnail"}),t.jsx(D,{onClick:B,children:t.jsx(P,{windowSize:c})})]}),(!s||a)&&t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:"100%",height:"100%",onEnded:g,onPlay:C,config:f})]})})})}),document.body):null:t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:b,height:_,style:w,light:s&&!a?i??!0:!1,onEnded:g,onPlay:C,config:f})}const G=A`
1
+ import{q as k,j as t,ap as j,dy as y,h as S}from"./index-Dx_6v6jJ.js";import{b as e,n,k as A}from"./vendor-Bs1fkIUX.js";import{r as O}from"./mui-Ty75qFQF.js";const U=o=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},e.createElement("g",{filter:"url(#filter0_f_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),e.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),e.createElement("g",{filter:"url(#filter1_d_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),e.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),e.createElement("g",{clipPath:"url(#clip0_251_38441)"},e.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),e.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:4}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),e.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("clipPath",{id:"clip0_251_38441"},e.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function W({src:o,autoPlay:p=!0,config:d,controls:m=!0,height:_="100%",isModalOpen:r,loop:u=!1,muted:E=!1,showPlayButton:s=!1,style:w,thumbnail:i,width:b="100%",onEnded:v,onModalClose:h,onPlay:x}){const c=k(),[a,l]=e.useState(!1);e.useEffect(()=>{r===!0&&p?l(!0):r===!1&&l(!1)},[r,p]);const f={};d?.youtube&&(f.youtube=d.youtube);const B=()=>{l(!0),x?.()},F=()=>{l(!1),h?.()},g=()=>{l(!1),v?.(),r!=null&&h?.()},C=()=>{l(!0),x?.()};return r!=null?r?O.createPortal(t.jsx(I,{windowSize:c,role:"presentation",children:t.jsx(j,{onClickAway:F,children:t.jsx(M,{windowSize:c,"data-testid":"video-player-modal",children:t.jsxs($,{children:[s&&!a&&t.jsxs(t.Fragment,{children:[i!=null&&i!==""&&t.jsx(z,{src:i,alt:"Video thumbnail"}),t.jsx(D,{onClick:B,children:t.jsx(P,{windowSize:c})})]}),(!s||a)&&t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:"100%",height:"100%",onEnded:g,onPlay:C,config:f})]})})})}),document.body):null:t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:b,height:_,style:w,light:s&&!a?i??!0:!1,onEnded:g,onPlay:C,config:f})}const G=A`
2
2
  0% {
3
3
  transform: rotate(0deg);
4
4
  }
@@ -1,4 +1,4 @@
1
- import{q as s,j as i,ap as l,aM as a,h as c,o as n,y as r}from"./index-CzIBPZCT.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{K as h}from"./VideoPlayer-BDT7Wxrv-B9yrG6S9.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
1
+ import{q as s,j as i,ap as l,aM as a,h as c,o as n,y as r}from"./index-Dx_6v6jJ.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{K as h}from"./VideoPlayer-ClKEd_qa-CKLw3kO6.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{q as C,l as B,O as D,j as s,a as j,t as S,n as M,C as E,o as n,y as $,b as L,H as P,A as z,_ as N,h as w,s as A,M as O,I as R,u}from"./index-CzIBPZCT.js";import{n as t}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},T={title:new 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",g=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=q(x,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=H(v,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=_(y,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=F(k,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(G,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(V,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(U,{children:[s.jsx(W,{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{q as C,l as B,O as D,j as s,a as j,t as S,n as M,C as E,o as n,y as $,b as L,H as P,A as z,_ as N,h as w,s as A,M as O,I as R,u}from"./index-Dx_6v6jJ.js";import{n as t}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},T={title:new 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",g=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=q(x,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=H(v,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=_(y,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=F(k,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(G,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(V,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(U,{children:[s.jsx(W,{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)}`})}),g.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(S,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...E.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},q=(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}},H=(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}},_=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},F=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},G=t.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aa as Pe,q as E,ax as Te,l as T,c as pe,aP as Be,j as t,O as q,aN as B,c5 as L,o,bF as Le,C as D,cD as R,cE as F,cF as G,ad as Ne,dn as Me,h as f,db as Ee,aM as C,P as he,ai as b,bP as He,bZ as Ie,aS as Ue,y as j,fX as Oe,ft as ae,u as p,hz as We,be as Re,bR as Fe,bh as Ge,bg as Ye,bS as Ve,bf as Ze,am as K,hA as Je,b6 as Xe,a$ as qe,hB as Ke,s as _e,hC as Qe,M as et,fZ as tt,di as ot,an as at,b as it,cw as nt}from"./index-CzIBPZCT.js";import{b as r,n as a}from"./vendor-Bs1fkIUX.js";import{$ as lt}from"./BoxItem-i1_Whvbs-Coc5rPJr.js";import{w as rt}from"./downloadPdf-CKNipVJW-C7xRlSKq.js";import{H as ct}from"./DepositAccTransactionItem-CNf7CHUT-CsIGmFh1.js";import{T as st}from"./ZeniAccountNavBarPieces-CdDZwzfE-D1v8vond.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./commonDimensions-Bvh80Imh-jW8sAv4e.js";const dt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
1
+ import{aa as Pe,q as E,ax as Te,l as T,c as pe,aP as Be,j as t,O as q,aN as B,c5 as L,o,bF as Le,C as D,cD as R,cE as F,cF as G,ad as Ne,dn as Me,h as f,db as Ee,aM as C,P as he,ai as b,bP as He,bZ as Ie,aS as Ue,y as j,fX as Oe,ft as ae,u as p,hz as We,be as Re,bR as Fe,bh as Ge,bg as Ye,bS as Ve,bf as Ze,am as K,hA as Je,b6 as Xe,a$ as qe,hB as Ke,s as _e,hC as Qe,M as et,fZ as tt,di as ot,an as at,b as it,cw as nt}from"./index-Dx_6v6jJ.js";import{b as r,n as a}from"./vendor-Bs1fkIUX.js";import{$ as lt}from"./BoxItem-D1raF0Bb-BQ4qZrGw.js";import{w as rt}from"./downloadPdf-DQIFB4bS-BYGHS3hy.js";import{H as ct}from"./DepositAccTransactionItem-BEUsQEp1-D1GMXuRx.js";import{T as st}from"./ZeniAccountNavBarPieces-J53UyPBo-C4rZGiWY.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./commonDimensions-BVYRkutP-DJ77KjRS.js";const dt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{q as K,aa as Ie,aP as _e,c as De,aX as Ee,O as J,aO as Fe,j as t,cD as W,h as o,ad as Ge,o as n,dn as Ne,db as Ue,cE as ne,cF as ie,hw as Oe,aN as G,c5 as fe,bF as Re,C,ar as We,am as Ye,s as Ve,cd as Ze,bP as ye,ai as b,ax as qe,l as Xe,cr as He,ft as F,aM as N,y as j,an as Q,fS as Ke,b as Je,H as Qe,ao as et,dd as tt,cw as nt,gh as it,u,e4 as ot,f$ as rt,hx as st,n as at,fU as ct,bZ as lt,aS as dt}from"./index-CzIBPZCT.js";import{b as g,n as i}from"./vendor-Bs1fkIUX.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as ut}from"./shield-DOlUxcFf-CDkNAu2o.js";import{T as mt}from"./ZeniAccountNavBarPieces-CdDZwzfE-D1v8vond.js";import{v as ht}from"./ZeniTransferAmountSlider-DeYuGxZX-CBbNUuRc.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const gt=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=J.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:w,style:S})=>{const s=K(),v=(c,T)=>Object.entries(T).reduce((M,[A,$])=>M.replace(new RegExp(`__${A}__`,"g"),$),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),L=[{icon:t.jsx(zt,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs($t,{style:S,children:[t.jsx(wt,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(jt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(bt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsxs(At,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},$t=i.div`
1
+ import{q as K,aa as Ie,aP as _e,c as De,aX as Ee,O as J,aO as Fe,j as t,cD as W,h as o,ad as Ge,o as n,dn as Ne,db as Ue,cE as ne,cF as ie,hw as Oe,aN as G,c5 as fe,bF as Re,C,ar as We,am as Ye,s as Ve,cd as Ze,bP as ye,ai as b,ax as qe,l as Xe,cr as He,ft as F,aM as N,y as j,an as Q,fS as Ke,b as Je,H as Qe,ao as et,dd as tt,cw as nt,gh as it,u,e4 as ot,f$ as rt,hx as st,n as at,fU as ct,bZ as lt,aS as dt}from"./index-Dx_6v6jJ.js";import{b as g,n as i}from"./vendor-Bs1fkIUX.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as ut}from"./shield-DOlUxcFf-CDkNAu2o.js";import{T as mt}from"./ZeniAccountNavBarPieces-J53UyPBo-C4rZGiWY.js";import{v as ht}from"./ZeniTransferAmountSlider-BbMEETxN-CkVTZ0_l.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const gt=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=J.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:w,style:S})=>{const s=K(),v=(c,T)=>Object.entries(T).reduce((M,[A,$])=>M.replace(new RegExp(`__${A}__`,"g"),$),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),L=[{icon:t.jsx(zt,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs($t,{style:S,children:[t.jsx(wt,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(jt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(bt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsxs(At,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},$t=i.div`
2
2
  position: relative;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{ax as O,g3 as P,l as $,O as z,j as a,aM as B,h3 as p,hy as u,o as s,h5 as j}from"./index-CzIBPZCT.js";import{n as y}from"./vendor-Bs1fkIUX.js";const o=z.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:o.moveMoney.editNickName},{value:"accountStatement",label:o.moveMoney.accountStatement}],d={value:"payBill",label:o.moveMoney.payBills},g={value:"transfer",label:o.moveMoney.transfer},v={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:o.moveMoney.checkDeposit},w=[d,g,v,M],A=[v,g,d,M],R=({zeniBankProps:e,isBillPayEnabled:h,isExpressPayEnabled:x,analytics:b,onSettingsClick:f})=>{const l=O(),i=l.loggedInUserRoleMap.deposit_accounts_user===!0||P(l),k=$.hasBillPayAccess(l.loggedInUserRoleMap),S=m.filter(t=>t.value==="accountStatement"),c=h===!0?w:A,r=x===!0?c:c.filter(t=>t.value!=="sendMoney"),N=k?r:r.filter(t=>t.value!=="payBill");return a.jsxs(E,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!i?a.jsx(C,{onClick:f,"data-testid":B("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:i?S:m,title:o.moveMoney.title}),i?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:N,title:o.moveMoney.title,onMenuOpen:()=>b?.trackAccountsListPageClicked("Move Money")})]})},C=y(j)`
1
+ import{ax as O,g3 as P,l as $,O as z,j as a,aM as B,h3 as p,hy as u,o as s,h5 as j}from"./index-Dx_6v6jJ.js";import{n as y}from"./vendor-Bs1fkIUX.js";const o=z.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:o.moveMoney.editNickName},{value:"accountStatement",label:o.moveMoney.accountStatement}],d={value:"payBill",label:o.moveMoney.payBills},g={value:"transfer",label:o.moveMoney.transfer},v={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:o.moveMoney.checkDeposit},w=[d,g,v,M],A=[v,g,d,M],R=({zeniBankProps:e,isBillPayEnabled:h,isExpressPayEnabled:x,analytics:b,onSettingsClick:f})=>{const l=O(),i=l.loggedInUserRoleMap.deposit_accounts_user===!0||P(l),k=$.hasBillPayAccess(l.loggedInUserRoleMap),S=m.filter(t=>t.value==="accountStatement"),c=h===!0?w:A,r=x===!0?c:c.filter(t=>t.value!=="sendMoney"),N=k?r:r.filter(t=>t.value!=="payBill");return a.jsxs(E,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!i?a.jsx(C,{onClick:f,"data-testid":B("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:i?S:m,title:o.moveMoney.title}),i?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:N,title:o.moveMoney.title,onMenuOpen:()=>b?.trackAccountsListPageClicked("Move Money")})]})},C=y(j)`
2
2
  cursor: pointer;
3
3
  min-width: ${s.sp4};
4
4
  width: ${s.sp4};
@@ -1,4 +1,4 @@
1
- import{c as ae,q as v,aP as ce,ax as xe,g3 as me,j as i,bF as pe,O as _,s as he,o,cQ as ue,ar as Z,n as W,aM as L,af as j,_ as ge,aX as z,aO as k,aS as J,bC as we,y as x,h as A,cR as je,aT as $e,b9 as ye,u as D,b as $,H as C,an as T,ag as Se}from"./index-CzIBPZCT.js";import{b as F,n}from"./vendor-Bs1fkIUX.js";import{x as fe}from"./MeetingCalenderPopup-Bh-VTzSP-xiAxSq1x.js";import{M as B}from"./usp-line-BBd1wKwW-ZlUrfnG1.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const u={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(D[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,D[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},be=n.div`
1
+ import{c as ae,q as v,aP as ce,ax as xe,g3 as me,j as i,bF as pe,O as _,s as he,o,cQ as ue,ar as Z,n as W,aM as L,af as j,_ as ge,aX as z,aO as k,aS as J,bC as we,y as x,h as A,cR as je,aT as $e,b9 as ye,u as D,b as $,H as C,an as T,ag as Se}from"./index-Dx_6v6jJ.js";import{b as F,n}from"./vendor-Bs1fkIUX.js";import{x as fe}from"./MeetingCalenderPopup-CNVAnAtx-B8wbqPcJ.js";import{M as B}from"./usp-line-BBd1wKwW-ZlUrfnG1.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const u={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(D[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,D[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},be=n.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{c as Se,q as we,aP as O,aa as be,cS as Ae,O as xe,aU as $,j as t,fn as Pe,h as Ce,y as d,bF as ke,P as Fe,ad as ve,e6 as je,bA as Te,aQ as ze,o as Ee,u as a,am as Ve}from"./index-CzIBPZCT.js";import{b as f,n as S}from"./vendor-Bs1fkIUX.js";import{D as De}from"./HelpButton-BY3Ymwq7-DCzAJuNO.js";import{K as Ue}from"./SetUpDefaultSection-C944LR7Y-DmPt9yvH.js";import{f as Ie}from"./SpendMgmtSetupAccountSection-D7RNQvNU-zoSHCkGf.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-Djewfdeg-Cvuq7XZG.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-Bh-VTzSP-xiAxSq1x.js";import"./ChargeCardUtils-DwrchU8w-rfEpjdHS.js";import"./CreditCardPaymentPlgSection-B_dwX8WO-CbDsLJRc.js";import"./ChaseOverlay-Yi_R09xG-D-5pbKeF.js";const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59)},B="zeniAccountSetUpPage",k="payAccount",{common:$e,commonSetUp:_,spendManagement:Be}=xe.getLocalizedStrings(),{zeniAccounts:W}=Be,{zeniAccountSetUp:z}=W,{setUp:E}=_,st=({isDisabled:e,meetingUrl:F,zeniAccountSetUpView:p,analytics:l,connectedAccountProvider:s,filesEndPoint:q,authParams:H,accountsPromoConfig: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:V,isRefreshingViewInBackground:le,updateStatus:r,accountUpdateStatus:re,plaidConnectionDetails:ue,allBankAccounts:de,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:D}=p,U=O(g),x=O(r.fetchState),v=be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>L(p),[p]),values:L(p)}),me=v.handleSubmit(y=>{l.trackEnableZeniAccounts(),G()}),fe=async(y,C)=>{const n=C[k];if(y.includes(k)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const u=D.find(T=>T.id===n.fundingAccount.selectedOption);u!=null&&J(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(T=>T.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&l.trackConnectBankLink(u.value,u.label,"zeni_accounts"),K(n.account.selectedOption,m.id,m.accType)}}};f.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&U==="In-Progress"&&g==="Completed"&&h(!1)},[o,g,U]),f.useEffect(()=>{const y=v.watch((C,{name:n})=>{n!=null&&C!=null&&Ae(()=>fe(n,C))});return()=>{y.unsubscribe()}}),f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const P=pe?.isZeniAccountEnabled===!0,j=V?.isBusinessVerified===!0,he=g==="In-Progress"||g==="Not-Started";f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const ge=j?_.setUp.setupVerifiedSubTitle:z.setupSubTitle,I=b.mode==="light"?new $(b.colors.brandColorJadeLight):new $(b.colors.brandColorJadeDark),ye=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):Q?.()};return t.jsxs(Re,{children:[t.jsx(Pe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Ce.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:H,filesEndPoint:q,updateStatus:r,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(ke,{title:z.setupTitle,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!P&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx(_e,{windowSize:i,children:ge}),he?t.jsx(We,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...v,children:t.jsx("form",{id:R(B),onSubmit:me,children:t.jsxs(qe,{windowSize:i,children:[t.jsx(Ue,{onClick:ye,title:E.businessVerificationTitle,subTitle:E.businessVerificationSubTitle,header:E.businessVerificationHeader,icon:{element:t.jsx(je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:I},status:V?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ie,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:de,sectionId:k,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick: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:I},analytics:l,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:P,allFundingAccounts:D,pageName:"Zeni Account Setup",accountsPromoConfig:M})]})})})]}),j&&!P?t.jsx(ze,{formId:R(B),primaryBtn:{label:z.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:r.fetchState==="In-Progress"||re.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:$e.strings.empty},style:{padding:`12px ${Ee.sp3}`}}):null,t.jsx(De,{isFooterRendered:j&&!P,meetingUrl:F,analytics:l,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:F,allFundingAccounts:p,primaryFundingAccount:l}=e;return{[k]:{fundingAccount:{selectedOption:l?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:l?.zeniAccountId,allOptions:F.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=S.div`
1
+ import{c as Se,q as we,aP as O,aa as be,cS as Ae,O as xe,aU as $,j as t,fn as Pe,h as Ce,y as d,bF as ke,P as Fe,ad as ve,e6 as je,bA as Te,aQ as ze,o as Ee,u as a,am as Ve}from"./index-Dx_6v6jJ.js";import{b as f,n as S}from"./vendor-Bs1fkIUX.js";import{D as De}from"./HelpButton-B4oEkhlX-DiN0FZzX.js";import{K as Ue}from"./SetUpDefaultSection-He_L-zlp-BKSpIPTj.js";import{f as Ie}from"./SpendMgmtSetupAccountSection-bwI5SMzd-BrpYl8cj.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-CQJ8BiZt-DRyn5f3-.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-CNVAnAtx-B8wbqPcJ.js";import"./ChargeCardUtils-Rb7oaOW_-d4fs5S75.js";import"./CreditCardPaymentPlgSection-DRAYmlBe-BG5WzWK1.js";import"./ChaseOverlay-BU6mQm8r-CttX-8es.js";const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59)},B="zeniAccountSetUpPage",k="payAccount",{common:$e,commonSetUp:_,spendManagement:Be}=xe.getLocalizedStrings(),{zeniAccounts:W}=Be,{zeniAccountSetUp:z}=W,{setUp:E}=_,st=({isDisabled:e,meetingUrl:F,zeniAccountSetUpView:p,analytics:l,connectedAccountProvider:s,filesEndPoint:q,authParams:H,accountsPromoConfig: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:V,isRefreshingViewInBackground:le,updateStatus:r,accountUpdateStatus:re,plaidConnectionDetails:ue,allBankAccounts:de,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:D}=p,U=O(g),x=O(r.fetchState),v=be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>L(p),[p]),values:L(p)}),me=v.handleSubmit(y=>{l.trackEnableZeniAccounts(),G()}),fe=async(y,C)=>{const n=C[k];if(y.includes(k)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const u=D.find(T=>T.id===n.fundingAccount.selectedOption);u!=null&&J(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(T=>T.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&l.trackConnectBankLink(u.value,u.label,"zeni_accounts"),K(n.account.selectedOption,m.id,m.accType)}}};f.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&U==="In-Progress"&&g==="Completed"&&h(!1)},[o,g,U]),f.useEffect(()=>{const y=v.watch((C,{name:n})=>{n!=null&&C!=null&&Ae(()=>fe(n,C))});return()=>{y.unsubscribe()}}),f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const P=pe?.isZeniAccountEnabled===!0,j=V?.isBusinessVerified===!0,he=g==="In-Progress"||g==="Not-Started";f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const ge=j?_.setUp.setupVerifiedSubTitle:z.setupSubTitle,I=b.mode==="light"?new $(b.colors.brandColorJadeLight):new $(b.colors.brandColorJadeDark),ye=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):Q?.()};return t.jsxs(Re,{children:[t.jsx(Pe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Ce.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:H,filesEndPoint:q,updateStatus:r,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(ke,{title:z.setupTitle,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!P&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx(_e,{windowSize:i,children:ge}),he?t.jsx(We,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...v,children:t.jsx("form",{id:R(B),onSubmit:me,children:t.jsxs(qe,{windowSize:i,children:[t.jsx(Ue,{onClick:ye,title:E.businessVerificationTitle,subTitle:E.businessVerificationSubTitle,header:E.businessVerificationHeader,icon:{element:t.jsx(je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:I},status:V?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ie,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:de,sectionId:k,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick: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:I},analytics:l,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:P,allFundingAccounts:D,pageName:"Zeni Account Setup",accountsPromoConfig:M})]})})})]}),j&&!P?t.jsx(ze,{formId:R(B),primaryBtn:{label:z.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:r.fetchState==="In-Progress"||re.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:$e.strings.empty},style:{padding:`12px ${Ee.sp3}`}}):null,t.jsx(De,{isFooterRendered:j&&!P,meetingUrl:F,analytics:l,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:F,allFundingAccounts:p,primaryFundingAccount:l}=e;return{[k]:{fundingAccount:{selectedOption:l?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:l?.zeniAccountId,allOptions:F.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=S.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -1 +1 @@
1
- import{O as r,j as e}from"./index-CzIBPZCT.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{O as r,j as e}from"./index-Dx_6v6jJ.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,O as E,aM as L,o as i,h as j,ai as M}from"./index-CzIBPZCT.js";import{b as $,n as m}from"./vendor-Bs1fkIUX.js";const S=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:o,transferAmount:x,minStep:p,currentAccountBalance:w,setYieldEarned:b,setTotalBalance:k}){const[l,A]=$.useState(0),{depositProductConfig:h}=o.zeniAccountsConfigDetail,c=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[t,r]=e.range;return r==null&&t!=null?t+25e5:r??0}):[],[h?.depositProducts]),D=e=>{const t=parseFloat(e.target.value),{returnedYield:r,totalAmount:u}=P(t);A(t),b(r),k(u)},z=e=>`${C(e)}${S.transferDrawer.calculator.sliderTooltipText}`,C=e=>e===0?c[0]:e>0&&e<1?c[1]:e>=1&&e<2?c[2]:e>=2&&e<3?c[3]:c[4],P=e=>{const t=C(e),[r,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else return{returnedYield:f(5e6,t),totalAmount:5e6}},T=e=>{const{returnedYield:t,totalAmount:r}=P(e);A(e),k(r),b(t)},Y=$.useCallback((e,t,r,u)=>{let a=0,s=0,v=0,y=0;if(e<r[0])a=t[0];else{for(let d=0;d<r.length-1;d++)if(e>=r[d]&&e<r[d+1]){a=t[d+1],s=(r[d+1]-r[d])*u,v=e-r[d],y=v/s*u+d;break}e>=r[r.length-1]&&(a=t[t.length-1],y=r.length-1)}A(y),b(f(e,a))},[b]);return $.useEffect(()=>{const e=x+w;k(e),Y(e,c,n,p)},[x,w,k,c,p,b,n,Y]),g.jsxs(V,{sliderValue:l,children:[g.jsx(O,{sliderValue:l,type:"range",min:0,max:c.length-1,step:p,value:l,onChange:D}),g.jsx(B,{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:z(l)}),g.jsx(H,{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),O=m.input`
1
+ import{j as g,O as E,aM as L,o as i,h as j,ai as M}from"./index-Dx_6v6jJ.js";import{b as $,n as m}from"./vendor-Bs1fkIUX.js";const S=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:o,transferAmount:x,minStep:p,currentAccountBalance:w,setYieldEarned:b,setTotalBalance:k}){const[l,A]=$.useState(0),{depositProductConfig:h}=o.zeniAccountsConfigDetail,c=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[t,r]=e.range;return r==null&&t!=null?t+25e5:r??0}):[],[h?.depositProducts]),D=e=>{const t=parseFloat(e.target.value),{returnedYield:r,totalAmount:u}=P(t);A(t),b(r),k(u)},z=e=>`${C(e)}${S.transferDrawer.calculator.sliderTooltipText}`,C=e=>e===0?c[0]:e>0&&e<1?c[1]:e>=1&&e<2?c[2]:e>=2&&e<3?c[3]:c[4],P=e=>{const t=C(e),[r,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else return{returnedYield:f(5e6,t),totalAmount:5e6}},T=e=>{const{returnedYield:t,totalAmount:r}=P(e);A(e),k(r),b(t)},Y=$.useCallback((e,t,r,u)=>{let a=0,s=0,v=0,y=0;if(e<r[0])a=t[0];else{for(let d=0;d<r.length-1;d++)if(e>=r[d]&&e<r[d+1]){a=t[d+1],s=(r[d+1]-r[d])*u,v=e-r[d],y=v/s*u+d;break}e>=r[r.length-1]&&(a=t[t.length-1],y=r.length-1)}A(y),b(f(e,a))},[b]);return $.useEffect(()=>{const e=x+w;k(e),Y(e,c,n,p)},[x,w,k,c,p,b,n,Y]),g.jsxs(V,{sliderValue:l,children:[g.jsx(O,{sliderValue:l,type:"range",min:0,max:c.length-1,step:p,value:l,onChange:D}),g.jsx(B,{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:z(l)}),g.jsx(H,{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),O=m.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1 +1 @@
1
- import{d as o}from"./index-CzIBPZCT.js";const t=(a,m,i,s)=>{o.identify(a.userId,{tenant_id:i?.tenantId,tenant_email_domain:i?.tenantEmailDomain,company_id:i?.companyId,company_name:i?.companyName,user_role:i?.userRole,$email:a.userEmail,user_email_domain:a.userEmailDomain,$first_name:a.firstName,$last_name:a.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:m})};export{t as f};
1
+ import{d as o}from"./index-Dx_6v6jJ.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{O as o,l as s}from"./index-CzIBPZCT.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{O as o,l as s}from"./index-Dx_6v6jJ.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{aN as i}from"./index-CzIBPZCT.js";const u=n=>i("0,0.[00]a",n),d=(n,e,r)=>{const o=e.findIndex(c=>c===n);let t=n,s=o<e.length?e[o]:void 0;return r>1&&(t=o-r+1>=0?e[o-r+1]:void 0,t===void 0?s=o===0?e[o+r-1]:e[o+r-2]:s=e[o]),[t,s]},a=n=>{const e=n.recordByTimeseries;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},l=n=>{const e=n.recordByDurations;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},p={net_burn_or_income:5,revenue:5,cash_position:8,operating_expenses:8,cash_in_cash_out:5,operating_expenses_by_vendor:12},y=(n,e)=>`${n}_${e}`,m=n=>n.substring(0,n.lastIndexOf("_")),b=(n,e)=>`${n}_${e}`,g=n=>{const[e]=n.split("_");return e},h=n=>{const[e,...r]=n.split("_");return r.join("_")};export{l as _,m as b,a as d,d as g,h,b as l,g as m,y as p,u,p as y};
1
+ import{aN as i}from"./index-Dx_6v6jJ.js";const u=n=>i("0,0.[00]a",n),d=(n,e,r)=>{const o=e.findIndex(c=>c===n);let t=n,s=o<e.length?e[o]:void 0;return r>1&&(t=o-r+1>=0?e[o-r+1]:void 0,t===void 0?s=o===0?e[o+r-1]:e[o+r-2]:s=e[o]),[t,s]},a=n=>{const e=n.recordByTimeseries;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},l=n=>{const e=n.recordByDurations;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},p={net_burn_or_income:5,revenue:5,cash_position:8,operating_expenses:8,cash_in_cash_out:5,operating_expenses_by_vendor:12},y=(n,e)=>`${n}_${e}`,m=n=>n.substring(0,n.lastIndexOf("_")),b=(n,e)=>`${n}_${e}`,g=n=>{const[e]=n.split("_");return e},h=n=>{const[e,...r]=n.split("_");return r.join("_")};export{l as _,m as b,a as d,d as g,h,b as l,g as m,y as p,u,p as y};
@@ -1 +1 @@
1
- import{y as t}from"./index-CzIBPZCT.js";const n=58,e=76,i={transactionItemHeight:n,transactionItemHeightResponsive:new t(e,n),amountWidth:new t(105,200)};export{i as o,e as s};
1
+ import{y as t}from"./index-Dx_6v6jJ.js";const n=58,e=76,i={transactionItemHeight:n,transactionItemHeightResponsive:new t(e,n),amountWidth:new t(105,200)};export{i as o,e as s};
@@ -1,4 +1,4 @@
1
- import{q as x,j as r,ap as g,b$ as M,o as n,bw as P,bP as f,y as h,am as b,O as v,u as c}from"./index-CzIBPZCT.js";import{b as y,n as s,i as S}from"./vendor-Bs1fkIUX.js";import{J as j}from"./CollapsableReportTable-zWMH2vIR-C22nQkwG.js";const p={tooltipLeftPosition:new h(c[0],-156),tooltipTopPosition:new h(c[3],c[4]),tooltipWidth:new h(300,350)},u=S`
1
+ import{q as x,j as r,ap as g,b$ as M,o as n,bw as P,bP as f,y as h,am as b,O as v,u as c}from"./index-Dx_6v6jJ.js";import{b as y,n as s,i as S}from"./vendor-Bs1fkIUX.js";import{J as j}from"./CollapsableReportTable-BiTfvads-DGZbCVGC.js";const p={tooltipLeftPosition:new h(c[0],-156),tooltipTopPosition:new h(c[3],c[4]),tooltipWidth:new h(300,350)},u=S`
2
2
  position: relative;
3
3
  `,z=s.div`
4
4
  color: ${e=>e.theme.colors.primary};
@@ -1 +1 @@
1
- import{ct as n,cu as c,cv as f}from"./index-CzIBPZCT.js";async function w(s,o,e,t,r=!1){t?.(!0);try{const a=await n({urlEndPoint:s,authParams:e,fileType:"pdf"});if(a.ok){const i=c(a.headers,o),l=await a.arrayBuffer();f(l,r?i:o),t?.(!1)}else console.error(`${o} download Failed with ${a.statusText}`),t?.(!1)}catch(a){console.error(`${o} download Failed with ${JSON.stringify(a)}`),t?.(!1)}}export{w};
1
+ import{ct as n,cu as c,cv as f}from"./index-Dx_6v6jJ.js";async function w(s,o,e,t,r=!1){t?.(!0);try{const a=await n({urlEndPoint:s,authParams:e,fileType:"pdf"});if(a.ok){const i=c(a.headers,o),l=await a.arrayBuffer();f(l,r?i:o),t?.(!1)}else console.error(`${o} download Failed with ${a.statusText}`),t?.(!1)}catch(a){console.error(`${o} download Failed with ${JSON.stringify(a)}`),t?.(!1)}}export{w};