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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/dist/assets/{ACHDetailsPage-DYlcHRQe-lxtPXqrl.js → ACHDetailsPage-DYlcHRQe-N6WoPN61.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DpXZ7sco-B8d5E6QI.js → AIPerformancePage-DpXZ7sco-hH2Elv0n.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-BEOrrVQS-L5aJOIaA.js → AccountInfoPage-BEOrrVQS-DHpgF3pM.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BJkLJK6O-CmMcM25y.js → AccountInfoPageContent-BJkLJK6O-B_Tnne4L.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BeLLlH_Y-DAQUptbF.js → AccountLockedInfoModal-BeLLlH_Y-D0MnjBOA.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-D2Hx_l3u-BYxEEZJn.js → AccountReconDetailsDrawerPage-D2Hx_l3u-XPPaB5Cd.js} +1 -1
  7. package/dist/assets/{AccountRow-B0gU16A_-Ks_Pft1z.js → AccountRow-B0gU16A_-CQ1wi8lx.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CuLhbb_W-BwlxSNV8.js → AccountsPromoCardStack-CuLhbb_W-BGljAwv1.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CNkdq378-DvUXwFrO.js → AddAddressForCardDrawer-CNkdq378-CMB9xZbO.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DNPLnpTq-CxRyEwld.js → AddToWalletPage-DNPLnpTq-DebEsPxP.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-Bff4u7T1-DOBvEqCj.js → AgingReportsPage-Bff4u7T1-DokKeN7f.js} +1 -1
  12. package/dist/assets/{AllUserItems-D8zdAu_1-C-zZqgmo.js → AllUserItems-D8zdAu_1-CjPIl0we.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-2NsAj3gO-DfogwLMb.js → ApAgingDetailPage-2NsAj3gO-DhtiO6V-.js} +1 -1
  14. package/dist/assets/{AppBasePage-Uyk9GOud-D7f8hWuo.js → AppBasePage-Uyk9GOud-9AU3007_.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-RX7rx40V-DlBxQF_L.js → AppDrawerContent-RX7rx40V-B20u2QRt.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BKxa78xI-BrpnOxmu.js → ApprovalRulesSettingsPage-BKxa78xI-D8tM29nk.js} +1 -1
  17. package/dist/assets/{ArAgingChart-BxTkvrC9-BgC5YBPR.js → ArAgingChart-BxTkvrC9-vqa4Ip0S.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-CnUgFF1M-Bb_-bJZp.js → ArAgingDetailPage-CnUgFF1M-ClG1FePi.js} +1 -1
  19. package/dist/assets/{AttachmentView-zHGhIkWo-C64qXCAp.js → AttachmentView-zHGhIkWo-BwZ5kbBN.js} +1 -1
  20. package/dist/assets/{BankAccountSection-HRSyjIxV-CV6PAaFg.js → BankAccountSection-HRSyjIxV-brHRV4cr.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CNusQFRM-4Y94-VD5.js → BankAccountWarningSection-CNusQFRM-DBV3XkOz.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-CzumYsEx-f1xJXYSm.js → BankConnectionsSettingsPage-CzumYsEx-DgpLYCV2.js} +1 -1
  23. package/dist/assets/{BillDetailPage-CgCMZFw1-pAtGUG0W.js → BillDetailPage-CgCMZFw1-BtheJRmU.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DnhdBw3a-BtwlYdoz.js → BillPayApprovalRuleDetailPage-DnhdBw3a-CssFiyEt.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-S80WUW0f-Cw75zLq9.js → BillPayApprovalRulesPage-S80WUW0f-CH3tnfj7.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DOEbuNgH-BglT_61W.js → BillPayPromoPage-DOEbuNgH-BVCaGPCE.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-Tb-gBoFT-Po5Zl1ZL.js → BillPaySetUpPage-Tb-gBoFT-Cr_u2hmC.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-ZupDcNHz-B6O6l_7B.js → BillingSettingsPage-ZupDcNHz-jCEOKC-t.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CJrUtHKz-B78eSann.js → BillsBulkReviewDrawerPage-CJrUtHKz-De-Ch5vF.js} +1 -1
  30. package/dist/assets/{BoxItem-42doFhpg-BDC_fDqi.js → BoxItem-42doFhpg-6FkeU-XY.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-De9zCAm7-geq4Sk8A.js → BusinessVerificationPage-De9zCAm7-BRa-IzFb.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-C6jdBRC2-YbNbzp0H.js → CardNumberSubText-C6jdBRC2-BAV9QZ1r.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-B2drd1Nz-BAvHe1xx.js → CashbackDetailPage-B2drd1Nz-B7ge7B30.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-bk-pzoDR-DTGxBulo.js → ChargeCardDetailPage-bk-pzoDR-CPX1kpm2.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-DlI8ZfB0-CMLNFzih.js → ChargeCardListPage-DlI8ZfB0-Cpt1f1gl.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-CooASbVZ-CSvbg9sF.js → ChargeCardListTable-CooASbVZ-hxs2z8Oj.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-DnxJwv-T-SsEma55z.js → ChargeCardPaymentHistoryPage-DnxJwv-T-CRSd2xN3.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-DBSmL-ms-DBZo83zK.js → ChargeCardPromoPage-DBSmL-ms-BSCR0oth.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-cou3N3Iv-BSBfzNx6.js → ChargeCardSetupPage-cou3N3Iv-BY-BjAbF.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-Z05M_t51-O2I36ZAe.js → ChargeCardStatementsPage-Z05M_t51-CJESgOzz.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-B-bTb9ct-CleglNSV.js → CheckDepositDrawerPage-B-bTb9ct-DvMUZiEi.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-DLOi0feI-SZFbl9NV.js → CollapsableReportTable-DLOi0feI-CE3JiL1Z.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-DVpqCb72-DOikAEBj.js → CompanyOfficerDetailsSection-DVpqCb72-DEQPR9vE.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-B8PLT6MG-BUc5HZU7.js → CompanyPassportCard-B8PLT6MG-Dcf1pgW2.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-CQZPgrNF-KJN_fT4M.js → CompanyPassportPage-CQZPgrNF-CNCT66W7.js} +1 -1
  46. package/dist/assets/{CompleteProfile-fNSWTbef-pSYliRNx.js → CompleteProfile-fNSWTbef-0MuTdOY6.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-B6ej_xoO-BzptsIBR.js → ConfettiBurst-B6ej_xoO-DABv3Toa.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BO4_TNWg-EUNhPwxD.js → CreateOrEditVendorPage-BO4_TNWg-BypvEQZA.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-CsHjU-sm-BX_z_XTl.js → CreditCardPaymentDrawerPage-CsHjU-sm-BiBB7qBe.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-DsZTOj_T-DmNXNRTP.js → CurrencySelectField-DsZTOj_T-Cs5B3am8.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-Cvdehiay-Ci2xJTUc.js → CustomerOnboardingActivationPage-Cvdehiay-C2p1e_hG.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-ZVvSCumS-B1XuhxOn.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DrfNm65u-Bi4SumgH.js → CustomerOnboardingDetailPageSkeleton-DrfNm65u-Bfcf5x9y.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-CtIWYEfR-CA6QH1RJ.js → CustomerOnboardingNoStepsPage-CtIWYEfR-BBG89Eio.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingPage-Db6sGSGl-C--ab3S1.js → CustomerOnboardingPage-Db6sGSGl-Bk2dnzqa.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-DHSPLF5F-BeorfiRM.js → CustomerOnboardingProductSuitePage-DHSPLF5F-INu2F67Y.js} +1 -1
  57. package/dist/assets/{Dashboard-cbXIPzMy-DLCpLMr4.js → Dashboard-cbXIPzMy-DdVTFva6.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-Pc0G2Tok-BRmpg3ok.js → DashboardReportPage-Pc0G2Tok-4PwOgMuS.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-CSzhyK4K-DW7vdml5.js → DashboardSidebarBackgroundAnimation-CSzhyK4K-_4MhVp6Q.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-XvCjkHDS-DQ2tNEjM.js → DepositAccTransactionItem-XvCjkHDS-CkK92x11.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-DqPIPHi9-DnAhb4M6.js → DepositAccTransactionListPage-DqPIPHi9-CCs50XhS.js} +1 -1
  62. package/dist/assets/{DomesticWireDetailsPage-DjUvG0tD-BhbPV8HA.js → DomesticWireDetailsPage-DjUvG0tD-BaRIU1gf.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-C7r6PAam-BvXPoC9j.js → DownloadOverlay-C7r6PAam-3HWUFxkI.js} +1 -1
  64. package/dist/assets/{DrawerPage-BEV7nWrL-CqfdeYhP.js → DrawerPage-BEV7nWrL-B7QOMKDy.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-BnQqStEx-Cbm0H-hi.js → EditPeoplePage-BnQqStEx-VWNAEvPn.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-DLjRDR48-DAmxctvz.js → EditReimbursementDetailPage-DLjRDR48-B7QYsuXV.js} +1 -1
  67. package/dist/assets/{EntityDetailPage-BaKoO9FG-BDiZrnyD.js → EntityDetailPage-BaKoO9FG-CWR9O5Vu.js} +1 -1
  68. package/dist/assets/{EntitySummarySection-C361-4tS-UJPRLBoI.js → EntitySummarySection-C361-4tS-CWgr5a0w.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-BLvAzAmO-JyE5jYzJ.js → ExpenseAutomationOverviewPage-BLvAzAmO-DBDaw-GQ.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-CE_qMXSG-DlDCSSSs.js → ExpenseAutomationPage-CE_qMXSG-jdpSxqgy.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-CDowSjHC-DolGHHJS.js → ExpressPayPage-CDowSjHC-mXCHoghD.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-DsJEfObK-B9lh1mEQ.js → FeaturePreviewPage-DsJEfObK-XGUmmika.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-h449vQkQ-BXixJ0VK.js → FollowStepsSection-h449vQkQ-BE334Aav.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-DGOKRsKI-CAnqX1u0.js → GlobalReviewListPage-DGOKRsKI-DaVDGgFW.js} +1 -1
  75. package/dist/assets/{InformationCardStack-xhdujEcL-COTShhF9.js → InformationCardStack-xhdujEcL-CIVbhCcM.js} +1 -1
  76. package/dist/assets/{InsightsCardStack-zRynyTFj-CqnhwImM.js → InsightsCardStack-zRynyTFj-B4MVLR6S.js} +1 -1
  77. package/dist/assets/{InsightsSection-C4fMfxQ4-BGGNiljS.js → InsightsSection-C4fMfxQ4-BrCCIPD4.js} +1 -1
  78. package/dist/assets/{IntegrationsSettingsPage-fqQsGUmw-CRKZpnAv.js → IntegrationsSettingsPage-fqQsGUmw-DbNOn2Dq.js} +1 -1
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-CIMxKADX-CYl4ll0M.js → InternationalWireSwiftDetailsPage-CIMxKADX-vQfJlxQT.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-DpmSzzre-gDdhOqko.js → InternationalWireVerificationPage-DpmSzzre-gQwVFtnD.js} +1 -1
  81. package/dist/assets/{InviteFormPage-C7fxnyMS-ChsV2A2J.js → InviteFormPage-C7fxnyMS-DMg6Plkf.js} +1 -1
  82. package/dist/assets/{InvitePageListView-ktOXziSw-ClMd1Rgx.js → InvitePageListView-ktOXziSw-NBl32MK2.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-C_4adNch-DPbyAjsn.js → InvitePeoplePage-C_4adNch-C4PoOeq9.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-W4vdQGvo-DAuF5vcp.js → InvoiceUploadSection-W4vdQGvo-FT_ZQp4c.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-CdV757XH-B0b8pyku.js → IssueChargeCardPage-CdV757XH-D-R3fw3h.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-Ce_wDml5-CoYtFscl.js → LabeledAddressValue-Ce_wDml5-C7mLpC47.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-BrYbXck--8qVwdGMU.js → LabeledAddressValueField-BrYbXck--Bam2jwZr.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-f2c-AeS4-DagKbuzo.js → LabeledControlledCheckBoxField-f2c-AeS4-CmYbdyel.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-BLOMdq_H-CLNHA2Sp.js → LabeledCountryMultiSelectField-BLOMdq_H-Mb0TF8y4.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-BWuogpe6-DITM3Hn0.js → LabeledCreatableSingleSelectField-BWuogpe6-DHwshDD5.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-Ch2zD7s7-Nw7bBUJi.js → LabeledDocumentField-Ch2zD7s7-GyTO4utg.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-BA8tzPzQ-Big6_AMJ.js → LabeledDropDownFormattedTextField-BA8tzPzQ-nw_8EdfB.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-CA9PUCf3-CGx9bMTu.js → LabeledMultiSelectField-CA9PUCf3-CwZMJ8IS.js} +1 -1
  94. package/dist/assets/{LabeledText-D7eLbH80-Bs-kfAE-.js → LabeledText-D7eLbH80-CyIybQum.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CleX9Raw-CCmlbQ1T.js → LabeledUserSingleSelectWithSubtitlesField-CleX9Raw-DNsRKy1l.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Cte6kRTw-CB2TIDv8.js → LabeledZeniRolesDropDownField-Cte6kRTw-C4oEoOa3.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-DicS5kKg-DOb356xm.js → LinkJETransactionPage-DicS5kKg--q-QNpuk.js} +1 -1
  98. package/dist/assets/{LockCardPage-DRYg_fxU-CFGUEJ0X.js → LockCardPage-DRYg_fxU-C51Kp9sB.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-BJfagMN7-DFWlKz1e.js → LowBalancePopup-BJfagMN7-hy_u1ST6.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-BeUu65LP-h79CD54_.js → MagicLinkACHDetailsPage-BeUu65LP-C57N3ype.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CO7IswK8-3R9uoHM3.js → MagicLinkDomesticWireDetailsPage-CO7IswK8-fvhoI3t7.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-bKdrX7dk-BH9XfZTx.js → MagicLinkInternationalWireDetailsPage-bKdrX7dk-CBCuAFur.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-BRWymdWH-suMYBps1.js → MagicLinkSuccessPage-BRWymdWH-0en44-MJ.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-D5ORaO0D-oMV_fYKL.js → MagicLinkTitleSection-D5ORaO0D-DS4-FSzF.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-B_0EH3Eh-Dx6cptzU.js → MailingDetailsSection-B_0EH3Eh-BBy70f0G.js} +1 -1
  106. package/dist/assets/{Menu-C9v-W9TY-DRVyGpH4.js → Menu-C9v-W9TY-CdQPsVny.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-C4YJleyg-DKQ0iSMd.js → MyBankConnectionsSettingsPage-C4YJleyg-BLn_Y8jS.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-D-6TnbYs-g9LqO-rS.js → MyPendingActivationChargeCardListPage-D-6TnbYs-zrVoCahb.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BMNBcdq8-CzuZjUxB.js → MyProfileSettingsPage-BMNBcdq8-XHX9dn0K.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-Cv7tOmjd-BXBZWsng.js → NavBarWithPicker-Cv7tOmjd-B4VS8rMs.js} +1 -1
  111. package/dist/assets/{NavigationArrow-DAs7ECFZ-rFu_aZmo.js → NavigationArrow-DAs7ECFZ-ChajxXvo.js} +1 -1
  112. package/dist/assets/{NavigationDots-DISWi4Mq-BdTnuTup.js → NavigationDots-DISWi4Mq-BRitr2tA.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-DGFtrDg1-BDtdrE9G.js → NewGlobalMerchantPage-DGFtrDg1-FJKw60xa.js} +1 -1
  114. package/dist/assets/{NoDataChart-gfqauMvY-CAbYCdyQ.js → NoDataChart-gfqauMvY-B8_e9uYZ.js} +1 -1
  115. package/dist/assets/{NoDataTable-C1_gqVi7-D4ANXF0d.js → NoDataTable-C1_gqVi7-D_83KmNf.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CdWhiWjz-DDjAX_Ng.js → NotFoundPage-CdWhiWjz-mzVSL1fM.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-C4SZ6Qwg-DbitLXBD.js → NotificationSettingsPage-C4SZ6Qwg-DTMMSj7i.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-B-g9kb6x-CND-RON9.js → NotificationsListConfig-B-g9kb6x-DKVolf1S.js} +1 -1
  119. package/dist/assets/{NotificationsPage-jxpX3iRG-UGS5Y_9i.js → NotificationsPage-jxpX3iRG-STxMFmZT.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-B13tAq03-Dd8cq0hz.js → OpExByVendorPage-B13tAq03-A6OvBVDB.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-Daz3A7cI-DlMlal7_.js → OverlayContainerPage-Daz3A7cI-CFoauQdP.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-D3kcPKd0-sYhFB1EB.js → PandLWithForecastPage-D3kcPKd0-hdRldmCP.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DjdhL9mT-4CseF2mz.js → PaymentAccountSetupBillingAddressSection-DjdhL9mT-CcdqeHrg.js} +1 -1
  124. package/dist/assets/{PeoplePage-Du_TRX4h-C2Rmmn5d.js → PeoplePage-Du_TRX4h-BB1Y4Qgl.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-y6q9BbqK-B9m9tH0o.js → ProductsCarousel-y6q9BbqK-DHkyY2SN.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-CLQMN7aT-BxeQG0rP.js → PromoBaseCards-CLQMN7aT-Cm9ov18k.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-R4ZWjJsY-DNCk7fny.js → QBOConnectionDialog-R4ZWjJsY-yehsPaVs.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-D--nxfIh-Difre144.js → QBOSetupSection-D--nxfIh-BfHeDAX-.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-OXenWhiy-Cj4gr0h0.js → ReimbursementApprovalRuleDetailPage-OXenWhiy-BtbNuGS1.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-BJaSXRQF-DF9kihjD.js → ReimbursementApprovalRulesPage-BJaSXRQF-BYa_2_jk.js} +1 -1
  131. package/dist/assets/{ReimbursementDetailPage-BeFEzgmP-DZ-1wgaR.js → ReimbursementDetailPage-BeFEzgmP-Du11yvbE.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-C0sHIJm4-YN1RP5MA.js → ReimbursementPromoPage-C0sHIJm4-Cok6Jld9.js} +1 -1
  133. package/dist/assets/{ReimbursementSetUpPage-C85Q6ZnB-DbK7lPyD.js → ReimbursementSetUpPage-C85Q6ZnB-jjYvs1qr.js} +1 -1
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B5RzRA4c-PwRYjy1t.js → ReimbursementsBulkReviewDrawerPage-B5RzRA4c-n3r_bP4u.js} +1 -1
  135. package/dist/assets/{ReloadCard-BT0lSFUP-CF34SUO7.js → ReloadCard-BT0lSFUP-CbQzBMR7.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-rl6XGWA_-CSxPHelL.js → ReportTableViewSelector-rl6XGWA_-xSsBTXCn.js} +1 -1
  137. package/dist/assets/{ReportsPage-DV0bbi_D-1o0LJL4r.js → ReportsPage-DV0bbi_D-DDBThisJ.js} +1 -1
  138. package/dist/assets/{RevenueChart-CxvHfkxr-BmSB0A7U.js → RevenueChart-CxvHfkxr-CcXHujZ-.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-CX2XB44j-BHiKofo4.js → ReviewDetailsPage-CX2XB44j-XXnntYa1.js} +1 -1
  140. package/dist/assets/{ReviewOverlay-DdOo3pcK-BVp3d9bK.js → ReviewOverlay-DdOo3pcK-BLKkY3na.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-C08wfnGb-CFjb8VCB.js → RoleWithToolTip-C08wfnGb-Dt8pf3rP.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BmZgiTVc-C4es4cDL.js → ScheduleDetailsFixedAssetsPage-BmZgiTVc-BdlieAUs.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-BqX1EZGE-B4pi2I25.js → ScheduleDetailsPage-BqX1EZGE-Dm5cTF4H.js} +1 -1
  144. package/dist/assets/{ScheduleSequenceTable-DU3dXX6V-BMdU_3TL.js → ScheduleSequenceTable-DU3dXX6V-DgRTw2P3.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-BOb1-zin.js → ScreenRoutes-C5B2nm9d.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-Clz60vjw-CDcwloM0.js → SetUpAccountSection-Clz60vjw-BPy-vTcv.js} +1 -1
  147. package/dist/assets/{SignIn-B79R5ayU-BtVW5pl0.js → SignIn-B79R5ayU-DjqX3_i4.js} +1 -1
  148. package/dist/assets/{SignInScreen-CsaRmLqD.js → SignInScreen-D15H-ke6.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-C3gJ8vag-CRVtgLhw.js → SpendManagementListViewPage-C3gJ8vag-BNKNPoS5.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-DmCZhFWY-Dsjzi1bn.js → SpendManagementPerTabPage-DmCZhFWY-BHCgFbM_.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-mtTZeiX8-DB_R_dFU.js → SpendManagementSection-mtTZeiX8-DVibaVnB.js} +1 -1
  152. package/dist/assets/{StatementItem-C9KsTdoM-CvW9SwJx.js → StatementItem-C9KsTdoM-JSrgwnvv.js} +1 -1
  153. package/dist/assets/{StatementsPage-DgoXqABR-NsGiWIFr.js → StatementsPage-DgoXqABR-DiOSDFY9.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-DRDFuzoj-DFWyQSIu.js → StatusSwitcher-DRDFuzoj-B6IPcags.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-Bj1N3zLn-DocBm2NX.js → SubTabSwitcher-Bj1N3zLn-wd-JdCXJ.js} +1 -1
  156. package/dist/assets/{SummaryCard-BNrPt21W-z-I2nOL_.js → SummaryCard-BNrPt21W-BJL8pM34.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-svW7FNT3-CdR83JXD.js → TaskManagementPage-svW7FNT3-ChtBYzDC.js} +1 -1
  158. package/dist/assets/{TimeRangeSwitcher-wio5OjI3-BFQK4ykL.js → TimeRangeSwitcher-wio5OjI3-Cq1fKE5o.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcher-234cbGUX-GrV_gRdd.js → TimeframeSwitcher-234cbGUX-l5LDfwJD.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-B65LibQx-O8FBApDz.js → TimeframeSwitcherWithToggle-B65LibQx-CgfT2t3j.js} +1 -1
  161. package/dist/assets/{TopExCard-DFm0V6Sa-CuS6D-g2.js → TopExCard-DFm0V6Sa-DokPd6v3.js} +1 -1
  162. package/dist/assets/{TopExDetailPage-B4UamIS--DvTevd6J.js → TopExDetailPage-B4UamIS--aRxDpGzz.js} +1 -1
  163. package/dist/assets/{TransactionDetailPage-BiGPVM2O-BIqR8D1A.js → TransactionDetailPage-BiGPVM2O-BpiezkYk.js} +1 -1
  164. package/dist/assets/{TransactionList-BQ2dvALf-DExPb7_Y.js → TransactionList-BQ2dvALf-BGLN50Vu.js} +1 -1
  165. package/dist/assets/{TransactionListBig-Ca4yYTqY-DpBtFr0L.js → TransactionListBig-Ca4yYTqY-B4eSCAFS.js} +1 -1
  166. package/dist/assets/{TransactionListPage-CaSfmS5A-B8TNgEwP.js → TransactionListPage-CaSfmS5A-CVPK2Hv1.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-CH7qHDUF-CdstXkoA.js → TransactionVendorDetailPage-CH7qHDUF-DSGG2e4N.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-5IgzdfVN-CuTPVgyu.js → TransferDrawerPage-5IgzdfVN-BEmdtR6B.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-CyMGJE8x-BqzDON9-.js → TreasuryOverviewPage-CyMGJE8x-Cnr8PPbr.js} +1 -1
  170. package/dist/assets/{TreasuryPromoPage-DQabp_BI-lYWtZagK.js → TreasuryPromoPage-DQabp_BI-CofJlBRP.js} +1 -1
  171. package/dist/assets/{TreasuryStatementsPage-DyJbkTPX-DQbO4X2A.js → TreasuryStatementsPage-DyJbkTPX-DN_9QZBI.js} +1 -1
  172. package/dist/assets/{TreasuryTaxLetterPage-BSIqzP7E-BachcLIH.js → TreasuryTaxLetterPage-BSIqzP7E-CKJ2Zwku.js} +1 -1
  173. package/dist/assets/{TrendChart-DLlQzxzM-PPRPEN_l.js → TrendChart-DLlQzxzM-CMELiyuo.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-CjGbUTLS-CZ3CCR3q.js → TrendWithTransactions-CjGbUTLS-CD0r90qi.js} +1 -1
  175. package/dist/assets/{UncategorizedAccountsMappingPage-CgJuXRnT-4h1DDmrY.js → UncategorizedAccountsMappingPage-CgJuXRnT-D10sq8Hj.js} +1 -1
  176. package/dist/assets/{UnitIntegrationPage-Dew9WP2L-B7QG_5u7.js → UnitIntegrationPage-Dew9WP2L-DgxPeDIO.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-CoO-S_pc-DdAruGua.js → UploadAdditionalDocumentOverlay-CoO-S_pc-CZO5yc-K.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-2JZx7Ouz-DmIxVSxV.js → Vendor2FAPopup-2JZx7Ouz-C9W1wY0X.js} +1 -1
  179. package/dist/assets/{VendorACHDetailsPage-DVqS0EVe-BvHJQnhv.js → VendorACHDetailsPage-DVqS0EVe-B814xKcj.js} +1 -1
  180. package/dist/assets/{VendorDetailPage-DcpigP-V-CLpuuI3V.js → VendorDetailPage-DcpigP-V-D-_BNkKi.js} +1 -1
  181. package/dist/assets/{VendorDomesticWireDetailsPage-BrvN0BZx-Cb_0-TC6.js → VendorDomesticWireDetailsPage-BrvN0BZx-Dngp9AgA.js} +1 -1
  182. package/dist/assets/{VendorFiling1099EditablePage-BK_AfMvG-BcMvx9ZT.js → VendorFiling1099EditablePage-BK_AfMvG-rf6ZEr64.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-BnGpb03v-CQ1grmaD.js → VendorFirstReviewPage-BnGpb03v-DxDzB5jn.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-Bs_MIbDV-D_-xScY6.js → VendorInternationalWireDetailsPage-Bs_MIbDV-B5cqs8xU.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CJMBOb8y-CNYkR-9e.js → VendorInternationalWireSwiftDetailsPage-CJMBOb8y-JFzt6kht.js} +1 -1
  186. package/dist/assets/{VendorsAccountsSection-V7IwNhkN-D-eiPu30.js → VendorsAccountsSection-V7IwNhkN-dPhmanP7.js} +1 -1
  187. package/dist/assets/{VerifyDevice-Dc3oeJbw-D5d8Wn7A.js → VerifyDevice-Dc3oeJbw-BcIqlUjJ.js} +1 -1
  188. package/dist/assets/{VideoPlayer-XU1YwohK-BaDXYiVP.js → VideoPlayer-XU1YwohK-COVMQXUR.js} +1 -1
  189. package/dist/assets/{VideoPopup-BKLcIVcV-C8tsI7gn.js → VideoPopup-BKLcIVcV-DiByU4uF.js} +1 -1
  190. package/dist/assets/{WarningsDrawerPage-DE6hNSem-DTjl6BDC.js → WarningsDrawerPage-DE6hNSem-BA-r__o8.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-B3txxml4-BrnXOri_.js → ZeniAccountDetailPage-B3txxml4-KqRJBVU1.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-D8AbqSI--lXEmxuQ-.js → ZeniAccountListViewPage-D8AbqSI--D2iDUh8i.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-CNM-e6b3-CrP6I6p5.js → ZeniAccountNavBarPieces-CNM-e6b3-CeioNZaq.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-CcZOtFpv-D5dUYpiY.js → ZeniAccountPromoPage-CcZOtFpv-CyZSL8CM.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-COA09GMm-BsBo4Yw_.js → ZeniAccountSetupPage-COA09GMm-teRqXGAI.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-DqbjGQWk-D3uyyuTN.js → ZeniCopyright-DqbjGQWk-CiqjxJmF.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-NJ7GeTlf-DqVr8V-Q.js → ZeniTransferAmountSlider-NJ7GeTlf-CnXup6Bu.js} +1 -1
  198. package/dist/assets/{analyticsHelper-C2PAija--B2XRbUD9.js → analyticsHelper-C2PAija--ChGnlyOF.js} +1 -1
  199. package/dist/assets/{analyticsHelper-D1UvETVa.js → analyticsHelper-CLN6SVsb.js} +1 -1
  200. package/dist/assets/{chartTypes-B9jQTJLQ-B-uICCus.js → chartTypes-B9jQTJLQ-COjB_e58.js} +1 -1
  201. package/dist/assets/{commonDimensions-BgvFMAEM-jw0M4GDE.js → commonDimensions-BgvFMAEM-CvQs602P.js} +1 -1
  202. package/dist/assets/{commonTypes-PtDfk70--ByVvU-Tm.js → commonTypes-PtDfk70--Bx1ZBTCB.js} +1 -1
  203. package/dist/assets/{detailCommon-BjRXEZFj-BMuJy_GS.js → detailCommon-BjRXEZFj-D5rvTVmU.js} +1 -1
  204. package/dist/assets/{downloadPdf-ZSABdzxr-CSS_LmUU.js → downloadPdf-ZSABdzxr-DOm7vdU6.js} +1 -1
  205. package/dist/assets/{index-Bs2B-MQ4.js → index-DhfemY__.js} +5 -5
  206. package/dist/assets/{mapLoadingInProgressToTreeNode-ilouYnTd-DoZ0huih.js → mapLoadingInProgressToTreeNode-ilouYnTd-CPpu9ijo.js} +1 -1
  207. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DCsXPZ77-B7l0JH-0.js → mapSectionWithAcOnlyToTreeNode-DCsXPZ77-D8Vbpi-J.js} +1 -1
  208. package/dist/assets/{mapSpacerToTreeNode-CEKoJAIb-Ca0optUS.js → mapSpacerToTreeNode-CEKoJAIb-D8CLxKeM.js} +1 -1
  209. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cki-np8X-STcH44eC.js → mapTimeframeBalancesToTreeNode-Cki-np8X-TAkem-7K.js} +1 -1
  210. package/dist/assets/{mapTimeframeBalancesToTreeNode-q_WorOhv-vY1YncA0.js → mapTimeframeBalancesToTreeNode-q_WorOhv-w4sqAGav.js} +1 -1
  211. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DFZvknEc-BH5TYlER.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DFZvknEc-pc7XxKyQ.js} +1 -1
  212. package/dist/assets/{toCOABalancesWithID-CcsM8Vr1-Ca_vxtPe.js → toCOABalancesWithID-CcsM8Vr1-X6P_swAQ.js} +1 -1
  213. package/dist/assets/{toChartData-CVxc3i6E-Jb1kbIeZ.js → toChartData-CVxc3i6E-C3Ntbj_i.js} +1 -1
  214. package/dist/assets/{uploadAttachment-CBATb9_e-Bf8RMkbX.js → uploadAttachment-CBATb9_e-DKMvJUv_.js} +1 -1
  215. package/dist/assets/{uploadReceipts-CPw64UYa-DwtdWb2a.js → uploadReceipts-CPw64UYa-B-LIRY0h.js} +1 -1
  216. package/dist/index.html +1 -1
  217. package/package.json +1 -1
  218. package/dist/assets/CustomerOnboardingContainerPage-ZVvSCumS-nk4WVXpw.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a8 as be,aw as Se,q as O,d as W,V as t,bA as Ce,b as K,g2 as Pe,F as L,c,o as i,y as u,jh as ke,cb as Le,ji as F,aN as D,b2 as ze,cr as Re,iO as Ie,bM as De,aR as ne,al as M,dr as f,gU as V,aL as H,bR as Ae,ct as Te,bP as Be,am as B,cw as Y,p as C,gV as oe,fM as se,fI as ae,cg as Oe,ai as re,iD as de,bK as Me,bI as Ne,iW as He,cz as We,aT as k,iX as Ee,iY as Ke}from"./index-Bs2B-MQ4.js";import{a as j,S as _}from"./sentry-gm2R3TtK.js";import{n,c as q}from"./mui-snKYaegN.js";import{t as Ve}from"./SpendManagementSection-mtTZeiX8-DB_R_dFU.js";import{r as _e,a as Ue,i as le,g as Fe}from"./SpendManagementListViewPage-C3gJ8vag-CRVtgLhw.js";import{ck as ce,G5 as he}from"./zeni-epic-state-D2RxwWrl.js";import{r as Ye}from"./auto-transfer-rule-mbafm5D3-DPk-N0wE.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./StatusSwitcher-DRDFuzoj-DFWyQSIu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b96ecd94-13c4-4a9f-8c4e-84501cf74ae2",e._sentryDebugIdIdentifier="sentry-dbid-b96ecd94-13c4-4a9f-8c4e-84501cf74ae2")}catch{}})();const N=L.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,qe={key:"paymentDate",value:N.paymentDate,sortOrder:"ascending",width:new u(18,18,18,18,18)},Xe={key:"sourceAccount",value:N.sourceAccount,sortOrder:"ascending",width:new u(30,30,30,30,30)},Ge={key:"paymentStatus",value:N.paymentStatus,sortOrder:"ascending",width:new u(22,22,22,22,22)},Je={key:"initiatedBy",value:N.initiatedBy,sortOrder:"ascending",width:new u(18,18,18,18,18)},Qe={key:"amount",value:N.amount,sortOrder:"ascending",width:new u(12,12,12,12,12)},pe=()=>[qe,Xe,Ge,Je,Qe],P={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(c[0],c[4]),headerLastColumnRightPadding:new u(c[3],c[11]),headerLastColumnBottomPadding:new u(c[0],c[4]),headerLastColumnLeftPadding:new u(c[0],c[11]),headerHeight:new u(Ee,Ke)};function Ze({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:h}){const s=W(),a=O(),[l,x]=j.useState(pe());j.useEffect(()=>{const r=[...l];for(const g of r)g.key===o.sortKey?g.sortOrder=o.sortOrder:g.sortOrder="ascending";x(r)},[o.sortKey,o.sortOrder]);const p=(r,g)=>{let y=g;o.sortKey===r&&(y=g==="ascending"?"descending":"ascending"),h(r,y)},d=l.find(r=>r.key===o.sortKey)??l[0],m=r=>l.find(g=>g.key===r)?.value??"",b=l.map(r=>r.key),$=L.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return a==="small"?t.jsxs(nt,{windowSize:a,children:[t.jsxs(at,{children:[t.jsx(dt,{children:t.jsx(rt,{})}),t.jsx(Be,{title:$.header.paymentDate,placeholder:$.header.paymentDate,pickerValues:b,valueToLabel:m,selectedValue:o.sortKey,onPickerSelectionChanged:r=>{p(r,"ascending")},optionTextStyle:K.extraSmallRegular,titleTextStyle:K.extraSmallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.grey4})]}),t.jsxs(ht,{onClick:()=>p(d.key,d.sortOrder),"data-testid":D("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(B,{children:d.value}),t.jsx(X,{windowSize:a,sortDataValue:o.sortKey,headerdata:d,children:t.jsx(G,{windowSize:a,children:t.jsx(Y,{})})})]})]}):t.jsx(tt,{windowSize:a,children:t.jsx(it,{children:l.map(r=>r.width.value(a)!==0&&t.jsxs(ot,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:r.key,wrapperWidth:r.width,windowSize:a,children:[t.jsxs(ct,{onClick:()=>p(r.key,r.sortOrder),"data-testid":D("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(B,{children:r.value}),t.jsx(X,{windowSize:a,sortDataValue:o.sortKey,headerdata:r,children:t.jsx(G,{windowSize:a,children:t.jsx(Y,{})})})]}),t.jsx(lt,{sortDataValue:o.sortKey,windowSize:a,isVisible:o.sortKey===r.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(st,{onClick:()=>p("paymentDate","ascending"),"data-testid":D("payment-history-list-sort-cancel",o.sortKey)})})]},r.key))})})}const et=_.memo(Ze),tt=n.div`
1
+ import{a8 as be,aw as Se,q as O,d as W,V as t,bA as Ce,b as K,g2 as Pe,F as L,c,o as i,y as u,jh as ke,cb as Le,ji as F,aN as D,b2 as ze,cr as Re,iO as Ie,bM as De,aR as ne,al as M,dr as f,gU as V,aL as H,bR as Ae,ct as Te,bP as Be,am as B,cw as Y,p as C,gV as oe,fM as se,fI as ae,cg as Oe,ai as re,iD as de,bK as Me,bI as Ne,iW as He,cz as We,aT as k,iX as Ee,iY as Ke}from"./index-DhfemY__.js";import{a as j,S as _}from"./sentry-gm2R3TtK.js";import{n,c as q}from"./mui-snKYaegN.js";import{t as Ve}from"./SpendManagementSection-mtTZeiX8-DVibaVnB.js";import{r as _e,a as Ue,i as le,g as Fe}from"./SpendManagementListViewPage-C3gJ8vag-BNKNPoS5.js";import{ck as ce,G5 as he}from"./zeni-epic-state-D2RxwWrl.js";import{r as Ye}from"./auto-transfer-rule-mbafm5D3-DPk-N0wE.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./StatusSwitcher-DRDFuzoj-B6IPcags.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b96ecd94-13c4-4a9f-8c4e-84501cf74ae2",e._sentryDebugIdIdentifier="sentry-dbid-b96ecd94-13c4-4a9f-8c4e-84501cf74ae2")}catch{}})();const N=L.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,qe={key:"paymentDate",value:N.paymentDate,sortOrder:"ascending",width:new u(18,18,18,18,18)},Xe={key:"sourceAccount",value:N.sourceAccount,sortOrder:"ascending",width:new u(30,30,30,30,30)},Ge={key:"paymentStatus",value:N.paymentStatus,sortOrder:"ascending",width:new u(22,22,22,22,22)},Je={key:"initiatedBy",value:N.initiatedBy,sortOrder:"ascending",width:new u(18,18,18,18,18)},Qe={key:"amount",value:N.amount,sortOrder:"ascending",width:new u(12,12,12,12,12)},pe=()=>[qe,Xe,Ge,Je,Qe],P={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(c[0],c[4]),headerLastColumnRightPadding:new u(c[3],c[11]),headerLastColumnBottomPadding:new u(c[0],c[4]),headerLastColumnLeftPadding:new u(c[0],c[11]),headerHeight:new u(Ee,Ke)};function Ze({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:h}){const s=W(),a=O(),[l,x]=j.useState(pe());j.useEffect(()=>{const r=[...l];for(const g of r)g.key===o.sortKey?g.sortOrder=o.sortOrder:g.sortOrder="ascending";x(r)},[o.sortKey,o.sortOrder]);const p=(r,g)=>{let y=g;o.sortKey===r&&(y=g==="ascending"?"descending":"ascending"),h(r,y)},d=l.find(r=>r.key===o.sortKey)??l[0],m=r=>l.find(g=>g.key===r)?.value??"",b=l.map(r=>r.key),$=L.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return a==="small"?t.jsxs(nt,{windowSize:a,children:[t.jsxs(at,{children:[t.jsx(dt,{children:t.jsx(rt,{})}),t.jsx(Be,{title:$.header.paymentDate,placeholder:$.header.paymentDate,pickerValues:b,valueToLabel:m,selectedValue:o.sortKey,onPickerSelectionChanged:r=>{p(r,"ascending")},optionTextStyle:K.extraSmallRegular,titleTextStyle:K.extraSmallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.grey4})]}),t.jsxs(ht,{onClick:()=>p(d.key,d.sortOrder),"data-testid":D("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(B,{children:d.value}),t.jsx(X,{windowSize:a,sortDataValue:o.sortKey,headerdata:d,children:t.jsx(G,{windowSize:a,children:t.jsx(Y,{})})})]})]}):t.jsx(tt,{windowSize:a,children:t.jsx(it,{children:l.map(r=>r.width.value(a)!==0&&t.jsxs(ot,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:r.key,wrapperWidth:r.width,windowSize:a,children:[t.jsxs(ct,{onClick:()=>p(r.key,r.sortOrder),"data-testid":D("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(B,{children:r.value}),t.jsx(X,{windowSize:a,sortDataValue:o.sortKey,headerdata:r,children:t.jsx(G,{windowSize:a,children:t.jsx(Y,{})})})]}),t.jsx(lt,{sortDataValue:o.sortKey,windowSize:a,isVisible:o.sortKey===r.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(st,{onClick:()=>p("paymentDate","ascending"),"data-testid":D("payment-history-list-sort-cancel",o.sortKey)})})]},r.key))})})}const et=_.memo(Ze),tt=n.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{q as $,V as r,d as O,aw as be,a8 as $e,aO as je,aL as Se,fQ as Te,bA as ze,fp as ve,n as Z,aN as ee,F as oe,o as t,a as Pe,l as V,cA as ke,aq as Ae,y as x,ap as Ie,bR as Be,iH as Le,ai as Re,c as p,R as S,p as y,b9 as _e,aS as Me,iI as Ee}from"./index-Bs2B-MQ4.js";import{a as T}from"./sentry-gm2R3TtK.js";import{n,c as De,k as Fe}from"./mui-snKYaegN.js";import{EL as Ne}from"./zeni-epic-state-D2RxwWrl.js";import{k as Ue}from"./NavigationDots-DISWi4Mq-BdTnuTup.js";import{J as H,N as G}from"./PromoBaseCards-CLQMN7aT-BxeQG0rP.js";import{M as R}from"./usp-line-BBd1wKwW-DO5-Shw0.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="607ab596-7f80-48d4-bf63-6f4d2dde3883",e._sentryDebugIdIdentifier="sentry-dbid-607ab596-7f80-48d4-bf63-6f4d2dde3883")}catch{}})();const g={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},z={promoBadgeText:new S("standardRegular","largeRegular"),promoBadgeTextBold:new S("standardBold","largeBold"),cardsContent:new S("extraSmallRegular","smallRegular"),contactAdmin:new S("extraSmallRegular","largeRegular"),uspText:new S("smallRegular","standardRegular"),uspBoldText:new S("smallMedium","standardMedium")},{common:N,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),_r=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:u,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:J,onExpressInterestClick:ge})=>{const he=O(),q=be(),v=$(),W=$e().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:C,companyLocaleInfo:M}=i,X=je(_?.fetchStatus.fetchState),[xe,K]=T.useState(!1),ue=()=>{W.trackCardsPromoPageClicked("schedule demo"),W.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:u,isCreditCardEnabled:w},"Cards Promo"),K(!0)},we=C!=null&&M!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;T.useEffect(()=>{X==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&J()},[X,J,_?.fetchStatus]);const Q=Ne(q.loggedInUserRoleMap),fe=Te(q),E=f==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:ye}=i,Y=E?o.getPreApprovedNow:a?o.enableCardsButton:o.setupCardsButton;return r.jsxs(qe,{children:[r.jsx(ze,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:v==="medium-compact"||v==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ve,{onCancelClick:()=>{K(!1)},meetingUrl:e}):null,r.jsx(Qe,{windowSize:v,children:Q===!0?r.jsxs(Ke,{children:[r.jsxs(Xe,{children:[r.jsx(Ge,{isApproved:Ce,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ne,{showEnableCardButton:a,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Oe,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),Q&&!(F||D)?r.jsxs(or,{windowSize:v,children:[r.jsx(Z,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:ue,"data-testid":ee("schedule-demo-button")}),r.jsx(We,{windowSize:v,children:o.orText}),r.jsx(Z,{variant:"primary",label:Y,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||ye==="In-Progress",onClick:Y===o.getPreApprovedNow?ge:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},He=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.user?.lastName).join(", "),i=$();return r.jsxs(mr,{windowSize:i,children:[r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Be,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(U,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ne=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const u=$();return r.jsx(ir,{windowSize:u,children:r.jsx(Le,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:a===!0||c===!0||h===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&a===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(u)},cardPromoType:e,isCheckingEnabled:i})})},Ge=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const u=$(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,j=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,N.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(rr,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,N.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):a?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,N.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ze,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:u,children:[a||c||m?null:r.jsx(yr,{}),r.jsx(er,{windowSize:u,children:j})]})]})},Oe=({companyLegalName:e,cards:s,admins:i,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const u=$(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(pr,{windowSize:u}):r.jsx(Ve,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(He,{admins:i}),r.jsx(ne,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Ve=({cards:e,companyLegalName:s})=>{const i=O(),a=$();let c="",m;if(e.length===1){m=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;c=o.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else c=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(hr,{children:[m!=null?r.jsx(Ye,{width:t.sp5,height:t.sp5,style:{paddingTop:a==="small"?t.sp1:t.sp0},src:m.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ie},loading:"lazy"}):null,r.jsx(gr,{windowSize:a,mode:i.mode,children:r.jsx(xr,{windowSize:a,children:c})})]})},re=({windowSize:e,cardPromoType:s})=>{let i=o.businessText;return s==="debit"&&(i=`${i} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Je,{}):r.jsxs(ar,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(G,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ae=({cardPromoType:e,cashbackRate:s})=>{const i=$(),a=o.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(nr,{windowSize:i,children:[r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(lr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:a.item1.pre}),r.jsx(I,{windowSize:i,children:a.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(b,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?a.singleStarred:""}${a.item1.post}`})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(sr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:a.item2.pre}),r.jsx(I,{windowSize:i,children:a.item2.bold}),r.jsx(b,{windowSize:i,children:a.item2.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(cr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:a.item3.pre}),r.jsx(I,{windowSize:i,children:a.item3.bold}),r.jsx(b,{windowSize:i,children:a.item3.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(dr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:a.item4.pre}),r.jsx(I,{windowSize:i,children:a.item4.bold}),r.jsx(b,{windowSize:i,children:a.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Je=()=>{const e=$(),s=O(),[i,a]=T.useState(0),[c,m]=T.useState(!1),h=o.businessText,u=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:u},{id:2,cardType:"debit",cardText:u},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{a(l=>{const d=l+1;return d===w.length?(m(!0),0):d})},2e3)),()=>clearInterval(k)),[c,w.length]),T.useEffect(()=>{c&&k!=null&&clearInterval(k)},[c]);const j=(l,d)=>{switch((l-i+w.length)%w.length){case 0:return{transform:`translate(0,${d?"100%":0}) scale(1)`,zIndex:d?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${d?"80%":"5%"}) scale(0.75)`,zIndex:d?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};default:return}},P=l=>{const d=j(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},f=l=>{c||m(!0),a(l)};return r.jsxs(ur,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:w.map((l,d)=>r.jsxs(fr,{children:[r.jsx(ie,{isReflection:!1,style:{...j(d,!1)},onClick:()=>f(d),children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(G,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(G,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),c&&r.jsx(Ue,{numberOfDots:w.length,activeIndex:i,handleClick:a,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},qe=n.div`
1
+ import{q as $,V as r,d as O,aw as be,a8 as $e,aO as je,aL as Se,fQ as Te,bA as ze,fp as ve,n as Z,aN as ee,F as oe,o as t,a as Pe,l as V,cA as ke,aq as Ae,y as x,ap as Ie,bR as Be,iH as Le,ai as Re,c as p,R as S,p as y,b9 as _e,aS as Me,iI as Ee}from"./index-DhfemY__.js";import{a as T}from"./sentry-gm2R3TtK.js";import{n,c as De,k as Fe}from"./mui-snKYaegN.js";import{EL as Ne}from"./zeni-epic-state-D2RxwWrl.js";import{k as Ue}from"./NavigationDots-DISWi4Mq-BRitr2tA.js";import{J as H,N as G}from"./PromoBaseCards-CLQMN7aT-Cm9ov18k.js";import{M as R}from"./usp-line-BBd1wKwW-DO5-Shw0.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="607ab596-7f80-48d4-bf63-6f4d2dde3883",e._sentryDebugIdIdentifier="sentry-dbid-607ab596-7f80-48d4-bf63-6f4d2dde3883")}catch{}})();const g={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},z={promoBadgeText:new S("standardRegular","largeRegular"),promoBadgeTextBold:new S("standardBold","largeBold"),cardsContent:new S("extraSmallRegular","smallRegular"),contactAdmin:new S("extraSmallRegular","largeRegular"),uspText:new S("smallRegular","standardRegular"),uspBoldText:new S("smallMedium","standardMedium")},{common:N,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),_r=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:u,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:J,onExpressInterestClick:ge})=>{const he=O(),q=be(),v=$(),W=$e().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:C,companyLocaleInfo:M}=i,X=je(_?.fetchStatus.fetchState),[xe,K]=T.useState(!1),ue=()=>{W.trackCardsPromoPageClicked("schedule demo"),W.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:u,isCreditCardEnabled:w},"Cards Promo"),K(!0)},we=C!=null&&M!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;T.useEffect(()=>{X==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&J()},[X,J,_?.fetchStatus]);const Q=Ne(q.loggedInUserRoleMap),fe=Te(q),E=f==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:ye}=i,Y=E?o.getPreApprovedNow:a?o.enableCardsButton:o.setupCardsButton;return r.jsxs(qe,{children:[r.jsx(ze,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:v==="medium-compact"||v==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ve,{onCancelClick:()=>{K(!1)},meetingUrl:e}):null,r.jsx(Qe,{windowSize:v,children:Q===!0?r.jsxs(Ke,{children:[r.jsxs(Xe,{children:[r.jsx(Ge,{isApproved:Ce,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ne,{showEnableCardButton:a,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Oe,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),Q&&!(F||D)?r.jsxs(or,{windowSize:v,children:[r.jsx(Z,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:ue,"data-testid":ee("schedule-demo-button")}),r.jsx(We,{windowSize:v,children:o.orText}),r.jsx(Z,{variant:"primary",label:Y,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||ye==="In-Progress",onClick:Y===o.getPreApprovedNow?ge:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},He=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.user?.lastName).join(", "),i=$();return r.jsxs(mr,{windowSize:i,children:[r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Be,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(U,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ne=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const u=$();return r.jsx(ir,{windowSize:u,children:r.jsx(Le,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:a===!0||c===!0||h===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&a===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(u)},cardPromoType:e,isCheckingEnabled:i})})},Ge=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const u=$(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,j=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,N.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(rr,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,N.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):a?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,N.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ze,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:u,children:[a||c||m?null:r.jsx(yr,{}),r.jsx(er,{windowSize:u,children:j})]})]})},Oe=({companyLegalName:e,cards:s,admins:i,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const u=$(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(pr,{windowSize:u}):r.jsx(Ve,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(He,{admins:i}),r.jsx(ne,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Ve=({cards:e,companyLegalName:s})=>{const i=O(),a=$();let c="",m;if(e.length===1){m=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;c=o.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else c=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(hr,{children:[m!=null?r.jsx(Ye,{width:t.sp5,height:t.sp5,style:{paddingTop:a==="small"?t.sp1:t.sp0},src:m.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ie},loading:"lazy"}):null,r.jsx(gr,{windowSize:a,mode:i.mode,children:r.jsx(xr,{windowSize:a,children:c})})]})},re=({windowSize:e,cardPromoType:s})=>{let i=o.businessText;return s==="debit"&&(i=`${i} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Je,{}):r.jsxs(ar,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(G,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ae=({cardPromoType:e,cashbackRate:s})=>{const i=$(),a=o.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(nr,{windowSize:i,children:[r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(lr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:a.item1.pre}),r.jsx(I,{windowSize:i,children:a.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(b,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?a.singleStarred:""}${a.item1.post}`})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(sr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:a.item2.pre}),r.jsx(I,{windowSize:i,children:a.item2.bold}),r.jsx(b,{windowSize:i,children:a.item2.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(cr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:a.item3.pre}),r.jsx(I,{windowSize:i,children:a.item3.bold}),r.jsx(b,{windowSize:i,children:a.item3.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(dr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:a.item4.pre}),r.jsx(I,{windowSize:i,children:a.item4.bold}),r.jsx(b,{windowSize:i,children:a.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Je=()=>{const e=$(),s=O(),[i,a]=T.useState(0),[c,m]=T.useState(!1),h=o.businessText,u=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:u},{id:2,cardType:"debit",cardText:u},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{a(l=>{const d=l+1;return d===w.length?(m(!0),0):d})},2e3)),()=>clearInterval(k)),[c,w.length]),T.useEffect(()=>{c&&k!=null&&clearInterval(k)},[c]);const j=(l,d)=>{switch((l-i+w.length)%w.length){case 0:return{transform:`translate(0,${d?"100%":0}) scale(1)`,zIndex:d?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${d?"80%":"5%"}) scale(0.75)`,zIndex:d?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};default:return}},P=l=>{const d=j(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},f=l=>{c||m(!0),a(l)};return r.jsxs(ur,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:w.map((l,d)=>r.jsxs(fr,{children:[r.jsx(ie,{isReflection:!1,style:{...j(d,!1)},onClick:()=>f(d),children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(G,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(G,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),c&&r.jsx(Ue,{numberOfDots:w.length,activeIndex:i,handleClick:a,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},qe=n.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{d as je,q as Oe,a8 as Ue,aO as M,a9 as Be,cC as _e,aT as G,V as t,f7 as ze,p as Le,y as d,bA as $e,k as Re,ac as We,fq as qe,dL as Ne,fr as He,o as B,b as Me,iJ as J,bv as Ge,aP as Je,ft as Ke,F as Qe,c as o,al as Xe}from"./index-Bs2B-MQ4.js";import{a as f}from"./sentry-gm2R3TtK.js";import{n as w}from"./mui-snKYaegN.js";import{bJ as Ye}from"./zeni-epic-state-D2RxwWrl.js";import{x as Ze}from"./LabeledControlledCheckBoxField-f2c-AeS4-DagKbuzo.js";import{g as et}from"./UploadAdditionalDocumentOverlay-CoO-S_pc-DdAruGua.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="ba2037df-20bc-44e3-a10e-cf15ece1c7de",e._sentryDebugIdIdentifier="sentry-dbid-ba2037df-20bc-44e3-a10e-cf15ece1c7de")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,o[5],o[5]),sectionRowGap:new d(o[5],o[9],o[9]),iconWidthHeight:new d(20,o[4]),subTitlePaddingTop:new d(12,o[3]),subTitlePaddingBottom:new d(o[3],o[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(o[1],o[0])},K="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Qe.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:g}=Y,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:r,meetingUrl:x,isEarlyPayEnabled:h,chargeCardSetUpView:a,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:ae,onFetchLinkTokenClick:oe,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:de,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:me,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:xe})=>{const y=je(),i=Oe(),E=Ue().analytics,[A,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:z,isRefreshingViewInBackground:Pe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:L,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:$}=a,R=M(C),k=M(u.fetchState),F=Be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>Q(a),[a]),values:Q(a)}),ve=F.handleSubmit(se),Ee=async(S,T)=>{const n=T[m];if(S.includes(m))if(S.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=$.find(U=>U.id===n.fundingAccount.selectedOption);p!=null&&pe(n.fundingAccount.selectedOption,p.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const p=n.account.allOptions.find(U=>U.value===n.account.selectedOption);p!=null&&typeof p.label=="string"&&E.trackConnectBankLink(p.value,p.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else S.includes("enableAutoPay")&&n.enableAutoPay!=null&&fe(n.enableAutoPay)};f.useEffect(()=>{const S=F.watch((T,{name:n})=>{n!=null&&T!=null&&_e(()=>Ee(n,T))});return()=>{S.unsubscribe()}}),f.useEffect(()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),A&&R==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,R]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const D=I?.isChargeCardEnabled===!0,V=L?.isDebitCardEnabled===!0,W=L?.isDebitCardTOSAccepted===!0,q=I?.isChargeCardTOSAccepted===!0,N=z?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),j=v?N:N&&Ie,Fe=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const O=v?j&&!V&&W:ie?j&&!D&&q:j&&!(D&&V)&&q&&W,De=O?g.setupSubTitleNotEnabled:g.setupSubTitle,H=y.mode==="light"?new G(y.colors.brandColorJadeLight):new G(y.colors.brandColorJadeDark),Ve=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):de?.()};return t.jsxs(at,{children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:u,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:we})}),t.jsx($e,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!D&&!V&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(ot,{windowSize:i,children:De}),Fe?t.jsx(ct,{children:t.jsx(Re,{size:"ExtraLarge",start:!0})}):t.jsx(We,{...F,children:t.jsx("form",{id:X(K),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(qe,{onClick:Ve,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(Ne,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:z?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:$,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:m,isDisabled:r,onFetchLinkTokenClick:oe,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:me,icon:{element:t.jsx(Ge,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:xe,pageName:g.pageName,accountsPromoConfig:ae,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:J(m,"enableAutoPay"),checkBoxValue:J(m,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Je,{formId:X(K),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:O,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},Q=e=>{const{allBankAccounts:r,allFundingAccounts:x,primaryFundingAccount:h}=e;return{[m]:{fundingAccount:{selectedOption:h?.id,allOptions:x.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(a=>({label:a.accountName,value:a.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,it=w.div`
1
+ import{d as je,q as Oe,a8 as Ue,aO as M,a9 as Be,cC as _e,aT as G,V as t,f7 as ze,p as Le,y as d,bA as $e,k as Re,ac as We,fq as qe,dL as Ne,fr as He,o as B,b as Me,iJ as J,bv as Ge,aP as Je,ft as Ke,F as Qe,c as o,al as Xe}from"./index-DhfemY__.js";import{a as f}from"./sentry-gm2R3TtK.js";import{n as w}from"./mui-snKYaegN.js";import{bJ as Ye}from"./zeni-epic-state-D2RxwWrl.js";import{x as Ze}from"./LabeledControlledCheckBoxField-f2c-AeS4-CmYbdyel.js";import{g as et}from"./UploadAdditionalDocumentOverlay-CoO-S_pc-CZO5yc-K.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="ba2037df-20bc-44e3-a10e-cf15ece1c7de",e._sentryDebugIdIdentifier="sentry-dbid-ba2037df-20bc-44e3-a10e-cf15ece1c7de")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,o[5],o[5]),sectionRowGap:new d(o[5],o[9],o[9]),iconWidthHeight:new d(20,o[4]),subTitlePaddingTop:new d(12,o[3]),subTitlePaddingBottom:new d(o[3],o[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(o[1],o[0])},K="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Qe.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:g}=Y,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:r,meetingUrl:x,isEarlyPayEnabled:h,chargeCardSetUpView:a,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:ae,onFetchLinkTokenClick:oe,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:de,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:me,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:xe})=>{const y=je(),i=Oe(),E=Ue().analytics,[A,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:z,isRefreshingViewInBackground:Pe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:L,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:$}=a,R=M(C),k=M(u.fetchState),F=Be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>Q(a),[a]),values:Q(a)}),ve=F.handleSubmit(se),Ee=async(S,T)=>{const n=T[m];if(S.includes(m))if(S.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=$.find(U=>U.id===n.fundingAccount.selectedOption);p!=null&&pe(n.fundingAccount.selectedOption,p.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const p=n.account.allOptions.find(U=>U.value===n.account.selectedOption);p!=null&&typeof p.label=="string"&&E.trackConnectBankLink(p.value,p.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else S.includes("enableAutoPay")&&n.enableAutoPay!=null&&fe(n.enableAutoPay)};f.useEffect(()=>{const S=F.watch((T,{name:n})=>{n!=null&&T!=null&&_e(()=>Ee(n,T))});return()=>{S.unsubscribe()}}),f.useEffect(()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),A&&R==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,R]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const D=I?.isChargeCardEnabled===!0,V=L?.isDebitCardEnabled===!0,W=L?.isDebitCardTOSAccepted===!0,q=I?.isChargeCardTOSAccepted===!0,N=z?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),j=v?N:N&&Ie,Fe=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const O=v?j&&!V&&W:ie?j&&!D&&q:j&&!(D&&V)&&q&&W,De=O?g.setupSubTitleNotEnabled:g.setupSubTitle,H=y.mode==="light"?new G(y.colors.brandColorJadeLight):new G(y.colors.brandColorJadeDark),Ve=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):de?.()};return t.jsxs(at,{children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:u,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:we})}),t.jsx($e,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!D&&!V&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(ot,{windowSize:i,children:De}),Fe?t.jsx(ct,{children:t.jsx(Re,{size:"ExtraLarge",start:!0})}):t.jsx(We,{...F,children:t.jsx("form",{id:X(K),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(qe,{onClick:Ve,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(Ne,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:z?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:$,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:m,isDisabled:r,onFetchLinkTokenClick:oe,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:me,icon:{element:t.jsx(Ge,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:xe,pageName:g.pageName,accountsPromoConfig:ae,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:J(m,"enableAutoPay"),checkBoxValue:J(m,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Je,{formId:X(K),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:O,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},Q=e=>{const{allBankAccounts:r,allFundingAccounts:x,primaryFundingAccount:h}=e;return{[m]:{fundingAccount:{selectedOption:h?.id,allOptions:x.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(a=>({label:a.accountName,value:a.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,it=w.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{d as F,q as L,V as t,bA as W,o as h,F as B,y as g,al as R,b8 as _,a8 as V,hH as O,k as q,aN as U,c as s,c1 as Z}from"./index-Bs2B-MQ4.js";import{n as r}from"./mui-snKYaegN.js";import{$ as H,g as J}from"./BoxItem-42doFhpg-BDC_fDqi.js";import{a as G}from"./sentry-gm2R3TtK.js";import{w as K}from"./downloadPdf-ZSABdzxr-CSS_LmUU.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./commonDimensions-BgvFMAEM-jw0M4GDE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="4a563704-66a8-4917-bfbd-6da4bfaca881",e._sentryDebugIdIdentifier="sentry-dbid-4a563704-66a8-4917-bfbd-6da4bfaca881")}catch{}})();const D=B.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},Q=r.div`
1
+ import{d as F,q as L,V as t,bA as W,o as h,F as B,y as g,al as R,b8 as _,a8 as V,hH as O,k as q,aN as U,c as s,c1 as Z}from"./index-DhfemY__.js";import{n as r}from"./mui-snKYaegN.js";import{$ as H,g as J}from"./BoxItem-42doFhpg-6FkeU-XY.js";import{a as G}from"./sentry-gm2R3TtK.js";import{w as K}from"./downloadPdf-ZSABdzxr-DOm7vdU6.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./commonDimensions-BgvFMAEM-CvQs602P.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="4a563704-66a8-4917-bfbd-6da4bfaca881",e._sentryDebugIdIdentifier="sentry-dbid-4a563704-66a8-4917-bfbd-6da4bfaca881")}catch{}})();const D=B.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},Q=r.div`
2
2
  display: flex;
3
3
  padding: ${h.sp3} ${h.sp4};
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{q as Z,V as t,aN as $,hF as pe,aL as M,n as W,o,aP as he,y as n,L as ee,l as ue,F as oe,b8 as me,a as te,ai as ge,al as F,aO as fe,a9 as xe,cC as ke,p as b,ac as De,g8 as $e,cF as be,eQ as G,cM as J,c as s,fk as we,cg as ye,b_ as je,eY as Pe,gU as Le,am as q,gV as Se}from"./index-Bs2B-MQ4.js";import{a as k}from"./sentry-gm2R3TtK.js";import{n as a}from"./mui-snKYaegN.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="34467fe6-2c5f-45f7-93bb-347a45c47660",e._sentryDebugIdIdentifier="sentry-dbid-34467fe6-2c5f-45f7-93bb-347a45c47660")}catch{}})();const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",V="selectDocument",E=e=>{const l=[];return e.checkFront!=null&&l.push(e.checkFront.fileId),e.checkBack!=null&&l.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(f=>({label:f.accountName,value:f.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:l,[V]:{front:e.checkFront,back:e.checkBack}}}},D=(e,l)=>`${e}.${l}`,Be=e=>`${e}_form`,u={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(s[3],s[4]),checkPicRowContentPaddingXAxis:new n(s[3],s[4]),labeleMarginLeft:new n(s[0],s[0]),labeleMarginBottom:new n(s[2],s[0]),labelMarginRight:new n(s[3],s[3]),labeledFieldPaddingLeft:new n(s[3],s[0]),labeledFieldPaddingRight:new n(s[3],s[2]),labeledFieldPaddingTop:new n(s[3],s[3]),labeledFieldPaddingBottom:new n(s[3],s[2]),infoLabelPaddingRight:new n(s[0],s[3]),infoLabelMarginTop:new n(s[1],s[0])},{spendManagement:ze,common:R}=oe.getLocalizedStrings(),c=ze.zeniAccounts.zeniAccountList,Ae=R.documents;function Ie({checkDeposit:e,analytics:l,filesEndPoint:f,openPopup:w,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:L,onCheckDpositClick:T}){const r=Z(),d=e.fetchState,S=fe(d),[v,_]=k.useState(!1),[se,B]=k.useState(!1),z=u.largeLabelWidth.value(r),x=xe({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=x.formState,Y=i=>{const p={amount:{amount:i[g].amount??0,currencyCode:R.currency.currencyCode,currencySymbol:R.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(p)},le=async(i,p)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},p);Y(h)}};k.useEffect(()=>{const i=x.watch((p,{name:h})=>{h!=null&&p!=null&&ke(()=>le(h,p))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{S==="Completed"&&d==="Not-Started"&&x.reset(E(e))},[S,d,x,e]),k.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const ce=x.handleSubmit(()=>{if(re){l.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=x.getValues();Y(i),T?.()}}),ne=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Re,{color:Le(A),isSelectedValue:p}):null},de=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?p===!0?t.jsx(Ve,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(K,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(K,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(_e,{children:[t.jsx(We,{}),t.jsxs(Ge,{children:[t.jsx(Je,{children:e.error?.title}),t.jsx(Ke,{children:e.error?.message})]})]}),t.jsx(Ye,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:b.heroLight}})})]})}):null,t.jsx(Qe,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...x,children:t.jsx("form",{id:Be(ve),onSubmit:ce,children:t.jsxs(Xe,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(be,{label:{label:c.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Ue,{label:{label:c.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,p)=>ne(i,p),valueToSubLabels:(i,p)=>de(i,p),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(He,{size:r,children:[t.jsxs(Ze,{size:r,children:[t.jsx(Ee,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(Q,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(G,{name:`${D(g,V)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:L,openPopup:w,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Q,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(G,{name:`${D(g,V)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:L,openPopup:w,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
1
+ import{q as Z,V as t,aN as $,hF as pe,aL as M,n as W,o,aP as he,y as n,L as ee,l as ue,F as oe,b8 as me,a as te,ai as ge,al as F,aO as fe,a9 as xe,cC as ke,p as b,ac as De,g8 as $e,cF as be,eQ as G,cM as J,c as s,fk as we,cg as ye,b_ as je,eY as Pe,gU as Le,am as q,gV as Se}from"./index-DhfemY__.js";import{a as k}from"./sentry-gm2R3TtK.js";import{n as a}from"./mui-snKYaegN.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="34467fe6-2c5f-45f7-93bb-347a45c47660",e._sentryDebugIdIdentifier="sentry-dbid-34467fe6-2c5f-45f7-93bb-347a45c47660")}catch{}})();const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",V="selectDocument",E=e=>{const l=[];return e.checkFront!=null&&l.push(e.checkFront.fileId),e.checkBack!=null&&l.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(f=>({label:f.accountName,value:f.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:l,[V]:{front:e.checkFront,back:e.checkBack}}}},D=(e,l)=>`${e}.${l}`,Be=e=>`${e}_form`,u={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(s[3],s[4]),checkPicRowContentPaddingXAxis:new n(s[3],s[4]),labeleMarginLeft:new n(s[0],s[0]),labeleMarginBottom:new n(s[2],s[0]),labelMarginRight:new n(s[3],s[3]),labeledFieldPaddingLeft:new n(s[3],s[0]),labeledFieldPaddingRight:new n(s[3],s[2]),labeledFieldPaddingTop:new n(s[3],s[3]),labeledFieldPaddingBottom:new n(s[3],s[2]),infoLabelPaddingRight:new n(s[0],s[3]),infoLabelMarginTop:new n(s[1],s[0])},{spendManagement:ze,common:R}=oe.getLocalizedStrings(),c=ze.zeniAccounts.zeniAccountList,Ae=R.documents;function Ie({checkDeposit:e,analytics:l,filesEndPoint:f,openPopup:w,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:L,onCheckDpositClick:T}){const r=Z(),d=e.fetchState,S=fe(d),[v,_]=k.useState(!1),[se,B]=k.useState(!1),z=u.largeLabelWidth.value(r),x=xe({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=x.formState,Y=i=>{const p={amount:{amount:i[g].amount??0,currencyCode:R.currency.currencyCode,currencySymbol:R.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(p)},le=async(i,p)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},p);Y(h)}};k.useEffect(()=>{const i=x.watch((p,{name:h})=>{h!=null&&p!=null&&ke(()=>le(h,p))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{S==="Completed"&&d==="Not-Started"&&x.reset(E(e))},[S,d,x,e]),k.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const ce=x.handleSubmit(()=>{if(re){l.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=x.getValues();Y(i),T?.()}}),ne=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Re,{color:Le(A),isSelectedValue:p}):null},de=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?p===!0?t.jsx(Ve,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(K,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(K,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(_e,{children:[t.jsx(We,{}),t.jsxs(Ge,{children:[t.jsx(Je,{children:e.error?.title}),t.jsx(Ke,{children:e.error?.message})]})]}),t.jsx(Ye,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:b.heroLight}})})]})}):null,t.jsx(Qe,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...x,children:t.jsx("form",{id:Be(ve),onSubmit:ce,children:t.jsxs(Xe,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(be,{label:{label:c.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Ue,{label:{label:c.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,p)=>ne(i,p),valueToSubLabels:(i,p)=>de(i,p),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(He,{size:r,children:[t.jsxs(Ze,{size:r,children:[t.jsx(Ee,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(Q,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(G,{name:`${D(g,V)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:L,openPopup:w,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Q,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(G,{name:`${D(g,V)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:L,openPopup:w,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Ne=a(F)`
4
4
  color: ${e=>e.theme.colors.hero};
@@ -1,4 +1,4 @@
1
- import{V as t,b2 as vo,aN as m,bL as pe,aL as U,dg as $o,o as s,p as X,aO as bn,q as O,aB as kn,ay as Lo,dh as jn,di as Ao,F as B,c as w,dj as Zn,dk as Nt,dl as It,c9 as Ft,dm as Pt,y as V,cZ as zt,aw as Qn,aa as Xe,dn as Me,bN as H,k as Bo,d as ce,aT as $,a_ as Jn,dp as Xn,an as Le,dq as Wo,dr as le,c8 as Tt,bZ as Sn,ai as Oo,am as we,ds as et,dt as Ae,du as nt,al as _,cg as ne,dv as Mo,b as Vt,dw as Ge,dx as Cn,dy as _n,dz as No,dA as Io,b8 as ei,aU as T,b5 as Fo,cw as Dt,cv as Rt,dB as Po,b6 as ti,cz as ni,bP as zo,dC as To,dD as vn,dE as $n,dF as Vo,dG as Do,bR as Ro,bI as Go,dH as Eo}from"./index-Bs2B-MQ4.js";import{n as a,c as F}from"./mui-snKYaegN.js";import{a as N,S as Ho}from"./sentry-gm2R3TtK.js";import{EW as Gt,Fk as Et,Fl as Ne,Fm as Ht,Fn as Kt,Fo as Yt,Fp as Ut,Fq as ii,Fr as Ko,F7 as xt,EX as Ie,bm as Ln,bg as oi,Fs as ri,Ft as Yo,bo as Uo,F8 as ai}from"./zeni-epic-state-D2RxwWrl.js";import{N as it,D as qo,R as Zo,B as ye,u as v}from"./AccountRow-B0gU16A_-Ks_Pft1z.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="767a3bd8-349b-4cdd-ad12-5b9b513d77ca",e._sentryDebugIdIdentifier="sentry-dbid-767a3bd8-349b-4cdd-ad12-5b9b513d77ca")}catch{}})();function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Q(e){return U("0,0",e?.forecast)}function li(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function jt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function se(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function de(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ci(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function si(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const Fe=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=B.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${xt(o,l.MMMYYYYFormat,e)}`:mt(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${B.getLocalizedStrings().reports.quarterPrefix}${xt(o,l.QYYYYformat,e)}`:mt(r,i);case"year":return r==="default"||r==="default_with_percent"?`${xt(o,l.YYYYformat,e)}`:mt(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function mt(e,n){return B.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const wp=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${$o(10)}`},Qo=a.div`
1
+ import{V as t,b2 as vo,aN as m,bL as pe,aL as U,dg as $o,o as s,p as X,aO as bn,q as O,aB as kn,ay as Lo,dh as jn,di as Ao,F as B,c as w,dj as Zn,dk as Nt,dl as It,c9 as Ft,dm as Pt,y as V,cZ as zt,aw as Qn,aa as Xe,dn as Me,bN as H,k as Bo,d as ce,aT as $,a_ as Jn,dp as Xn,an as Le,dq as Wo,dr as le,c8 as Tt,bZ as Sn,ai as Oo,am as we,ds as et,dt as Ae,du as nt,al as _,cg as ne,dv as Mo,b as Vt,dw as Ge,dx as Cn,dy as _n,dz as No,dA as Io,b8 as ei,aU as T,b5 as Fo,cw as Dt,cv as Rt,dB as Po,b6 as ti,cz as ni,bP as zo,dC as To,dD as vn,dE as $n,dF as Vo,dG as Do,bR as Ro,bI as Go,dH as Eo}from"./index-DhfemY__.js";import{n as a,c as F}from"./mui-snKYaegN.js";import{a as N,S as Ho}from"./sentry-gm2R3TtK.js";import{EW as Gt,Fk as Et,Fl as Ne,Fm as Ht,Fn as Kt,Fo as Yt,Fp as Ut,Fq as ii,Fr as Ko,F7 as xt,EX as Ie,bm as Ln,bg as oi,Fs as ri,Ft as Yo,bo as Uo,F8 as ai}from"./zeni-epic-state-D2RxwWrl.js";import{N as it,D as qo,R as Zo,B as ye,u as v}from"./AccountRow-B0gU16A_-CQ1wi8lx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="767a3bd8-349b-4cdd-ad12-5b9b513d77ca",e._sentryDebugIdIdentifier="sentry-dbid-767a3bd8-349b-4cdd-ad12-5b9b513d77ca")}catch{}})();function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Q(e){return U("0,0",e?.forecast)}function li(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function jt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function se(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function de(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ci(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function si(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const Fe=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=B.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${xt(o,l.MMMYYYYFormat,e)}`:mt(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${B.getLocalizedStrings().reports.quarterPrefix}${xt(o,l.QYYYYformat,e)}`:mt(r,i);case"year":return r==="default"||r==="default_with_percent"?`${xt(o,l.YYYYformat,e)}`:mt(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function mt(e,n){return B.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const wp=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${$o(10)}`},Qo=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{q as Qe,d as xl,cP as wl,F as de,y as E,aO as Ul,V as e,bR as Ol,fD as Il,ap as Xe,fZ as Ke,o as i,g7 as Hl,cO as jl,cF as $,cH as Oe,cL as Sl,eX as Gl,eV as Zl,cJ as vl,cI as Q,g8 as tl,g9 as Yl,fv as Jl,cM as Ye,fu as al,ga as Ql,p as B,cV as il,b0 as De,cN as Xl,fL as Ll,R as Pe,bI as Cl,fC as _l,al as el,fY as Fl,b as Ee,ao as Kl,bF as et,c as R,dg as lt,aX as tt,gb as at,ai as ll,am as it,gc as ot,bG as Ve,b4 as rt,M as Dl,cX as st,au as nt,bE as dt}from"./index-Bs2B-MQ4.js";import{a as h}from"./sentry-gm2R3TtK.js";import{a as ct,n as s}from"./mui-snKYaegN.js";import{bh as El,bL as ut}from"./zeni-epic-state-D2RxwWrl.js";import{C as Je}from"./LabeledAddressValueField-BrYbXck--8qVwdGMU.js";import{b as pt}from"./LabeledCountryMultiSelectField-BLOMdq_H-CLNHA2Sp.js";import{I as ol}from"./LabeledCreatableSingleSelectField-BWuogpe6-DITM3Hn0.js";import{Y as rl}from"./LabeledDocumentField-Ch2zD7s7-Nw7bBUJi.js";import{d as mt}from"./LabeledMultiSelectField-CA9PUCf3-CGx9bMTu.js";import{p as ht,i as ft,t as yt}from"./commonTypes-PtDfk70--ByVvU-Tm.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new l.Error().stack;c&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[c]="96b76b41-3428-468e-bdcc-30b02145a70f",l._sentryDebugIdIdentifier="sentry-dbid-96b76b41-3428-468e-bdcc-30b02145a70f")}catch{}})();const gt=l=>h.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...l},h.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),h.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("g",{clipPath:"url(#clip0_1350_23850)"},h.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip1_1350_23850)"},h.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip2_1350_23850)"},h.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip3_1350_23850)"},h.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),h.createElement("defs",null,h.createElement("clipPath",{id:"clip0_1350_23850"},h.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),h.createElement("clipPath",{id:"clip1_1350_23850"},h.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),h.createElement("clipPath",{id:"clip2_1350_23850"},h.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),h.createElement("clipPath",{id:"clip3_1350_23850"},h.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:bt}=de.getLocalizedStrings(),{businessVerification:sl}=bt,je={iconSize:new E(R[6],R[10]),gap:new E(R[2],R[3])},Pl={title:new Pe("smallSemiBold","standardSemiBold"),description:new Pe("smallRegular","standardRegular")},Vl=()=>{const[l]=tt("Secure"),c=Qe();return e.jsxs(xt,{windowSize:c,children:[l!=null?e.jsx(wt,{windowSize:c,animationData:l,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):e.jsx(Ot,{windowSize:c}),e.jsxs(It,{children:[e.jsx(jt,{windowSize:c,children:sl.securityMessageTitle}),e.jsx(St,{windowSize:c,children:sl.securityMessageDescription})]})]})},xt=s.div`
1
+ import{q as Qe,d as xl,cP as wl,F as de,y as E,aO as Ul,V as e,bR as Ol,fD as Il,ap as Xe,fZ as Ke,o as i,g7 as Hl,cO as jl,cF as $,cH as Oe,cL as Sl,eX as Gl,eV as Zl,cJ as vl,cI as Q,g8 as tl,g9 as Yl,fv as Jl,cM as Ye,fu as al,ga as Ql,p as B,cV as il,b0 as De,cN as Xl,fL as Ll,R as Pe,bI as Cl,fC as _l,al as el,fY as Fl,b as Ee,ao as Kl,bF as et,c as R,dg as lt,aX as tt,gb as at,ai as ll,am as it,gc as ot,bG as Ve,b4 as rt,M as Dl,cX as st,au as nt,bE as dt}from"./index-DhfemY__.js";import{a as h}from"./sentry-gm2R3TtK.js";import{a as ct,n as s}from"./mui-snKYaegN.js";import{bh as El,bL as ut}from"./zeni-epic-state-D2RxwWrl.js";import{C as Je}from"./LabeledAddressValueField-BrYbXck--Bam2jwZr.js";import{b as pt}from"./LabeledCountryMultiSelectField-BLOMdq_H-Mb0TF8y4.js";import{I as ol}from"./LabeledCreatableSingleSelectField-BWuogpe6-DHwshDD5.js";import{Y as rl}from"./LabeledDocumentField-Ch2zD7s7-GyTO4utg.js";import{d as mt}from"./LabeledMultiSelectField-CA9PUCf3-CwZMJ8IS.js";import{p as ht,i as ft,t as yt}from"./commonTypes-PtDfk70--Bx1ZBTCB.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new l.Error().stack;c&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[c]="96b76b41-3428-468e-bdcc-30b02145a70f",l._sentryDebugIdIdentifier="sentry-dbid-96b76b41-3428-468e-bdcc-30b02145a70f")}catch{}})();const gt=l=>h.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...l},h.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),h.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("g",{clipPath:"url(#clip0_1350_23850)"},h.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip1_1350_23850)"},h.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip2_1350_23850)"},h.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip3_1350_23850)"},h.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),h.createElement("defs",null,h.createElement("clipPath",{id:"clip0_1350_23850"},h.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),h.createElement("clipPath",{id:"clip1_1350_23850"},h.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),h.createElement("clipPath",{id:"clip2_1350_23850"},h.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),h.createElement("clipPath",{id:"clip3_1350_23850"},h.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:bt}=de.getLocalizedStrings(),{businessVerification:sl}=bt,je={iconSize:new E(R[6],R[10]),gap:new E(R[2],R[3])},Pl={title:new Pe("smallSemiBold","standardSemiBold"),description:new Pe("smallRegular","standardRegular")},Vl=()=>{const[l]=tt("Secure"),c=Qe();return e.jsxs(xt,{windowSize:c,children:[l!=null?e.jsx(wt,{windowSize:c,animationData:l,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):e.jsx(Ot,{windowSize:c}),e.jsxs(It,{children:[e.jsx(jt,{windowSize:c,children:sl.securityMessageTitle}),e.jsx(St,{windowSize:c,children:sl.securityMessageDescription})]})]})},xt=s.div`
2
2
  display: flex;
3
3
  align-items: ${l=>l.windowSize==="small"?"flex-start":"center"};
4
4
  gap: ${l=>je.gap.valuePx(l.windowSize)};
@@ -1,4 +1,4 @@
1
- import{V as r,aJ as E,aK as x,F as p,o as l,aN as M,aQ as w,ai as g,aR as H}from"./index-Bs2B-MQ4.js";import{n as o}from"./mui-snKYaegN.js";import{c as j}from"./SummaryCard-BNrPt21W-z-I2nOL_.js";import{a as t}from"./sentry-gm2R3TtK.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./ReloadCard-BT0lSFUP-CF34SUO7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="6c438ca4-a72f-4042-b0e4-c6d90bef18fc",e._sentryDebugIdIdentifier="sentry-dbid-6c438ca4-a72f-4042-b0e4-c6d90bef18fc")}catch{}})();const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),D=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:D},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:v},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],L=o(w)`
1
+ import{V as r,aJ as E,aK as x,F as p,o as l,aN as M,aQ as w,ai as g,aR as H}from"./index-DhfemY__.js";import{n as o}from"./mui-snKYaegN.js";import{c as j}from"./SummaryCard-BNrPt21W-BJL8pM34.js";import{a as t}from"./sentry-gm2R3TtK.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./ReloadCard-BT0lSFUP-CbQzBMR7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="6c438ca4-a72f-4042-b0e4-c6d90bef18fc",e._sentryDebugIdIdentifier="sentry-dbid-6c438ca4-a72f-4042-b0e4-c6d90bef18fc")}catch{}})();const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),D=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:D},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:v},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],L=o(w)`
2
2
  margin: ${l.sp5};
3
3
  justify-content: space-between;
4
4
  `,b=o.div`
@@ -1,4 +1,4 @@
1
- import{q as k,d as ta,aO as la,a9 as oa,cC as ia,F as T,V as a,bA as na,ac as sa,cD as ra,aP as ca,y as p,cE as da,L as pa,o as t,al as se,cF as L,cG as Te,cH as P,cI as ma,cJ as We,cK as fa,cL as ua,cM as Be,aw as ha,cN as ya,cO as Ve,cP as xa,cQ as ba,cR as ga,cS as wa,p as E,cT as Ia,cU as $a,br as ja,aR as Da,b8 as A,cV as _e,c as u,ai as Ye,n as Ne,cW as Sa,aB as Oa,cX as va,cg as Ca,cY as Fa,am as Ta,cZ as Na}from"./index-Bs2B-MQ4.js";import{a as B,S as ka}from"./sentry-gm2R3TtK.js";import{n as i,k as Pa}from"./mui-snKYaegN.js";import{Fg as La,bj as Ae,bL as za,bh as he,bC as Ea,Fh as Ma}from"./zeni-epic-state-D2RxwWrl.js";import{I as Re}from"./LabeledCreatableSingleSelectField-BWuogpe6-DITM3Hn0.js";import{Y as Ue}from"./LabeledDocumentField-Ch2zD7s7-Nw7bBUJi.js";import{$ as qe}from"./LabeledAddressValue-Ce_wDml5-CoYtFscl.js";import{d as Wa}from"./LabeledMultiSelectField-CA9PUCf3-CGx9bMTu.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="c4064fab-eedc-40ea-a680-0fa55ba37ba5",e._sentryDebugIdIdentifier="sentry-dbid-c4064fab-eedc-40ea-a680-0fa55ba37ba5")}catch{}})();const Ze={maxWidth:new p(280,340),contentMaxWidth:new p(200,255)},Ba=Pa`
1
+ import{q as k,d as ta,aO as la,a9 as oa,cC as ia,F as T,V as a,bA as na,ac as sa,cD as ra,aP as ca,y as p,cE as da,L as pa,o as t,al as se,cF as L,cG as Te,cH as P,cI as ma,cJ as We,cK as fa,cL as ua,cM as Be,aw as ha,cN as ya,cO as Ve,cP as xa,cQ as ba,cR as ga,cS as wa,p as E,cT as Ia,cU as $a,br as ja,aR as Da,b8 as A,cV as _e,c as u,ai as Ye,n as Ne,cW as Sa,aB as Oa,cX as va,cg as Ca,cY as Fa,am as Ta,cZ as Na}from"./index-DhfemY__.js";import{a as B,S as ka}from"./sentry-gm2R3TtK.js";import{n as i,k as Pa}from"./mui-snKYaegN.js";import{Fg as La,bj as Ae,bL as za,bh as he,bC as Ea,Fh as Ma}from"./zeni-epic-state-D2RxwWrl.js";import{I as Re}from"./LabeledCreatableSingleSelectField-BWuogpe6-DHwshDD5.js";import{Y as Ue}from"./LabeledDocumentField-Ch2zD7s7-GyTO4utg.js";import{$ as qe}from"./LabeledAddressValue-Ce_wDml5-C7mLpC47.js";import{d as Wa}from"./LabeledMultiSelectField-CA9PUCf3-CwZMJ8IS.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="c4064fab-eedc-40ea-a680-0fa55ba37ba5",e._sentryDebugIdIdentifier="sentry-dbid-c4064fab-eedc-40ea-a680-0fa55ba37ba5")}catch{}})();const Ze={maxWidth:new p(280,340),contentMaxWidth:new p(200,255)},Ba=Pa`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -1,4 +1,4 @@
1
- import{a9 as V,gP as q,F as S,V as g,gQ as v,aa as l,al as J,ac as $,cF as _,cO as W,cL as T,o as E,gR as Z,cJ as z,aP as X,a as AA,c0 as gA,gS as BA}from"./index-Bs2B-MQ4.js";import{a as B,S as c}from"./sentry-gm2R3TtK.js";import{n as o}from"./mui-snKYaegN.js";import{bh as eA}from"./zeni-epic-state-D2RxwWrl.js";import{$ as EA}from"./LabeledAddressValue-Ce_wDml5-CoYtFscl.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="b8477c0a-9d17-4d0d-9569-408e5a2bac6d",A._sentryDebugIdIdentifier="sentry-dbid-b8477c0a-9d17-4d0d-9569-408e5a2bac6d")}catch{}})();const CA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,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"}))),QA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,fA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:f,onResendOtp:y})=>{const[t,a]=B.useState(!1),[k,Y]=B.useState(!1),I=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=q({control:I.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=I.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{f(C,d)},R=C=>{C!=null&&C.trim().length>0&&y(C)},b=()=>{a(!0)},U=()=>{a(!1)},K=()=>{const C=I.getValues(`${m}`);if(C!=null){const d=BA(C);I.setValue(`${Q}.address`,d)}a(!1)},P=I.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(CA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(v,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx(J,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(tA,{children:[g.jsxs(IA,{children:[t&&g.jsx(iA,{onClick:U}),e.completeProfile.title]}),g.jsx($,{...I,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:t===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(Q,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:b},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:t===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:I.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?K:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
1
+ import{a9 as V,gP as q,F as S,V as g,gQ as v,aa as l,al as J,ac as $,cF as _,cO as W,cL as T,o as E,gR as Z,cJ as z,aP as X,a as AA,c0 as gA,gS as BA}from"./index-DhfemY__.js";import{a as B,S as c}from"./sentry-gm2R3TtK.js";import{n as o}from"./mui-snKYaegN.js";import{bh as eA}from"./zeni-epic-state-D2RxwWrl.js";import{$ as EA}from"./LabeledAddressValue-Ce_wDml5-C7mLpC47.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="b8477c0a-9d17-4d0d-9569-408e5a2bac6d",A._sentryDebugIdIdentifier="sentry-dbid-b8477c0a-9d17-4d0d-9569-408e5a2bac6d")}catch{}})();const CA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,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"}))),QA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,fA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:f,onResendOtp:y})=>{const[t,a]=B.useState(!1),[k,Y]=B.useState(!1),I=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=q({control:I.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=I.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{f(C,d)},R=C=>{C!=null&&C.trim().length>0&&y(C)},b=()=>{a(!0)},U=()=>{a(!1)},K=()=>{const C=I.getValues(`${m}`);if(C!=null){const d=BA(C);I.setValue(`${Q}.address`,d)}a(!1)},P=I.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(CA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(v,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx(J,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(tA,{children:[g.jsxs(IA,{children:[t&&g.jsx(iA,{onClick:U}),e.completeProfile.title]}),g.jsx($,{...I,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:t===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(Q,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:b},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:t===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:I.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?K:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-height: 100vh;
@@ -1 +1 @@
1
- import{d2 as f,aX as c,V as r,b4 as d,o as p}from"./index-Bs2B-MQ4.js";import{a}from"./sentry-gm2R3TtK.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./mui-snKYaegN.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="79f3a802-cec4-4528-8632-7d4c80cf7c30",e._sentryDebugIdIdentifier="sentry-dbid-79f3a802-cec4-4528-8632-7d4c80cf7c30")}catch{}})();const l="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",E=({showConfetti:e})=>{const[t,o]=a.useState(e),[s,i]=f(l,e),[n]=c("ConfettiSuccess");return a.useEffect(()=>{e&&o(!0)},[e]),a.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),r.jsx(r.Fragment,{children:t&&s&&n!=null?r.jsx(d,{style:{position:"absolute",width:"100%",height:"100vh",top:p.sp0,left:p.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{E as default};
1
+ import{d2 as f,aX as c,V as r,b4 as d,o as p}from"./index-DhfemY__.js";import{a}from"./sentry-gm2R3TtK.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./mui-snKYaegN.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="79f3a802-cec4-4528-8632-7d4c80cf7c30",e._sentryDebugIdIdentifier="sentry-dbid-79f3a802-cec4-4528-8632-7d4c80cf7c30")}catch{}})();const l="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",E=({showConfetti:e})=>{const[t,o]=a.useState(e),[s,i]=f(l,e),[n]=c("ConfettiSuccess");return a.useEffect(()=>{e&&o(!0)},[e]),a.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),r.jsx(r.Fragment,{children:t&&s&&n!=null?r.jsx(d,{style:{position:"absolute",width:"100%",height:"100vh",top:p.sp0,left:p.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{E as default};
@@ -1,4 +1,4 @@
1
- import{d as He,q as v,aB as Y,cE as Ye,V as t,bA as qe,aN as $,k as Je,cn as ie,co as se,cp as le,c_ as Qe,aP as Xe,y as q,F as x,c0 as Ke,o,c$ as Ge,bR as D,cg as de,c as w,b6 as ce,ai as pe,al as Q,bs as Ze,cX as me,d0 as et,p as B,d1 as ue,cW as he}from"./index-Bs2B-MQ4.js";import{a as g}from"./sentry-gm2R3TtK.js";import{n as r}from"./mui-snKYaegN.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7f56e04d-5967-4df3-a9be-69677ff3f56e",e._sentryDebugIdIdentifier="sentry-dbid-7f56e04d-5967-4df3-a9be-69677ff3f56e")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(ot,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?et(l.toLowerCase()):l??""})]})]});return t.jsxs(it,{size:b,children:[t.jsxs(nt,{children:[t.jsxs(Q,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(D,{title:C,placement:"top",children:t.jsx(lt,{children:t.jsx(dt,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(D,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(ct,{})})})})]})},ot=r.div`
1
+ import{d as He,q as v,aB as Y,cE as Ye,V as t,bA as qe,aN as $,k as Je,cn as ie,co as se,cp as le,c_ as Qe,aP as Xe,y as q,F as x,c0 as Ke,o,c$ as Ge,bR as D,cg as de,c as w,b6 as ce,ai as pe,al as Q,bs as Ze,cX as me,d0 as et,p as B,d1 as ue,cW as he}from"./index-DhfemY__.js";import{a as g}from"./sentry-gm2R3TtK.js";import{n as r}from"./mui-snKYaegN.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7f56e04d-5967-4df3-a9be-69677ff3f56e",e._sentryDebugIdIdentifier="sentry-dbid-7f56e04d-5967-4df3-a9be-69677ff3f56e")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(ot,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?et(l.toLowerCase()):l??""})]})]});return t.jsxs(it,{size:b,children:[t.jsxs(nt,{children:[t.jsxs(Q,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(D,{title:C,placement:"top",children:t.jsx(lt,{children:t.jsx(dt,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(D,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(ct,{})})})})]})},ot=r.div`
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
4
  gap: ${o.sp1};
@@ -1,4 +1,4 @@
1
- import{V as t,q as he,a8 as ge,aN as ae,hr as ea,aL as aa,n as ta,k as na,aP as ze,o as a,F as Z,y as m,L as Me,l as oa,ah as ia,d as Be,bR as ra,fd as _e,R as X,p as J,gn as ce,b as la,aq as Oe,a as ca,aO as De,a9 as sa,fw as da,cC as ma,ac as pa,eY as ua,fA as ha,cH as ga,hC as we,hD as ya,g8 as fa,c as r,c0 as Ca,b8 as ba,fk as xa,cg as Da,al as Ne,gU as wa,b_ as Sa,aS as ka,hE as $a,cX as Aa,gV as La,fM as va,fI as Ia}from"./index-Bs2B-MQ4.js";import{n as i}from"./mui-snKYaegN.js";import{a as p}from"./sentry-gm2R3TtK.js";import{bL as pe,bP as Fa,bh as Se,bJ as Ra,bK as ke,bI as Ta}from"./zeni-epic-state-D2RxwWrl.js";import{x as Pa}from"./LabeledControlledCheckBoxField-f2c-AeS4-DagKbuzo.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="89589f4d-af81-4bd4-aebf-a072c4b084ba",e._sentryDebugIdIdentifier="sentry-dbid-89589f4d-af81-4bd4-aebf-a072c4b084ba")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},ue={pageTitle:new X("h6Regular","h5Regular"),integerAmountInput:new X("h5Regular","largeMedium"),decimalAmountInput:new X("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:$e}},common:{edit:ja,labels:se,navBar:{back:Ea},to:za,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=Z.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:g,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:y,setShowReviewContent:x,onTransferClick:b})=>{const d=he(),S=Be(),v=ge().analytics,[B,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const F=te.largeLabelWidth.value(d),R=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=R?1:3,P=pe(Fa(Se().toDate(),[0,6],T).toDateString()).format($e),_=R?z.timeline01BusinessDay:z.timeline23BusinessDays,O=R?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",_);return t.jsxs(t.Fragment,{children:[t.jsxs(Ga,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:Ea,enterTouchDelay:600,placement:"bottom",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&h&&n&&g!=null&&v.trackCardsPayEarlyFormClick(f,c,g,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,y),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Ae,{children:t.jsx(_e,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:ue.integerAmountInput.styleObject(d),decimalStyles:ue.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",za," ",t.jsx(Ae,{children:Ma})]}),B?t.jsx(Ka,{children:t.jsxs(Va,{children:[t.jsxs(Xa,{children:[t.jsx(Ja,{}),t.jsxs(Ya,{children:[t.jsx(Ha,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Za,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(ce,{label:{label:se.paymentMethod,width:F},text:t.jsx(de,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.sourceAccount,width:F},text:t.jsxs(de,{windowSize:d,children:[We(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.paymentDate,width:F},showAdditionalInfoLabel:!0,additionalInfoLabel:O,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(de,{windowSize:d,children:Se().format($e)}),style:{width:"auto"}})]})})]}),t.jsx(ze,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:z.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&h&&n&&g!=null&&v.trackCardsPayEarlyFormClick(f,c,g,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,y),x(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},We=(e,o,h)=>{if(o==="")return t.jsx(st,{});const n=e.find(c=>c.id===o),f=e.findIndex(c=>c.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:h,children:t.jsx(ct,{color:wa(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:h,loading:"lazy"}):t.jsx(it,{isOptionSelected:h,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${va}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(ba)`
1
+ import{V as t,q as he,a8 as ge,aN as ae,hr as ea,aL as aa,n as ta,k as na,aP as ze,o as a,F as Z,y as m,L as Me,l as oa,ah as ia,d as Be,bR as ra,fd as _e,R as X,p as J,gn as ce,b as la,aq as Oe,a as ca,aO as De,a9 as sa,fw as da,cC as ma,ac as pa,eY as ua,fA as ha,cH as ga,hC as we,hD as ya,g8 as fa,c as r,c0 as Ca,b8 as ba,fk as xa,cg as Da,al as Ne,gU as wa,b_ as Sa,aS as ka,hE as $a,cX as Aa,gV as La,fM as va,fI as Ia}from"./index-DhfemY__.js";import{n as i}from"./mui-snKYaegN.js";import{a as p}from"./sentry-gm2R3TtK.js";import{bL as pe,bP as Fa,bh as Se,bJ as Ra,bK as ke,bI as Ta}from"./zeni-epic-state-D2RxwWrl.js";import{x as Pa}from"./LabeledControlledCheckBoxField-f2c-AeS4-CmYbdyel.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="89589f4d-af81-4bd4-aebf-a072c4b084ba",e._sentryDebugIdIdentifier="sentry-dbid-89589f4d-af81-4bd4-aebf-a072c4b084ba")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},ue={pageTitle:new X("h6Regular","h5Regular"),integerAmountInput:new X("h5Regular","largeMedium"),decimalAmountInput:new X("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:$e}},common:{edit:ja,labels:se,navBar:{back:Ea},to:za,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=Z.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:g,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:y,setShowReviewContent:x,onTransferClick:b})=>{const d=he(),S=Be(),v=ge().analytics,[B,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const F=te.largeLabelWidth.value(d),R=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=R?1:3,P=pe(Fa(Se().toDate(),[0,6],T).toDateString()).format($e),_=R?z.timeline01BusinessDay:z.timeline23BusinessDays,O=R?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",_);return t.jsxs(t.Fragment,{children:[t.jsxs(Ga,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:Ea,enterTouchDelay:600,placement:"bottom",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&h&&n&&g!=null&&v.trackCardsPayEarlyFormClick(f,c,g,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,y),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Ae,{children:t.jsx(_e,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:ue.integerAmountInput.styleObject(d),decimalStyles:ue.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",za," ",t.jsx(Ae,{children:Ma})]}),B?t.jsx(Ka,{children:t.jsxs(Va,{children:[t.jsxs(Xa,{children:[t.jsx(Ja,{}),t.jsxs(Ya,{children:[t.jsx(Ha,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Za,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(ce,{label:{label:se.paymentMethod,width:F},text:t.jsx(de,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.sourceAccount,width:F},text:t.jsxs(de,{windowSize:d,children:[We(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.paymentDate,width:F},showAdditionalInfoLabel:!0,additionalInfoLabel:O,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(de,{windowSize:d,children:Se().format($e)}),style:{width:"auto"}})]})})]}),t.jsx(ze,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:z.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&h&&n&&g!=null&&v.trackCardsPayEarlyFormClick(f,c,g,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,y),x(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},We=(e,o,h)=>{if(o==="")return t.jsx(st,{});const n=e.find(c=>c.id===o),f=e.findIndex(c=>c.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:h,children:t.jsx(ct,{color:wa(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:h,loading:"lazy"}):t.jsx(it,{isOptionSelected:h,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${va}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(ba)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  padding-top: ${a.sp3};
4
4
  white-space: nowrap;
@@ -1,4 +1,4 @@
1
- import{cP as P,d as _,eo as L,F as M,V as l,ex as N,bF as H,o,dg as z,aN as x,cr as B,bG as b,al as T,b as w,eZ as X,e_ as Z,e$ as q,ai as G,bE as Q,L as U,p as m}from"./index-Bs2B-MQ4.js";import{a as S}from"./sentry-gm2R3TtK.js";import{n}from"./mui-snKYaegN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="99ba0f99-d4eb-4981-81d0-b785dd079c72",e._sentryDebugIdIdentifier="sentry-dbid-99ba0f99-d4eb-4981-81d0-b785dd079c72")}catch{}})();const $e=({name:e,registerOptions:t,defaultValue:r,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:f,formState:{errors:y}}=P(),g=_(),[j,k]=S.useState(!1),C=L(y,e??""),D=M.getLocalizedStrings().common.currency,I=s=>{if(!(s==null||!s))return{value:s,label:r.allOptions.find(h=>h.value===s)?.label??s,countryCode:r.allOptions.find(h=>h.value===s)?.countryCode??D.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:g.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,border:`1px solid ${g.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:g.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(N,{name:e,control:f,defaultValue:r,rules:t,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:E,ref:R}})=>{const v=E;return S.createElement(H,{...F,ref:R,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:I(v.selectedOption),options:r.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:r.allOptions}):s({selectedOption:$?.value,allOptions:r.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:W,Option:Y,Input:K,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:be,MenuList:A},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},W=e=>{const{menuIsOpen:t,isFocused:r,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(re,{controlStyle:u,menuIsOpen:t,isFocused:r,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(b.Control,{...e,className:"select-control",children:e.children})})},Y=e=>{const{data:t,isSelected:r,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=t.countryCode,p=typeof t.label=="string"?t.label:t.value;return l.jsx(te,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:r,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(b.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:r,children:l.jsx(ne,{isSelected:r,isDisabled:a,children:t.label})}),r?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},A=e=>{const{options:t,children:r,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=t.indexOf(u)*i;return l.jsx(B,{height:r.length>7?a:r.length*i,width:"100%",itemCount:r.length,itemSize:()=>i,initialScrollOffset:p,children:({index:f,style:y})=>l.jsx(ce,{style:y,children:r[f]})})},J=e=>l.jsx(b.ValueContainer,{...e,className:"select-value-container",children:e.children}),K=e=>{const{selectProps:t}=e,{placeholder:r,value:a}=t;return l.jsx(O,{children:l.jsx(b.Input,{...e,autoComplete:"new-password",placeholder:a==null?r:void 0,children:e.children})})},ee=e=>{const{data:t}=e;return l.jsx(b.SingleValue,{...e,children:l.jsx(O,{children:t.label})})},O=n(T)`
1
+ import{cP as P,d as _,eo as L,F as M,V as l,ex as N,bF as H,o,dg as z,aN as x,cr as B,bG as b,al as T,b as w,eZ as X,e_ as Z,e$ as q,ai as G,bE as Q,L as U,p as m}from"./index-DhfemY__.js";import{a as S}from"./sentry-gm2R3TtK.js";import{n}from"./mui-snKYaegN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="99ba0f99-d4eb-4981-81d0-b785dd079c72",e._sentryDebugIdIdentifier="sentry-dbid-99ba0f99-d4eb-4981-81d0-b785dd079c72")}catch{}})();const $e=({name:e,registerOptions:t,defaultValue:r,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:f,formState:{errors:y}}=P(),g=_(),[j,k]=S.useState(!1),C=L(y,e??""),D=M.getLocalizedStrings().common.currency,I=s=>{if(!(s==null||!s))return{value:s,label:r.allOptions.find(h=>h.value===s)?.label??s,countryCode:r.allOptions.find(h=>h.value===s)?.countryCode??D.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:g.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,border:`1px solid ${g.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:g.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(N,{name:e,control:f,defaultValue:r,rules:t,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:E,ref:R}})=>{const v=E;return S.createElement(H,{...F,ref:R,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:I(v.selectedOption),options:r.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:r.allOptions}):s({selectedOption:$?.value,allOptions:r.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:W,Option:Y,Input:K,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:be,MenuList:A},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},W=e=>{const{menuIsOpen:t,isFocused:r,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(re,{controlStyle:u,menuIsOpen:t,isFocused:r,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(b.Control,{...e,className:"select-control",children:e.children})})},Y=e=>{const{data:t,isSelected:r,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=t.countryCode,p=typeof t.label=="string"?t.label:t.value;return l.jsx(te,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:r,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(b.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:r,children:l.jsx(ne,{isSelected:r,isDisabled:a,children:t.label})}),r?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},A=e=>{const{options:t,children:r,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=t.indexOf(u)*i;return l.jsx(B,{height:r.length>7?a:r.length*i,width:"100%",itemCount:r.length,itemSize:()=>i,initialScrollOffset:p,children:({index:f,style:y})=>l.jsx(ce,{style:y,children:r[f]})})},J=e=>l.jsx(b.ValueContainer,{...e,className:"select-value-container",children:e.children}),K=e=>{const{selectProps:t}=e,{placeholder:r,value:a}=t;return l.jsx(O,{children:l.jsx(b.Input,{...e,autoComplete:"new-password",placeholder:a==null?r:void 0,children:e.children})})},ee=e=>{const{data:t}=e;return l.jsx(b.SingleValue,{...e,children:l.jsx(O,{children:t.label})})},O=n(T)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&X(e)===!1)return l.jsx(l.Fragment,{});{const t=Z[`${q(e??"")}`];return l.jsx(ie,{children:l.jsx(t,{width:o.sp4,height:o.sp3})})}},re=n.span`
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{q as b,V as t,F as c,aO as l,aN as p,k as g,o,af as h,a as x,l as m}from"./index-Bs2B-MQ4.js";import{a as f}from"./sentry-gm2R3TtK.js";import{n as i}from"./mui-snKYaegN.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="5ce39a05-9089-45a8-9207-53d5fbb85f95",e._sentryDebugIdIdentifier="sentry-dbid-5ce39a05-9089-45a8-9207-53d5fbb85f95")}catch{}})();const u=i.div`
1
+ import{q as b,V as t,F as c,aO as l,aN as p,k as g,o,af as h,a as x,l as m}from"./index-DhfemY__.js";import{a as f}from"./sentry-gm2R3TtK.js";import{n as i}from"./mui-snKYaegN.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="5ce39a05-9089-45a8-9207-53d5fbb85f95",e._sentryDebugIdIdentifier="sentry-dbid-5ce39a05-9089-45a8-9207-53d5fbb85f95")}catch{}})();const u=i.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -0,0 +1 @@
1
+ import{V as o}from"./index-DhfemY__.js";import e from"./CustomerOnboardingNoStepsPage-CtIWYEfR-BBG89Eio.js";import i from"./CustomerOnboardingPage-Db6sGSGl-Bk2dnzqa.js";import"./sentry-gm2R3TtK.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./mui-snKYaegN.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";import"./PaymentAccountSetupBillingAddressSection-DjdhL9mT-CcdqeHrg.js";import"./commonTypes-PtDfk70--Bx1ZBTCB.js";import"./SetUpAccountSection-Clz60vjw-BPy-vTcv.js";import"./CustomerOnboardingDetailPageSkeleton-DrfNm65u-Bfcf5x9y.js";import"./CompanyOfficerDetailsSection-DVpqCb72-DEQPR9vE.js";import"./LabeledAddressValueField-BrYbXck--Bam2jwZr.js";import"./LabeledCountryMultiSelectField-BLOMdq_H-Mb0TF8y4.js";import"./LabeledCreatableSingleSelectField-BWuogpe6-DHwshDD5.js";import"./LabeledDocumentField-Ch2zD7s7-GyTO4utg.js";import"./LabeledMultiSelectField-CA9PUCf3-CwZMJ8IS.js";import"./QBOSetupSection-D--nxfIh-BfHeDAX-.js";import"./QBOConnectionDialog-R4ZWjJsY-yehsPaVs.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="e0319e54-a101-4189-9107-48550d4ee81e",t._sentryDebugIdIdentifier="sentry-dbid-e0319e54-a101-4189-9107-48550d4ee81e")}catch{}})();const P=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(e,{...t}):o.jsx(i,{...t});export{P as default};
@@ -1,4 +1,4 @@
1
- import{V as s,aN as v,bm as H,d as f,q as I,bN as b,o as t,c as T,y as $,af as N,F as R,p as u,g as L,hK as U,fL as P,at as O,am as W,hL as _}from"./index-Bs2B-MQ4.js";import{n as r}from"./mui-snKYaegN.js";import{S}from"./sentry-gm2R3TtK.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="5aa38c49-8de0-424e-a339-423d1ab5287a",e._sentryDebugIdIdentifier="sentry-dbid-5aa38c49-8de0-424e-a339-423d1ab5287a")}catch{}})();const F=r(_)`
1
+ import{V as s,aN as v,bm as H,d as f,q as I,bN as b,o as t,c as T,y as $,af as N,F as R,p as u,g as L,hK as U,fL as P,at as O,am as W,hL as _}from"./index-DhfemY__.js";import{n as r}from"./mui-snKYaegN.js";import{S}from"./sentry-gm2R3TtK.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="5aa38c49-8de0-424e-a339-423d1ab5287a",e._sentryDebugIdIdentifier="sentry-dbid-5aa38c49-8de0-424e-a339-423d1ab5287a")}catch{}})();const F=r(_)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,q=r.div`
4
4
  position: relative;