@zeniai/web-cockpit-ui 1.14.77-dev → 1.14.78-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 (214) hide show
  1. package/dist/assets/{ACHDetailsPage-BBr3hjKe-D5fkpe-2.js → ACHDetailsPage-BBr3hjKe-DmwgQwoi.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-B-vYofxm-rf8fZb_u.js → AIPerformancePage-B-vYofxm-CueAgSWH.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Cz3aGZOP-BT2ZzJI3.js → AccountInfoPage-Cz3aGZOP-FJwBVSNw.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BhIHvb1W-BJlTTEhS.js → AccountInfoPageContent-BhIHvb1W-Bi6sO2UU.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-DVj5pK2w-Cp-rysBK.js → AccountLockedInfoModal-DVj5pK2w-Btc_Aa5g.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CgOvOCsd-B69PGapm.js → AccountReconDetailsDrawerPage-CgOvOCsd-BuSAT9zG.js} +1 -1
  7. package/dist/assets/{AccountRow-BL5koYgc-BmM-nivC.js → AccountRow-BL5koYgc-Bpp_-jHh.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BU8h97bJ-BEyswV4H.js → AccountsPromoCardStack-BU8h97bJ-D3nglOwm.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-DVZMh4b0-BGAQX2qJ.js → AddAddressForCardDrawer-DVZMh4b0-DDGq-0bk.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-D5-phSVU-BNRQDyfo.js → AddToWalletPage-D5-phSVU-B90KFaVw.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-DO2vxSPF-sBpTZQl0.js → AgingReportsPage-DO2vxSPF-BUs92F8j.js} +1 -1
  12. package/dist/assets/{AllUserItems-Bj10fUCN-DJOR4KZ6.js → AllUserItems-Bj10fUCN-qGukLaqT.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-C94W-Km1-hsqAv4gg.js → ApAgingDetailPage-C94W-Km1-BXTwzcdq.js} +1 -1
  14. package/dist/assets/{AppBasePage-NJuErq7s-Hpp_4mHl.js → AppBasePage-NJuErq7s-DIeVoSim.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DCMF1Jd6-C5qvxHvK.js → AppDrawerContent-DCMF1Jd6-CJVMxrPb.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DEqUEc5k-pU_VmZhL.js → ApprovalRulesSettingsPage-DEqUEc5k-Cf46Z1DA.js} +1 -1
  17. package/dist/assets/{ArAgingChart-CwIX1AQg-BQckCYUN.js → ArAgingChart-CwIX1AQg-BcJlv0pA.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BnVT2zeq-wEf58Az3.js → ArAgingDetailPage-BnVT2zeq-B--ayw4P.js} +1 -1
  19. package/dist/assets/{AttachmentView-C7P-Qoub-DIFKsH_V.js → AttachmentView-C7P-Qoub-CDnUIgK_.js} +1 -1
  20. package/dist/assets/{BankAccountSection-E80ZBAai-BwT4_z1R.js → BankAccountSection-E80ZBAai-B1OPKgYv.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CztvYd12-f9GX3GYi.js → BankAccountWarningSection-CztvYd12-Dd_IuFMa.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-CyJ4kVQ0-Bg9-iPje.js → BankConnectionsSettingsPage-CyJ4kVQ0-D3T4wVxu.js} +1 -1
  23. package/dist/assets/{BillDetailPage-CZFQXWJm-BipVsrQp.js → BillDetailPage-CZFQXWJm-CxPL4aQD.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-B3akEM1B-GtoGEX_V.js → BillPayApprovalRuleDetailPage-B3akEM1B-CaMhGK44.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CVCYQOAl-C2lLyPDr.js → BillPayApprovalRulesPage-CVCYQOAl-B3gc8W6n.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CBDs8wIP-CMkxTF17.js → BillPayPromoPage-CBDs8wIP-d9FWJLH1.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-QnIsNFDl-BVNTiZLa.js → BillPaySetUpPage-QnIsNFDl-BMqpQ1or.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-DwEDJO53-C4jwaJhS.js → BillingSettingsPage-DwEDJO53-CkI8EjUF.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-Dx5gsUBe-CvQACOeN.js → BillsBulkReviewDrawerPage-Dx5gsUBe-C5MR9QSa.js} +1 -1
  30. package/dist/assets/{BoxItem-Cmm6_sNo-C4xsocIs.js → BoxItem-Cmm6_sNo-jBXKL1fn.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-FnZN5SVF-BEsxS46C.js → BusinessVerificationPage-FnZN5SVF-DgfNuHA6.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BWqNeBhp-vSeuTzLs.js → CardNumberSubText-BWqNeBhp-DwG1MbkN.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-6tp15mNj-CV6YFYjY.js → CashbackDetailPage-6tp15mNj-pPE7tSFZ.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DvT8GPmj-CXNkOMHT.js → ChargeCardDetailPage-DvT8GPmj-B488fqhb.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-CcolSO9a-DnpYHoBy.js → ChargeCardListPage-CcolSO9a-B54fDiMP.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-3WcSb2vU-HX8hSxX4.js → ChargeCardListTable-3WcSb2vU-Bsq73eiv.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-C6Fq87Lk-CVlf4fCX.js → ChargeCardPromoPage-C6Fq87Lk-z9cFna3d.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-CfL5Cfh5-BK5KBZwz.js → ChargeCardSetupPage-CfL5Cfh5-Bk5scRHc.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-Dgl3uOoL-Bul3SBAO.js → ChargeCardStatementsPage-Dgl3uOoL-DYw26EN_.js} +1 -1
  40. package/dist/assets/{CheckDepositDrawerPage-DO7f1vLd-DtfGNVRv.js → CheckDepositDrawerPage-DO7f1vLd-DWXHiqvw.js} +1 -1
  41. package/dist/assets/{CollapsableReportTable-CtL_gFPp-CkV43mtd.js → CollapsableReportTable-CtL_gFPp-Dg6T6XvY.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-DhtqyLX4-Br_0wwju.js → CompanyOfficerDetailsSection-DhtqyLX4-8RWV-4yZ.js} +1 -1
  43. package/dist/assets/{CompanyPassportCard-DQk1WcK--CaHxBxoA.js → CompanyPassportCard-DQk1WcK--C4eODASw.js} +1 -1
  44. package/dist/assets/{CompanyPassportPage-BMWNDGSb-CUtTXbpK.js → CompanyPassportPage-BMWNDGSb-BlKD4WUs.js} +1 -1
  45. package/dist/assets/{CompleteProfile-D80H4Rzf-CCD8eayB.js → CompleteProfile-D80H4Rzf-CugRJ2ab.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-yJiBV372-CUHQY3lY.js → ConfettiBurst-yJiBV372-D2z1FK8D.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-rHMje8ez-Cm-3OtXO.js → CreateOrEditVendorPage-rHMje8ez-otONcw2O.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-4OU7Lhdi-BzSVPiCN.js → CreditCardPaymentDrawerPage-4OU7Lhdi-B8u5r9vf.js} +1 -1
  49. package/dist/assets/{CurrencySelectField-COHkbTPk-DeFEIikt.js → CurrencySelectField-COHkbTPk-BQ2JMMs4.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-CJPKW9XR-Ml6BeW9q.js → CustomerOnboardingActivationPage-CJPKW9XR-B_VtYc4q.js} +1 -1
  51. package/dist/assets/CustomerOnboardingContainerPage-BaxDMttb-BmNWLnmJ.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cc2tiqfe-DnhN4_pf.js → CustomerOnboardingDetailPageSkeleton-Cc2tiqfe-LOlDo6YW.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-DC588ynj-B59y3cgE.js → CustomerOnboardingNoStepsPage-DC588ynj-BuQ5PP-4.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingPage-TZNAbEGl-geIq1OtQ.js → CustomerOnboardingPage-TZNAbEGl-BigMHAQ3.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-DBwiHpQh-BEE0PPJ7.js → CustomerOnboardingProductSuitePage-DBwiHpQh-BDemt4nT.js} +1 -1
  56. package/dist/assets/{Dashboard-pJczkSFT-F4abYShh.js → Dashboard-pJczkSFT-BjDVnova.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-8hlyFHVx-CBuen0bm.js → DashboardReportPage-8hlyFHVx-D-kGlzYw.js} +1 -1
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-CUljkJMW-C8bPRaol.js → DashboardSidebarBackgroundAnimation-CUljkJMW-BbliQtGT.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-CRbSf5Q4-02regPop.js → DepositAccTransactionItem-CRbSf5Q4-CjxvITzw.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionListPage-vfY6wjIt-Cqc3Xzal.js → DepositAccTransactionListPage-vfY6wjIt-BGd8XasM.js} +1 -1
  61. package/dist/assets/{DomesticWireDetailsPage-CT0V_5n--xi3tT1Wv.js → DomesticWireDetailsPage-CT0V_5n--BgSez3SD.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-RhapSbyy-C6cAWZe1.js → DownloadOverlay-RhapSbyy-CcDhwAvC.js} +1 -1
  63. package/dist/assets/{DrawerPage-BGxCMICq-PS3ioraN.js → DrawerPage-BGxCMICq-BEnhBXba.js} +1 -1
  64. package/dist/assets/{EditPeoplePage-zkGpgy0E-yHCyVUVa.js → EditPeoplePage-zkGpgy0E-DiNnwKdz.js} +1 -1
  65. package/dist/assets/{EditReimbursementDetailPage-YNr7t4uO-BdSILuhO.js → EditReimbursementDetailPage-YNr7t4uO-cycc5Vxl.js} +1 -1
  66. package/dist/assets/{EntityDetailPage-CvHVRPti-BHfTQCJ-.js → EntityDetailPage-CvHVRPti-CTPZRN3l.js} +1 -1
  67. package/dist/assets/{EntitySummarySection-BL4KXUKt-YeW4boAr.js → EntitySummarySection-BL4KXUKt-D0m_-MYB.js} +1 -1
  68. package/dist/assets/{ExpenseAutomationOverviewPage-cfIfBAdG-CEmEVRE9.js → ExpenseAutomationOverviewPage-cfIfBAdG-CwVBP631.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationPage-w5KBIkzX-xhlWgnDZ.js → ExpenseAutomationPage-w5KBIkzX-DNEr1zFf.js} +1 -1
  70. package/dist/assets/{ExpressPayPage-C0BRzjKh-BiKjl_Qf.js → ExpressPayPage-C0BRzjKh-CGOi26bB.js} +1 -1
  71. package/dist/assets/{FeaturePreviewPage-CvXMDwqC-CdO-u5lW.js → FeaturePreviewPage-CvXMDwqC-D2nsqOAa.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-BhicFBJC-DFOFSWjl.js → FollowStepsSection-BhicFBJC-BnfxYZnB.js} +1 -1
  73. package/dist/assets/{GlobalReviewListPage-NWw4VpLx-tN383rqU.js → GlobalReviewListPage-NWw4VpLx-DimgtLRx.js} +1 -1
  74. package/dist/assets/{InformationCardStack-DPF-q0NU-9dgyrtUk.js → InformationCardStack-DPF-q0NU-BGbDelrw.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-DqXScToX-Bx_vKs-6.js → InsightsCardStack-DqXScToX-BP-E2NoY.js} +1 -1
  76. package/dist/assets/{InsightsSection-89tqblCE-uuhD6SdM.js → InsightsSection-89tqblCE-ryDAJki1.js} +1 -1
  77. package/dist/assets/{IntegrationsSettingsPage-TqeoKF96-dRSdaKpA.js → IntegrationsSettingsPage-TqeoKF96-DjFgrTC9.js} +1 -1
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-B539-ETc-BPQ_NN32.js → InternationalWireSwiftDetailsPage-B539-ETc-BJYLkHkm.js} +1 -1
  79. package/dist/assets/{InternationalWireVerificationPage-de0B053v-D_pa7ZtO.js → InternationalWireVerificationPage-de0B053v-Da5BAs0m.js} +1 -1
  80. package/dist/assets/{InviteFormPage-DAvP-Mqn-Crbr0q0C.js → InviteFormPage-DAvP-Mqn-DH_W3jek.js} +1 -1
  81. package/dist/assets/{InvitePageListView-1fpa5DiR-BBznpCjk.js → InvitePageListView-1fpa5DiR-Duty8Drj.js} +1 -1
  82. package/dist/assets/{InvitePeoplePage-Dty9Mavy-B1SBPRmu.js → InvitePeoplePage-Dty9Mavy-Cg-gVOow.js} +1 -1
  83. package/dist/assets/{InvoiceUploadSection-cqqlOUmi-C8Ti5Ijc.js → InvoiceUploadSection-cqqlOUmi-DLEVVu7D.js} +1 -1
  84. package/dist/assets/{IssueChargeCardPage-B8QKtUJX-SA0D74Vp.js → IssueChargeCardPage-B8QKtUJX-B7vAjThm.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-XDIk4yMe-DNN5hDYQ.js → LabeledAddressValue-XDIk4yMe-CJyAzzU2.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-wQ3ZPcTl-D1GBdPMn.js → LabeledAddressValueField-wQ3ZPcTl-DNcT7ZwQ.js} +1 -1
  87. package/dist/assets/{LabeledControlledCheckBoxField-CXbrD37F-CUaac5Qo.js → LabeledControlledCheckBoxField-CXbrD37F-H_9_5PIU.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-DYSTwuBo-B6wowVFw.js → LabeledCreatableSingleSelectField-DYSTwuBo-Bsd4eNN1.js} +1 -1
  89. package/dist/assets/{LabeledDocumentField-DqyIwz8V-QHncuFzJ.js → LabeledDocumentField-DqyIwz8V-Bzx4zsD_.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-CY8863G0-DtDQhMnq.js → LabeledDropDownFormattedTextField-CY8863G0-Bkq0hwt5.js} +1 -1
  91. package/dist/assets/{LabeledText-BwCD1YQu-DxliBKES.js → LabeledText-BwCD1YQu-Dnz64xNR.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Dx_h7UNS-BCuQrMuo.js → LabeledUserSingleSelectWithSubtitlesField-Dx_h7UNS-DIhFjHJX.js} +1 -1
  93. package/dist/assets/{LabeledZeniRolesDropDownField-CV7z94YU-DGTxjUB9.js → LabeledZeniRolesDropDownField-CV7z94YU-Co56sLUc.js} +1 -1
  94. package/dist/assets/{LinkJETransactionPage-D1y5q5Wg-B6EXKbXf.js → LinkJETransactionPage-D1y5q5Wg-BCM3URA3.js} +1 -1
  95. package/dist/assets/{LockCardPage-Bh3qAiju-Duq-Gfhh.js → LockCardPage-Bh3qAiju-BAUaH8uW.js} +1 -1
  96. package/dist/assets/{LowBalancePopup-BnLcsJ93-aqiLAy0A.js → LowBalancePopup-BnLcsJ93-DQb9af0_.js} +1 -1
  97. package/dist/assets/{MagicLinkACHDetailsPage-BZ2OEqOP-NNQx7CDc.js → MagicLinkACHDetailsPage-BZ2OEqOP-BO-M2hPx.js} +1 -1
  98. package/dist/assets/{MagicLinkDomesticWireDetailsPage-V_TzduIL-Cwar92lg.js → MagicLinkDomesticWireDetailsPage-V_TzduIL-YMgVYU0E.js} +1 -1
  99. package/dist/assets/{MagicLinkInternationalWireDetailsPage-Z-ssCodH-BFhy70BN.js → MagicLinkInternationalWireDetailsPage-Z-ssCodH-BMKh3rhe.js} +1 -1
  100. package/dist/assets/{MagicLinkSuccessPage-h-3JwH0l-DDqdxhCt.js → MagicLinkSuccessPage-h-3JwH0l-D-x6rG6N.js} +1 -1
  101. package/dist/assets/{MagicLinkTitleSection-BvFcpyWQ-DDYyJy_Z.js → MagicLinkTitleSection-BvFcpyWQ-Ctzp_qom.js} +1 -1
  102. package/dist/assets/{MailingDetailsSection-BvORwvuJ-DnxUHOkA.js → MailingDetailsSection-BvORwvuJ-Cd8besCn.js} +1 -1
  103. package/dist/assets/{Menu-Be5LGB2P-DsOdzOpl.js → Menu-Be5LGB2P-CY6k6YNk.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-CpUST0yD-BETq7xDt.js → MyBankConnectionsSettingsPage-CpUST0yD-CmwjSncm.js} +1 -1
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-FwhUaTr1-B6KUW9zC.js → MyPendingActivationChargeCardListPage-FwhUaTr1-DLJn8rxm.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-BssE8V9S-B2KeQPNY.js → MyProfileSettingsPage-BssE8V9S-CkDMste5.js} +1 -1
  107. package/dist/assets/{NavBarWithPicker-DcLSQEDR-D_E52spf.js → NavBarWithPicker-DcLSQEDR-D-B1uB5d.js} +1 -1
  108. package/dist/assets/{NavigationArrow-BGfn2Qeo-CKIQ2MUL.js → NavigationArrow-BGfn2Qeo-BONpvrR8.js} +1 -1
  109. package/dist/assets/{NavigationDots-Du9pIMPO-BiVursfr.js → NavigationDots-Du9pIMPO-CLHhrXU0.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-oxKXaotj-Jg0f1xPl.js → NewGlobalMerchantPage-oxKXaotj-D5xy9dWr.js} +1 -1
  111. package/dist/assets/{NoDataChart-rSvTjDyU-Dtl-Ye9e.js → NoDataChart-rSvTjDyU-DQQLbTol.js} +1 -1
  112. package/dist/assets/{NoDataTable-D-FagLTd-C2HkN3bx.js → NoDataTable-D-FagLTd-CarE1NA4.js} +1 -1
  113. package/dist/assets/{NotFoundPage-Bjlp3h5o-BsTchV6n.js → NotFoundPage-Bjlp3h5o-BNqVD4co.js} +1 -1
  114. package/dist/assets/{NotificationSettingsPage-DLdHPA7P-DKGNIz2E.js → NotificationSettingsPage-DLdHPA7P-BZOLK1Qb.js} +1 -1
  115. package/dist/assets/{NotificationsListConfig-61mZY8cq-22UTSxtK.js → NotificationsListConfig-61mZY8cq-DLiCun9F.js} +1 -1
  116. package/dist/assets/{NotificationsPage-BV6UT90B-CAiKBjdU.js → NotificationsPage-BV6UT90B-DVI13tX7.js} +1 -1
  117. package/dist/assets/{OpExByVendorPage-C2uIYLJE-CIyLowgu.js → OpExByVendorPage-C2uIYLJE-DFWs8V6z.js} +1 -1
  118. package/dist/assets/{OverlayContainerPage-BKHs_4eI-BOmeFpef.js → OverlayContainerPage-BKHs_4eI-LY1o0G26.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-011GoPMW-CnrSQN4T.js → PandLWithForecastPage-011GoPMW-QgazKKL3.js} +1 -1
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-FIKucVHC-Cc7j51TR.js → PaymentAccountSetupBillingAddressSection-FIKucVHC-CKfxBiCA.js} +1 -1
  121. package/dist/assets/{PeoplePage-D73jfjjL-TzVM8Bg2.js → PeoplePage-D73jfjjL-DH7xyfFs.js} +1 -1
  122. package/dist/assets/{ProductsCarousel-B2I3MkC--5AJjU9Sq.js → ProductsCarousel-B2I3MkC--B24RD0jf.js} +1 -1
  123. package/dist/assets/{PromoBaseCards-K94TnRI--DBlFv-5k.js → PromoBaseCards-K94TnRI--8YuYiWbK.js} +1 -1
  124. package/dist/assets/{QBOConnectionDialog-BElkJYqc-BNdlJrHz.js → QBOConnectionDialog-BElkJYqc-CMHpBrQ7.js} +1 -1
  125. package/dist/assets/{QBOSetupSection-BM1ND3Rh-BQGalRL0.js → QBOSetupSection-BM1ND3Rh-D7ZnyPew.js} +1 -1
  126. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CTK_6r1g-BCfBdKHK.js → ReimbursementApprovalRuleDetailPage-CTK_6r1g-DIQfqQG8.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRulesPage-2BX5dPNw-BB-5TKtZ.js → ReimbursementApprovalRulesPage-2BX5dPNw-DFdrMNyB.js} +1 -1
  128. package/dist/assets/{ReimbursementDetailPage-DCt2BBxN-C8-6Zytr.js → ReimbursementDetailPage-DCt2BBxN-CE0p8p3R.js} +1 -1
  129. package/dist/assets/{ReimbursementPromoPage-BFhBDfxP-C-xvtdo7.js → ReimbursementPromoPage-BFhBDfxP-SCkb1hCR.js} +1 -1
  130. package/dist/assets/{ReimbursementSetUpPage-CtuEiJUp-CckPcXVM.js → ReimbursementSetUpPage-CtuEiJUp-D0GXD8e2.js} +1 -1
  131. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DLAi8-G--dfG92lEc.js → ReimbursementsBulkReviewDrawerPage-DLAi8-G--RlDocKGe.js} +1 -1
  132. package/dist/assets/{ReloadCard-r88gK1Nl-C4akCefe.js → ReloadCard-r88gK1Nl-Cj6LuWAm.js} +1 -1
  133. package/dist/assets/{ReportTableViewSelector-DfEmPzs8-Bvb_A5q0.js → ReportTableViewSelector-DfEmPzs8-VvrOK2Wc.js} +1 -1
  134. package/dist/assets/{ReportsPage-DKyERqNb-BHo-B8w6.js → ReportsPage-DKyERqNb-CncdZXHz.js} +1 -1
  135. package/dist/assets/{RevenueChart-Cm8B-tgV-oYum4-TT.js → RevenueChart-Cm8B-tgV-Q8YY96MD.js} +1 -1
  136. package/dist/assets/{ReviewDetailsPage-DCWJANse-CMmvpx6o.js → ReviewDetailsPage-DCWJANse-mD4kJALB.js} +1 -1
  137. package/dist/assets/{ReviewOverlay-euS8ygX5-CRsTnRi0.js → ReviewOverlay-euS8ygX5-TmwkPaQL.js} +1 -1
  138. package/dist/assets/{RoleWithToolTip-DBoLqf02-DN5VQlrc.js → RoleWithToolTip-DBoLqf02-BSy4p3TF.js} +1 -1
  139. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ben60pXV-DkwDQOZp.js → ScheduleDetailsFixedAssetsPage-Ben60pXV-aXNE7Oa2.js} +1 -1
  140. package/dist/assets/{ScheduleDetailsPage-CoSd_hY0-BdyOEoBW.js → ScheduleDetailsPage-CoSd_hY0-EO4RGNbr.js} +1 -1
  141. package/dist/assets/{ScheduleSequenceTable-DNaegdk6-DI4ICHe2.js → ScheduleSequenceTable-DNaegdk6-CcoyMFia.js} +1 -1
  142. package/dist/assets/{ScreenRoutes-DMFKVgan.js → ScreenRoutes-D4KW_Kl1.js} +1 -1
  143. package/dist/assets/{SetUpAccountSection-r3-A3Qt7-LNY_NNkU.js → SetUpAccountSection-r3-A3Qt7-BMiHEXgf.js} +1 -1
  144. package/dist/assets/{SignIn-BZiwaRoI-DHv7-oT3.js → SignIn-BZiwaRoI-DOcbjUGN.js} +1 -1
  145. package/dist/assets/{SignInScreen-DJ6KjA2x.js → SignInScreen-CEi1t656.js} +1 -1
  146. package/dist/assets/{SpendManagementListViewPage-CbIlUHNO-DNlwuHDu.js → SpendManagementListViewPage-CbIlUHNO-CjKfkEA0.js} +3 -3
  147. package/dist/assets/{SpendManagementPerTabPage-Bzztq_eL-C4sGBi4a.js → SpendManagementPerTabPage-Bzztq_eL-Cr7PhexU.js} +1 -1
  148. package/dist/assets/{SpendManagementSection-CfZUGMdU-CGsdWNLf.js → SpendManagementSection-CfZUGMdU-CsD5w1-P.js} +1 -1
  149. package/dist/assets/{StatementItem-1oYAnZBe-D03h9Q7s.js → StatementItem-1oYAnZBe-DB3PV1fI.js} +1 -1
  150. package/dist/assets/{StatementsPage-Dij9AQNC-BC8CTi2A.js → StatementsPage-Dij9AQNC-BtPV87P1.js} +1 -1
  151. package/dist/assets/{StatusSwitcher-DkXBTB62-DhdjTr6x.js → StatusSwitcher-DkXBTB62-CFNeW9jw.js} +1 -1
  152. package/dist/assets/{SubTabSwitcher-V4wilVXH-C-8V_awp.js → SubTabSwitcher-V4wilVXH-CzhwAGtW.js} +1 -1
  153. package/dist/assets/{SummaryCard-BL_m-4zh-CDFC0Ztz.js → SummaryCard-BL_m-4zh-h3wWysWj.js} +1 -1
  154. package/dist/assets/{TaskManagementPage-BajeQTSZ-BLagQTNp.js → TaskManagementPage-BajeQTSZ-oU5PnTQx.js} +1 -1
  155. package/dist/assets/{TimeRangeSwitcher-CAsAYfkz-BG3ITw5C.js → TimeRangeSwitcher-CAsAYfkz-B9S7W-fy.js} +1 -1
  156. package/dist/assets/{TimeframeSwitcher-pwO8bqPA-BClXqirn.js → TimeframeSwitcher-pwO8bqPA-qyPTOgRD.js} +1 -1
  157. package/dist/assets/{TimeframeSwitcherWithToggle-CylL4Wwl-1NSVHFj7.js → TimeframeSwitcherWithToggle-CylL4Wwl-BGYiQzX6.js} +1 -1
  158. package/dist/assets/{TopExCard-8b4BYDqW-BbqkFsZV.js → TopExCard-8b4BYDqW-Bim2d0Qx.js} +1 -1
  159. package/dist/assets/{TopExDetailPage-BwYkPIGL-C-KU0Xgc.js → TopExDetailPage-BwYkPIGL-CVnPqhCW.js} +1 -1
  160. package/dist/assets/{TransactionDetailPage-asV0VD04-CIYWHtia.js → TransactionDetailPage-asV0VD04-Dku7lGAG.js} +1 -1
  161. package/dist/assets/{TransactionList-BTYUuFF0-D4pvH0Gk.js → TransactionList-BTYUuFF0-BuGQJ-J9.js} +1 -1
  162. package/dist/assets/{TransactionListBig-EEgwS3bL-DCx36_32.js → TransactionListBig-EEgwS3bL-CIwl52Hz.js} +1 -1
  163. package/dist/assets/{TransactionListPage-JcTgXQlG-CL4Auneu.js → TransactionListPage-JcTgXQlG-BteCsgoO.js} +1 -1
  164. package/dist/assets/{TransactionVendorDetailPage-3i4vhXP0-nIw-NIR1.js → TransactionVendorDetailPage-3i4vhXP0-CJ9heHyn.js} +1 -1
  165. package/dist/assets/{TransferDrawerPage-lxqmIEDE-BAZAQVUU.js → TransferDrawerPage-lxqmIEDE-BTFpzMFt.js} +1 -1
  166. package/dist/assets/{TreasuryOverviewPage-Dtg3XYHp-DPO4_Xbj.js → TreasuryOverviewPage-Dtg3XYHp-CCQT-UC5.js} +1 -1
  167. package/dist/assets/{TreasuryPromoPage-9JgpPvwF-CmrigQBJ.js → TreasuryPromoPage-9JgpPvwF-DMINdkdp.js} +1 -1
  168. package/dist/assets/{TreasuryStatementsPage-C_n6todR-pHGU-KYa.js → TreasuryStatementsPage-C_n6todR-PS0jq9KZ.js} +1 -1
  169. package/dist/assets/{TreasuryTaxLetterPage-BkUuZRBn-YWhijSHf.js → TreasuryTaxLetterPage-BkUuZRBn-I-amf3Wl.js} +1 -1
  170. package/dist/assets/{TrendChart-jDPeWiPY-DMikpEFL.js → TrendChart-jDPeWiPY-BnzV3ZRK.js} +1 -1
  171. package/dist/assets/{TrendWithTransactions-Ci3vAGZ6-BZu1lWsL.js → TrendWithTransactions-Ci3vAGZ6-oc-MZ3OM.js} +1 -1
  172. package/dist/assets/{UncategorizedAccountsMappingPage-cKYwTc7z-l1eYTQTX.js → UncategorizedAccountsMappingPage-cKYwTc7z-C1i7CQ_v.js} +1 -1
  173. package/dist/assets/{UnitIntegrationPage-CdoyFTUL-CVgi1h1Y.js → UnitIntegrationPage-CdoyFTUL-BrI6cogt.js} +1 -1
  174. package/dist/assets/{UploadAdditionalDocumentOverlay-RzDi2m23-BBDOJSNX.js → UploadAdditionalDocumentOverlay-RzDi2m23-UJEPC3YG.js} +1 -1
  175. package/dist/assets/{Vendor2FAPopup-CZQ1MJ_y-CcCKYwlq.js → Vendor2FAPopup-CZQ1MJ_y-594P_oEM.js} +1 -1
  176. package/dist/assets/{VendorACHDetailsPage-D4y31eUn-DcT1lA7o.js → VendorACHDetailsPage-D4y31eUn-I4g49nVk.js} +1 -1
  177. package/dist/assets/{VendorDetailPage-BldaRW5A-DkNUCXKB.js → VendorDetailPage-BldaRW5A-3THD9kjc.js} +1 -1
  178. package/dist/assets/{VendorDomesticWireDetailsPage-C12NRy8p-CLevce3-.js → VendorDomesticWireDetailsPage-C12NRy8p-B97Bk30e.js} +1 -1
  179. package/dist/assets/{VendorFiling1099EditablePage-B3y2ImTz-DqsOjlGn.js → VendorFiling1099EditablePage-B3y2ImTz-Cp7HifGj.js} +1 -1
  180. package/dist/assets/{VendorFirstReviewPage-e3aUtVX3-CAGdpyF7.js → VendorFirstReviewPage-e3aUtVX3-DYYyJDQQ.js} +1 -1
  181. package/dist/assets/{VendorInternationalWireDetailsPage-CMPGutjq-Ehi9r-8Q.js → VendorInternationalWireDetailsPage-CMPGutjq-DFsWu_Yo.js} +1 -1
  182. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-OEKIn5Ns-DJv33Iju.js → VendorInternationalWireSwiftDetailsPage-OEKIn5Ns-CfEbfNrV.js} +1 -1
  183. package/dist/assets/{VendorsAccountsSection-BihANnr3-ClgiKnnl.js → VendorsAccountsSection-BihANnr3-4NcXxJkz.js} +1 -1
  184. package/dist/assets/{VerifyDevice-BTvVtu6y-CnNZwECi.js → VerifyDevice-BTvVtu6y-BAv_Ifby.js} +1 -1
  185. package/dist/assets/{VideoPlayer-DfTUoEz0-CVuJu_Sa.js → VideoPlayer-DfTUoEz0-B6gHyXB7.js} +1 -1
  186. package/dist/assets/{VideoPopup-B0Q_OHQY-CCTjloJH.js → VideoPopup-B0Q_OHQY-CZuLXJYU.js} +1 -1
  187. package/dist/assets/{WarningsDrawerPage-CrqblZGy-bq2Ur97O.js → WarningsDrawerPage-CrqblZGy-c6lT3LQ-.js} +1 -1
  188. package/dist/assets/{ZeniAccountDetailPage-DlUMJ31l-C21U5Q7-.js → ZeniAccountDetailPage-DlUMJ31l-DiqR28EO.js} +1 -1
  189. package/dist/assets/{ZeniAccountListViewPage-B5eFGMk6-BDDsntJX.js → ZeniAccountListViewPage-B5eFGMk6-BE7J63qD.js} +1 -1
  190. package/dist/assets/{ZeniAccountNavBarPieces-DHS4RmYE-DibSWfYN.js → ZeniAccountNavBarPieces-DHS4RmYE-DDcjTqab.js} +1 -1
  191. package/dist/assets/{ZeniAccountPromoPage-BSm60eyo-DgiGt0bt.js → ZeniAccountPromoPage-BSm60eyo-CCm0IHWc.js} +1 -1
  192. package/dist/assets/{ZeniAccountSetupPage-CmW6e4wI-KrK3xeis.js → ZeniAccountSetupPage-CmW6e4wI-C2eyAbwK.js} +1 -1
  193. package/dist/assets/{ZeniCopyright-FdRtkqZd-Booi4M4Y.js → ZeniCopyright-FdRtkqZd-BaAr1xYE.js} +1 -1
  194. package/dist/assets/{ZeniTransferAmountSlider-BFufV56Y-CxZfXBqE.js → ZeniTransferAmountSlider-BFufV56Y-D41zguuQ.js} +1 -1
  195. package/dist/assets/{analyticsHelper-Bp-WofY6-Bx4e7Rp5.js → analyticsHelper-Bp-WofY6-1T9Q3X9o.js} +1 -1
  196. package/dist/assets/{analyticsHelper-DGm32o7e.js → analyticsHelper-Cj-s21r4.js} +1 -1
  197. package/dist/assets/{chartTypes-B2M-L_2B-X6Pvna2n.js → chartTypes-B2M-L_2B-SreV-bCP.js} +1 -1
  198. package/dist/assets/{commonDimensions-V7mnkdlI-DXkQM65Q.js → commonDimensions-V7mnkdlI-CWlmDNp9.js} +1 -1
  199. package/dist/assets/{detailCommon-DwrYiaFL-CZxMNb_E.js → detailCommon-DwrYiaFL-Cfj_XDMA.js} +1 -1
  200. package/dist/assets/{downloadPdf-Byh_NifO-DgJRaqDX.js → downloadPdf-Byh_NifO-N2Gc_x_k.js} +1 -1
  201. package/dist/assets/{index-irDTvtzc.js → index-BjVZjrQv.js} +4 -4
  202. package/dist/assets/{mapLoadingInProgressToTreeNode-D6GLjoFV-ChGuYzON.js → mapLoadingInProgressToTreeNode-D6GLjoFV-DnVjrkk_.js} +1 -1
  203. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D-8W8W6B-e1b6kRRx.js → mapSectionWithAcOnlyToTreeNode-D-8W8W6B-BX7_EeNM.js} +1 -1
  204. package/dist/assets/{mapSpacerToTreeNode-ByHELHOn-CCGvhoGH.js → mapSpacerToTreeNode-ByHELHOn-BqjPN0Y-.js} +1 -1
  205. package/dist/assets/{mapTimeframeBalancesToTreeNode-B-c4aUT4-DmiHohU2.js → mapTimeframeBalancesToTreeNode-B-c4aUT4-_2PZ_vTn.js} +1 -1
  206. package/dist/assets/{mapTimeframeBalancesToTreeNode-BJ934QgM-B-Ol7Lov.js → mapTimeframeBalancesToTreeNode-BJ934QgM-CGOvn-ke.js} +1 -1
  207. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-pA0oPIQY-Drr4_Y5Z.js → mapTimeframeHeaderLoadingInProgressToTreeNode-pA0oPIQY-C25ssS0K.js} +1 -1
  208. package/dist/assets/{toCOABalancesWithID-Db8tb9a8-BL0OzGuW.js → toCOABalancesWithID-Db8tb9a8-Dmlg7uwX.js} +1 -1
  209. package/dist/assets/{toChartData-DAKm9HcI-BxEXtpd_.js → toChartData-DAKm9HcI-tf17V8KM.js} +1 -1
  210. package/dist/assets/{uploadAttachment-BEGz93Tv-DtgpLsZN.js → uploadAttachment-BEGz93Tv-Cnzo2OiR.js} +1 -1
  211. package/dist/assets/{uploadReceipts-Dp1dvCjf-DCxafwIo.js → uploadReceipts-Dp1dvCjf-Jq1nuUKw.js} +1 -1
  212. package/dist/index.html +1 -1
  213. package/package.json +2 -2
  214. package/dist/assets/CustomerOnboardingContainerPage-BaxDMttb-BRLxKbhl.js +0 -1
