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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/dist/assets/{ACHDetailsPage-ppaaVv4t-BnOUfoFz.js → ACHDetailsPage-ppaaVv4t-DerAWpBF.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-brocrTLA-C9EDr2D4.js → AIPerformancePage-brocrTLA-D-qOCG9N.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-BkqXbGUJ-DXuI8tNZ.js → AccountInfoPage-BkqXbGUJ-CPi6xrFM.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DOrQxiUF-2yx_ZhMt.js → AccountInfoPageContent-DOrQxiUF-eaKGkCbW.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-i6rVi1gY-DVchfPsP.js → AccountReconDetailsDrawerPage-i6rVi1gY-JXbUROYY.js} +1 -1
  6. package/dist/assets/{AccountRow-D9vDRsjv-uSOuzaD9.js → AccountRow-D9vDRsjv-XcUg9HnZ.js} +1 -1
  7. package/dist/assets/{AccountsPromoCardStack-BvFE5A3N-C__nnIqn.js → AccountsPromoCardStack-BvFE5A3N-ObKkidII.js} +1 -1
  8. package/dist/assets/{AddAddressForCardDrawer-BV2BSzaD-CBI5bfsC.js → AddAddressForCardDrawer-BV2BSzaD-BdS_xiVp.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-DTEIuDRq-CzKzLxkn.js → AddToWalletPage-DTEIuDRq-B2C8ipcJ.js} +1 -1
  10. package/dist/assets/{AgingReportsPage-B8iVxaQX-z0eVPQ8X.js → AgingReportsPage-B8iVxaQX-BHVqW05k.js} +1 -1
  11. package/dist/assets/{AllUserItems-BepRyHp7-6smxMTUs.js → AllUserItems-BepRyHp7-uJhUuJ3f.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-DOObMUqB-DRL-pTDS.js → ApAgingDetailPage-DOObMUqB-PedjJRg4.js} +1 -1
  13. package/dist/assets/{AppBasePage-Ob8EkU54-B4IzJNVZ.js → AppBasePage-Ob8EkU54-B3S_sDum.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-CNsKktFP-oEQQGdma.js → AppDrawerContent-CNsKktFP-ClFlv3eL.js} +1 -1
  15. package/dist/assets/{ApprovalRulesSettingsPage-Bn7LOelK-C_JBTy7y.js → ApprovalRulesSettingsPage-Bn7LOelK-BW8_3MdX.js} +1 -1
  16. package/dist/assets/{ArAgingChart-C0hTtEmV-Cp3DCSeq.js → ArAgingChart-C0hTtEmV-VmVxz3SE.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-C_E_xPwf-CoqFi7sc.js → ArAgingDetailPage-C_E_xPwf-CIbWz25g.js} +1 -1
  18. package/dist/assets/{AttachmentView-CATl3tNf-DCa2zXLn.js → AttachmentView-CATl3tNf-bIcN6zuK.js} +1 -1
  19. package/dist/assets/{BankAccountSection-VSbZyxoY-BkprL32R.js → BankAccountSection-VSbZyxoY-DFVEfVO4.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-a39s142r-4WcZfRoK.js → BankAccountWarningSection-a39s142r-B8eviNRA.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-CBavGNdc-DWKqHO49.js → BankConnectionsSettingsPage-CBavGNdc-UjtlbwmQ.js} +1 -1
  22. package/dist/assets/{BillDetailPage-uMG3JJPb-ClGgqpml.js → BillDetailPage-uMG3JJPb-DAfvXj70.js} +1 -1
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-Bmrg1Wxh-CFroqaxM.js → BillPayApprovalRuleDetailPage-Bmrg1Wxh-2SsyPJ6y.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-BN21qPTb-BwOgIMfY.js → BillPayApprovalRulesPage-BN21qPTb-DE8Fo-0J.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-DoP2oC8W-D-cHzeZ4.js → BillPayPromoPage-DoP2oC8W-DaX8TRVv.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-o-V-9aI5-DuW6yWFa.js → BillPaySetUpPage-o-V-9aI5-PJo8w9bW.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-CX-rbxzB-D5hgrymw.js → BillingSettingsPage-CX-rbxzB-rBFZmJ_t.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-_qgURJjv-CemkDBxg.js → BillsBulkReviewDrawerPage-_qgURJjv-UExbn0pb.js} +1 -1
  29. package/dist/assets/{BoxItem-CHPfWPEF-lXs1y6iB.js → BoxItem-CHPfWPEF-D1R-06zc.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-YKJ-CZfb-BgJNO5ZA.js → BusinessVerificationPage-YKJ-CZfb-CA1EyVwE.js} +1 -1
  31. package/dist/assets/{CardNumberSubText-dxYfM6ph-B1OZ5t3N.js → CardNumberSubText-dxYfM6ph-DEOIkYXa.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-BfTC3IBm-BcRVF9pL.js → CashbackDetailPage-BfTC3IBm-bb4FBcKr.js} +1 -1
  33. package/dist/assets/{ChargeCardDetailPage-npqfreRG-D_PNn6ZE.js → ChargeCardDetailPage-npqfreRG-6-EfyUyz.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-Dbx1ymB9-DiXO1BWI.js → ChargeCardListPage-Dbx1ymB9-DRDAjXYS.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-qk9tQ6Kb-DR0FaH4k.js → ChargeCardListTable-qk9tQ6Kb-lo8c0x-v.js} +1 -1
  36. package/dist/assets/{ChargeCardPromoPage-CsItH2IC-BEXKS9-8.js → ChargeCardPromoPage-CsItH2IC-BRai09H4.js} +1 -1
  37. package/dist/assets/{ChargeCardSetupPage-D5LWY3-P-BB2kARlQ.js → ChargeCardSetupPage-D5LWY3-P-BFmdbREo.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-vYbnt2WJ-CDBr97Hk.js → ChargeCardStatementsPage-vYbnt2WJ-CviaTt41.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-k5Cmi_bM-xJoIL5jf.js → ChargeCardUtils-k5Cmi_bM-uT1V7gQT.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-DQz9r9Pp-Bwx2nGMD.js → ChaseOverlay-DQz9r9Pp-DwtAFMH1.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-B1Qp-xbY-f-dhYQ0q.js → CheckDepositDrawerPage-B1Qp-xbY-CG1lluPq.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-Dp1985is-CgJ_JGJs.js → CollapsableReportTable-Dp1985is-CGhJR3X0.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-CGewbsKm-DBM7Hns2.js → CompanyOfficerDetailsSection-CGewbsKm-0xbi1fnR.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-Dp3a8GH8-qRGWLoZI.js → CompanyPassportCard-Dp3a8GH8-B4TBGrw7.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-CS1LPj5f-CxHtTINk.js → CompanyPassportPage-CS1LPj5f-pnjyNGQL.js} +1 -1
  46. package/dist/assets/{CompleteProfile-CJOsHnBa-DdCWBRuB.js → CompleteProfile-CJOsHnBa-CTqixosH.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-DX1P5VT_-C7tIIZfu.js → ConfettiBurst-DX1P5VT_-CsNzn8F8.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BL1BXGvy-Vx1XM-1z.js → CreateOrEditVendorPage-BL1BXGvy-CsdFpWXr.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-D6-R3DiA-ByQ_c4QS.js → CreditCardPaymentDrawerPage-D6-R3DiA-DUyMEAO8.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-YcsIIUkG-C-zCY8ZF.js → CreditCardPaymentPlgSection-YcsIIUkG-DrIb0IFd.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-CH65s5Fc-DGotu77i.js → CurrencySelectField-CH65s5Fc-Dcp2BQTf.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-DCHbvIb1-4vnrfrOn.js → CustomerOnboardingActivationPage-DCHbvIb1-DK5c91dn.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-X6X9Yc-9-DPk_xOir.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cz40bZgg-6UjJ2BJ9.js → CustomerOnboardingDetailPageSkeleton-Cz40bZgg-CWu3HzYj.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DrbkKOBx-C5bbYFj1.js → CustomerOnboardingNoStepsPage-DrbkKOBx-B_LwgpIq.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-CIbBaMcO-Dqym0Rf2.js → CustomerOnboardingPage-CIbBaMcO-D6XARpKC.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DyGs61vw-DLcQ1dQj.js → CustomerOnboardingProductSuitePage-DyGs61vw-qL5DHYs8.js} +1 -1
  58. package/dist/assets/{Dashboard-beLswUHx-XoTiAJKU.js → Dashboard-beLswUHx-B_MalOUp.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-BM6TqjrJ-DQu7SOT2.js → DashboardReportPage-BM6TqjrJ-CXS5ZOn0.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-CfAjG3HH-COwwc_MG.js → DepositAccTransactionItem-CfAjG3HH-D05hSl8p.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-Cj1smNoP-CkdRHZge.js → DepositAccTransactionListPage-Cj1smNoP-BSifWrOr.js} +1 -1
  62. package/dist/assets/{DocumentSecurityBanner-BRFFDueV-stK3q2uU.js → DocumentSecurityBanner-BRFFDueV-Cy6kVOtz.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-BZ8jSo8r-Dcvy9KUR.js → DomesticWireDetailsPage-BZ8jSo8r-CvJ1Feba.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-Ly2ZesqA-D_S8bx9G.js → DownloadOverlay-Ly2ZesqA-CgW2MbtP.js} +1 -1
  65. package/dist/assets/{DrawerPage-BFIdjtOJ-BFnTHlQb.js → DrawerPage-BFIdjtOJ-CoQ0pur4.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-BPHt33f5-DjZUh9aC.js → EditPeoplePage-BPHt33f5-Bk3dHegk.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-DJ_qNQbh-D_aBh5FK.js → EditReimbursementDetailPage-DJ_qNQbh-CHb-02Fa.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-DZ9vXZci-DUGgDVnf.js → EntityDetailPage-DZ9vXZci-BKxX4N_B.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-kCA6OJs0-CuvI5nJX.js → EntitySummarySection-kCA6OJs0-BxZntEIq.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-B9K2qPQi-BcMuOXVi.js → ExpenseAutomationOverviewPage-B9K2qPQi-CLbWYQAI.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-LoGHiJzr-BnTXz0Ci.js → ExpenseAutomationPage-LoGHiJzr-f6rmnsys.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-B12NaLXN-CGW5-zDn.js → ExpressPayPage-B12NaLXN-CCtq8Yhl.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-D9_aRmPj-CvnK2Uy2.js → FeaturePreviewPage-D9_aRmPj-kLENX2WT.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-BL8sM4vS-D6HNdi5Y.js → FollowStepsSection-BL8sM4vS-NJEQh7fF.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-DONc_BXP-jngzyZ2P.js → GlobalReviewListPage-DONc_BXP-BqymyO9D.js} +1 -1
  76. package/dist/assets/{HelpButton-khTPylkl-CEL7Boo7.js → HelpButton-khTPylkl-CC4TQ-Mh.js} +1 -1
  77. package/dist/assets/{InformationCardStack-BtIMGsaQ-BRj2ZNHm.js → InformationCardStack-BtIMGsaQ-DAEXYJ5W.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-lzduh7aO-Crnd4D-1.js → InsightsCardStack-lzduh7aO-aPmBS56j.js} +1 -1
  79. package/dist/assets/{InsightsSection-q1QuO6Z4-1k_aUqAr.js → InsightsSection-q1QuO6Z4-BTPE3Xuw.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-CpnXcxlz-ANVTxCp5.js → IntegrationsSettingsPage-CpnXcxlz-BHzrWFpH.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BXBsK560-i2JR8sEk.js → InternationalWireSwiftDetailsPage-BXBsK560-Drhj4I3h.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-BrnMNFx7-CivrskR8.js → InternationalWireVerificationPage-BrnMNFx7-CYsL9FjR.js} +1 -1
  83. package/dist/assets/{InviteFormPage-DQTEQazA-CYIvBKP9.js → InviteFormPage-DQTEQazA-D_TlAyX6.js} +1 -1
  84. package/dist/assets/{InvitePageListView-C7CaDCYN-kxX6EM5-.js → InvitePageListView-C7CaDCYN-DgDyQbel.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-Ca0ZnNhV-4UVRRlzN.js → InvitePeoplePage-Ca0ZnNhV-DhNhdRht.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-Cm7WlMIS-Ds7UwHT_.js → InvoiceUploadSection-Cm7WlMIS-CgyB8ePg.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-B7w3Xky1-CF1rLLIM.js → IssueChargeCardPage-B7w3Xky1-CKvMuV4K.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-B5Yv4nig-BmG4gsPH.js → LabeledAddressValue-B5Yv4nig-CNsG-WU7.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-BODlYe8J-C_77UpWi.js → LabeledAddressValueField-BODlYe8J-CiIDFGvo.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-BBrHodlx-ajZwZw2T.js → LabeledControlledCheckBoxField-BBrHodlx-DZSgDuPY.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DBovHkMc-D9D-7hZt.js → LabeledCreatableSingleSelectField-DBovHkMc-upCPJRUw.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-CIlbLPtO-DSLjsPoT.js → LabeledDocumentField-CIlbLPtO-CyOwq3qY.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-Dpt7UG-o-BPi_XfUF.js → LabeledDropDownFormattedTextField-Dpt7UG-o-BXwTt2kH.js} +1 -1
  94. package/dist/assets/{LabeledText-D0aPaE6r-DJ33Sqqy.js → LabeledText-D0aPaE6r-CDASXomo.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CO-Owx5--C5GcoA_6.js → LabeledUserSingleSelectWithSubtitlesField-CO-Owx5--BtzlqXjH.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CcfvYWTB-FOsQ-M0q.js → LabeledZeniRolesDropDownField-CcfvYWTB-DW_5XewE.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-w2poqqTD-CRc8L88u.js → LinkJETransactionPage-w2poqqTD-CVvitekI.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-BpFvPcb8-CmbXf1Gb.js → LowBalancePopup-BpFvPcb8-CbbQEMsW.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-DUyr5VX8-FvxaU41w.js → MagicLinkACHDetailsPage-DUyr5VX8-DMGL4iMC.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CTA58UoF-CRGjJqP9.js → MagicLinkDomesticWireDetailsPage-CTA58UoF-Bkm4wS65.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DDQqyw69-MTxSeQ4l.js → MagicLinkInternationalWireDetailsPage-DDQqyw69-BZXPgm29.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-CKKAWryZ-Cm8AQCr_.js → MagicLinkSuccessPage-CKKAWryZ-BM1EXsJU.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-CvW_f4xF-BDkWHabu.js → MagicLinkTitleSection-CvW_f4xF-CqZNaUJA.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-Di5KwEqu-Di8UL6YK.js → MailingDetailsSection-Di5KwEqu-B9mhlAae.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-6yyRBLYC-DflGa-2l.js → MeetingCalenderPopup-6yyRBLYC-Bbqtv452.js} +1 -1
  106. package/dist/assets/{Menu-BOh_KLZu-BrkD9kYL.js → Menu-BOh_KLZu-CFhi0SIh.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BBQ0YN9M-BBihRuQw.js → MyBankConnectionsSettingsPage-BBQ0YN9M-DqTc9oHU.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-DcXCxGj2-BY3uKh9u.js → MyPendingActivationChargeCardListPage-DcXCxGj2-C4pJ48Rp.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-D-lTTFuP-D9kDcE-6.js → MyProfileSettingsPage-D-lTTFuP-hNTZ9JYo.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-CNBOk06R-D8yiRwFQ.js → NavBarWithPicker-CNBOk06R-BZD_yWn9.js} +1 -1
  111. package/dist/assets/{NavigationArrow-B15b66TT-B9hYIhnI.js → NavigationArrow-B15b66TT-BxpDaopE.js} +1 -1
  112. package/dist/assets/{NavigationDots-5fxvl-4e-BzJdpllk.js → NavigationDots-5fxvl-4e-xo_TDt3y.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-BeP4W8rj-Dwyu3Pw7.js → NewGlobalMerchantPage-BeP4W8rj-BBX9UZWo.js} +1 -1
  114. package/dist/assets/{NoDataChart-edFKx0zh-DIp9-BoP.js → NoDataChart-edFKx0zh-BcXK0tqt.js} +1 -1
  115. package/dist/assets/{NoDataTable-41nH5trW-Brapb7lv.js → NoDataTable-41nH5trW-pzm1rHwP.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CRVGi6Xn-BHvH8jL8.js → NotFoundPage-CRVGi6Xn-b9DBQuQL.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-CiVAtoGY-B9kZWOsO.js → NotificationSettingsPage-CiVAtoGY-B2aR003-.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-BjItJJe9-l0BCgaPP.js → NotificationsListConfig-BjItJJe9-DzH6eIvg.js} +1 -1
  119. package/dist/assets/{NotificationsPage-DuHUL5V8-CgYzIXTj.js → NotificationsPage-DuHUL5V8-l7cXXilr.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-D611nXIC-CqyYyP4C.js → OpExByVendorPage-D611nXIC-DhuOhbiX.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-DPaQcYgi.js → OverlayContainerPage-C0rUb6-5-BL1aeWOM.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-Cqab0euB-dzseIlDa.js → PandLWithForecastPage-Cqab0euB-BjlrYFkz.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Cvn1adQb-kbzfxjFm.js → PaymentAccountSetupBillingAddressSection-Cvn1adQb-Y7cu298L.js} +1 -1
  124. package/dist/assets/{PeoplePage-MCCZAx4z-BnV0pX_P.js → PeoplePage-MCCZAx4z-BY3UpTqg.js} +1 -1
  125. package/dist/assets/{PortfolioAllocationFormPage-Coa0Y4wN-CVL7-3BP.js → PortfolioAllocationFormPage-Coa0Y4wN-Biro25bf.js} +1 -1
  126. package/dist/assets/{PortfolioDetails-C9a0p99e-d06R_ouh.js → PortfolioDetails-C9a0p99e-BupBBmbV.js} +1 -1
  127. package/dist/assets/{ProductsCarousel-B0fHKTa_-Bne7N-_V.js → ProductsCarousel-B0fHKTa_-DRwb_zg1.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-BuCQJuXH-BcjVOmSJ.js → PromoBaseCards-BuCQJuXH-jJQ9UKvZ.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-D-vB9dbo--0kkpUah.js → QBOConnectionDialog-D-vB9dbo-BMExMhX5.js} +1 -1
  130. package/dist/assets/{QBOSetupSection-CfficE5p-nLwRVoqN.js → QBOSetupSection-CfficE5p-B9jrvkTN.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cg_pVsAh-Baq7EYkc.js → ReimbursementApprovalRuleDetailPage-Cg_pVsAh-DD6eBHFP.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-Dg1b0lJP-YhAdGh62.js → ReimbursementApprovalRulesPage-Dg1b0lJP-BNSHjAMn.js} +1 -1
  133. package/dist/assets/{ReimbursementDetailPage-CE_jx7cM-DEw3OdDA.js → ReimbursementDetailPage-CE_jx7cM-NMeD4tV1.js} +1 -1
  134. package/dist/assets/{ReimbursementPromoPage-MQpz5nNE-CLg8Hqif.js → ReimbursementPromoPage-MQpz5nNE-B2b8Se26.js} +1 -1
  135. package/dist/assets/{ReimbursementSetUpPage-BRjWHns_-BSdXzytm.js → ReimbursementSetUpPage-BRjWHns_-hYFlsZc3.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-wPNRkXt8-DoNrAJRB.js → ReimbursementsBulkReviewDrawerPage-wPNRkXt8-C2MKAuWk.js} +1 -1
  137. package/dist/assets/{ReloadCard-D5woGDxx-DS9HJ3wy.js → ReloadCard-D5woGDxx-bUwk980b.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-Bc5xUtnG-pW3txVQ2.js → ReportTableViewSelector-Bc5xUtnG-B_lLxJq7.js} +1 -1
  139. package/dist/assets/{ReportsPage-J8DrZz78-Bf6sj4--.js → ReportsPage-J8DrZz78-BDQBNTzo.js} +1 -1
  140. package/dist/assets/{RevenueChart-CS0JmijO-BqFQGtoh.js → RevenueChart-CS0JmijO-Cw-uHSTf.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-C7RbpKwU-C9iDaLL8.js → ReviewDetailsPage-C7RbpKwU-D2J8IvQH.js} +1 -1
  142. package/dist/assets/{ReviewOverlay-BwgzcM9d-CSY6hmMy.js → ReviewOverlay-BwgzcM9d-BIZud1RE.js} +1 -1
  143. package/dist/assets/{RoleWithToolTip-DkeT6zjW-DmUDvRC_.js → RoleWithToolTip-DkeT6zjW-DB4n5m2x.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BzZkVg7T-c2tjnpKQ.js → ScheduleDetailsFixedAssetsPage-BzZkVg7T-rhB-3onC.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsPage-DiXwmlk8-t0I7MASB.js → ScheduleDetailsPage-DiXwmlk8-DlOKlput.js} +1 -1
  146. package/dist/assets/{ScheduleSequenceTable-CSxFNhoR-D9UFT3Zm.js → ScheduleSequenceTable-CSxFNhoR-B0UeYTos.js} +1 -1
  147. package/dist/assets/{ScreenRoutes-xLzXCTox.js → ScreenRoutes-4bmbtkw-.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-CdUpAzlt-4B1rLcGQ.js → SetUpAccountSection-CdUpAzlt-C1MgYcT-.js} +1 -1
  149. package/dist/assets/{SetUpDefaultSection-D4FafmO5-CcuY4gpp.js → SetUpDefaultSection-D4FafmO5-JKsfeRPT.js} +1 -1
  150. package/dist/assets/{SignIn-CAmRcuqx-CXf8JU8h.js → SignIn-CAmRcuqx-Dg-rTZ6q.js} +1 -1
  151. package/dist/assets/{SignInScreen-CEfXit7t.js → SignInScreen-DAZJjFZ6.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-DdpJprAd-BHEK7wRP.js → SpendManagementListViewPage-DdpJprAd-B10ZaJRb.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-D2Ri2q6S-BZOgnmqs.js → SpendManagementPerTabPage-D2Ri2q6S-BMv0UU_O.js} +1 -1
  154. package/dist/assets/{SpendManagementSection-CisJALAC-zKC9aL_a.js → SpendManagementSection-CisJALAC-cZKA8cZE.js} +1 -1
  155. package/dist/assets/{SpendMgmtSetupAccountSection-DcJhhfdt-CSj4RU9Q.js → SpendMgmtSetupAccountSection-DcJhhfdt-AlupPqQd.js} +1 -1
  156. package/dist/assets/{StatementItem-BOq_DDMZ-VgE7gIr3.js → StatementItem-BOq_DDMZ-CY3Qpt1a.js} +1 -1
  157. package/dist/assets/{StatementsPage-C9WOCLSj-lgfYmMKh.js → StatementsPage-C9WOCLSj-B-U-sZOJ.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-CofdCR_K-DYsfjilX.js → StatusSwitcher-CofdCR_K-BkGUOxFV.js} +1 -1
  159. package/dist/assets/{SubTabSwitcher-BPVG5BHS-C6Ng45Yx.js → SubTabSwitcher-BPVG5BHS-DY3CAvRO.js} +1 -1
  160. package/dist/assets/{SummaryCard-D-me4TrL-C69v2luu.js → SummaryCard-D-me4TrL-3xZv8xrR.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-BSmG6YR2-BRBZRYl9.js → TaskManagementPage-BSmG6YR2-DNj3Vzrv.js} +1 -1
  162. package/dist/assets/{TimeRangeSwitcher-BK7gGqaa-li6QV9p5.js → TimeRangeSwitcher-BK7gGqaa-d24Db5VO.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcher-SD5_8TCp-DcEUsFuS.js → TimeframeSwitcher-SD5_8TCp-DrzKb54r.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-BwvVsB_p-CoKIqOrx.js → TimeframeSwitcherWithToggle-BwvVsB_p-D2v3J1KI.js} +1 -1
  165. package/dist/assets/{TopExCard-CDgcQKGp-G2-ryp7z.js → TopExCard-CDgcQKGp-Bqp10Sn-.js} +1 -1
  166. package/dist/assets/{TopExDetailPage-CXiEe14r-DrI7SLfC.js → TopExDetailPage-CXiEe14r-DVBrKuWG.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-IJyZF-Z_-ssTdABCq.js → TransactionDetailPage-IJyZF-Z_-C-Z95BQG.js} +1 -1
  168. package/dist/assets/{TransactionList-C34ivmk5-BL7wpE6F.js → TransactionList-C34ivmk5-C5mBiYt3.js} +1 -1
  169. package/dist/assets/{TransactionListBig-qruiU0xy-4hBLzp6P.js → TransactionListBig-qruiU0xy-tMMTuqzY.js} +1 -1
  170. package/dist/assets/{TransactionListPage-C31U97xd-B7MDVBJ8.js → TransactionListPage-C31U97xd-CRQaNpPy.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-DZsvH-GM-CHoVBuA8.js → TransactionVendorDetailPage-DZsvH-GM-8MuJaqmu.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-DC5q2Zpv-Bbx0ZiKK.js → TransferDrawerPage-DC5q2Zpv-CmGtL5lc.js} +1 -1
  173. package/dist/assets/{TreasuryOverviewPage-DSBqawrH--EJITXP0.js → TreasuryOverviewPage-DSBqawrH-DycEi82C.js} +1 -1
  174. package/dist/assets/{TreasuryPromoPage-D6WSBxgD-BYq_YoGm.js → TreasuryPromoPage-D6WSBxgD-BlvVAiRS.js} +1 -1
  175. package/dist/assets/{TreasurySetupPage-BgSq4D0a-BeLJ_DJT.js → TreasurySetupPage-BgSq4D0a-ad83A_r3.js} +1 -1
  176. package/dist/assets/{TreasuryStatementsPage-Dj9RAujO-BX1C5lYD.js → TreasuryStatementsPage-Dj9RAujO-DWwk9wCn.js} +1 -1
  177. package/dist/assets/{TreasuryTaxLetterPage-Dw6tL_j9-BVOoGBCD.js → TreasuryTaxLetterPage-Dw6tL_j9-CkIAlhee.js} +1 -1
  178. package/dist/assets/{TreasuryTransferOrReviewPage-cBHznYnK-1UcbcZaf.js → TreasuryTransferOrReviewPage-cBHznYnK-BXVAiiS6.js} +1 -1
  179. package/dist/assets/{TrendChart-dARoUu-T-CjrTnbAe.js → TrendChart-dARoUu-T-DLWmmph8.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-BOGQK2Zt-itTZBsuV.js → TrendWithTransactions-BOGQK2Zt-DsTHQyvH.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-Ci4VHOLB-CZTpXCGM.js → UncategorizedAccountsMappingPage-Ci4VHOLB-BdOVs5yc.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage-DSMTzyKA-DnkdzVNG.js → UnitIntegrationPage-DSMTzyKA-CoAUeDRa.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-CBpLz-gk-DUe20w1p.js → UploadAdditionalDocumentOverlay-CBpLz-gk-Cn-PxzO4.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-Be7OBE4e-Cos9XGLx.js → Vendor2FAPopup-Be7OBE4e-Dw3MgVFY.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-LvWgxsF7-BpMJ6WbJ.js → VendorACHDetailsPage-LvWgxsF7-CaN7hXyJ.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-C-qpa1GC-C0r4HDge.js → VendorDetailPage-C-qpa1GC-OT8_rieb.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-Ckoq2I8V-BwkAhyAi.js → VendorDomesticWireDetailsPage-Ckoq2I8V-sly11L4e.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-WZMwLILQ-BqoTTIiC.js → VendorFiling1099EditablePage-WZMwLILQ-Dvglnl8g.js} +1 -1
  189. package/dist/assets/{VendorFirstReviewPage-DNhp59d9-D_f9l4B9.js → VendorFirstReviewPage-DNhp59d9-6Npfw6ZQ.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireDetailsPage-DuP916gU-COYahX1d.js → VendorInternationalWireDetailsPage-DuP916gU-CFYN39yL.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BCIC6mrJ-BI-zVOHZ.js → VendorInternationalWireSwiftDetailsPage-BCIC6mrJ-CTfDKjHB.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-C4q6FPlB-C6cNo2_u.js → VendorsAccountsSection-C4q6FPlB-Cdm8bQji.js} +1 -1
  193. package/dist/assets/{WarningsDrawerPage-C162biV8-pPVOEtpH.js → WarningsDrawerPage-C162biV8-CyRcKAFE.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-C3NnXuFp-CXwXsDQ1.js → ZeniAccountDetailPage-C3NnXuFp-hGf5hhXT.js} +1 -1
  195. package/dist/assets/{ZeniAccountListViewPage-Cn7rYnlu-DTOPnL32.js → ZeniAccountListViewPage-Cn7rYnlu-BZ6tC-rC.js} +1 -1
  196. package/dist/assets/{ZeniAccountNavBarPieces-DHYLxQKr-DoTCX7_F.js → ZeniAccountNavBarPieces-DHYLxQKr-i6WaheRu.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-BGyyQP4l-B98KmCaD.js → ZeniAccountPromoPage-BGyyQP4l-8aRktQCO.js} +1 -1
  198. package/dist/assets/{ZeniAccountSetupPage-CIh0isMw-lFqJMWg0.js → ZeniAccountSetupPage-CIh0isMw-BpYj-zTN.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-B83zWEf0-19q3_mPy.js → ZeniCopyright-B83zWEf0-CbbA3mi5.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-CPg3o4xG-BlMvJPot.js → ZeniTransferAmountSlider-CPg3o4xG-Cpl4hegF.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CD5PHV67.js → analyticsHelper-Bwye1Yzk.js} +1 -1
  202. package/dist/assets/{analyticsHelper-DlYWxxhD-DdeYfQh2.js → analyticsHelper-DlYWxxhD-6PX8-p-s.js} +1 -1
  203. package/dist/assets/{chartTypes-DueLK3Wl-B3lGAHMU.js → chartTypes-DueLK3Wl-BWSykg1r.js} +1 -1
  204. package/dist/assets/{commonDimensions-D4uH020E-szItJUN9.js → commonDimensions-D4uH020E-CzLHHjVa.js} +1 -1
  205. package/dist/assets/{detailCommon-D5qKBZdS-CPasfcVD.js → detailCommon-D5qKBZdS-BpsfjSiy.js} +1 -1
  206. package/dist/assets/{downloadPdf-s4pLtuS_-CF3EQD3j.js → downloadPdf-s4pLtuS_-DfJmhSyn.js} +1 -1
  207. package/dist/assets/{index-DoFw58Mw.js → index-Dc18sb8X.js} +3 -3
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-M0QN8LkC-3yQrrz5g.js → mapLoadingInProgressToTreeNode-M0QN8LkC-DSfxQmfa.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CrtVdHui-CnnfThO_.js → mapSectionWithAcOnlyToTreeNode-CrtVdHui-qBoPPypE.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-yPPIJHBw-D3Gjllyb.js → mapSpacerToTreeNode-yPPIJHBw-BXxWoQQn.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-px916zpo-rIOc1Hnu.js → mapTimeframeBalancesToTreeNode-px916zpo-CuLGcUKr.js} +1 -1
  212. package/dist/assets/{play-icon-Bih37F_s-C73Mu05H.js → play-icon-Bih37F_s-C6sD6kbP.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-CAhfOfUa-CUvT0aen.js → toCOABalancesWithID-CAhfOfUa-BLsrlpgK.js} +1 -1
  214. package/dist/assets/{toChartData-BicnbT0F-BAKhPkjP.js → toChartData-BicnbT0F-CzNzHCD-.js} +1 -1
  215. package/dist/assets/{treasuryColorHelper-A_YlwvaQ-YLNVEYZe.js → treasuryColorHelper-A_YlwvaQ-CVHETTwa.js} +1 -1
  216. package/dist/assets/{uploadAttachment-DVoWdoWD-RtUqrYnb.js → uploadAttachment-DVoWdoWD-D5s5ylN5.js} +1 -1
  217. package/dist/assets/{uploadReceipts-Buvz7DfG-XWftDYl6.js → uploadReceipts-Buvz7DfG-DS0aCuAZ.js} +1 -1
  218. package/dist/index.html +1 -1
  219. package/package.json +1 -1
  220. package/dist/assets/CustomerOnboardingContainerPage-X6X9Yc-9-D6pVLXm5.js +0 -1
