@zeniai/web-cockpit-ui 1.14.38-qa → 1.14.39-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 (233) hide show
  1. package/dist/assets/{ACHDetailsPage-B-YGNgNu-fMbIin-2.js → ACHDetailsPage-C0HaWoSJ-Dc5JPQ9N.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BtD_7Ftm-Cjrt2PVO.js → AIPerformancePage-BcpJ60QE-CtwR6J9S.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-BtnzwNNq-Cy5SeNuD.js → AccountInfoPage-8k9PvHMB-DZyvxf4V.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-B4wK76bm-DJwk5_sV.js → AccountInfoPageContent-C7qnFSOO-kIwITRCp.js} +10 -10
  5. package/dist/assets/{AccountLockedInfoModal-4JAQCp4H-dwSuT6l3.js → AccountLockedInfoModal-Nuuzfbv1-D8-h_fCC.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Ddi5U4Ae-B03Ke0oC.js → AccountReconDetailsDrawerPage-O9at1_JO-DI5XcSqF.js} +1 -1
  7. package/dist/assets/{AccountRow-m99usqft-Cggn-JiL.js → AccountRow-D7TS2v2D-CXpu3RBt.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-D-dhzSE8-sseWDipk.js → AccountsPromoCardStack-Bd_rvzbl-BTn5w5o9.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-Bc7FcxQ9-CmEWBrRO.js → AddAddressForCardDrawer-DZJDqdMv-Cg4NeP1v.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-y4kvtUka-HQhkhv7g.js → AddToWalletPage-CsHR0N---CReMNlUz.js} +7 -7
  11. package/dist/assets/{AgingReportsPage-DrNIGwGn-BaT4XgWt.js → AgingReportsPage-D7pM0zmb-BuDoPaRl.js} +4 -4
  12. package/dist/assets/{AllUserItems-B7zg_GaP-DzAVc-iC.js → AllUserItems-iYe6sokO-aNUOL4ty.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-DnnUrY0w-DxAEkFFL.js → ApAgingDetailPage-Bqn7qtw--DtOkXocQ.js} +2 -2
  14. package/dist/assets/{AppBasePage-Bk7AUQvW-DQWv9uqw.js → AppBasePage-CsoraCNO-ExgiFDSz.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-BoIqLCcg-4ZHLEj0A.js → AppDrawerContent-B0lIGzQX-CG7hQ-7J.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-C9F_rLkj-DI6n1IG9.js → ApprovalRulesSettingsPage-BQV7Dw4L-h9PzT8u0.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DIwVIc---p7-njet-.js → ArAgingChart-RMxcWQSp-G3XJ7xii.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-DxW2xm-N-Carapse2.js → ArAgingDetailPage-NedRj0-7-BonBqaV_.js} +1 -1
  19. package/dist/assets/{AttachmentView-BlhBiGC5-BbBN0XVN.js → AttachmentView-CQXaXBQ0-DG9KqabP.js} +1 -1
  20. package/dist/assets/{BankAccountSection-A8IfSLFo-BVU2yldF.js → BankAccountSection-X5lu-xFg-TbmLt2Ax.js} +8 -8
  21. package/dist/assets/{BankAccountWarningSection-DFi3iK9n-DMXZHPRc.js → BankAccountWarningSection-CVhY2Ven-MI-JQ1yO.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-CKGG85vp-CEnS2Yr3.js → BankConnectionsSettingsPage-DHoPOUfJ-DW1tGoNi.js} +8 -8
  23. package/dist/assets/{BillDetailPage-BOVwHvyV-B-wRVugj.js → BillDetailPage-Bn7AiS3S-BZ28bPGv.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BVdiHMjx-SAjnUXhF.js → BillPayApprovalRuleDetailPage-BNUTi_3l-BrNn-Lg5.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-Dl45oEp5-qp2KFyuk.js → BillPayApprovalRulesPage-Cyl51uwx-B0C7ukmg.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CEX8Udbv-CF30vtRJ.js → BillPayPromoPage-C-C53jfT-DHzs6DsU.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-CSfEFV18-DpEApa4-.js → BillPaySetUpPage-DK03W_KV-C7gypIrH.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-hu1pz4dA-rS23BWi8.js → BillingSettingsPage-mh7zXUFz-PtqIHFv4.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DIY4Aa7i-CpXgDUmQ.js → BillsBulkReviewDrawerPage-eif54uHi-BY7mu3gx.js} +1 -1
  30. package/dist/assets/{BoxItem-BnivUbj--CToe_wP6.js → BoxItem-Bwh-fULe-Cnvh0VLf.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-BZB4KFum-Bf_jaqK5.js → BusinessVerificationPage-TkVkNqIG-kO3sbCuM.js} +3 -3
  32. package/dist/assets/{CardNumberSubText-CIysZ6zp-ie7SfEt5.js → CardNumberSubText-BhMD3p_M-DwICSaFN.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-C-MPq54h-CiG7Uft4.js → CashbackDetailPage-BZ-HHrYd-D7DeuuQ4.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-CGyuANsu-jOjGANCm.js → ChargeCardDetailPage-BmAB59Qs-BujIsaCJ.js} +40 -40
  35. package/dist/assets/{ChargeCardListPage-BbzjzgAv-BusTbQNY.js → ChargeCardListPage-CosFJd02-D0F4rAbY.js} +27 -27
  36. package/dist/assets/{ChargeCardListTable-D-wd0edv-DpjBc6t-.js → ChargeCardListTable-CpHJHWnY-C2UTTrvE.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-Cs-Xlghn-BRKLTlKH.js → ChargeCardPromoPage-CUWQ2Doj-svt7Kq-x.js} +4 -4
  38. package/dist/assets/{ChargeCardSetupPage-CfCGkFxz-97k_khoY.js → ChargeCardSetupPage-Cf_UjTmV-CakqJLB9.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-Jc6k_2Gg-BkHhJ77U.js → ChargeCardStatementsPage-CJjm5X-O-DEvYaVae.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-Vw0LoIey-D4s3SYDn.js → ChargeCardUtils-DtlGBAOG-CnFwGz8i.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-Cm-3BKNK-B-yxpnKo.js → ChaseOverlay-D9_jipgQ-C9IApPhh.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-BAwg3duC-_scFW12y.js → CheckDepositDrawerPage-C0cBFFEH-DO9mNbUo.js} +7 -7
  43. package/dist/assets/{CollapsableReportTable-C_qcwMWq-CzhTaZDf.js → CollapsableReportTable-Bubej7Ql-B-Haow9V.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-_m4C7Xgf-nCGmpM20.js → CompanyOfficerDetailsSection-CeH1OeAD-CDN4q74j.js} +12 -12
  45. package/dist/assets/{CompanyPassportCard-BiuPML3b-DNQNm9g-.js → CompanyPassportCard-DL5W7ueC-DxD3wi5U.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-BHf1pHbJ-RbKCYwrZ.js → CompanyPassportPage-DigtE7w9-BbT2L8df.js} +1 -1
  47. package/dist/assets/{CompleteProfile-DKEFybHA-DF_c0ocL.js → CompleteProfile-Bg7I3lpF-C68N9Ffu.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-BvcmPG2b-CgTGVRIv.js → ConfettiBurst-AOgMJCCW-BNA_L2gY.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-EpWC9Uuv-D9FFUW3d.js → CreateOrEditVendorPage-Bv82RVf6-BnL5MUAM.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-DI-za1T2-Dbmyt89i.js → CreditCardPaymentDrawerPage-C3ZpHHOb-C0Kp9JUP.js} +10 -10
  51. package/dist/assets/{CreditCardPaymentPlgSection-BGu0Am-e-CBMCjf_k.js → CreditCardPaymentPlgSection-DkQpCIiA-CI4n-74w.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-DL628Rog-DGJ_22N-.js → CurrencySelectField-DhbePxwd-Cd-AHSQD.js} +4 -4
  53. package/dist/assets/{CustomerOnboardingActivationPage-DzuWnPaH-C9lA2tPS.js → CustomerOnboardingActivationPage-BG8XSP7a-Bp02DWY-.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-DouBKVdi-DjCpZaQA.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Bx_rpQHj-BZ-6npjg.js → CustomerOnboardingDetailPageSkeleton-CSnGdP4D-DOKb-pCZ.js} +7 -7
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-CSI_jqkM-BE9h0jWN.js → CustomerOnboardingNoStepsPage-DC5SvJ3Y-DaKVTiM9.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-CuS2FfSh-B48LjWuQ.js → CustomerOnboardingPage-7v85vPxH-BbgR3kNR.js} +6 -6
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-B4HtoU9G-B8wZmpw3.js → CustomerOnboardingProductSuitePage-BhYHtuIm-CQypRUha.js} +1 -1
  59. package/dist/assets/{Dashboard-bFhMc4h1-B0ZecgE9.js → Dashboard-CqXj-08s-BArrunRY.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-B1pKZHaH-DMNAZhfo.js → DashboardReportPage-CakUfI8Y-L0ses7UF.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-CLaTbvuZ-scR6AgO9.js → DashboardSidebarBackgroundAnimation-__d52UhZ-Ceg2kzeD.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-DnzXR7B4-Cn2enBhf.js → DepositAccTransactionItem-CVGiw_b2-CfGaUFaN.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-C0F0N3XK-DQQM8xwt.js → DepositAccTransactionListPage-BLds9psS-CfaHcFYy.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-BS3N4ATj-DzsKY8Tn.js → DomesticWireDetailsPage-BfypyRjN-DhX6lTqU.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-yXed0RbK-BEkzQOPU.js → DownloadOverlay-DG4lR1Pb-DM5-MnYq.js} +1 -1
  66. package/dist/assets/{DrawerPage-LV8__F8R-BVez5P0O.js → DrawerPage-DppLxflk-oxHByEwB.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-GBNK0lo_-B1n6yQaz.js → EditPeoplePage-ISgRqKSY-rfxXcGVm.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-COApDpVm-DvxJJ-35.js → EditReimbursementDetailPage-C1nghhum-C958DjQB.js} +14 -14
  69. package/dist/assets/{EntityDetailPage-DdZmhyPX-Cz3KW8lp.js → EntityDetailPage-DjgV66W8-DZ5igwA9.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-Cn7rnQeI-CLdJZ-g8.js → EntitySummarySection-BBc3t5R9-DzHOpDVR.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-ipXT_MCO-CRS82qF6.js → ExpenseAutomationOverviewPage-fzZP2aKu-CCu0MleJ.js} +11 -11
  72. package/dist/assets/ExpenseAutomationPage-BSjV8d-I-75tcqP7q.js +1650 -0
  73. package/dist/assets/{ExpressPayPage-C0J3X657-C2OEC1Gk.js → ExpressPayPage-DKBLyt2v-BL6tHheh.js} +5 -5
  74. package/dist/assets/{FeaturePreviewPage-lIDKDiwy-DKPeO7UN.js → FeaturePreviewPage-V38xu6Zo-CyaOyBKD.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-CtCRMD2R-BclyND_b.js → FollowStepsSection-Bo5_aHsj-D_2P3NsX.js} +7 -7
  76. package/dist/assets/{GlobalReviewListPage-DXPuMshX-C6-xfhTb.js → GlobalReviewListPage-BXWgxJUG-Dc8bw5mq.js} +1 -1
  77. package/dist/assets/{HelpButton-Dmp2RZDD-DwUAgvCm.js → HelpButton-B3uWY2LR-OlttS1C0.js} +1 -1
  78. package/dist/assets/{InformationCardStack-bpQXbFWJ-v3NkhXp1.js → InformationCardStack-DUi7F4j9-Bzofi24T.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-BzyYnnH_-h-EhKW4f.js → InsightsCardStack-DpsGvwAF-DavKovHg.js} +1 -1
  80. package/dist/assets/{InsightsSection-BVjjBkzp-tevt_pPa.js → InsightsSection-CFeEzjB3-D_1DfMdF.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-DjMaGIv9-muEoTxEB.js → IntegrationsSettingsPage-Ck0miRzH-COeNLu0O.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-DXYaOaYh-CFh_OLfc.js → InternationalWireSwiftDetailsPage-CHh9rwda-CYMl7fKC.js} +10 -10
  83. package/dist/assets/{InternationalWireVerificationPage-yPrzoGA9-CARbQeFN.js → InternationalWireVerificationPage-DoQ9eiu4-CAFn32kX.js} +1 -1
  84. package/dist/assets/{InviteFormPage-xQ6xN_gt-CfY7XY56.js → InviteFormPage-zZoT105K-CDjZZmix.js} +8 -8
  85. package/dist/assets/{InvitePageListView-BmkX934z-Be2ok7Zk.js → InvitePageListView-Bqi0nN3K-Cugufhfk.js} +11 -11
  86. package/dist/assets/{InvitePeoplePage-BxxEjVs5-Dc-QWgCl.js → InvitePeoplePage-D6Pp40Kl-BkOtYcxF.js} +4 -4
  87. package/dist/assets/{InvoiceUploadSection-BxfSI49h-CYPJb87m.js → InvoiceUploadSection-BTwzAYmG-DqCxJXD_.js} +3 -3
  88. package/dist/assets/{IssueChargeCardPage-ByK_ayX6-BDcNKOgV.js → IssueChargeCardPage-DFnsBjmh-BMzEcFnV.js} +10 -10
  89. package/dist/assets/{LabeledAddressValue-Bk-opSoh-C2Nliq0B.js → LabeledAddressValue-CYEpguO_-DG_G1pyJ.js} +1 -1
  90. package/dist/assets/LabeledAddressValueField-CNyhuNMg-BDiOnCQn.js +45 -0
  91. package/dist/assets/{LabeledControlledCheckBoxField-DtVQoSev-TrA3hZT3.js → LabeledControlledCheckBoxField-CSh6A3bd-D6-VupFL.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-BFmP_-GA-D6YE34KD.js → LabeledCreatableSingleSelectField-CtuwY_9o-BYO4B8QP.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-CyW3tPI--DYCMXfVj.js → LabeledDocumentField-Dyfj_Dx0-CxT8amBm.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-_b5VDmOJ-DYXZVhQf.js → LabeledDropDownFormattedTextField-D8oMk4xt-NfRrE6TJ.js} +3 -3
  95. package/dist/assets/{LabeledText-Bc8QavrT-DBe1R5aQ.js → LabeledText-DhIVEuvE-BGpps1jt.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CE-MxVSk-BpDF1_jW.js → LabeledUserSingleSelectWithSubtitlesField-BrN-E_iu-H_-zsD1L.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-BqlbDyA1-k2PRVwSX.js → LabeledZeniRolesDropDownField-BPSDhXTS-B9hIUe6J.js} +6 -6
  98. package/dist/assets/{LinkJETransactionPage-DE8ch_W7-SFTtX9u1.js → LinkJETransactionPage-CSD6-ita-BuYlOJqv.js} +7 -7
  99. package/dist/assets/{LowBalancePopup-DWXEyi2S-62gzo-RC.js → LowBalancePopup-DG7UpS2F-Bu5UEVfd.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-CJ57XAxp-CjX17IVW.js → MagicLinkACHDetailsPage-m5chQr23-4RLEMs7o.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-Ba1gbLAX-Dy5Hem1F.js → MagicLinkDomesticWireDetailsPage-Cob4wAR7-LbXvtvq_.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-U3ygf3uO-C-ImmVXN.js → MagicLinkInternationalWireDetailsPage-DX9NH12J-D2R3cXNL.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-CGjxH6Hl-BK7vnCSI.js → MagicLinkSuccessPage-DgcpyzOK-CmCaLAu5.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-Dzfctx8H-B9w7ZvfA.js → MagicLinkTitleSection-wjuKcqab-D7vo35cb.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-N-M1JzkW-DsQX1QOn.js → MailingDetailsSection-DU4LYPzH-BXsLAtDc.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-BJgsd-6e-BJbKD0GQ.js → MeetingCalenderPopup-YiB2ETli-CqKaSUHn.js} +1 -1
  107. package/dist/assets/{Menu-DCl4YiCd-DyNjEuyz.js → Menu-Bi_Vto-l-B6nlDzVX.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-BZP3Dbes-Dl7uUmu5.js → MyBankConnectionsSettingsPage-LgbzbrTj-BFa0cAOH.js} +1 -1
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-Cc8Onh73-CoHNzBqF.js → MyPendingActivationChargeCardListPage-CZs9UFV5-DK2YM84p.js} +2 -2
  110. package/dist/assets/{MyProfileSettingsPage-7YrgIr-M-J1kKjAhJ.js → MyProfileSettingsPage-DIADfZVY-BDHoxXS8.js} +3 -3
  111. package/dist/assets/{NavBarWithPicker-Bbu7_9sU-BqOfWE29.js → NavBarWithPicker-DEqzM9Qm-_DqMMA0k.js} +1 -1
  112. package/dist/assets/{NavigationArrow-DNJkGq5e-Cz6Ibgvw.js → NavigationArrow-DzZDXuKr-B7BwQbpV.js} +1 -1
  113. package/dist/assets/{NavigationDots-BDhrBzmw-C8Z-kY4L.js → NavigationDots-CFxiVMnb-Dxb6vagd.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-DSyitl-a-ZWPqeDnP.js → NewGlobalMerchantPage-JsTrXT1T-DERt7sEx.js} +2 -2
  115. package/dist/assets/{NoDataChart-Bww-GG_z-C6bA2sTF.js → NoDataChart-gi34_J2e-BOq-1JyJ.js} +1 -1
  116. package/dist/assets/{NoDataTable-DRSEE7HT-Fx8yGafA.js → NoDataTable-DtmdB0eI-BxWxqQ9f.js} +1 -1
  117. package/dist/assets/{NotFoundPage-BepvWGxk-Cey9vhvF.js → NotFoundPage-Bk5zRv9L-CAPJCopB.js} +1 -1
  118. package/dist/assets/{NotificationSettingsPage-CR6XVZlL-9bKzyX8l.js → NotificationSettingsPage-DFHLMWiI-CAa4vlQq.js} +11 -11
  119. package/dist/assets/{NotificationsListConfig-CBjTcLzj-Cjn3YKhY.js → NotificationsListConfig-DxFLCS42-Dryoh4sl.js} +1 -1
  120. package/dist/assets/{NotificationsPage-BgUc61wf-B26oAUDK.js → NotificationsPage-E3pYaBJv-CS1qVYiF.js} +1 -1
  121. package/dist/assets/{OpExByVendorPage-BkgsQ4lY-MDZiQLxw.js → OpExByVendorPage-CgaLMeOS-CLk81uBN.js} +1 -1
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo-cQS0tC0x.js → OverlayContainerPage-Bmu909Fo-EXe69QYn.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-B0pUD9U8-BzHTBbKy.js → PandLWithForecastPage-CZkL9zJq-C6y3vZ9S.js} +1 -1
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-YvYPpyzH-Z_m2YYMZ.js → PaymentAccountSetupBillingAddressSection-D190AP1Y-BjMBxnd9.js} +1 -1
  125. package/dist/assets/{PeoplePage-mobCML9r-DCbFdYKi.js → PeoplePage-BwfDzqla-jRNvSDjZ.js} +1 -1
  126. package/dist/assets/{PortfolioAllocationFormPage-CB9lfs6z-DcmJ3sYv.js → PortfolioAllocationFormPage-BLdGGltt-jcopE-iX.js} +1 -1
  127. package/dist/assets/{PortfolioDetails-zYYGkoC--BXwbol69.js → PortfolioDetails-agrnhRRW-bdNc5pLU.js} +1 -1
  128. package/dist/assets/{ProductsCarousel-B4zdUn5q-D-jWZUof.js → ProductsCarousel-CqBzOsli-B8X-IKsl.js} +1 -1
  129. package/dist/assets/{PromoBaseCards-CgGg3lpk-8sTJ7Rcf.js → PromoBaseCards-BUYkqKhW-B1j2ucCH.js} +1 -1
  130. package/dist/assets/{QBOConnectionDialog-BBVBEJWA-aU8G6lgM.js → QBOConnectionDialog-JoNcGvU6-DWXeA3jb.js} +7 -7
  131. package/dist/assets/{QBOSetupSection-pBOQk_mE-D3kS8huT.js → QBOSetupSection-cB-8iCoM-i7dLrr5Q.js} +8 -8
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Ck2KbJ_R-CjiQYmVl.js → ReimbursementApprovalRuleDetailPage-CfOZ0t5v-CV7GAFF2.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-D7LTvUrz-B4ZNYo27.js → ReimbursementApprovalRulesPage-DDtX0CfL-C8p_ZO2g.js} +1 -1
  134. package/dist/assets/{ReimbursementDetailPage-CbgWCawo-BpF64MSv.js → ReimbursementDetailPage-D3rgg3kA-D5du5Mqk.js} +4 -4
  135. package/dist/assets/{ReimbursementPromoPage-DmV5eoIo-2BJlj6f0.js → ReimbursementPromoPage-Cn3Z10XN-CHstzTse.js} +1 -1
  136. package/dist/assets/{ReimbursementSetUpPage-kAlaG5Ag-CE_70Pof.js → ReimbursementSetUpPage-B_gdhg1O-CmHe8InY.js} +3 -3
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-70qXVn3v-BkFq_ISK.js → ReimbursementsBulkReviewDrawerPage-BtBowdlA-Bff-ZZ8J.js} +1 -1
  138. package/dist/assets/{ReloadCard-DoOxxK_q-CARmhhI-.js → ReloadCard-BY23wQlB-BJD-2H6c.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-7OJVsL-G-CkKoEtsy.js → ReportTableViewSelector-Dzg62ctm-WFJR-fXp.js} +1 -1
  140. package/dist/assets/{ReportsPage-29ims7Ks-BlC7wtbz.js → ReportsPage-CzflkNSs-BQaWkMYG.js} +1 -1
  141. package/dist/assets/{RevenueChart-CLtUUYr5-CPmYx-Fb.js → RevenueChart-DNOek9MJ-CP-2pEDw.js} +1 -1
  142. package/dist/assets/{ReviewDetailsPage-DNDzoyA5-T8GWsxM-.js → ReviewDetailsPage-ChMF35Zu-BuP67dVO.js} +1 -1
  143. package/dist/assets/{ReviewOverlay-VleZWRhn-V88olled.js → ReviewOverlay-COIKeR15-BcSsy_vI.js} +1 -1
  144. package/dist/assets/{RoleWithToolTip-DsEos8I_-CRr6oRTA.js → RoleWithToolTip-DWcWpu1c-lubwiBJ4.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cv84NP5--CNvmO9QZ.js → ScheduleDetailsFixedAssetsPage-CxKTS1Ys-vgXmo78e.js} +3 -3
  146. package/dist/assets/{ScheduleDetailsPage-D4IKW5z6-DWiTLKB2.js → ScheduleDetailsPage-6MqWtRbl-BKxcOCs-.js} +1 -1
  147. package/dist/assets/{ScheduleSequenceTable-qHcZL82y-DAAUsg0w.js → ScheduleSequenceTable-cwZqH3zx-D2fQFHiq.js} +9 -9
  148. package/dist/assets/ScreenRoutes-KSywlUe_.js +206 -0
  149. package/dist/assets/{SetUpAccountSection-CjOOpWa2-Cb7W1Utl.js → SetUpAccountSection-BeXsisXh-C8iQqoE3.js} +1 -1
  150. package/dist/assets/{SetUpDefaultSection-Ax1FuH_A-CXbulKHe.js → SetUpDefaultSection-Bw-ODNSn-XyoiRDtn.js} +8 -8
  151. package/dist/assets/{SignIn-Bj2czf21-Bnr6dLzL.js → SignIn-BYWJCKCM-iAXwoeyl.js} +1 -1
  152. package/dist/assets/{SignInScreen-SaiDsUoA.js → SignInScreen-X2bNuyVp.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-7oQurX8D-BlEdTeYL.js → SpendManagementListViewPage-Cncc2ohq-gJW6I76n.js} +10 -10
  154. package/dist/assets/{SpendManagementPerTabPage-DG8qRSeQ-BftobJyz.js → SpendManagementPerTabPage-BR5w_58--Bz1qFkXu.js} +1 -1
  155. package/dist/assets/{SpendManagementSection-CzGLKJ01-PgYP5EKq.js → SpendManagementSection-BjNiE7SK-D7jeMM-c.js} +1 -1
  156. package/dist/assets/{SpendMgmtSetupAccountSection-BSuY_zqo-toxWOw_s.js → SpendMgmtSetupAccountSection-BQP4OHws-IXpe5hj1.js} +1 -1
  157. package/dist/assets/{StatementItem-teWYG-k5-DmOE0DmW.js → StatementItem-uDpMbqmR-DBTHHgkS.js} +2 -2
  158. package/dist/assets/{StatementsPage-Kqug4TjC-idI8Y2ff.js → StatementsPage-BQ6zpjtq-HFcofufo.js} +5 -5
  159. package/dist/assets/{StatusSwitcher-BXzanE6h-BbOxdx4D.js → StatusSwitcher-DnQFgeLN-DpDkgj5j.js} +1 -1
  160. package/dist/assets/{SubTabSwitcher-Dc78MPYF-W-inXen8.js → SubTabSwitcher-BSxF2cHS-DzqRE0-4.js} +1 -1
  161. package/dist/assets/{SummaryCard-DDpG4vry-BXv2u1RJ.js → SummaryCard-DwlHiqjy-DovYblcz.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-DQXNMGNK-DpyOgzeS.js → TaskManagementPage-BPY7YdEt-Bhs7yAJe.js} +21 -21
  163. package/dist/assets/{TimeRangeSwitcher-BQL2dhVh-FzyWbTek.js → TimeRangeSwitcher-D66ILzZ8-BUSvdhZS.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcher-CXvrXTdI-Bmd_fwCF.js → TimeframeSwitcher-C2DIHjU8-FFKAp4XL.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-C_hQ5Vj--Ct-exPmU.js → TimeframeSwitcherWithToggle-V1DMLkhs-Cnh86APd.js} +1 -1
  166. package/dist/assets/{TopExCard-CmajFYfY-B72k2WTV.js → TopExCard-DSqZSZGZ-Dw-FQUIS.js} +1 -1
  167. package/dist/assets/{TopExDetailPage-DNfBQfSC-BIDVRDoT.js → TopExDetailPage-OstkHsg3-DvRigN0b.js} +1 -1
  168. package/dist/assets/TransactionDetailPage-AbBJQKHm-dGel1c3Z.js +912 -0
  169. package/dist/assets/{TransactionList-DifBTNrV-Bm9HY8Nz.js → TransactionList-CkdTkJqL-Cgr2VpIS.js} +1 -1
  170. package/dist/assets/{TransactionListBig-Bjmt3Xib-CgXUg-D7.js → TransactionListBig-BZ5gpbJ5-Bm4_r9qH.js} +1 -1
  171. package/dist/assets/{TransactionListPage-CpFiD4Aw-_sCR6guP.js → TransactionListPage-CqU-E-7M-BizBcsew.js} +1 -1
  172. package/dist/assets/{TransactionVendorDetailPage-BSZ4IBis-BBSuIAyI.js → TransactionVendorDetailPage-BvcpFzUp-DW2mpv-1.js} +3 -3
  173. package/dist/assets/{TransferDrawerPage-CiGIqLHQ-DXixiZfl.js → TransferDrawerPage-D1NgpWIq-C2E7-vdj.js} +20 -20
  174. package/dist/assets/{TreasuryOverviewPage-C21g82G6-CQsvFi67.js → TreasuryOverviewPage-CD2o1CFy-8qk7AdY6.js} +33 -33
  175. package/dist/assets/{TreasuryPromoPage-lNMQil_1-B1nrvRps.js → TreasuryPromoPage-CwmjKeA3-BNj8wbyy.js} +7 -7
  176. package/dist/assets/{TreasurySetupPage-CHjK0p7r-8sdB5yWR.js → TreasurySetupPage-DP8WeoZ8-Dr5EZ1f3.js} +1 -1
  177. package/dist/assets/{TreasuryStatementsPage-CKAdFoHY-DUBBrZ0u.js → TreasuryStatementsPage-e6twnrIV-DioRFi4U.js} +3 -3
  178. package/dist/assets/{TreasuryTaxLetterPage-DPdcmb53-CS9rVfJz.js → TreasuryTaxLetterPage-C0b1z_Th-B11BzKum.js} +2 -2
  179. package/dist/assets/{TreasuryTransferOrReviewPage-DmGpNvWn-Co9DgHXC.js → TreasuryTransferOrReviewPage-CKyTuHqj-BTErZLx_.js} +25 -25
  180. package/dist/assets/{TrendChart-BJF_aBUS-BMy2_Q9E.js → TrendChart-Dn0GiuT9-HQjjMVrP.js} +1 -1
  181. package/dist/assets/{TrendWithTransactions-DXSMdecG-CANPLez3.js → TrendWithTransactions-DtPVZEAr-DnuxxeAb.js} +1 -1
  182. package/dist/assets/{UncategorizedAccountsMappingPage-DMiXdRb9-DLsuLqYf.js → UncategorizedAccountsMappingPage-BsNKhjNn-DKa7txXi.js} +8 -8
  183. package/dist/assets/{UnitIntegrationPage-Dqakwr1P-ByAKOcKO.js → UnitIntegrationPage-yq2PJvQf-lbVttX1U.js} +1 -1
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-DOy8Wvxm-DMrdpbVK.js → UploadAdditionalDocumentOverlay-CGX4As30-PMvLbAD2.js} +1 -1
  185. package/dist/assets/{Vendor2FAPopup-DR_Uif4s-B_GT6Sq4.js → Vendor2FAPopup-iHeZH2a--CWW41Kpu.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-_nmRyuvM-BGY_QCdu.js → VendorACHDetailsPage-w879CB2t-DBelQrTv.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-DYhBGXTe-BJaZYfIh.js → VendorDetailPage-DZ4h1qWW-vxXfS1yQ.js} +4 -4
  188. package/dist/assets/{VendorDomesticWireDetailsPage-OzrrojiZ-C9c31Kyz.js → VendorDomesticWireDetailsPage-CHju4IUB-BwOjp8sq.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-C6i7dipR-CDi2_exv.js → VendorFiling1099EditablePage-BlvW4OEf-caJ6TGkm.js} +5 -5
  190. package/dist/assets/{VendorFirstReviewPage-DrelrPYn-DzxrK758.js → VendorFirstReviewPage-4NSSfruW-SkZiIEM_.js} +15 -15
  191. package/dist/assets/{VendorInternationalWireDetailsPage-BglZ4_v2-BVn2TPKA.js → VendorInternationalWireDetailsPage-CYnMhzsB-Dp-2dBCE.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-MKHHcDL4-DMOU_udf.js → VendorInternationalWireSwiftDetailsPage-CXhnSzG9-CqZ25PxA.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-COwLgrG_-a3j4nxr6.js → VendorsAccountsSection-DytBkZ5j-BDTqXfPm.js} +1 -1
  194. package/dist/assets/{VerifyDevice-FO7331hS-rNW11ub0.js → VerifyDevice-CQ0olx8K-BR-mcrJ3.js} +1 -1
  195. package/dist/assets/{VideoPlayer-C7GWTYSG-ClYWctvb.js → VideoPlayer-BzfzJW7y-C5JZYu_g.js} +1 -1
  196. package/dist/assets/{VideoPopup-CB0BXhOA-DweU0weQ.js → VideoPopup-DJubpBc5-CxKuMSGz.js} +1 -1
  197. package/dist/assets/{WarningsDrawerPage-B081ksn8-DBrcyXm_.js → WarningsDrawerPage-DtdniUCH-DJUs63Zw.js} +7 -7
  198. package/dist/assets/{ZeniAccountDetailPage-Bbx7ge3Z-B74a9iCh.js → ZeniAccountDetailPage-UcgfqnXC-Th3RZHDM.js} +4 -4
  199. package/dist/assets/{ZeniAccountListViewPage-CgOxwjk1-loQXKfEe.js → ZeniAccountListViewPage-STT7H2Nw-BroPoovh.js} +6 -6
  200. package/dist/assets/{ZeniAccountNavBarPieces-BkN8_5Zi-BBFYIr9g.js → ZeniAccountNavBarPieces-ZNlC5aGd-BNisBi0x.js} +1 -1
  201. package/dist/assets/{ZeniAccountPromoPage-DrMHkTuM-TsJAmqcK.js → ZeniAccountPromoPage-DeVBZrVx-DUJkUAQ8.js} +5 -5
  202. package/dist/assets/{ZeniAccountSetupPage-BCpKadR1-BILWbvOC.js → ZeniAccountSetupPage-UlF7qoFd-Bt_j1YxN.js} +1 -1
  203. package/dist/assets/{ZeniCopyright-juRAWlbw-CPXEOl77.js → ZeniCopyright-CjbWU9Dc-BLwz2UDU.js} +1 -1
  204. package/dist/assets/{ZeniTransferAmountSlider-BtI1L6UN-GWCIzf4e.js → ZeniTransferAmountSlider-BL2-PVj4-Bi0ukH0F.js} +1 -1
  205. package/dist/assets/analytics-Dr_Q0qi5.js +73 -0
  206. package/dist/assets/{analyticsHelper-DQQo4LQc-D87Bn7n3.js → analyticsHelper-47l9Opyu-BI0dCEoa.js} +1 -1
  207. package/dist/assets/{analyticsHelper-CSeUgl6n.js → analyticsHelper-BpYh_F2q.js} +1 -1
  208. package/dist/assets/{chartTypes-eqxFaFS5-fUn75ZVM.js → chartTypes-DmEm-9Ox-ULKq2fZN.js} +1 -1
  209. package/dist/assets/{commonDimensions-C2hbzHZW-DX6zjHki.js → commonDimensions-Dfc-15aJ-CxnVwTdu.js} +1 -1
  210. package/dist/assets/crypto-Ccg-ICil.js +35 -0
  211. package/dist/assets/{detailCommon-fC811KkH-QLQiCSMc.js → detailCommon-CfRJr7PH-Zz1na4q2.js} +1 -1
  212. package/dist/assets/{downloadPdf-CgcD1OYw-D2NqLzAt.js → downloadPdf-QB7_leFQ-CoJ91cS7.js} +1 -1
  213. package/dist/assets/{index-CfctPHbv.js → index-C7jkqxrR.js} +13 -13
  214. package/dist/assets/{mapLoadingInProgressToTreeNode-CM7N02af-DiQ1kXB9.js → mapLoadingInProgressToTreeNode-BbnaFFzG-BRQ7gDuX.js} +1 -1
  215. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-MzhgtFpc-DvFOj2Em.js → mapSectionWithAcOnlyToTreeNode-B3ThW_Wk-DV4jlGZ4.js} +1 -1
  216. package/dist/assets/{mapSpacerToTreeNode-C7hklF---BcLWVoos.js → mapSpacerToTreeNode-CMRinfvP-BAaxRYcb.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-D36HLTqR-CaVDkf8Q.js → mapTimeframeBalancesToTreeNode-C4e13DYv-mbUoKHNs.js} +1 -1
  218. package/dist/assets/{mapTimeframeBalancesToTreeNode-CEJ9v-Q3-Dh04BnMI.js → mapTimeframeBalancesToTreeNode-y77ZAwQg-CYnesxgR.js} +1 -1
  219. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BhdfWhpd-cB73nGq5.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DGrKwzUB-CAVP7axd.js} +1 -1
  220. package/dist/assets/{toCOABalancesWithID-DCFbumLL-DJ7iqU0X.js → toCOABalancesWithID-DIO7qGqY-BCZorL6x.js} +1 -1
  221. package/dist/assets/{toChartData-Dh9v_zba-DQ0vqbhf.js → toChartData-D89UpEia-DmSMBtrE.js} +1 -1
  222. package/dist/assets/{treasuryColorHelper-ZXa62meg-BjqYsu0A.js → treasuryColorHelper-CF-h70rk-DcbjCnLZ.js} +1 -1
  223. package/dist/assets/{uploadAttachment-DOhn3y-C-CJ6_VxnJ.js → uploadAttachment-B-bBj_Bq-DxXvr3YV.js} +11 -11
  224. package/dist/assets/{uploadReceipts-dxsKhm9I-BzjHIWji.js → uploadReceipts-dxsKhm9I-BIa10rGM.js} +1 -1
  225. package/dist/index.html +1 -1
  226. package/package.json +5 -5
  227. package/dist/assets/CustomerOnboardingContainerPage-BLgcij7A-DND9iQFj.js +0 -1
  228. package/dist/assets/ExpenseAutomationPage-BXyGtnBz-DDXuwH9L.js +0 -1650
  229. package/dist/assets/LabeledAddressValueField-RFI4bpOj-zAuVOTou.js +0 -45
  230. package/dist/assets/ScreenRoutes-BjG9FBY3.js +0 -206
  231. package/dist/assets/TransactionDetailPage-DZPHVxna-Bx-BUpUf.js +0 -912
  232. package/dist/assets/analytics-B3n5JGPc.js +0 -7
  233. package/dist/assets/crypto-BDNqpTKX.js +0 -40