@@ -1,4 +1,4 @@
1
- import{j as t,o,ai as p,F as u}from"./index-irDTvtzc.js";import{n as i}from"./vendor-Bs1fkIUX.js";const f=i.div`
1
+ import{j as t,o,ai as p,F as u}from"./index-BjVZjrQv.js";import{n as i}from"./vendor-Bs1fkIUX.js";const f=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{q as c,j as t,y as n,ai as x,bP as w}from"./index-irDTvtzc.js";import{n as r}from"./vendor-Bs1fkIUX.js";import{b as l}from"./TimeframeSwitcher-pwO8bqPA-BClXqirn.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
1
+ import{q as c,j as t,y as n,ai as x,bP as w}from"./index-BjVZjrQv.js";import{n as r}from"./vendor-Bs1fkIUX.js";import{b as l}from"./TimeframeSwitcher-pwO8bqPA-qyPTOgRD.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aC as V,q as R,j as t,d as f,bR as T,bi as C,bh as S,bV as E,c1 as k,u as x,aX as _,b as L,c2 as q,c3 as H,aN as X,l as F,aK as G,o as p,ai as $,b9 as N,am as Y,F as A,aL as J,aM as Q,aR as O,b2 as U,b3 as W,aS as Z,c4 as ee}from"./index-irDTvtzc.js";import{w,b as te,n as g}from"./vendor-Bs1fkIUX.js";import{z as ae,I as re}from"./ReloadCard-r88gK1Nl-C4akCefe.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const ie=g(O)`
1
+ import{aC as V,q as R,j as t,d as f,bR as T,bi as C,bh as S,bV as E,c1 as k,u as x,aX as _,b as L,c2 as q,c3 as H,aN as X,l as F,aK as G,o as p,ai as $,b9 as N,am as Y,F as A,aL as J,aM as Q,aR as O,b2 as U,b3 as W,aS as Z,c4 as ee}from"./index-BjVZjrQv.js";import{w,b as te,n as g}from"./vendor-Bs1fkIUX.js";import{z as ae,I as re}from"./ReloadCard-r88gK1Nl-Cj6LuWAm.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const ie=g(O)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{d as v,q as S,l as A,j as t,bG as B,F as u,aN as b,b3 as H,D as z,o as i,y as E,c0 as P,bx as F,u as c,p as V,am as y,aM as T,a$ as D}from"./index-irDTvtzc.js";import{n as l,w as M,b as o}from"./vendor-Bs1fkIUX.js";import{E as _,I as L}from"./TopExCard-8b4BYDqW-BbqkFsZV.js";import{b as Z}from"./TimeframeSwitcher-pwO8bqPA-BClXqirn.js";import{d as I}from"./NoDataTable-D-FagLTd-C2HkN3bx.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./ReloadCard-r88gK1Nl-C4akCefe.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const j="141px",O=i.sp4,N="123px",R=l(D)`
1
+ import{d as v,q as S,l as A,j as t,bG as B,F as u,aN as b,b3 as H,D as z,o as i,y as E,c0 as P,bx as F,u as c,p as V,am as y,aM as T,a$ as D}from"./index-BjVZjrQv.js";import{n as l,w as M,b as o}from"./vendor-Bs1fkIUX.js";import{E as _,I as L}from"./TopExCard-8b4BYDqW-Bim2d0Qx.js";import{b as Z}from"./TimeframeSwitcher-pwO8bqPA-qyPTOgRD.js";import{d as I}from"./NoDataTable-D-FagLTd-CarE1NA4.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./ReloadCard-r88gK1Nl-Cj6LuWAm.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const j="141px",O=i.sp4,N="123px",R=l(D)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{J as Un,Q as qn,d as Et,aa as Fn,q as ae,F as q,aP as Yt,e8 as Wn,e9 as Hn,cT as Gn,aC as Zn,ea as tn,l as me,eb as Yn,j as i,aM as F,ad as Jn,bG as Qn,ec as Xn,ed as Kn,k as ai,ee as ki,aQ as ea,y as N,ef as ta,eg as nn,eh as an,ei as on,ej as Oe,ek as Le,el as _e,em as et,en as tt,eo as kt,ep as zt,eq as it,er as ft,es as At,et as Vt,eu as Jt,ev as ee,ew as Kt,ex as ue,ey as pe,aJ as ia,ez as Tt,eA as zi,eB as na,n as aa,cE as oa,o as a,cs as sa,eC as la,u as O,D as xi,p as le,ar as Ii,ba as oi,r as ra,eD as ca,cz as da,cx as si,aN as je,d4 as lt,eE as ua,eF as Wt,aT as sn,d9 as pa,eG as ma,cv as ha,cw as ga,am as ye,a$ as fa,dp as ya,eH as ln,eI as Qt,eJ as Xt,eK as pi,dA as ba,b3 as xa,cI as va,dc as Di,a9 as rn,eL as ei,eM as ti,eN as cn,da as dn,c6 as Ti,eO as mi,dF as hi,eP as wa,bx as Ca,eQ as $a,eR as Ai,eS as Ia,az as Da,dd as Ta,eT as Oa,B as un,eU as pn,bQ as La,eV as Vi,eW as mn,eX as hn,eY as gn,bO as rt,av as ja,au as Sa,dN as ka,b as fn,eZ as za,bM as Aa,L as Va,an as Ra,t as Ea,aV as vi}from"./index-irDTvtzc.js";import{b as w,n as l,w as Ot}from"./vendor-Bs1fkIUX.js";import{x as Ri}from"./LabeledControlledCheckBoxField-CXbrD37F-CUaac5Qo.js";import{R as Pa}from"./TrendWithTransactions-Ci3vAGZ6-BZu1lWsL.js";import{u as _a,c as Na,d as Ba,m as Ma}from"./uploadAttachment-BEGz93Tv-DtgpLsZN.js";import{o as Ua}from"./radio-default-CiSgisfh-Cuu8ymvq.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./TrendChart-jDPeWiPY-DMikpEFL.js";import"./chartTypes-B2M-L_2B-X6Pvna2n.js";import"./toCOABalancesWithID-Db8tb9a8-BL0OzGuW.js";import"./toChartData-DAKm9HcI-BxEXtpd_.js";import"./NoDataChart-rSvTjDyU-Dtl-Ye9e.js";import"./InsightsSection-89tqblCE-uuhD6SdM.js";import"./NavigationDots-Du9pIMPO-BiVursfr.js";import"./TransactionList-BTYUuFF0-D4pvH0Gk.js";import"./BoxItem-Cmm6_sNo-C4xsocIs.js";import"./commonDimensions-V7mnkdlI-DXkQM65Q.js";const qa={headerMarginTop:new N(O[7],O[8])},Fa=l(ye)`
1
+ import{J as Un,Q as qn,d as Et,aa as Fn,q as ae,F as q,aP as Yt,e8 as Wn,e9 as Hn,cT as Gn,aC as Zn,ea as tn,l as me,eb as Yn,j as i,aM as F,ad as Jn,bG as Qn,ec as Xn,ed as Kn,k as ai,ee as ki,aQ as ea,y as N,ef as ta,eg as nn,eh as an,ei as on,ej as Oe,ek as Le,el as _e,em as et,en as tt,eo as kt,ep as zt,eq as it,er as ft,es as At,et as Vt,eu as Jt,ev as ee,ew as Kt,ex as ue,ey as pe,aJ as ia,ez as Tt,eA as zi,eB as na,n as aa,cE as oa,o as a,cs as sa,eC as la,u as O,D as xi,p as le,ar as Ii,ba as oi,r as ra,eD as ca,cz as da,cx as si,aN as je,d4 as lt,eE as ua,eF as Wt,aT as sn,d9 as pa,eG as ma,cv as ha,cw as ga,am as ye,a$ as fa,dp as ya,eH as ln,eI as Qt,eJ as Xt,eK as pi,dA as ba,b3 as xa,cI as va,dc as Di,a9 as rn,eL as ei,eM as ti,eN as cn,da as dn,c6 as Ti,eO as mi,dF as hi,eP as wa,bx as Ca,eQ as $a,eR as Ai,eS as Ia,az as Da,dd as Ta,eT as Oa,B as un,eU as pn,bQ as La,eV as Vi,eW as mn,eX as hn,eY as gn,bO as rt,av as ja,au as Sa,dN as ka,b as fn,eZ as za,bM as Aa,L as Va,an as Ra,t as Ea,aV as vi}from"./index-BjVZjrQv.js";import{b as w,n as l,w as Ot}from"./vendor-Bs1fkIUX.js";import{x as Ri}from"./LabeledControlledCheckBoxField-CXbrD37F-H_9_5PIU.js";import{R as Pa}from"./TrendWithTransactions-Ci3vAGZ6-oc-MZ3OM.js";import{u as _a,c as Na,d as Ba,m as Ma}from"./uploadAttachment-BEGz93Tv-Cnzo2OiR.js";import{o as Ua}from"./radio-default-CiSgisfh-Cuu8ymvq.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./TrendChart-jDPeWiPY-BnzV3ZRK.js";import"./chartTypes-B2M-L_2B-SreV-bCP.js";import"./toCOABalancesWithID-Db8tb9a8-Dmlg7uwX.js";import"./toChartData-DAKm9HcI-tf17V8KM.js";import"./NoDataChart-rSvTjDyU-DQQLbTol.js";import"./InsightsSection-89tqblCE-ryDAJki1.js";import"./NavigationDots-Du9pIMPO-CLHhrXU0.js";import"./TransactionList-BTYUuFF0-BuGQJ-J9.js";import"./BoxItem-Cmm6_sNo-jBXKL1fn.js";import"./commonDimensions-V7mnkdlI-CWlmDNp9.js";const qa={headerMarginTop:new N(O[7],O[8])},Fa=l(ye)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Wa=l(ye)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{cs as rt,q as B,j as e,b3 as nt,aM as u,dA as st,F as v,dB as lt,du as dt,dC as ct,o as a,p as Z,cI as mt,y as U,l as m,k as ft,am as j,u as b,ai as xt,dD as W,dg as G,aN as J,an as ut}from"./index-irDTvtzc.js";import{b as g,n as s,w as ht}from"./vendor-Bs1fkIUX.js";import{g as _}from"./BoxItem-Cmm6_sNo-C4xsocIs.js";import{o as E}from"./commonDimensions-V7mnkdlI-DXkQM65Q.js";const D=t=>t?24:125,pt={containerPaddingBottom:new U(b[9],b[8])},V=s.div`
1
+ import{cs as rt,q as B,j as e,b3 as nt,aM as u,dA as st,F as v,dB as lt,du as dt,dC as ct,o as a,p as Z,cI as mt,y as U,l as m,k as ft,am as j,u as b,ai as xt,dD as W,dg as G,aN as J,an as ut}from"./index-BjVZjrQv.js";import{b as g,n as s,w as ht}from"./vendor-Bs1fkIUX.js";import{g as _}from"./BoxItem-Cmm6_sNo-jBXKL1fn.js";import{o as E}from"./commonDimensions-V7mnkdlI-CWlmDNp9.js";const D=t=>t?24:125,pt={containerPaddingBottom:new U(b[9],b[8])},V=s.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{y as a,q as L,ax as W,aD as ie,aX as ne,l as B,j as t,aM as x,b3 as re,F as w,u as n,b as ae,p as D,o,B as j,M as X,bv as se,bw as le,ai as de,ar as ce,aN as me,bx as pe,ap as he,k as ue,n as Z,D as G,by as Q,aS as ee}from"./index-irDTvtzc.js";import{b as N,n as i,w as f,i as ge}from"./vendor-Bs1fkIUX.js";import{Y as xe,c as we}from"./AccountsPromoCardStack-BU8h97bJ-BEyswV4H.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./SummaryCard-BL_m-4zh-CDFC0Ztz.js";import"./ReloadCard-r88gK1Nl-C4akCefe.js";import"./NavigationArrow-BGfn2Qeo-CKIQ2MUL.js";import"./NavigationDots-Du9pIMPO-BiVursfr.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
1
+ import{y as a,q as L,ax as W,aD as ie,aX as ne,l as B,j as t,aM as x,b3 as re,F as w,u as n,b as ae,p as D,o,B as j,M as X,bv as se,bw as le,ai as de,ar as ce,aN as me,bx as pe,ap as he,k as ue,n as Z,D as G,by as Q,aS as ee}from"./index-BjVZjrQv.js";import{b as N,n as i,w as f,i as ge}from"./vendor-Bs1fkIUX.js";import{Y as xe,c as we}from"./AccountsPromoCardStack-BU8h97bJ-D3nglOwm.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./SummaryCard-BL_m-4zh-h3wWysWj.js";import"./ReloadCard-r88gK1Nl-Cj6LuWAm.js";import"./NavigationArrow-BGfn2Qeo-BONpvrR8.js";import"./NavigationDots-Du9pIMPO-CLHhrXU0.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,be=i.div`
@@ -1,4 +1,4 @@
1
- import{d as A,bE as M,bF as z,j as o,aM as u,bG as G,k as _,bH as H,o as n,am as Q}from"./index-irDTvtzc.js";import{b as r,n as l}from"./vendor-Bs1fkIUX.js";import{f as X}from"./TransactionList-BTYUuFF0-D4pvH0Gk.js";import{t as Z}from"./page-detail-CWX5S47F-lMo0MYzU.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BoxItem-Cmm6_sNo-C4xsocIs.js";import"./commonDimensions-V7mnkdlI-DXkQM65Q.js";const q=l.div`
1
+ import{d as A,bE as M,bF as z,j as o,aM as u,bG as G,k as _,bH as H,o as n,am as Q}from"./index-BjVZjrQv.js";import{b as r,n as l}from"./vendor-Bs1fkIUX.js";import{f as X}from"./TransactionList-BTYUuFF0-BuGQJ-J9.js";import{t as Z}from"./page-detail-CWX5S47F-lMo0MYzU.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BoxItem-Cmm6_sNo-jBXKL1fn.js";import"./commonDimensions-V7mnkdlI-CWlmDNp9.js";const q=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{q as k,F as A,j as o,k as R,aM as D,aQ as W,o as a,y as g,L as _,B as J,di as Q,aa as U,hj as F,hk as B,hl as M,cT as X,ad as G,u as r,d as K,cW as Y,gX as z,hq as Z,b7 as ee,hu as oe,hv as te}from"./index-irDTvtzc.js";import{b as j,n as d}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const O=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=k(),y=K(),$=N.labelWidth.value(l),I=N.controlWidth.value(l),P=n=>h.filter(L=>L.accountId===n)[0]?.coaId??"",s=n=>C.filter(L=>L.classId===n)[0]?.accountingClassNumber??"",S=n=>{const L=h.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(L??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:B(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:p,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:M(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:I}):null]})]})},re=d.div`
1
+ import{q as k,F as A,j as o,k as R,aM as D,aQ as W,o as a,y as g,L as _,B as J,di as Q,aa as U,hj as F,hk as B,hl as M,cT as X,ad as G,u as r,d as K,cW as Y,gX as z,hq as Z,b7 as ee,hu as oe,hv as te}from"./index-BjVZjrQv.js";import{b as j,n as d}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const O=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=k(),y=K(),$=N.labelWidth.value(l),I=N.controlWidth.value(l),P=n=>h.filter(L=>L.accountId===n)[0]?.coaId??"",s=n=>C.filter(L=>L.classId===n)[0]?.accountingClassNumber??"",S=n=>{const L=h.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(L??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:B(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:p,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:M(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:I}):null]})]})},re=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{j as t,q as ue,aM as A,hD as lt,F as I,aN as G,n as ve,hP as ct,k as Ye,aQ as $e,o as a,y as c,L as Ne,c as dt,b9 as ut,ar as ft,a as De,ai as be,am as fe,aP as ce,fL as pt,aa as Xe,l as mt,cT as ht,aX as gt,aO as wt,p as Z,ad as qe,fZ as ke,f_ as Ae,gp as xt,c6 as ye,gj as $t,hQ as Dt,u as o,fC as bt,cx as Ge,cf as yt,dn as Tt,bQ as Ct,an as Qe,fT as St,dN as vt,ch as Ze,hE as kt,hG as At}from"./index-irDTvtzc.js";import{b as u,n}from"./vendor-Bs1fkIUX.js";import{v as Lt}from"./ZeniTransferAmountSlider-BFufV56Y-CxZfXBqE.js";import{r as Pt}from"./AccountInfoPageContent-BhIHvb1W-BJlTTEhS.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./downloadPdf-Byh_NifO-DgJRaqDX.js";import"./commonDimensions-V7mnkdlI-DXkQM65Q.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",jt="transferTo",Le="transferFrom",k="transferDetails",Je="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:U,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),H=r.transferMoneyPartiesFetchState,oe=ce(H),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),He=u.useCallback(s=>{O?.(s),E(),N(!1),z(!1)},[E,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),L=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||s)&&L.reset(Pe(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,Te,ee,X,me,pe,L,r,q]);const{isValid:tt}=L.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};U(le)}};u.useEffect(()=>{const s=L.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[L,r.transferMoneyParties]),u.useEffect(()=>{const s=L.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=L.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&L.setValue(`${k}.${Le}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Z.heroLight}})})]})}):null,t.jsx(Yt,{children:G("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...L,children:t.jsxs(Mt,{id:Ke(Je),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Le),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ue),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Gt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Lt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Qt,{windowSize:i,children:[t.jsx(Jt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${G("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${G("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Pe=(e,r)=>({transferDetails:{[Ue]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
1
+ import{j as t,q as ue,aM as A,hD as lt,F as I,aN as G,n as ve,hP as ct,k as Ye,aQ as $e,o as a,y as c,L as Ne,c as dt,b9 as ut,ar as ft,a as De,ai as be,am as fe,aP as ce,fL as pt,aa as Xe,l as mt,cT as ht,aX as gt,aO as wt,p as Z,ad as qe,fZ as ke,f_ as Ae,gp as xt,c6 as ye,gj as $t,hQ as Dt,u as o,fC as bt,cx as Ge,cf as yt,dn as Tt,bQ as Ct,an as Qe,fT as St,dN as vt,ch as Ze,hE as kt,hG as At}from"./index-BjVZjrQv.js";import{b as u,n}from"./vendor-Bs1fkIUX.js";import{v as Lt}from"./ZeniTransferAmountSlider-BFufV56Y-D41zguuQ.js";import{r as Pt}from"./AccountInfoPageContent-BhIHvb1W-Bi6sO2UU.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./downloadPdf-Byh_NifO-N2Gc_x_k.js";import"./commonDimensions-V7mnkdlI-CWlmDNp9.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",jt="transferTo",Le="transferFrom",k="transferDetails",Je="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:U,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),H=r.transferMoneyPartiesFetchState,oe=ce(H),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),He=u.useCallback(s=>{O?.(s),E(),N(!1),z(!1)},[E,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),L=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||s)&&L.reset(Pe(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,Te,ee,X,me,pe,L,r,q]);const{isValid:tt}=L.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};U(le)}};u.useEffect(()=>{const s=L.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[L,r.transferMoneyParties]),u.useEffect(()=>{const s=L.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=L.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&L.setValue(`${k}.${Le}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Z.heroLight}})})]})}):null,t.jsx(Yt,{children:G("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...L,children:t.jsxs(Mt,{id:Ke(Je),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Le),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ue),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Gt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Lt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Qt,{windowSize:i,children:[t.jsx(Jt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${G("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${G("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Pe=(e,r)=>({transferDetails:{[Ue]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{q as C,d as M,a9 as Fe,cs as Ke,j as t,F as L,aN as V,c6 as re,bG as We,b as ie,aM as E,k as Ve,o as i,ai as k,p as w,bQ as Ee,y,fu as q,B as R,l as W,u as p,hI as le,bf as de,bi as ce,bh as he,bg as pe,bT as Ge,b4 as ae,b_ as Le,aS as Me,ax as Ue,g5 as Je,ha as _e,n as qe,am as A,a$ as Xe,jC as Ze,kd as Qe,bl as et,f1 as tt,ds as it,fT as ot,l9 as nt,ja as Ae,jb as Be,cI as rt,j1 as at,j2 as st,la as lt,c4 as dt,an as G,cN as xe,j9 as ct,cQ as ht}from"./index-irDTvtzc.js";import{b as f,n as o,w as pt,i as ge}from"./vendor-Bs1fkIUX.js";import{s as xt}from"./commonDimensions-V7mnkdlI-DXkQM65Q.js";import{g as me}from"./BoxItem-Cmm6_sNo-C4xsocIs.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CGEA36Na.js";import{o as mt}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Be),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function wt({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const h=M(),l=C(),[r,u]=f.useState(oe());f.useEffect(()=>{const c=[...r];for(const s of c)s.key===n.sortKey?s.sortOrder=n.sortOrder:s.sortOrder="ascending";u(c)},[n.sortKey,n.sortOrder]);const d=(c,s)=>{let m=s;n.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),a(c,m)},g=r.find(c=>c.key===n.sortKey)??r[0],x=c=>r.find(s=>s.key===c)?.value??"",$=r.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:n.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(G,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:n.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:n.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:r.map(c=>c.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":E("cards-list-sort-clicked",n.sortKey),children:[t.jsx(G,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:n.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:n.sortKey===c.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===c.key&&c.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",n.sortKey)})})]},c.key))})})}const $t=pt.memo(wt),jt=o.div`
1
+ import{q as C,d as M,a9 as Fe,cs as Ke,j as t,F as L,aN as V,c6 as re,bG as We,b as ie,aM as E,k as Ve,o as i,ai as k,p as w,bQ as Ee,y,fu as q,B as R,l as W,u as p,hI as le,bf as de,bi as ce,bh as he,bg as pe,bT as Ge,b4 as ae,b_ as Le,aS as Me,ax as Ue,g5 as Je,ha as _e,n as qe,am as A,a$ as Xe,jC as Ze,kd as Qe,bl as et,f1 as tt,ds as it,fT as ot,l9 as nt,ja as Ae,jb as Be,cI as rt,j1 as at,j2 as st,la as lt,c4 as dt,an as G,cN as xe,j9 as ct,cQ as ht}from"./index-BjVZjrQv.js";import{b as f,n as o,w as pt,i as ge}from"./vendor-Bs1fkIUX.js";import{s as xt}from"./commonDimensions-V7mnkdlI-CWlmDNp9.js";import{g as me}from"./BoxItem-Cmm6_sNo-jBXKL1fn.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CGEA36Na.js";import{o as mt}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Be),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function wt({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const h=M(),l=C(),[r,u]=f.useState(oe());f.useEffect(()=>{const c=[...r];for(const s of c)s.key===n.sortKey?s.sortOrder=n.sortOrder:s.sortOrder="ascending";u(c)},[n.sortKey,n.sortOrder]);const d=(c,s)=>{let m=s;n.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),a(c,m)},g=r.find(c=>c.key===n.sortKey)??r[0],x=c=>r.find(s=>s.key===c)?.value??"",$=r.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:n.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(G,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:n.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:n.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:r.map(c=>c.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":E("cards-list-sort-clicked",n.sortKey),children:[t.jsx(G,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:n.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:n.sortKey===c.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===c.key&&c.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",n.sortKey)})})]},c.key))})})}const $t=pt.memo(wt),jt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{d as ce,q as A,ax as $e,a9 as fe,aP as ye,l as ke,F,j as r,bG as je,fG as be,b4 as Se,o as i,jC as ze,c6 as ve,ai as j,n as Q,aM as Z,B as $,ar as O,p as a,y as z,am as R,ds as Le,c8 as Me,c as Be,an as Pe,fo as Ee,u as h,e5 as Te,bk as Ie,a as De,L as We,b as ee,di as _e}from"./index-irDTvtzc.js";import{b as s,n as t,w as Re}from"./vendor-Bs1fkIUX.js";import{I as Ge,K as He}from"./VideoPlayer-DfTUoEz0-CVuJu_Sa.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as Ae}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const Fe=({isOpen:e,onClose:C})=>{const c=A(),x=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ee,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Oe,{windowSize:c,children:[r.jsx(Ve,{children:r.jsx(Ye,{onClick:C})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(re,{children:x.agreementDrawer.intro}),r.jsx(H,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(H,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Je,{children:p.links.map((g,k)=>r.jsx(Qe,{children:g.link!==""?r.jsx(ie,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(ie,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:i.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(H,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Oe=t.div`
1
+ import{d as ce,q as A,ax as $e,a9 as fe,aP as ye,l as ke,F,j as r,bG as je,fG as be,b4 as Se,o as i,jC as ze,c6 as ve,ai as j,n as Q,aM as Z,B as $,ar as O,p as a,y as z,am as R,ds as Le,c8 as Me,c as Be,an as Pe,fo as Ee,u as h,e5 as Te,bk as Ie,a as De,L as We,b as ee,di as _e}from"./index-BjVZjrQv.js";import{b as s,n as t,w as Re}from"./vendor-Bs1fkIUX.js";import{I as Ge,K as He}from"./VideoPlayer-DfTUoEz0-B6gHyXB7.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as Ae}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const Fe=({isOpen:e,onClose:C})=>{const c=A(),x=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ee,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Oe,{windowSize:c,children:[r.jsx(Ve,{children:r.jsx(Ye,{onClick:C})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(re,{children:x.agreementDrawer.intro}),r.jsx(H,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(H,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Je,{children:p.links.map((g,k)=>r.jsx(Qe,{children:g.link!==""?r.jsx(ie,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(ie,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:i.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(H,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Oe=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{d as j,q as v,j as t,bG as z,F as P,b3 as C,o as r,p as c,cI as I,y as R,u as d,am as T}from"./index-irDTvtzc.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";import{$ as B}from"./BoxItem-Cmm6_sNo-C4xsocIs.js";import{o as E}from"./commonDimensions-V7mnkdlI-DXkQM65Q.js";import{O as L}from"./StatementItem-1oYAnZBe-D03h9Q7s.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./downloadPdf-Byh_NifO-DgJRaqDX.js";const h=P.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new R(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>E.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:B(s,a.statements.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(K,{children:h.noStatements})})})})};return t.jsxs(H,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(O,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,p=o.div`
1
+ import{d as j,q as v,j as t,bG as z,F as P,b3 as C,o as r,p as c,cI as I,y as R,u as d,am as T}from"./index-BjVZjrQv.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";import{$ as B}from"./BoxItem-Cmm6_sNo-jBXKL1fn.js";import{o as E}from"./commonDimensions-V7mnkdlI-CWlmDNp9.js";import{O as L}from"./StatementItem-1oYAnZBe-DB3PV1fI.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./downloadPdf-Byh_NifO-N2Gc_x_k.js";const h=P.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new R(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>E.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:B(s,a.statements.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(K,{children:h.noStatements})})})})};return t.jsxs(H,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(O,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,p=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{d as S,q as v,j as t,bG as L,F as z,b3 as P,o as r,p as c,cI as C,y as I,u as d,am as T}from"./index-irDTvtzc.js";import{b as h,n as o}from"./vendor-Bs1fkIUX.js";import{$ as R}from"./BoxItem-Cmm6_sNo-C4xsocIs.js";import{o as B}from"./commonDimensions-V7mnkdlI-DXkQM65Q.js";import{O as E}from"./StatementItem-1oYAnZBe-D03h9Q7s.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./downloadPdf-Byh_NifO-DgJRaqDX.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:b,taxLetterListView:a,onBackClick:u})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>B.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:b,documentType:"taxLetter",boxType:R(s,a.taxLetters.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(K,{children:p.noTaxLetter})})})})};return t.jsxs(H,{children:[t.jsx(L,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(O,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},M=o.div``,m=o.div`
1
+ import{d as S,q as v,j as t,bG as L,F as z,b3 as P,o as r,p as c,cI as C,y as I,u as d,am as T}from"./index-BjVZjrQv.js";import{b as h,n as o}from"./vendor-Bs1fkIUX.js";import{$ as R}from"./BoxItem-Cmm6_sNo-jBXKL1fn.js";import{o as B}from"./commonDimensions-V7mnkdlI-CWlmDNp9.js";import{O as E}from"./StatementItem-1oYAnZBe-DB3PV1fI.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./downloadPdf-Byh_NifO-N2Gc_x_k.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:b,taxLetterListView:a,onBackClick:u})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>B.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:b,documentType:"taxLetter",boxType:R(s,a.taxLetters.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(K,{children:p.noTaxLetter})})})})};return t.jsxs(H,{children:[t.jsx(L,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(O,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},M=o.div``,m=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{F as Y,j as i,l as u,d as R,aM as w,b3 as Z,bR as z,bS as A,bi as B,b as k,bh as P,aX as O,bT as q,bj as _,bV as G,o as L,p as K,am as N}from"./index-irDTvtzc.js";import{b as D,w as V,n as $}from"./vendor-Bs1fkIUX.js";import{d as W,g as T,p as v,u as X}from"./chartTypes-B2M-L_2B-X6Pvna2n.js";import{o as Q}from"./toCOABalancesWithID-Db8tb9a8-BL0OzGuW.js";import{V as H}from"./toChartData-DAKm9HcI-BxEXtpd_.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const I=$.div`
1
+ import{F as Y,j as i,l as u,d as R,aM as w,b3 as Z,bR as z,bS as A,bi as B,b as k,bh as P,aX as O,bT as q,bj as _,bV as G,o as L,p as K,am as N}from"./index-BjVZjrQv.js";import{b as D,w as V,n as $}from"./vendor-Bs1fkIUX.js";import{d as W,g as T,p as v,u as X}from"./chartTypes-B2M-L_2B-SreV-bCP.js";import{o as Q}from"./toCOABalancesWithID-Db8tb9a8-Dmlg7uwX.js";import{V as H}from"./toChartData-DAKm9HcI-tf17V8KM.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const I=$.div`
2
2
  display: flex;
3
3
  `,J=$.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{q as D,j as i,k as R,o as t,F,y as c,aM as S,b3 as A,b7 as Y,a as E,u as a,am as K,L as V}from"./index-irDTvtzc.js";import{b as H,n}from"./vendor-Bs1fkIUX.js";import W from"./TrendChart-jDPeWiPY-DMikpEFL.js";import{C as _}from"./NoDataChart-rSvTjDyU-Dtl-Ye9e.js";import{q as X}from"./InsightsSection-89tqblCE-uuhD6SdM.js";import{f as Z}from"./TransactionList-BTYUuFF0-D4pvH0Gk.js";const G=n.div`
1
+ import{q as D,j as i,k as R,o as t,F,y as c,aM as S,b3 as A,b7 as Y,a as E,u as a,am as K,L as V}from"./index-BjVZjrQv.js";import{b as H,n}from"./vendor-Bs1fkIUX.js";import W from"./TrendChart-jDPeWiPY-BnzV3ZRK.js";import{C as _}from"./NoDataChart-rSvTjDyU-DQQLbTol.js";import{q as X}from"./InsightsSection-89tqblCE-ryDAJki1.js";import{f as Z}from"./TransactionList-BTYUuFF0-BuGQJ-J9.js";const G=n.div`
2
2
  display: inline-block;
3
3
  `,J=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{d as ce,q as se,ax as Ke,aP as en,gS as R,h$ as U,F as H,aa as nn,i0 as tn,i1 as Te,cT as on,j as t,bG as cn,cE as sn,cF as ln,cG as an,ad as dn,l as J,i2 as rn,k as un,i3 as Y,i4 as pn,aQ as mn,fK as gn,i5 as _e,y as u,am as xn,o as l,d4 as fe,aU as W,gX as oe,i6 as ie,u as r,B as Ae,p as $e,gi as Ve,ai as Se,bn as hn}from"./index-irDTvtzc.js";import{b as X,n as s}from"./vendor-Bs1fkIUX.js";import{h as wn}from"./VendorsAccountsSection-BihANnr3-ClgiKnnl.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
1
+ import{d as ce,q as se,ax as Ke,aP as en,gS as R,h$ as U,F as H,aa as nn,i0 as tn,i1 as Te,cT as on,j as t,bG as cn,cE as sn,cF as ln,cG as an,ad as dn,l as J,i2 as rn,k as un,i3 as Y,i4 as pn,aQ as mn,fK as gn,i5 as _e,y as u,am as xn,o as l,d4 as fe,aU as W,gX as oe,i6 as ie,u as r,B as Ae,p as $e,gi as Ve,ai as Se,bn as hn}from"./index-BjVZjrQv.js";import{b as X,n as s}from"./vendor-Bs1fkIUX.js";import{h as wn}from"./VendorsAccountsSection-BihANnr3-4NcXxJkz.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aP as b,j as t,i8 as R,i9 as _,q as F,F as O,cE as U,af as C,cF as z,cG as N,aa as G,ad as M,d0 as H,l as T,cY as D,y as g,cZ as Y,p as A,ap as J,k as Z,n as K,o as i,am as Q,u as E,ar as X,ba as ee}from"./index-irDTvtzc.js";import{b as c,n as f}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(E[3],E[2]),width:new g(300,420,420)},te=f.div`
1
+ import{aP as b,j as t,i8 as R,i9 as _,q as F,F as O,cE as U,af as C,cF as z,cG as N,aa as G,ad as M,d0 as H,l as T,cY as D,y as g,cZ as Y,p as A,ap as J,k as Z,n as K,o as i,am as Q,u as E,ar as X,ba as ee}from"./index-BjVZjrQv.js";import{b as c,n as f}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(E[3],E[2]),width:new g(300,420,420)},te=f.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{aa as M,fV as g,aP as k,l as W,q,F as A,j as i,cT as _,ad as G,aM as Q,fW as H,o as a,p as J,d1 as K,aQ as X,y as x,L as Y,a as Z,ba as ee,b9 as te,u as c}from"./index-irDTvtzc.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(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=M({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,b]=m.useState(!1),[N,B]=m.useState(!1),S=k(f.fetchState),j=t?.deleteFileStatusById??{},L=t?.updateFileStatusById??{},O=Object.values(j??{}).filter(l=>l!=null),T=W.reduceAllFetchState(O);m.useEffect(()=>{S==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}})},[S,f,n,t?.additionalFiles]);const r=q(),h=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:y}=h,V=`${y.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{T.fetchState!=="In-Progress"&&D?.(t?.officerType??"Officer_1")}),U=async(l,p)=>{const d=p[u].front;l.includes("front")&&d?.fileId!=null?(z?.(t?.officerType??"Officer_1",[d?.fileId]),b(!0)):b(!1)};return m.useEffect(()=>{const l=n.watch((p,{name:d})=>{d!=null&&p!=null&&_(()=>U(d,p))});return()=>{l.unsubscribe()}}),i.jsx(G,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":Q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:y.title[s]}),i.jsx(ae,{children:y.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:V})}),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:g(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:L,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onFileSizeError:l=>B(l),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=o(Z)`
1
+ import{aa as M,fV as g,aP as k,l as W,q,F as A,j as i,cT as _,ad as G,aM as Q,fW as H,o as a,p as J,d1 as K,aQ as X,y as x,L as Y,a as Z,ba as ee,b9 as te,u as c}from"./index-BjVZjrQv.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(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=M({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,b]=m.useState(!1),[N,B]=m.useState(!1),S=k(f.fetchState),j=t?.deleteFileStatusById??{},L=t?.updateFileStatusById??{},O=Object.values(j??{}).filter(l=>l!=null),T=W.reduceAllFetchState(O);m.useEffect(()=>{S==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}})},[S,f,n,t?.additionalFiles]);const r=q(),h=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:y}=h,V=`${y.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{T.fetchState!=="In-Progress"&&D?.(t?.officerType??"Officer_1")}),U=async(l,p)=>{const d=p[u].front;l.includes("front")&&d?.fileId!=null?(z?.(t?.officerType??"Officer_1",[d?.fileId]),b(!0)):b(!1)};return m.useEffect(()=>{const l=n.watch((p,{name:d})=>{d!=null&&p!=null&&_(()=>U(d,p))});return()=>{l.unsubscribe()}}),i.jsx(G,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":Q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:y.title[s]}),i.jsx(ae,{children:y.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:V})}),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:g(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:L,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onFileSizeError:l=>B(l),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=o(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,F as b,j as i,i8 as j,i9 as v}from"./index-irDTvtzc.js";import{b as e}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const H=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:d,onResendOtp:h,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:V,newVendorState:g}=S,r=Object.assign({},V??g),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),P=b.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(j,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:h,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(v,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:E=>d?.(E)}}):null})};export{H as default};
1
+ import{aP as o,F as b,j as i,i8 as j,i9 as v}from"./index-BjVZjrQv.js";import{b as e}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const H=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:d,onResendOtp:h,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:V,newVendorState:g}=S,r=Object.assign({},V??g),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),P=b.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(j,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:h,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(v,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:E=>d?.(E)}}):null})};export{H as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-irDTvtzc.js";import{b as d}from"./vendor-Bs1fkIUX.js";import{f as k}from"./ACHDetailsPage-BBr3hjKe-D5fkpe-2.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BankAccountWarningSection-CztvYd12-f9GX3GYi.js";import"./MagicLinkTitleSection-BvFcpyWQ-DDYyJy_Z.js";import"./BankAccountSection-E80ZBAai-BwT4_z1R.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-BjVZjrQv.js";import{b as d}from"./vendor-Bs1fkIUX.js";import{f as k}from"./ACHDetailsPage-BBr3hjKe-DmwgQwoi.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BankAccountWarningSection-CztvYd12-Dd_IuFMa.js";import"./MagicLinkTitleSection-BvFcpyWQ-Ctzp_qom.js";import"./BankAccountSection-E80ZBAai-B1OPKgYv.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
@@ -1,4 +1,4 @@
1
- import{F as _,d as Be,q as ne,y as g,aC as be,l as se,cV as xt,aa as yt,hj as Re,hk as Ae,hl as Ee,hm as fe,hn as bt,aU as ft,cT as wt,j as t,bG as Ct,ad as $t,ho as St,hp as ue,u as l,cU as Dt,aQ as jt,o,b$ as S,d4 as Tt,gX as we,hq as Lt,cW as Vt,cX as kt,cY as It,hr as Ot,gq as Pt,d2 as Mt,hs as zt,ht as Ft,p as F,dM as _t,dL as Nt,dg as Wt,aX as de,b7 as Ue,ai as Ye,dN as Ht,a$ as Bt,hu as Rt,hv as At,am as Et,hw as Ut,cx as qe,hx as Yt,B as Ce,M as Ge}from"./index-irDTvtzc.js";import{b as $,n as a,i as qt}from"./vendor-Bs1fkIUX.js";import{k as Gt}from"./SubTabSwitcher-V4wilVXH-C-8V_awp.js";import{f as Qt}from"./TransactionList-BTYUuFF0-D4pvH0Gk.js";import{R as Xt}from"./TrendWithTransactions-Ci3vAGZ6-BZu1lWsL.js";import{o as Zt,t as Jt}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{W as Kt}from"./LabeledAddressValueField-wQ3ZPcTl-D1GBdPMn.js";import{Y as es}from"./LabeledDropDownFormattedTextField-CY8863G0-DtDQhMnq.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BoxItem-Cmm6_sNo-C4xsocIs.js";import"./commonDimensions-V7mnkdlI-DXkQM65Q.js";import"./TrendChart-jDPeWiPY-DMikpEFL.js";import"./chartTypes-B2M-L_2B-X6Pvna2n.js";import"./toCOABalancesWithID-Db8tb9a8-BL0OzGuW.js";import"./toChartData-DAKm9HcI-BxEXtpd_.js";import"./NoDataChart-rSvTjDyU-Dtl-Ye9e.js";import"./InsightsSection-89tqblCE-uuhD6SdM.js";import"./NavigationDots-Du9pIMPO-BiVursfr.js";const ts=a.div`
1
+ import{F as _,d as Be,q as ne,y as g,aC as be,l as se,cV as xt,aa as yt,hj as Re,hk as Ae,hl as Ee,hm as fe,hn as bt,aU as ft,cT as wt,j as t,bG as Ct,ad as $t,ho as St,hp as ue,u as l,cU as Dt,aQ as jt,o,b$ as S,d4 as Tt,gX as we,hq as Lt,cW as Vt,cX as kt,cY as It,hr as Ot,gq as Pt,d2 as Mt,hs as zt,ht as Ft,p as F,dM as _t,dL as Nt,dg as Wt,aX as de,b7 as Ue,ai as Ye,dN as Ht,a$ as Bt,hu as Rt,hv as At,am as Et,hw as Ut,cx as qe,hx as Yt,B as Ce,M as Ge}from"./index-BjVZjrQv.js";import{b as $,n as a,i as qt}from"./vendor-Bs1fkIUX.js";import{k as Gt}from"./SubTabSwitcher-V4wilVXH-CzhwAGtW.js";import{f as Qt}from"./TransactionList-BTYUuFF0-BuGQJ-J9.js";import{R as Xt}from"./TrendWithTransactions-Ci3vAGZ6-oc-MZ3OM.js";import{o as Zt,t as Jt}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{W as Kt}from"./LabeledAddressValueField-wQ3ZPcTl-DNcT7ZwQ.js";import{Y as es}from"./LabeledDropDownFormattedTextField-CY8863G0-Bkq0hwt5.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BoxItem-Cmm6_sNo-jBXKL1fn.js";import"./commonDimensions-V7mnkdlI-CWlmDNp9.js";import"./TrendChart-jDPeWiPY-BnzV3ZRK.js";import"./chartTypes-B2M-L_2B-SreV-bCP.js";import"./toCOABalancesWithID-Db8tb9a8-Dmlg7uwX.js";import"./toChartData-DAKm9HcI-tf17V8KM.js";import"./NoDataChart-rSvTjDyU-DQQLbTol.js";import"./InsightsSection-89tqblCE-ryDAJki1.js";import"./NavigationDots-Du9pIMPO-CLHhrXU0.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-irDTvtzc.js";import{b as C}from"./vendor-Bs1fkIUX.js";import{D as b}from"./DomesticWireDetailsPage-CT0V_5n--xi3tT1Wv.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BankAccountSection-E80ZBAai-BwT4_z1R.js";import"./MagicLinkTitleSection-BvFcpyWQ-DDYyJy_Z.js";import"./BankAccountWarningSection-CztvYd12-f9GX3GYi.js";import"./MailingDetailsSection-BvORwvuJ-DnxUHOkA.js";import"./LabeledAddressValueField-wQ3ZPcTl-D1GBdPMn.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-BjVZjrQv.js";import{b as C}from"./vendor-Bs1fkIUX.js";import{D as b}from"./DomesticWireDetailsPage-CT0V_5n--BgSez3SD.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BankAccountSection-E80ZBAai-B1OPKgYv.js";import"./MagicLinkTitleSection-BvFcpyWQ-Ctzp_qom.js";import"./BankAccountWarningSection-CztvYd12-Dd_IuFMa.js";import"./MailingDetailsSection-BvORwvuJ-Cd8besCn.js";import"./LabeledAddressValueField-wQ3ZPcTl-DNcT7ZwQ.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,d as Ne,F as ne,aa as ke,dk as G,hy as de,cT as Be,y as w,j as t,bG as Ae,aM as Ee,ad as We,cW as C,o as s,c_ as Re,hr as qe,gq as Oe,d2 as Me,hs as He,ht as Ye,da as Ge,aQ as Ue,dc as Ke,dl as Ze,u as c,L as _e,b$ as D,cR as Qe,hz as Je,p as I,Y as Xe,cx as et,am as ce,eZ as tt,hA as st,hB as lt,hC as M,dm as it}from"./index-irDTvtzc.js";import{b as y,n as a}from"./vendor-Bs1fkIUX.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-CY8863G0-DtDQhMnq.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.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 E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style: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(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{q as oe,d as Ne,F as ne,aa as ke,dk as G,hy as de,cT as Be,y as w,j as t,bG as Ae,aM as Ee,ad as We,cW as C,o as s,c_ as Re,hr as qe,gq as Oe,d2 as Me,hs as He,ht as Ye,da as Ge,aQ as Ue,dc as Ke,dl as Ze,u as c,L as _e,b$ as D,cR as Qe,hz as Je,p as I,Y as Xe,cx as et,am as ce,eZ as tt,hA as st,hB as lt,hC as M,dm as it}from"./index-BjVZjrQv.js";import{b as y,n as a}from"./vendor-Bs1fkIUX.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-CY8863G0-Bkq0hwt5.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.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 E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style: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(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{q as ae,ax as Nn,d as mn,aa as nt,ik as Pe,cT as tt,az as On,il as ie,im as ve,io as fe,ip as be,iq as me,F as je,j as n,ig as ot,ad as rt,bG as it,ab as st,cE as at,cF as lt,cG as dt,c8 as ct,aM as J,b_ as mt,cB as pt,b3 as ut,dH as ht,cI as gt,y as w,k as wt,D as Ne,o as t,aT as In,am as De,aS as xt,u as c,ai as Re,cN as vt,l as zn,dM as Pn,b$ as ze,bm as Tn,cQ as ft,ce as bt,dZ as $t,ba as Je,by as pn,p as F,r as Dn,h9 as St,dD as wn,dg as rn,ir as yt,is as sn,ap as jt,c6 as Fe,e7 as Rt,eO as xn,bQ as Vt,dO as Ct,n as vn,it as kt,d4 as Mt,dc as Nt,dd as Ot,eT as It,an as Ln,iu as zt,bO as se,iv as fn,gZ as Pt,av as Tt,au as Dt,dN as Lt,b as _n,B as _t,t as At,aV as dn}from"./index-irDTvtzc.js";import{b as f,n as o,i as cn}from"./vendor-Bs1fkIUX.js";import{r as Bt}from"./mui-Ty75qFQF.js";import{P as Ft}from"./Menu-Be5LGB2P-DsOdzOpl.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const An=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(Wt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Et=o.div`
1
+ import{q as ae,ax as Nn,d as mn,aa as nt,ik as Pe,cT as tt,az as On,il as ie,im as ve,io as fe,ip as be,iq as me,F as je,j as n,ig as ot,ad as rt,bG as it,ab as st,cE as at,cF as lt,cG as dt,c8 as ct,aM as J,b_ as mt,cB as pt,b3 as ut,dH as ht,cI as gt,y as w,k as wt,D as Ne,o as t,aT as In,am as De,aS as xt,u as c,ai as Re,cN as vt,l as zn,dM as Pn,b$ as ze,bm as Tn,cQ as ft,ce as bt,dZ as $t,ba as Je,by as pn,p as F,r as Dn,h9 as St,dD as wn,dg as rn,ir as yt,is as sn,ap as jt,c6 as Fe,e7 as Rt,eO as xn,bQ as Vt,dO as Ct,n as vn,it as kt,d4 as Mt,dc as Nt,dd as Ot,eT as It,an as Ln,iu as zt,bO as se,iv as fn,gZ as Pt,av as Tt,au as Dt,dN as Lt,b as _n,B as _t,t as At,aV as dn}from"./index-BjVZjrQv.js";import{b as f,n as o,i as cn}from"./vendor-Bs1fkIUX.js";import{r as Bt}from"./mui-Ty75qFQF.js";import{P as Ft}from"./Menu-Be5LGB2P-CY6k6YNk.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const An=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(Wt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(qt,{}):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,F as U,cT as ye,aC as ge,l as Y,cE as be,cF as fe,cG as xe,ad as ve,aQ as we,y as p,dk as le,dl as Ce,o as y,b9 as $e,d4 as oe,d as ne,dm as je,dn as J,da as G,b1 as H,cW as De,dp as Te,u as a,dc as ke,aM as Fe,p as V,k as Se,B as Oe,c6 as Ae,ai as Le,bQ as We}from"./index-irDTvtzc.js";import{b as R,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Ie}from"./BankAccountWarningSection-CztvYd12-f9GX3GYi.js";import{T as Re}from"./MailingDetailsSection-BvORwvuJ-DnxUHOkA.js";import{S as Pe}from"./CurrencySelectField-COHkbTPk-DeFEIikt.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./LabeledAddressValueField-wQ3ZPcTl-D1GBdPMn.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:F=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),j=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Se,{size:"Small",start:!0})});if(F&&D||j){let c=null;return o===!0&&F&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":Fe("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(_e,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const Be=g.div`
1
+ import{j as t,q as Q,aa as he,F as U,cT as ye,aC as ge,l as Y,cE as be,cF as fe,cG as xe,ad as ve,aQ as we,y as p,dk as le,dl as Ce,o as y,b9 as $e,d4 as oe,d as ne,dm as je,dn as J,da as G,b1 as H,cW as De,dp as Te,u as a,dc as ke,aM as Fe,p as V,k as Se,B as Oe,c6 as Ae,ai as Le,bQ as We}from"./index-BjVZjrQv.js";import{b as R,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Ie}from"./BankAccountWarningSection-CztvYd12-Dd_IuFMa.js";import{T as Re}from"./MailingDetailsSection-BvORwvuJ-Cd8besCn.js";import{S as Pe}from"./CurrencySelectField-COHkbTPk-BQ2JMMs4.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./LabeledAddressValueField-wQ3ZPcTl-DNcT7ZwQ.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:F=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),j=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Se,{size:"Small",start:!0})});if(F&&D||j){let c=null;return o===!0&&F&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":Fe("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(_e,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const Be=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-irDTvtzc.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-B539-ETc-BPQ_NN32.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BankAccountWarningSection-CztvYd12-f9GX3GYi.js";import"./MailingDetailsSection-BvORwvuJ-DnxUHOkA.js";import"./LabeledAddressValueField-wQ3ZPcTl-D1GBdPMn.js";import"./MagicLinkTitleSection-BvFcpyWQ-DDYyJy_Z.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
1
+ import{j as l}from"./index-BjVZjrQv.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-B539-ETc-BJYLkHkm.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BankAccountWarningSection-CztvYd12-Dd_IuFMa.js";import"./MailingDetailsSection-BvORwvuJ-Cd8besCn.js";import"./LabeledAddressValueField-wQ3ZPcTl-DNcT7ZwQ.js";import"./MagicLinkTitleSection-BvFcpyWQ-Ctzp_qom.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,d as oe,F as te,y as c,gS as w,aU as T,j as i,i7 as m,i6 as g,o as n,B as re,p as ne,dT as se,ai as le,u as a}from"./index-irDTvtzc.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},k={title:new re("standardMedium","largeMedium")},de=l.div`
1
+ import{q as ie,d as oe,F as te,y as c,gS as w,aU as T,j as i,i7 as m,i6 as g,o as n,B as re,p as ne,dT as se,ai as le,u as a}from"./index-BjVZjrQv.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},k={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 U,F as L,j as r,c5 as B,ab as d,l as Q,ad as W,c6 as X,ai as f,c7 as Z,o as n,n as D,c8 as q,am as N,c9 as G,ca as C,bQ as J,p as y,ba as b,cb as K}from"./index-irDTvtzc.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-DVj5pK2w-Cp-rysBK.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./handshake-BPg58FML-BpN0H-2S.js";const ee=e=>{if(!e)return"";try{const s=G(e);if(!s){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const p=s.countryCallingCode,x=s.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const s=e.replace(/\D/g,"");if(s.length>=4){const p=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},F=120,I=30,V=2,re="456px",te="256px",O=6,o=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Te=e=>{const s=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,S]=c.useState(F),[h,w]=c.useState(I),E=A(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),_=()=>{e.onCancelVerifyDevice()},M=()=>{j.trim().length===O&&e.onVerifyOtp(j)},R=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),T(i=>i+1),u.setValue(m,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[v]),c.useEffect(()=>{if(h<=0)return;const i=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[h]);const H=i=>{const a=Math.floor(i/60),z=i%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(B,{open:!0,children:r.jsxs(ne,{children:[r.jsx(d,{controller:$>V,children:r.jsx(Y,{unlockDate:Q.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=V,children:r.jsx(W,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(X,{placement:"top",title:r.jsxs(f,{children:[o.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||p===!0,style:{margin:n.sp0},onChange:i=>{u.setValue(m,i),x(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(P,{children:r.jsxs(je,{children:[o.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(P,{children:r.jsx(ye,{children:o.codeExpired})})})]}),p===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),g(!1),u.setValue(m,""),S(F),w(I))},children:o.resend}),h>0&&r.jsxs(he,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(xe,{children:[r.jsx(D,{label:o.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:o.verify,onClick:M,style:{width:82},loading:s,disabled:j.trim().length!==O||l===!0})]}),r.jsx(me,{children:R})]})]})})})]})})},ne=t.div`
1
+ import{aP as A,aa as U,F as L,j as r,c5 as B,ab as d,l as Q,ad as W,c6 as X,ai as f,c7 as Z,o as n,n as D,c8 as q,am as N,c9 as G,ca as C,bQ as J,p as y,ba as b,cb as K}from"./index-BjVZjrQv.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-DVj5pK2w-Btc_Aa5g.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./handshake-BPg58FML-BpN0H-2S.js";const ee=e=>{if(!e)return"";try{const s=G(e);if(!s){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const p=s.countryCallingCode,x=s.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const s=e.replace(/\D/g,"");if(s.length>=4){const p=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},F=120,I=30,V=2,re="456px",te="256px",O=6,o=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Te=e=>{const s=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,S]=c.useState(F),[h,w]=c.useState(I),E=A(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),_=()=>{e.onCancelVerifyDevice()},M=()=>{j.trim().length===O&&e.onVerifyOtp(j)},R=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),T(i=>i+1),u.setValue(m,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[v]),c.useEffect(()=>{if(h<=0)return;const i=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[h]);const H=i=>{const a=Math.floor(i/60),z=i%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(B,{open:!0,children:r.jsxs(ne,{children:[r.jsx(d,{controller:$>V,children:r.jsx(Y,{unlockDate:Q.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=V,children:r.jsx(W,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(X,{placement:"top",title:r.jsxs(f,{children:[o.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||p===!0,style:{margin:n.sp0},onChange:i=>{u.setValue(m,i),x(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(P,{children:r.jsxs(je,{children:[o.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(P,{children:r.jsx(ye,{children:o.codeExpired})})})]}),p===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),g(!1),u.setValue(m,""),S(F),w(I))},children:o.resend}),h>0&&r.jsxs(he,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(xe,{children:[r.jsx(D,{label:o.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:o.verify,onClick:M,style:{width:82},loading:s,disabled:j.trim().length!==O||l===!0})]}),r.jsx(me,{children:R})]})]})})})]})})},ne=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,dz as y,p as S}from"./index-irDTvtzc.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(P,{src:i,alt:"Video thumbnail"}),t.jsx(z,{onClick:B,children:t.jsx(D,{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,dz as y,p as S}from"./index-BjVZjrQv.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(P,{src:i,alt:"Video thumbnail"}),t.jsx(z,{onClick:B,children:t.jsx(D,{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 l,j as i,ap as s,aM as a,p as c,o as n,y as r}from"./index-irDTvtzc.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{K as h}from"./VideoPlayer-DfTUoEz0-CVuJu_Sa.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
1
+ import{q as l,j as i,ap as s,aM as a,p as c,o as n,y as r}from"./index-BjVZjrQv.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{K as h}from"./VideoPlayer-DfTUoEz0-B6gHyXB7.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 B,l as C,F as D,j as s,A as j,Y as S,n as M,b as L,o as n,y as $,B as E,M as P,L as z,a as N,p as h,c as A,r as R,t as T,u}from"./index-irDTvtzc.js";import{n as t}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const e=D.getLocalizedStrings(),w={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)},F={title:new E("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=B(),I=r!=null?C.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}=O(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}=G(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}=Q(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(V,{children:[s.jsx(H,{windowSize:l,children:s.jsx(Y,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(J,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(_,{children:[s.jsx(U,{children: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 B,l as C,F as D,j as s,A as j,Y as S,n as M,b as L,o as n,y as $,B as E,M as P,L as z,a as N,p as h,c as A,r as R,t as T,u}from"./index-BjVZjrQv.js";import{n as t}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const e=D.getLocalizedStrings(),w={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)},F={title:new E("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=B(),I=r!=null?C.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}=O(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}=G(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}=Q(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(V,{children:[s.jsx(H,{windowSize:l,children:s.jsx(Y,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(J,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(_,{children:[s.jsx(U,{children: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(K,{isStepInError:i.status==="Error",children:s.jsxs(X,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(S,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...L.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},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}},O=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},G=(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}},Q=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},V=t.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aa as Te,q as M,ax as Pe,l as P,d as pe,aP as Be,j as t,F as _,aN as B,c6 as L,o,bG as Le,b as D,cE as R,cF as F,cG as G,ad as Ne,dp as Ee,p as f,dc as Me,aM as C,k as he,ai as b,bQ as He,b_ as Ie,aS as Ue,y as j,h7 as We,fu as ae,u as p,hI as Oe,bf as Re,bS as Fe,bi as Ge,bh as Ye,bT as Ve,bg as Je,am as X,hJ as qe,b7 as Ke,a$ as _e,hK as Xe,c as Ze,hL as Qe,r as et,h9 as tt,dj as ot,an as at,B as it,cx as nt}from"./index-irDTvtzc.js";import{b as r,n as a}from"./vendor-Bs1fkIUX.js";import{$ as lt}from"./BoxItem-Cmm6_sNo-C4xsocIs.js";import{w as rt}from"./downloadPdf-Byh_NifO-DgJRaqDX.js";import{H as ct}from"./DepositAccTransactionItem-CRbSf5Q4-02regPop.js";import{U as st}from"./ZeniAccountNavBarPieces-DHS4RmYE-DibSWfYN.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./commonDimensions-V7mnkdlI-DXkQM65Q.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 Te,q as M,ax as Pe,l as P,d as pe,aP as Be,j as t,F as _,aN as B,c6 as L,o,bG as Le,b as D,cE as R,cF as F,cG as G,ad as Ne,dp as Ee,p as f,dc as Me,aM as C,k as he,ai as b,bQ as He,b_ as Ie,aS as Ue,y as j,h7 as We,fu as ae,u as p,hI as Oe,bf as Re,bS as Fe,bi as Ge,bh as Ye,bT as Ve,bg as Je,am as X,hJ as qe,b7 as Ke,a$ as _e,hK as Xe,c as Ze,hL as Qe,r as et,h9 as tt,dj as ot,an as at,B as it,cx as nt}from"./index-BjVZjrQv.js";import{b as r,n as a}from"./vendor-Bs1fkIUX.js";import{$ as lt}from"./BoxItem-Cmm6_sNo-jBXKL1fn.js";import{w as rt}from"./downloadPdf-Byh_NifO-N2Gc_x_k.js";import{H as ct}from"./DepositAccTransactionItem-CRbSf5Q4-CjxvITzw.js";import{U as st}from"./ZeniAccountNavBarPieces-DHS4RmYE-DDcjTqab.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./commonDimensions-V7mnkdlI-CWlmDNp9.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;