@@ -1,4 +1,4 @@
1
- import{X as oe,a as Aa,c3 as Oa,M as de,j as r,Y as Pe,iA as Ra,bC as _a,F as za,a7 as Da,o as a,C as y,l as Ua,aR as Fa,aq as Na,Q as be,h as sa,a6 as qa,c0 as Ma,g as re,eS as Ea,ah as Ba,cg as xe,eg as ka,p as d,bt as Va,am as K,cm as me,cq as na,iB as Ha,iC as Wa,cn as Ga,u as Te,iD as Ae,c6 as Oe,fF as Re,cz as ve,v as ie,eU as he,fC as oa,w as _e,_ as Qa,f9 as Za,m as Ka,fb as Ja}from"./index-DoFw58Mw.js";import{b as M,n as l}from"./vendor-CnQcJ2Lu.js";import{X as ca}from"./LabeledUserSingleSelectWithSubtitlesField-CO-Owx5--C5GcoA_6.js";import{T as ua}from"./RoleWithToolTip-DkeT6zjW-DmUDvRC_.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ge=e=>{const{common:i,spendManagement:{chargeCard:{issueCard:t}}}=de.getLocalizedStrings();switch(e){case"monthly":return t.frequencySubLabels.monthly;case"quarterly":return t.frequencySubLabels.quarterly;case"weekly":return t.frequencySubLabels.weekly;case"yearly":return t.frequencySubLabels.yearly;default:return i.strings.empty}},Xa=["creditCard","debitCard"],Ee=e=>Ua.stringToUnion(e,Xa),m=(e,i)=>`${e}.${i}`,{commonSetUp:{businessVerification:{addressPlaceholder:Be,customAddressPlaceholder:Ya}},spendManagement:{chargeCard:{issueCard:U}}}=de.getLocalizedStrings(),B={largeLabelWidth:new y(120,120,200),labelMarginRight:new y(d[3],d[4]),labelMarginBottom:new y(d[2],d[0]),infoLabelMarginTop:new y(d[1],d[0]),radioLabelPaddingLeftRight:new y(d[2],d[3]),radioLabelPaddingLeft:new y(d[0],d[3]),radioLabelPaddingRight:new y(10,d[3])},er={infoLabel:new be("smallRegular","smallRegular")},ar="creditCard.physicalCard.amount",rr="creditCard.physicalCard.cardName",ir="creditCard.physicalCard.user",dr="creditCard.physicalCard.frequency",te="creditCard.physicalCard.addressType",lr=({lineData:e,issueCardSectionId:i,limit:t,creditLimitFrequency:b,activeChargeCardCount:v,allRoles:f,allAccountingClasses:R,companyAddress:h,customAddress:I,userAddress:T,userList:o,maxPhysicalChargeCardPerUser:z,openAddAddressDrawerHandler:u})=>{const s=oe(),F=Te(),{getValues:N}=xe(),S=B.largeLabelWidth.value(s),k=()=>{u(e.lineId,"creditCard")},c=(g,C)=>r.jsx(sr,{isOptionSelected:C,children:ge(g)}),n=e.creditCard.physicalCard.addressType,x=e.creditCard.physicalCard.amount,_=Ae(t.amount),w=x!=null&&x>t.amount,A=w?U.amountExceedError.replace("_amount_",_):void 0,P=e.creditCard.physicalCard.user,q=P.allUsers.find(g=>g.userId===P.selectedUser),Z=q?.userId,X=Z!=null?T[Z]:void 0,p=g=>{let C=v[g]?.physicalCardCount??0;return N().lineInfo.forEach(L=>{L.creditCard.cardType==="business_physical_credit_card"&&L.creditCard.physicalCard.user.selectedUser===g&&(C+=1)}),C>=z};return r.jsxs(r.Fragment,{children:[r.jsx(ca,{label:{label:U.cardholderLabel,width:S},userSingleSelectWithSubTitlesField:{name:m(i,ir),placeholderLabel:U.usersPlaceholder,value:{allUsers:o,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:g=>g?.selectedUser?.length>0},valueToSubtitle:g=>{const C=f.find(V=>V.userId===g),L=[];return C?.accountingClassIDs.forEach(V=>{const le=R.find(Ce=>Ce.classId===V);le!=null&&le.className&&L.push(le.className)}),L},additionalLabelInfo:U.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:p,disabledOptionHint:U.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:B.labelMarginBottom.value(s)}}),r.jsx($e,{}),r.jsx(Oe,{label:{label:U.cardNameLabel,width:S},style:{width:"auto",paddingLeft:B.labelMarginBottom.value(s)},text:{type:"text",name:m(i,rr),defaultValue:e.creditCard.physicalCard.cardName,placeholder:U.cardNamePlaceholder,options:{required:!0,validate:g=>g!=null}}}),r.jsx($e,{}),r.jsx(Re,{label:{label:U.amountLabel,width:S},showAdditionalInfoLabel:w,additionalInfoLabel:A,formattedTextField:{type:"number",name:m(i,ar),defaultValue:e.creditCard.physicalCard.amount,placeholder:U.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:g=>!!g&&g>0&&g<=t.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:w,style:{width:"auto",paddingLeft:B.labelMarginBottom.value(s)}}),r.jsx($e,{}),r.jsx(ve,{isDisabled:"readonly",label:{label:U.frequencyLabel,width:S,style:{marginBottom:B.labelMarginBottom.valuePx(s),marginRight:B.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:B.labelMarginBottom.valuePx(s)},infoLabelStyle:{...ie.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:B.infoLabelMarginTop.valuePx(s),color:F.colors.hero},valueToAdditionalLabel:g=>ge(g),singleSelectPickerField:{name:m(i,dr),placeholder:U.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:b.map(g=>({label:g.name,value:g.code}))},valueToSubLabels:(g,C)=>c(g,C),textAlignment:"right",registerOptions:{required:!0,validate:g=>g!=null&&!!g.selectedOption}}}),r.jsx($e,{}),r.jsxs(nr,{windowSize:s,children:[r.jsxs(ur,{windowSize:s,children:[r.jsx(me,{label:U.address.shippingAddressLabel,htmlFor:m(i,te),style:{marginLeft:a.sp4,marginRight:B.labelMarginRight.valuePx(s),marginTop:a.sp2,width:s==="small"?"auto":S}}),r.jsx(or,{windowSize:s,children:r.jsxs(pr,{isDisabled:q==null,children:[X!=null&&r.jsx(K,{isContainerClickable:!0,label:{label:U.address.personal},isDisabled:q==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:B.radioLabelPaddingLeftRight.value(s),paddingRight:B.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:m(i,te),id:`${m(i,te)}.${U.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(K,{isContainerClickable:!0,label:{label:U.address.company},isDisabled:q==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:B.radioLabelPaddingLeft.value(s),paddingRight:B.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:m(i,te),id:`${m(i,te)}.${U.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(K,{isContainerClickable:!0,label:{label:U.address.custom},isDisabled:q==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:B.radioLabelPaddingLeft.value(s),paddingRight:B.radioLabelPaddingLeftRight.value(s),width:"fit-content"},radioField:{name:m(i,te),id:`${m(i,te)}.${U.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsx(cr,{windowSize:s,children:q?.user!=null&&n!=null&&r.jsx(tr,{children:n==="card_holder_personal_address"?r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"personal_address_value_field",defaultValue:X,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(ke,{windowSize:s,children:U.address.personalAddressText.replace("_name_",q.user.firstName)})]}):n==="company_address"?r.jsx(he,{name:"company_address_value_field",defaultValue:h,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"custom_address_value_field",defaultValue:I[e.lineId],placeholder:Ya,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:k}),r.jsx(ke,{windowSize:s,children:U.address.customAddressText})]})})})]})]})},tr=l.div`
1
+ import{X as oe,a as Aa,c3 as Oa,M as de,j as r,Y as Pe,iA as Ra,bC as _a,F as za,a7 as Da,o as a,C as y,l as Ua,aR as Fa,aq as Na,Q as be,h as sa,a6 as qa,c0 as Ma,g as re,eS as Ea,ah as Ba,cg as xe,eg as ka,p as d,bt as Va,am as K,cm as me,cq as na,iB as Ha,iC as Wa,cn as Ga,u as Te,iD as Ae,c6 as Oe,fF as Re,cz as ve,v as ie,eU as he,fC as oa,w as _e,_ as Qa,f9 as Za,m as Ka,fb as Ja}from"./index-Dc18sb8X.js";import{b as M,n as l}from"./vendor-CnQcJ2Lu.js";import{X as ca}from"./LabeledUserSingleSelectWithSubtitlesField-CO-Owx5--BtzlqXjH.js";import{T as ua}from"./RoleWithToolTip-DkeT6zjW-DB4n5m2x.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ge=e=>{const{common:i,spendManagement:{chargeCard:{issueCard:t}}}=de.getLocalizedStrings();switch(e){case"monthly":return t.frequencySubLabels.monthly;case"quarterly":return t.frequencySubLabels.quarterly;case"weekly":return t.frequencySubLabels.weekly;case"yearly":return t.frequencySubLabels.yearly;default:return i.strings.empty}},Xa=["creditCard","debitCard"],Ee=e=>Ua.stringToUnion(e,Xa),m=(e,i)=>`${e}.${i}`,{commonSetUp:{businessVerification:{addressPlaceholder:Be,customAddressPlaceholder:Ya}},spendManagement:{chargeCard:{issueCard:U}}}=de.getLocalizedStrings(),B={largeLabelWidth:new y(120,120,200),labelMarginRight:new y(d[3],d[4]),labelMarginBottom:new y(d[2],d[0]),infoLabelMarginTop:new y(d[1],d[0]),radioLabelPaddingLeftRight:new y(d[2],d[3]),radioLabelPaddingLeft:new y(d[0],d[3]),radioLabelPaddingRight:new y(10,d[3])},er={infoLabel:new be("smallRegular","smallRegular")},ar="creditCard.physicalCard.amount",rr="creditCard.physicalCard.cardName",ir="creditCard.physicalCard.user",dr="creditCard.physicalCard.frequency",te="creditCard.physicalCard.addressType",lr=({lineData:e,issueCardSectionId:i,limit:t,creditLimitFrequency:b,activeChargeCardCount:v,allRoles:f,allAccountingClasses:R,companyAddress:h,customAddress:I,userAddress:T,userList:o,maxPhysicalChargeCardPerUser:z,openAddAddressDrawerHandler:u})=>{const s=oe(),F=Te(),{getValues:N}=xe(),S=B.largeLabelWidth.value(s),k=()=>{u(e.lineId,"creditCard")},c=(g,C)=>r.jsx(sr,{isOptionSelected:C,children:ge(g)}),n=e.creditCard.physicalCard.addressType,x=e.creditCard.physicalCard.amount,_=Ae(t.amount),w=x!=null&&x>t.amount,A=w?U.amountExceedError.replace("_amount_",_):void 0,P=e.creditCard.physicalCard.user,q=P.allUsers.find(g=>g.userId===P.selectedUser),Z=q?.userId,X=Z!=null?T[Z]:void 0,p=g=>{let C=v[g]?.physicalCardCount??0;return N().lineInfo.forEach(L=>{L.creditCard.cardType==="business_physical_credit_card"&&L.creditCard.physicalCard.user.selectedUser===g&&(C+=1)}),C>=z};return r.jsxs(r.Fragment,{children:[r.jsx(ca,{label:{label:U.cardholderLabel,width:S},userSingleSelectWithSubTitlesField:{name:m(i,ir),placeholderLabel:U.usersPlaceholder,value:{allUsers:o,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:g=>g?.selectedUser?.length>0},valueToSubtitle:g=>{const C=f.find(V=>V.userId===g),L=[];return C?.accountingClassIDs.forEach(V=>{const le=R.find(Ce=>Ce.classId===V);le!=null&&le.className&&L.push(le.className)}),L},additionalLabelInfo:U.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:p,disabledOptionHint:U.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:B.labelMarginBottom.value(s)}}),r.jsx($e,{}),r.jsx(Oe,{label:{label:U.cardNameLabel,width:S},style:{width:"auto",paddingLeft:B.labelMarginBottom.value(s)},text:{type:"text",name:m(i,rr),defaultValue:e.creditCard.physicalCard.cardName,placeholder:U.cardNamePlaceholder,options:{required:!0,validate:g=>g!=null}}}),r.jsx($e,{}),r.jsx(Re,{label:{label:U.amountLabel,width:S},showAdditionalInfoLabel:w,additionalInfoLabel:A,formattedTextField:{type:"number",name:m(i,ar),defaultValue:e.creditCard.physicalCard.amount,placeholder:U.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:g=>!!g&&g>0&&g<=t.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:w,style:{width:"auto",paddingLeft:B.labelMarginBottom.value(s)}}),r.jsx($e,{}),r.jsx(ve,{isDisabled:"readonly",label:{label:U.frequencyLabel,width:S,style:{marginBottom:B.labelMarginBottom.valuePx(s),marginRight:B.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:B.labelMarginBottom.valuePx(s)},infoLabelStyle:{...ie.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:B.infoLabelMarginTop.valuePx(s),color:F.colors.hero},valueToAdditionalLabel:g=>ge(g),singleSelectPickerField:{name:m(i,dr),placeholder:U.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:b.map(g=>({label:g.name,value:g.code}))},valueToSubLabels:(g,C)=>c(g,C),textAlignment:"right",registerOptions:{required:!0,validate:g=>g!=null&&!!g.selectedOption}}}),r.jsx($e,{}),r.jsxs(nr,{windowSize:s,children:[r.jsxs(ur,{windowSize:s,children:[r.jsx(me,{label:U.address.shippingAddressLabel,htmlFor:m(i,te),style:{marginLeft:a.sp4,marginRight:B.labelMarginRight.valuePx(s),marginTop:a.sp2,width:s==="small"?"auto":S}}),r.jsx(or,{windowSize:s,children:r.jsxs(pr,{isDisabled:q==null,children:[X!=null&&r.jsx(K,{isContainerClickable:!0,label:{label:U.address.personal},isDisabled:q==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:B.radioLabelPaddingLeftRight.value(s),paddingRight:B.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:m(i,te),id:`${m(i,te)}.${U.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(K,{isContainerClickable:!0,label:{label:U.address.company},isDisabled:q==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:B.radioLabelPaddingLeft.value(s),paddingRight:B.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:m(i,te),id:`${m(i,te)}.${U.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(K,{isContainerClickable:!0,label:{label:U.address.custom},isDisabled:q==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:B.radioLabelPaddingLeft.value(s),paddingRight:B.radioLabelPaddingLeftRight.value(s),width:"fit-content"},radioField:{name:m(i,te),id:`${m(i,te)}.${U.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsx(cr,{windowSize:s,children:q?.user!=null&&n!=null&&r.jsx(tr,{children:n==="card_holder_personal_address"?r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"personal_address_value_field",defaultValue:X,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(ke,{windowSize:s,children:U.address.personalAddressText.replace("_name_",q.user.firstName)})]}):n==="company_address"?r.jsx(he,{name:"company_address_value_field",defaultValue:h,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"custom_address_value_field",defaultValue:I[e.lineId],placeholder:Ya,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:k}),r.jsx(ke,{windowSize:s,children:U.address.customAddressText})]})})})]})]})},tr=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{X as h,j as a,cm as m,C as o,eQ as u,p as t,Q as x}from"./index-DoFw58Mw.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const e={width:new o(343,580,726),height:new o(t[6],t[6]),controlMinHeight:new o(t[4],t[4]),paddingTopBottom:new o(t[2],t[2]),marginRight:new o(t[2],t[2]),labelMarginLeft:new o(t[3],t[4]),labelMarginRight:new o(t[3],t[4]),labelMarginTop:new o(t[2],t[2])},c={infoLabel:new x("extraSmallRegular","smallRegular")};function $({isDisabled:i,label:n,additionalInfoLabel:d,addressValue:s,isOptional:g,style:p}){const l=h();return a.jsxs(w,{size:l,style:p,isDisabled:i!=null,children:[a.jsxs(f,{children:[a.jsx(m,{isOptional:g,isDisabled:i,label:n.label,style:{marginLeft:e.labelMarginLeft.value(l),marginRight:e.labelMarginRight.value(l),marginTop:e.labelMarginTop.value(l),width:n.width??"auto"}}),a.jsx(u,{...s,isDisabled:i,style:{minHeight:e.controlMinHeight.value(l),paddingTop:e.paddingTopBottom.valuePx(l),paddingBottom:e.paddingTopBottom.valuePx(l),maxWidth:n.width!=null?`calc(100% - ${n.width}px)`:"auto",display:"flex",flexGrow:1,...s.style}})]}),d?a.jsx(b,{size:l,children:d}):null]})}const b=r.label`
1
+ import{X as h,j as a,cm as m,C as o,eQ as u,p as t,Q as x}from"./index-Dc18sb8X.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const e={width:new o(343,580,726),height:new o(t[6],t[6]),controlMinHeight:new o(t[4],t[4]),paddingTopBottom:new o(t[2],t[2]),marginRight:new o(t[2],t[2]),labelMarginLeft:new o(t[3],t[4]),labelMarginRight:new o(t[3],t[4]),labelMarginTop:new o(t[2],t[2])},c={infoLabel:new x("extraSmallRegular","smallRegular")};function $({isDisabled:i,label:n,additionalInfoLabel:d,addressValue:s,isOptional:g,style:p}){const l=h();return a.jsxs(w,{size:l,style:p,isDisabled:i!=null,children:[a.jsxs(f,{children:[a.jsx(m,{isOptional:g,isDisabled:i,label:n.label,style:{marginLeft:e.labelMarginLeft.value(l),marginRight:e.labelMarginRight.value(l),marginTop:e.labelMarginTop.value(l),width:n.width??"auto"}}),a.jsx(u,{...s,isDisabled:i,style:{minHeight:e.controlMinHeight.value(l),paddingTop:e.paddingTopBottom.valuePx(l),paddingBottom:e.paddingTopBottom.valuePx(l),maxWidth:n.width!=null?`calc(100% - ${n.width}px)`:"auto",display:"flex",flexGrow:1,...s.style}})]}),d?a.jsx(b,{size:l,children:d}):null]})}const b=r.label`
2
2
  color: ${i=>i.theme.colors.grey1};