@@ -1,4 +1,4 @@
1
- import{u as Re,e as Q,B as Y,a as Ke,a2 as De,ca as Qe,l as O,j as t,aX as et,F as tt,a4 as it,C as x,o as n,k6 as at,k7 as nt,k8 as lt,cg as ze,cd as ot,cG as rt,fa as dt,fb as st,cf as ke,fJ as ct,k9 as pt,cj as mt,cL as Ve,ck as ut,cM as Ae,cV as Oe,v as ge,cZ as ht,q as u,ap as yt,am as be,g as Ee,n as gt,s as We}from"./index-CfctPHbv.js";import{b as G,n as d}from"./vendor-rkTZJa59.js";import{Y as xt}from"./LabeledDocumentField-CyW3tPI--DYCMXfVj.js";import{S as ie}from"./LabeledText-Bc8QavrT-DBe1R5aQ.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const ft={progressBarWidth:new x(343,726)},bt=({pageIndex:e})=>{const i=Q(),a=Re(),s=Y.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs(vt,{children:[t.jsx(at,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx($t,{children:h.map((p,l)=>t.jsx(Ct,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(wt,{windowSize:i,children:[t.jsx(nt,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(St,{children:h.map((p,l)=>t.jsx(jt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},wt=d.div`
1
+ import{u as Re,e as Q,B as Y,a as Ke,a2 as De,ca as Qe,l as O,j as t,aX as et,F as tt,a4 as it,C as x,o as n,k6 as at,k7 as nt,k8 as lt,cg as ze,cd as ot,cG as rt,fb as dt,fc as st,cf as ke,fK as ct,k9 as pt,cj as mt,cL as Ve,ck as ut,cM as Ae,cV as Oe,v as ge,cZ as ht,q as u,ap as yt,am as be,g as Ee,n as gt,s as We}from"./index-C7jkqxrR.js";import{b as J,n as d}from"./vendor-rkTZJa59.js";import{Y as xt}from"./LabeledDocumentField-Dyfj_Dx0-CxT8amBm.js";import{S as ie}from"./LabeledText-DhIVEuvE-BGpps1jt.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";const ft={progressBarWidth:new x(343,726)},bt=({pageIndex:e})=>{const i=Q(),a=Re(),s=Y.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs(vt,{children:[t.jsx(at,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx($t,{children:h.map((p,l)=>t.jsx(Ct,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(wt,{windowSize:i,children:[t.jsx(nt,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(St,{children:h.map((p,l)=>t.jsx(jt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},wt=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-top: ${n.sp3};
@@ -38,7 +38,7 @@ import{u as Re,e as Q,B as Y,a as Ke,a2 as De,ca as Qe,l as O,j as t,aX as et,F
38
38
  position: relative;
39
39
  height: ${e=>`${e.perSectionHeight}%`};
40
40
  color: ${e=>e.isRelevant?e.theme.colors.primary:e.theme.colors.grey2};
41
- `,I={containerWidth:new x(343,580,726),labelWidth:new x(120,160,160),largeLabelWidth:new x(150,228,228),largeLabelPickerWidth:new x(100,180,180),paddingBottom:new x(u[3],u[2]),labelMarginLeftPicker:new x(u[3],u[4]),labelMarginRightPicker:new x(u[3],u[4]),labelMarginTopPicker:new x(u[2],u[2]),labeledFieldPaddingLeft:new x(u[0],u[0]),labeledFieldPaddingRight:new x(u[2],u[2]),labeledFieldPaddingTop:new x(u[2],u[2]),labeledFieldPaddingBottom:new x(u[2],u[2]),infoLabelPaddingRight:new x(u[0],u[3]),infoLabelMarginTop:new x(u[1],u[0])},V=(e,i)=>`${e}.${i}`,Pt=({sectionId:e,paymentDetails:i,allPaymentMethods:a,paymentToOptions:s,withdrawFromList:h,internationalVerificationStatus:p,fileProps:l,receiptFile:T,deleteFileStatusById:P,updateFileStatusById:f,onClickAddAccount:w})=>{const o=Q(),{spendManagement:D,dateFormat:y,common:$}=Y.getLocalizedStrings(),C=D.billPay.billDetails,X=y.visual.defaultInput,re=D.zeniAccounts.expressPay,de=$.documents,_=I.largeLabelWidth.value(o),[g,Z]=G.useState(!1),H=a.filter(r=>r.method.includes(i?.withdrawFrom?.accType??"depositAccount")&&r.method.includes(O.NEW_INTERNATIONAL_METHOD_SUBTEXT)===!1),k=r=>s.find(m=>m.id===r),N=r=>Ve(k(r)),se=()=>{let r=[];return i?.paymentType?.method.includes("wire")===!0?r=s.filter(m=>!!m.bankRoutingNumberWireTransfer).map(m=>m.id):r=s.filter(m=>!!m.bankRoutingNumberAch).map(m=>m.id),r},ce=r=>{const m=k(r),j=Y.getLocalizedStrings().spendManagement.billPay;return i?.paymentType?.method.includes("ach")===!0?t.jsxs(xe,{children:[t.jsxs(q,{children:[t.jsx(E,{children:j.vendorCreation.achDetails.bankRoutingNumber}),t.jsx(W,{children:m?.bankRoutingNumberAch??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(q,{children:[t.jsx(E,{children:j.vendorCreation.achDetails.bankName}),t.jsx(W,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(q,{children:[t.jsx(E,{children:j.vendorCreation.achDetails.bankAccountNumber}),t.jsx(W,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):i?.paymentType?.method.includes("wire")===!0?i.paymentType?.method.includes("international")===!0?t.jsx(xe,{children:m?.piLabels.map(U=>t.jsxs(q,{children:[t.jsxs(E,{children:[U.name,j.paymentDetails.colon]}),t.jsx(W,{children:U.value})]},U.name))}):t.jsxs(xe,{children:[t.jsxs(q,{children:[t.jsx(E,{children:j.vendorCreation.wireDetails.bankRoutingNumber}),t.jsx(W,{children:m?.bankRoutingNumberWireTransfer??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(q,{children:[t.jsx(E,{children:j.vendorCreation.achDetails.bankName}),t.jsx(W,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(q,{children:[t.jsx(E,{children:j.vendorCreation.wireDetails.accountNumber}),t.jsx(W,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):""};return t.jsxs(t.Fragment,{children:[t.jsx(It,{children:C.paymentDetailsTitle}),t.jsxs(Tt,{windowSize:o,children:[t.jsx(rt,{label:{label:C.withdrawFrom,width:_,style:{marginLeft:I.labelMarginLeftPicker.valuePx(o),marginTop:I.labelMarginTopPicker.valuePx(o),marginRight:I.labelMarginRightPicker.valuePx(o),width:I.largeLabelPickerWidth.value(o)}},style:{paddingTop:I.labeledFieldPaddingTop.valuePx(o),paddingBottom:I.labeledFieldPaddingBottom.valuePx(o),paddingLeft:I.labeledFieldPaddingLeft.valuePx(o),paddingRight:I.labeledFieldPaddingRight.valuePx(o),border:"none",width:"auto",display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:I.infoLabelPaddingRight.valuePx(o),marginTop:I.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:V(e,"withdrawFrom"),placeholder:ke(C.withdrawFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(r,m)=>st(h,r,m),valueToSubLabels:(r,m)=>dt(h,r,m,!1),defaultValue:{selectedOption:i?.withdrawFrom?.id,allOptions:h.map(r=>({label:r.label,value:r.id}))},textAlignment:"right",registerOptions:{required:!0,validate:r=>r!=null&&!!r.selectedOption}}}),t.jsx(J,{}),t.jsx(ct,{showAdditionalInfoLabel:!1,label:{label:C.amount,width:_},formattedTextField:{type:"number",name:V(e,"amount"),defaultValue:i?.recipientAmount??0,placeholder:ke(C.amount),returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:r=>r!=null&&r!==0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,shouldHighlightZeroAmount:!0},style:{width:"auto"}}),t.jsx(J,{}),t.jsx(pt,{label:{label:C.paymentMethod,width:I.labelWidth.value(o)},style:{width:"auto"},disableOutline:!0,paymentSingleSelectField:{name:V(e,"paymentMethod"),placeholder:C.billTypeMethodPlaceholder,defaultValue:i?.paymentType,allPaymentMethods:H,isAdmin:!0,internationalVerificationStatus:p,registerOptions:{required:!0,validate:r=>r!=null},onInternationalWireVerifyClick:()=>{}}}),t.jsx(J,{}),t.jsx(mt,{label:{label:C.paymentDate,width:I.labelWidth.value(o)},style:{paddingBottom:I.paddingBottom.valuePx(o),width:"auto"},dateField:{name:V(e,"paymentDate"),placeholder:C.paymentDate,dateFormat:X,autoComplete:"off",minDate:O.dateNow(),registerOptions:{required:!0}}}),t.jsx(J,{}),t.jsx(ze,{label:{label:C.paymentTo,width:_},style:{width:"auto"},isFunctional:!0,singleSelectField:{singleSelect:{name:V(e,"paymentTo"),placeholder:C.selectAccount,getTooltipInfo:ce,menuPlacement:"top",maxMenuHeight:308,isOptionRemovable:!1,showEyeIconOnSelect:!1,showVerifiedIcon:!0,onClickCreateBankAccount:w,showAddBankAccountOption:!0,showCollectPaymentDetailsOption:!1,getLabelForId:N},defaultValue:{selectedOption:i?.paymentType!=null?i?.paymentTo?.id:"",allOptions:i?.paymentType!=null?se():[]},registerOptions:{required:!0,validate:r=>r?.selectedOption!=null}}}),t.jsx(J,{}),t.jsx(xt,{name:V(e,"receipt"),sizeLimit:ut,deleteFileStatusById:P,updateFileStatusById:f,filesEndPoint:l.filesEndPoint,authParams:l.authParams,label:{label:re.reciept,width:_},filemetadataPayload:{documentType:"id_document",purposeId:"business_verification_others",documentSide:"front"},file:T,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:g,updateFilesEntity:l.updateFilesEntity,onEditFileName:l.onEditFileName,onDeleteFile:l.onDeleteFile,onFileSizeError:r=>Z(r),isOptional:!0,style:T!=null?{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}:void 0},V(e,"receipt")),T==null?t.jsx(Ft,{windowSize:o,isError:g,children:de.formatDocumentText10MB}):null,t.jsx(J,{})]})]})},It=d(be)`
41
+ `,I={containerWidth:new x(343,580,726),labelWidth:new x(120,160,160),largeLabelWidth:new x(150,228,228),largeLabelPickerWidth:new x(100,180,180),paddingBottom:new x(u[3],u[2]),labelMarginLeftPicker:new x(u[3],u[4]),labelMarginRightPicker:new x(u[3],u[4]),labelMarginTopPicker:new x(u[2],u[2]),labeledFieldPaddingLeft:new x(u[0],u[0]),labeledFieldPaddingRight:new x(u[2],u[2]),labeledFieldPaddingTop:new x(u[2],u[2]),labeledFieldPaddingBottom:new x(u[2],u[2]),infoLabelPaddingRight:new x(u[0],u[3]),infoLabelMarginTop:new x(u[1],u[0])},V=(e,i)=>`${e}.${i}`,Pt=({sectionId:e,paymentDetails:i,allPaymentMethods:a,paymentToOptions:s,withdrawFromList:h,internationalVerificationStatus:p,fileProps:l,receiptFile:T,deleteFileStatusById:P,updateFileStatusById:f,onClickAddAccount:w})=>{const o=Q(),{spendManagement:D,dateFormat:y,common:$}=Y.getLocalizedStrings(),C=D.billPay.billDetails,X=y.visual.defaultInput,re=D.zeniAccounts.expressPay,de=$.documents,_=I.largeLabelWidth.value(o),[g,G]=J.useState(!1),H=a.filter(r=>r.method.includes(i?.withdrawFrom?.accType??"depositAccount")&&r.method.includes(O.NEW_INTERNATIONAL_METHOD_SUBTEXT)===!1),k=r=>s.find(m=>m.id===r),N=r=>Ve(k(r)),se=()=>{let r=[];return i?.paymentType?.method.includes("wire")===!0?r=s.filter(m=>!!m.bankRoutingNumberWireTransfer).map(m=>m.id):r=s.filter(m=>!!m.bankRoutingNumberAch).map(m=>m.id),r},ce=r=>{const m=k(r),j=Y.getLocalizedStrings().spendManagement.billPay;return i?.paymentType?.method.includes("ach")===!0?t.jsxs(xe,{children:[t.jsxs(q,{children:[t.jsx(E,{children:j.vendorCreation.achDetails.bankRoutingNumber}),t.jsx(W,{children:m?.bankRoutingNumberAch??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(q,{children:[t.jsx(E,{children:j.vendorCreation.achDetails.bankName}),t.jsx(W,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(q,{children:[t.jsx(E,{children:j.vendorCreation.achDetails.bankAccountNumber}),t.jsx(W,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):i?.paymentType?.method.includes("wire")===!0?i.paymentType?.method.includes("international")===!0?t.jsx(xe,{children:m?.piLabels.map(U=>t.jsxs(q,{children:[t.jsxs(E,{children:[U.name,j.paymentDetails.colon]}),t.jsx(W,{children:U.value})]},U.name))}):t.jsxs(xe,{children:[t.jsxs(q,{children:[t.jsx(E,{children:j.vendorCreation.wireDetails.bankRoutingNumber}),t.jsx(W,{children:m?.bankRoutingNumberWireTransfer??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(q,{children:[t.jsx(E,{children:j.vendorCreation.achDetails.bankName}),t.jsx(W,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(q,{children:[t.jsx(E,{children:j.vendorCreation.wireDetails.accountNumber}),t.jsx(W,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):""};return t.jsxs(t.Fragment,{children:[t.jsx(It,{children:C.paymentDetailsTitle}),t.jsxs(Tt,{windowSize:o,children:[t.jsx(rt,{label:{label:C.withdrawFrom,width:_,style:{marginLeft:I.labelMarginLeftPicker.valuePx(o),marginTop:I.labelMarginTopPicker.valuePx(o),marginRight:I.labelMarginRightPicker.valuePx(o),width:I.largeLabelPickerWidth.value(o)}},style:{paddingTop:I.labeledFieldPaddingTop.valuePx(o),paddingBottom:I.labeledFieldPaddingBottom.valuePx(o),paddingLeft:I.labeledFieldPaddingLeft.valuePx(o),paddingRight:I.labeledFieldPaddingRight.valuePx(o),border:"none",width:"auto",display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:I.infoLabelPaddingRight.valuePx(o),marginTop:I.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:V(e,"withdrawFrom"),placeholder:ke(C.withdrawFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(r,m)=>st(h,r,m),valueToSubLabels:(r,m)=>dt(h,r,m,!1),defaultValue:{selectedOption:i?.withdrawFrom?.id,allOptions:h.map(r=>({label:r.label,value:r.id}))},textAlignment:"right",registerOptions:{required:!0,validate:r=>r!=null&&!!r.selectedOption}}}),t.jsx(Z,{}),t.jsx(ct,{showAdditionalInfoLabel:!1,label:{label:C.amount,width:_},formattedTextField:{type:"number",name:V(e,"amount"),defaultValue:i?.recipientAmount??0,placeholder:ke(C.amount),returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:r=>r!=null&&r!==0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,shouldHighlightZeroAmount:!0},style:{width:"auto"}}),t.jsx(Z,{}),t.jsx(pt,{label:{label:C.paymentMethod,width:I.labelWidth.value(o)},style:{width:"auto"},disableOutline:!0,paymentSingleSelectField:{name:V(e,"paymentMethod"),placeholder:C.billTypeMethodPlaceholder,defaultValue:i?.paymentType,allPaymentMethods:H,isAdmin:!0,internationalVerificationStatus:p,registerOptions:{required:!0,validate:r=>r!=null},onInternationalWireVerifyClick:()=>{}}}),t.jsx(Z,{}),t.jsx(mt,{label:{label:C.paymentDate,width:I.labelWidth.value(o)},style:{paddingBottom:I.paddingBottom.valuePx(o),width:"auto"},dateField:{name:V(e,"paymentDate"),placeholder:C.paymentDate,dateFormat:X,autoComplete:"off",minDate:O.dateNow(),registerOptions:{required:!0}}}),t.jsx(Z,{}),t.jsx(ze,{label:{label:C.paymentTo,width:_},style:{width:"auto"},isFunctional:!0,singleSelectField:{singleSelect:{name:V(e,"paymentTo"),placeholder:C.selectAccount,getTooltipInfo:ce,menuPlacement:"top",maxMenuHeight:308,isOptionRemovable:!1,showEyeIconOnSelect:!1,showVerifiedIcon:!0,onClickCreateBankAccount:w,showAddBankAccountOption:!0,showCollectPaymentDetailsOption:!1,getLabelForId:N},defaultValue:{selectedOption:i?.paymentType!=null?i?.paymentTo?.id:"",allOptions:i?.paymentType!=null?se():[]},registerOptions:{required:!0,validate:r=>r?.selectedOption!=null}}}),t.jsx(Z,{}),t.jsx(xt,{name:V(e,"receipt"),sizeLimit:ut,deleteFileStatusById:P,updateFileStatusById:f,filesEndPoint:l.filesEndPoint,authParams:l.authParams,label:{label:re.reciept,width:_},filemetadataPayload:{documentType:"id_document",purposeId:"business_verification_others",documentSide:"front"},file:T,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:g,updateFilesEntity:l.updateFilesEntity,onEditFileName:l.onEditFileName,onDeleteFile:l.onDeleteFile,onFileSizeError:r=>G(r),isOptional:!0,style:T!=null?{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}:void 0},V(e,"receipt")),T==null?t.jsx(Ft,{windowSize:o,isError:g,children:de.formatDocumentText10MB}):null,t.jsx(Z,{})]})]})},It=d(be)`
42
42
  color: ${e=>e.theme.colors.primary};
43
43
  margin-bottom: ${n.sp3};
44
44
  `,Tt=d.div`
@@ -49,7 +49,7 @@ import{u as Re,e as Q,B as Y,a as Ke,a2 as De,ca as Qe,l as O,j as t,aX as et,F
49
49
  box-shadow: ${e=>`${n.sp0} 2px ${n.sp1} ${e.theme.colors.dropShadowNormal}`};
50
50
  border-radius: ${n.sp2};
51
51
  width: ${e=>I.containerWidth.valuePx(e.windowSize)};
52
- `,J=d.div`
52
+ `,Z=d.div`
53
53
  display: flex;
54
54
  flex: 1;
55
55
  background-color: ${e=>e.theme.colors.grey3};
@@ -79,7 +79,7 @@ import{u as Re,e as Q,B as Y,a as Ke,a2 as De,ca as Qe,l as O,j as t,aX as et,F
79
79
  border-radius: ${n.sp0} ${n.sp0} ${n.sp2} ${n.sp2};
80
80
  text-align: ${e=>e.windowSize==="small"?"initial":"right"};
81
81
  color: ${e=>e.isError?Ee.important:e.theme.colors.grey1};
82
- `,Dt={largeLabelWidth:new x(150,210,210)},ae=(e,i)=>`${e}.${i}`,kt=({sectionId:e,vendorTypeList:i,formLocalData:a,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:h})=>{const p=Q(),l=Y.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,T=Dt.largeLabelWidth.value(p),P=G.useRef();G.useEffect(()=>{s?.entityAutoCompleteView.fetchState==="Completed"&&P.current?.(At(s?.entityAutoCompleteView))},[s?.entityAutoCompleteView.fetchState]);const f={vendorSearchAutoCompleteData:s,loadOptions:(y,$)=>{h?.onAutoCompleteInputChange?.(y,"vendor"),P.current=$}},w=f?.vendorSearchAutoCompleteData?.autoCompleteText!=null&&(f?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="In-Progress"||f?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="Not-Started"),o={defaultOptions:qe(a?.vendorId,a?.vendorName,s?.entityAutoCompleteView),selectedOption:a?.vendorId??a?.vendorName??""},D={valueContainer:y=>({...y,padding:`2px ${p==="small"?n.sp2:n.sp3} !important`,overflow:"unset"}),singleValue:y=>({...y,margin:0}),placeholder:y=>({...y,fontWeight:"normal"})};return t.jsxs(t.Fragment,{children:[t.jsx(Ot,{children:l.recipientSectionTitle}),t.jsx(Lt,{children:t.jsxs(Nt,{children:[t.jsx(lt,{label:{label:l.recipientName,width:T},addIconInCreateLabel:!0,autoCompleteSingleSelectField:{name:ae(e,"recipient"),placeholder:p==="small"?l.placeholders.recipientNameMobile:l.placeholders.recipientName,valueToId:y=>y,defaultValue:{...o},style:{width:"100%"},customStyleConfig:D,registerOptions:{required:!0,validate:y=>y!=null&&!!y.selectedOption},loadOptions:f?.loadOptions,isOptionsLoading:w,makeCreateOptionSticky:!0,entity:"recipient"},style:{justifyContent:"space-between"},fullWidthSelect:!0},ae(e,"recipient")),t.jsx(Ne,{}),t.jsx(ze,{label:{label:l.recipientType,width:T},singleSelectField:{singleSelect:{name:ae(e,"recipientType"),placeholder:l.placeholders.recipientType,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:y=>i.find($=>$.code===y)?.name??"",showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:a?.vendorType,allOptions:i.map(y=>y.code)},registerOptions:{required:!0,validate:y=>!!y.selectedOption}},isFunctional:!0}),t.jsx(Ne,{}),t.jsx(ot,{showAdditionalInfoLabel:!1,label:{label:l.recipientEmail,width:T},text:{type:"email",name:ae(e,"recipientEmail"),placeholder:l.placeholders.recipientEmail,options:{required:!0}},style:{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}})]})})]})},qe=(e,i,a)=>{if(e==null)return[];const s=a?.vendor?.find(h=>h.id===e);return s!=null||e!=null?[{label:s?.name??i??e??"",value:e??i??""}]:[]},At=e=>e?.vendor.map(i=>({label:i.name,value:i.zeniId,zeniId:i.zeniId}))??[],Ot=d(be)`
82
+ `,Dt={largeLabelWidth:new x(150,210,210)},ae=(e,i)=>`${e}.${i}`,kt=({sectionId:e,vendorTypeList:i,formLocalData:a,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:h})=>{const p=Q(),l=Y.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,T=Dt.largeLabelWidth.value(p),P=J.useRef();J.useEffect(()=>{s?.entityAutoCompleteView.fetchState==="Completed"&&P.current?.(At(s?.entityAutoCompleteView))},[s?.entityAutoCompleteView.fetchState]);const f={vendorSearchAutoCompleteData:s,loadOptions:(y,$)=>{h?.onAutoCompleteInputChange?.(y,"vendor"),P.current=$}},w=f?.vendorSearchAutoCompleteData?.autoCompleteText!=null&&(f?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="In-Progress"||f?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="Not-Started"),o={defaultOptions:qe(a?.vendorId,a?.vendorName,s?.entityAutoCompleteView),selectedOption:a?.vendorId??a?.vendorName??""},D={valueContainer:y=>({...y,padding:`2px ${p==="small"?n.sp2:n.sp3} !important`,overflow:"unset"}),singleValue:y=>({...y,margin:0}),placeholder:y=>({...y,fontWeight:"normal"})};return t.jsxs(t.Fragment,{children:[t.jsx(Ot,{children:l.recipientSectionTitle}),t.jsx(Lt,{children:t.jsxs(Nt,{children:[t.jsx(lt,{label:{label:l.recipientName,width:T},addIconInCreateLabel:!0,autoCompleteSingleSelectField:{name:ae(e,"recipient"),placeholder:p==="small"?l.placeholders.recipientNameMobile:l.placeholders.recipientName,valueToId:y=>y,defaultValue:{...o},style:{width:"100%"},customStyleConfig:D,registerOptions:{required:!0,validate:y=>y!=null&&!!y.selectedOption},loadOptions:f?.loadOptions,isOptionsLoading:w,makeCreateOptionSticky:!0,entity:"recipient"},style:{justifyContent:"space-between"},fullWidthSelect:!0},ae(e,"recipient")),t.jsx(Ne,{}),t.jsx(ze,{label:{label:l.recipientType,width:T},singleSelectField:{singleSelect:{name:ae(e,"recipientType"),placeholder:l.placeholders.recipientType,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:y=>i.find($=>$.code===y)?.name??"",showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:a?.vendorType,allOptions:i.map(y=>y.code)},registerOptions:{required:!0,validate:y=>!!y.selectedOption}},isFunctional:!0}),t.jsx(Ne,{}),t.jsx(ot,{showAdditionalInfoLabel:!1,label:{label:l.recipientEmail,width:T},text:{type:"email",name:ae(e,"recipientEmail"),placeholder:l.placeholders.recipientEmail,options:{required:!0}},style:{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}})]})})]})},qe=(e,i,a)=>{if(e==null)return[];const s=a?.vendor?.find(h=>h.id===e);return s!=null||e!=null?[{label:s?.name??i??e??"",value:e??i??""}]:[]},At=e=>e?.vendor.map(i=>({label:i.name,value:i.zeniId,zeniId:i.zeniId}))??[],Ot=d(be)`
83
83
  color: ${e=>e.theme.colors.primary};
84
84
  margin-bottom: ${n.sp3};
85
85
  `,Lt=d.div`
@@ -157,7 +157,7 @@ import{u as Re,e as Q,B as Y,a as Ke,a2 as De,ca as Qe,l as O,j as t,aX as et,F
157
157
  display: flex;
158
158
  color: ${e=>e.theme.colors.primary};
159
159
  margin-right: ${n.sp1};
160
- `,Me="expressPayPage",Ht=e=>`${e}_form`,L="recipientDetails",F="paymentDetails",le={buttonWidth:new x(160,140),largeButtonWidth:new x(166,166)},oi=({expressPayDetails:e,fileProps:i,analytics:a,accountId:s,onClickAddAccount:h,onSaveVendor:p,onVendorSelected:l,updateSelectedVendorForCreate:T,onBackClick:P,saveVendorDetailLocalData:f,saveExpressPayLocalData:w,resetVendorSaveStatus:o,onSchedulePayment:D,initializeVendorAddress:y,vendorSearchAutoCompleteData:$,vendorSearchAutoCompleteActions:C,onEditFileName:X,onDeleteFile:re,updateFilesEntity:de})=>{const{vendorViewDetails:_,expressPayLocalData:g,vendorTypeList:Z,allPaymentMethods:H,paymentToOptions:k,withdrawFromList:N,internationalWireOnboardingStatus:se,deleteFileStatusById:ce,updateFileStatusById:r,submitStatus:m,receiptFile:j,vendorSaveStatus:U}=e,[v,ee]=G.useState(0),Ye=Re(),K=Q(),{common:we,spendManagement:_e}=Y.getLocalizedStrings(),pe=we.footer,ve=we.currency,me=_e.zeniAccounts.expressPay,{editVendorState:Se,newVendorState:je}=_,M=g?.vendorId!=null?Se?.vendorDetailLocalData:je?.vendorDetailLocalData,$e=Object.assign({},Se??je),He=M?.vendorName,Ce=N.find(c=>c.id===s),te=Ke({mode:"onBlur",reValidateMode:"onChange",defaultValues:Be(Z,N,k,Ce,H,M,g,j,$?.entityAutoCompleteView),values:Be(Z,N,k,Ce,H,M,g,j,$?.entityAutoCompleteView)}),Pe=De($e.saveStatus?.fetchState),Ie=De(m);G.useEffect(()=>{const c=te.watch((S,{name:b})=>{b!=null&&S!=null&&Qe(()=>Ue(b,S))});return()=>{c.unsubscribe()}}),G.useEffect(()=>{Pe==="In-Progress"&&U==="Completed"&&(v===0?(ee(1),o?.(g?.vendorId)):v===1&&ee(2)),Ie==="In-Progress"&&m==="Completed"&&P(g?.vendorId)},[Pe,U,v,o,g?.vendorId,Ie,m,P]);const Ue=async(c,S)=>{if(c!=="recipientDetails.recipientEmail")if(c==="recipientDetails.recipient"){const b=S[L].recipient.selectedOption,A=$?.entityAutoCompleteView.vendor.find(B=>B.zeniId===b);Je(S),y(),M?.vendorId!==b&&A!=null&&(l?.(b),he(S,!1,k,b))}else if(c.includes("recipient"))ue(S);else{const b=S[F].paymentMethod?.method,A=g?.paymentType?.method,B=b!=null&&A!=null&&(b.toLowerCase().includes("ach")&&A.toLowerCase().includes("wire")||b.toLowerCase().includes("wire")&&A.toLowerCase().includes("ach"));he(S,B,k,g?.vendorId)}},Je=c=>{const S=c[L].recipient.selectedOption,b=$?.entityAutoCompleteView.vendor.find(A=>A.id===S)!=null;if(S!=null&&b===!0){T?.(S),he(c,!1,k,S);return}ue(c,!0)},ue=(c,S)=>{const b=M?.vendorId,A=$?.entityAutoCompleteView.vendor.find(ye=>ye.zeniId===b)!=null,B=Ut(c,A===!0?b:void 0,M,S);f?.(B,b)},he=(c,S,b,A)=>{const B=(()=>{let R=[];return c[F].paymentMethod?.method.includes("wire")===!0?R=b.filter(z=>!!z.bankRoutingNumberWireTransfer).map(z=>z.id):R=b.filter(z=>!!z.bankRoutingNumberAch).map(z=>z.id),R})(),ye=b.find(R=>R.id===c[F]?.paymentTo?.selectedOption),Ze={vendorId:A,amount:{amount:c[F].amount,currencyCode:ve.currencyCode,currencySymbol:ve.currencySymbol},paymentDate:c[F].paymentDate?O.zeniDate(c[F].paymentDate.toString()):O.dateNow(),paymentType:c[F]?.paymentMethod!=null?c[F]?.paymentMethod:void 0,paymentToAccountId:S?B[0]:ye?.id,withdrawFrom:N.find(R=>R.id===c[F]?.withdrawFrom?.selectedOption),receiptFileId:c[F].receipt?.fileId};w?.(Ze)},Te=te.handleSubmit(()=>{if(v===0||v===1){a.trackExpressPayNextClick(v===0?"Recipient Details":"Payment Details");const c=te.getValues();ue(c),p(g?.vendorId)}else a.trackExpressPayScheduleClick(),D()}),Ge=()=>{v===2?ee(1):P(g?.vendorId)},Xe=()=>{v===0?P(g?.vendorId):ee(v===1?0:1)},Fe={withdrawFrom:g?.withdrawFrom,paymentTo:g?.paymentToAccountId!=null?k.find(c=>c.id===g?.paymentToAccountId):void 0,paymentDate:g?.paymentDate,paymentType:g?.paymentType??H?.[0],recipientAmount:g?.amount?.amount};return t.jsxs(t.Fragment,{children:[t.jsx(et,{title:me.pageTitle,onBackClick:Xe,backgroundColor:Ye.colors.grey4,hideSearchBtn:!0,source:"ExpressPayPage"}),t.jsxs(Jt,{windowSize:K,children:[t.jsx(bt,{pageIndex:v}),t.jsx(tt,{...te,children:t.jsx("form",{id:Me,onSubmit:Te,children:v===0?t.jsx(kt,{sectionId:L,vendorTypeList:Z,formLocalData:M,vendorSearchAutoCompleteData:$,vendorSearchAutoCompleteActions:C}):v===1?t.jsx(Pt,{sectionId:F,paymentDetails:Fe,paymentToOptions:k,allPaymentMethods:H,withdrawFromList:N,internationalVerificationStatus:se,fileProps:{...i,onEditFileName:X,onDeleteFile:re,updateFilesEntity:de},deleteFileStatusById:ce,updateFileStatusById:r,receiptFile:j,onClickAddAccount:()=>{const c=Fe?.paymentType;c!=null&&h(c)}}):v===2?t.jsx(Mt,{reviewDetails:g,paymentToOptions:k,vendorName:He}):null})})]}),t.jsx(it,{formId:Ht(Me),style:{width:"100%"},primaryBtn:{label:v===2?O.dateNow().isSame(g?.paymentDate,"date")?me.sendMoney:me.schedulePayment:pe.next,isLoading:v===0||v===1?$e.saveStatus?.fetchState==="In-Progress":m==="In-Progress",style:{width:v===2?le.largeButtonWidth.value(K):le.buttonWidth.value(K),whiteSpace:"nowrap"},isDisabled:!1,onClick:()=>{Te()}},cancelBtn:{label:v===2?pe.edit:pe.cancel,style:{width:v===2?le.largeButtonWidth.value(K):le.buttonWidth.value(K),whiteSpace:"nowrap"},shouldResetOnCancel:!1,onClick:Ge}})]})},Be=(e,i,a,s,h,p,l,T,P)=>{const f=(()=>{let w=[];return l?.paymentType?.method.includes("wire")===!0?w=a.filter(o=>!!o.bankRoutingNumberWireTransfer).map(o=>o.id):w=a.filter(o=>!!o.bankRoutingNumberAch).map(o=>o.id),w})();return{[L]:{recipient:{defaultOptions:qe(p?.vendorId,p?.vendorName,P),selectedOption:p?.vendorId??p?.vendorName??""},recipientEmail:p?.contacts?.[0]?.email??"",recipientName:p?.vendorName??"",recipientType:{allOptions:e.map(w=>w.code),selectedOption:p?.vendorType}},[F]:{paymentMethod:l?.paymentType??h?.[0],withdrawFrom:{selectedOption:l?.withdrawFrom?.id??s?.id??i[0]?.id,allOptions:i.map(w=>({label:w.label,value:w.id}))},amount:l?.amount.amount??0,paymentDate:l?.paymentDate?.toDate()??O.getNextNthWorkingDay(O.dateNow().toDate(),[0,6],0),paymentTo:{allOptions:l?.paymentType!=null?f:[],selectedOption:l?.paymentToAccountId??f[0]},receipt:T}}};function Ut(e,i,a,s){const h=e[L].recipient.defaultOptions.find(p=>p.value===e[L].recipient.selectedOption);return{vendorType:s===!0?void 0:e[L].recipientType.selectedOption,vendorId:i,vendorName:h?.label??a?.vendorName,contacts:s===!0?[]:[{fullName:"",email:e[L].recipientEmail,phone:""}],bankAccountIds:s===!0?[]:a?.bankAccountIds??[],paymentInstrumentIds:s===!0?[]:a?.paymentInstrumentIds??[],vendorOwner:s===!0?void 0:a?.vendorOwner,isVendor1099:a?.isVendor1099,documentIds:a?.documentIds??[],fileIdsToBeDeleted:a?.fileIdsToBeDeleted??[],countryCode:s===!0?void 0:a?.countryCode,currencyCode:a?.currencyCode,currencySymbol:s===!0?void 0:a?.currencySymbol,deleteFileStatusById:a?.deleteFileStatusById??{},updateFileStatusById:a?.updateFileStatusById??{},recommendedCategory:a?.recommendedCategory,recommendedClass:a?.recommendedClass,isCategoryUpdateSelected:a?.isCategoryUpdateSelected??!1,isClassUpdateSelected:a?.isClassUpdateSelected??!1,isCategoryRecommendationPrefilled:a?.isCategoryRecommendationPrefilled??!0,isClassRecommendationPrefilled:a?.isClassRecommendationPrefilled??!0}}const Jt=d.div`
160
+ `,Me="expressPayPage",Ht=e=>`${e}_form`,L="recipientDetails",F="paymentDetails",le={buttonWidth:new x(160,140),largeButtonWidth:new x(166,166)},oi=({expressPayDetails:e,fileProps:i,analytics:a,accountId:s,onClickAddAccount:h,onSaveVendor:p,onVendorSelected:l,updateSelectedVendorForCreate:T,onBackClick:P,saveVendorDetailLocalData:f,saveExpressPayLocalData:w,resetVendorSaveStatus:o,onSchedulePayment:D,initializeVendorAddress:y,vendorSearchAutoCompleteData:$,vendorSearchAutoCompleteActions:C,onEditFileName:X,onDeleteFile:re,updateFilesEntity:de})=>{const{vendorViewDetails:_,expressPayLocalData:g,vendorTypeList:G,allPaymentMethods:H,paymentToOptions:k,withdrawFromList:N,internationalWireOnboardingStatus:se,deleteFileStatusById:ce,updateFileStatusById:r,submitStatus:m,receiptFile:j,vendorSaveStatus:U}=e,[v,ee]=J.useState(0),Ye=Re(),K=Q(),{common:we,spendManagement:_e}=Y.getLocalizedStrings(),pe=we.footer,ve=we.currency,me=_e.zeniAccounts.expressPay,{editVendorState:Se,newVendorState:je}=_,M=g?.vendorId!=null?Se?.vendorDetailLocalData:je?.vendorDetailLocalData,$e=Object.assign({},Se??je),He=M?.vendorName,Ce=N.find(c=>c.id===s),te=Ke({mode:"onBlur",reValidateMode:"onChange",defaultValues:Be(G,N,k,Ce,H,M,g,j,$?.entityAutoCompleteView),values:Be(G,N,k,Ce,H,M,g,j,$?.entityAutoCompleteView)}),Pe=De($e.saveStatus?.fetchState),Ie=De(m);J.useEffect(()=>{const c=te.watch((S,{name:b})=>{b!=null&&S!=null&&Qe(()=>Ue(b,S))});return()=>{c.unsubscribe()}}),J.useEffect(()=>{Pe==="In-Progress"&&U==="Completed"&&(v===0?(ee(1),o?.(g?.vendorId)):v===1&&ee(2)),Ie==="In-Progress"&&m==="Completed"&&P(g?.vendorId)},[Pe,U,v,o,g?.vendorId,Ie,m,P]);const Ue=async(c,S)=>{if(c!=="recipientDetails.recipientEmail")if(c==="recipientDetails.recipient"){const b=S[L].recipient.selectedOption,A=$?.entityAutoCompleteView.vendor.find(B=>B.zeniId===b);Ze(S),y(),M?.vendorId!==b&&A!=null&&(l?.(b),he(S,!1,k,b))}else if(c.includes("recipient"))ue(S);else{const b=S[F].paymentMethod?.method,A=g?.paymentType?.method,B=b!=null&&A!=null&&(b.toLowerCase().includes("ach")&&A.toLowerCase().includes("wire")||b.toLowerCase().includes("wire")&&A.toLowerCase().includes("ach"));he(S,B,k,g?.vendorId)}},Ze=c=>{const S=c[L].recipient.selectedOption,b=$?.entityAutoCompleteView.vendor.find(A=>A.id===S)!=null;if(S!=null&&b===!0){T?.(S),he(c,!1,k,S);return}ue(c,!0)},ue=(c,S)=>{const b=M?.vendorId,A=$?.entityAutoCompleteView.vendor.find(ye=>ye.zeniId===b)!=null,B=Ut(c,A===!0?b:void 0,M,S);f?.(B,b)},he=(c,S,b,A)=>{const B=(()=>{let R=[];return c[F].paymentMethod?.method.includes("wire")===!0?R=b.filter(z=>!!z.bankRoutingNumberWireTransfer).map(z=>z.id):R=b.filter(z=>!!z.bankRoutingNumberAch).map(z=>z.id),R})(),ye=b.find(R=>R.id===c[F]?.paymentTo?.selectedOption),Ge={vendorId:A,amount:{amount:c[F].amount,currencyCode:ve.currencyCode,currencySymbol:ve.currencySymbol},paymentDate:c[F].paymentDate?O.zeniDate(c[F].paymentDate.toString()):O.dateNow(),paymentType:c[F]?.paymentMethod!=null?c[F]?.paymentMethod:void 0,paymentToAccountId:S?B[0]:ye?.id,withdrawFrom:N.find(R=>R.id===c[F]?.withdrawFrom?.selectedOption),receiptFileId:c[F].receipt?.fileId};w?.(Ge)},Te=te.handleSubmit(()=>{if(v===0||v===1){a.trackExpressPayNextClick(v===0?"Recipient Details":"Payment Details");const c=te.getValues();ue(c),p(g?.vendorId)}else a.trackExpressPayScheduleClick(),D()}),Je=()=>{v===2?ee(1):P(g?.vendorId)},Xe=()=>{v===0?P(g?.vendorId):ee(v===1?0:1)},Fe={withdrawFrom:g?.withdrawFrom,paymentTo:g?.paymentToAccountId!=null?k.find(c=>c.id===g?.paymentToAccountId):void 0,paymentDate:g?.paymentDate,paymentType:g?.paymentType??H?.[0],recipientAmount:g?.amount?.amount};return t.jsxs(t.Fragment,{children:[t.jsx(et,{title:me.pageTitle,onBackClick:Xe,backgroundColor:Ye.colors.grey4,hideSearchBtn:!0,source:"ExpressPayPage"}),t.jsxs(Zt,{windowSize:K,children:[t.jsx(bt,{pageIndex:v}),t.jsx(tt,{...te,children:t.jsx("form",{id:Me,onSubmit:Te,children:v===0?t.jsx(kt,{sectionId:L,vendorTypeList:G,formLocalData:M,vendorSearchAutoCompleteData:$,vendorSearchAutoCompleteActions:C}):v===1?t.jsx(Pt,{sectionId:F,paymentDetails:Fe,paymentToOptions:k,allPaymentMethods:H,withdrawFromList:N,internationalVerificationStatus:se,fileProps:{...i,onEditFileName:X,onDeleteFile:re,updateFilesEntity:de},deleteFileStatusById:ce,updateFileStatusById:r,receiptFile:j,onClickAddAccount:()=>{const c=Fe?.paymentType;c!=null&&h(c)}}):v===2?t.jsx(Mt,{reviewDetails:g,paymentToOptions:k,vendorName:He}):null})})]}),t.jsx(it,{formId:Ht(Me),style:{width:"100%"},primaryBtn:{label:v===2?O.dateNow().isSame(g?.paymentDate,"date")?me.sendMoney:me.schedulePayment:pe.next,isLoading:v===0||v===1?$e.saveStatus?.fetchState==="In-Progress":m==="In-Progress",style:{width:v===2?le.largeButtonWidth.value(K):le.buttonWidth.value(K),whiteSpace:"nowrap"},isDisabled:!1,onClick:()=>{Te()}},cancelBtn:{label:v===2?pe.edit:pe.cancel,style:{width:v===2?le.largeButtonWidth.value(K):le.buttonWidth.value(K),whiteSpace:"nowrap"},shouldResetOnCancel:!1,onClick:Je}})]})},Be=(e,i,a,s,h,p,l,T,P)=>{const f=(()=>{let w=[];return l?.paymentType?.method.includes("wire")===!0?w=a.filter(o=>!!o.bankRoutingNumberWireTransfer).map(o=>o.id):w=a.filter(o=>!!o.bankRoutingNumberAch).map(o=>o.id),w})();return{[L]:{recipient:{defaultOptions:qe(p?.vendorId,p?.vendorName,P),selectedOption:p?.vendorId??p?.vendorName??""},recipientEmail:p?.contacts?.[0]?.email??"",recipientName:p?.vendorName??"",recipientType:{allOptions:e.map(w=>w.code),selectedOption:p?.vendorType}},[F]:{paymentMethod:l?.paymentType??h?.[0],withdrawFrom:{selectedOption:l?.withdrawFrom?.id??s?.id??i[0]?.id,allOptions:i.map(w=>({label:w.label,value:w.id}))},amount:l?.amount.amount??0,paymentDate:l?.paymentDate?.toDate()??O.getNextNthWorkingDay(O.dateNow().toDate(),[0,6],0),paymentTo:{allOptions:l?.paymentType!=null?f:[],selectedOption:l?.paymentToAccountId??f[0]},receipt:T}}};function Ut(e,i,a,s){const h=e[L].recipient.defaultOptions.find(p=>p.value===e[L].recipient.selectedOption);return{vendorType:s===!0?void 0:e[L].recipientType.selectedOption,vendorId:i,vendorName:h?.label??a?.vendorName,contacts:s===!0?[]:[{fullName:"",email:e[L].recipientEmail,phone:""}],bankAccountIds:s===!0?[]:a?.bankAccountIds??[],paymentInstrumentIds:s===!0?[]:a?.paymentInstrumentIds??[],vendorOwner:s===!0?void 0:a?.vendorOwner,isVendor1099:a?.isVendor1099,documentIds:a?.documentIds??[],fileIdsToBeDeleted:a?.fileIdsToBeDeleted??[],countryCode:s===!0?void 0:a?.countryCode,currencyCode:a?.currencyCode,currencySymbol:s===!0?void 0:a?.currencySymbol,deleteFileStatusById:a?.deleteFileStatusById??{},updateFileStatusById:a?.updateFileStatusById??{},recommendedCategory:a?.recommendedCategory,recommendedClass:a?.recommendedClass,isCategoryUpdateSelected:a?.isCategoryUpdateSelected??!1,isClassUpdateSelected:a?.isClassUpdateSelected??!1,isCategoryRecommendationPrefilled:a?.isCategoryRecommendationPrefilled??!0,isClassRecommendationPrefilled:a?.isClassRecommendationPrefilled??!0}}const Zt=d.div`
161
161
  display: flex;
162
162
  flex-wrap: wrap;
163
163
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{u as v,e as f,B as k,a8 as s,g as n,j as e,bV as y,C as p,bX as _,bY as x,q as c}from"./index-CfctPHbv.js";import{n as l}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const i={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(c[0],c[0],255),popupContainerWidth:new p(100,100,85)},z=l.div`
1
+ import{u as v,e as f,B as k,a8 as s,g as n,j as e,bV as y,C as p,bX as _,bY as x,q as c}from"./index-C7jkqxrR.js";import{n as l}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";const i={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(c[0],c[0],255),popupContainerWidth:new p(100,100,85)},z=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{j as l,e as q,B as X,cn as A,cv as _,u as ee,ct as J,C as S,fN as Z,o as i,$ as B,ej as ce,O as le,fG as pe,fH as ue,K as he,g as u,q as g,g7 as ge,cu as be,cw as ye,p as ve,b3 as we,v as G,dj as $e,b4 as me,b1 as ke}from"./index-CfctPHbv.js";import{b as V,n as d}from"./vendor-rkTZJa59.js";const v={width:new S(343,580,726),height:new S(g[6],g[6]),controlHeight:new S(g[6],g[6]),paddingLeftRight:new S(g[3],g[4]),paddingTop:new S(g[3],g[3]),paddingBottom:new S(g[3],g[2]),labelMarginRight:new S(g[3],g[4])};function je({isDisabled:e,label:o,firstText:t,secondText:p,style:$,isFieldError:k}){const m=q(),{formState:{errors:j}}=A(),f=_(j,t.name),T=_(j,p.name),r=ee();return l.jsxs(Te,{size:m,style:$,isDisabled:e!=null,isErrorFirstText:f,isErrorSecondText:T,"data-testid":B("labeled-multi-text-field",t.name),children:[l.jsx(J,{isDisabled:e,label:o.label,style:{marginRight:v.labelMarginRight.value(m),width:o.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:o.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||f&&t.additionalErrorLabel?l.jsx(oe,{isError:f,children:f?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Le,{children:[l.jsx(se,{}),l.jsx(Se,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
1
+ import{j as l,e as H,B as X,cn as q,cv as G,u as ee,ct as J,C as S,fO as Z,o as i,$ as B,ek as ce,O as le,fH as pe,fI as ue,K as he,g as u,q as g,g8 as ge,cu as be,cw as ye,p as ve,b3 as we,v as _,dj as $e,b4 as me,b1 as ke}from"./index-C7jkqxrR.js";import{b as V,n as d}from"./vendor-rkTZJa59.js";const v={width:new S(343,580,726),height:new S(g[6],g[6]),controlHeight:new S(g[6],g[6]),paddingLeftRight:new S(g[3],g[4]),paddingTop:new S(g[3],g[3]),paddingBottom:new S(g[3],g[2]),labelMarginRight:new S(g[3],g[4])};function je({isDisabled:e,label:o,firstText:t,secondText:p,style:$,isFieldError:k}){const m=H(),{formState:{errors:j}}=q(),f=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:m,style:$,isDisabled:e!=null,isErrorFirstText:f,isErrorSecondText:T,"data-testid":B("labeled-multi-text-field",t.name),children:[l.jsx(J,{isDisabled:e,label:o.label,style:{marginRight:v.labelMarginRight.value(m),width:o.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:o.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||f&&t.additionalErrorLabel?l.jsx(oe,{isError:f,children:f?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Le,{children:[l.jsx(se,{}),l.jsx(Se,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
@@ -95,7 +95,7 @@ import{j as l,e as q,B as X,cn as A,cv as _,u as ee,ct as J,C as S,fN as Z,o as
95
95
  color: ${e=>e.isError?u.important:e.theme.colors.hero};
96
96
  white-space: pre-line;
97
97
  margin-top: ${i.sp1};
98
- `;function Ie({isDisabled:e,label:o,firstText:t,secondText:p,style:$,isFieldError:k}){const m=q(),{formState:{errors:j}}=A(),f=_(j,t.name),T=_(j,p.name),r=ee();return l.jsxs(Ee,{size:m,style:$,isDisabled:e!=null,isErrorFirstText:f,isErrorSecondText:T,children:[l.jsx(J,{isDisabled:e,label:o.label,style:{marginRight:v.labelMarginRight.value(m),width:o.width??"auto",color:r.colors.champion}}),l.jsxs(De,{labelWidth:o.width,children:[p.hideField?null:l.jsxs(Ce,{children:[l.jsx(de,{}),l.jsx(ze,{isAdditionalLabel:(!!t.additionalInfoLabel&&t.isDisabled)===!0}),l.jsx(de,{})]}),l.jsxs(Ue,{children:[l.jsxs(ae,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||f&&t.additionalErrorLabel?l.jsx(ne,{isError:f,children:f?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(ae,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(ne,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Ee=d.div`
98
+ `;function Ie({isDisabled:e,label:o,firstText:t,secondText:p,style:$,isFieldError:k}){const m=H(),{formState:{errors:j}}=q(),f=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Ee,{size:m,style:$,isDisabled:e!=null,isErrorFirstText:f,isErrorSecondText:T,children:[l.jsx(J,{isDisabled:e,label:o.label,style:{marginRight:v.labelMarginRight.value(m),width:o.width??"auto",color:r.colors.champion}}),l.jsxs(De,{labelWidth:o.width,children:[p.hideField?null:l.jsxs(Ce,{children:[l.jsx(de,{}),l.jsx(ze,{isAdditionalLabel:(!!t.additionalInfoLabel&&t.isDisabled)===!0}),l.jsx(de,{})]}),l.jsxs(Ue,{children:[l.jsxs(ae,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||f&&t.additionalErrorLabel?l.jsx(ne,{isError:f,children:f?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(ae,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(ne,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Ee=d.div`
99
99
  display: flex;
100
100
  flex-direction: column;
101
101
  align-items: flex-start;
@@ -198,7 +198,7 @@ import{j as l,e as q,B as X,cn as A,cv as _,u as ee,ct as J,C as S,fN as Z,o as
198
198
  color: ${e=>e.isError?u.important:e.theme.colors.hero};
199
199
  white-space: pre-line;
200
200
  margin-top: ${i.sp1};
201
- `;function pl(e){return q()==="small"?l.jsx(Ie,{...e}):l.jsx(je,{...e})}const Ne=({allOptions:e,selectedValue:o,name:t,onSelectedValueChanged:p,valueToLabel:$,disable:k=!1,defaultMenuIsOpen:m,placeholderLabel:j})=>{const{formState:{errors:f}}=A(),T=_(f,t??""),r=ee(),[L,E]=V.useState(void 0),[b,H]=V.useState(m),z=n=>n.map(w=>N(w)),N=V.useCallback(n=>({value:n,label:$(n)}),[$]);V.useEffect(()=>{const n=o==null?void 0:N(o);E(n?.label===""?void 0:n)},[o,$,N]);const W=n=>{p(n)},I=r.colors.grey5,M=r.colors.grey5,R=G.smallRegular,D=G.extraSmallRegular,F={control:(n,{selectProps:w})=>({...n,border:0,height:g[6],backgroundColor:w.menuIsOpen===!0?r.colors.background:T===!0?u.importantLight:r.colors.background,boxShadow:M,":hover":{fill:r.colors.primary,backgroundColor:r.colors.background,borderColor:"none"},width:"auto",minHeight:"auto",cursor:"pointer"}),container:n=>({...n,backgroundColor:M,width:"100%"}),singleValue:(n,{data:w})=>({...n,alignItems:"center",margin:`${i.sp0}`,height:`${i.sp4}`,color:w.value==="require_approval"?u.alertDark:u.successDark,...G.standardRegular.cssObject,width:"100%",textOverflow:"ellipsis"}),valueContainer:(n,{selectProps:w})=>({...n,maxWidth:"100%",cursor:"pointer",...D,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:w.menuIsOpen===!1?"flex-end":"flex-start",alignItems:"center",flexWrap:"nowrap",paddingLeft:i.sp3,marginRight:i.sp3,width:" -webkit-fill-available"}),menu:n=>({...n,backgroundColor:I,borderRadius:4,boxShadow:`${i.sp0} 2px ${i.sp2} ${r.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,margin:0,width:"100%",WebkitJustifyContent:"unset",overflow:"hidden"}),menuList:n=>({...n,borderRadius:10}),placeholder:n=>({...n,width:"100%",height:g[4],...G.standardRegular.cssObject,color:T===!0?u.important:r.colors.grey1,display:"flex",justifyContent:"flex-start",alignItems:"center"}),option:(n,{isSelected:w,isFocused:U,isDisabled:C,data:s})=>({...n,...R,height:g[6],color:s.value==="require_approval"?u.alertDark:u.successDark,backgroundColor:w||U?r.colors.background:I,cursor:C?"not-allowed":"pointer",borderTop:s.topBorder===!0?`1px solid ${u.optionBorderLight}`:"none",":hover":{backgroundColor:r.colors.background},":first-div":{width:"100%"},"& label":{flex:1,paddingRight:"10px",cursor:C?"not-allowed":w?"default":"pointer"},zIndex:2}),input:(n,w)=>({color:r.colors.primary,overflow:"hidden",zIndex:2,height:g[4],width:w.selectProps.menuIsOpen?"auto":"0",position:"absolute",display:"flex",alignItems:"center",...G.standardRegular.cssObject})};return l.jsx(ve,{onClickAway:()=>{H(!1)},children:l.jsx(we,{isMulti:!1,onChange:n=>{W(n)},minMenuHeight:208,menuPlacement:"auto",menuShouldScrollIntoView:!1,defaultValue:L,value:L,placeholder:j,components:{Option:Fe,DropdownIndicator:Ae,IndicatorSeparator:He,SingleValue:Re},hideSelectedOptions:!1,styles:F,options:z(e),isClearable:!1,isSearchable:!1,isDisabled:k,defaultMenuIsOpen:b,"data-testid":B("single-select",t)},$e())})},Re=({children:e,...o})=>l.jsx(me.SingleValue,{...o,children:e}),Fe=e=>{const{data:o,options:t,isFocused:p,label:$,isSelected:k}=e,m=t.find(f=>f.value===o.value),j=typeof o.label=="string"?o.label:o.value;return l.jsxs(me.Option,{...e,children:[l.jsxs(Pe,{"data-testid":B("single-select-option",j),children:[l.jsxs(Ve,{children:[l.jsx("label",{children:$}),p===!0&&m?.id!=null&&l.jsx(Be,{children:m.id})]}),k?l.jsx(Me,{children:l.jsx(qe,{className:"tick-icon"})}):null]}),m.additionalInfo!==""&&l.jsx(l.Fragment,{children:m.additionalInfo})]})},Pe=d.div`
201
+ `;function pl(e){return H()==="small"?l.jsx(Ie,{...e}):l.jsx(je,{...e})}const Ne=({allOptions:e,selectedValue:o,name:t,onSelectedValueChanged:p,valueToLabel:$,disable:k=!1,defaultMenuIsOpen:m,placeholderLabel:j})=>{const{formState:{errors:f}}=q(),T=G(f,t??""),r=ee(),[L,E]=V.useState(void 0),[b,A]=V.useState(m),z=n=>n.map(w=>N(w)),N=V.useCallback(n=>({value:n,label:$(n)}),[$]);V.useEffect(()=>{const n=o==null?void 0:N(o);E(n?.label===""?void 0:n)},[o,$,N]);const W=n=>{p(n)},I=r.colors.grey5,M=r.colors.grey5,R=_.smallRegular,D=_.extraSmallRegular,F={control:(n,{selectProps:w})=>({...n,border:0,height:g[6],backgroundColor:w.menuIsOpen===!0?r.colors.background:T===!0?u.importantLight:r.colors.background,boxShadow:M,":hover":{fill:r.colors.primary,backgroundColor:r.colors.background,borderColor:"none"},width:"auto",minHeight:"auto",cursor:"pointer"}),container:n=>({...n,backgroundColor:M,width:"100%"}),singleValue:(n,{data:w})=>({...n,alignItems:"center",margin:`${i.sp0}`,height:`${i.sp4}`,color:w.value==="require_approval"?u.alertDark:u.successDark,..._.standardRegular.cssObject,width:"100%",textOverflow:"ellipsis"}),valueContainer:(n,{selectProps:w})=>({...n,maxWidth:"100%",cursor:"pointer",...D,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:w.menuIsOpen===!1?"flex-end":"flex-start",alignItems:"center",flexWrap:"nowrap",paddingLeft:i.sp3,marginRight:i.sp3,width:" -webkit-fill-available"}),menu:n=>({...n,backgroundColor:I,borderRadius:4,boxShadow:`${i.sp0} 2px ${i.sp2} ${r.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,margin:0,width:"100%",WebkitJustifyContent:"unset",overflow:"hidden"}),menuList:n=>({...n,borderRadius:10}),placeholder:n=>({...n,width:"100%",height:g[4],..._.standardRegular.cssObject,color:T===!0?u.important:r.colors.grey1,display:"flex",justifyContent:"flex-start",alignItems:"center"}),option:(n,{isSelected:w,isFocused:U,isDisabled:C,data:s})=>({...n,...R,height:g[6],color:s.value==="require_approval"?u.alertDark:u.successDark,backgroundColor:w||U?r.colors.background:I,cursor:C?"not-allowed":"pointer",borderTop:s.topBorder===!0?`1px solid ${u.optionBorderLight}`:"none",":hover":{backgroundColor:r.colors.background},":first-div":{width:"100%"},"& label":{flex:1,paddingRight:"10px",cursor:C?"not-allowed":w?"default":"pointer"},zIndex:2}),input:(n,w)=>({color:r.colors.primary,overflow:"hidden",zIndex:2,height:g[4],width:w.selectProps.menuIsOpen?"auto":"0",position:"absolute",display:"flex",alignItems:"center",..._.standardRegular.cssObject})};return l.jsx(ve,{onClickAway:()=>{A(!1)},children:l.jsx(we,{isMulti:!1,onChange:n=>{W(n)},minMenuHeight:208,menuPlacement:"auto",menuShouldScrollIntoView:!1,defaultValue:L,value:L,placeholder:j,components:{Option:Fe,DropdownIndicator:qe,IndicatorSeparator:Ae,SingleValue:Re},hideSelectedOptions:!1,styles:F,options:z(e),isClearable:!1,isSearchable:!1,isDisabled:k,defaultMenuIsOpen:b,"data-testid":B("single-select",t)},$e())})},Re=({children:e,...o})=>l.jsx(me.SingleValue,{...o,children:e}),Fe=e=>{const{data:o,options:t,isFocused:p,label:$,isSelected:k}=e,m=t.find(f=>f.value===o.value),j=typeof o.label=="string"?o.label:o.value;return l.jsxs(me.Option,{...e,children:[l.jsxs(Pe,{"data-testid":B("single-select-option",j),children:[l.jsxs(Ve,{children:[l.jsx("label",{children:$}),p===!0&&m?.id!=null&&l.jsx(Be,{children:m.id})]}),k?l.jsx(Me,{children:l.jsx(He,{className:"tick-icon"})}):null]}),m.additionalInfo!==""&&l.jsx(l.Fragment,{children:m.additionalInfo})]})},Pe=d.div`
202
202
  display: flex;
203
203
  flex-direction: row;
204
204
  align-items: center;
@@ -220,12 +220,12 @@ import{j as l,e as q,B as X,cn as A,cv as _,u as ee,ct as J,C as S,fN as Z,o as
220
220
  margin: 0 ${i.sp5} 0 ${i.sp3};
221
221
  `,Me=d.div`
222
222
  display: flex;
223
- `,qe=d(ke)`
223
+ `,He=d(ke)`
224
224
  width: ${i.sp3};
225
225
  height: ${i.sp3};
226
226
  cursor: pointer;
227
227
  color: ${e=>e.theme.colors.primary};
228
- `,Ae=()=>null,He=()=>null,We=({name:e,registerOptions:o,value:t,isDisabled:p,defaultMenuIsOpen:$,placeholderLabel:k})=>{const{control:m}=A(),j=t.allOptions.map(r=>r.value??""),f=r=>t.allOptions.filter(L=>L.value===r)[0]?.label??"",T=r=>t.allOptions.find(L=>L.value===r.value)?.value;return l.jsx(ye,{name:e,control:m,defaultValue:t,rules:o,"data-testid":B("single-select-field",e),render:({field:{value:r,onChange:L}})=>l.jsx(Ne,{allOptions:j,onSelectedValueChanged:E=>{L({allOptions:t.allOptions,selectedOption:T(E)})},valueToLabel:E=>f(E),selectedValue:r.selectedOption,disable:p,name:e,defaultMenuIsOpen:$,placeholderLabel:k})})},fe=V.memo(We,(e,o)=>le(e,o)),O={width:new S(343,580,726),height:new S(g[6],g[6]),paddingLeftRight:new S(g[3],g[4]),paddingTopBottom:new S(g[3],g[3]),labelMarginRight:new S(g[3],g[4])},K=(e,o)=>`${e}.${o}`;function Ge({label:e,isDisabled:o,sectionId:t,style:p,approversPlaceholder:$,notifiersPlaceholder:k,userSelectPlaceholder:m,approveNotifyPlaceholder:j,allUserWithRoles:f,filteredApprovers:T,allAttributes:r,filteredAttributes:L,allAccountingClasses:E,stepsInfo:b,productType:H}){const z=q(),{commonSetUp:{approval:N}}=X.getLocalizedStrings(),W=T.length+L.length,I=f.map(s=>s.user),{control:M,setValue:R}=A(),{fields:D,replace:F}=ce({name:t,control:M}),n=()=>{const s=b[b.length-1].stepIndex,h=xe(s+1,I,r);R(t,[...b,h])},w=s=>{const h=b.filter((a,c)=>c!==s);R(t,h)};V.useEffect(()=>{const s=D.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),h=b.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!le(s,h)){const a=b.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:I,allNonUsers:te(r)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:re}}));F(a)}},[I,b,D,F,r]);const U=b[b.length-1],C=o!=null||W===0||U.actors.selectedUsers.length+U.actors.selectedNonUsers.length===0||!U.stepType.selectedOption;return l.jsxs(_e,{size:z,style:p,isDisabled:!1,isError:!1,children:[l.jsx(J,{label:e.label,style:{marginRight:O.labelMarginRight.value(z),width:"auto"}}),b.map((s,h)=>l.jsxs(Ze,{labelWidth:e.width,children:[l.jsxs(Xe,{children:[h+1,"."]}),l.jsx(Qe,{children:l.jsx(fe,{name:K(`${t}.${s.stepIndex}`,"stepType"),value:s.stepType,isDisabled:h===0,defaultMenuIsOpen:h===1&&s.stepType.selectedOption==null,registerOptions:{required:!0,validate:a=>a!=null&&a.selectedOption!=null||o!=null},placeholderLabel:j})}),l.jsxs(Ye,{children:[l.jsx(pe,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:s.stepType.selectedOption==null?m:s.stepType.selectedOption==="require_approval"?$:k,name:K(`${t}.${s.stepIndex}`,"actors"),value:s.actors,operator:s.stepType!=null&&s.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:a=>a!=null&&(a.selectedUsers!=null&&a.selectedUsers.length>0||a.selectedNonUsers!=null&&a.selectedNonUsers.length>0)||o!=null},valueToSubtitle:a=>{const c=f.map(x=>x.role).find(x=>x?.userId===a),y=[];if(c!=null){const x=ue(c.userRoles,H);x.length>0&&y.push(x),c.accountingClassIDs.forEach(Q=>{const P=E.find(Y=>Y.classId===Q);P!=null&&P.className&&y.push(P.className)})}return y}}),s.stepIndex>0&&l.jsx(Ke,{onClick:()=>w(h)})]})]},D[h]?.id||h)),l.jsx(Je,{disabled:C,children:l.jsx(he,{onClick:n,style:{padding:`${i.sp1} ${i.sp2}`,borderRadius:i.sp1},label:N.addStep,size:"small",disabled:C,"data-testid":B("add-step-button-web")})})]})}const xe=(e,o,t)=>({stepIndex:e,actors:{allUsers:o,selectedUsers:[],allNonUsers:te(t),selectedNonUsers:[]},stepType:{allOptions:re,selectedOption:void 0}}),te=e=>{const o=X.getLocalizedStrings().commonSetUp.approval.nonUsers;return e.map(t=>({label:o[t].label,value:t,position:"top",subtitles:[o[t].subTitle]}))},re=[{label:"Require",value:"require_approval"},{label:"Notify",value:"send_notification"}],_e=d.div`
228
+ `,qe=()=>null,Ae=()=>null,We=({name:e,registerOptions:o,value:t,isDisabled:p,defaultMenuIsOpen:$,placeholderLabel:k})=>{const{control:m}=q(),j=t.allOptions.map(r=>r.value??""),f=r=>t.allOptions.filter(L=>L.value===r)[0]?.label??"",T=r=>t.allOptions.find(L=>L.value===r.value)?.value;return l.jsx(ye,{name:e,control:m,defaultValue:t,rules:o,"data-testid":B("single-select-field",e),render:({field:{value:r,onChange:L}})=>l.jsx(Ne,{allOptions:j,onSelectedValueChanged:E=>{L({allOptions:t.allOptions,selectedOption:T(E)})},valueToLabel:E=>f(E),selectedValue:r.selectedOption,disable:p,name:e,defaultMenuIsOpen:$,placeholderLabel:k})})},fe=V.memo(We,(e,o)=>le(e,o)),O={width:new S(343,580,726),height:new S(g[6],g[6]),paddingLeftRight:new S(g[3],g[4]),paddingTopBottom:new S(g[3],g[3]),labelMarginRight:new S(g[3],g[4])},K=(e,o)=>`${e}.${o}`;function _e({label:e,isDisabled:o,sectionId:t,style:p,approversPlaceholder:$,notifiersPlaceholder:k,userSelectPlaceholder:m,approveNotifyPlaceholder:j,allUserWithRoles:f,filteredApprovers:T,allAttributes:r,filteredAttributes:L,allAccountingClasses:E,stepsInfo:b,productType:A}){const z=H(),{commonSetUp:{approval:N}}=X.getLocalizedStrings(),W=T.length+L.length,I=f.map(s=>s.user),{control:M,setValue:R}=q(),{fields:D,replace:F}=ce({name:t,control:M}),n=()=>{const s=b[b.length-1].stepIndex,h=xe(s+1,I,r);R(t,[...b,h])},w=s=>{const h=b.filter((a,c)=>c!==s);R(t,h)};V.useEffect(()=>{const s=D.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),h=b.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!le(s,h)){const a=b.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:I,allNonUsers:te(r)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:re}}));F(a)}},[I,b,D,F,r]);const U=b[b.length-1],C=o!=null||W===0||U.actors.selectedUsers.length+U.actors.selectedNonUsers.length===0||!U.stepType.selectedOption;return l.jsxs(Ge,{size:z,style:p,isDisabled:!1,isError:!1,children:[l.jsx(J,{label:e.label,style:{marginRight:O.labelMarginRight.value(z),width:"auto"}}),b.map((s,h)=>l.jsxs(Ze,{labelWidth:e.width,children:[l.jsxs(Xe,{children:[h+1,"."]}),l.jsx(Qe,{children:l.jsx(fe,{name:K(`${t}.${s.stepIndex}`,"stepType"),value:s.stepType,isDisabled:h===0,defaultMenuIsOpen:h===1&&s.stepType.selectedOption==null,registerOptions:{required:!0,validate:a=>a!=null&&a.selectedOption!=null||o!=null},placeholderLabel:j})}),l.jsxs(Ye,{children:[l.jsx(pe,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:s.stepType.selectedOption==null?m:s.stepType.selectedOption==="require_approval"?$:k,name:K(`${t}.${s.stepIndex}`,"actors"),value:s.actors,operator:s.stepType!=null&&s.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:a=>a!=null&&(a.selectedUsers!=null&&a.selectedUsers.length>0||a.selectedNonUsers!=null&&a.selectedNonUsers.length>0)||o!=null},valueToSubtitle:a=>{const c=f.map(x=>x.role).find(x=>x?.userId===a),y=[];if(c!=null){const x=ue(c.userRoles,A);x.length>0&&y.push(x),c.accountingClassIDs.forEach(Q=>{const P=E.find(Y=>Y.classId===Q);P!=null&&P.className&&y.push(P.className)})}return y}}),s.stepIndex>0&&l.jsx(Ke,{onClick:()=>w(h)})]})]},D[h]?.id||h)),l.jsx(Je,{disabled:C,children:l.jsx(he,{onClick:n,style:{padding:`${i.sp1} ${i.sp2}`,borderRadius:i.sp1},label:N.addStep,size:"small",disabled:C,"data-testid":B("add-step-button-web")})})]})}const xe=(e,o,t)=>({stepIndex:e,actors:{allUsers:o,selectedUsers:[],allNonUsers:te(t),selectedNonUsers:[]},stepType:{allOptions:re,selectedOption:void 0}}),te=e=>{const o=X.getLocalizedStrings().commonSetUp.approval.nonUsers;return e.map(t=>({label:o[t].label,value:t,position:"top",subtitles:[o[t].subTitle]}))},re=[{label:"Require",value:"require_approval"},{label:"Notify",value:"send_notification"}],Ge=d.div`
229
229
  display: flex;
230
230
  flex-direction: column;
231
231
  align-items: flex-start;
@@ -303,7 +303,7 @@ import{j as l,e as q,B as X,cn as A,cv as _,u as ee,ct as J,C as S,fN as Z,o as
303
303
  `,Xe=d.div`
304
304
  width: ${i.sp5};
305
305
  color: ${e=>e.theme.colors.hero};
306
- `;function el({label:e,isDisabled:o,sectionId:t,style:p,approversPlaceholder:$,notifiersPlaceholder:k,userSelectPlaceholder:m,approveNotifyPlaceholder:j,allUserWithRoles:f,filteredApprovers:T,allAttributes:r,filteredAttributes:L,allAccountingClasses:E,stepsInfo:b,productType:H}){const z=q(),{commonSetUp:{approval:N}}=X.getLocalizedStrings(),W=T.length+L.length,I=f.map(s=>s.user),{control:M,setValue:R}=A(),{fields:D,replace:F}=ce({name:t,control:M}),n=()=>{const s=b[b.length-1].stepIndex,h=xe(s+1,I,r);R(t,[...b,h])},w=s=>{const h=b.filter((a,c)=>c!==s);R(t,h)};V.useEffect(()=>{const s=D.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),h=b.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!le(s,h)){const a=b.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:I,allNonUsers:te(r)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:re}}));F(a)}},[I,b,D,F,r]);const U=b[b.length-1],C=o!=null||W===0||U.actors.selectedUsers.length+U.actors.selectedNonUsers.length===0||!U.stepType.selectedOption;return l.jsxs(ll,{size:z,style:p,isDisabled:!1,isError:!1,children:[l.jsx(J,{label:e.label,style:{marginRight:O.labelMarginRight.value(z),width:"auto"}}),b.map((s,h)=>l.jsxs(tl,{labelWidth:e.width,children:[l.jsxs(dl,{children:[h+1,"."]}),l.jsxs(al,{children:[l.jsx(fe,{name:K(`${t}.${s.stepIndex}`,"stepType"),value:s.stepType,isDisabled:h===0,defaultMenuIsOpen:h===1&&s.stepType.selectedOption==null,registerOptions:{required:!0,validate:a=>a!=null&&a.selectedOption!=null||o!=null},placeholderLabel:j}),l.jsxs(sl,{children:[l.jsx(ol,{children:l.jsx(pe,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:s.stepType.selectedOption==null?m:s.stepType.selectedOption==="require_approval"?$:k,name:K(`${t}.${s.stepIndex}`,"actors"),value:s.actors,operator:s.stepType!=null&&s.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:a=>a!=null&&(a.selectedUsers!=null&&a.selectedUsers.length>0||a.selectedNonUsers!=null&&a.selectedNonUsers.length>0)||o!=null},valueToSubtitle:a=>{const c=f.map(x=>x.role).find(x=>x?.userId===a),y=[];if(c!=null){const x=ue(c.userRoles,H);x.length>0&&y.push(x),c.accountingClassIDs.forEach(Q=>{const P=E.find(Y=>Y.classId===Q);P!=null&&P.className&&y.push(P.className)})}return y}})}),s.stepIndex>0&&l.jsx(rl,{onClick:()=>w(h),"data-testid":B("delete-step",h.toString())})]})]})]},D[h]?.id||h)),l.jsx(il,{disabled:C,children:l.jsx(he,{onClick:n,style:{width:"100%"},label:N.addStep,size:"standard",variant:"light_transparent",disabled:C,"data-testid":B("add-step-button-small")})})]})}const ll=d.div`
306
+ `;function el({label:e,isDisabled:o,sectionId:t,style:p,approversPlaceholder:$,notifiersPlaceholder:k,userSelectPlaceholder:m,approveNotifyPlaceholder:j,allUserWithRoles:f,filteredApprovers:T,allAttributes:r,filteredAttributes:L,allAccountingClasses:E,stepsInfo:b,productType:A}){const z=H(),{commonSetUp:{approval:N}}=X.getLocalizedStrings(),W=T.length+L.length,I=f.map(s=>s.user),{control:M,setValue:R}=q(),{fields:D,replace:F}=ce({name:t,control:M}),n=()=>{const s=b[b.length-1].stepIndex,h=xe(s+1,I,r);R(t,[...b,h])},w=s=>{const h=b.filter((a,c)=>c!==s);R(t,h)};V.useEffect(()=>{const s=D.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),h=b.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!le(s,h)){const a=b.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:I,allNonUsers:te(r)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:re}}));F(a)}},[I,b,D,F,r]);const U=b[b.length-1],C=o!=null||W===0||U.actors.selectedUsers.length+U.actors.selectedNonUsers.length===0||!U.stepType.selectedOption;return l.jsxs(ll,{size:z,style:p,isDisabled:!1,isError:!1,children:[l.jsx(J,{label:e.label,style:{marginRight:O.labelMarginRight.value(z),width:"auto"}}),b.map((s,h)=>l.jsxs(tl,{labelWidth:e.width,children:[l.jsxs(dl,{children:[h+1,"."]}),l.jsxs(al,{children:[l.jsx(fe,{name:K(`${t}.${s.stepIndex}`,"stepType"),value:s.stepType,isDisabled:h===0,defaultMenuIsOpen:h===1&&s.stepType.selectedOption==null,registerOptions:{required:!0,validate:a=>a!=null&&a.selectedOption!=null||o!=null},placeholderLabel:j}),l.jsxs(sl,{children:[l.jsx(ol,{children:l.jsx(pe,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:s.stepType.selectedOption==null?m:s.stepType.selectedOption==="require_approval"?$:k,name:K(`${t}.${s.stepIndex}`,"actors"),value:s.actors,operator:s.stepType!=null&&s.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:a=>a!=null&&(a.selectedUsers!=null&&a.selectedUsers.length>0||a.selectedNonUsers!=null&&a.selectedNonUsers.length>0)||o!=null},valueToSubtitle:a=>{const c=f.map(x=>x.role).find(x=>x?.userId===a),y=[];if(c!=null){const x=ue(c.userRoles,A);x.length>0&&y.push(x),c.accountingClassIDs.forEach(Q=>{const P=E.find(Y=>Y.classId===Q);P!=null&&P.className&&y.push(P.className)})}return y}})}),s.stepIndex>0&&l.jsx(rl,{onClick:()=>w(h),"data-testid":B("delete-step",h.toString())})]})]})]},D[h]?.id||h)),l.jsx(il,{disabled:C,children:l.jsx(he,{onClick:n,style:{width:"100%"},label:N.addStep,size:"standard",variant:"light_transparent",disabled:C,"data-testid":B("add-step-button-small")})})]})}const ll=d.div`
307
307
  display: flex;
308
308
  flex-direction: column;
309
309
  align-items: flex-start;
@@ -387,4 +387,4 @@ import{j as l,e as q,B as X,cn as A,cv as _,u as ee,ct as J,C as S,fN as Z,o as
387
387
  `,dl=d.div`
388
388
  width: ${i.sp4};
389
389
  color: ${e=>e.theme.colors.hero};
390
- `;function ul(e){return q()==="small"?l.jsx(el,{...e}):l.jsx(Ge,{...e})}export{pl as b,ul as f,re as l,te as o};
390
+ `;function ul(e){return H()==="small"?l.jsx(el,{...e}):l.jsx(_e,{...e})}export{pl as b,ul as f,re as l,te as o};
@@ -1,4 +1,4 @@
1
- import{u as Ee,e as Y,a as _e,H as Ye,ca as Je,j as t,B as ue,aX as Qe,F as Xe,bT as Ce,o,K as je,$ as T,bg as Ze,bS as et,aj as tt,dl as lt,b_ as ot,b as it,m as nt,cx as at,a$ as We,a6 as rt,C as N,l as Fe,bh as se,q as $,dr as Ie,w as we,c3 as st,c6 as dt,cn as ct,hB as ht,dh as ye,cz as me,bp as E,et as ke,p as mt,hG as gt,t as pt,aB as ut,hH as Oe,bO as wt,aP as bt,g as De,hI as xt}from"./index-CfctPHbv.js";import{b as C,n,j as Se}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const Re="recommendedFirst",Ne="recommendedSecond",H="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,a)=>a!=null?`${e}.${l}.${a}`:`${e}.${l}`;function vt(e){const l=Y(),{button:{label:a,onClick:i},search:{isOpen:g,placeHolder:m,searchText:w,onTextChange:j}}=e;return t.jsxs(ft,{children:[t.jsx(jt,{isSearchOpen:g&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ce,{style:{position:"absolute",left:"unset",right:o.sp0},placeholder:m,searchText:w,onSearchTextChanged:j}):null}),l==="small"?t.jsx(Ce,{style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},placeholder:m,searchText:w,onSearchTextChanged:j,keepSearchBoxOpen:!0}):null,l==="small"?t.jsx(yt,{style:{marginLeft:o.sp5}}):t.jsx(je,{variant:"primary",onClick:i,label:a,size:"small",style:{marginLeft:o.sp3}})]})}const ft=n.div`
1
+ import{u as Ee,e as Y,a as _e,H as Ye,ca as Je,j as t,B as ue,aX as Qe,F as Xe,bT as Ce,o,K as je,$ as T,bg as Ze,bS as et,aj as tt,dl as lt,b_ as ot,b as it,m as nt,cx as at,a$ as We,a6 as rt,C as N,l as Fe,bh as se,q as $,dr as Ie,w as we,c3 as st,c6 as dt,cn as ct,hC as ht,dh as ye,cz as me,bp as E,eu as ke,p as mt,hH as gt,t as pt,aB as ut,hI as Oe,bO as wt,aP as bt,g as De,hJ as xt}from"./index-C7jkqxrR.js";import{b as C,n,j as Se}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";const Re="recommendedFirst",Ne="recommendedSecond",H="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,a)=>a!=null?`${e}.${l}.${a}`:`${e}.${l}`;function vt(e){const l=Y(),{button:{label:a,onClick:i},search:{isOpen:g,placeHolder:m,searchText:w,onTextChange:j}}=e;return t.jsxs(ft,{children:[t.jsx(jt,{isSearchOpen:g&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ce,{style:{position:"absolute",left:"unset",right:o.sp0},placeholder:m,searchText:w,onSearchTextChanged:j}):null}),l==="small"?t.jsx(Ce,{style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},placeholder:m,searchText:w,onSearchTextChanged:j,keepSearchBoxOpen:!0}):null,l==="small"?t.jsx(yt,{style:{marginLeft:o.sp5}}):t.jsx(je,{variant:"primary",onClick:i,label:a,size:"small",style:{marginLeft:o.sp3}})]})}const ft=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  padding-right: ${o.sp0};
@@ -1,4 +1,4 @@
1
- import{e as $,j as t,$ as w,B as n,o,C as j,eF as S,ap as v,a7 as y}from"./index-CfctPHbv.js";import{b as d,n as r}from"./vendor-rkTZJa59.js";import{x as B}from"./MeetingCalenderPopup-BJgsd-6e-BJbKD0GQ.js";const z={helpButtonBottom:new j(138,96,96)};function M({isFooterRendered:e,meetingUrl:h,analytics:u,productType:s,setShowPopup:i}){const m=$(),[l,x]=d.useState(!1),[g,a]=d.useState(!1),p=()=>{x(f=>!f)};return t.jsxs(t.Fragment,{children:[g===!0?t.jsx(B,{onCancelClick:()=>{a(!1),i?.(!1)},meetingUrl:h}):null,t.jsxs(C,{"data-testid":w("help-button",s),isFooterRendered:e,windowSize:m,onMouseEnter:p,onMouseLeave:p,onClick:()=>{s!=null&&u?.trackNeedHelp(s),a(!0),i?.(!0)},children:[t.jsx(k,{}),t.jsx(H,{helpTextHover:l,children:l?t.jsxs(c,{children:[n.getLocalizedStrings().common.needHelp.hoverPrefix,t.jsx(b,{children:n.getLocalizedStrings().common.needHelp.hoverSuffix})]}):t.jsx(c,{children:n.getLocalizedStrings().common.needHelp.text})})]})]})}const C=r.div`
1
+ import{e as $,j as t,$ as w,B as n,o,C as j,eG as S,ap as v,a7 as y}from"./index-C7jkqxrR.js";import{b as d,n as r}from"./vendor-rkTZJa59.js";import{x as B}from"./MeetingCalenderPopup-YiB2ETli-CqKaSUHn.js";const z={helpButtonBottom:new j(138,96,96)};function M({isFooterRendered:e,meetingUrl:h,analytics:u,productType:s,setShowPopup:i}){const m=$(),[l,x]=d.useState(!1),[g,a]=d.useState(!1),p=()=>{x(f=>!f)};return t.jsxs(t.Fragment,{children:[g===!0?t.jsx(B,{onCancelClick:()=>{a(!1),i?.(!1)},meetingUrl:h}):null,t.jsxs(C,{"data-testid":w("help-button",s),isFooterRendered:e,windowSize:m,onMouseEnter:p,onMouseLeave:p,onClick:()=>{s!=null&&u?.trackNeedHelp(s),a(!0),i?.(!0)},children:[t.jsx(k,{}),t.jsx(H,{helpTextHover:l,children:l?t.jsxs(c,{children:[n.getLocalizedStrings().common.needHelp.hoverPrefix,t.jsx(b,{children:n.getLocalizedStrings().common.needHelp.hoverSuffix})]}):t.jsx(c,{children:n.getLocalizedStrings().common.needHelp.text})})]})]})}const C=r.div`
2
2
  position: fixed;
3
3
  right: ${o.sp4};
4
4
  bottom: ${e=>e.isFooterRendered?z.helpButtonBottom.valuePx(e.windowSize):o.sp4};
@@ -1,4 +1,4 @@
1
- import{B as C,j as r,Z as D,$ as E,aa as j,N as Z,_ as H,a5 as I,o as S,w as B}from"./index-CfctPHbv.js";import{f as h,b as t,n as d}from"./vendor-rkTZJa59.js";import{c as V}from"./SummaryCard-DDpG4vry-BXv2u1RJ.js";import{x}from"./NavigationArrow-DNJkGq5e-Cz6Ibgvw.js";import{k as b}from"./NavigationDots-BDhrBzmw-C8Z-kY4L.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./ReloadCard-DoOxxK_q-CARmhhI-.js";const A=d.div`
1
+ import{B as C,j as r,Z as D,$ as E,aa as j,N as Z,_ as H,a5 as I,o as S,w as B}from"./index-C7jkqxrR.js";import{f as h,b as t,n as d}from"./vendor-rkTZJa59.js";import{c as V}from"./SummaryCard-DwlHiqjy-DovYblcz.js";import{x}from"./NavigationArrow-DzZDXuKr-B7BwQbpV.js";import{k as b}from"./NavigationDots-CFxiVMnb-Dxb6vagd.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";import"./ReloadCard-BY23wQlB-BJD-2H6c.js";const A=d.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{j as r,Z as I,_ as $,B as v,$ as k,aa as A,a5 as b,o as s,w as B,bf as O,N as S,bw as Z,bj as P,a6 as N,bx as R}from"./index-CfctPHbv.js";import{f as u,b as t,n as o}from"./vendor-rkTZJa59.js";import{c as Y}from"./SummaryCard-DDpG4vry-BXv2u1RJ.js";import{x as j}from"./NavigationArrow-DNJkGq5e-Cz6Ibgvw.js";import{k as z}from"./NavigationDots-BDhrBzmw-C8Z-kY4L.js";import{t as G,o as J}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./ReloadCard-DoOxxK_q-CARmhhI-.js";const K=e=>t.createElement("svg",{width:128,height:128,viewBox:"0 0 128 128",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M107.29 63.9999C107.29 87.908 87.9081 107.289 64 107.289C40.0919 107.289 20.7106 87.908 20.7106 63.9999C20.7106 40.0918 40.0919 20.7104 64 20.7104C87.9081 20.7104 107.29 40.0918 107.29 63.9999Z",fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("circle",{opacity:.6,cx:64,cy:64,r:53.3947,stroke:"#97C3B9"}),t.createElement("circle",{opacity:.32,cx:64,cy:64,r:63.5,stroke:"#97C3B9"}),t.createElement("path",{opacity:.2,d:"M71.0119 75.4254C71.0119 69.9672 78.1812 68.581 78.2028 60.3288C78.2245 52.0765 72.2681 47.8312 65.5104 47.8096C58.7526 47.8096 52.7962 52.0548 52.7746 60.2854C52.7529 68.5161 59.9222 69.9239 59.9222 75.3821C59.9222 80.8403 59.9222 79.6924 59.9222 80.5154C59.9222 82.1182 59.7273 83.3961 62.1748 83.6994C62.1748 85.3455 63.6477 86.6667 65.4671 86.6667C67.2865 86.6667 68.7593 85.3455 68.7593 83.6994C71.0552 83.3528 71.0552 82.2049 71.0335 80.7104C71.0119 80.7537 71.0119 75.5771 71.0119 75.4254Z",fill:"#97C3B9"}),t.createElement("path",{d:"M66.3335 75.5985C65.5321 66.7397 65.0989 60.935 66.3768 59.5921C67.2215 58.7041 68.651 58.7257 69.5174 59.5921C70.3838 60.4585 70.3838 61.8663 69.5174 62.7327C68.651 63.5991 65.9219 63.7724 65.9219 63.7724H62.7163C62.7163 63.7724 59.9872 63.5774 59.1209 62.7111C58.2545 61.8447 58.2545 60.4368 59.1209 59.5704C59.9872 58.7041 61.3951 58.7041 62.2615 59.5704C63.5611 60.9133 63.1062 66.7181 62.2615 75.5768",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.2974 82.8112C58.1895 82.8112 58.7526 81.4683 58.7526 79.4756C58.7526 78.6526 58.7526 79.8005 58.7526 74.3423C58.7526 68.8841 51.605 67.4763 51.605 59.2456C51.6266 51.015 57.5613 46.7698 64.3408 46.7698C71.0985 46.7698 77.0549 51.0367 77.0332 59.289C77.0116 67.5196 69.8639 68.9058 69.8423 74.3856C69.8206 79.8655 69.8423 78.6959 69.8423 79.5189C69.8423 81.49 70.4054 82.8112 64.2974 82.8112Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M69.864 79.6491C68.781 80.2772 67.0915 80.5371 64.3191 80.5371C61.5467 80.5371 59.8573 80.2772 58.7743 79.6274",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M69.864 74.7756C68.781 75.4038 67.0915 75.6637 64.3191 75.6637C61.5467 75.6637 59.8573 75.4038 58.7743 74.7756",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M58.7527 77.2014C59.8357 77.8295 61.5251 78.0895 64.2975 78.0895C67.0699 78.0895 68.7594 77.8295 69.8424 77.2014",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M67.5897 82.6597C67.5897 84.3058 66.1169 85.627 64.2975 85.627C62.4781 85.627 61.0052 84.2841 61.0052 82.6597",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M47.7712 64.8338L50.5003 63.7725",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M46.6666 59.3105L49.6123 59.2239",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M47.2731 53.7659L50.1105 54.5023",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M49.569 48.6326L51.9948 50.2787",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M53.5327 44.5823L55.2438 46.9865",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M58.601 42.1562L59.4457 44.9503",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.1025 41.3333L64.1242 44.2573",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M69.604 42.0264L68.8459 44.8638",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M74.7373 44.3223L73.0912 46.7698",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M78.8093 48.2427L76.4268 49.9538",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.2569 53.3325L78.4412 54.1339",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.9933 58.8342H79.0476",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.0403 64.4006L78.2896 63.4043",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.2974 82.8112C58.1895 82.8112 58.7526 81.4683 58.7526 79.4756C58.7526 78.6526 58.7526 79.8005 58.7526 74.3423C58.7526 68.8841 51.605 67.4763 51.605 59.2456C51.6266 51.015 57.5613 46.7698 64.3408 46.7698C71.0985 46.7698 77.0549 51.0367 77.0332 59.289C77.0116 67.5196 69.8639 68.9058 69.8423 74.3856C69.8206 79.8655 69.8423 78.6959 69.8423 79.5189C69.8423 81.49 70.4054 82.8112 64.2974 82.8112Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("circle",{cx:16,cy:17.6841,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M15.4385 14.1474H17.0105C17.6605 14.1474 18.1894 14.6764 18.1894 15.3264C18.1894 15.5433 18.3655 15.7194 18.5824 15.7194C18.7993 15.7194 18.9754 15.5433 18.9754 15.3264C18.9754 14.2429 18.0939 13.3615 17.0105 13.3615H16.6175V12.1825C16.6175 11.9656 16.4414 11.7896 16.2245 11.7896C16.0076 11.7896 15.8315 11.9656 15.8315 12.1825V13.3615H15.4385C14.3551 13.3615 13.4736 14.2429 13.4736 15.3264V16.1124C13.4736 17.1958 14.3551 18.0773 15.4385 18.0773H17.0105C17.6605 18.0773 18.1894 18.6062 18.1894 19.2562V20.0422C18.1894 20.6922 17.6605 21.2211 17.0105 21.2211H16.6175V18.8632C16.6175 18.6463 16.4414 18.4703 16.2245 18.4703C16.0076 18.4703 15.8315 18.6463 15.8315 18.8632V21.2211H15.4385C14.7886 21.2211 14.2596 20.6922 14.2596 20.0422C14.2596 19.8253 14.0835 19.6492 13.8666 19.6492C13.6497 19.6492 13.4736 19.8253 13.4736 20.0422C13.4736 21.1256 14.3551 22.0071 15.4385 22.0071H15.8315V23.186C15.8315 23.403 16.0076 23.579 16.2245 23.579C16.4414 23.579 16.6175 23.403 16.6175 23.186V22.0071H17.0105C18.0939 22.0071 18.9754 21.1256 18.9754 20.0422V19.2562C18.9754 18.1728 18.0939 17.2913 17.0105 17.2913H16.6175V14.9334C16.6175 14.7165 16.4414 14.5404 16.2245 14.5404C16.0076 14.5404 15.8315 14.7165 15.8315 14.9334V17.2913H15.4385C14.7886 17.2913 14.2596 16.7624 14.2596 16.1124V15.3264C14.2596 14.6764 14.7886 14.1474 15.4385 14.1474Z",fill:"#97C3B9"}),t.createElement("circle",{cx:113.263,cy:25.2632,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M113.388 25.3887C113.467 25.3096 113.574 25.2653 113.686 25.2653H114.95C115.061 25.2653 115.169 25.3096 115.248 25.3887C115.327 25.4677 115.371 25.5748 115.371 25.6865C115.371 25.7982 115.327 25.9054 115.248 25.9843C115.169 26.0633 115.061 26.1077 114.95 26.1077H113.686C113.574 26.1077 113.467 26.0633 113.388 25.9843C113.309 25.9054 113.265 25.7982 113.265 25.6865C113.265 25.5748 113.309 25.4677 113.388 25.3887Z",fill:"#97C3B9"}),t.createElement("path",{d:"M112.843 28.6352H116.213V28.631C116.325 28.631 116.432 28.6754 116.511 28.7544C116.59 28.8334 116.635 28.9406 116.635 29.0522C116.635 29.1639 116.59 29.2711 116.511 29.3501C116.432 29.4291 116.325 29.4735 116.213 29.4735H110.316C110.204 29.4735 110.097 29.4291 110.018 29.3501C109.939 29.2711 109.895 29.1639 109.895 29.0522C109.895 28.9406 109.939 28.8334 110.018 28.7544C110.097 28.6754 110.204 28.631 110.316 28.631H112.001V27.7885C111.993 27.2018 111.849 26.625 111.58 26.1035H110.737C110.626 26.1035 110.518 26.0592 110.439 25.9801C110.36 25.9011 110.316 25.794 110.316 25.6823C110.316 25.5706 110.36 25.4634 110.439 25.3845C110.518 25.3055 110.626 25.261 110.737 25.261H111.074L110.813 24.8693C110.49 24.3854 110.317 23.8168 110.316 23.2348V22.7378C110.316 22.0675 110.582 21.4246 111.056 20.9506C111.53 20.4766 112.173 20.2103 112.843 20.2103H113.686C114.356 20.2103 114.999 20.4766 115.473 20.9506C115.947 21.4246 116.213 22.0675 116.213 22.7378C116.213 22.8495 116.169 22.9566 116.09 23.0356C116.011 23.1146 115.904 23.159 115.792 23.159C115.68 23.159 115.573 23.1146 115.494 23.0356C115.415 22.9566 115.371 22.8495 115.371 22.7378C115.371 22.2909 115.193 21.8623 114.877 21.5464C114.561 21.2303 114.133 21.0528 113.686 21.0528H112.843C112.397 21.0528 111.968 21.2303 111.652 21.5464C111.336 21.8623 111.159 22.2909 111.159 22.7378V23.2348C111.163 23.643 111.286 24.0411 111.512 24.3806L112.064 25.2231C112.572 25.9839 112.843 26.878 112.843 27.7927V28.6352Z",fill:"#97C3B9"}),t.createElement("circle",{cx:108.263,cy:104.263,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M110.789 108.053C110.789 107.941 110.745 107.834 110.666 107.755C110.587 107.676 110.48 107.632 110.368 107.632H108.263C107.705 107.632 107.169 107.41 106.774 107.015C106.38 106.62 106.158 106.085 106.158 105.526V105.105H108.684C108.796 105.105 108.903 105.061 108.982 104.982C109.061 104.903 109.105 104.796 109.105 104.684C109.105 104.572 109.061 104.465 108.982 104.386C108.903 104.307 108.796 104.263 108.684 104.263H106.158V103.421H109.526C109.638 103.421 109.745 103.377 109.824 103.298C109.903 103.219 109.947 103.112 109.947 103C109.947 102.888 109.903 102.781 109.824 102.702C109.745 102.623 109.638 102.579 109.526 102.579H106.158V102.158C106.158 101.599 106.38 101.064 106.774 100.669C107.169 100.274 107.705 100.053 108.263 100.053H110.368C110.48 100.053 110.587 100.008 110.666 99.9292C110.745 99.8503 110.789 99.7432 110.789 99.6315C110.789 99.5198 110.745 99.4127 110.666 99.3338C110.587 99.2548 110.48 99.2104 110.368 99.2104H108.263C107.481 99.2104 106.732 99.521 106.179 100.074C105.626 100.626 105.316 101.376 105.316 102.158V102.579H104.474C104.362 102.579 104.255 102.623 104.176 102.702C104.097 102.781 104.053 102.888 104.053 103C104.053 103.112 104.097 103.219 104.176 103.298C104.255 103.377 104.362 103.421 104.474 103.421H105.316V104.263H103.632C103.52 104.263 103.413 104.307 103.334 104.386C103.255 104.465 103.21 104.572 103.21 104.684C103.21 104.796 103.255 104.903 103.334 104.982C103.413 105.061 103.52 105.105 103.632 105.105H105.316V105.526C105.316 106.308 105.626 107.058 106.179 107.61C106.732 108.163 107.481 108.474 108.263 108.474H110.368C110.48 108.474 110.587 108.429 110.666 108.35C110.745 108.271 110.789 108.164 110.789 108.053Z",fill:"#97C3B9"}),t.createElement("circle",{cx:12.6316,cy:94.3159,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M14.2506 95.8057C14.4476 95.8057 14.6068 95.9653 14.6068 96.162C14.6068 96.3586 14.4476 96.5182 14.2506 96.5182H13.5381C13.341 96.5182 13.1818 96.3586 13.1818 96.162C13.1818 95.9653 13.341 95.8057 13.5381 95.8057H14.2506Z",fill:"#97C3B9"}),t.createElement("path",{d:"M14.2506 94.3808C14.4476 94.3808 14.6068 94.5404 14.6068 94.737C14.6068 94.9337 14.4476 95.0933 14.2506 95.0933H12.8255V99.0121C12.8255 99.2088 12.6663 99.3684 12.4693 99.3684C12.2723 99.3684 12.113 99.2088 12.113 99.0121V96.5183H10.688C10.491 96.5183 10.3317 96.3587 10.3317 96.1621C10.3317 95.9654 10.491 95.8058 10.688 95.8058H12.113V95.0933H10.688C10.491 95.0933 10.3317 94.9337 10.3317 94.737C10.3317 94.5404 10.491 94.3808 10.688 94.3808H12.0286L9.33135 90.6717C9.21557 90.5124 9.25084 90.2898 9.41009 90.174C9.56933 90.0579 9.79235 90.0931 9.90742 90.2524L12.4693 93.775L15.0315 90.252C15.1466 90.0928 15.3696 90.0576 15.5288 90.1737C15.6884 90.2894 15.7234 90.5121 15.6076 90.6714L12.91 94.3808H14.2506Z",fill:"#97C3B9"}),t.createElement("circle",{cx:93.4736,cy:7.57899,r:1.68421,fill:"#97C3B9"}),t.createElement("circle",{cx:38.7368,cy:111.158,r:1.68421,fill:"#97C3B9"})),Q=o(b)`
1
+ import{j as r,Z as I,_ as $,B as v,$ as k,aa as A,a5 as b,o as s,w as B,bf as O,N as S,bw as Z,bj as P,a6 as N,bx as R}from"./index-C7jkqxrR.js";import{f as u,b as t,n as o}from"./vendor-rkTZJa59.js";import{c as Y}from"./SummaryCard-DwlHiqjy-DovYblcz.js";import{x as j}from"./NavigationArrow-DzZDXuKr-B7BwQbpV.js";import{k as z}from"./NavigationDots-CFxiVMnb-Dxb6vagd.js";import{t as G,o as J}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";import"./ReloadCard-BY23wQlB-BJD-2H6c.js";const K=e=>t.createElement("svg",{width:128,height:128,viewBox:"0 0 128 128",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M107.29 63.9999C107.29 87.908 87.9081 107.289 64 107.289C40.0919 107.289 20.7106 87.908 20.7106 63.9999C20.7106 40.0918 40.0919 20.7104 64 20.7104C87.9081 20.7104 107.29 40.0918 107.29 63.9999Z",fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("circle",{opacity:.6,cx:64,cy:64,r:53.3947,stroke:"#97C3B9"}),t.createElement("circle",{opacity:.32,cx:64,cy:64,r:63.5,stroke:"#97C3B9"}),t.createElement("path",{opacity:.2,d:"M71.0119 75.4254C71.0119 69.9672 78.1812 68.581 78.2028 60.3288C78.2245 52.0765 72.2681 47.8312 65.5104 47.8096C58.7526 47.8096 52.7962 52.0548 52.7746 60.2854C52.7529 68.5161 59.9222 69.9239 59.9222 75.3821C59.9222 80.8403 59.9222 79.6924 59.9222 80.5154C59.9222 82.1182 59.7273 83.3961 62.1748 83.6994C62.1748 85.3455 63.6477 86.6667 65.4671 86.6667C67.2865 86.6667 68.7593 85.3455 68.7593 83.6994C71.0552 83.3528 71.0552 82.2049 71.0335 80.7104C71.0119 80.7537 71.0119 75.5771 71.0119 75.4254Z",fill:"#97C3B9"}),t.createElement("path",{d:"M66.3335 75.5985C65.5321 66.7397 65.0989 60.935 66.3768 59.5921C67.2215 58.7041 68.651 58.7257 69.5174 59.5921C70.3838 60.4585 70.3838 61.8663 69.5174 62.7327C68.651 63.5991 65.9219 63.7724 65.9219 63.7724H62.7163C62.7163 63.7724 59.9872 63.5774 59.1209 62.7111C58.2545 61.8447 58.2545 60.4368 59.1209 59.5704C59.9872 58.7041 61.3951 58.7041 62.2615 59.5704C63.5611 60.9133 63.1062 66.7181 62.2615 75.5768",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.2974 82.8112C58.1895 82.8112 58.7526 81.4683 58.7526 79.4756C58.7526 78.6526 58.7526 79.8005 58.7526 74.3423C58.7526 68.8841 51.605 67.4763 51.605 59.2456C51.6266 51.015 57.5613 46.7698 64.3408 46.7698C71.0985 46.7698 77.0549 51.0367 77.0332 59.289C77.0116 67.5196 69.8639 68.9058 69.8423 74.3856C69.8206 79.8655 69.8423 78.6959 69.8423 79.5189C69.8423 81.49 70.4054 82.8112 64.2974 82.8112Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M69.864 79.6491C68.781 80.2772 67.0915 80.5371 64.3191 80.5371C61.5467 80.5371 59.8573 80.2772 58.7743 79.6274",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M69.864 74.7756C68.781 75.4038 67.0915 75.6637 64.3191 75.6637C61.5467 75.6637 59.8573 75.4038 58.7743 74.7756",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M58.7527 77.2014C59.8357 77.8295 61.5251 78.0895 64.2975 78.0895C67.0699 78.0895 68.7594 77.8295 69.8424 77.2014",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M67.5897 82.6597C67.5897 84.3058 66.1169 85.627 64.2975 85.627C62.4781 85.627 61.0052 84.2841 61.0052 82.6597",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M47.7712 64.8338L50.5003 63.7725",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M46.6666 59.3105L49.6123 59.2239",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M47.2731 53.7659L50.1105 54.5023",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M49.569 48.6326L51.9948 50.2787",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M53.5327 44.5823L55.2438 46.9865",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M58.601 42.1562L59.4457 44.9503",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.1025 41.3333L64.1242 44.2573",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M69.604 42.0264L68.8459 44.8638",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M74.7373 44.3223L73.0912 46.7698",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M78.8093 48.2427L76.4268 49.9538",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.2569 53.3325L78.4412 54.1339",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.9933 58.8342H79.0476",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M81.0403 64.4006L78.2896 63.4043",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M64.2974 82.8112C58.1895 82.8112 58.7526 81.4683 58.7526 79.4756C58.7526 78.6526 58.7526 79.8005 58.7526 74.3423C58.7526 68.8841 51.605 67.4763 51.605 59.2456C51.6266 51.015 57.5613 46.7698 64.3408 46.7698C71.0985 46.7698 77.0549 51.0367 77.0332 59.289C77.0116 67.5196 69.8639 68.9058 69.8423 74.3856C69.8206 79.8655 69.8423 78.6959 69.8423 79.5189C69.8423 81.49 70.4054 82.8112 64.2974 82.8112Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("circle",{cx:16,cy:17.6841,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M15.4385 14.1474H17.0105C17.6605 14.1474 18.1894 14.6764 18.1894 15.3264C18.1894 15.5433 18.3655 15.7194 18.5824 15.7194C18.7993 15.7194 18.9754 15.5433 18.9754 15.3264C18.9754 14.2429 18.0939 13.3615 17.0105 13.3615H16.6175V12.1825C16.6175 11.9656 16.4414 11.7896 16.2245 11.7896C16.0076 11.7896 15.8315 11.9656 15.8315 12.1825V13.3615H15.4385C14.3551 13.3615 13.4736 14.2429 13.4736 15.3264V16.1124C13.4736 17.1958 14.3551 18.0773 15.4385 18.0773H17.0105C17.6605 18.0773 18.1894 18.6062 18.1894 19.2562V20.0422C18.1894 20.6922 17.6605 21.2211 17.0105 21.2211H16.6175V18.8632C16.6175 18.6463 16.4414 18.4703 16.2245 18.4703C16.0076 18.4703 15.8315 18.6463 15.8315 18.8632V21.2211H15.4385C14.7886 21.2211 14.2596 20.6922 14.2596 20.0422C14.2596 19.8253 14.0835 19.6492 13.8666 19.6492C13.6497 19.6492 13.4736 19.8253 13.4736 20.0422C13.4736 21.1256 14.3551 22.0071 15.4385 22.0071H15.8315V23.186C15.8315 23.403 16.0076 23.579 16.2245 23.579C16.4414 23.579 16.6175 23.403 16.6175 23.186V22.0071H17.0105C18.0939 22.0071 18.9754 21.1256 18.9754 20.0422V19.2562C18.9754 18.1728 18.0939 17.2913 17.0105 17.2913H16.6175V14.9334C16.6175 14.7165 16.4414 14.5404 16.2245 14.5404C16.0076 14.5404 15.8315 14.7165 15.8315 14.9334V17.2913H15.4385C14.7886 17.2913 14.2596 16.7624 14.2596 16.1124V15.3264C14.2596 14.6764 14.7886 14.1474 15.4385 14.1474Z",fill:"#97C3B9"}),t.createElement("circle",{cx:113.263,cy:25.2632,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M113.388 25.3887C113.467 25.3096 113.574 25.2653 113.686 25.2653H114.95C115.061 25.2653 115.169 25.3096 115.248 25.3887C115.327 25.4677 115.371 25.5748 115.371 25.6865C115.371 25.7982 115.327 25.9054 115.248 25.9843C115.169 26.0633 115.061 26.1077 114.95 26.1077H113.686C113.574 26.1077 113.467 26.0633 113.388 25.9843C113.309 25.9054 113.265 25.7982 113.265 25.6865C113.265 25.5748 113.309 25.4677 113.388 25.3887Z",fill:"#97C3B9"}),t.createElement("path",{d:"M112.843 28.6352H116.213V28.631C116.325 28.631 116.432 28.6754 116.511 28.7544C116.59 28.8334 116.635 28.9406 116.635 29.0522C116.635 29.1639 116.59 29.2711 116.511 29.3501C116.432 29.4291 116.325 29.4735 116.213 29.4735H110.316C110.204 29.4735 110.097 29.4291 110.018 29.3501C109.939 29.2711 109.895 29.1639 109.895 29.0522C109.895 28.9406 109.939 28.8334 110.018 28.7544C110.097 28.6754 110.204 28.631 110.316 28.631H112.001V27.7885C111.993 27.2018 111.849 26.625 111.58 26.1035H110.737C110.626 26.1035 110.518 26.0592 110.439 25.9801C110.36 25.9011 110.316 25.794 110.316 25.6823C110.316 25.5706 110.36 25.4634 110.439 25.3845C110.518 25.3055 110.626 25.261 110.737 25.261H111.074L110.813 24.8693C110.49 24.3854 110.317 23.8168 110.316 23.2348V22.7378C110.316 22.0675 110.582 21.4246 111.056 20.9506C111.53 20.4766 112.173 20.2103 112.843 20.2103H113.686C114.356 20.2103 114.999 20.4766 115.473 20.9506C115.947 21.4246 116.213 22.0675 116.213 22.7378C116.213 22.8495 116.169 22.9566 116.09 23.0356C116.011 23.1146 115.904 23.159 115.792 23.159C115.68 23.159 115.573 23.1146 115.494 23.0356C115.415 22.9566 115.371 22.8495 115.371 22.7378C115.371 22.2909 115.193 21.8623 114.877 21.5464C114.561 21.2303 114.133 21.0528 113.686 21.0528H112.843C112.397 21.0528 111.968 21.2303 111.652 21.5464C111.336 21.8623 111.159 22.2909 111.159 22.7378V23.2348C111.163 23.643 111.286 24.0411 111.512 24.3806L112.064 25.2231C112.572 25.9839 112.843 26.878 112.843 27.7927V28.6352Z",fill:"#97C3B9"}),t.createElement("circle",{cx:108.263,cy:104.263,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M110.789 108.053C110.789 107.941 110.745 107.834 110.666 107.755C110.587 107.676 110.48 107.632 110.368 107.632H108.263C107.705 107.632 107.169 107.41 106.774 107.015C106.38 106.62 106.158 106.085 106.158 105.526V105.105H108.684C108.796 105.105 108.903 105.061 108.982 104.982C109.061 104.903 109.105 104.796 109.105 104.684C109.105 104.572 109.061 104.465 108.982 104.386C108.903 104.307 108.796 104.263 108.684 104.263H106.158V103.421H109.526C109.638 103.421 109.745 103.377 109.824 103.298C109.903 103.219 109.947 103.112 109.947 103C109.947 102.888 109.903 102.781 109.824 102.702C109.745 102.623 109.638 102.579 109.526 102.579H106.158V102.158C106.158 101.599 106.38 101.064 106.774 100.669C107.169 100.274 107.705 100.053 108.263 100.053H110.368C110.48 100.053 110.587 100.008 110.666 99.9292C110.745 99.8503 110.789 99.7432 110.789 99.6315C110.789 99.5198 110.745 99.4127 110.666 99.3338C110.587 99.2548 110.48 99.2104 110.368 99.2104H108.263C107.481 99.2104 106.732 99.521 106.179 100.074C105.626 100.626 105.316 101.376 105.316 102.158V102.579H104.474C104.362 102.579 104.255 102.623 104.176 102.702C104.097 102.781 104.053 102.888 104.053 103C104.053 103.112 104.097 103.219 104.176 103.298C104.255 103.377 104.362 103.421 104.474 103.421H105.316V104.263H103.632C103.52 104.263 103.413 104.307 103.334 104.386C103.255 104.465 103.21 104.572 103.21 104.684C103.21 104.796 103.255 104.903 103.334 104.982C103.413 105.061 103.52 105.105 103.632 105.105H105.316V105.526C105.316 106.308 105.626 107.058 106.179 107.61C106.732 108.163 107.481 108.474 108.263 108.474H110.368C110.48 108.474 110.587 108.429 110.666 108.35C110.745 108.271 110.789 108.164 110.789 108.053Z",fill:"#97C3B9"}),t.createElement("circle",{cx:12.6316,cy:94.3159,r:8.76316,fill:"#97C3B9",fillOpacity:.2,stroke:"#97C3B9"}),t.createElement("path",{d:"M14.2506 95.8057C14.4476 95.8057 14.6068 95.9653 14.6068 96.162C14.6068 96.3586 14.4476 96.5182 14.2506 96.5182H13.5381C13.341 96.5182 13.1818 96.3586 13.1818 96.162C13.1818 95.9653 13.341 95.8057 13.5381 95.8057H14.2506Z",fill:"#97C3B9"}),t.createElement("path",{d:"M14.2506 94.3808C14.4476 94.3808 14.6068 94.5404 14.6068 94.737C14.6068 94.9337 14.4476 95.0933 14.2506 95.0933H12.8255V99.0121C12.8255 99.2088 12.6663 99.3684 12.4693 99.3684C12.2723 99.3684 12.113 99.2088 12.113 99.0121V96.5183H10.688C10.491 96.5183 10.3317 96.3587 10.3317 96.1621C10.3317 95.9654 10.491 95.8058 10.688 95.8058H12.113V95.0933H10.688C10.491 95.0933 10.3317 94.9337 10.3317 94.737C10.3317 94.5404 10.491 94.3808 10.688 94.3808H12.0286L9.33135 90.6717C9.21557 90.5124 9.25084 90.2898 9.41009 90.174C9.56933 90.0579 9.79235 90.0931 9.90742 90.2524L12.4693 93.775L15.0315 90.252C15.1466 90.0928 15.3696 90.0576 15.5288 90.1737C15.6884 90.2894 15.7234 90.5121 15.6076 90.6714L12.91 94.3808H14.2506Z",fill:"#97C3B9"}),t.createElement("circle",{cx:93.4736,cy:7.57899,r:1.68421,fill:"#97C3B9"}),t.createElement("circle",{cx:38.7368,cy:111.158,r:1.68421,fill:"#97C3B9"})),Q=o(b)`
2
2
  justify-content: space-between;
3
3
  height: auto;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{e as y,j as i,$ as S,o as c,C as a,w as v,J as z,r as k,q as l,t as M,ap as E}from"./index-CfctPHbv.js";import{b as h,n as t}from"./vendor-rkTZJa59.js";import{k as H}from"./NavigationDots-BDhrBzmw-C8Z-kY4L.js";const m={imageHeight:new a(l[4],l[10]),imageWidth:new a(l[4],l[10]),imageMarginRight:new a(l[2],l[3])},P={title:new z("largeMedium","h6Medium")},R=t.div`
1
+ import{e as y,j as i,$ as S,o as c,C as a,w as v,J as z,r as k,q as l,t as M,ap as E}from"./index-C7jkqxrR.js";import{b as h,n as t}from"./vendor-rkTZJa59.js";import{k as H}from"./NavigationDots-CFxiVMnb-Dxb6vagd.js";const m={imageHeight:new a(l[4],l[10]),imageWidth:new a(l[4],l[10]),imageMarginRight:new a(l[2],l[3])},P={title:new z("largeMedium","h6Medium")},R=t.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{e as u,u as x,B as l,j as i,aX as w,o as t,C as y,n as j,t as S,bQ as $,a6 as C}from"./index-CfctPHbv.js";import{n as o,j as b,k}from"./vendor-rkTZJa59.js";import{D as v}from"./HelpButton-Dmp2RZDD-DwUAgvCm.js";import{o as I}from"./QBOSetupSection-pBOQk_mE-D3kS8huT.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-BJgsd-6e-BJbKD0GQ.js";import"./QBOConnectionDialog-BBVBEJWA-aU8G6lgM.js";const{common:{texts:B}}=l.getLocalizedStrings();function E(e){return i.jsxs(z,{isEnabled:e.isEnabled,onClick:e.onClick,children:[i.jsx(P,{spinRefreshIcon:e.spinRefreshIcon,children:i.jsx(R,{})}),i.jsx(O,{children:B.refresh})]})}const z=o.div`
1
+ import{e as u,u as x,B as l,j as i,aX as w,o as t,C as y,n as j,t as S,bQ as $,a6 as C}from"./index-C7jkqxrR.js";import{n as o,j as b,k}from"./vendor-rkTZJa59.js";import{D as v}from"./HelpButton-B3uWY2LR-OlttS1C0.js";import{o as I}from"./QBOSetupSection-cB-8iCoM-i7dLrr5Q.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";import"./MeetingCalenderPopup-YiB2ETli-CqKaSUHn.js";import"./QBOConnectionDialog-JoNcGvU6-DWXeA3jb.js";const{common:{texts:B}}=l.getLocalizedStrings();function E(e){return i.jsxs(z,{isEnabled:e.isEnabled,onClick:e.onClick,children:[i.jsx(P,{spinRefreshIcon:e.spinRefreshIcon,children:i.jsx(R,{})}),i.jsx(O,{children:B.refresh})]})}const z=o.div`
2
2
  position: relative;
3
3
  display: flex;
4
4
  width: fit-content;
@@ -1,4 +1,4 @@
1
- import{e as R,a as le,B as Y,ca as se,O as de,l as ee,j as t,bV as ce,bX as ue,bY as be,F as pe,a4 as me,C as l,o as d,ao as he,cn as X,a2 as te,cv as _,hm as K,cd as U,hn as ae,cf as fe,q as i,$ as W,ct as ge,g as C,h8 as xe,R as ke,cw as we,K as ye,J as Ce,b1 as $e,r as ve,v as Se,ho as je,bu as Be,k as Ae}from"./index-CfctPHbv.js";import{b as M,n}from"./vendor-rkTZJa59.js";import{W as Ie,A as Le}from"./BankAccountWarningSection-DFi3iK9n-DMXZHPRc.js";import{T as Te}from"./MailingDetailsSection-N-M1JzkW-DsQX1QOn.js";import{M as Ne}from"./MagicLinkTitleSection-Dzfctx8H-B9w7ZvfA.js";const J={tooltipRightPosition:new l(i[6],i[6]),tooltipTopPosition:new l(35,35),tooltipWidth:new l(180,193)},De=({protectedInfoText:e})=>{const o=R();return t.jsxs(Me,{children:[t.jsx(Re,{}),t.jsx(Fe,{className:"info-tooltip",windowSize:o,children:t.jsx(Oe,{children:e})})]})};function Ee({type:e,name:o,placeholder:a,placeholderAlignment:b,autoComplete:s="off",autoCapitalize:x="off",autoTrim:$="off",isDisabled:g,defaultValue:A,style:I,hoverBgColor:k,registerOptions:L,protectedInfoText:w,isSaveError:v=!1,buttonProps:y,disableCopyPaste:c=!1}){const{control:r,register:p,formState:{errors:S},setFocus:h}=X(),z=_(S,o),j=Object.assign({},L),{label:f,isDisabled:F,fetchState:V,onButtonClick:O}=y;switch(e){case"email":Object.assign(j,{pattern:ke});break;case"number":Object.assign(j,{valueAsNumber:!0});break;case"url":Object.assign(j,{pattern:xe})}const q=g==="disabled"||g==="readonly"||w!=null;return w!=null?t.jsxs(Ve,{style:I,children:[t.jsx(De,{protectedInfoText:w}),t.jsx(We,{id:o,children:A})]}):t.jsx(ze,{isError:z,fetchState:V,style:{display:"flex",alignItems:"center",width:"100%"},keepButtonVisible:y.keepButtonVisible,isButtonHidden:y.isHidden,children:t.jsx(we,{name:o,control:r,rules:{...L},defaultValue:A??"","data-testid":W("text-field-with-button",o),render:({field:{onChange:H,onBlur:G,value:D,ref:T}})=>t.jsxs(t.Fragment,{children:[t.jsx(Pe,{type:e==="password"||e==="hidden"?e:void 0,isError:z,style:I,placeholder:a,disabled:q,...p(o,j),id:o,ref:T,value:D,autoComplete:s,placeholderAlignment:b,hoverBgColor:k,isSaveError:v,onBlur:G,onChange:H,"data-testid":W("text-field-with-button-input",o),onInput:m=>{const u=m.target;switch(x){case"off":break;case"characters":u.value=u.value.toLocaleUpperCase();break;case"words":u.value=u.value.charAt(0).toLocaleUpperCase().concat(u.value.slice(1));break}switch($){case"off":break;case"trimStart":u.value=u.value.trimStart();break;case"trimEnd":u.value=u.value.trimEnd();break;case"trim":u.value=u.value.trim();break}},onPaste:m=>{c&&m.preventDefault()},onCopy:m=>{c&&m.preventDefault()},keepButtonVisible:y.keepButtonVisible}),t.jsx(ye,{label:f,onClick:m=>{m.stopPropagation(),h(o),setTimeout(()=>{O()})},style:{outline:"none"},size:"xs-small",disabled:F,variant:"success",reverseSpinnerColor:!0,loading:V==="In-Progress","data-testid":W("text-field-button",`${o}-${f}`)})]})})})}const Pe=n(je)`
1
+ import{e as M,a as le,B as Q,ca as se,O as de,l as ee,j as t,bV as ce,bX as ue,bY as be,F as pe,a4 as he,C as l,o as d,ao as me,cn as X,a2 as te,cv as _,hn as U,cd as Y,ho as ae,cf as fe,q as i,$ as W,ct as ge,g as C,h9 as xe,R as ke,cw as we,K as ye,J as Ce,b1 as $e,r as ve,v as Se,hp as je,bu as Be,k as Ae}from"./index-C7jkqxrR.js";import{b as R,n}from"./vendor-rkTZJa59.js";import{W as Ie,A as Le}from"./BankAccountWarningSection-CVhY2Ven-MI-JQ1yO.js";import{T as Te}from"./MailingDetailsSection-DU4LYPzH-BXsLAtDc.js";import{M as Ne}from"./MagicLinkTitleSection-wjuKcqab-D7vo35cb.js";const J={tooltipRightPosition:new l(i[6],i[6]),tooltipTopPosition:new l(35,35),tooltipWidth:new l(180,193)},Ee=({protectedInfoText:e})=>{const o=M();return t.jsxs(Re,{children:[t.jsx(Me,{}),t.jsx(Fe,{className:"info-tooltip",windowSize:o,children:t.jsx(Oe,{children:e})})]})};function De({type:e,name:o,placeholder:a,placeholderAlignment:b,autoComplete:s="off",autoCapitalize:x="off",autoTrim:$="off",isDisabled:g,defaultValue:A,style:I,hoverBgColor:k,registerOptions:L,protectedInfoText:w,isSaveError:v=!1,buttonProps:y,disableCopyPaste:c=!1}){const{control:r,register:p,formState:{errors:S},setFocus:m}=X(),z=_(S,o),j=Object.assign({},L),{label:f,isDisabled:F,fetchState:V,onButtonClick:O}=y;switch(e){case"email":Object.assign(j,{pattern:ke});break;case"number":Object.assign(j,{valueAsNumber:!0});break;case"url":Object.assign(j,{pattern:xe})}const q=g==="disabled"||g==="readonly"||w!=null;return w!=null?t.jsxs(Ve,{style:I,children:[t.jsx(Ee,{protectedInfoText:w}),t.jsx(We,{id:o,children:A})]}):t.jsx(ze,{isError:z,fetchState:V,style:{display:"flex",alignItems:"center",width:"100%"},keepButtonVisible:y.keepButtonVisible,isButtonHidden:y.isHidden,children:t.jsx(we,{name:o,control:r,rules:{...L},defaultValue:A??"","data-testid":W("text-field-with-button",o),render:({field:{onChange:H,onBlur:G,value:E,ref:T}})=>t.jsxs(t.Fragment,{children:[t.jsx(Pe,{type:e==="password"||e==="hidden"?e:void 0,isError:z,style:I,placeholder:a,disabled:q,...p(o,j),id:o,ref:T,value:E,autoComplete:s,placeholderAlignment:b,hoverBgColor:k,isSaveError:v,onBlur:G,onChange:H,"data-testid":W("text-field-with-button-input",o),onInput:h=>{const u=h.target;switch(x){case"off":break;case"characters":u.value=u.value.toLocaleUpperCase();break;case"words":u.value=u.value.charAt(0).toLocaleUpperCase().concat(u.value.slice(1));break}switch($){case"off":break;case"trimStart":u.value=u.value.trimStart();break;case"trimEnd":u.value=u.value.trimEnd();break;case"trim":u.value=u.value.trim();break}},onPaste:h=>{c&&h.preventDefault()},onCopy:h=>{c&&h.preventDefault()},keepButtonVisible:y.keepButtonVisible}),t.jsx(ye,{label:f,onClick:h=>{h.stopPropagation(),m(o),setTimeout(()=>{O()})},style:{outline:"none"},size:"xs-small",disabled:F,variant:"success",reverseSpinnerColor:!0,loading:V==="In-Progress","data-testid":W("text-field-button",`${o}-${f}`)})]})})})}const Pe=n(je)`
2
2
  display: flex;
3
3
  border-width: ${d.sp0};
4
4
  outline-width: ${d.sp0};
@@ -45,9 +45,9 @@ import{e as R,a as le,B as Y,ca as se,O as de,l as ee,j as t,bV as ce,bX as ue,b
45
45
  color: ${e=>e.theme.colors.primary};
46
46
  margin-left: 12px;
47
47
  margin-top: 6px;
48
- `,Me=n.div`
48
+ `,Re=n.div`
49
49
  color: ${e=>e.theme.colors.primary};
50
- `,Re=n(Be)`
50
+ `,Me=n(Be)`
51
51
  color: ${e=>e.theme.colors.hero};
52
52
  width: ${d.sp3};
53
53
  height: ${d.sp3};
@@ -73,7 +73,7 @@ import{e as R,a as le,B as Y,ca as se,O as de,l as ee,j as t,bV as ce,bX as ue,b
73
73
  top: ${e=>J.tooltipTopPosition.valuePx(e.windowSize)};
74
74
  `,Oe=n(Ae)`
75
75
  color: ${e=>e.theme.colors.grey5};
76
- `,B={width:new l(343,580,726),height:new l(i[6],i[6]),controlHeight:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},qe={infoLabel:new Ce("extraSmallRegular","smallRegular")};function He({isDisabled:e,label:o,text:a,style:b,additionalInfoLabel:s,showAdditionalInfoLabel:x=!0,protectedInfoText:$,isSaveError:g,showTickIcon:A,showErrorInfoLabel:I,errorInfoLabel:k,disableCopyPaste:L=!1,showTooltip:w=!1,tooltipTitle:v,onBlur:y}){const c=R(),{formState:{errors:r}}=X(),p=_(r,a.name);return t.jsxs(Ge,{size:c,style:b,isDisabled:e!=null,isError:p,"data-testid":W("labeled-text-field-with-button",a.name),children:[t.jsx(ge,{isDisabled:e,label:o.label,style:{marginLeft:B.labelMarginLeft.value(c),marginRight:B.labelMarginRight.value(c),marginTop:B.labelMarginTop.value(c),width:o.width??"auto"},showTooltip:w,tooltipTitle:v}),t.jsxs(Ke,{labelWidth:o.width,children:[t.jsx(Ee,{...a,style:{...a.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:B.controlHeight.value(c),cursor:"inherit"},protectedInfoText:$,isSaveError:g,onBlur:y,disableCopyPaste:L}),(x||p)&&t.jsxs(oe,{size:c,isError:p,children:[A===!0?t.jsx(Ue,{children:t.jsx(Je,{})}):null,s]}),I===!0&&t.jsx(oe,{size:c,isError:!0,children:k})]})]})}const Ge=n.div`
76
+ `,B={width:new l(343,580,726),height:new l(i[6],i[6]),controlHeight:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},qe={infoLabel:new Ce("extraSmallRegular","smallRegular")};function He({isDisabled:e,label:o,text:a,style:b,additionalInfoLabel:s,showAdditionalInfoLabel:x=!0,protectedInfoText:$,isSaveError:g,showTickIcon:A,showErrorInfoLabel:I,errorInfoLabel:k,disableCopyPaste:L=!1,showTooltip:w=!1,tooltipTitle:v,onBlur:y}){const c=M(),{formState:{errors:r}}=X(),p=_(r,a.name);return t.jsxs(Ge,{size:c,style:b,isDisabled:e!=null,isError:p,"data-testid":W("labeled-text-field-with-button",a.name),children:[t.jsx(ge,{isDisabled:e,label:o.label,style:{marginLeft:B.labelMarginLeft.value(c),marginRight:B.labelMarginRight.value(c),marginTop:B.labelMarginTop.value(c),width:o.width??"auto"},showTooltip:w,tooltipTitle:v}),t.jsxs(Ue,{labelWidth:o.width,children:[t.jsx(De,{...a,style:{...a.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:B.controlHeight.value(c),cursor:"inherit"},protectedInfoText:$,isSaveError:g,onBlur:y,disableCopyPaste:L}),(x||p)&&t.jsxs(oe,{size:c,isError:p,children:[A===!0?t.jsx(Ye,{children:t.jsx(Je,{})}):null,s]}),I===!0&&t.jsx(oe,{size:c,isError:!0,children:k})]})]})}const Ge=n.div`
77
77
  display: flex;
78
78
  flex-direction: row;
79
79
  align-items: flex-start;
@@ -113,7 +113,7 @@ import{e as R,a as le,B as Y,ca as se,O as de,l as ee,j as t,bV as ce,bX as ue,b
113
113
  background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?C.importantLight:e.theme.colors.background};
114
114
  }
115
115
  }
116
- `,Ke=n.div`
116
+ `,Ue=n.div`
117
117
  display: flex;
118
118
  flex-direction: column;
119
119
  width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
@@ -125,7 +125,7 @@ import{e as R,a as le,B as Y,ca as se,O as de,l as ee,j as t,bV as ce,bX as ue,b
125
125
  ${e=>`${qe.infoLabel.style(e.size)}`};
126
126
  padding-right: ${d.sp3};
127
127
  text-align: right;
128
- `,Ue=n.div`
128
+ `,Ye=n.div`
129
129
  display: flex;
130
130
  margin-right: ${d.sp1};
131
131
  align-items: center;
@@ -133,7 +133,7 @@ import{e as R,a as le,B as Y,ca as se,O as de,l as ee,j as t,bV as ce,bX as ue,b
133
133
  width: ${d.sp3};
134
134
  height: ${d.sp3};
135
135
  color: ${C.successDark};
136
- `,ie={largeLabelWidth:new l(120,140,220),veryLargeLabelWidth:new l(120,140,256)},Qe=({sectionId:e,bankNameBySwift:o,bankAccountToCreate:a,isDisabled:b,fetchBankNameBySwiftStatus:s,onFetchBankNameBySwift:x,style:$})=>{const g=R(),{getValues:A,setValue:I,formState:{errors:k}}=X(),{fetchState:L}=s,w=te(s.fetchState),v=te(a?.bankSwiftCode),y=_(k,E(e,"bankSwiftCode"));M.useEffect(()=>{(w==="In-Progress"||v!=null&&v!==a?.bankSwiftCode)&&s.fetchState==="Completed"&&a?.bankSwiftCode!=null&&Object.keys(o).includes(a?.bankSwiftCode)&&o[a?.bankSwiftCode].bankName&&I(E(e,"bankName"),o[a?.bankSwiftCode].bankName)},[a?.bankName,a?.bankSwiftCode,s.fetchState,w,v]);const c=Y.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:r}=c,p=ie.largeLabelWidth.value(g),S=ie.veryLargeLabelWidth.value(g);return t.jsx(Ye,{style:$,children:t.jsxs(Xe,{children:[t.jsx(He,{label:{label:r.swiftCode,width:p},text:{type:"text",name:E(e,"bankSwiftCode"),placeholder:r.addSwiftCode,defaultValue:a?.bankSwiftCode,registerOptions:{required:!0,pattern:K},autoCapitalize:"characters",autoTrim:"trim",buttonProps:{label:r.verify,isDisabled:K.test(a?.bankSwiftCode??"")===!1,isHidden:s.fetchState==="Completed",keepButtonVisible:K.test(a?.bankSwiftCode??"")===!0&&s.fetchState!=="Completed",fetchState:L,onButtonClick:()=>{a?.bankSwiftCode!=null&&x(a.bankSwiftCode)}}},isDisabled:b,style:{width:"auto"},additionalInfoLabel:a?.bankName?a?.bankName:void 0,showTickIcon:!!a?.bankName,showAdditionalInfoLabel:!y,errorInfoLabel:r.invalidSwiftCode}),t.jsx(Q,{}),t.jsx(U,{label:{label:r.iban,width:p},text:{type:"text",name:E(e,"bankAccountIban"),placeholder:r.addIban,defaultValue:a?.bankAccountIban,autoCapitalize:"characters",options:{required:!0,pattern:ae}},isDisabled:b,style:{width:"auto"},showAdditionalInfoLabel:!1,additionalInfoLabel:r.invalidIban}),t.jsx(Q,{}),t.jsx(U,{label:{label:r.confirmIban,width:S},text:{type:"text",name:E(e,"confirmedBankAccountIban"),placeholder:r.addConfirmIban,defaultValue:a?.confirmedBankAccountIban,autoCapitalize:"characters",options:{required:!0,pattern:ae,validate:h=>h!=null?A(`${e}.bankAccountIban`)===h:!1}},disableCopyPaste:!0,isDisabled:b,style:{width:"auto"},showAdditionalInfoLabel:!1,additionalInfoLabel:r.ibanDontMatch}),t.jsx(Q,{}),t.jsx(U,{label:{label:r.accountNickName,width:p},text:{type:"text",name:E(e,"bankAccountName"),placeholder:fe(r.accountNickName),defaultValue:a?.bankAccountName,options:{required:!1}},isDisabled:b,style:{width:"auto"}})]})})},E=(e,o)=>`${e}.${o}`,Ye=n.div`
136
+ `,ie={largeLabelWidth:new l(120,140,220),veryLargeLabelWidth:new l(120,140,256)},Ke=({sectionId:e,bankNameBySwift:o,bankAccountToCreate:a,isDisabled:b,fetchBankNameBySwiftStatus:s,onFetchBankNameBySwift:x,style:$})=>{const g=M(),{getValues:A,setValue:I,formState:{errors:k}}=X(),{fetchState:L}=s,w=te(s.fetchState),v=te(a?.bankSwiftCode),y=_(k,D(e,"bankSwiftCode"));R.useEffect(()=>{(w==="In-Progress"||v!=null&&v!==a?.bankSwiftCode)&&s.fetchState==="Completed"&&a?.bankSwiftCode!=null&&Object.keys(o).includes(a?.bankSwiftCode)&&o[a?.bankSwiftCode].bankName&&I(D(e,"bankName"),o[a?.bankSwiftCode].bankName)},[a?.bankName,a?.bankSwiftCode,s.fetchState,w,v]);const c=Q.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:r}=c,p=ie.largeLabelWidth.value(g),S=ie.veryLargeLabelWidth.value(g);return t.jsx(Qe,{style:$,children:t.jsxs(Xe,{children:[t.jsx(He,{label:{label:r.swiftCode,width:p},text:{type:"text",name:D(e,"bankSwiftCode"),placeholder:r.addSwiftCode,defaultValue:a?.bankSwiftCode,registerOptions:{required:!0,pattern:U},autoCapitalize:"characters",autoTrim:"trim",buttonProps:{label:r.verify,isDisabled:U.test(a?.bankSwiftCode??"")===!1,isHidden:s.fetchState==="Completed",keepButtonVisible:U.test(a?.bankSwiftCode??"")===!0&&s.fetchState!=="Completed",fetchState:L,onButtonClick:()=>{a?.bankSwiftCode!=null&&x(a.bankSwiftCode)}}},isDisabled:b,style:{width:"auto"},additionalInfoLabel:a?.bankName?a?.bankName:void 0,showTickIcon:!!a?.bankName,showAdditionalInfoLabel:!y,errorInfoLabel:r.invalidSwiftCode}),t.jsx(K,{}),t.jsx(Y,{label:{label:r.iban,width:p},text:{type:"text",name:D(e,"bankAccountIban"),placeholder:r.addIban,defaultValue:a?.bankAccountIban,autoCapitalize:"characters",options:{required:!0,pattern:ae}},isDisabled:b,style:{width:"auto"},showAdditionalInfoLabel:!1,additionalInfoLabel:r.invalidIban}),t.jsx(K,{}),t.jsx(Y,{label:{label:r.confirmIban,width:S},text:{type:"text",name:D(e,"confirmedBankAccountIban"),placeholder:r.addConfirmIban,defaultValue:a?.confirmedBankAccountIban,autoCapitalize:"characters",options:{required:!0,pattern:ae,validate:m=>m!=null?A(`${e}.bankAccountIban`)===m:!1}},disableCopyPaste:!0,isDisabled:b,style:{width:"auto"},showAdditionalInfoLabel:!1,additionalInfoLabel:r.ibanDontMatch}),t.jsx(K,{}),t.jsx(Y,{label:{label:r.accountNickName,width:p},text:{type:"text",name:D(e,"bankAccountName"),placeholder:fe(r.accountNickName),defaultValue:a?.bankAccountName,options:{required:!1}},isDisabled:b,style:{width:"auto"}})]})})},D=(e,o)=>`${e}.${o}`,Qe=n.div`
137
137
  display: flex;
138
138
  flex-direction: column;
139
139
  `,Xe=n.div`
@@ -143,13 +143,13 @@ import{e as R,a as le,B as Y,ca as se,O as de,l as ee,j as t,bV as ce,bX as ue,b
143
143
  border: 1px solid ${e=>e.theme.colors.grey3};
144
144
  box-shadow: ${e=>`${d.sp0} 2px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
145
145
  border-radius: ${d.sp2};
146
- `,Q=n.div`
146
+ `,K=n.div`
147
147
  display: flex;
148
148
  flex: 1;
149
149
  background-color: ${e=>e.theme.colors.grey3};
150
150
  min-height: 1px;
151
151
  max-height: 1px;
152
- `,N={paddingTopBottomContainer:new l(i[3],i[3]),paddingLeftContainer:new l(i[3],i[6]),paddingRightContainer:new l(i[3],i[8]),marginLeft:new l(i[4],i[6]),buttonWidth:new l(140,140)},ne="internationalDetailsPage",P="internationalWireSwiftAccountSection",_e="mailingAddressSection",re=e=>`${e}_form`,ct=({bankAccountCreationState:e,bankNameBySwift:o,addressType:a,fetchBankNameBySwiftStatus:b,bankAccountToCreate:s,addressToEdit:x,mailingAddress:$,isDisabled:g,style:A,companyName:I,isMagicLink:k,currencySymbol:L,amount:w,onSaveHandler:v,onBankDetailsUpdated:y,onFetchBankNameBySwift:c,onAddressClick:r,onBackClick:p})=>{const S=R(),h=le({mode:"all",reValidateMode:"onBlur",defaultValues:M.useMemo(()=>Ze(s),[s])}),[z,j]=M.useState(!1),f=Y.getLocalizedStrings().spendManagement.billPay.vendorCreation,F=Y.getLocalizedStrings().common.footer,{international:V}=f.wireDetails,O={onOkClick:()=>{j(!1),h.reset(),p?.()},onCancelClick:()=>{j(!1)}},q=async(D,T)=>{const m=T[P].bankName,u=T[P].bankSwiftCode,Z=Object.assign({},T);D===`${P}.bankSwiftCode`&&(m||!m&&o[u]?.bankName)&&(Z[P].bankName=o[u]?.bankName??""),y(Z)};M.useEffect(()=>{const D=h.watch((T,{name:m})=>{m!=null&&T!=null&&se(()=>q(m,T))});return()=>{D.unsubscribe()}});const H=h.handleSubmit(D=>{b.fetchState!=="In-Progress"&&v("wire")}),G=!de($!=null?ee.getFormattedAddress($):$,x!=null?ee.getFormattedAddress(x):x)||et(s)||h.formState.isDirty;return t.jsxs(at,{children:[t.jsxs(ot,{style:A,size:S,children:[z===!0?t.jsx(ce,{titleComponent:t.jsx(be,{children:f.discardTitle}),descriptionComponent:t.jsx(ue,{children:f.discardDescription}),primaryButtonText:f.discard,secondaryButtonText:f.cancel,action:O}):null,t.jsx(Ie,{header:k?t.jsx(Ne,{companyName:I??"",currencySymbol:L??"",amount:w??0}):V.addInternationalWireDetails,isMagicLink:k,isDirty:G,onBackClick:p,setShowConfirmationPopup:j}),e?.fetchState==="Error"&&e.error?.code===409?t.jsx(Le,{warningText:f.bankAccountCommon.accountExistWarning}):null,t.jsx(it,{size:S,children:f.bankAccountCommon.accountDetailsTitle}),t.jsx(pe,{...h,children:t.jsxs("form",{id:re(ne),onSubmit:H,children:[t.jsx(tt,{size:S,children:t.jsx(Qe,{bankAccountToCreate:s,bankNameBySwift:o,fetchBankNameBySwiftStatus:b,sectionId:P,isDisabled:g,onFetchBankNameBySwift:c})}),t.jsx(Te,{sectionId:_e,isDisabled:g,addressType:a,addressToEdit:x,onAddressClick:r})]})})]}),t.jsx(me,{formId:re(ne),primaryBtn:{label:k?f.bankAccountCommon.submitDetails:f.bankAccountCommon.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:N.buttonWidth.value(S)},isDisabled:g!=null},showCancel:!k,cancelBtn:{label:F.cancel,style:{width:N.buttonWidth.value(S)},shouldResetOnCancel:!1,onClick:()=>{h.formState.isDirty?j(!0):(h.reset(),p?.())}}})]})},Ze=e=>({[P]:{bankSwiftCode:e?.bankSwiftCode,bankName:e?.bankName??"",bankAccountIban:e?.bankAccountIban,confirmedBankAccountIban:e?.confirmedBankAccountIban,bankAccountName:e?.bankAccountName}}),et=e=>{if(e==null)return!1;const{bankAccountName:o,bankSwiftCode:a,bankName:b,bankAccountIban:s}=e;return!!o||!!a||!!b||!!s},tt=n.div`
152
+ `,N={paddingTopBottomContainer:new l(i[3],i[3]),paddingLeftContainer:new l(i[3],i[6]),paddingRightContainer:new l(i[3],i[8]),marginLeft:new l(i[4],i[6]),buttonWidth:new l(140,140)},ne="internationalDetailsPage",P="internationalWireSwiftAccountSection",_e="mailingAddressSection",re=e=>`${e}_form`,ct=({bankAccountCreationState:e,bankNameBySwift:o,addressType:a,fetchBankNameBySwiftStatus:b,bankAccountToCreate:s,addressToEdit:x,mailingAddress:$,isDisabled:g,style:A,companyName:I,isMagicLink:k,currencySymbol:L,amount:w,onSaveHandler:v,onBankDetailsUpdated:y,onFetchBankNameBySwift:c,onAddressClick:r,onBackClick:p})=>{const S=M(),m=le({mode:"all",reValidateMode:"onBlur",defaultValues:R.useMemo(()=>Ze(s),[s])}),[z,j]=R.useState(!1),f=Q.getLocalizedStrings().spendManagement.billPay.vendorCreation,F=Q.getLocalizedStrings().common.footer,{international:V}=f.wireDetails,O={onOkClick:()=>{j(!1),m.reset(),p?.()},onCancelClick:()=>{j(!1)}},q=async(E,T)=>{const h=T[P].bankName,u=T[P].bankSwiftCode,Z=Object.assign({},T);E===`${P}.bankSwiftCode`&&(h||!h&&o[u]?.bankName)&&(Z[P].bankName=o[u]?.bankName??""),y(Z)};R.useEffect(()=>{const E=m.watch((T,{name:h})=>{h!=null&&T!=null&&se(()=>q(h,T))});return()=>{E.unsubscribe()}});const H=m.handleSubmit(E=>{b.fetchState!=="In-Progress"&&v("wire")}),G=!de($!=null?ee.getFormattedAddress($):$,x!=null?ee.getFormattedAddress(x):x)||et(s)||m.formState.isDirty;return t.jsxs(at,{children:[t.jsxs(ot,{style:A,size:S,children:[z===!0?t.jsx(ce,{titleComponent:t.jsx(be,{children:f.discardTitle}),descriptionComponent:t.jsx(ue,{children:f.discardDescription}),primaryButtonText:f.discard,secondaryButtonText:f.cancel,action:O}):null,t.jsx(Ie,{header:k?t.jsx(Ne,{companyName:I??"",currencySymbol:L??"",amount:w??0}):V.addInternationalWireDetails,isMagicLink:k,isDirty:G,onBackClick:p,setShowConfirmationPopup:j}),e?.fetchState==="Error"&&e.error?.code===409?t.jsx(Le,{warningText:f.bankAccountCommon.accountExistWarning}):null,t.jsx(it,{size:S,children:f.bankAccountCommon.accountDetailsTitle}),t.jsx(pe,{...m,children:t.jsxs("form",{id:re(ne),onSubmit:H,children:[t.jsx(tt,{size:S,children:t.jsx(Ke,{bankAccountToCreate:s,bankNameBySwift:o,fetchBankNameBySwiftStatus:b,sectionId:P,isDisabled:g,onFetchBankNameBySwift:c})}),t.jsx(Te,{sectionId:_e,isDisabled:g,addressType:a,addressToEdit:x,onAddressClick:r})]})})]}),t.jsx(he,{formId:re(ne),primaryBtn:{label:k?f.bankAccountCommon.submitDetails:f.bankAccountCommon.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:N.buttonWidth.value(S)},isDisabled:g!=null},showCancel:!k,cancelBtn:{label:F.cancel,style:{width:N.buttonWidth.value(S)},shouldResetOnCancel:!1,onClick:()=>{m.formState.isDirty?j(!0):(m.reset(),p?.())}}})]})},Ze=e=>({[P]:{bankSwiftCode:e?.bankSwiftCode,bankName:e?.bankName??"",bankAccountIban:e?.bankAccountIban,confirmedBankAccountIban:e?.confirmedBankAccountIban,bankAccountName:e?.bankAccountName}}),et=e=>{if(e==null)return!1;const{bankAccountName:o,bankSwiftCode:a,bankName:b,bankAccountIban:s}=e;return!!o||!!a||!!b||!!s},tt=n.div`
153
153
  padding-left: ${e=>N.paddingLeftContainer.valuePx(e.size)};
154
154
  padding-right: ${e=>N.paddingRightContainer.valuePx(e.size)};
155
155
  padding-top: ${e=>N.paddingTopBottomContainer.valuePx(e.size)};
@@ -164,7 +164,7 @@ import{e as R,a as le,B as Y,ca as se,O as de,l as ee,j as t,bV as ce,bX as ue,b
164
164
  display: flex;
165
165
  flex-direction: column;
166
166
  flex-grow: 1;
167
- `,it=n(he)`
167
+ `,it=n(me)`
168
168
  color: ${e=>e.theme.colors.champion};
169
169
  margin-left: ${e=>N.marginLeft.valuePx(e.size)};
170
170
  margin-top: ${d.sp3};
@@ -1,4 +1,4 @@
1
- import{u as A,e as q,B as J,j as t,c as U,a2 as ae,a as re,ca as ne,aX as se,m as de,F as ce,a4 as ue,o as i,C as g,n as X,k4 as K,l as V,cE as pe,t as Q,J as me,cG as he,v as B,q as d,cj as ge,ck as fe,ct as xe,g as R,cn as be,cv as we,cw as ye,b3 as $e,b4 as F,k5 as ve,a3 as Z,b1 as Se}from"./index-CfctPHbv.js";import{b as _,n as u}from"./vendor-rkTZJa59.js";import{Y as je}from"./LabeledDocumentField-CyW3tPI--DYCMXfVj.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const Fe=({name:e,registerOptions:a,defaultValue:r,isDisabled:m,style:s,placeholder:n})=>{const{control:f,formState:{errors:C}}=be(),P=A(),z=we(C,e??""),x=l=>({value:l.value,label:l.label}),w=l=>l.map(p=>x(p)),E=l=>{if(!(l==null||!l))return{value:l,label:r.allOptions.find(p=>p.value===l)?.label??l}},h=l=>l.map(p=>E(p)),k={container:l=>({...l,width:"100%",...s}),menu:l=>({...l,backgroundColor:P.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${P.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:l=>({...l,borderRadius:i.sp1})},y={hasError:z};return t.jsx(ye,{name:e,control:f,defaultValue:r,rules:a,render:({field:{onChange:l,onBlur:p,value:v,ref:O}})=>t.jsx($e,{...y,ref:O,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:n,value:h(v.selectedOptions),options:w(v.allOptions),onChange:o=>{l({selectedOptions:o.map(c=>c?.value),allOptions:v.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:p,menuPlacement:"auto",maxMenuHeight:210,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:De,Option:Me,Input:ke,MultiValue:Ie,MultiValueLabel:Ce,MultiValueRemove:ze,ValueContainer:Pe,DropdownIndicator:He,IndicatorSeparator:qe,Placeholder:Oe,ClearIndicator:Ee},hideSelectedOptions:!1,styles:k,isDisabled:m!=null})})},De=e=>{const{menuIsOpen:a,isFocused:r,isDisabled:m,selectProps:s}=e,{value:n,hasError:f}=s;return t.jsx(Ve,{menuIsOpen:a,isFocused:r,isDisabled:m,optionsLen:n.length,hasError:f,children:t.jsx(F.Control,{...e,className:"select-control",children:e.children})})},Pe=e=>{const{selectProps:a}=e,{value:r}=a;return t.jsxs(F.ValueContainer,{...e,className:"select-value-container",children:[e.children,t.jsx(Be,{className:"selected-options",children:r.map(m=>m.label).join(", ")})]})},ke=e=>{const{selectProps:a}=e,{placeholder:r,value:m}=a;return t.jsx(F.Input,{...e,autoComplete:"new-password",placeholder:m.length===0?r:void 0,children:e.children})},Ie=e=>t.jsx(F.MultiValue,{...e,children:e.children}),Ce=e=>{const{data:a}=e;return t.jsx(F.MultiValueLabel,{...e,children:a.label})},ze=e=>t.jsx(F.MultiValueRemove,{...e,children:t.jsx(ee,{style:{marginTop:"2px"}})}),Ee=e=>t.jsx(F.ClearIndicator,{...e,children:t.jsx(ee,{})}),Oe=()=>null,Me=e=>{const{isSelected:a,isDisabled:r,isFocused:m}=e;return t.jsx(Le,{isFocused:m,isSelected:a,isDisabled:r,children:t.jsx(F.Option,{...e,className:"select-option",children:t.jsxs(Te,{children:[t.jsx(ve,{countryCode3:e.value}),t.jsx(_e,{children:t.jsx(Re,{isSelected:a,isDisabled:r,children:e.label})}),a?t.jsxs(Ne,{children:[t.jsx(We,{className:"right-tick-icon"}),t.jsx(Z,{className:"close-tick-icon"})]}):null]})})})},Ve=u.div`
1
+ import{u as A,e as q,B as J,j as t,c as U,a2 as ae,a as re,ca as ne,aX as se,m as de,F as ce,a4 as ue,o as i,C as g,n as X,k4 as K,l as V,cE as pe,t as Q,J as me,cG as he,v as B,q as d,cj as ge,ck as fe,ct as xe,g as R,cn as be,cv as we,cw as ye,b3 as $e,b4 as F,k5 as ve,a3 as Z,b1 as Se}from"./index-C7jkqxrR.js";import{b as _,n as u}from"./vendor-rkTZJa59.js";import{Y as je}from"./LabeledDocumentField-Dyfj_Dx0-CxT8amBm.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";const Fe=({name:e,registerOptions:a,defaultValue:r,isDisabled:m,style:s,placeholder:n})=>{const{control:f,formState:{errors:C}}=be(),P=A(),z=we(C,e??""),x=l=>({value:l.value,label:l.label}),w=l=>l.map(p=>x(p)),E=l=>{if(!(l==null||!l))return{value:l,label:r.allOptions.find(p=>p.value===l)?.label??l}},h=l=>l.map(p=>E(p)),k={container:l=>({...l,width:"100%",...s}),menu:l=>({...l,backgroundColor:P.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${P.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:l=>({...l,borderRadius:i.sp1})},y={hasError:z};return t.jsx(ye,{name:e,control:f,defaultValue:r,rules:a,render:({field:{onChange:l,onBlur:p,value:v,ref:O}})=>t.jsx($e,{...y,ref:O,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:n,value:h(v.selectedOptions),options:w(v.allOptions),onChange:o=>{l({selectedOptions:o.map(c=>c?.value),allOptions:v.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:p,menuPlacement:"auto",maxMenuHeight:210,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:De,Option:Me,Input:ke,MultiValue:Ie,MultiValueLabel:Ce,MultiValueRemove:ze,ValueContainer:Pe,DropdownIndicator:He,IndicatorSeparator:qe,Placeholder:Oe,ClearIndicator:Ee},hideSelectedOptions:!1,styles:k,isDisabled:m!=null})})},De=e=>{const{menuIsOpen:a,isFocused:r,isDisabled:m,selectProps:s}=e,{value:n,hasError:f}=s;return t.jsx(Ve,{menuIsOpen:a,isFocused:r,isDisabled:m,optionsLen:n.length,hasError:f,children:t.jsx(F.Control,{...e,className:"select-control",children:e.children})})},Pe=e=>{const{selectProps:a}=e,{value:r}=a;return t.jsxs(F.ValueContainer,{...e,className:"select-value-container",children:[e.children,t.jsx(Be,{className:"selected-options",children:r.map(m=>m.label).join(", ")})]})},ke=e=>{const{selectProps:a}=e,{placeholder:r,value:m}=a;return t.jsx(F.Input,{...e,autoComplete:"new-password",placeholder:m.length===0?r:void 0,children:e.children})},Ie=e=>t.jsx(F.MultiValue,{...e,children:e.children}),Ce=e=>{const{data:a}=e;return t.jsx(F.MultiValueLabel,{...e,children:a.label})},ze=e=>t.jsx(F.MultiValueRemove,{...e,children:t.jsx(ee,{style:{marginTop:"2px"}})}),Ee=e=>t.jsx(F.ClearIndicator,{...e,children:t.jsx(ee,{})}),Oe=()=>null,Me=e=>{const{isSelected:a,isDisabled:r,isFocused:m}=e;return t.jsx(Le,{isFocused:m,isSelected:a,isDisabled:r,children:t.jsx(F.Option,{...e,className:"select-option",children:t.jsxs(Te,{children:[t.jsx(ve,{countryCode3:e.value}),t.jsx(_e,{children:t.jsx(Re,{isSelected:a,isDisabled:r,children:e.label})}),a?t.jsxs(Ne,{children:[t.jsx(We,{className:"right-tick-icon"}),t.jsx(Z,{className:"close-tick-icon"})]}):null]})})})},Ve=u.div`
2
2
  width: 100%;
3
3
  background-color: ${e=>e.theme.colors.grey5};
4
4
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};