@zeniai/web-cockpit-ui 1.14.14-qa → 1.14.15-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/dist/assets/{ACHDetailsPage-DzRJ2QAk-CD7bvBrj.js → ACHDetailsPage-DyEK-yAb-CR1iB_xc.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BFjLWbFj-B8php81u.js → AIPerformancePage-Do5bswa_-CdgPK33C.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-iz3OwpQ7-C_rGxBXY.js → AccountInfoPage-BBhgLi_k-BrzJFlaA.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DqO5Kcep-Hi_ZRI3e.js → AccountInfoPageContent-BJqXMkH6-BzGTbIN9.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-kNZ0VZns-bS4LQ1sQ.js → AccountReconDetailsDrawerPage-CV09UnoU-l4pTZ2vA.js} +1 -1
  6. package/dist/assets/{AccountRow-CAXWtAin-BGG9HEwp.js → AccountRow-TlJ0aU9H-BM9KA8Rp.js} +1 -1
  7. package/dist/assets/{AccountsPromoCardStack-Dqrhr23F-C910Mcf5.js → AccountsPromoCardStack-D8Y5MNXA-C4cMa-NA.js} +1 -1
  8. package/dist/assets/{AddAddressForCardDrawer-D2IMZgZa-B-aO9Stn.js → AddAddressForCardDrawer-DKJpGW7r-0F7SORv2.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-qgqXvx0C-CiPgkIQp.js → AddToWalletPage-1gMvHWq2-CbJs4xPg.js} +1 -1
  10. package/dist/assets/{AgingReportsPage-CNWj8sV2-CLLqpf6D.js → AgingReportsPage-Bzn9xmRs-DzMv0HiR.js} +1 -1
  11. package/dist/assets/{AllUserItems--netGz7H-CJzpZ7a6.js → AllUserItems-BPSpj-dO-3CLmRBZX.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-CxLaoiqg-BsazbW1l.js → ApAgingDetailPage-C2HUvxWk-DFYdmJfh.js} +1 -1
  13. package/dist/assets/{AppBasePage-CbUMSiOb-CrwHY3Fg.js → AppBasePage-C63xauck-BWBOM_23.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-BNTS8MtE-DGIlwro-.js → AppDrawerContent-Cq8GkRBD-DMx8Mcso.js} +1 -1
  15. package/dist/assets/{ApprovalRulesSettingsPage-lFVUzKhw-BtcvSbhM.js → ApprovalRulesSettingsPage-zKh1CLv3-BIYZpY6g.js} +1 -1
  16. package/dist/assets/{ArAgingChart-BBavISMZ-Bg2WSdl_.js → ArAgingChart-Bs2fblA6-BsbEizCk.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-Bk49E_4I-B9ITkdyZ.js → ArAgingDetailPage-BWsV1tQP-D86I5PY2.js} +1 -1
  18. package/dist/assets/{AttachmentView-g756MrON-Dx8kJ_wk.js → AttachmentView-BDkq5i_5-BO6ipJLN.js} +1 -1
  19. package/dist/assets/{BankAccountSection-C0U0fm6r-DEPr81SF.js → BankAccountSection-DL-Qgypb-qVlfhNvY.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-GcaV2hCI-BQKm1Ol8.js → BankAccountWarningSection-PFOmZUmz-Bqvid317.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-YwtSaNry-Bd_-Nk2r.js → BankConnectionsSettingsPage-BiPEOltR-i9HyK4Qm.js} +1 -1
  22. package/dist/assets/{BillDetailPage-e0b0r_9U-C7RrAILe.js → BillDetailPage-nUoy5Pib-SqAso5S8.js} +1 -1
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-DZNOlmqa-vJ0wioqn.js → BillPayApprovalRuleDetailPage-uCd9CD_--DRTBOlZT.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-HvIHZYLp-DRglk4Bn.js → BillPayApprovalRulesPage-BsvzOO92-DBBsEfq5.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-BKRIBuWK-BqkTD413.js → BillPayPromoPage-D9tHxFrw-DLOlbZMx.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-DVFYVrcF-CaXLevRO.js → BillPaySetUpPage-Ci__X7jC-CQdjr8_2.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-Boq7QJuJ-B5yYk5Zb.js → BillingSettingsPage-JcOqMK9G-B8TUnhBr.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-DB1RnMx6-CkQIDNyM.js → BillsBulkReviewDrawerPage-FeZEMsS6-Ce-L5sMw.js} +1 -1
  29. package/dist/assets/{BoxItem-C5PEWObZ-CeuLKKcA.js → BoxItem-BcQH7ATF-CgWI28ii.js} +1 -1
  30. package/dist/assets/BusinessVerificationPage-ClBQ39GB-Dp7StxAv.js +140 -0
  31. package/dist/assets/{CardNumberSubText-Qd4Nl4Ie-BDRMn3jX.js → CardNumberSubText-CRythvN3-BPNRschq.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-pMaAPWGY-D9Y3IKTQ.js → CashbackDetailPage-CDa_GOsq-D-9-JqVH.js} +1 -1
  33. package/dist/assets/{ChargeCardDetailPage-ZhB56XeA-D-PHMtiH.js → ChargeCardDetailPage-BVxvmvYF-Dz3Dkcri.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-3k973dhm-2eKPtsLs.js → ChargeCardListPage-Dk_9p-sM-CLfdE6hG.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-aotBBLcN-BjoQ3nLG.js → ChargeCardListTable-DLAZTf8n-CNRNdnEB.js} +1 -1
  36. package/dist/assets/{ChargeCardPromoPage-D5h6LEV7-CtqHAn85.js → ChargeCardPromoPage-COA7csMK-CXI_5Tho.js} +1 -1
  37. package/dist/assets/{ChargeCardSetupPage-DLhS4IXu-ClI3TH91.js → ChargeCardSetupPage-QPLpJN2z-BC_NFJKr.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-C9JupC6z-DmxpqXJ6.js → ChargeCardStatementsPage-DwJYJjcf-DEvRTjh8.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-DlCRcsWm-D__qzTWb.js → ChargeCardUtils-BbByGmi9-DEgVq9Nd.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-Cpt5a98f-dacal49t.js → ChaseOverlay-CvXMdD8r-BjJFL-eT.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-Nz2eeTkw-BpYeX6Ap.js → CheckDepositDrawerPage-Cfdkbh0L-DFqxsNxb.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-D_yuiPyJ-DvwXVdxx.js → CollapsableReportTable-BptltmMq-DGFCje0J.js} +1 -1
  43. package/dist/assets/CompanyOfficerDetailsSection-DTbhxCCJ-uAcyCJzT.js +260 -0
  44. package/dist/assets/{CompanyPassportCard-yl1IgKFI-PAYHKbkv.js → CompanyPassportCard-CRgbazO4-DnDR61ME.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-CVyMn0gX-B5YsJ6DE.js → CompanyPassportPage-wdWKvOuO-UVTXarrj.js} +1 -1
  46. package/dist/assets/{CompleteProfile-DzShtAr0-lZLdASXR.js → CompleteProfile-Cp_nXCBI-D_xHWKd0.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-C47O0k3A-DgYPkzlU.js → ConfettiBurst-tf23hrA_-CQK1q6oq.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-LadbvQ9C-BUhpPwKd.js → CreateOrEditVendorPage-DTbrZv48-UgMANJA2.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-BQKmQNsf-I4kqkHCD.js → CreditCardPaymentDrawerPage-CGGM52ND-gsvEVx3R.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-BKgF2tFu-DparH7B9.js → CreditCardPaymentPlgSection-BS99Rbz7-D3hONmqh.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-D_UXMdLl-CNFJ6MOy.js → CurrencySelectField-Cz1ZFZNL-Do8LBYx6.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-DYDUNktm-Cuul6Xm-.js → CustomerOnboardingActivationPage-Bw2z91CF-CXlsYQiE.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-DXWtttsb-CkJ9yVd4.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-IwCrs_Ni-BwoSRsex.js → CustomerOnboardingDetailPageSkeleton-BY4rv3eB-CqGuM0YC.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BinWH6wJ-CzTA-Ar-.js → CustomerOnboardingNoStepsPage-ByTpLszW-NQIzex-L.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-mGYcMJc6-B5TFAAVl.js → CustomerOnboardingPage-eyRDjOy--Cv80zIzo.js} +4 -4
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CMmP2rhp-sRUh6iMf.js → CustomerOnboardingProductSuitePage-C_GOhUsC-C7NxSpR8.js} +1 -1
  58. package/dist/assets/{Dashboard-B8ej675T-BXfFBFZn.js → Dashboard-DXTfxwrE-Df2X5_2C.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-D0g4Un-7-Bm03Ezvt.js → DashboardReportPage-C7LmV0rQ-DqW7yfxe.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-BiYFTagV-COtoJPkR.js → DepositAccTransactionItem-BH6np-wq-pvmH9-13.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-B7seT4iQ-DcnxHPIM.js → DepositAccTransactionListPage-BTZovTIK-dLGcWM1z.js} +1 -1
  62. package/dist/assets/{DomesticWireDetailsPage-c2Omt2uV-DlmFY2Kw.js → DomesticWireDetailsPage-DhM2CLtr-DepJOUT4.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-Ca73StXh-D0NZgBgD.js → DownloadOverlay-CwqxQGbr-CGdDh008.js} +1 -1
  64. package/dist/assets/{DrawerPage-DbQ3fJ0a-DXEqv1MQ.js → DrawerPage-C3k5XFW6-D1QbIJ62.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-BSGpToFc-CchXHa_A.js → EditPeoplePage-D2zQG-_T-BY4H9at4.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-CF4ITGWS-6ZvkVOwA.js → EditReimbursementDetailPage-DXLAtkkp-Cb7fe5V0.js} +1 -1
  67. package/dist/assets/{EntityDetailPage-CjjeYmrY-bmebsPCj.js → EntityDetailPage-_060OpVJ-Dl6JyUuQ.js} +1 -1
  68. package/dist/assets/{EntitySummarySection-CATUFkYD-CbbHQNn7.js → EntitySummarySection-0QXWkpbX-B1FOGhKX.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-DZJM8s1B-D66s2e8m.js → ExpenseAutomationOverviewPage-GPO42_rS-DYsIHfpN.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-CJcg4JEX-BIBOqZFd.js → ExpenseAutomationPage-BQArYLAG-D24JhqEL.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-DtAXlY7R-Ba2dQlX0.js → ExpressPayPage-DacK02lD-CBLCoj0U.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-BsLKydgB-BPHzHuJw.js → FeaturePreviewPage-Bv0D92ik-F_nngpEs.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-CkJm4bPf-CPlDdB_W.js → FollowStepsSection-CMTo4gYl-U-WQSPk0.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-DmxSD6UV-BUfgnFpU.js → GlobalReviewListPage-BbI2YDxl-BJZeR8WE.js} +1 -1
  75. package/dist/assets/{HelpButton-BFbQbBAV-BQPDLXHd.js → HelpButton-Coe4ii48-CP7NC72-.js} +1 -1
  76. package/dist/assets/{InformationCardStack-BMrkstMK-C8LTAHrF.js → InformationCardStack-BIumm5SJ-1AXNePG9.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-wYrlCPh0-D2rKcLyu.js → InsightsCardStack-nndLG-Gx-CPrz5cnd.js} +1 -1
  78. package/dist/assets/{InsightsSection-DncKJ7JM-ChN_oqlZ.js → InsightsSection-CSG5sVaE-B6JiP7yi.js} +1 -1
  79. package/dist/assets/{IntegrationsSettingsPage-xySXq7aa-C58pEBs2.js → IntegrationsSettingsPage-BRH3t6mo-DdFh5Rf1.js} +1 -1
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-CSqm7kj7-CiFzXT35.js → InternationalWireSwiftDetailsPage-vgA7iek9-DBrrwazq.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-DUHW34SM-DlE-Wsjz.js → InternationalWireVerificationPage-DEIs1ydr-0N725pEo.js} +1 -1
  82. package/dist/assets/{InviteFormPage-FjAlfXw_-Dh7IBTtO.js → InviteFormPage-Bowy0arK-BdVkelsH.js} +1 -1
  83. package/dist/assets/{InvitePageListView-PObzTGOB-Df4c2HGS.js → InvitePageListView-DuXb15Ll-C1oqEYaE.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-BuqTZXW2-DraxkQIU.js → InvitePeoplePage-By3sTPj1-YDstidmS.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-CZXO__Vx-BgqHdBYt.js → InvoiceUploadSection-B8OA6oqe-2tj6XHC5.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-CjsftuWA-CIBGJvCn.js → IssueChargeCardPage-BIL4e5I_-4QbaL8H_.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-CfUYrlxS-B7W2Dek5.js → LabeledAddressValue-BJ1dXCb1-KlPGwEsa.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-B5z2zp_k-CGSpumtp.js → LabeledAddressValueField-DZCn1w6m-DlnblRke.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-CHl3uhk9-BFLBybV4.js → LabeledControlledCheckBoxField-CwiyOI1Z-D7LWnjIE.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-CP-IuKrc-DjM8Weti.js → LabeledCreatableSingleSelectField-yLzlQU6_-DKdnF88p.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-DyMGgcCu-Bgxu4H6-.js → LabeledDocumentField-gxNaFx2j-qq-lZmSF.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-Bism2Slt-BWwjKMX5.js → LabeledDropDownFormattedTextField-M_7KWHOd-hGN1wwbj.js} +1 -1
  93. package/dist/assets/{LabeledText-RBbOYz7n-DBpZsWkU.js → LabeledText-CO_4w9Rx-BHaswoQg.js} +1 -1
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B9Mu2WJq-Di4MWf5A.js → LabeledUserSingleSelectWithSubtitlesField-zPoNOgP7-Coi1U77m.js} +1 -1
  95. package/dist/assets/{LabeledZeniRolesDropDownField-BCvUNHGc-CO5qR-vY.js → LabeledZeniRolesDropDownField-C8-KfR-4-Bo19dflJ.js} +1 -1
  96. package/dist/assets/{LinkJETransactionPage-C4JGb7aV-328UsU_k.js → LinkJETransactionPage-CZVlsT4d-DWiZb23z.js} +1 -1
  97. package/dist/assets/{LowBalancePopup-BeDr-jas-CZ5XIvfc.js → LowBalancePopup-Dl5IXVvh-CJcvyvoh.js} +1 -1
  98. package/dist/assets/{MagicLinkACHDetailsPage-B8zPEOQv-Dla85qjg.js → MagicLinkACHDetailsPage-CP6ti0Ic-DSdPwaam.js} +1 -1
  99. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CGdUqm2t-or9ptgFU.js → MagicLinkDomesticWireDetailsPage-BhpSDeQW-Dfr8KlVS.js} +1 -1
  100. package/dist/assets/{MagicLinkInternationalWireDetailsPage-8hkLJ9A0-B0cV-OxG.js → MagicLinkInternationalWireDetailsPage-BXxTeh0G-CtvniFoq.js} +1 -1
  101. package/dist/assets/{MagicLinkSuccessPage-DWCZWHis-BetY1CoQ.js → MagicLinkSuccessPage-Bix48QB5-BI2C-LU1.js} +1 -1
  102. package/dist/assets/{MagicLinkTitleSection-u5U6e-ve-CH9mVJpo.js → MagicLinkTitleSection-DdTLuD-8-D3POGhAB.js} +1 -1
  103. package/dist/assets/{MailingDetailsSection-nhPvZjVn-sir6Tfnb.js → MailingDetailsSection-Bo_v3Gp2-KQtMHUYs.js} +1 -1
  104. package/dist/assets/{MeetingCalenderPopup-CUA73Qvk-DoxrAhy8.js → MeetingCalenderPopup-DlnppXL_-CUHiDz63.js} +1 -1
  105. package/dist/assets/{Menu-D2zz2q9--B_AhVrPl.js → Menu-B_GJLZiP-BW2ajxXL.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CGZMdkpt-DdZf0Y6A.js → MyBankConnectionsSettingsPage-2DAYVmHh-GUdcUjZQ.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-BKFgjKZX-BF7kPRDf.js → MyPendingActivationChargeCardListPage-CWQq9D2t-ErEXa5Ab.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-BMRJLHbT-DBXZ0zCZ.js → MyProfileSettingsPage-imD_-Umc-QbWQNe6Z.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-BXotE7Lk-S3JyXTjR.js → NavBarWithPicker-D0Bv9P4m-CbuI_X1k.js} +1 -1
  110. package/dist/assets/{NavigationArrow-D-l9zblc-REpeCLdo.js → NavigationArrow-De1st3tA-D1UxRic2.js} +1 -1
  111. package/dist/assets/{NavigationDots-BXUbx14l-6QIteFmi.js → NavigationDots-BfJxPG2K-BkZqVum6.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-DtDgNdr1-LA7e2sKB.js → NewGlobalMerchantPage-euJK3CXB-saCWbHbN.js} +1 -1
  113. package/dist/assets/{NoDataChart-Bve5zpXV-CWu45raX.js → NoDataChart-D_S6Pfkm-C2Kc7qtF.js} +1 -1
  114. package/dist/assets/{NoDataTable-3ROU0Vbp-CI99S85V.js → NoDataTable-CLwNCXFE-D3npQzLx.js} +1 -1
  115. package/dist/assets/{NotFoundPage-DAo53P_6-Dftm7F3Z.js → NotFoundPage-JfbMP3OG-CXI7bNdG.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-DcGcigHn-aQqj0_Qj.js → NotificationSettingsPage-YBgrQBb2-CFbgdfVP.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-oE-ICX7d-BF8EQwxW.js → NotificationsListConfig-TCmn6L9k-nr6vflWI.js} +1 -1
  118. package/dist/assets/{NotificationsPage-TCXj6rCg-BaNkn_3l.js → NotificationsPage-C3pnQT-K-DzeH8fmd.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-xWhiJMru-CE1GX5w_.js → OpExByVendorPage-7FEOhvd--CM9TYAHU.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-GWXnlbZH-BbWbCUrG.js → OverlayContainerPage-GWXnlbZH-LIk5K9-C.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-BamjcoA8-Bx0wvTBG.js → PandLWithForecastPage-D0f5zvhp-B7mneOVq.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Byvw69gz-mE6MxWqh.js → PaymentAccountSetupBillingAddressSection-CBvjcBEH-CXrtDUXk.js} +1 -1
  123. package/dist/assets/{PeoplePage-BYeGKWDm-C03lvJfM.js → PeoplePage-B-j04rvc-B9Gs58fo.js} +1 -1
  124. package/dist/assets/{PortfolioAllocationFormPage-C-l23Cwp-cpiqeU3l.js → PortfolioAllocationFormPage-yvAHgF_R-DmHT3I_l.js} +1 -1
  125. package/dist/assets/{PortfolioDetails-BRhzzSFg-DO-1SFen.js → PortfolioDetails-C-YfZonF-Di6ScpkZ.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-CP6ldspb-C0Np0Gj6.js → ProductsCarousel-9USsVLuf-A8Pb9na8.js} +1 -1
  127. package/dist/assets/{PromoBaseCards-Jze9Y7gb-D1gxtikT.js → PromoBaseCards-OKpdHchW-i4Aus_7s.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-9VnW9Bu9-H93cd5b5.js → QBOConnectionDialog-BUr2NQiK-Aqi4uG-w.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-B1rw0-Q--zMoFTXwP.js → QBOSetupSection-Cmf7-3wv-a5e4QtQ4.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DEK0sHby-DrT2jHvA.js → ReimbursementApprovalRuleDetailPage-Dev4FHVt-C92gnL5H.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-D7dRwcKc-CLGfbhLw.js → ReimbursementApprovalRulesPage-BLMJY7El-CiLtyPS5.js} +1 -1
  132. package/dist/assets/{ReimbursementDetailPage-ZwlUAEc8-BqgpWdW7.js → ReimbursementDetailPage-BIyq0BC0-6zfZQkfP.js} +1 -1
  133. package/dist/assets/{ReimbursementPromoPage-CKuYFvqQ-DPri4GXp.js → ReimbursementPromoPage-Dox8Q_BC-sIFfcJ7t.js} +1 -1
  134. package/dist/assets/{ReimbursementSetUpPage-Rn1i_Dc1-CMeSSlT5.js → ReimbursementSetUpPage-VKXRSodl-BJwVjHfr.js} +1 -1
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BwVFxo9s-D9yi3bRo.js → ReimbursementsBulkReviewDrawerPage-BmUcVSjU-5gKW2h5e.js} +1 -1
  136. package/dist/assets/{ReloadCard-7VJ3paTm-CAZ4QKCl.js → ReloadCard-DZhxB7Ar-3pX1Dvm4.js} +1 -1
  137. package/dist/assets/{ReportTableViewSelector-BrPJNFJD-BCUhxgyI.js → ReportTableViewSelector-DSfx5ZD--DVGbGr0z.js} +1 -1
  138. package/dist/assets/{ReportsPage-CCTvsUrL-DQ0C9QaF.js → ReportsPage-CLH0u0Bh-DDZqu2t3.js} +1 -1
  139. package/dist/assets/{RevenueChart-CCWOE5TQ-CdghIL8Z.js → RevenueChart-BeqQveLu-BLMOp8Ij.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-Y6gEXgmb-DEYn6MSL.js → ReviewDetailsPage-Dq7hRX5W-Dpl9KJkf.js} +1 -1
  141. package/dist/assets/{ReviewOverlay-CjSSDflN-CPgx4xba.js → ReviewOverlay-BNHqYk2g-D0iT-J9q.js} +1 -1
  142. package/dist/assets/{RoleWithToolTip-CFMnZiem-C4TYM06A.js → RoleWithToolTip-Cob2-Ppj-C_s6kG4X.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DVyLY2NJ-BsTj20p_.js → ScheduleDetailsFixedAssetsPage-QE0wa196-BDGpj2am.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsPage-Dl76cUvA-Fycb4MqL.js → ScheduleDetailsPage-BVyX-Z0H-DEBuXdBs.js} +1 -1
  145. package/dist/assets/{ScheduleSequenceTable-CrxRnZch-BOdDiuzm.js → ScheduleSequenceTable-D1FYbPfU-DU9S07xt.js} +1 -1
  146. package/dist/assets/{ScreenRoutes-wx53GRGK.js → ScreenRoutes-Xcu_dsY9.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-Cv2os5ln-DPXBfr4R.js → SetUpAccountSection-CYn2o43t-Bpg0pToC.js} +1 -1
  148. package/dist/assets/{SetUpDefaultSection-BX28nGOx-BuMe3hLW.js → SetUpDefaultSection-C0-L2ZyA-COKZA6T-.js} +1 -1
  149. package/dist/assets/{SignIn-Bu5OrOXS-wy_xaGKY.js → SignIn-BIxTodeo-BLdheQTi.js} +1 -1
  150. package/dist/assets/{SignInScreen-JF_uZaEa.js → SignInScreen-BM8ypOO4.js} +1 -1
  151. package/dist/assets/{SpendManagementListViewPage-C5e1RRp_-BVnkblC5.js → SpendManagementListViewPage-DXtvYcrg-iTUPRfV0.js} +3 -3
  152. package/dist/assets/{SpendManagementPerTabPage-DZVY7vQ1-0CpCBBdQ.js → SpendManagementPerTabPage-Cn-UsxaR-C3J9zkot.js} +1 -1
  153. package/dist/assets/{SpendManagementSection-BJMJInkt-B5d_jbBf.js → SpendManagementSection-BBR4aFIT-JT9BxyTy.js} +1 -1
  154. package/dist/assets/{SpendMgmtSetupAccountSection-chezHlCW-BQkEXaOg.js → SpendMgmtSetupAccountSection-DedLETSm-D7MuWTH4.js} +1 -1
  155. package/dist/assets/{StatementItem-BFkpLh_o-y7ZGW1Vq.js → StatementItem-CnpTW8qb-BYZ_h7VG.js} +1 -1
  156. package/dist/assets/{StatementsPage-DWVI5t34-C9LKXGoX.js → StatementsPage-Pdhh6wDA-D6S4uOd7.js} +1 -1
  157. package/dist/assets/{StatusSwitcher-LVFF4Wxb-KYvjAXRF.js → StatusSwitcher-CY3fhZpk-CRtOh969.js} +1 -1
  158. package/dist/assets/{SubTabSwitcher-BCJ6BY1u-CWKSNIjs.js → SubTabSwitcher-BgzS4on6-mKZmBEH_.js} +1 -1
  159. package/dist/assets/{SummaryCard-BauMuQ8s-Cp_w4Wqg.js → SummaryCard-DB_r9qW_-CTe61HcF.js} +1 -1
  160. package/dist/assets/{TaskManagementPage-vrN0Gf0_-BQxIgTC4.js → TaskManagementPage-B0gR2j1v-CS51JkmU.js} +1 -1
  161. package/dist/assets/{TimeRangeSwitcher-CNA64z6j-BjqPYk8T.js → TimeRangeSwitcher-BbdpFsMU-BPeXdkc0.js} +1 -1
  162. package/dist/assets/{TimeframeSwitcher-C1Yz0y7I-CSIg0wbX.js → TimeframeSwitcher-CUpsv6b1-L84OUMou.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcherWithToggle-C_Ah5N3M-BY1ssq39.js → TimeframeSwitcherWithToggle-DZbOWm8e-BWeA2PCI.js} +1 -1
  164. package/dist/assets/{TopExCard-Jo-Rn1MM-C8jicn1C.js → TopExCard-Bn5xXUvj-D1V8RPTg.js} +1 -1
  165. package/dist/assets/{TopExDetailPage-DDbJXH3w-CD_BWdGs.js → TopExDetailPage-DRjO-pGo-B7tFNTC-.js} +1 -1
  166. package/dist/assets/{TransactionDetailPage-BuIbGizX-F9O378Ra.js → TransactionDetailPage-L-yLO1SI-CIWP2d9W.js} +1 -1
  167. package/dist/assets/{TransactionList-CLKRxE0g-DNe71eGT.js → TransactionList-CSb5yqQj-DuZWKirU.js} +1 -1
  168. package/dist/assets/{TransactionListBig-B5vQkCC2-a4zGr6G6.js → TransactionListBig-f2x4xrky-DwUpevlR.js} +1 -1
  169. package/dist/assets/{TransactionListPage-BqX_rZET-CUMQNYL_.js → TransactionListPage-XP6Axg1M-BXMcfFNW.js} +1 -1
  170. package/dist/assets/{TransactionVendorDetailPage-DkTOdWyJ-CKBEI1cd.js → TransactionVendorDetailPage-CY9kUYZc-Lru4_qR4.js} +1 -1
  171. package/dist/assets/{TransferDrawerPage-BOGBvRan-CjFpKlV5.js → TransferDrawerPage-DOMX4_HE-C4a3FolX.js} +1 -1
  172. package/dist/assets/{TreasuryOverviewPage-DyhWQzuM-fH7XT1iO.js → TreasuryOverviewPage-B01cSfUQ-CzhZxZKn.js} +2 -2
  173. package/dist/assets/{TreasuryPromoPage-DeahUeak-CT1FYSVG.js → TreasuryPromoPage-DC46ObGy-CFm5vR7T.js} +1 -1
  174. package/dist/assets/TreasurySetupPage-CiIqfQLR-CejuLzZM.js +146 -0
  175. package/dist/assets/{TreasuryStatementsPage-DjTS6UJU-v5QihWpg.js → TreasuryStatementsPage-C_pfPvgz-DmI7EzSk.js} +1 -1
  176. package/dist/assets/{TreasuryTaxLetterPage-B8-Rgr_d-DzbjM2nz.js → TreasuryTaxLetterPage-D-4Ntky2-xZV4fXfv.js} +1 -1
  177. package/dist/assets/{TreasuryTransferOrReviewPage-CWMEjwJl-D0XGTiiK.js → TreasuryTransferOrReviewPage-CjxiFUqO-JJCQbqAN.js} +1 -1
  178. package/dist/assets/{TrendChart-DZxa1hWw-DQJyr6Gq.js → TrendChart-DKIa4o8k-CoNPqTlA.js} +1 -1
  179. package/dist/assets/{TrendWithTransactions-DqF_gmA3-OahVeCao.js → TrendWithTransactions-BumhCIjm-gZh4UsjF.js} +1 -1
  180. package/dist/assets/{UncategorizedAccountsMappingPage-BTMqGJ-S-CIMe5xBe.js → UncategorizedAccountsMappingPage-C4Njvj_H-DztroIrS.js} +1 -1
  181. package/dist/assets/{UnitIntegrationPage-BypogBLd-DWGWwZzF.js → UnitIntegrationPage-D_tfUXdS-B3x8_h1N.js} +1 -1
  182. package/dist/assets/{UploadAdditionalDocumentOverlay-BtjgWIt2-TPUqMBUX.js → UploadAdditionalDocumentOverlay-CSdTPTA3-X7rEur2Q.js} +1 -1
  183. package/dist/assets/{Vendor2FAPopup-Cvht-fPJ-C_7afR47.js → Vendor2FAPopup-DgKVft1G-Bh4gZ5wc.js} +1 -1
  184. package/dist/assets/{VendorACHDetailsPage-UxL2Rrtg-DTdzfYXL.js → VendorACHDetailsPage-DdAbrbpS-CfYbL_d6.js} +1 -1
  185. package/dist/assets/{VendorDetailPage-D1W5LzEm-QwipvyBw.js → VendorDetailPage-CSPbUx-h-C1LwTfnG.js} +1 -1
  186. package/dist/assets/{VendorDomesticWireDetailsPage-42tTXqjf-6mVdshAx.js → VendorDomesticWireDetailsPage-GODvpEne-g15gbymX.js} +1 -1
  187. package/dist/assets/{VendorFiling1099EditablePage-C-s1YZ6j-sTOOAgLc.js → VendorFiling1099EditablePage-ByfEwSZJ-Dnk9uxWt.js} +1 -1
  188. package/dist/assets/{VendorFirstReviewPage-DNWyzefV-DvCg1v5F.js → VendorFirstReviewPage-B2-UtNMO-B9gZuu-S.js} +1 -1
  189. package/dist/assets/{VendorInternationalWireDetailsPage-BLN_3qXP-CM_mA6aB.js → VendorInternationalWireDetailsPage-DSziQ0jO-BQin9ttL.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CK3lcupO-BMWjw1KX.js → VendorInternationalWireSwiftDetailsPage-Dqc7XLbW-WHIhq_gs.js} +1 -1
  191. package/dist/assets/{VendorsAccountsSection-DN_7lQ28-cEhDobar.js → VendorsAccountsSection-BLwMi5AB-Bd-223-b.js} +1 -1
  192. package/dist/assets/{WarningsDrawerPage-BO2PAioX-BhdINS-A.js → WarningsDrawerPage-3h7UME3Y-CKPc_4w8.js} +1 -1
  193. package/dist/assets/{ZeniAccountDetailPage-yp-KTRnk-Do84GYYz.js → ZeniAccountDetailPage-Dn70Xhjm-Bm3fagRu.js} +1 -1
  194. package/dist/assets/{ZeniAccountListViewPage-D5aqQNtX-BB0gnGLd.js → ZeniAccountListViewPage-C7CX6-Bl-CdiM8oGr.js} +1 -1
  195. package/dist/assets/{ZeniAccountNavBarPieces-VPw7D7l3-C2OS1zdz.js → ZeniAccountNavBarPieces-Cl1zQVNd-BoOmxgUm.js} +1 -1
  196. package/dist/assets/{ZeniAccountPromoPage-wCKqqpXU-Xl62BzvW.js → ZeniAccountPromoPage-CLufbB-B-CxZ93-O_.js} +1 -1
  197. package/dist/assets/{ZeniAccountSetupPage-C9Huhxgd-ClP-TxFI.js → ZeniAccountSetupPage-rLdRA3Ld-0f1innhT.js} +1 -1
  198. package/dist/assets/{ZeniCopyright-DFiO9ffO-CdZ1GVnQ.js → ZeniCopyright-BItiuePl-DMGV7d5T.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-CrkvbV6i-Ckvq_hVC.js → ZeniTransferAmountSlider-DYCK5UWr-pLWKMQLD.js} +1 -1
  200. package/dist/assets/{analyticsHelper-CcOQPReQ-Bxil0fX9.js → analyticsHelper-D4zFEqKN-Cv-Rt4Wa.js} +1 -1
  201. package/dist/assets/{analyticsHelper-DdGBglEP.js → analyticsHelper-D_rWzdzn.js} +1 -1
  202. package/dist/assets/{chartTypes-COEFDZb5-DwGNA7GB.js → chartTypes-yiqF7w9Y-C7Vh16CR.js} +1 -1
  203. package/dist/assets/{commonDimensions-CP6T7HqS-D48QOLbv.js → commonDimensions-PPvas5dK-BI_doeoz.js} +1 -1
  204. package/dist/assets/{detailCommon-Ce5EinV2-CYS83M8u.js → detailCommon-mCAXI64G-gkKdDA26.js} +1 -1
  205. package/dist/assets/{downloadPdf-D5vJmVtA-B3Fqszb0.js → downloadPdf-C3XpsGeN-BXwAdg40.js} +1 -1
  206. package/dist/assets/{index-Cvfy0zsh.js → index-DR9vSgqx.js} +6 -6
  207. package/dist/assets/{mapLoadingInProgressToTreeNode-rI4nf6KS-CK98QO6t.js → mapLoadingInProgressToTreeNode-7wU2HX2P-DM7OpgTV.js} +1 -1
  208. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CQQ7dl1d-uEBESQE9.js → mapSectionWithAcOnlyToTreeNode-dSxF1sWM-9rR9XYui.js} +1 -1
  209. package/dist/assets/{mapSpacerToTreeNode-Br4381dY-DvCypDQ4.js → mapSpacerToTreeNode-1mXbBuNs-D0-H7nmE.js} +1 -1
  210. package/dist/assets/{mapTimeframeBalancesToTreeNode-CFc2Dxqu-D_L54Bbm.js → mapTimeframeBalancesToTreeNode-DXVQrusd-BdiZmBVF.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-B-Zn7TpW-BH302By2.js → mapTimeframeBalancesToTreeNode-DtAULIDB-CEdGFH8Q.js} +1 -1
  212. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DaXzy5qa-Crsiejrh.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DAqn8gdX-BFVS7nhC.js} +1 -1
  213. package/dist/assets/{play-icon-nZkbdoFU-DLANNZGF.js → play-icon-NvLdXSYk-BtJZRy06.js} +1 -1
  214. package/dist/assets/{toCOABalancesWithID-COQYDD-b-D2r9WVRN.js → toCOABalancesWithID-C9fWPLt9-OoFxmlBV.js} +1 -1
  215. package/dist/assets/{toChartData-Djv4ERSl-BDHZyRCT.js → toChartData-BMDCuCgs-pMvlI-3e.js} +1 -1
  216. package/dist/assets/{treasuryColorHelper-D8HHUK60-C135QZF4.js → treasuryColorHelper-COfuUI3C-DV_5mX3C.js} +1 -1
  217. package/dist/assets/{uploadAttachment-BLy0prl2-WutsqSlB.js → uploadAttachment-DSku547V-Dvu5JOyk.js} +1 -1
  218. package/dist/assets/{uploadReceipts-D80JLNY4-CM61PF-k.js → uploadReceipts-D80JLNY4-jTx9mqdq.js} +1 -1
  219. package/dist/index.html +1 -1
  220. package/package.json +4 -4
  221. package/dist/assets/BusinessVerificationPage-JFwqav9V-DcT8aYGJ.js +0 -140
  222. package/dist/assets/CompanyOfficerDetailsSection-C3yfgjGi-Bd3_muTE.js +0 -232
  223. package/dist/assets/CustomerOnboardingContainerPage-D34Fz5xA-C6h4Jblo.js +0 -1
  224. package/dist/assets/DocumentSecurityBanner-CQSsX1R1-B63qiUpU.js +0 -29
  225. package/dist/assets/TreasurySetupPage-kCSON6p8-DfPMx5Ua.js +0 -152