3
3
  display: flex;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{X as f,cg as w,co as v,M as y,j as r,Y as $,cm as M,C as l,eU as z,g,p as i,Q as B}from"./index-DoFw58Mw.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),controlMinHeight:new l(i[4],i[4]),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])},L={infoLabel:new B("extraSmallRegular","smallRegular")},T=y.getLocalizedStrings();function E({isDisabled:e,label:n,addressValueField:o,additionalInfoLabel:h,showAdditionalInfoLabel:m=!1,style:p,hasHoverBorder:u,isOptional:b}){const a=f(),{formState:{errors:x}}=w(),s=v(x,o.name),c=s?h:T.commonSetUp.businessVerification.addressAdditionInfo;return r.jsxs(R,{size:a,style:p,isDisabled:e!=null,isError:s,hasHoverBorder:u??!0,"data-testid":$("labeled-address-value-field",o.name),children:[r.jsx(M,{isDisabled:e,isOptional:b,label:n.label,htmlFor:o.name,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:n.width??"auto"}}),r.jsxs(j,{labelWidth:n.width,children:[r.jsx(z,{...o,isDisabled:e,style:{minHeight:t.controlMinHeight.value(a),paddingTop:t.paddingTopBottom.valuePx(a),paddingBottom:t.paddingTopBottom.valuePx(a),width:"-webkit-fill-available",display:"flex",flexGrow:1,...o.style}}),(m||s)&&r.jsx(P,{size:a,isError:s,children:c})]})]})}const R=d.div`
1
+ import{X as f,cg as w,co as v,M as y,j as r,Y as $,cm as M,C as l,eU as z,g,p as i,Q as B}from"./index-Dc18sb8X.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),controlMinHeight:new l(i[4],i[4]),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])},L={infoLabel:new B("extraSmallRegular","smallRegular")},T=y.getLocalizedStrings();function E({isDisabled:e,label:n,addressValueField:o,additionalInfoLabel:h,showAdditionalInfoLabel:m=!1,style:p,hasHoverBorder:u,isOptional:b}){const a=f(),{formState:{errors:x}}=w(),s=v(x,o.name),c=s?h:T.commonSetUp.businessVerification.addressAdditionInfo;return r.jsxs(R,{size:a,style:p,isDisabled:e!=null,isError:s,hasHoverBorder:u??!0,"data-testid":$("labeled-address-value-field",o.name),children:[r.jsx(M,{isDisabled:e,isOptional:b,label:n.label,htmlFor:o.name,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:n.width??"auto"}}),r.jsxs(j,{labelWidth:n.width,children:[r.jsx(z,{...o,isDisabled:e,style:{minHeight:t.controlMinHeight.value(a),paddingTop:t.paddingTopBottom.valuePx(a),paddingBottom:t.paddingTopBottom.valuePx(a),width:"-webkit-fill-available",display:"flex",flexGrow:1,...o.style}}),(m||s)&&r.jsx(P,{size:a,isError:s,children:c})]})]})}const R=d.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{X as d,j as i,Y as o,eD as r,cm as n,o as s,C as c}from"./index-DoFw58Mw.js";import{j as b,n as h}from"./vendor-CnQcJ2Lu.js";const m={width:new c(343,580,726)};function f({label:e,checkBoxField:l,style:t}){const a=d();return i.jsxs(y,{size:a,style:t,isDisabled:l.isDisabled,"data-testid":o(l.name,"labeled-check-box-field"),isSelected:l.defaultChecked??!1,children:[i.jsx(r,{...l,style:{...l.style}}),i.jsx(n,{isDisabled:l.isDisabled,label:e.label,labelStyle:e.style,htmlFor:l.name,style:{display:"flex",flex:1,minHeight:s.sp4,marginLeft:s.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const y=h.div`
1
+ import{X as d,j as i,Y as o,eD as r,cm as n,o as s,C as c}from"./index-Dc18sb8X.js";import{j as b,n as h}from"./vendor-CnQcJ2Lu.js";const m={width:new c(343,580,726)};function f({label:e,checkBoxField:l,style:t}){const a=d();return i.jsxs(y,{size:a,style:t,isDisabled:l.isDisabled,"data-testid":o(l.name,"labeled-check-box-field"),isSelected:l.defaultChecked??!1,children:[i.jsx(r,{...l,style:{...l.style}}),i.jsx(n,{isDisabled:l.isDisabled,label:e.label,labelStyle:e.style,htmlFor:l.name,style:{display:"flex",flex:1,minHeight:s.sp4,marginLeft:s.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const y=h.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{X as B,cg as F,co as z,j as t,Y as j,cm as _,C as f,g as u,p as s,cp as G,Q,o as i,u as Y,M as q,eN as A,eO as K,dh as X,bT as J,b2 as I,cq as U,dH as Z,v as D,a$ as ee,a6 as le}from"./index-DoFw58Mw.js";import{n as a}from"./vendor-CnQcJ2Lu.js";const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:$=!0,addIconInCreateLabel:m,getLabelForId:b,tagProperties:x,hasError:S,style:c})=>{const w=Y(),y=Ie(e,b),C=q.getLocalizedStrings().dropDowns,O=y.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?R(r,b):void 0,P={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:w.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${w.colors.dropShadowHover}`,border:`1px solid ${w.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:p})=>({...l,":after":{width:p.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(xe,{children:[t.jsx(be,{children:t.jsx(U,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(fe,{children:`${C.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:L,isDisabled:k,selectProps:H}=l,{value:W}=H;return t.jsx(se,{menuIsOpen:p,isFocused:L,isDisabled:k,selectedValue:W,hasError:S,"data-testid":j("creatable-single-select-control",o),children:t.jsx(I.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx(ye,{children:t.jsxs(I.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&x!=null&&x.isTagShownForOption(l.data.value)===!0&&t.jsx($e,{children:t.jsx(we,{style:x.style,children:x.tagName})}),l.children]})}),N=l=>{const{selectProps:p}=l,{placeholder:L,value:k}=p;return t.jsx(I.Input,{...l,autoComplete:"new-password",placeholder:k==null?L:void 0,"data-testid":j("creatable-single-select-input",o),children:l.children})};return t.jsx(A,{isMulti:!1,onCreateOption:l=>{const p=K(l);n(p)},onChange:l=>{$!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>m===!0?E(l):`${C.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":j("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:M,Option:ae,Input:N,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:je,ClearIndicator:Se,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},X())},ie=e=>t.jsx(I.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),$=r.indexOf(h)*40;return t.jsx(J,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:$,children:({index:m,style:b})=>t.jsx(pe,{style:b,children:o[m]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(I.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":j("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(me,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
1
+ import{X as B,cg as F,co as z,j as t,Y as j,cm as _,C as f,g as u,p as s,cp as G,Q,o as i,u as Y,M as q,eN as A,eO as K,dh as X,bT as J,b2 as I,cq as U,dH as Z,v as D,a$ as ee,a6 as le}from"./index-Dc18sb8X.js";import{n as a}from"./vendor-CnQcJ2Lu.js";const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:$=!0,addIconInCreateLabel:m,getLabelForId:b,tagProperties:x,hasError:S,style:c})=>{const w=Y(),y=Ie(e,b),C=q.getLocalizedStrings().dropDowns,O=y.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?R(r,b):void 0,P={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:w.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${w.colors.dropShadowHover}`,border:`1px solid ${w.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:p})=>({...l,":after":{width:p.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(xe,{children:[t.jsx(be,{children:t.jsx(U,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(fe,{children:`${C.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:L,isDisabled:k,selectProps:H}=l,{value:W}=H;return t.jsx(se,{menuIsOpen:p,isFocused:L,isDisabled:k,selectedValue:W,hasError:S,"data-testid":j("creatable-single-select-control",o),children:t.jsx(I.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx(ye,{children:t.jsxs(I.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&x!=null&&x.isTagShownForOption(l.data.value)===!0&&t.jsx($e,{children:t.jsx(we,{style:x.style,children:x.tagName})}),l.children]})}),N=l=>{const{selectProps:p}=l,{placeholder:L,value:k}=p;return t.jsx(I.Input,{...l,autoComplete:"new-password",placeholder:k==null?L:void 0,"data-testid":j("creatable-single-select-input",o),children:l.children})};return t.jsx(A,{isMulti:!1,onCreateOption:l=>{const p=K(l);n(p)},onChange:l=>{$!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>m===!0?E(l):`${C.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":j("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:M,Option:ae,Input:N,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:je,ClearIndicator:Se,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},X())},ie=e=>t.jsx(I.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),$=r.indexOf(h)*40;return t.jsx(J,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:$,children:({index:m,style:b})=>t.jsx(pe,{style:b,children:o[m]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(I.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":j("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(me,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
2
2
  width: 100%;
3
3
  background-color: ${e=>e.theme.colors.grey5};
4
4
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -1,4 +1,4 @@
1
- import{X as I,cg as U,co as g,j as s,Y as W,cm as N,C as l,eP as O,M as k,p as i,o,g as A,Q as K}from"./index-DoFw58Mw.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const t={width:new l(343,580,726),height: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])},Q={infoLabel:new K("extraSmallRegular","smallRegular")};function G({label:e,isDisabled:r,isOptional:u,style:c,file:m,name:n,registerOptions:b,additionalInfoLabel:f,acceptableTypes:x,sizeLimit:y,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:S,showPhotoPicker:v,useMobileCam:L,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:M,updateFilesEntity:R,onDeleteFile:B,onEditFileName:C,onFileSizeError:j}){const a=I(),{formState:{errors:p}}=U(),h=g(p,n),D=g(p,`${n}.fileName`);return s.jsxs(V,{size:a,style:c,isDisabled:r!=null,"data-testid":W("document-field",n),children:[s.jsx(N,{isDisabled:r,label:e.label,isOptional:u,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:e.width??"auto",...e.style}}),s.jsxs(Y,{labelWidth:e.width,size:a,children:[s.jsx(O,{name:n,filesEndPoint:P,authParams:E,registerOptions:b,file:m,sizeLimit:y,acceptableTypes:x,isDisabled:r==="disabled"||r==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:R,onFileSizeError:j,onDeleteFile:B,onEditFileName:C,placeholderText:S,showPhotoPicker:v,useMobileCam:L,showWebCamPopUpCloseIcon:M,showUploadSuccessAnimation:T}),h&&s.jsx(q,{size:a,isError:h,children:D&&m!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=d.div`
1
+ import{X as I,cg as U,co as g,j as s,Y as W,cm as N,C as l,eP as O,M as k,p as i,o,g as A,Q as K}from"./index-Dc18sb8X.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const t={width:new l(343,580,726),height: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])},Q={infoLabel:new K("extraSmallRegular","smallRegular")};function G({label:e,isDisabled:r,isOptional:u,style:c,file:m,name:n,registerOptions:b,additionalInfoLabel:f,acceptableTypes:x,sizeLimit:y,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:S,showPhotoPicker:v,useMobileCam:L,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:M,updateFilesEntity:R,onDeleteFile:B,onEditFileName:C,onFileSizeError:j}){const a=I(),{formState:{errors:p}}=U(),h=g(p,n),D=g(p,`${n}.fileName`);return s.jsxs(V,{size:a,style:c,isDisabled:r!=null,"data-testid":W("document-field",n),children:[s.jsx(N,{isDisabled:r,label:e.label,isOptional:u,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:e.width??"auto",...e.style}}),s.jsxs(Y,{labelWidth:e.width,size:a,children:[s.jsx(O,{name:n,filesEndPoint:P,authParams:E,registerOptions:b,file:m,sizeLimit:y,acceptableTypes:x,isDisabled:r==="disabled"||r==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:R,onFileSizeError:j,onDeleteFile:B,onEditFileName:C,placeholderText:S,showPhotoPicker:v,useMobileCam:L,showWebCamPopUpCloseIcon:M,showUploadSuccessAnimation:T}),h&&s.jsx(q,{size:a,isError:h,children:D&&m!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=d.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.size==="small"?"column":"row"};
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{X as R,u as T,cg as h,co as V,j as r,o,cp as O,bm as P,v as A,fJ as F,g as l,Q as J,a$ as M}from"./index-DoFw58Mw.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const Q={infoLabel:new J("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:m,formattedText:s,dropdownStyle:f,style:b,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:E,placeholderLabel:S}){const a=R(),u=T(),{formState:{errors:D}}=h(),d=V(D,s.name),{control:z}=h(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(U,{size:a,style:b,isDisabled:e!=null,isError:d||n,children:[r.jsx(K,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(X,{style:{width:"auto",...f},children:r.jsx(O,{name:E,control:z,defaultValue:p.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(P,{pickerValues:p.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:c=>{I(c)},menuPlacement:v,titleTextStyle:A.standardRegular,titleColor:u.colors.hero,valueOpacity:1,backgroundColor:u.colors.grey5,placeholder:S})})})}),r.jsxs(q,{children:[r.jsx(F,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(B,{children:r.jsx(G,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const U=i.div`
1
+ import{X as R,u as T,cg as h,co as V,j as r,o,cp as O,bm as P,v as A,fJ as F,g as l,Q as J,a$ as M}from"./index-Dc18sb8X.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const Q={infoLabel:new J("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:m,formattedText:s,dropdownStyle:f,style:b,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:E,placeholderLabel:S}){const a=R(),u=T(),{formState:{errors:D}}=h(),d=V(D,s.name),{control:z}=h(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(U,{size:a,style:b,isDisabled:e!=null,isError:d||n,children:[r.jsx(K,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(X,{style:{width:"auto",...f},children:r.jsx(O,{name:E,control:z,defaultValue:p.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(P,{pickerValues:p.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:c=>{I(c)},menuPlacement:v,titleTextStyle:A.standardRegular,titleColor:u.colors.hero,valueOpacity:1,backgroundColor:u.colors.grey5,placeholder:S})})})}),r.jsxs(q,{children:[r.jsx(F,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(B,{children:r.jsx(G,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const U=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{X as b,j as r,Y as s,cm as m,C as l,p as t,o as a,s as u,Q as x}from"./index-DoFw58Mw.js";import{n}from"./vendor-CnQcJ2Lu.js";const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},f={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:g,additionalInfoLabel:d,style:h,infoLabelStyle:p}){const o=b();return r.jsxs(c,{size:o,style:h,"data-testid":s("labeled-text",e.label),children:[r.jsx(m,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:g}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const c=n.div`
1
+ import{X as b,j as r,Y as s,cm as m,C as l,p as t,o as a,s as u,Q as x}from"./index-Dc18sb8X.js";import{n}from"./vendor-CnQcJ2Lu.js";const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},f={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:g,additionalInfoLabel:d,style:h,infoLabelStyle:p}){const o=b();return r.jsxs(c,{size:o,style:h,"data-testid":s("labeled-text",e.label),children:[r.jsx(m,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:g}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const c=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{X as N,j as l,Y as J,cm as me,o as s,C,p as m,cg as K,cp as ge,co as xe,u as fe,ft as be,M as E,Q as we,b2 as H,fu as Y,bP as _,fv as X,a$ as G,g as R,v as Q,s as Z,fw as $e,m as ye,w as ve}from"./index-DoFw58Mw.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-DkeT6zjW-DmUDvRC_.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
1
+ import{X as N,j as l,Y as J,cm as me,o as s,C,p as m,cg as K,cp as ge,co as xe,u as fe,ft as be,M as E,Q as we,b2 as H,fu as Y,bP as _,fv as X,a$ as G,g as R,v as Q,s as Z,fw as $e,m as ye,w as ve}from"./index-Dc18sb8X.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-DkeT6zjW-DB4n5m2x.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
2
2
  display: flex;
3
3
  gap: ${s.sp2};
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{X as B,j as l,Y as A,cm as G,C as g,o,p as n,cg as _,cp as J,co as q,u as X,v as V,b1 as ie,l as I,M as te,fq as se,fx as ae,R as ne,am as de,g as k,b2 as M,av as ce,a$ as pe,b$ as ue,fy as F,ah as Q,K as he,w as Y,s as me,m as ge,fi as be,f4 as fe,aQ as xe,fj as ye,cZ as we,fz as ve}from"./index-DoFw58Mw.js";import{n as d,j as $e,b as z}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-DkeT6zjW-DmUDvRC_.js";const H={grpBtnMarginTopBottom:new g(n[1],n[3]),grpBtnMarginLeftRight:new g(n[0],n[3])},je=d.div`
1
+ import{X as B,j as l,Y as A,cm as G,C as g,o,p as n,cg as _,cp as J,co as q,u as X,v as V,b1 as ie,l as I,M as te,fq as se,fx as ae,R as ne,am as de,g as k,b2 as M,av as ce,a$ as pe,b$ as ue,fy as F,ah as Q,K as he,w as Y,s as me,m as ge,fi as be,f4 as fe,aQ as xe,fj as ye,cZ as we,fz as ve}from"./index-Dc18sb8X.js";import{n as d,j as $e,b as z}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-DkeT6zjW-DB4n5m2x.js";const H={grpBtnMarginTopBottom:new g(n[1],n[3]),grpBtnMarginLeftRight:new g(n[0],n[3])},je=d.div`
2
2
  display: flex;
3
3
  margin-top: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
4
  margin-bottom: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{X as H,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,c4 as he,j as n,F as ge,fA as xe,a7 as fe,o as t,C as m,k as be,a6 as je,c6 as B,i7 as ye,g as Ce,v as A,hE as we,p as r}from"./index-DoFw58Mw.js";import{b as O,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-IJyZF-Z_-ssTdABCq.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledControlledCheckBoxField-BBrHodlx-ajZwZw2T.js";import"./TrendWithTransactions-BOGQK2Zt-itTZBsuV.js";import"./TrendChart-dARoUu-T-CjrTnbAe.js";import"./chartTypes-DueLK3Wl-B3lGAHMU.js";import"./toCOABalancesWithID-CAhfOfUa-CUvT0aen.js";import"./toChartData-BicnbT0F-BAKhPkjP.js";import"./NoDataChart-edFKx0zh-DIp9-BoP.js";import"./InsightsSection-q1QuO6Z4-1k_aUqAr.js";import"./NavigationDots-5fxvl-4e-BzJdpllk.js";import"./TransactionList-C34ivmk5-BL7wpE6F.js";import"./BoxItem-CHPfWPEF-lXs1y6iB.js";import"./commonDimensions-D4uH020E-szItJUN9.js";import"./uploadAttachment-DVoWdoWD-RtUqrYnb.js";import"./radio-default-CiSgisfh-ub7QGXr8.js";const V={labelWidth:new m(120,145,160)},$e=i.div`
1
+ import{X as H,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,c4 as he,j as n,F as ge,fA as xe,a7 as fe,o as t,C as m,k as be,a6 as je,c6 as B,i7 as ye,g as Ce,v as A,hE as we,p as r}from"./index-Dc18sb8X.js";import{b as O,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-IJyZF-Z_-C-Z95BQG.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledControlledCheckBoxField-BBrHodlx-DZSgDuPY.js";import"./TrendWithTransactions-BOGQK2Zt-DsTHQyvH.js";import"./TrendChart-dARoUu-T-DLWmmph8.js";import"./chartTypes-DueLK3Wl-BWSykg1r.js";import"./toCOABalancesWithID-CAhfOfUa-BLsrlpgK.js";import"./toChartData-BicnbT0F-CzNzHCD-.js";import"./NoDataChart-edFKx0zh-BcXK0tqt.js";import"./InsightsSection-q1QuO6Z4-BTPE3Xuw.js";import"./NavigationDots-5fxvl-4e-xo_TDt3y.js";import"./TransactionList-C34ivmk5-C5mBiYt3.js";import"./BoxItem-CHPfWPEF-D1R-06zc.js";import"./commonDimensions-D4uH020E-CzLHHjVa.js";import"./uploadAttachment-DVoWdoWD-D5s5ylN5.js";import"./radio-default-CiSgisfh-ub7QGXr8.js";const V={labelWidth:new m(120,145,160)},$e=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{M,X as R,a as T,l as s,j as a,F as z,bO as S,c9 as A,C as m,cc as W,o as e,bR as E,p as u,av as U,aa as Y,eY as N}from"./index-DoFw58Mw.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
1
+ import{M,X as R,a as T,l as s,j as a,F as z,bO as S,c9 as A,C as m,cc as W,o as e,bR as E,p as u,av as U,aa as Y,eY as N}from"./index-Dc18sb8X.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${t=>t.theme.colors.grey5};
@@ -1 +1 @@
1
- import{j as l}from"./index-DoFw58Mw.js";import{f as y}from"./ACHDetailsPage-ppaaVv4t-BnOUfoFz.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-a39s142r-4WcZfRoK.js";import"./MagicLinkTitleSection-CvW_f4xF-BDkWHabu.js";import"./BankAccountSection-VSbZyxoY-BkprL32R.js";const j=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:u,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{j as default};
1
+ import{j as l}from"./index-Dc18sb8X.js";import{f as y}from"./ACHDetailsPage-ppaaVv4t-DerAWpBF.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-a39s142r-B8eviNRA.js";import"./MagicLinkTitleSection-CvW_f4xF-CqZNaUJA.js";import"./BankAccountSection-VSbZyxoY-DFVEfVO4.js";const j=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:u,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{j as default};
@@ -1 +1 @@
1
- import{j as S}from"./index-DoFw58Mw.js";import{y as b}from"./DomesticWireDetailsPage-BZ8jSo8r-Dcvy9KUR.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-VSbZyxoY-BkprL32R.js";import"./MagicLinkTitleSection-CvW_f4xF-BDkWHabu.js";import"./BankAccountWarningSection-a39s142r-4WcZfRoK.js";import"./MailingDetailsSection-Di5KwEqu-Di8UL6YK.js";import"./LabeledAddressValueField-BODlYe8J-C_77UpWi.js";const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:o,companyName:r,onSaveHandler:i,onWireDetailsUpdated:n,onFetchBankName:m,onAddressClick:s})=>{const{fetchState:c,error:d,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:k}=e,{currencySymbol:l,amount:y}=t;return S.jsx(b,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:d},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:k,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:n,onAddressClick:s,onFetchBankName:m,companyName:r,isMagicLink:!0,currencySymbol:l,amount:y})};export{F as default};
1
+ import{j as S}from"./index-Dc18sb8X.js";import{y as b}from"./DomesticWireDetailsPage-BZ8jSo8r-CvJ1Feba.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-VSbZyxoY-DFVEfVO4.js";import"./MagicLinkTitleSection-CvW_f4xF-CqZNaUJA.js";import"./BankAccountWarningSection-a39s142r-B8eviNRA.js";import"./MailingDetailsSection-Di5KwEqu-B9mhlAae.js";import"./LabeledAddressValueField-BODlYe8J-CiIDFGvo.js";const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:o,companyName:r,onSaveHandler:i,onWireDetailsUpdated:n,onFetchBankName:m,onAddressClick:s})=>{const{fetchState:c,error:d,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:k}=e,{currencySymbol:l,amount:y}=t;return S.jsx(b,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:d},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:k,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:n,onAddressClick:s,onFetchBankName:m,companyName:r,isMagicLink:!0,currencySymbol:l,amount:y})};export{F as default};
@@ -1 +1 @@
1
- import{j as B}from"./index-DoFw58Mw.js";import{f as S}from"./InternationalWireSwiftDetailsPage-BXBsK560-i2JR8sEk.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-a39s142r-4WcZfRoK.js";import"./MailingDetailsSection-Di5KwEqu-Di8UL6YK.js";import"./LabeledAddressValueField-BODlYe8J-C_77UpWi.js";import"./MagicLinkTitleSection-CvW_f4xF-BDkWHabu.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
1
+ import{j as B}from"./index-Dc18sb8X.js";import{f as S}from"./InternationalWireSwiftDetailsPage-BXBsK560-Drhj4I3h.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-a39s142r-B8eviNRA.js";import"./MailingDetailsSection-Di5KwEqu-B9mhlAae.js";import"./LabeledAddressValueField-BODlYe8J-CiIDFGvo.js";import"./MagicLinkTitleSection-CvW_f4xF-CqZNaUJA.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
@@ -1,4 +1,4 @@
1
- import{at as r,M as n,j as t,au as l,o,$ as c,c0 as a,k as p}from"./index-DoFw58Mw.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const S=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(h,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(u,{children:s.successTitle}),t.jsx(g,{children:s.successNote})]})]}):null},m=i.div`
1
+ import{at as r,M as n,j as t,au as l,o,$ as c,c0 as a,k as p}from"./index-Dc18sb8X.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const S=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(h,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(u,{children:s.successTitle}),t.jsx(g,{children:s.successNote})]})]}):null},m=i.div`
2
2
  z-index: 999;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{M as C,aJ as p,j as t,c0 as m,o as a,s as d,g,ah as x}from"./index-DoFw58Mw.js";import{n,b as c}from"./vendor-CnQcJ2Lu.js";const h=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),M=({companyName:e,currencySymbol:i,amount:r})=>{const s=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,l=r>0?` ${p("0,0.[00]",r,i)}`:"",o=s.title.replace(/<tenant_name>/,e)+l;return t.jsxs(t.Fragment,{children:[t.jsx(y,{children:o}),t.jsxs(j,{children:[s.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),s.encrypted]})]})]})},w=n(x)`
1
+ import{M as C,aJ as p,j as t,c0 as m,o as a,s as d,g,ah as x}from"./index-Dc18sb8X.js";import{n,b as c}from"./vendor-CnQcJ2Lu.js";const h=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),M=({companyName:e,currencySymbol:i,amount:r})=>{const s=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,l=r>0?` ${p("0,0.[00]",r,i)}`:"",o=s.title.replace(/<tenant_name>/,e)+l;return t.jsxs(t.Fragment,{children:[t.jsx(y,{children:o}),t.jsxs(j,{children:[s.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),s.encrypted]})]})]})},w=n(x)`
2
2
  display: flex;
3
3
  gap: ${a.sp1};
4
4
  color: ${g.successDark};
@@ -1,4 +1,4 @@
1
- import{X as h,M as u,C as o,j as s,o as a,c8 as x,as as b,p as i}from"./index-DoFw58Mw.js";import{n}from"./vendor-CnQcJ2Lu.js";import{C as f}from"./LabeledAddressValueField-BODlYe8J-C_77UpWi.js";const r={largeLabelWidth:new o(120,140,220),paddingTopBottom:new o(i[3],i[3]),marginRight:new o(i[3],i[8]),marginLeft:new o(i[3],i[6]),marginLeftTitle:new o(i[4],i[6])},j=({sectionId:e,addressToEdit:d,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=h(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,$=r.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:t.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:t.address,width:$},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(t.address),defaultValue:d,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,d)=>`${e}.${d}`,v=n.div`
1
+ import{X as h,M as u,C as o,j as s,o as a,c8 as x,as as b,p as i}from"./index-Dc18sb8X.js";import{n}from"./vendor-CnQcJ2Lu.js";import{C as f}from"./LabeledAddressValueField-BODlYe8J-CiIDFGvo.js";const r={largeLabelWidth:new o(120,140,220),paddingTopBottom:new o(i[3],i[3]),marginRight:new o(i[3],i[8]),marginLeft:new o(i[3],i[6]),marginLeftTitle:new o(i[4],i[6])},j=({sectionId:e,addressToEdit:d,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=h(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,$=r.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:t.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:t.address,width:$},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(t.address),defaultValue:d,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,d)=>`${e}.${d}`,v=n.div`
2
2
  width: auto;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{X as o,j as i,Y as d,n as c,g as l,o as p,C as r}from"./index-DoFw58Mw.js";import{n as a}from"./vendor-CnQcJ2Lu.js";const s={width:new r(425,850,850),height:new r(320,640,640)},h=a.div`
1
+ import{X as o,j as i,Y as d,n as c,g as l,o as p,C as r}from"./index-Dc18sb8X.js";import{n as a}from"./vendor-CnQcJ2Lu.js";const s={width:new r(425,850,850),height:new r(320,640,640)},h=a.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{j as o,n as u,eI as h,o as s,u as d,eJ as m}from"./index-DoFw58Mw.js";import{b as x,n as c,j as f}from"./vendor-CnQcJ2Lu.js";const y=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},b=c.div`
1
+ import{j as o,n as u,eI as h,o as s,u as d,eJ as m}from"./index-Dc18sb8X.js";import{b as x,n as c,j as f}from"./vendor-CnQcJ2Lu.js";const y=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},b=c.div`
2
2
  position: relative;
3
3
  `,C=({menuItems:e,isMenuOpen:r,isMenuVisible:i=!0,setIsMenuOpen:n,styles:l,menuIconStyles:t})=>{const p=x.useRef(null);return o.jsx(u,{onClickAway:()=>{n(!1)},children:o.jsxs(b,{ref:p,children:[o.jsx(g,{className:"placeholder",style:t,onClick:a=>{a.stopPropagation(),n(!r)},children:o.jsx(j,{isMenuVisible:i,children:o.jsx(h,{})})}),r?o.jsx(y,{open:r,onClose:a=>{a.stopPropagation(),n(!1)},anchorEl:p.current,styles:l,children:e}):null]})})},g=c.div`
4
4
  height: ${s.sp4};
@@ -1,4 +1,4 @@
1
- import{u as z,X as M,eZ as H,M as $,ab as p,j as i,l as L,aW as I,T as v,o as t,aQ as P,C as d,m as _,s as B,v as R,Q as W,e_ as j,e$ as C,p as u,f1 as E,g as T,w as J}from"./index-DoFw58Mw.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{J as F}from"./SetUpDefaultSection-D4FafmO5-CcuY4gpp.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const r={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},N={title:new W("standardMedium","largeMedium")},O=n.img`
1
+ import{u as z,X as M,eZ as H,M as $,ab as p,j as i,l as L,aW as I,T as v,o as t,aQ as P,C as d,m as _,s as B,v as R,Q as W,e_ as j,e$ as C,p as u,f1 as E,g as T,w as J}from"./index-Dc18sb8X.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{J as F}from"./SetUpDefaultSection-D4FafmO5-JKsfeRPT.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const r={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},N={title:new W("standardMedium","largeMedium")},O=n.img`
2
2
  width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
3
3
  height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
4
4
  border-radius: ${t.sp11};
@@ -1,4 +1,4 @@
1
- import{u as M,y as D,l as j,M as w,fh as t,j as r,aW as O,fA as B,o as F}from"./index-DoFw58Mw.js";import{n as P}from"./vendor-CnQcJ2Lu.js";import{M as U}from"./ChargeCardListTable-qk9tQ6Kb-DR0FaH4k.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./Menu-BOh_KLZu-BrkD9kYL.js";import"./RoleWithToolTip-DkeT6zjW-DmUDvRC_.js";import"./CardNumberSubText-dxYfM6ph-B1OZ5t3N.js";import"./ChargeCardUtils-k5Cmi_bM-xJoIL5jf.js";const{spendManagement:{chargeCard:u}}=w.getLocalizedStrings(),_=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:i,creditAccount:c,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:d,controllerEmails:h,signedInUser:p,onChargeCardRowClick:A,onBackClick:g,onReloadCards:f,onColumnSortConfigChanged:k})=>{const S=M(),y=D(),m=j.hasChargeCardAdminLevelAccess(y.loggedInUserRoleMap),v=e.cards.some(a=>a.type.code.includes("credit")),b=e.cards.some(a=>a.type.code.includes("debit")),E=v&&b?u.cardList.title.cards:b?u.cardList.title.debit:u.cardList.title.credit,I=m===!0?{creditCardCashbackOffer:`${i.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${i.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:t(i.cashbackSummary.cashbackEarned.amount),redeemedCashback:t(i.cashbackSummary.cashbackRedeemed.amount),availableCashback:t(i.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:i.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:i.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,R=o&&l&&m===!0?{creditAccountId:c.id,creditAccountLimit:t(c.limit.amount),creditAccountAvailableAmount:t(c.available.amount),creditAccountSpentAmount:t(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:t(C.remainingAmountDue.amount)}:void 0,L=n&&s?{debitAccountId:d.depositAccounts.map(a=>a.id),debitAccountName:d.depositAccounts.map(a=>a.accountName),debitAccountBalance:d.depositAccounts.map(a=>t(a.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:d.depositAccounts.map(a=>a.accountStatus)}:void 0,x={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l};return r.jsxs($,{children:[r.jsx(O,{title:E,backgroundColor:S.colors.grey4,style:{zIndex:3},onBackClick:g,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?r.jsx(B,{fetchState:e.fetchState,styles:{margin:"auto"}}):r.jsx(U,{controllerEmails:h,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:C,productInformation:x,cashbackInformation:I,creditAccountInformation:R,debitAccountInformation:L,depositAccountListWithDebitCardIssued:d,cardList:e.cards,showViewForCardUser:!0,signedInUser:p,fetchState:e.fetchState,onReloadCards:f,onChargeCardRowClick:A,uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{},onChargeCardRevokeInviteClick:()=>{}})]})},$=P.div`
1
+ import{u as M,y as D,l as j,M as w,fh as t,j as r,aW as O,fA as B,o as F}from"./index-Dc18sb8X.js";import{n as P}from"./vendor-CnQcJ2Lu.js";import{M as U}from"./ChargeCardListTable-qk9tQ6Kb-lo8c0x-v.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./Menu-BOh_KLZu-CFhi0SIh.js";import"./RoleWithToolTip-DkeT6zjW-DB4n5m2x.js";import"./CardNumberSubText-dxYfM6ph-DEOIkYXa.js";import"./ChargeCardUtils-k5Cmi_bM-uT1V7gQT.js";const{spendManagement:{chargeCard:u}}=w.getLocalizedStrings(),_=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:i,creditAccount:c,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:d,controllerEmails:h,signedInUser:p,onChargeCardRowClick:A,onBackClick:g,onReloadCards:f,onColumnSortConfigChanged:k})=>{const S=M(),y=D(),m=j.hasChargeCardAdminLevelAccess(y.loggedInUserRoleMap),v=e.cards.some(a=>a.type.code.includes("credit")),b=e.cards.some(a=>a.type.code.includes("debit")),E=v&&b?u.cardList.title.cards:b?u.cardList.title.debit:u.cardList.title.credit,I=m===!0?{creditCardCashbackOffer:`${i.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${i.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:t(i.cashbackSummary.cashbackEarned.amount),redeemedCashback:t(i.cashbackSummary.cashbackRedeemed.amount),availableCashback:t(i.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:i.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:i.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,R=o&&l&&m===!0?{creditAccountId:c.id,creditAccountLimit:t(c.limit.amount),creditAccountAvailableAmount:t(c.available.amount),creditAccountSpentAmount:t(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:t(C.remainingAmountDue.amount)}:void 0,L=n&&s?{debitAccountId:d.depositAccounts.map(a=>a.id),debitAccountName:d.depositAccounts.map(a=>a.accountName),debitAccountBalance:d.depositAccounts.map(a=>t(a.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:d.depositAccounts.map(a=>a.accountStatus)}:void 0,x={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l};return r.jsxs($,{children:[r.jsx(O,{title:E,backgroundColor:S.colors.grey4,style:{zIndex:3},onBackClick:g,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?r.jsx(B,{fetchState:e.fetchState,styles:{margin:"auto"}}):r.jsx(U,{controllerEmails:h,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:C,productInformation:x,cashbackInformation:I,creditAccountInformation:R,debitAccountInformation:L,depositAccountListWithDebitCardIssued:d,cardList:e.cards,showViewForCardUser:!0,signedInUser:p,fetchState:e.fetchState,onReloadCards:f,onChargeCardRowClick:A,uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{},onChargeCardRevokeInviteClick:()=>{}})]})},$=P.div`
2
2
  display: flex;
3
3
  min-height: ${`calc(100vh - ${F.sp9})`};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{X as te,fl as ie,u as fe,y as ge,fm as be,a as ye,H as xe,l as z,c4 as we,c3 as Pe,M as re,j as l,fn as ve,aW as $e,F as De,a7 as Se,o as s,fo as ne,fp as de,fq as ce,b_ as ue,C as L,m as me,v as Re,Q as je,R as le,cf as Ce,c6 as Oe,fr as q,cc as Le,ca as Te,fs as Ie,ak as Ve,p as E}from"./index-DoFw58Mw.js";import{b as v,n as m}from"./vendor-CnQcJ2Lu.js";import{C as ke}from"./LabeledAddressValueField-BODlYe8J-C_77UpWi.js";import{X as Be}from"./LabeledUserSingleSelectWithSubtitlesField-CO-Owx5--C5GcoA_6.js";import{C as Fe,j as ze}from"./LabeledZeniRolesDropDownField-CcfvYWTB-FOsQ-M0q.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./RoleWithToolTip-DkeT6zjW-DmUDvRC_.js";const b=(e,i)=>`${e}.${i}`,F={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(E[2],E[3]),toolTipWidth:new L(215,237),notePadding:new L(E[3],E[4]),noteGap:new L(E[0],6)},{peoplePage:a,common:{settings:se,labels:G,placeholder:B,errorMessage:Ae},dateFormat:Ne}=re.getLocalizedStrings(),Me=({myProfileView:e,isZeniFinopsRolesUser:i,sectionId:t,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:$,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:x})=>{const n=te(),{person:r,managersList:A,classList:N,manager:H,department:g,controllersList:M,myProfileLocalData:W,addressData:Q}=e,X=e.person.user?.birthday!=null?"readonly":void 0,D=F.largeLabelWidth.value(n),I=F.largeLabelWidth.value(n),J=v.useMemo(()=>ie(y,p,o,f,$,T,h),[y,p,o,f,$,T,h]),{firstController:w,restControllerEmailsStr:S}=v.useMemo(()=>{const c=le(M),R=c.splice(0,1),j=c.reduce((V,k)=>V.concat(`${k.email},`),"");return{firstController:R,restControllerEmailsStr:j}},[M]),K=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),U=v.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);return l.jsxs(_e,{windowSize:n,children:[l.jsx(Ce,{isDisabled:u,label:{label:G.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:B.firstNamePlaceholder,lastName:B.lastNamePlaceholder,name:B.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ae.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(O,{}),l.jsx(Oe,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:D},text:{type:"text",name:b(t,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${F.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(O,{}),l.jsx(Le,{label:{label:G.dateOfBirth,width:I},style:{width:"auto"},isDisabled:X,dateField:{name:b(t,"dateOfBirth"),placeholder:B.datePlaceholder,defaultValue:W.dateOfBirth,dateFormat:Ne.visual.defaultInput,autoComplete:"off",maxDate:z.dateNow().subtract(18,"year")}}),l.jsx(O,{}),l.jsx(ke,{label:{label:G.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:B.addressPlaceholder,defaultValue:Q?.addressToCreate,onClick:()=>{x("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(O,{}),l.jsx(Te,{label:{label:G.phone,width:I},text:{name:b(t,"phone"),placeholder:B.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(O,{}),i?l.jsx(Fe,{label:{label:a.invitePage.role,width:D},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:K},registerOptions:{required:!0},placeholderLabel:q(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(ze,{label:{label:a.invitePage.role,width:D},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,$)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(O,{}),l.jsx(Be,{label:{label:a.invitePage.manager,width:D},showTooltip:!0,toolTipWidth:F.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:A,selectedUser:d?void 0:H?.userId},valueToSubtitle:c=>{const R=A.findIndex(j=>j.userId===c);if(R!==-1){const j=A[R],V=N.find(Y=>Y.classId===j.userRole.accountingClassIDs[0]),k=[];return V!=null&&k.push(V.className),k}else return[]},placeholderLabel:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(O,{}),l.jsx(Ie,{label:{label:a.invitePage.department,width:D},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:U,selectedOption:d?void 0:U.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),i?null:l.jsxs(Ee,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(Ue,{href:`mailto:${w[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ze,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,_e=m.div`
1
+ import{X as te,fl as ie,u as fe,y as ge,fm as be,a as ye,H as xe,l as z,c4 as we,c3 as Pe,M as re,j as l,fn as ve,aW as $e,F as De,a7 as Se,o as s,fo as ne,fp as de,fq as ce,b_ as ue,C as L,m as me,v as Re,Q as je,R as le,cf as Ce,c6 as Oe,fr as q,cc as Le,ca as Te,fs as Ie,ak as Ve,p as E}from"./index-Dc18sb8X.js";import{b as v,n as m}from"./vendor-CnQcJ2Lu.js";import{C as ke}from"./LabeledAddressValueField-BODlYe8J-CiIDFGvo.js";import{X as Be}from"./LabeledUserSingleSelectWithSubtitlesField-CO-Owx5--BtzlqXjH.js";import{C as Fe,j as ze}from"./LabeledZeniRolesDropDownField-CcfvYWTB-DW_5XewE.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./RoleWithToolTip-DkeT6zjW-DB4n5m2x.js";const b=(e,i)=>`${e}.${i}`,F={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(E[2],E[3]),toolTipWidth:new L(215,237),notePadding:new L(E[3],E[4]),noteGap:new L(E[0],6)},{peoplePage:a,common:{settings:se,labels:G,placeholder:B,errorMessage:Ae},dateFormat:Ne}=re.getLocalizedStrings(),Me=({myProfileView:e,isZeniFinopsRolesUser:i,sectionId:t,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:$,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:x})=>{const n=te(),{person:r,managersList:A,classList:N,manager:H,department:g,controllersList:M,myProfileLocalData:W,addressData:Q}=e,X=e.person.user?.birthday!=null?"readonly":void 0,D=F.largeLabelWidth.value(n),I=F.largeLabelWidth.value(n),J=v.useMemo(()=>ie(y,p,o,f,$,T,h),[y,p,o,f,$,T,h]),{firstController:w,restControllerEmailsStr:S}=v.useMemo(()=>{const c=le(M),R=c.splice(0,1),j=c.reduce((V,k)=>V.concat(`${k.email},`),"");return{firstController:R,restControllerEmailsStr:j}},[M]),K=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),U=v.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);return l.jsxs(_e,{windowSize:n,children:[l.jsx(Ce,{isDisabled:u,label:{label:G.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:B.firstNamePlaceholder,lastName:B.lastNamePlaceholder,name:B.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ae.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(O,{}),l.jsx(Oe,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:D},text:{type:"text",name:b(t,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${F.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(O,{}),l.jsx(Le,{label:{label:G.dateOfBirth,width:I},style:{width:"auto"},isDisabled:X,dateField:{name:b(t,"dateOfBirth"),placeholder:B.datePlaceholder,defaultValue:W.dateOfBirth,dateFormat:Ne.visual.defaultInput,autoComplete:"off",maxDate:z.dateNow().subtract(18,"year")}}),l.jsx(O,{}),l.jsx(ke,{label:{label:G.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:B.addressPlaceholder,defaultValue:Q?.addressToCreate,onClick:()=>{x("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(O,{}),l.jsx(Te,{label:{label:G.phone,width:I},text:{name:b(t,"phone"),placeholder:B.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(O,{}),i?l.jsx(Fe,{label:{label:a.invitePage.role,width:D},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:K},registerOptions:{required:!0},placeholderLabel:q(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(ze,{label:{label:a.invitePage.role,width:D},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,$)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(O,{}),l.jsx(Be,{label:{label:a.invitePage.manager,width:D},showTooltip:!0,toolTipWidth:F.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:A,selectedUser:d?void 0:H?.userId},valueToSubtitle:c=>{const R=A.findIndex(j=>j.userId===c);if(R!==-1){const j=A[R],V=N.find(Y=>Y.classId===j.userRole.accountingClassIDs[0]),k=[];return V!=null&&k.push(V.className),k}else return[]},placeholderLabel:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(O,{}),l.jsx(Ie,{label:{label:a.invitePage.department,width:D},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:U,selectedOption:d?void 0:U.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),i?null:l.jsxs(Ee,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(Ue,{href:`mailto:${w[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ze,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,_e=m.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{u as p,X as m,j as o,Y as u,bt as g,M as x,o as t,aZ as b,eM as k,bp as y,bm as C,v}from"./index-DoFw58Mw.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const j=l.div`
1
+ import{u as p,X as m,j as o,Y as u,bt as g,M as x,o as t,aZ as b,eM as k,bp as y,bm as C,v}from"./index-Dc18sb8X.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const j=l.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{j as e,o as r,ak as m,bp as d}from"./index-DoFw58Mw.js";import{n as s,j as t}from"./vendor-CnQcJ2Lu.js";const h=t`
1
+ import{j as e,o as r,ak as m,bp as d}from"./index-Dc18sb8X.js";import{n as s,j as t}from"./vendor-CnQcJ2Lu.js";const h=t`
2
2
  border-left-style: none;
3
3
  margin-left: -${r.sp3};
4
4
  border-top-right-radius: ${r.sp2};
@@ -1,4 +1,4 @@
1
- import{j as e,Y as p,o as t}from"./index-DoFw58Mw.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const v=l.div`
1
+ import{j as e,Y as p,o as t}from"./index-Dc18sb8X.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const v=l.div`
2
2
  text-align: center;
3
3
  cursor: pointer;
4
4
  `,C=l.div`
@@ -1,4 +1,4 @@
1
- import{X as z,a as J,c3 as Q,a5 as X,j as t,M as F,F as Y,a7 as Z,C as i,o as a,a6 as ee,Q as _,h as te,gj as ae,s as le,cg as O,hF as ne,c8 as U,c6 as oe,p as l,as as re,co as ie,cm as de,cA as se,e as ce,eq as me,dh as he,hE as be,g as V}from"./index-DoFw58Mw.js";import{b as j,n as o,j as ge}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const w={width:new i(343,580,726),height:new i(l[6],l[6]),controlHeight:new i(l[6],l[6]),paddingTopBottom:new i(l[2],l[2]),marginRight:new i(l[2],l[2]),labelMarginLeft:new i(l[3],l[4]),labelMarginRight:new i(l[3],l[4]),labelMarginTop:new i(l[2],l[2])},ue={infoLabel:new _("smallRegular","standardRegular")},pe=F.getLocalizedStrings();function we({label:e,textField:n,additionalInfo:h,checkBoxFields:m,fetchState:g,style:v,toolTip:M,isOptionalLabel:y}){const s=z(),{formState:{errors:d}}=O(),$=ie(d,n.name);return t.jsxs(xe,{windowSize:s,style:v,isDisabled:n.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:n.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:y}),t.jsxs(fe,{labelWidth:e.width,children:[t.jsx(se,{...n,style:{...n.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),g?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(Se,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:m.length>0,isError:$,children:[h.icon,h.label]}),m.length>0?m.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<m.length-1?t.jsx(ve,{children:pe.common.texts.or}):null]})):null]})]})]})}const xe=o.div`
1
+ import{X as z,a as J,c3 as Q,a5 as X,j as t,M as F,F as Y,a7 as Z,C as i,o as a,a6 as ee,Q as _,h as te,gj as ae,s as le,cg as O,hF as ne,c8 as U,c6 as oe,p as l,as as re,co as ie,cm as de,cA as se,e as ce,eq as me,dh as he,hE as be,g as V}from"./index-Dc18sb8X.js";import{b as j,n as o,j as ge}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const w={width:new i(343,580,726),height:new i(l[6],l[6]),controlHeight:new i(l[6],l[6]),paddingTopBottom:new i(l[2],l[2]),marginRight:new i(l[2],l[2]),labelMarginLeft:new i(l[3],l[4]),labelMarginRight:new i(l[3],l[4]),labelMarginTop:new i(l[2],l[2])},ue={infoLabel:new _("smallRegular","standardRegular")},pe=F.getLocalizedStrings();function we({label:e,textField:n,additionalInfo:h,checkBoxFields:m,fetchState:g,style:v,toolTip:M,isOptionalLabel:y}){const s=z(),{formState:{errors:d}}=O(),$=ie(d,n.name);return t.jsxs(xe,{windowSize:s,style:v,isDisabled:n.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:n.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:y}),t.jsxs(fe,{labelWidth:e.width,children:[t.jsx(se,{...n,style:{...n.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),g?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(Se,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:m.length>0,isError:$,children:[h.icon,h.label]}),m.length>0?m.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<m.length-1?t.jsx(ve,{children:pe.common.texts.or}):null]})):null]})]})]})}const xe=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{X as l,j as t,g as r,o as a,s,C as m,u as o}from"./index-DoFw58Mw.js";import{n as i,b as h}from"./vendor-CnQcJ2Lu.js";const v=e=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),c=e=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),d={chartMinHeight:new m(288,360)},z=i.div`
1
+ import{X as l,j as t,g as r,o as a,s,C as m,u as o}from"./index-Dc18sb8X.js";import{n as i,b as h}from"./vendor-CnQcJ2Lu.js";const v=e=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),c=e=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),d={chartMinHeight:new m(288,360)},z=i.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{j as e,o as t,u as s}from"./index-DoFw58Mw.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import{r as n,o}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const r=i.div`
1
+ import{j as e,o as t,u as s}from"./index-Dc18sb8X.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import{r as n,o}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const r=i.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  padding: ${t.sp8} ${t.sp0} ${t.sp8} ${t.sp0};
@@ -1,4 +1,4 @@
1
- import{j as o,M as i,bC as s,c0 as l,s as c,g as a,m as d}from"./index-DoFw58Mw.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{i as h}from"./ZeniCopyright-B83zWEf0-19q3_mPy.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const g=t.div`
1
+ import{j as o,M as i,bC as s,c0 as l,s as c,g as a,m as d}from"./index-Dc18sb8X.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{i as h}from"./ZeniCopyright-B83zWEf0-CbbA3mi5.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const g=t.div`
2
2
  width: 100%;
3
3
  height: 100vh;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,fA as ne,o as i,bf as se,M as I,a9 as re,u as X,X as Y,a as le,c3 as ae,l as P,aW as ce,F as de,T as w,a7 as pe,C as z,f5 as me,fB as ue,eD as he,fC as fe,fD as ge,ak as xe,p as S,as as J,w as K,s as Q,m as $e}from"./index-DoFw58Mw.js";import{n as o,b as E}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const{common:ye}=I.getLocalizedStrings(),B={notePadding:new z(S[3],S[4]),noteGap:new z(S[0],6)},M=(e,n)=>`${e}.${n}`,be=o.div`
1
+ import{j as t,fA as ne,o as i,bf as se,M as I,a9 as re,u as X,X as Y,a as le,c3 as ae,l as P,aW as ce,F as de,T as w,a7 as pe,C as z,f5 as me,fB as ue,eD as he,fC as fe,fD as ge,ak as xe,p as S,as as J,w as K,s as Q,m as $e}from"./index-Dc18sb8X.js";import{n as o,b as E}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const{common:ye}=I.getLocalizedStrings(),B={notePadding:new z(S[3],S[4]),noteGap:new z(S[0],6)},M=(e,n)=>`${e}.${n}`,be=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${i.sp3};
@@ -1 +1 @@
1
- import{v as t,p as e}from"./index-DoFw58Mw.js";const r=e[5],o=59,i=e[5],l=t.standardRegular.lineHeightValue,n=1,p=1e3;export{l as A,i as E,n as I,p as L,o as a,r as t};
1
+ import{v as t,p as e}from"./index-Dc18sb8X.js";const r=e[5],o=59,i=e[5],l=t.standardRegular.lineHeightValue,n=1,p=1e3;export{l as A,i as E,n as I,p as L,o as a,r as t};
@@ -1,4 +1,4 @@
1
- import{u as K,X as v,a as Zt,M as P,c3 as Xt,j as t,aW as Kt,l as g,F as Qt,a7 as ei,o as i,T as we,go as ti,C as R,hw as ii,v as Ne,e as oi,A as et,bL as tt,ao as it,dj as ot,bT as st,jf as at,p as w,K as si,jg as ai,dh as ce,aj as ri,Q as ni,h as rt,g as S,w as li,bg as z,cg as ue,fB as he,jh as pe,y as nt,d3 as lt,dr as V,c_ as dt,fK as di,s as Q,hL as ci,m as H,e_ as ui,ab as ye,av as fe,ji as hi,bd as ct,jj as Ie,aP as pi}from"./index-DoFw58Mw.js";import{b as x,n as r,j as O}from"./vendor-CnQcJ2Lu.js";import{k as fi}from"./SubTabSwitcher-BPVG5BHS-C6Ng45Yx.js";import{d as ut}from"./useLongPress-GCK2COYQ-gxLtL5O4.js";import{A as ht,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-BjItJJe9-l0BCgaPP.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";function mi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const h=v(),f=K(),m=x.useCallback(b=>{d(b.id)},[d]),p=x.useCallback(b=>{u(b.id)},[u]);return e.length===0?null:t.jsxs(gi,{windowSize:h,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${f.colors.grey3}`},onTabChange:m}),t.jsx(fi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:p})]})}const gi=r.div`
1
+ import{u as K,X as v,a as Zt,M as P,c3 as Xt,j as t,aW as Kt,l as g,F as Qt,a7 as ei,o as i,T as we,go as ti,C as R,hw as ii,v as Ne,e as oi,A as et,bL as tt,ao as it,dj as ot,bT as st,jf as at,p as w,K as si,jg as ai,dh as ce,aj as ri,Q as ni,h as rt,g as S,w as li,bg as z,cg as ue,fB as he,jh as pe,y as nt,d3 as lt,dr as V,c_ as dt,fK as di,s as Q,hL as ci,m as H,e_ as ui,ab as ye,av as fe,ji as hi,bd as ct,jj as Ie,aP as pi}from"./index-Dc18sb8X.js";import{b as x,n as r,j as O}from"./vendor-CnQcJ2Lu.js";import{k as fi}from"./SubTabSwitcher-BPVG5BHS-DY3CAvRO.js";import{d as ut}from"./useLongPress-GCK2COYQ-gxLtL5O4.js";import{A as ht,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-BjItJJe9-DzH6eIvg.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";function mi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const h=v(),f=K(),m=x.useCallback(b=>{d(b.id)},[d]),p=x.useCallback(b=>{u(b.id)},[u]);return e.length===0?null:t.jsxs(gi,{windowSize:h,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${f.colors.grey3}`},onTabChange:m}),t.jsx(fi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:p})]})}const gi=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{X as H,hv as ye,M as B,u as q,A as be,j as t,Y as _e,bf as Se,hu as ke,aY as we,aW as ve,hw as Be,hx as $e,o as u,a9 as Oe,e as Pe,C as F,ao as le,H as ie,ab as je,p as $,a_ as Te,bE as De,bF as Ne,bG as Ee,g as a,s as ce,bc as Ae,b7 as Ie,aB as Me,v as Z,aA as Le,aJ as Fe,b8 as Ve,ba as ze,l as Re}from"./index-DoFw58Mw.js";import{b as y,n as m,f as We}from"./vendor-CnQcJ2Lu.js";import{p as Ke,d as Ye,y as G,b as de,u as ee}from"./chartTypes-DueLK3Wl-B3lGAHMU.js";import{V as Ge}from"./toChartData-BicnbT0F-BAKhPkjP.js";import{m as V}from"./analyticsHelper-DlYWxxhD-DdeYfQh2.js";import{p as He}from"./TimeRangeSwitcher-BK7gGqaa-li6QV9p5.js";import{M as qe}from"./TimeframeSwitcherWithToggle-BwvVsB_p-CoKIqOrx.js";import{C as Je}from"./NoDataChart-edFKx0zh-DIp9-BoP.js";import{d as Ue}from"./NoDataTable-41nH5trW-Brapb7lv.js";import{H as Xe,N as oe}from"./detailCommon-D5qKBZdS-CPasfcVD.js";import{n as z}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{a as Qe,r as J}from"./CollapsableReportTable-Dp1985is-CgJ_JGJs.js";import{d as pe,l as re}from"./mapLoadingInProgressToTreeNode-M0QN8LkC-3yQrrz5g.js";import{l as Ze}from"./mapSpacerToTreeNode-yPPIJHBw-D3Gjllyb.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-SD5_8TCp-DcEUsFuS.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";import"./AccountRow-D9vDRsjv-uSOuzaD9.js";const eo=m.div`
1
+ import{X as H,hv as ye,M as B,u as q,A as be,j as t,Y as _e,bf as Se,hu as ke,aY as we,aW as ve,hw as Be,hx as $e,o as u,a9 as Oe,e as Pe,C as F,ao as le,H as ie,ab as je,p as $,a_ as Te,bE as De,bF as Ne,bG as Ee,g as a,s as ce,bc as Ae,b7 as Ie,aB as Me,v as Z,aA as Le,aJ as Fe,b8 as Ve,ba as ze,l as Re}from"./index-Dc18sb8X.js";import{b as y,n as m,f as We}from"./vendor-CnQcJ2Lu.js";import{p as Ke,d as Ye,y as G,b as de,u as ee}from"./chartTypes-DueLK3Wl-BWSykg1r.js";import{V as Ge}from"./toChartData-BicnbT0F-CzNzHCD-.js";import{m as V}from"./analyticsHelper-DlYWxxhD-6PX8-p-s.js";import{p as He}from"./TimeRangeSwitcher-BK7gGqaa-d24Db5VO.js";import{M as qe}from"./TimeframeSwitcherWithToggle-BwvVsB_p-D2v3J1KI.js";import{C as Je}from"./NoDataChart-edFKx0zh-BcXK0tqt.js";import{d as Ue}from"./NoDataTable-41nH5trW-pzm1rHwP.js";import{H as Xe,N as oe}from"./detailCommon-D5qKBZdS-BpsfjSiy.js";import{n as z}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{a as Qe,r as J}from"./CollapsableReportTable-Dp1985is-CGhJR3X0.js";import{d as pe,l as re}from"./mapLoadingInProgressToTreeNode-M0QN8LkC-DSfxQmfa.js";import{l as Ze}from"./mapSpacerToTreeNode-yPPIJHBw-BXxWoQQn.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-SD5_8TCp-DrzKb54r.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";import"./AccountRow-D9vDRsjv-XcUg9HnZ.js";const eo=m.div`
2
2
  display: flex;
3
3
  `,oo=m.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{u as i,j as r}from"./index-DoFw58Mw.js";import{n}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const p=n.div`
1
+ import{u as i,j as r}from"./index-Dc18sb8X.js";import{n}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const p=n.div`
2
2
  display: ${({isOpen:o})=>o?"block":"none"};
3
3
  position: fixed;
4
4
  top: 0;
@@ -1,4 +1,4 @@
1
- import{j as o,D as M,u as T,X as z,Y as A,aW as re,M as c,K as ie,e as ae,C as D,v as ce,o as s,H as le,ab as de,c0 as ge,c1 as pe,aS as me,p as C,l as H,a_ as he,c2 as ue,a9 as fe,aa as xe,av as we}from"./index-DoFw58Mw.js";import{n as r,b as F}from"./vendor-CnQcJ2Lu.js";import{H as Se}from"./NavBarWithPicker-CNBOk06R-D8yiRwFQ.js";import{m as je}from"./analyticsHelper-DlYWxxhD-DdeYfQh2.js";import{M as $e}from"./TimeframeSwitcherWithToggle-BwvVsB_p-CoKIqOrx.js";import{a as be,W as Ce}from"./CollapsableReportTable-Dp1985is-CgJ_JGJs.js";import{M as E}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import{T as Pe,I as ke,L as ye}from"./mapSectionWithAcOnlyToTreeNode-CrtVdHui-CnnfThO_.js";import{s as G}from"./mapTimeframeBalancesToTreeNode-px916zpo-rIOc1Hnu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-SD5_8TCp-DcEUsFuS.js";import"./AccountRow-D9vDRsjv-uSOuzaD9.js";const K="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ve=r.div`
1
+ import{j as o,D as M,u as T,X as z,Y as A,aW as re,M as c,K as ie,e as ae,C as D,v as ce,o as s,H as le,ab as de,c0 as ge,c1 as pe,aS as me,p as C,l as H,a_ as he,c2 as ue,a9 as fe,aa as xe,av as we}from"./index-Dc18sb8X.js";import{n as r,b as F}from"./vendor-CnQcJ2Lu.js";import{H as Se}from"./NavBarWithPicker-CNBOk06R-BZD_yWn9.js";import{m as je}from"./analyticsHelper-DlYWxxhD-6PX8-p-s.js";import{M as $e}from"./TimeframeSwitcherWithToggle-BwvVsB_p-D2v3J1KI.js";import{a as be,W as Ce}from"./CollapsableReportTable-Dp1985is-CGhJR3X0.js";import{M as E}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import{T as Pe,I as ke,L as ye}from"./mapSectionWithAcOnlyToTreeNode-CrtVdHui-qBoPPypE.js";import{s as G}from"./mapTimeframeBalancesToTreeNode-px916zpo-CuLGcUKr.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-SD5_8TCp-DrzKb54r.js";import"./AccountRow-D9vDRsjv-XcUg9HnZ.js";const K="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ve=r.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{eO as Z,M as K,h4 as de,a5 as le,v as B,o as a,g as z,X as N,j as t,bA as pe,h5 as me,u as re,cg as ge,ab as F,C as W,aQ as he,eY as ue,s as ie,h6 as fe,h7 as Se,h8 as G,h9 as Y,ha as q,a7 as ye,i as X,p as xe,gh as be,m as Ce,Q as we}from"./index-DoFw58Mw.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{O as ve}from"./SetUpAccountSection-CdUpAzlt-4B1rLcGQ.js";const Pe={containerHeight:new W(656,720)},$e=o.div`
1
+ import{eO as Z,M as K,h4 as de,a5 as le,v as B,o as a,g as z,X as N,j as t,bA as pe,h5 as me,u as re,cg as ge,ab as F,C as W,aQ as he,eY as ue,s as ie,h6 as fe,h7 as Se,h8 as G,h9 as Y,ha as q,a7 as ye,i as X,p as xe,gh as be,m as Ce,Q as we}from"./index-Dc18sb8X.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{O as ve}from"./SetUpAccountSection-CdUpAzlt-C1MgYcT-.js";const Pe={containerHeight:new W(656,720)},$e=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: 20px;
@@ -1,4 +1,4 @@
1
- import{u as $e,X as I,M as y,j as t,Y as a,aW as le,bf as Ne,o as s,bK as De,bL as Oe,e as U,a9 as J,bM as we,K as Le,v as be,bN as _e,a5 as Ae,bO as Ve,bP as Me,bQ as We,bR as Be,ao as He,H,bS as Ke,C as $,bT as Ue,bU as je,p as b,l as A,bV as ee,bD as N,a as Ee,F as Fe,bW as Ze,bX as qe,R as Xe,w as D,bY as Qe,s as O,m as te,g as V,bZ as Ye,ah as Se,av as ie,b_ as ke,bd as Ge,b$ as Je}from"./index-DoFw58Mw.js";import{f as ce,b as v,n as i}from"./vendor-CnQcJ2Lu.js";import{A as Ie}from"./Menu-BOh_KLZu-BrkD9kYL.js";import{T as Ce}from"./RoleWithToolTip-DkeT6zjW-DmUDvRC_.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],K=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],et=58;function tt({userNameSticky:e,sortConfig:r,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Xe(d==="off"?S:K));v.useEffect(()=>{const n=[...p];for(const o of n)o.key===r.sortKey?o.sortOrder=r.sortOrder:o.sortOrder="ascending";x(n)},[r.sortKey,r.sortOrder]);const h=(n,o)=>{let u=o;r.sortKey===n&&(u=o==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(ot,{height:et,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(rt,{userNameSticky:!!e&&n.key==="name",sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(at,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(st,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(Qe,{width:12,height:12})})]}),t.jsx(nt,{isVisible:r.sortKey===n.key&&n.key!=="name",children:t.jsx(lt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const it=ce.memo(tt),st=i.div`
1
+ import{u as $e,X as I,M as y,j as t,Y as a,aW as le,bf as Ne,o as s,bK as De,bL as Oe,e as U,a9 as J,bM as we,K as Le,v as be,bN as _e,a5 as Ae,bO as Ve,bP as Me,bQ as We,bR as Be,ao as He,H,bS as Ke,C as $,bT as Ue,bU as je,p as b,l as A,bV as ee,bD as N,a as Ee,F as Fe,bW as Ze,bX as qe,R as Xe,w as D,bY as Qe,s as O,m as te,g as V,bZ as Ye,ah as Se,av as ie,b_ as ke,bd as Ge,b$ as Je}from"./index-Dc18sb8X.js";import{f as ce,b as v,n as i}from"./vendor-CnQcJ2Lu.js";import{A as Ie}from"./Menu-BOh_KLZu-CFhi0SIh.js";import{T as Ce}from"./RoleWithToolTip-DkeT6zjW-DB4n5m2x.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],K=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],et=58;function tt({userNameSticky:e,sortConfig:r,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Xe(d==="off"?S:K));v.useEffect(()=>{const n=[...p];for(const o of n)o.key===r.sortKey?o.sortOrder=r.sortOrder:o.sortOrder="ascending";x(n)},[r.sortKey,r.sortOrder]);const h=(n,o)=>{let u=o;r.sortKey===n&&(u=o==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(ot,{height:et,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(rt,{userNameSticky:!!e&&n.key==="name",sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(at,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(st,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(Qe,{width:12,height:12})})]}),t.jsx(nt,{isVisible:r.sortKey===n.key&&n.key!=="name",children:t.jsx(lt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const it=ce.memo(tt),st=i.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
@@ -1,4 +1,4 @@
1
- import{X as q,H as S,j as i,bt as H,M as Q,Y as U,C as u,a7 as K,o as n,a6 as V,Q as X,h as J,s as Z,p as l,v as _,aq as ee,m as T,g as v,w as ie,ah as te}from"./index-DoFw58Mw.js";import{b as k,n as t}from"./vendor-CnQcJ2Lu.js";import{E as ne}from"./PortfolioDetails-C9a0p99e-d06R_ouh.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-A_YlwvaQ-YLNVEYZe.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=Q.getLocalizedStrings(),a={titleWidth:new u(343,580,726,826),cardBorderRadius:l[2],cardPadding:new u(l[3],l[4]),sliderWidth:new u(143,177),sliderContainerGap:new u(l[5],l[3]),navBarContainerPaddingYaxis:new u(10,l[3]),containerPaddingLeft:new u(l[3],l[6],l[8]),containerPaddingRight:new u(l[3],l[6],l[8]),riskLevelInfoPaddingRight:new u(l[0],l[3])},oe={stepTitle:new X("h6Regular","h5Regular")},Me=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:W,isReadOnly:c,isEditMode:p,isOnSetup:$=!1})=>{const r=q(),[D,M]=k.useState(!1),{fundsData:N,fundAllocationOptions:s,fundAllocationLocalData:d,currentAllocation:w,portfolioAllocationUpdateStatus:F}=W;k.useEffect(()=>{if(p&&w!==null){const o=!S(d.allocation,w);M(o)}},[p,w,d]);const y=o=>{const f=s.find(Y=>Y.optionIndex===o);f&&h(f)},b=()=>{y(s.findIndex(o=>o.riskScore===0||o.riskLevel==="Conservative"))},G=()=>{let o;w!=null&&(o=s.find(f=>S(f.allocation,w))),o!=null?h(o):b()},j=()=>{p&&G(),e()};return i.jsxs(se,{children:[i.jsxs(de,{windowSize:r,children:[i.jsx(ae,{windowSize:r,children:i.jsx(H,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(ce,{"data-testid":U("nav-bar-back-portfolio-allocation"),onClick:j})})}),i.jsxs(pe,{windowSize:r,children:[i.jsxs(xe,{windowSize:r,children:[i.jsx(he,{windowSize:r,children:re(c,$,p)}),!c&&!p&&i.jsx(ue,{children:i.jsxs(me,{children:[i.jsx(ge,{}),i.jsx(we,{})]})})]}),i.jsx(fe,{isReadOnly:c,children:le(c,$,p)}),i.jsx($e,{children:i.jsxs(ye,{windowSize:r,children:[i.jsx(ve,{children:i.jsx(ne,{isInReview:!1,isSetup:!0,fundDetails:N,allocation:d,page:$?"setup portfolio":"edit portfolio"})}),i.jsxs(be,{windowSize:r,children:[i.jsx(je,{children:i.jsx(Se,{onClick:b,isRecommended:c||d.riskScore===0||d.riskLevel==="Conservative",children:x.resetButton})}),r==="small"?i.jsxs(ke,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Re,{children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(ze,{windowSize:r,children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]})]})]})})]})]}),c?null:i.jsx(K,{style:{zIndex:4,paddingTop:n.sp2,paddingBottom:n.sp2},showCancel:!0,cancelBtn:{label:p?m.cancel:m.navBar.back,onClick:j},primaryBtn:{label:p?m.confirm:m.next,onClick:g,isLoading:p&&F.fetchState==="In-Progress",isDisabled:p&&!D}})]})};function re(e,g,h){return e||g&&h?x.title:h?x.editTitle:x.stepTitle}function le(e,g,h){return e||g&&h?x.subtextReadOnly:h?x.subtextEdit:x.subtextSetup}const se=t.div`
1
+ import{X as q,H as S,j as i,bt as H,M as Q,Y as U,C as u,a7 as K,o as n,a6 as V,Q as X,h as J,s as Z,p as l,v as _,aq as ee,m as T,g as v,w as ie,ah as te}from"./index-Dc18sb8X.js";import{b as k,n as t}from"./vendor-CnQcJ2Lu.js";import{E as ne}from"./PortfolioDetails-C9a0p99e-BupBBmbV.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-A_YlwvaQ-CVHETTwa.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=Q.getLocalizedStrings(),a={titleWidth:new u(343,580,726,826),cardBorderRadius:l[2],cardPadding:new u(l[3],l[4]),sliderWidth:new u(143,177),sliderContainerGap:new u(l[5],l[3]),navBarContainerPaddingYaxis:new u(10,l[3]),containerPaddingLeft:new u(l[3],l[6],l[8]),containerPaddingRight:new u(l[3],l[6],l[8]),riskLevelInfoPaddingRight:new u(l[0],l[3])},oe={stepTitle:new X("h6Regular","h5Regular")},Me=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:W,isReadOnly:c,isEditMode:p,isOnSetup:$=!1})=>{const r=q(),[D,M]=k.useState(!1),{fundsData:N,fundAllocationOptions:s,fundAllocationLocalData:d,currentAllocation:w,portfolioAllocationUpdateStatus:F}=W;k.useEffect(()=>{if(p&&w!==null){const o=!S(d.allocation,w);M(o)}},[p,w,d]);const y=o=>{const f=s.find(Y=>Y.optionIndex===o);f&&h(f)},b=()=>{y(s.findIndex(o=>o.riskScore===0||o.riskLevel==="Conservative"))},G=()=>{let o;w!=null&&(o=s.find(f=>S(f.allocation,w))),o!=null?h(o):b()},j=()=>{p&&G(),e()};return i.jsxs(se,{children:[i.jsxs(de,{windowSize:r,children:[i.jsx(ae,{windowSize:r,children:i.jsx(H,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(ce,{"data-testid":U("nav-bar-back-portfolio-allocation"),onClick:j})})}),i.jsxs(pe,{windowSize:r,children:[i.jsxs(xe,{windowSize:r,children:[i.jsx(he,{windowSize:r,children:re(c,$,p)}),!c&&!p&&i.jsx(ue,{children:i.jsxs(me,{children:[i.jsx(ge,{}),i.jsx(we,{})]})})]}),i.jsx(fe,{isReadOnly:c,children:le(c,$,p)}),i.jsx($e,{children:i.jsxs(ye,{windowSize:r,children:[i.jsx(ve,{children:i.jsx(ne,{isInReview:!1,isSetup:!0,fundDetails:N,allocation:d,page:$?"setup portfolio":"edit portfolio"})}),i.jsxs(be,{windowSize:r,children:[i.jsx(je,{children:i.jsx(Se,{onClick:b,isRecommended:c||d.riskScore===0||d.riskLevel==="Conservative",children:x.resetButton})}),r==="small"?i.jsxs(ke,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Re,{children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(ze,{windowSize:r,children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]})]})]})})]})]}),c?null:i.jsx(K,{style:{zIndex:4,paddingTop:n.sp2,paddingBottom:n.sp2},showCancel:!0,cancelBtn:{label:p?m.cancel:m.navBar.back,onClick:j},primaryBtn:{label:p?m.confirm:m.next,onClick:g,isLoading:p&&F.fetchState==="In-Progress",isDisabled:p&&!D}})]})};function re(e,g,h){return e||g&&h?x.title:h?x.editTitle:x.stepTitle}function le(e,g,h){return e||g&&h?x.subtextReadOnly:h?x.subtextEdit:x.subtextSetup}const se=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  height: 100%;