@@ -1,4 +1,4 @@
1
- import{X as b,M as oe,j as r,u as H,w as $e,d2 as ye,a2 as be,a0 as je,l as Se,fk as Te,aV as ve,K as q,_ as Y,o as t,c0 as ze,k as O,c1 as Pe,Z as ke,C as g,bP as Be,bs as Ae,i5 as Ie,v as Me,q as m,Q as j,g as $,ap as Re,a7 as Le,i6 as _e}from"./index-Cvfy0zsh.js";import{b as S,n as a,j as Ee,k as De}from"./vendor-CnQcJ2Lu.js";import{x as Fe}from"./MeetingCalenderPopup-CUA73Qvk-DoxrAhy8.js";import{f as Ue}from"./NavigationDots-BXUbx14l-6QIteFmi.js";import{J as N,N as G}from"./PromoBaseCards-Jze9Y7gb-D1gxtikT.js";import{M as R}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const x={containerPaddingTopBottom:new g(m[0],m[0]),uspContainerMarginX:new g(m[6],m[0]),midContainerGap:new g(m[4],84),iconContainerMinHeight:new g(236,396),emptySectionHeight:new g(m[6],43),navigationBottom:new g(m[4],94),navigationLeft:new g(192,244),carouselHeight:new g(268,396),carouselMarginTop:new g(54,m[4]),carouselMarginLeft:new g(120,m[12]),buttonTrayGap:new g(m[3],m[5]),termsOfAgreementMarginTop:new g(m[5],m[10]),contactAdminContainerMarginTop:new g(m[0],m[10]),contactAdminContainerMarginBottom:new g(m[4],m[0]),contactAdminContainerMarginLeftRight:new g(m[3],m[0])},T={promoBadgeText:new j("standardRegular","largeRegular"),promoBadgeTextBold:new j("standardBold","largeBold"),cardsContent:new j("extraSmallRegular","smallRegular"),contactAdmin:new j("extraSmallRegular","largeRegular"),uspText:new j("smallRegular","standardRegular"),uspBoldText:new j("smallMedium","standardMedium")},{common:ee,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),Mr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:n,controllerEmails:p,isCreditCardProductVisible:h,isDebitCardFeatureEnabled:c,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:f,admins:z,cashbackRate:P,cardPromoType:u="credit",onSetupButtonClick:l,onBackClick:d,onClickMenuIcon:pe,onSetupChargeCardSuccess:V,onExpressInterestClick:me})=>{const he=H(),Z=$e(),v=b(),J=ye().analytics,{chargeCardTermsDetails:L,companyChargeCardInfo:C,companyLocaleInfo:_}=i,K=be(L?.fetchStatus.fetchState),[xe,Q]=S.useState(!1),ge=()=>{J.trackCardsPromoPageClicked("schedule demo"),J.trackCardsScheduleDemoClick(p,{isCreditCardOffered:h,isDebitCardOffered:c,isDebitCardEnabled:w,isCreditCardEnabled:f},"Cards Promo"),Q(!0)},ue=C!=null&&_!=null?je("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:_.currencyCode,currencySymbol:_.currencySymbol}):void 0;S.useEffect(()=>{K==="In-Progress"&&L?.fetchStatus.fetchState==="Completed"&&V()},[K,V,L?.fetchStatus]);const W=Se.hasChargeCardAdminLevelAccess(Z.loggedInUserRoleMap),we=Te(Z),E=u==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=u==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=u==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,fe=u==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:Ce}=i,X=E?o.getPreApprovedNow:n?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Ze,{children:[r.jsx(ve,{title:o.title[u],backgroundColor:he.colors.grey4,onBackClick:d,showBackButton:!0,showMenuIcon:v==="medium-compact"||v==="small",onClickMenuIcon:pe,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(Fe,{onCancelClick:()=>{Q(!1)},meetingUrl:e}):null,r.jsx(We,{windowSize:v,children:W===!0?r.jsxs(Qe,{children:[r.jsxs(Ke,{children:[r.jsx(Ge,{isApproved:fe,creditAmount:ue,cardPromoType:u,isUnderReview:F,isRejected:D,showExpressInterest:E}),r.jsx(ne,{cardPromoType:u,cashbackRate:P})]}),r.jsx(ae,{showEnableCardButton:n,cardPromoType:u,isUnderReview:F,isRejected:D,showExpressInterest:E})]}):r.jsx(He,{companyLegalName:s,cards:[],admins:z,cashbackRate:P,hasZeniFinopsRoles:we,cardPromoType:u})}),W&&!(F||D)?r.jsxs(ir,{windowSize:v,children:[r.jsx(q,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:ge,"data-testid":Y("schedule-demo-button")}),r.jsx(Je,{windowSize:v,children:o.orText}),r.jsx(q,{variant:"primary",label:X,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||Ce==="In-Progress",onClick:X===o.getPreApprovedNow?me:()=>l(u),"data-testid":Y("enable-card-button")})]}):null]})},Ne=({admins:e})=>{const s=e.flatMap(n=>n.user?.firstName+" "+n.user?.lastName).join(", "),i=b();return r.jsxs(pr,{windowSize:i,children:[r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Ae,{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})]})},ae=({cardPromoType:e,showEnableCardButton:s,isUnderReview:i,isRejected:n,showExpressInterest:p,isCardUser:h=!1})=>{const c=b();return r.jsx(tr,{windowSize:c,children:r.jsx(Ie,{topTermLabel:e==="credit"||e==="debit_and_credit"?o.terms.checkingAccountTerm:void 0,buttonTermLabel:i===!0||n===!0||h===!0?void 0:p===!0?o.terms.approvalTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:n===!1||h===!1,style:{marginTop:x.termsOfAgreementMarginTop.valuePx(c)}})})},Ge=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:n,isRejected:p,showExpressInterest:h})=>{const c=b(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,f=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,ee.strings.space]}):h?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(er,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,o.promoBadgeText.nonPreApproved.higherLimits]}):n?o.promoBadgeText.underReview:p?o.promoBadgeText.rejected:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,ee.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:c==="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(qe,{cardPromoType:s,hideBadge:i==null||s==="debit",windowSize:c,children:[n||p?null:r.jsx(Cr,{}),r.jsx(Ye,{windowSize:c,children:f})]})]})},He=({companyLegalName:e,cards:s,admins:i,cashbackRate:n,hasZeniFinopsRoles:p,cardPromoType:h="credit"})=>{const c=b(),w=h==="debit_and_credit"?o.promoTextDebitCreditCard:h==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[c==="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(cr,{windowSize:c}):r.jsx(Oe,{cards:s,companyLegalName:e}),r.jsx(ne,{cardPromoType:h,cashbackRate:n}),p?null:r.jsx(Ne,{admins:i}),r.jsx(ae,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:h})]})},Oe=({cards:e,companyLegalName:s})=>{const i=H(),n=b();let p="",h;if(e.length===1){h=e[0].cardCreatedByUser.photo;const c=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;p=o.cardAssigned.singleCreditCard.replace("__issuing-user__",c).replace("__company-name__",s)}else p=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(hr,{children:[h!=null?r.jsx(Xe,{width:t.sp5,height:t.sp5,style:{paddingTop:n==="small"?t.sp1:t.sp0},src:h.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:c})=>{c.onerror=null,c.src=Be},loading:"lazy"}):null,r.jsx(mr,{windowSize:n,mode:i.mode,children:r.jsx(xr,{windowSize:n,children:p})})]})},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(Ve,{}):r.jsxs(ar,{windowSize:e,children:[r.jsx(N,{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})]})})},ne=({cardPromoType:e,cashbackRate:s})=>{const i=b(),n=o.benefits;return r.jsxs(rr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(or,{windowSize:i,children:[r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(dr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item1.pre}),r.jsx(A,{windowSize:i,children:n.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(y,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?n.singleStarred:""}${n.item1.post}`})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(nr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item2.pre}),r.jsx(A,{windowSize:i,children:n.item2.bold}),r.jsx(y,{windowSize:i,children:n.item2.post})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(lr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item3.pre}),r.jsx(A,{windowSize:i,children:n.item3.bold}),r.jsx(y,{windowSize:i,children:n.item3.post})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(sr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item4.pre}),r.jsx(A,{windowSize:i,children:n.item4.bold}),r.jsx(y,{windowSize:i,children:n.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Ve=()=>{const e=b(),s=H(),[i,n]=S.useState(0),[p,h]=S.useState(!1),c=o.businessText,w=`${c} ${o.debit}`,f=[{id:1,cardType:"debit",cardText:w},{id:2,cardType:"debit",cardText:w},{id:3,cardType:"credit",cardText:c},{id:4,cardType:"credit",cardText:c}];S.useEffect(()=>(p||(k=setInterval(()=>{n(l=>{const d=l+1;return d===f.length?(h(!0),0):d})},2e3)),()=>clearInterval(k)),[p,f.length]),S.useEffect(()=>{p&&k!=null&&clearInterval(k)},[p]);const z=(l,d)=>{switch((l-i+f.length)%f.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=z(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},u=l=>{p||h(!0),n(l)};return r.jsxs(gr,{windowSize:e,children:[r.jsx(ur,{windowSize:e,children:f.map((l,d)=>r.jsxs(wr,{children:[r.jsx(ie,{isReflection:!1,style:{...z(d,!1)},onClick:()=>u(d),children:d===0||d===2?r.jsx(N,{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(N,{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))}),p&&r.jsx(Ue,{numberOfDots:f.length,activeIndex:i,handleClick:n,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:x.navigationBottom.valuePx(e),left:x.navigationLeft.valuePx(e),zIndex:7}})]})},Ze=a.div`
1
+ import{X as b,M as oe,j as r,u as H,w as $e,d2 as ye,a2 as be,a0 as je,l as Se,fk as Te,aV as ve,K as q,_ as Y,o as t,c0 as ze,k as O,c1 as Pe,Z as ke,C as g,bP as Be,bs as Ae,i5 as Ie,v as Me,q as m,Q as j,g as $,ap as Re,a7 as Le,i6 as _e}from"./index-DR9vSgqx.js";import{b as S,n as a,j as Ee,k as De}from"./vendor-CnQcJ2Lu.js";import{x as Fe}from"./MeetingCalenderPopup-DlnppXL_-CUHiDz63.js";import{f as Ue}from"./NavigationDots-BfJxPG2K-BkZqVum6.js";import{J as N,N as G}from"./PromoBaseCards-OKpdHchW-i4Aus_7s.js";import{M as R}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const x={containerPaddingTopBottom:new g(m[0],m[0]),uspContainerMarginX:new g(m[6],m[0]),midContainerGap:new g(m[4],84),iconContainerMinHeight:new g(236,396),emptySectionHeight:new g(m[6],43),navigationBottom:new g(m[4],94),navigationLeft:new g(192,244),carouselHeight:new g(268,396),carouselMarginTop:new g(54,m[4]),carouselMarginLeft:new g(120,m[12]),buttonTrayGap:new g(m[3],m[5]),termsOfAgreementMarginTop:new g(m[5],m[10]),contactAdminContainerMarginTop:new g(m[0],m[10]),contactAdminContainerMarginBottom:new g(m[4],m[0]),contactAdminContainerMarginLeftRight:new g(m[3],m[0])},T={promoBadgeText:new j("standardRegular","largeRegular"),promoBadgeTextBold:new j("standardBold","largeBold"),cardsContent:new j("extraSmallRegular","smallRegular"),contactAdmin:new j("extraSmallRegular","largeRegular"),uspText:new j("smallRegular","standardRegular"),uspBoldText:new j("smallMedium","standardMedium")},{common:ee,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),Mr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:n,controllerEmails:p,isCreditCardProductVisible:h,isDebitCardFeatureEnabled:c,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:f,admins:z,cashbackRate:P,cardPromoType:u="credit",onSetupButtonClick:l,onBackClick:d,onClickMenuIcon:pe,onSetupChargeCardSuccess:V,onExpressInterestClick:me})=>{const he=H(),Z=$e(),v=b(),J=ye().analytics,{chargeCardTermsDetails:L,companyChargeCardInfo:C,companyLocaleInfo:_}=i,K=be(L?.fetchStatus.fetchState),[xe,Q]=S.useState(!1),ge=()=>{J.trackCardsPromoPageClicked("schedule demo"),J.trackCardsScheduleDemoClick(p,{isCreditCardOffered:h,isDebitCardOffered:c,isDebitCardEnabled:w,isCreditCardEnabled:f},"Cards Promo"),Q(!0)},ue=C!=null&&_!=null?je("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:_.currencyCode,currencySymbol:_.currencySymbol}):void 0;S.useEffect(()=>{K==="In-Progress"&&L?.fetchStatus.fetchState==="Completed"&&V()},[K,V,L?.fetchStatus]);const W=Se.hasChargeCardAdminLevelAccess(Z.loggedInUserRoleMap),we=Te(Z),E=u==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=u==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=u==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,fe=u==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:Ce}=i,X=E?o.getPreApprovedNow:n?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Ze,{children:[r.jsx(ve,{title:o.title[u],backgroundColor:he.colors.grey4,onBackClick:d,showBackButton:!0,showMenuIcon:v==="medium-compact"||v==="small",onClickMenuIcon:pe,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(Fe,{onCancelClick:()=>{Q(!1)},meetingUrl:e}):null,r.jsx(We,{windowSize:v,children:W===!0?r.jsxs(Qe,{children:[r.jsxs(Ke,{children:[r.jsx(Ge,{isApproved:fe,creditAmount:ue,cardPromoType:u,isUnderReview:F,isRejected:D,showExpressInterest:E}),r.jsx(ne,{cardPromoType:u,cashbackRate:P})]}),r.jsx(ae,{showEnableCardButton:n,cardPromoType:u,isUnderReview:F,isRejected:D,showExpressInterest:E})]}):r.jsx(He,{companyLegalName:s,cards:[],admins:z,cashbackRate:P,hasZeniFinopsRoles:we,cardPromoType:u})}),W&&!(F||D)?r.jsxs(ir,{windowSize:v,children:[r.jsx(q,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:ge,"data-testid":Y("schedule-demo-button")}),r.jsx(Je,{windowSize:v,children:o.orText}),r.jsx(q,{variant:"primary",label:X,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||Ce==="In-Progress",onClick:X===o.getPreApprovedNow?me:()=>l(u),"data-testid":Y("enable-card-button")})]}):null]})},Ne=({admins:e})=>{const s=e.flatMap(n=>n.user?.firstName+" "+n.user?.lastName).join(", "),i=b();return r.jsxs(pr,{windowSize:i,children:[r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Ae,{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})]})},ae=({cardPromoType:e,showEnableCardButton:s,isUnderReview:i,isRejected:n,showExpressInterest:p,isCardUser:h=!1})=>{const c=b();return r.jsx(tr,{windowSize:c,children:r.jsx(Ie,{topTermLabel:e==="credit"||e==="debit_and_credit"?o.terms.checkingAccountTerm:void 0,buttonTermLabel:i===!0||n===!0||h===!0?void 0:p===!0?o.terms.approvalTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:n===!1||h===!1,style:{marginTop:x.termsOfAgreementMarginTop.valuePx(c)}})})},Ge=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:n,isRejected:p,showExpressInterest:h})=>{const c=b(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,f=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,ee.strings.space]}):h?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(er,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,o.promoBadgeText.nonPreApproved.higherLimits]}):n?o.promoBadgeText.underReview:p?o.promoBadgeText.rejected:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,ee.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:c==="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(qe,{cardPromoType:s,hideBadge:i==null||s==="debit",windowSize:c,children:[n||p?null:r.jsx(Cr,{}),r.jsx(Ye,{windowSize:c,children:f})]})]})},He=({companyLegalName:e,cards:s,admins:i,cashbackRate:n,hasZeniFinopsRoles:p,cardPromoType:h="credit"})=>{const c=b(),w=h==="debit_and_credit"?o.promoTextDebitCreditCard:h==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[c==="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(cr,{windowSize:c}):r.jsx(Oe,{cards:s,companyLegalName:e}),r.jsx(ne,{cardPromoType:h,cashbackRate:n}),p?null:r.jsx(Ne,{admins:i}),r.jsx(ae,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:h})]})},Oe=({cards:e,companyLegalName:s})=>{const i=H(),n=b();let p="",h;if(e.length===1){h=e[0].cardCreatedByUser.photo;const c=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;p=o.cardAssigned.singleCreditCard.replace("__issuing-user__",c).replace("__company-name__",s)}else p=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(hr,{children:[h!=null?r.jsx(Xe,{width:t.sp5,height:t.sp5,style:{paddingTop:n==="small"?t.sp1:t.sp0},src:h.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:c})=>{c.onerror=null,c.src=Be},loading:"lazy"}):null,r.jsx(mr,{windowSize:n,mode:i.mode,children:r.jsx(xr,{windowSize:n,children:p})})]})},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(Ve,{}):r.jsxs(ar,{windowSize:e,children:[r.jsx(N,{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})]})})},ne=({cardPromoType:e,cashbackRate:s})=>{const i=b(),n=o.benefits;return r.jsxs(rr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(or,{windowSize:i,children:[r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(dr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item1.pre}),r.jsx(A,{windowSize:i,children:n.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(y,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?n.singleStarred:""}${n.item1.post}`})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(nr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item2.pre}),r.jsx(A,{windowSize:i,children:n.item2.bold}),r.jsx(y,{windowSize:i,children:n.item2.post})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(lr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item3.pre}),r.jsx(A,{windowSize:i,children:n.item3.bold}),r.jsx(y,{windowSize:i,children:n.item3.post})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(sr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item4.pre}),r.jsx(A,{windowSize:i,children:n.item4.bold}),r.jsx(y,{windowSize:i,children:n.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Ve=()=>{const e=b(),s=H(),[i,n]=S.useState(0),[p,h]=S.useState(!1),c=o.businessText,w=`${c} ${o.debit}`,f=[{id:1,cardType:"debit",cardText:w},{id:2,cardType:"debit",cardText:w},{id:3,cardType:"credit",cardText:c},{id:4,cardType:"credit",cardText:c}];S.useEffect(()=>(p||(k=setInterval(()=>{n(l=>{const d=l+1;return d===f.length?(h(!0),0):d})},2e3)),()=>clearInterval(k)),[p,f.length]),S.useEffect(()=>{p&&k!=null&&clearInterval(k)},[p]);const z=(l,d)=>{switch((l-i+f.length)%f.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=z(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},u=l=>{p||h(!0),n(l)};return r.jsxs(gr,{windowSize:e,children:[r.jsx(ur,{windowSize:e,children:f.map((l,d)=>r.jsxs(wr,{children:[r.jsx(ie,{isReflection:!1,style:{...z(d,!1)},onClick:()=>u(d),children:d===0||d===2?r.jsx(N,{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(N,{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))}),p&&r.jsx(Ue,{numberOfDots:f.length,activeIndex:i,handleClick:n,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:x.navigationBottom.valuePx(e),left:x.navigationLeft.valuePx(e),zIndex:7}})]})},Ze=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{u as Ie,X as Ve,d2 as Ue,a2 as M,a as Be,c3 as $e,l as ze,M as Re,a8 as G,j as t,cI as _e,g as Le,C as r,aV as We,c as qe,F as Ne,c_ as He,o as B,f as Me,aR as Ge,a4 as Ke,q as a,e as Xe}from"./index-Cvfy0zsh.js";import{b as p,n as S}from"./vendor-CnQcJ2Lu.js";import{D as Je}from"./HelpButton-BFbQbBAV-BQPDLXHd.js";import{K as Qe}from"./SetUpDefaultSection-BX28nGOx-BuMe3hLW.js";import{f as Ye,y as K}from"./SpendMgmtSetupAccountSection-chezHlCW-BQkEXaOg.js";import{x as Ze}from"./LabeledControlledCheckBoxField-CHl3uhk9-BFLBybV4.js";import{g as et}from"./UploadAdditionalDocumentOverlay-BtjgWIt2-TPUqMBUX.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-CUA73Qvk-DoxrAhy8.js";import"./ChargeCardUtils-DlCRcsWm-D__qzTWb.js";import"./CreditCardPaymentPlgSection-BKgF2tFu-DparH7B9.js";import"./ChaseOverlay-Cpt5a98f-dacal49t.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,a[5],a[5]),sectionRowGap:new r(a[5],a[9],a[9]),iconWidthHeight:new r(20,a[4]),subTitlePaddingTop:new r(12,a[3]),subTitlePaddingBottom:new r(a[3],a[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(a[1],a[0])},X="chargeCardSetUpPage",h="payAccount",{commonSetUp:tt,spendManagement:nt}=Re.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:m}=Y,{setUp:$}=tt,Tt=({autoPayThreshold:e,isDisabled:x,meetingUrl:T,isEarlyPayEnabled:f,chargeCardSetUpView:o,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:oe,onFetchLinkTokenClick:ae,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:me,onEstablishConnectionClick:he,onEstablishConnectionSuccess:fe,onClickMenuIcon:ge,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const g=Ie(),i=Ve(),E=Ue().analytics,[w,y]=p.useState(!1),{fetchState:b,companyBillPayInfo:z,isRefreshingViewInBackground:we,updateStatus:d,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:F,companyDebitCardInfo:R,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:_}=o,L=M(b),A=M(d.fetchState),j=Be({mode:"all",reValidateMode:"onChange",defaultValues:p.useMemo(()=>J(o),[o]),values:J(o)}),ve=j.handleSubmit(se),Ee=async(C,k)=>{const n=k[h];if(C.includes(h))if(C.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const u=_.find(U=>U.id===n.fundingAccount.selectedOption);u!=null&&pe(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(U=>U.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&E.trackConnectBankLink(u.value,u.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else C.includes("enableAutoPay")&&n.enableAutoPay!=null&&me(n.enableAutoPay)};p.useEffect(()=>{const C=j.watch((k,{name:n})=>{n!=null&&k!=null&&$e(()=>Ee(n,k))});return()=>{C.unsubscribe()}}),p.useEffect(()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&y(!0),w&&L==="In-Progress"&&b==="Completed"&&y(!1)},[s,b,L]),p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const O=F?.isChargeCardEnabled===!0,D=R?.isDebitCardEnabled===!0,W=R?.isDebitCardTOSAccepted===!0,q=F?.isChargeCardTOSAccepted===!0,N=z?.isBusinessVerified===!0,Fe=l?.accType==="depositAccount"||ze.isVerifiedPaymentAccountProviderStatusCode(l?.providerVerificationStatus?.code??""),I=v?N:N&&Fe,je=b==="In-Progress"||b==="Not-Started";p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const V=v?I&&!D&&W:ie?I&&!O&&q:I&&!(O&&D)&&q&&W,Oe=V?m.setupSubTitleNotEnabled:m.setupSubTitle,H=g.mode==="light"?new G(g.colors.brandColorJadeLight):new G(g.colors.brandColorJadeDark),De=()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?y(!0):re?.()};return t.jsxs(ot,{children:[t.jsx(_e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:w,onClose:()=>y(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:d,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>y(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe})}),t.jsx(We,{title:m.setupTitle,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!O&&!D&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ge,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:Oe}),je?t.jsx(ct,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...j,children:t.jsx("form",{id:Q(X),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Qe,{onClick:De,title:$.businessVerificationTitle,subTitle:$.businessVerificationSubTitle,header:$.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:z?.businessVerificationStatus,isLoading:we,isActiveWhileLoading:!0}),v?null:t.jsx(Ye,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:_,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:h,isDisabled:x,onFetchLinkTokenClick:ae,onEstablishConnectionClick:he,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:fe,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:Pe,pageName:m.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:f?{marginBottom:"20px"}:{},bottomComponent:f&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:g.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:K(h,"enableAutoPay"),checkBoxValue:K(h,"enableAutoPay"),defaultChecked:F?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),V?t.jsx(Ke,{formId:Q(X),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:d.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:x!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Je,{isFooterRendered:V,meetingUrl:T,analytics:E,productType:"charge_cards"})]})},J=e=>{const{allBankAccounts:x,allFundingAccounts:T,primaryFundingAccount:f}=e;return{[h]:{fundingAccount:{selectedOption:f?.id,allOptions:T.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:f?.zeniAccountId,allOptions:x.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},Q=e=>`${e}_form`,it=S.div`
1
+ import{u as Ie,X as Ve,d2 as Ue,a2 as M,a as Be,c3 as $e,l as ze,M as Re,a8 as G,j as t,cI as _e,g as Le,C as r,aV as We,c as qe,F as Ne,c_ as He,o as B,f as Me,aR as Ge,a4 as Ke,q as a,e as Xe}from"./index-DR9vSgqx.js";import{b as p,n as S}from"./vendor-CnQcJ2Lu.js";import{D as Je}from"./HelpButton-Coe4ii48-CP7NC72-.js";import{K as Qe}from"./SetUpDefaultSection-C0-L2ZyA-COKZA6T-.js";import{f as Ye,y as K}from"./SpendMgmtSetupAccountSection-DedLETSm-D7MuWTH4.js";import{x as Ze}from"./LabeledControlledCheckBoxField-CwiyOI1Z-D7LWnjIE.js";import{g as et}from"./UploadAdditionalDocumentOverlay-CSdTPTA3-X7rEur2Q.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-DlnppXL_-CUHiDz63.js";import"./ChargeCardUtils-BbByGmi9-DEgVq9Nd.js";import"./CreditCardPaymentPlgSection-BS99Rbz7-D3hONmqh.js";import"./ChaseOverlay-CvXMdD8r-BjJFL-eT.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,a[5],a[5]),sectionRowGap:new r(a[5],a[9],a[9]),iconWidthHeight:new r(20,a[4]),subTitlePaddingTop:new r(12,a[3]),subTitlePaddingBottom:new r(a[3],a[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(a[1],a[0])},X="chargeCardSetUpPage",h="payAccount",{commonSetUp:tt,spendManagement:nt}=Re.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:m}=Y,{setUp:$}=tt,Tt=({autoPayThreshold:e,isDisabled:x,meetingUrl:T,isEarlyPayEnabled:f,chargeCardSetUpView:o,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:oe,onFetchLinkTokenClick:ae,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:me,onEstablishConnectionClick:he,onEstablishConnectionSuccess:fe,onClickMenuIcon:ge,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const g=Ie(),i=Ve(),E=Ue().analytics,[w,y]=p.useState(!1),{fetchState:b,companyBillPayInfo:z,isRefreshingViewInBackground:we,updateStatus:d,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:F,companyDebitCardInfo:R,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:_}=o,L=M(b),A=M(d.fetchState),j=Be({mode:"all",reValidateMode:"onChange",defaultValues:p.useMemo(()=>J(o),[o]),values:J(o)}),ve=j.handleSubmit(se),Ee=async(C,k)=>{const n=k[h];if(C.includes(h))if(C.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const u=_.find(U=>U.id===n.fundingAccount.selectedOption);u!=null&&pe(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(U=>U.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&E.trackConnectBankLink(u.value,u.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else C.includes("enableAutoPay")&&n.enableAutoPay!=null&&me(n.enableAutoPay)};p.useEffect(()=>{const C=j.watch((k,{name:n})=>{n!=null&&k!=null&&$e(()=>Ee(n,k))});return()=>{C.unsubscribe()}}),p.useEffect(()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&y(!0),w&&L==="In-Progress"&&b==="Completed"&&y(!1)},[s,b,L]),p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const O=F?.isChargeCardEnabled===!0,D=R?.isDebitCardEnabled===!0,W=R?.isDebitCardTOSAccepted===!0,q=F?.isChargeCardTOSAccepted===!0,N=z?.isBusinessVerified===!0,Fe=l?.accType==="depositAccount"||ze.isVerifiedPaymentAccountProviderStatusCode(l?.providerVerificationStatus?.code??""),I=v?N:N&&Fe,je=b==="In-Progress"||b==="Not-Started";p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const V=v?I&&!D&&W:ie?I&&!O&&q:I&&!(O&&D)&&q&&W,Oe=V?m.setupSubTitleNotEnabled:m.setupSubTitle,H=g.mode==="light"?new G(g.colors.brandColorJadeLight):new G(g.colors.brandColorJadeDark),De=()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?y(!0):re?.()};return t.jsxs(ot,{children:[t.jsx(_e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:w,onClose:()=>y(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:d,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>y(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe})}),t.jsx(We,{title:m.setupTitle,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!O&&!D&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ge,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:Oe}),je?t.jsx(ct,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...j,children:t.jsx("form",{id:Q(X),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Qe,{onClick:De,title:$.businessVerificationTitle,subTitle:$.businessVerificationSubTitle,header:$.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:z?.businessVerificationStatus,isLoading:we,isActiveWhileLoading:!0}),v?null:t.jsx(Ye,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:_,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:h,isDisabled:x,onFetchLinkTokenClick:ae,onEstablishConnectionClick:he,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:fe,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:Pe,pageName:m.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:f?{marginBottom:"20px"}:{},bottomComponent:f&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:g.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:K(h,"enableAutoPay"),checkBoxValue:K(h,"enableAutoPay"),defaultChecked:F?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),V?t.jsx(Ke,{formId:Q(X),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:d.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:x!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Je,{isFooterRendered:V,meetingUrl:T,analytics:E,productType:"charge_cards"})]})},J=e=>{const{allBankAccounts:x,allFundingAccounts:T,primaryFundingAccount:f}=e;return{[h]:{fundingAccount:{selectedOption:f?.id,allOptions:T.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:f?.zeniAccountId,allOptions:x.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},Q=e=>`${e}_form`,it=S.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{u as F,X as T,j as t,aV as W,M as R,o as h,C as g,e as B,ao as O,d2 as V,g$ as q,_ as J,c as _,q as s,bp as K}from"./index-Cvfy0zsh.js";import{n as i,b as U}from"./vendor-CnQcJ2Lu.js";import{$ as X,g as G}from"./BoxItem-C5PEWObZ-CeuLKKcA.js";import{w as H}from"./downloadPdf-D5vJmVtA-B3Fqszb0.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./commonDimensions-CP6T7HqS-D48QOLbv.js";const Y=R.getLocalizedStrings().months,A={downloadButtonSize:new g(s[4],20)},Q=i.div`
1
+ import{u as F,X as T,j as t,aV as W,M as R,o as h,C as g,e as B,ao as O,d2 as V,g$ as q,_ as J,c as _,q as s,bp as K}from"./index-DR9vSgqx.js";import{n as i,b as U}from"./vendor-CnQcJ2Lu.js";import{$ as X,g as G}from"./BoxItem-BcQH7ATF-CgWI28ii.js";import{w as H}from"./downloadPdf-C3XpsGeN-BXwAdg40.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./commonDimensions-PPvas5dK-BI_doeoz.js";const Y=R.getLocalizedStrings().months,A={downloadButtonSize:new g(s[4],20)},Q=i.div`
2
2
  display: flex;
3
3
  padding: ${h.sp3} ${h.sp4};
4
4
  flex-direction: row;
@@ -1 +1 @@
1
- import{ff as D,M as S,dq as c,l as B}from"./index-Cvfy0zsh.js";function U(e){const a=e.match(/\d+/g);if(!a||a.length!==3)return null;const r=parseInt(a[0]),d=parseInt(a[1]),t=parseInt(a[2]);return"#"+(1<<24|r<<16|d<<8|t).toString(16).slice(1)}const A=({signedInUserToken:e,showSecretInfo:a,setShowPhoneNumberPopup:r,onFireOnClickAnalytics:d,setShowSecretInfo:t})=>{(e==null||e.expiry.isBefore(B.dateNow()))&&a===!1?(r(!0),d("verify card details")):e?.token!=null&&a===!1?t(!0):e?.token!=null&&a===!0&&t(!1)},F=e=>e.includes("credit")?"credit":"debit",{dateFormat:s}=S.getLocalizedStrings(),L=({chargeCardDetailView:e,classListFetchState:a,analytics:r,isChargeCardFeatureEnabled:d,creditAccount:t,pageName:o,addToWalletType:i,creditAccountRepayment:l,isDebitCard:n,isChargeCardAdmin:m,cardIssuedByRoles:u,cardIssuedByDepartmentName:h,cardHolderRoles:C,cardHolderDepartmentName:g,controllerEmails:p,productInformation:y,creditAccountInformation:f,debitAccountInformation:I})=>{e.chargeCard!=null&&a==="Completed"&&(!d||t.fetchState==="Completed"&&l.fetchState==="Completed")&&(!(n&&m)||e.depositAccountLimitFetchState.fetchState==="Completed")&&r.trackCardsAddToWalletClick(p,y,{cardId:e.chargeCard.id,cardName:e.chargeCard.cardName,cardType:F(e.chargeCard.type.code),cardCategory:e.chargeCard.type.code.includes("physical")?"physical":"virtual",cardLimit:D(e.chargeCard.limit.amount),cardLastFourDigits:e.chargeCard.accountLast4,cardStatus:e.chargeCard.status.code,cardAssignedDate:e.chargeCard.createTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:e.chargeCard.providerCardCreateTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:e.chargeCard.creditLimitFrequency.name},{cardIssuedByName:c(e.chargeCard.cardCreatedByUser,!1),cardIssuedByEmail:e.chargeCard.cardCreatedByUser?.email,cardIssuedByUserId:e.chargeCard.cardCreatedByUser?.userId,cardIssuedByRole:u,cardIssuedByDepartment:h},{cardholderName:c(e.chargeCard.cardHolderUser,!1),cardholderEmail:e.chargeCard.cardHolderUser?.email,cardholderRole:C,cardholderUserId:e.chargeCard.cardHolderUser?.userId,cardholderDepartment:g},o,i,f,I)},N=(e,a)=>{if(e<=0)return 0;const r=e-a;return Math.round(r/e*100)},Y=e=>e.limit.amount-e.available.amount,b="1.75";export{F,L as H,U as L,N as M,A as U,Y as _,b as v};
1
+ import{ff as D,M as S,dq as c,l as B}from"./index-DR9vSgqx.js";function U(e){const a=e.match(/\d+/g);if(!a||a.length!==3)return null;const r=parseInt(a[0]),d=parseInt(a[1]),t=parseInt(a[2]);return"#"+(1<<24|r<<16|d<<8|t).toString(16).slice(1)}const A=({signedInUserToken:e,showSecretInfo:a,setShowPhoneNumberPopup:r,onFireOnClickAnalytics:d,setShowSecretInfo:t})=>{(e==null||e.expiry.isBefore(B.dateNow()))&&a===!1?(r(!0),d("verify card details")):e?.token!=null&&a===!1?t(!0):e?.token!=null&&a===!0&&t(!1)},F=e=>e.includes("credit")?"credit":"debit",{dateFormat:s}=S.getLocalizedStrings(),L=({chargeCardDetailView:e,classListFetchState:a,analytics:r,isChargeCardFeatureEnabled:d,creditAccount:t,pageName:o,addToWalletType:i,creditAccountRepayment:l,isDebitCard:n,isChargeCardAdmin:m,cardIssuedByRoles:u,cardIssuedByDepartmentName:h,cardHolderRoles:C,cardHolderDepartmentName:g,controllerEmails:p,productInformation:y,creditAccountInformation:f,debitAccountInformation:I})=>{e.chargeCard!=null&&a==="Completed"&&(!d||t.fetchState==="Completed"&&l.fetchState==="Completed")&&(!(n&&m)||e.depositAccountLimitFetchState.fetchState==="Completed")&&r.trackCardsAddToWalletClick(p,y,{cardId:e.chargeCard.id,cardName:e.chargeCard.cardName,cardType:F(e.chargeCard.type.code),cardCategory:e.chargeCard.type.code.includes("physical")?"physical":"virtual",cardLimit:D(e.chargeCard.limit.amount),cardLastFourDigits:e.chargeCard.accountLast4,cardStatus:e.chargeCard.status.code,cardAssignedDate:e.chargeCard.createTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:e.chargeCard.providerCardCreateTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:e.chargeCard.creditLimitFrequency.name},{cardIssuedByName:c(e.chargeCard.cardCreatedByUser,!1),cardIssuedByEmail:e.chargeCard.cardCreatedByUser?.email,cardIssuedByUserId:e.chargeCard.cardCreatedByUser?.userId,cardIssuedByRole:u,cardIssuedByDepartment:h},{cardholderName:c(e.chargeCard.cardHolderUser,!1),cardholderEmail:e.chargeCard.cardHolderUser?.email,cardholderRole:C,cardholderUserId:e.chargeCard.cardHolderUser?.userId,cardholderDepartment:g},o,i,f,I)},N=(e,a)=>{if(e<=0)return 0;const r=e-a;return Math.round(r/e*100)},Y=e=>e.limit.amount-e.available.amount,b="1.75";export{F,L as H,U as L,N as M,A as U,Y as _,b as v};
@@ -1,4 +1,4 @@
1
- import{X as J,fc as Q,fd as Y,M as W,j as t,g as x,p as ee,K as N,_ as c,o as s,C as m,Z as te,e as ie,ao as se,bB as oe,c$ as re,q as l,ap as A,ay as K,a7 as ne,fe as le,v as ae,cq as de,aQ as ce}from"./index-Cvfy0zsh.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";const u={width:new m(350,624,624),height:new m(600,730,730),paddingLeft:new m(l[4],l[8],l[8]),paddingRight:new m(l[4],l[7],l[7])};function De(e){const d=J(),[,R]=Q(),{isMobileOrTabletScreen:g}=Y(),[y,k]=p.useState(!0),[j,S]=p.useState(!0),[z,C]=p.useState(!1),[T,M]=p.useState(!1),r=W.getLocalizedStrings().commonSetUp.chaseOverlay,_=r.title,q=r.description,V=()=>{window.open(r.chaseVideoUrl,"_blank")},L=[0,1,2,3],P=i=>i<L.length-1,B=(i,n)=>{R(i??""),n?k(!1):S(!1)},D=i=>{i?C(!0):M(!0)},U=i=>{i?C(!1):M(!1)};p.useEffect(()=>{y===!1&&setTimeout(()=>{k(!0)},2e3),j===!1&&setTimeout(()=>{S(!0)},2e3)},[y,j]);const F=()=>{const i=r.step1;return t.jsxs($,{children:[t.jsx(Ce,{"data-testid":c("chase-overlay-signin-link"),href:r.chaseSigninUrl,target:"_blank",rel:"noreferrer noopener",children:i.text1}),i.text2,t.jsxs(a,{children:[" ",i.text3]}),i.text4,t.jsxs(a,{children:[" ",i.text5]}),i.text6]})},X=()=>{const i=r.step2;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",t.jsx(be,{}),i.text2]}),t.jsx(ke,{}),i.text3]})},Z=()=>{const i=r.step3,n=e.connectedAccountProvider==="stripe"?i.payeeIdStripe:i.payeeIdUnit;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(Te,{children:[t.jsxs(f,{onClick:()=>B(n,!0),onMouseOver:()=>D(!0),onMouseLeave:()=>U(!0),"data-testid":c("copy-payee-id",n),children:[t.jsx(v,{}),i.payeeIdTitle,t.jsx(b,{children:n}),y?t.jsxs(h,{children:[t.jsx(I,{showCopyText:z&&!g,windowSize:d,children:t.jsx(O,{})}),t.jsx(w,{shouldDisplay:z&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(E,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{onClick:()=>B(i.payeeName,!1),onMouseOver:()=>D(!1),onMouseLeave:()=>U(!1),"data-testid":c("copy-payee-name",i.payeeName),children:[t.jsx(v,{}),i.payeeNameTitle,t.jsx(b,{children:i.payeeName}),j?t.jsxs(h,{children:[t.jsx(I,{showCopyText:T&&!g,windowSize:d,children:t.jsx(O,{})}),t.jsx(w,{shouldDisplay:T&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(E,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{children:[t.jsx(h,{children:t.jsx(v,{})}),t.jsxs(Me,{children:[i.amountLimitTitle,i.text4,t.jsx(b,{children:i.amountLimit}),i.text5]})]})]})]})},G=()=>{const i=r.step4;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(a,{children:[" ",i.text4]})]})},H=i=>{switch(i){case 0:return t.jsx(F,{});case 1:return t.jsx(X,{});case 2:return t.jsx(Z,{});default:return t.jsx(G,{})}};return t.jsx(pe,{windowSize:d,role:"presentation",style:{background:x.overlayDark,...e.style},children:t.jsx(ee,{onClickAway:()=>e.action.onBackClick?.(),children:t.jsxs(he,{windowSize:d,isEditPopup:!1,children:[t.jsxs(Le,{children:[t.jsx(xe,{children:_}),t.jsx(ge,{children:q}),t.jsx(ye,{children:r.stepsTitle}),t.jsx(ue,{windowSize:d,children:L.map((i,n)=>t.jsxs(me,{children:[t.jsx(fe,{children:P(n)?n+1:t.jsx(Se,{})}),t.jsx(ve,{children:H(n)}),P(n)&&t.jsx(je,{})]},`step_${n}`))})]}),t.jsx($e,{}),t.jsxs(we,{children:[t.jsx(N,{variant:"secondary",label:r.primaryButtonText,onClick:V,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-watch-video-button")}),t.jsx(ze,{}),t.jsx(N,{variant:e.proceedButtonVariant??"primary",label:r.secondaryButtonText,onClick:e.action.onBackClick,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-proceed-button")})]})]})})})}const pe=o.div`
1
+ import{X as J,fc as Q,fd as Y,M as W,j as t,g as x,p as ee,K as N,_ as c,o as s,C as m,Z as te,e as ie,ao as se,bB as oe,c$ as re,q as l,ap as A,ay as K,a7 as ne,fe as le,v as ae,cq as de,aQ as ce}from"./index-DR9vSgqx.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";const u={width:new m(350,624,624),height:new m(600,730,730),paddingLeft:new m(l[4],l[8],l[8]),paddingRight:new m(l[4],l[7],l[7])};function De(e){const d=J(),[,R]=Q(),{isMobileOrTabletScreen:g}=Y(),[y,k]=p.useState(!0),[j,S]=p.useState(!0),[z,C]=p.useState(!1),[T,M]=p.useState(!1),r=W.getLocalizedStrings().commonSetUp.chaseOverlay,_=r.title,q=r.description,V=()=>{window.open(r.chaseVideoUrl,"_blank")},L=[0,1,2,3],P=i=>i<L.length-1,B=(i,n)=>{R(i??""),n?k(!1):S(!1)},D=i=>{i?C(!0):M(!0)},U=i=>{i?C(!1):M(!1)};p.useEffect(()=>{y===!1&&setTimeout(()=>{k(!0)},2e3),j===!1&&setTimeout(()=>{S(!0)},2e3)},[y,j]);const F=()=>{const i=r.step1;return t.jsxs($,{children:[t.jsx(Ce,{"data-testid":c("chase-overlay-signin-link"),href:r.chaseSigninUrl,target:"_blank",rel:"noreferrer noopener",children:i.text1}),i.text2,t.jsxs(a,{children:[" ",i.text3]}),i.text4,t.jsxs(a,{children:[" ",i.text5]}),i.text6]})},X=()=>{const i=r.step2;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",t.jsx(be,{}),i.text2]}),t.jsx(ke,{}),i.text3]})},Z=()=>{const i=r.step3,n=e.connectedAccountProvider==="stripe"?i.payeeIdStripe:i.payeeIdUnit;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(Te,{children:[t.jsxs(f,{onClick:()=>B(n,!0),onMouseOver:()=>D(!0),onMouseLeave:()=>U(!0),"data-testid":c("copy-payee-id",n),children:[t.jsx(v,{}),i.payeeIdTitle,t.jsx(b,{children:n}),y?t.jsxs(h,{children:[t.jsx(I,{showCopyText:z&&!g,windowSize:d,children:t.jsx(O,{})}),t.jsx(w,{shouldDisplay:z&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(E,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{onClick:()=>B(i.payeeName,!1),onMouseOver:()=>D(!1),onMouseLeave:()=>U(!1),"data-testid":c("copy-payee-name",i.payeeName),children:[t.jsx(v,{}),i.payeeNameTitle,t.jsx(b,{children:i.payeeName}),j?t.jsxs(h,{children:[t.jsx(I,{showCopyText:T&&!g,windowSize:d,children:t.jsx(O,{})}),t.jsx(w,{shouldDisplay:T&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(E,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{children:[t.jsx(h,{children:t.jsx(v,{})}),t.jsxs(Me,{children:[i.amountLimitTitle,i.text4,t.jsx(b,{children:i.amountLimit}),i.text5]})]})]})]})},G=()=>{const i=r.step4;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(a,{children:[" ",i.text4]})]})},H=i=>{switch(i){case 0:return t.jsx(F,{});case 1:return t.jsx(X,{});case 2:return t.jsx(Z,{});default:return t.jsx(G,{})}};return t.jsx(pe,{windowSize:d,role:"presentation",style:{background:x.overlayDark,...e.style},children:t.jsx(ee,{onClickAway:()=>e.action.onBackClick?.(),children:t.jsxs(he,{windowSize:d,isEditPopup:!1,children:[t.jsxs(Le,{children:[t.jsx(xe,{children:_}),t.jsx(ge,{children:q}),t.jsx(ye,{children:r.stepsTitle}),t.jsx(ue,{windowSize:d,children:L.map((i,n)=>t.jsxs(me,{children:[t.jsx(fe,{children:P(n)?n+1:t.jsx(Se,{})}),t.jsx(ve,{children:H(n)}),P(n)&&t.jsx(je,{})]},`step_${n}`))})]}),t.jsx($e,{}),t.jsxs(we,{children:[t.jsx(N,{variant:"secondary",label:r.primaryButtonText,onClick:V,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-watch-video-button")}),t.jsx(ze,{}),t.jsx(N,{variant:e.proceedButtonVariant??"primary",label:r.secondaryButtonText,onClick:e.action.onBackClick,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-proceed-button")})]})]})})})}const pe=o.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{X as Q,j as t,_ as $,gZ as pe,M as ee,a0 as M,K as G,o,a4 as he,C as l,a3 as oe,k as ue,ao as me,c0 as te,v as ge,e as F,a2 as xe,a as ke,c3 as fe,g as w,F as De,fD as $e,c6 as we,eN as J,cd as W,q as s,cW as be,bH as ye,bm as je,cz as Pe,f7 as Se,m as q,f9 as Le}from"./index-Cvfy0zsh.js";import{b as f,n as a}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",E=e=>{const p=[];return e.checkFront!=null&&p.push(e.checkFront.fileId),e.checkBack!=null&&p.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(x=>({label:x.accountName,value:x.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:p,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,ze=e=>`${e}_form`,u={largeLabelWidth:new l(160,160,160),rowContentPaddingLeft:new l(s[3],s[4]),checkPicRowContentPaddingXAxis:new l(s[3],s[4]),labeleMarginLeft:new l(s[0],s[0]),labeleMarginBottom:new l(s[2],s[0]),labelMarginRight:new l(s[3],s[3]),labeledFieldPaddingLeft:new l(s[3],s[0]),labeledFieldPaddingRight:new l(s[3],s[2]),labeledFieldPaddingTop:new l(s[3],s[3]),labeledFieldPaddingBottom:new l(s[3],s[2]),infoLabelPaddingRight:new l(s[0],s[3]),infoLabelMarginTop:new l(s[1],s[0])},{spendManagement:Be,common:V}=ee.getLocalizedStrings(),c=Be.zeniAccounts.zeniAccountList,Ae=V.documents;function Ie({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=Q(),n=e.fetchState,L=xe(n),[v,K]=f.useState(!1),[se,z]=f.useState(!1),B=u.largeLabelWidth.value(r),k=ke({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=k.formState,Z=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(d)},ce=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);Z(h)}};f.useEffect(()=>{const i=k.watch((d,{name:h})=>{h!=null&&d!=null&&fe(()=>ce(h,d))});return()=>{i.unsubscribe()}}),f.useEffect(()=>{L==="Completed"&&n==="Not-Started"&&k.reset(E(e))},[L,n,k,e]),f.useEffect(()=>{e.error!=null?z(!0):z(!1)},[e.error]);const le=k.handleSubmit(()=>{if(re){p.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=k.getValues();Z(i),T?.()}}),ne=(i,d)=>{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(Ve,{color:Se(A),isSelectedValue:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?d===!0?t.jsx(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(X,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(X,{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(Ke,{children:[t.jsx(Ge,{}),t.jsxs(Je,{children:[t.jsx(We,{children:e.error?.title}),t.jsx(Xe,{children:e.error?.message})]})]}),t.jsx(Ze,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),z(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(Ye,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...k,children:t.jsx("form",{id:ze(ve),onSubmit:le,children:t.jsxs(He,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:B},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(we,{label:{label:c.checkDepositDrawer.sourceLabel,width:B},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(_e,{label:{label:c.checkDepositDrawer.depositToLabel,width:B,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,d)=>ne(i,d),valueToSubLabels:(i,d)=>de(i,d),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(Ue,{size:r,children:[t.jsxs(Qe,{size:r,children:[t.jsx(Ee,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(Y,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(J,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:W,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>K(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Y,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(J,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:W,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>K(i),onEditFileName:S,openPopup:b,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{X as Q,j as t,_ as $,gZ as pe,M as ee,a0 as M,K as G,o,a4 as he,C as l,a3 as oe,k as ue,ao as me,c0 as te,v as ge,e as F,a2 as xe,a as ke,c3 as fe,g as w,F as De,fD as $e,c6 as we,eN as J,cd as W,q as s,cW as be,bH as ye,bm as je,cz as Pe,f7 as Se,m as q,f9 as Le}from"./index-DR9vSgqx.js";import{b as f,n as a}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",E=e=>{const p=[];return e.checkFront!=null&&p.push(e.checkFront.fileId),e.checkBack!=null&&p.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(x=>({label:x.accountName,value:x.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:p,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,ze=e=>`${e}_form`,u={largeLabelWidth:new l(160,160,160),rowContentPaddingLeft:new l(s[3],s[4]),checkPicRowContentPaddingXAxis:new l(s[3],s[4]),labeleMarginLeft:new l(s[0],s[0]),labeleMarginBottom:new l(s[2],s[0]),labelMarginRight:new l(s[3],s[3]),labeledFieldPaddingLeft:new l(s[3],s[0]),labeledFieldPaddingRight:new l(s[3],s[2]),labeledFieldPaddingTop:new l(s[3],s[3]),labeledFieldPaddingBottom:new l(s[3],s[2]),infoLabelPaddingRight:new l(s[0],s[3]),infoLabelMarginTop:new l(s[1],s[0])},{spendManagement:Be,common:V}=ee.getLocalizedStrings(),c=Be.zeniAccounts.zeniAccountList,Ae=V.documents;function Ie({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=Q(),n=e.fetchState,L=xe(n),[v,K]=f.useState(!1),[se,z]=f.useState(!1),B=u.largeLabelWidth.value(r),k=ke({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=k.formState,Z=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(d)},ce=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);Z(h)}};f.useEffect(()=>{const i=k.watch((d,{name:h})=>{h!=null&&d!=null&&fe(()=>ce(h,d))});return()=>{i.unsubscribe()}}),f.useEffect(()=>{L==="Completed"&&n==="Not-Started"&&k.reset(E(e))},[L,n,k,e]),f.useEffect(()=>{e.error!=null?z(!0):z(!1)},[e.error]);const le=k.handleSubmit(()=>{if(re){p.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=k.getValues();Z(i),T?.()}}),ne=(i,d)=>{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(Ve,{color:Se(A),isSelectedValue:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?d===!0?t.jsx(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(X,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(X,{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(Ke,{children:[t.jsx(Ge,{}),t.jsxs(Je,{children:[t.jsx(We,{children:e.error?.title}),t.jsx(Xe,{children:e.error?.message})]})]}),t.jsx(Ze,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),z(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(Ye,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...k,children:t.jsx("form",{id:ze(ve),onSubmit:le,children:t.jsxs(He,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:B},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(we,{label:{label:c.checkDepositDrawer.sourceLabel,width:B},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(_e,{label:{label:c.checkDepositDrawer.depositToLabel,width:B,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,d)=>ne(i,d),valueToSubLabels:(i,d)=>de(i,d),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(Ue,{size:r,children:[t.jsxs(Qe,{size:r,children:[t.jsx(Ee,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(Y,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(J,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:W,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>K(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Y,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(J,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:W,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>K(i),onEditFileName:S,openPopup:b,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{j as t,aj as po,_ as m,bd as fe,a0 as q,dg as go,o as c,g as ee,a2 as hi,X as M,H as ui,z as fo,dh as pi,di as xo,l as A,M as W,q as w,dj as Vi,dk as Ot,a8 as _,dl as Mt,by as Nt,dm as It,C as D,cs as Pt,w as Di,T as Je,dn as Ne,bf as K,c as mo,u as ce,af as Ri,dp as Ei,a9 as V,n as Ae,dq as wo,dr as se,bx as zt,bB as gi,v as yo,m as ye,ds as Xe,dt as Be,du as tt,e as C,bH as ne,dv as bo,f as Ft,dw as Re,dx as fi,dy as xi,dz as ko,dA as jo,ao as Gi,al as So,bY as Tt,bX as Vt,c$ as Co,am as Hi,b$ as Ki,bl as vo,dB as $o,dC as mi,dD as wi,dE as _o,dF as Lo,bs as Ao,b4 as Bo,dG as Wo}from"./index-Cvfy0zsh.js";import{n as a,b as I,f as Oo,j as P}from"./vendor-CnQcJ2Lu.js";import{L as it,N as Mo,D as No,B as be,u as $}from"./AccountRow-CAXWtAin-BGG9HEwp.js";function Z(e,i){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return q("0,0",e?.balance)}function J(e){return q("0,0",e?.forecast)}function Yi(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.totalPercentValue)}return q("0,0",e?.totalBalance)}function bt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.forecastPercentValue)}return q("0,0",e?.totalForecast)}function de(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const i=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function he(e){if(e!=null&&e.forecast!=null){const i=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return q("0,0",Object.assign({},e.forecast,{amount:i}))}else return q("0,0",null)}function Ui(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const i=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function qi(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const i=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return q("0,0",Object.assign({},e.totalForecast,{amount:i}))}else return q("0,0",null)}const Ie=(e,i,n)=>{const{startDate:o,balanceType:r}=i,{dateFormat:{visual:l}}=W.getLocalizedStrings();switch(n){case"month":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.MMMYYYYFormat,e)}`:ft(r,n);case"quarter":return r==="default"||r==="default_with_percent"?`${W.getLocalizedStrings().reports.quarterPrefix}${A.formatZeniDate(o,l.QYYYYformat,e)}`:ft(r,n);case"year":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.YYYYformat,e)}`:ft(r,n);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function ft(e,i){return W.getLocalizedStrings().downloadReport.additionalColumns.labels[i][e]}const eg=(e,i,n)=>{const o=i.length==0?e:`${e}_${i.join("_")}`;return n!=null&&n.trim().length>0?`${o}_${n}`:`${o}_${go(10)}`},Io=a.div`
1
+ import{j as t,aj as po,_ as m,bd as fe,a0 as q,dg as go,o as c,g as ee,a2 as hi,X as M,H as ui,z as fo,dh as pi,di as xo,l as A,M as W,q as w,dj as Vi,dk as Ot,a8 as _,dl as Mt,by as Nt,dm as It,C as D,cs as Pt,w as Di,T as Je,dn as Ne,bf as K,c as mo,u as ce,af as Ri,dp as Ei,a9 as V,n as Ae,dq as wo,dr as se,bx as zt,bB as gi,v as yo,m as ye,ds as Xe,dt as Be,du as tt,e as C,bH as ne,dv as bo,f as Ft,dw as Re,dx as fi,dy as xi,dz as ko,dA as jo,ao as Gi,al as So,bY as Tt,bX as Vt,c$ as Co,am as Hi,b$ as Ki,bl as vo,dB as $o,dC as mi,dD as wi,dE as _o,dF as Lo,bs as Ao,b4 as Bo,dG as Wo}from"./index-DR9vSgqx.js";import{n as a,b as I,f as Oo,j as P}from"./vendor-CnQcJ2Lu.js";import{L as it,N as Mo,D as No,B as be,u as $}from"./AccountRow-TlJ0aU9H-BM9KA8Rp.js";function Z(e,i){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return q("0,0",e?.balance)}function J(e){return q("0,0",e?.forecast)}function Yi(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.totalPercentValue)}return q("0,0",e?.totalBalance)}function bt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.forecastPercentValue)}return q("0,0",e?.totalForecast)}function de(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const i=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function he(e){if(e!=null&&e.forecast!=null){const i=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return q("0,0",Object.assign({},e.forecast,{amount:i}))}else return q("0,0",null)}function Ui(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const i=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function qi(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const i=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return q("0,0",Object.assign({},e.totalForecast,{amount:i}))}else return q("0,0",null)}const Ie=(e,i,n)=>{const{startDate:o,balanceType:r}=i,{dateFormat:{visual:l}}=W.getLocalizedStrings();switch(n){case"month":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.MMMYYYYFormat,e)}`:ft(r,n);case"quarter":return r==="default"||r==="default_with_percent"?`${W.getLocalizedStrings().reports.quarterPrefix}${A.formatZeniDate(o,l.QYYYYformat,e)}`:ft(r,n);case"year":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.YYYYformat,e)}`:ft(r,n);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function ft(e,i){return W.getLocalizedStrings().downloadReport.additionalColumns.labels[i][e]}const eg=(e,i,n)=>{const o=i.length==0?e:`${e}_${i.join("_")}`;return n!=null&&n.trim().length>0?`${o}_${n}`:`${o}_${go(10)}`},Io=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  width: 100%;
@@ -0,0 +1,260 @@
1
+ import{X as Oe,u as We,cg as wl,M as ae,C as L,a2 as jl,j as l,bs as Re,eZ as qe,bP as _e,ft as Ee,o as a,fC as $l,cf as Ue,c6 as ee,c8 as ce,cc as He,l as Se,cy as vl,cw as Sl,ca as Ge,c9 as Ie,fD as Ve,fE as Il,fb as Cl,fa as ke,cd as Ce,ce as Ll,g as Pe,e_ as Ye,Q as xe,b4 as Qe,eY as Ze,e as Fe,fs as Ke,f as ye,p as Ol,b1 as _l,q as D,dg as El,ac as Pl,fF as Fl,m as Nl,fG as Dl,b2 as ge,ak as Vl,h as Je,v as kl,cq as Tl,b0 as zl,a$ as Al}from"./index-DR9vSgqx.js";import{b as d,n as t}from"./vendor-CnQcJ2Lu.js";import{W as Le}from"./LabeledAddressValueField-DZCn1w6m-DlnblRke.js";import{D as Bl}from"./LabeledCreatableSingleSelectField-yLzlQU6_-DKdnF88p.js";import{Y as Te}from"./LabeledDocumentField-gxNaFx2j-qq-lZmSF.js";const Ml=e=>d.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.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"}),d.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"}),d.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"}),d.createElement("g",{clipPath:"url(#clip0_1350_23850)"},d.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip1_1350_23850)"},d.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip2_1350_23850)"},d.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip3_1350_23850)"},d.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),d.createElement("defs",null,d.createElement("clipPath",{id:"clip0_1350_23850"},d.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),d.createElement("clipPath",{id:"clip1_1350_23850"},d.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),d.createElement("clipPath",{id:"clip2_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),d.createElement("clipPath",{id:"clip3_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:Wl}=ae.getLocalizedStrings(),{businessVerification:ze}=Wl,ue={iconSize:new L(D[6],D[10]),gap:new L(D[2],D[3])},Xe={title:new xe("smallSemiBold","standardSemiBold"),description:new xe("smallRegular","standardRegular")},el=()=>{const[e]=Pl("Secure"),c=Oe();return l.jsxs(Rl,{windowSize:c,children:[e!=null?l.jsx(ql,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Ul,{windowSize:c}),l.jsxs(Hl,{children:[l.jsx(Gl,{windowSize:c,children:ze.securityMessageTitle}),l.jsx(Yl,{windowSize:c,children:ze.securityMessageDescription})]})]})},Rl=t.div`
2
+ display: flex;
3
+ align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
4
+ gap: ${e=>ue.gap.valuePx(e.windowSize)};
5
+ background-color: ${e=>e.theme.colors.background};
6
+ padding: ${e=>e.windowSize==="small"?a.sp3:`${a.sp3} ${a.sp4}`};
7
+ `,ql=t(Vl)`
8
+ width: ${e=>ue.iconSize.valuePx(e.windowSize)};
9
+ height: ${e=>ue.iconSize.valuePx(e.windowSize)};
10
+ display: block;
11
+ `,Ul=t(Ml)`
12
+ width: ${e=>ue.iconSize.valuePx(e.windowSize)};
13
+ height: ${e=>ue.iconSize.valuePx(e.windowSize)};
14
+ color: ${e=>e.theme.colors.success};
15
+ `,Hl=t.div`
16
+ display: flex;
17
+ flex-direction: column;
18
+ justify-content: center;
19
+ align-items: flex-start;
20
+ flex: 1;
21
+ `,Gl=t(Je)`
22
+ ${e=>`${Xe.title.style(e.windowSize)}`};
23
+ color: ${e=>e.theme.colors.primary};
24
+ margin: 0;
25
+ `,Yl=t(Je)`
26
+ ${e=>`${Xe.description.style(e.windowSize)}`};
27
+ color: ${e=>e.theme.colors.primary};
28
+ margin: 0;
29
+ `,ll=({text:e})=>l.jsx(Zl,{children:l.jsx(Ql,{children:e})}),Ql=t(Dl)`
30
+ display: flex;
31
+ align-items: center;
32
+ color: ${e=>e.theme.colors.hero};
33
+ padding-right: ${a.sp2};
34
+ `,Zl=t.div`
35
+ display: flex;
36
+ align-items: flex-end;
37
+ margin-left: ${a.sp2};
38
+ margin-top: ${a.sp1};
39
+ `,le={labelWidth:new L(115,145,155),mediumLabelWidth:new L(140,160,170),largeLabelWidth:new L(150,210,244),largeLabelDocumentWidth:new L(150,210,252),paddingBottom:new L(D[3],D[2]),containerRowGap:new L(12,D[3])},Kl={title:new xe("standardMedium","largeMedium")},Jl=ae.getLocalizedStrings(),{dateFormat:{visual:Xl},commonSetUp:ea,companyPassport:la,common:{documents:Ae,optional:aa}}=Jl,i=ea.businessVerification,ta=i.sourceOfFundOptions,ia=d.forwardRef(({fileProps:e,productType:c,allIndustries:m,companyDetails:h,connectedAccountProvider:F,businessVerificationProps:g,isDisabled:n,style:G,sectionId:y,showInfoTooltip:te=!0,isCompleted:ie=!1,showCompletedIcon:oe=!1,showTreasuryFields:Y=!1,sectionHeader:Q,optionalFields:s=[],onCompanyAddressClick:Z,onRegisteredAddressClick:V},re)=>{const f=Oe(),_=le.labelWidth.value(f),E=le.mediumLabelWidth.value(f),b=le.largeLabelWidth.value(f),q=le.largeLabelDocumentWidth.value(f),w=i.productType[c],K=h?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),J=h?.companyFiles.find(u=>u.documentType==="tax_ein"),p=h?.companyDescription,$=h?.companyLegalName,A=h?.website,se=h?.typeOfIncorporation,U=h?.incDate,X=h?.companyIndustry,O=h?.phone,me=h?.taxIdOrEIN,B=h?.primaryContactLocalData,ne=h?.deleteFileStatusById??{},H=h?.updateFileStatusById??{},be=h?.addressStatus?.addressToCreate,we=h?.registeredAddressStatus?.addressToCreate,[k,M]=d.useState(!1),[x,W]=d.useState(!1),R=u=>m.find(je=>je.code===u)?.name??u,P=u=>ta[u]??u;return l.jsxs(oa,{style:G,ref:re,windowSize:f,children:[l.jsx(ra,{children:l.jsxs(ha,{children:[l.jsxs(na,{children:[oe===!0?l.jsx(da,{children:ie?l.jsx(ca,{}):l.jsx(pa,{})}):null,l.jsx(sa,{windowSize:f,children:Q??i.confirmCompanyDetails})]}),te?l.jsx(ua,{children:l.jsx(Re,{variant:"small-description",display:"flex",maxWidth:"280px",data:i.confirmCompanyDetailsTooltip,placement:f==="small"||c==="onboarding"?"bottom":"right",children:l.jsx(ma,{})})}):null,c==="onboarding"&&Q!=null?l.jsx(ll,{text:aa}):null,g?.companyVerificationStatus!=null?l.jsx(ya,{tagTitle:g.companyVerificationStatus.name,textColor:qe(g.companyVerificationStatus.code),showLoader:g?.isRefreshingViewInBackground}):null]})}),l.jsxs(fa,{children:[l.jsx(el,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyLegalNameLabel,width:b},text:{type:"text",name:v(y,"companyLegalName"),placeholder:i.companyLegalNamePlaceholder,defaultValue:$,options:{required:n==null&&s.includes("companyLegalName")===!1}},additionalInfoLabel:i.companyLegalNameError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyDescriptionLabel,width:E},text:{type:"text",name:v(y,"companyDescription"),placeholder:i.addProductPlaceholder,defaultValue:p,options:{required:n==null&&s.includes("companyDescription")===!1}},additionalInfoLabel:i.companyDescriptionError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Le,{isDisabled:n,label:{label:i.companyAddressLabel,width:E},addressValueField:{name:v(y,"companyAddress"),placeholder:i.companyAddressPlaceholder,defaultValue:be,registerOptions:{validate:u=>s.includes("companyAddress")===!1?!(n==null&&u==null):!0},onClick:()=>{Z?.("company_address")}},additionalInfoLabel:i.companyAddressError.replace("_product_type_",w),showAdditionalInfoLabel:!1}),l.jsx(S,{}),l.jsx(Le,{isDisabled:n,label:{label:i.registeredAddressLabel,width:E},addressValueField:{name:v(y,"registeredAddress"),placeholder:i.registeredAddressPlaceholder,defaultValue:we,registerOptions:{validate:u=>s.includes("registeredAddress")===!1?!(n==null&&u==null):!0},onClick:()=>{V?.("company_registered_address")}},additionalInfoLabel:i.registeredAddressError.replace("_product_type_",w),showAdditionalInfoLabel:!1}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyWebsiteLabel,width:_},text:{type:"url",name:v(y,"companyWebsite"),placeholder:i.companyWebsitePlaceholder,defaultValue:A?.toString()??"",options:{required:n==null&&s.includes("companyWebsite")===!1}},additionalInfoLabel:i.companyWebsiteError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Ie,{label:{label:i.companyIndustryLabel,width:_},singleSelectField:{singleSelect:{name:v(y,"companyIndustry"),placeholder:i.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:R,isDisabled:n,showTickMark:!1},defaultValue:{selectedOption:X,allOptions:m?.map(u=>u.code)??[]},registerOptions:{required:n==null&&s.includes("companyIndustry")===!1,validate:u=>s.includes("companyIndustry")===!1?!(n==null&&!u?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:i.companyIndustryError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Bl,{label:{label:i.companyTypeOfIncorporationLabel,width:b},isDisabled:n,creatableSingleSelectField:{name:v(y,"typeOfIncorporation"),placeholder:i.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:se,allOptions:la.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:n==null&&s.includes("typeOfIncorporation")===!1&&F==="unit",validate:u=>s.includes("typeOfIncorporation")===!1?!(n==null&&!u?.selectedOption):!0}},errorInfoLabel:i.companyTypeOfIncorporationError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(He,{isDisabled:n,label:{label:i.companyIncDateLabel,width:b},style:{paddingBottom:le.paddingBottom.valuePx(f)},dateField:{name:v(y,"incDate"),placeholder:i.companyIncDatePlaceholder,defaultValue:U,dateFormat:Xl.defaultInput,maxDate:Se.dateNow(),minDate:Se.zeniDate("01 Jan 1900"),autoComplete:"off",registerOptions:{required:n==null&&s.includes("incDate")===!1}},additionalInfoLabel:i.companyIncDateError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Ge,{isDisabled:n,label:{label:i.companyPhoneLabel,width:_},text:{name:v(y,"companyPhone"),placeholder:ce(i.companyPhoneLabel),defaultValue:O,autoComplete:"new-password",options:{required:n==null&&s.includes("companyPhone")===!1}},errorInfoLabel:i.companyPhoneError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Ue,{isDisabled:n,label:{label:i.companyPrimaryContactNameLabel,width:b},nameField:{name:v(y,"primaryContactName"),placeHolder:{firstName:i.firstNamePlaceholder,lastName:i.lastNamePlaceholder,name:i.namePlaceholder},defaultValue:{firstName:B?.firstName??"",lastName:B?.lastName??""},registerOptions:{required:n==null&&s.includes("primaryContactName")===!1,validate:u=>!!u||n!=null||s.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:i.companyPrimaryContactNameError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyPrimaryContactEmailLabel,width:b},text:{type:"email",name:v(y,"primaryContactEmail"),placeholder:i.companyPrimaryContactEmailPlaceholder,defaultValue:B?.email,options:{required:n==null&&s.includes("primaryContactEmail")===!1}},additionalInfoLabel:i.companyPrimaryContactEmailError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyTaxIdLabel,width:_},text:{type:"text",name:v(y,"companyTaxId"),placeholder:i.companyTaxIdPlaceholder,defaultValue:me,options:{required:n==null&&s.includes("companyTaxId")===!1,pattern:Ll},autoComplete:"new-password"},additionalInfoLabel:i.companyTaxIdError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Te,{name:v(y,"certificateOfIncorporation"),isDisabled:n,sizeLimit:Ce,deleteFileStatusById:ne,updateFileStatusById:H,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:i.certificateOfIncorporation,width:q},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:K,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("certificateOfIncorporation")===!1&&F==="unit"},additionalInfoLabel:i.certOfIncopDocumentError.replace("_product_type_",w),hasError:k,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:u=>M(u)}),k||!(n!=null||K!=null)?l.jsx(Be,{windowSize:f,isError:k,children:Ae.formatDocumentText10MB}):null,l.jsx(S,{}),l.jsx(Te,{name:v(y,"ein"),isDisabled:n,sizeLimit:Ce,deleteFileStatusById:ne,updateFileStatusById:H,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:i.einDocument,width:q},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:J,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("ein")===!1},additionalInfoLabel:i.einDocumentError.replace("_product_type_",w),hasError:x,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:u=>W(u)}),x||!(n!=null||J!=null)?l.jsx(Be,{windowSize:f,isError:x,children:Ae.formatDocumentText10MB}):null,l.jsx(S,{}),Y===!0?l.jsxs(l.Fragment,{children:[l.jsx(Ie,{label:{label:i.sourceOfFundsLabel,width:_},singleSelectField:{singleSelect:{name:v(y,"sourceOfFunds"),placeholder:i.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:P,isDisabled:n,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:h?.sourceOfFunds,allOptions:Object.keys(i.sourceOfFundOptions)},registerOptions:{required:n==null&&s.includes("sourceOfFunds")===!1,validate:u=>s.includes("sourceOfFunds")===!1?!(n==null&&!u?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:i.sourceOfFundsError.replace("_product_type_",w)}),l.jsx(S,{})]}):null]})]})});ia.displayName="Company Details Section";const v=(e,c)=>`${e}.${c}`,oa=t.div`
40
+ display: flex;
41
+ flex-direction: column;
42
+ row-gap: ${e=>le.containerRowGap.valuePx(e.windowSize)};
43
+ `,ra=t.div`
44
+ display: flex;
45
+ justify-content: space-between;
46
+ `,Be=t(Nl)`
47
+ padding: ${a.sp1} ${a.sp4};
48
+ background: ${e=>e.theme.colors.grey4};
49
+ border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
50
+ text-align: ${e=>e.windowSize==="small"?"initial":"right"};
51
+ color: ${e=>e.isError?Pe.important:e.theme.colors.grey1};
52
+ `,sa=t.div`
53
+ ${e=>`${Kl.title.style(e.windowSize)}`};
54
+ display: flex;
55
+ align-items: center;
56
+ color: ${e=>e.theme.colors.primary};
57
+ padding-right: ${a.sp2};
58
+ `,na=t.div`
59
+ display: flex;
60
+ align-items: center;
61
+ `,da=t.div`
62
+ margin-right: ${a.sp2};
63
+ `,ca=t(Ye)`
64
+ width: ${a.sp3};
65
+ height: ${a.sp3};
66
+ color: ${Pe.success};
67
+ `,pa=t.div`
68
+ height: 14px;
69
+ width: 14px;
70
+ border: 1px solid ${e=>e.theme.colors.primary};
71
+ border-radius: 50%;
72
+ `,ua=t.div`
73
+ display: flex;
74
+ color: ${e=>e.theme.colors.hero};
75
+ &:hover {
76
+ color: ${e=>e.theme.colors.primary};
77
+ }
78
+ `,ma=t(Qe)`
79
+ width: ${a.sp3};
80
+ height: ${a.sp3};
81
+ `,ha=t.div`
82
+ display: flex;
83
+ align-items: center;
84
+ `,fa=t.div`
85
+ display: flex;
86
+ flex-direction: column;
87
+ background-color: ${e=>e.theme.colors.grey5};
88
+ border: 1px solid ${e=>e.theme.colors.grey3};
89
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
90
+ border-radius: ${a.sp2};
91
+ `,S=t.div`
92
+ display: flex;
93
+ flex: 1;
94
+ background-color: ${e=>e.theme.colors.grey3};
95
+ min-height: 1px;
96
+ max-height: 1px;
97
+ `,ya=t(Ze)`
98
+ width: max-content;
99
+ margin-left: ${a.sp3};
100
+ `,xa=t.div`
101
+ height: ${a.sp4};
102
+ display: flex;
103
+ align-items: center;
104
+ justify-content: flex-end;
105
+ `,ga=(e,c)=>e.map(m=>({...m,value:m.userId,label:m.firstName!=""||m.lastName!=""?`${m.firstName} ${m.lastName}`:m.email})),ba=(e,c)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function wa({allUsers:e,onSelectedUserChanged:c,selectedUser:m,disable:h=!1,pickerStyles:{optionBackgroundColor:F,selectedOptionBackgroundColor:g,optionTextStyle:n,titleTextStyle:G,backgroundColor:y,titleTextAlignment:te,selectedOptionColor:ie,customStyleConfig:oe}={},customization:{placeholderLabel:Y}={},showAddUser:Q=!0}){const s=We(),[Z,V]=d.useState(!1),re=ga(e).sort((p,$)=>p.label.localeCompare($.label)),f=m!=null?ba(m):void 0,_=F??s.colors.grey5,E=y??s.colors.grey5,b=g??s.colors.grey3,q=n??ye.smallRegular.cssObject,w=G??q,K={control:(p,$)=>({...p,border:0,height:"100%",backgroundColor:E,fill:$.selectProps.menuIsOpen===!0?s.colors.primary:s.colors.grey1,boxShadow:E,">div:last-child":{color:Z?s.colors.primary:s.colors.grey1},":active":{backgroundColor:E},":hover":{fill:s.colors.primary,">div:last-child":{color:s.colors.primary}},minHeight:"auto",cursor:"pointer",flexDirection:"column",">div>div>svg":{color:s.colors.grey1,">path":{color:s.colors.grey5,fill:"currentcolor"}}}),container:p=>({...p,backgroundColor:E,height:"100%"}),singleValue:p=>({...p,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:a.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:s.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...ye.standardRegular.cssObject}}),valueContainer:p=>({...p,maxWidth:"100%",cursor:"pointer",height:"100%",...w,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:te??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(p,$)=>({...p,backgroundColor:_,borderRadius:D[1],boxShadow:`${a.sp0} 2px ${a.sp2} ${s.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${a.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:a.sp1,padding:`${a.sp1} ${a.sp0}`,">div":{width:"-webkit-fill-available"}},...oe?.menu?.(p,$)}),menuList:p=>({...p,borderRadius:D[1]}),placeholder:(p,$)=>({...p,margin:0,width:"100%",color:$.isFocused?s.colors.primary:"currentColor",paddingRight:a.sp2,...ye.standardRegular.cssObject,">div>div>svg>circle":{fill:s.colors.grey1}}),noOptionsMessage:p=>({...p,...ye.smallRegular.cssObject,padding:`10px ${a.sp3} 9px ${a.sp3}`,color:s.colors.hero}),option:(p,{isDisabled:$,isSelected:A,isFocused:se})=>({...p,...q,color:A?ie??s.colors.champion:s.colors.hero,backgroundColor:A?b:se?s.colors.background:_,cursor:$?"not-allowed":A?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:s.colors.background,color:s.colors.primary},"& label":{paddingRight:"10px",cursor:$?"not-allowed":A?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})},J=({children:p,...$})=>l.jsxs(ge.ValueContainer,{...$,children:[p,Q===!0?l.jsxs(ka,{hasSelectedUser:!!m,onClick:()=>{c(void 0),V(!1)},children:[l.jsx(Ca,{}),l.jsx("div",{children:Y??"Add User"})]}):null]});return l.jsx(Ol,{onClickAway:()=>{V(!1)},children:l.jsx(xa,{children:l.jsx(_l,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:Z,menuShouldScrollIntoView:!1,defaultValue:f,value:f,noOptionsMessage:()=>ae.getLocalizedStrings().cockpit.management.noPerson,onInputChange:p=>{p!==""&&V(!0)},onMenuOpen:()=>{V(!0)},placeholder:l.jsx($a,{children:l.jsx("div",{children:Y??"Select..."})}),components:{Option:Ea,DropdownIndicator:Ta,IndicatorSeparator:za,SingleValue:Da,ValueContainer:Va,MenuList:J},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:K,options:re,isDisabled:h,onChange:p=>{c(p),V(!1)},isClearable:!1,isSearchable:!1},El())})})}const ja=t.div``,$a=t.div`
106
+ display: flex;
107
+ align-items: center;
108
+ color: ${e=>e.theme.colors.grey1};
109
+ fill: ${e=>e.theme.colors.grey1};
110
+ `,va=t.div`
111
+ display: flex;
112
+ align-items: center;
113
+ margin-right: ${a.sp2};
114
+ `,Sa=t(Ke)`
115
+ width: ${a.sp4};
116
+ height: ${a.sp4};
117
+ color: ${e=>e.theme.colors.hero};
118
+ `,Ia=t.div`
119
+ display: flex;
120
+ flex-direction: row;
121
+ align-items: center;
122
+ justify-content: space-between;
123
+ `,Ca=t(Tl)`
124
+ height: ${a.sp4};
125
+ width: ${a.sp4};
126
+ margin-right: ${a.sp2};
127
+ color: inherit;
128
+ `,La=t(zl)`
129
+ height: 12px;
130
+ width: 12px;
131
+ color: ${e=>e.theme.colors.hero};
132
+ `,Oa=t.div``,_a=t(Al)`
133
+ width: 12px;
134
+ height: 12px;
135
+ color: ${e=>e.theme.colors.primary};
136
+ `,al=t.img`
137
+ height: ${a.sp4};
138
+ width: ${a.sp4};
139
+ border-radius: 50%;
140
+ justify-content: center;
141
+ `,Ea=e=>{const{data:c,options:m,isSelected:h}=e,F=m.findIndex(g=>g.value===c.value);return l.jsx(ja,{children:l.jsx(ge.Option,{...e,children:l.jsxs(Ia,{children:[l.jsxs(Pa,{children:[l.jsx(Fa,{children:c?.photo!==void 0?l.jsx(al,{src:c?.photo.href,alt:ae.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=_e},loading:"lazy"}):l.jsx(Ee,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${a.sp4}`,index:F})}),l.jsx("label",{children:e.label})]}),!!h&&l.jsx(Oa,{children:l.jsx(_a,{})})]})})})},Pa=t.div`
142
+ width: 100%;
143
+ display: flex;
144
+ align-items: center;
145
+ `,Fa=t.div`
146
+ display: flex;
147
+ align-items: center;
148
+ margin-right: ${a.sp2};
149
+ `,Na=t(Fe)`
150
+ padding: ${a.sp0} ${a.sp2};
151
+ white-space: nowrap;
152
+ overflow: hidden;
153
+ text-overflow: ellipsis;
154
+ `,Da=({children:e,data:c,...m})=>{const{options:h}=m.selectProps,F=h.findIndex(g=>g.value===c.value);return l.jsx(ge.MultiValueLabel,{...m,children:l.jsxs(Aa,{children:[c?.photo!==void 0?l.jsx(al,{src:c?.photo.href,alt:ae.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=_e},loading:"lazy"}):l.jsx(Ee,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${a.sp4}`,index:F}),l.jsx(Na,{children:e})]})})},Va=({children:e,...c})=>l.jsxs(ge.ValueContainer,{...c,children:[c.selectProps.value==null?l.jsx(va,{children:l.jsx(Sa,{})}):null,e]}),ka=t(kl)`
155
+ color: ${e=>e.hasSelectedUser?e.theme.colors.hero:e.theme.colors.primary};
156
+ display: flex;
157
+ padding: ${a.sp2} 12px;
158
+ fill: ${e=>e.hasSelectedUser?e.theme.colors.hero:e.theme.colors.primary};
159
+ background: ${e=>e.hasSelectedUser?e.theme.colors.grey5:e.theme.colors.background};
160
+ cursor: ${e=>e.hasSelectedUser?"pointer":"default"};
161
+ &:hover {
162
+ color: ${e=>e.theme.colors.primary};
163
+ background: ${e=>e.theme.colors.background};
164
+ }
165
+ `,Ta=()=>l.jsx(La,{}),za=()=>null,Aa=t.div`
166
+ display: flex;
167
+ flex-direction: row;
168
+ cursor: pointer;
169
+ `,pe={width:new L(343,580,726),labelWidth:new L(115,145,155),largeLabelWidth:new L(160,240,240),veryLargeLabelWidth:new L(150,240,245),containerRowGap:new L(12,D[3])},Ba={title:new xe("standardMedium","largeMedium")};function ct({companyOfficerData:e,isDisabled:c,allOfficers:m,allNationalityCountries:h,isRefreshingViewInBackground:F,connectedAccountProvider:g,style:n,isPopupOpen:G,sectionId:y,filesEndPoint:te,authParams:ie,showInfoTooltip:oe=!0,isCompleted:Y=!1,showCompletedIcon:Q=!1,showOfficerSelect:s=!0,showVerificationTag:Z=!0,isForTreasury:V=!1,isOverlay:re=!1,productType:f,companyTitles:_,sectionHeader:E,optionalFields:b=[],onOfficerAddressClick:q,onDeleteFile:w,onEditFileName:K,updateFilesEntity:J,openPopup:p,onGetOtp:$,onVerifyOtp:A,onResendOtp:se,verifiedPhoneNumber:U,onPhoneVerified:X}){const O=Oe(),me=We(),{getValues:B,setValue:ne}=wl(),H=m.length>0,[be,we]=d.useState(!1),k=H?Object.values(e).findIndex(o=>o?.isSelectedForVerification===!0):0,M=`Officer_${k<0?1:k+1}`;d.useEffect(()=>{X!=null&&e[M]?.phone!=null&&e[M].isPhoneVerified===!0&&X(e[M]?.phone??"")},[]);const x=`${y}.${k}`,W=e[M],R=V?W?.treasuryUserVerificationStatus:W?.userVerificationStatus,P=m.find(o=>o.userId===W?.userId),u=m.sort((o,C)=>(o.firstName||o.lastName?`${o.firstName} ${o.lastName}`:o.email).localeCompare(C.firstName||C.lastName?`${C.firstName} ${C.lastName}`:C.email)),je=H?u.findIndex(o=>o.userId===W?.userId):0,tl=e[M]?.deleteFileStatusById??{},il=e[M]?.updateFileStatusById??{},Ne=B(`${x}.selectDocument.selectDocumentType`),{common:{optional:ol},commonSetUp:{businessVerification:r},dateFormat:{visual:rl},cockpit:sl}=ae.getLocalizedStrings(),T=f==="onboarding"?r.productType.business_verification:r.productType[f],de=pe.labelWidth.value(O),nl=pe.veryLargeLabelWidth.value(O),he=pe.largeLabelWidth.value(O),dl=O==="small"?r.companyRolePlaceholderSmall:r.companyRolePlaceholder,cl=O==="small"?r.protectedSsnTextSmall:r.protectedSsnText,I=R?.code==="pending_review"||R?.code==="verified"?"readonly":c,pl=I!=null||!H||R?.code==="require_info",ul=P?.firstName||P?.lastName?`${P?.firstName} ${P?.lastName}`:r.addOfficer,ml=W?.userId!=null?r.confirmIdentityDetails:r.confirmIdentityDetailsNewOfficer,hl={menu:()=>({right:"initial",left:0})},fl=o=>_.find(C=>C.code===o)?.name??o,$e=W?.otpverificationStatus?.fetchState,De=jl($e);d.useEffect(()=>{X!=null&&De==="In-Progress"&&$e==="Completed"&&X(B(`${x}.phone`))},[De,$e]);const yl=(o,C)=>{A(o,C)},xl=()=>U==null||U===""?!1:B(`${x}.phone`)===U,gl=()=>{const o=B(`${x}.phone`);return o!=null&&!Fl(o)?r.phoneErrorForOnboarding:r.phoneError.replace("_product_type_",T)};return l.jsxs(Ma,{style:n,windowSize:O,children:[l.jsxs(Wa,{windowSize:O,isOverlay:re,children:[l.jsxs(Ja,{children:[l.jsxs(qa,{children:[Q===!0?l.jsx(Ua,{children:Y?l.jsx(Ha,{}):l.jsx(Ga,{})}):null,l.jsx(Ra,{windowSize:O,children:E??ml})]}),oe?l.jsx(Ya,{children:l.jsx(Re,{variant:"small-description",maxWidth:"275px",data:r.confirmIdentityDetailsTooltip,display:"flex",placement:O==="small"||f==="onboarding"?"bottom":"right",children:l.jsx(Qa,{})})}):null,f==="onboarding"&&E!=null?l.jsx(ll,{text:ol}):null,R!=null&&Z?l.jsx(lt,{tagTitle:R?.name,textColor:qe(R.code),showLoader:F}):null]}),s?pl?H?l.jsxs(et,{children:[P?.photo!==void 0?l.jsx(Za,{src:P?.photo.href,alt:sl.userProfileAltText,onError:({currentTarget:o})=>{o.onerror=null,o.src=_e},loading:"lazy"}):l.jsx(Ee,{firstName:P?.firstName??"",lastName:P?.lastName??"",size:`${a.sp4}`,index:je}),l.jsx(Me,{children:`${ul}`})]}):l.jsxs(at,{children:[l.jsx(tt,{children:l.jsx(it,{})}),l.jsx(Me,{children:`${r.addOfficer}`})]}):l.jsx(Ka,{children:l.jsx(wa,{selectedUser:P,allUsers:m,onSelectedUserChanged:o=>{const C=Object.values(e).findIndex(fe=>fe?.userId===o?.userId);ne(`${x}.isSelectedForVerification`,!1),ne(`${y}.${C}.isSelectedForVerification`,!0)},customization:{placeholderLabel:r.addOfficer},showAddUser:m.length<=9,pickerStyles:{backgroundColor:me.colors.grey5,selectedOptionBackgroundColor:me.colors.background,customStyleConfig:O==="small"?hl:void 0}})}):null]}),Object.values(e).map((o,C)=>{if(k!==C)return null;const fe=$l(o?.documentTypeSelectedForVerification),ve=o?.userFiles??[],bl=()=>U!=""&&f==="onboarding"?xl():o?.isPhoneVerified??!1;return l.jsxs(Xa,{children:[l.jsx(el,{}),l.jsx(Ue,{isDisabled:I,label:{label:r.name,width:de},nameField:{name:N(x,"name"),placeHolder:{firstName:r.firstNamePlaceholder,lastName:r.lastNamePlaceholder,name:r.namePlaceholder},defaultValue:{firstName:o?.firstName??"",lastName:o?.lastName??""},registerOptions:{required:b.includes("name")===!1,validate:j=>b.includes("name")===!1?!!j:!0},showFullNameError:!0},errorInfoLabel:r.nameError.replace("_product_type_",T)}),l.jsx(z,{}),o?.userId==null?l.jsxs(l.Fragment,{children:[l.jsx(ee,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.email,width:de},text:{type:"email",name:N(x,"email"),placeholder:ce(r.email),defaultValue:o?.email,options:{required:b.includes("email")===!1}},additionalInfoLabel:r.emailDescription.replace("_product_type_",T)}),l.jsx(z,{})]}):null,l.jsx(He,{isDisabled:I,label:{label:r.dobLabel,width:he},dateField:{name:N(x,"dob"),type:"text",defaultValue:o?.birthday,placeholder:ce(r.dobLabel),dateFormat:rl.defaultInput,maxDate:Se.dateNow().subtract(g==="unit"?18:13,"years"),registerOptions:{required:b.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:r.dobDescription.replace("_product_type_",T),isMasked:!0}),l.jsx(z,{}),l.jsx(vl,{isDisabled:I,label:{label:r.nationalityLabel,width:de},showAdditionalInfoLabel:f!=="onboarding",additionalInfoLabel:r.nationalityDescription.replace("_product_type_",T),countrySelectField:{name:N(x,"nationalityCountryCode"),placeholder:r.nationalityPlaceholder,defaultValue:Sl(o?.nationalityCountryCode,h.map(j=>j.countryCode)),registerOptions:{validate:j=>!!(j!=null&&j.selectedOption)}}}),l.jsx(z,{}),l.jsx(Le,{isDisabled:I,label:{label:r.address,width:de},addressValueField:{name:N(x,"officerAddress"),placeholder:ce(r.address),defaultValue:o?.addressStatus?.addressToCreate,registerOptions:{validate:j=>b.includes("officerAddress")===!1?!(I==null&&j==null):!0},onClick:()=>{q(o?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:f==="onboarding"?r.addressAdditionInfo:r.addressError.replace("_product_type_",T),showAdditionalInfoLabel:!0}),l.jsx(z,{}),l.jsx(Ge,{isDisabled:I,label:{label:r.phone,width:de},text:{name:N(x,"phone"),placeholder:ce(r.phone),defaultValue:o?.phone,autoComplete:"new-password",options:{required:b.includes("phone")===!1}},errorInfoLabel:gl(),verificationErrorInfoLabel:r.phoneValidationError,isPopupOpen:G,phoneVerifyButtonProps:{otpChallenge:o?.otpChallenge,showOtpButton:g==="unit",onGetOtp:$,onVerifyOtp:yl,onResendOtp:se,isPhoneVerified:bl(),phoneVerificationStatus:o?.otpverificationStatus,getOtpStatus:o?.sendOtpStatus,openPopup:p,verifiedPhoneNumber:U,focusNotRequired:!0}}),l.jsx(z,{}),l.jsx(Ie,{label:{label:r.companyRoleLabel,width:he},singleSelectField:{singleSelect:{name:N(x,"role"),placeholder:dl,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fl,isDisabled:I,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:o?.titleAtCompany,allOptions:_?.map(j=>j.code)??[]},registerOptions:{required:b.includes("role")===!1,validate:j=>b.includes("role")===!1?!(I==null&&!j?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:r.companyRoleDescription.replace("_product_type_",T)}),l.jsx(z,{}),l.jsx(Ve,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.companyOwnershipLabel,width:he},formattedTextField:{type:"number",name:N(x,"ownership"),defaultValue:o?.ownershipInCompany,placeholder:r.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:b.includes("ownership")===!1,validate:j=>j!=null?j>0&&j<=100:!0,max:100},autoComplete:"new-password"},additionalInfoLabel:f==="onboarding"?r.companyOwnershipDescriptionForOnboarding:r.companyOwnershipDescription}),l.jsx(z,{}),l.jsx(Ve,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.ssnLabel,width:he},formattedTextField:{type:"text",name:N(x,"ssn"),placeholder:r.addSSNPlaceholder,defaultValue:o?.ssn,format:"###-##-####",registerOptions:{required:b.includes("ssn")===!1,pattern:Il},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:I!=null&&o?.ssn?cl:void 0,additionalInfoLabel:r.ssnDescription.replace("_product_type_",T),isMasked:!0}),l.jsx(z,{}),l.jsx(Cl,{name:N(x,"selectDocument"),officerIndex:k,sizeLimit:Ce,filesEndPoint:te,authParams:ie,onEditFileName:K,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:nl},allFiles:ve,updateFilesEntity:J,deleteFileStatusById:tl,updateFileStatusById:il,onDeleteFile:w,isDisabled:I,menuPlacement:f==="onboarding"&&fe==null?"top":"auto",defaultValue:{defaultSelectDocumentType:fe,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:ke(!0,ve,Ne),back:ke(!1,ve,Ne)}},registerOptions:{required:b.includes("selectDocument")===!1},hasError:be,additionalInfoLabel:r.companyIdDescription.replace("_product_type_",T),onFileSizeError:j=>we(j),isPopupOpen:G,openPopup:p,companyOfficerName:{firstName:o?.firstName??"",lastName:o?.lastName??""}})]},x)})]})}const N=(e,c)=>`${e}.${c}`,Ma=t.div`
170
+ display: flex;
171
+ flex-direction: column;
172
+ row-gap: ${e=>pe.containerRowGap.valuePx(e.windowSize)};
173
+ `,Wa=t.div`
174
+ width: ${e=>pe.width.valuePx(e.windowSize)};
175
+ display: flex;
176
+ justify-content: space-between;
177
+ flex-wrap: wrap;
178
+ row-gap: ${a.sp2};
179
+ padding-top: ${e=>e.isOverlay?a.sp3:a.sp0};
180
+ `,Ra=t.div`
181
+ display: flex;
182
+ align-items: center;
183
+ color: ${e=>e.theme.colors.primary};
184
+ ${e=>`${Ba.title.style(e.windowSize)}`};
185
+ padding-right: ${a.sp1};
186
+ `,qa=t.div`
187
+ display: flex;
188
+ align-items: center;
189
+ `,Ua=t.div`
190
+ margin-right: ${a.sp2};
191
+ `,Ha=t(Ye)`
192
+ width: ${a.sp3};
193
+ height: ${a.sp3};
194
+ color: ${Pe.success};
195
+ `,Ga=t.div`
196
+ height: 14px;
197
+ width: 14px;
198
+ border: 1px solid ${e=>e.theme.colors.primary};
199
+ border-radius: 50%;
200
+ `,Ya=t.div`
201
+ display: flex;
202
+ color: ${e=>e.theme.colors.hero};
203
+ &:hover {
204
+ color: ${e=>e.theme.colors.primary};
205
+ }
206
+ `,Qa=t(Qe)`
207
+ width: ${a.sp3};
208
+ height: ${a.sp3};
209
+ `,Za=t.img`
210
+ height: ${a.sp4};
211
+ width: ${a.sp4};
212
+ border-radius: 50%;
213
+ justify-content: center;
214
+ `,Ka=t.div`
215
+ margin-right: 14px;
216
+ color: ${e=>e.theme.colors.primary};
217
+ `,Ja=t.div`
218
+ display: flex;
219
+ align-items: center;
220
+ `,Xa=t.div`
221
+ display: flex;
222
+ flex-direction: column;
223
+ background-color: ${e=>e.theme.colors.grey5};
224
+ border: 1px solid ${e=>e.theme.colors.grey3};
225
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
226
+ border-radius: ${a.sp2};
227
+ `,z=t.div`
228
+ display: flex;
229
+ flex: 1;
230
+ background-color: ${e=>e.theme.colors.grey3};
231
+ min-height: 1px;
232
+ max-height: 1px;
233
+ `,et=t(Fe)`
234
+ display: flex;
235
+ flex-direction: row;
236
+ justify-content: flex-end;
237
+ align-items: center;
238
+ color: ${e=>e.theme.colors.primary};
239
+ `,Me=t.div`
240
+ padding-left: ${a.sp2};
241
+ white-space: nowrap;
242
+ overflow: hidden;
243
+ text-overflow: ellipsis;
244
+ `,lt=t(Ze)`
245
+ width: max-content;
246
+ margin-left: ${a.sp3};
247
+ `,at=t(Fe)`
248
+ display: flex;
249
+ flex-direction: row;
250
+ justify-content: flex-end;
251
+ align-items: center;
252
+ color: ${e=>e.theme.colors.hero};
253
+ `,tt=t.div`
254
+ display: flex;
255
+ align-items: center;
256
+ `,it=t(Ke)`
257
+ width: ${a.sp4};
258
+ height: ${a.sp4};
259
+ color: ${e=>e.theme.colors.hero};
260
+ `;export{ia as s,ct as x};
@@ -1,4 +1,4 @@
1
- import{j as r,U as x,W as M,_ as f,M as p,o as s,a5 as w,v as g,a6 as j}from"./index-Cvfy0zsh.js";import{b as t,n as o}from"./vendor-CnQcJ2Lu.js";import{c as H}from"./SummaryCard-BauMuQ8s-Cp_w4Wqg.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-7VJ3paTm-CAZ4QKCl.js";const 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:"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"})),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:"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})),L=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:B},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:v}],D=o(w)`
1
+ import{j as r,U as x,W as M,_ as f,M as p,o as s,a5 as w,v as g,a6 as j}from"./index-DR9vSgqx.js";import{b as t,n as o}from"./vendor-CnQcJ2Lu.js";import{c as H}from"./SummaryCard-DB_r9qW_-CTe61HcF.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-DZhxB7Ar-3pX1Dvm4.js";const 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:"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"})),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:"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})),L=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:B},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:v}],D=o(w)`
2
2
  margin: ${s.sp5};
3
3
  justify-content: space-between;
4
4
  `,W=o.div`
@@ -1,4 +1,4 @@
1
- import{X as P,u as Ae,a2 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c4 as ha,l as V,a4 as fa,C as m,c5 as xa,a3 as Ce,o as t,e as ae,c6 as z,c7 as ze,c8 as L,c9 as ya,ca as Ue,cb as ga,cc as ba,cd as qe,w as $a,ce as wa,cf as He,cg as Ze,ch as Ia,ci as ja,cj as va,g as N,ck as Da,cl as Sa,aN as Oa,a6 as Ca,ao as q,cm as Fe,q as p,v as Ge,K as Me,cn as Fa,H as ka,co as Ta,cp as Na,b1 as Pa,cq as La,bH as za,cr as Ma,m as Ea,b2 as R,cs as Va,f as de,a$ as Ba}from"./index-Cvfy0zsh.js";import{b as _,n as s,f as Wa,k as _a}from"./vendor-CnQcJ2Lu.js";import{D as Xe}from"./LabeledCreatableSingleSelectField-CP-IuKrc-DjM8Weti.js";import{Y as Ke}from"./LabeledDocumentField-DyMGgcCu-Bgxu4H6-.js";import{$ as Je}from"./LabeledAddressValue-CfUYrlxS-B7W2Dek5.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Qe={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ra=_a`
1
+ import{X as P,u as Ae,a2 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c4 as ha,l as V,a4 as fa,C as m,c5 as xa,a3 as Ce,o as t,e as ae,c6 as z,c7 as ze,c8 as L,c9 as ya,ca as Ue,cb as ga,cc as ba,cd as qe,w as $a,ce as wa,cf as He,cg as Ze,ch as Ia,ci as ja,cj as va,g as N,ck as Da,cl as Sa,aN as Oa,a6 as Ca,ao as q,cm as Fe,q as p,v as Ge,K as Me,cn as Fa,H as ka,co as Ta,cp as Na,b1 as Pa,cq as La,bH as za,cr as Ma,m as Ea,b2 as R,cs as Va,f as de,a$ as Ba}from"./index-DR9vSgqx.js";import{b as _,n as s,f as Wa,k as _a}from"./vendor-CnQcJ2Lu.js";import{D as Xe}from"./LabeledCreatableSingleSelectField-yLzlQU6_-DKdnF88p.js";import{Y as Ke}from"./LabeledDocumentField-gxNaFx2j-qq-lZmSF.js";import{$ as Je}from"./LabeledAddressValue-BJ1dXCb1-KlPGwEsa.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Qe={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ra=_a`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }