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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/dist/assets/{ACHDetailsPage-Dht0mfFW-Dn9VZjx5.js → ACHDetailsPage-ppaaVv4t-BnOUfoFz.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-D8LI2uJ_-CFMKtsQV.js → AIPerformancePage-brocrTLA-C9EDr2D4.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Cw_Mdy7Z-CgHNbOHf.js → AccountInfoPage-BkqXbGUJ-DXuI8tNZ.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DadwVfBB-CcKZ7ci4.js → AccountInfoPageContent-DOrQxiUF-2yx_ZhMt.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-mQx5-mCY-CXTHdi5q.js → AccountReconDetailsDrawerPage-i6rVi1gY-DVchfPsP.js} +1 -1
  6. package/dist/assets/{AccountRow-B4i2KTVu-DZIGknQG.js → AccountRow-D9vDRsjv-uSOuzaD9.js} +1 -1
  7. package/dist/assets/{AccountsPromoCardStack-B2NngRd9-cDiIvZy1.js → AccountsPromoCardStack-BvFE5A3N-C__nnIqn.js} +1 -1
  8. package/dist/assets/{AddAddressForCardDrawer-D-IznBH5-BJus8-sl.js → AddAddressForCardDrawer-BV2BSzaD-CBI5bfsC.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-DflLtoqk-C5v1fW7G.js → AddToWalletPage-DTEIuDRq-CzKzLxkn.js} +1 -1
  10. package/dist/assets/{AgingReportsPage-z5SauZFW-CWSELr2T.js → AgingReportsPage-B8iVxaQX-z0eVPQ8X.js} +1 -1
  11. package/dist/assets/{AllUserItems-Cs-QjNZz-DLp9A32f.js → AllUserItems-BepRyHp7-6smxMTUs.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-lLcH4EB_-rlPPDzk2.js → ApAgingDetailPage-DOObMUqB-DRL-pTDS.js} +1 -1
  13. package/dist/assets/{AppBasePage-jmR82AtE-DayOXpZP.js → AppBasePage-Ob8EkU54-B4IzJNVZ.js} +1 -1
  14. package/dist/assets/AppDrawerContent-CNsKktFP-oEQQGdma.js +142 -0
  15. package/dist/assets/{ApprovalRulesSettingsPage-zl3t7M0D-Cdqy44le.js → ApprovalRulesSettingsPage-Bn7LOelK-C_JBTy7y.js} +1 -1
  16. package/dist/assets/{ArAgingChart-B7_os9Eg-CgtB3vV8.js → ArAgingChart-C0hTtEmV-Cp3DCSeq.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-DPGrFIuw-DbqMnESI.js → ArAgingDetailPage-C_E_xPwf-CoqFi7sc.js} +1 -1
  18. package/dist/assets/{AttachmentView-B0X31J2n-CsjUR1d_.js → AttachmentView-CATl3tNf-DCa2zXLn.js} +1 -1
  19. package/dist/assets/{BankAccountSection-BGfiGdYG-BvbymoQK.js → BankAccountSection-VSbZyxoY-BkprL32R.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js → BankAccountWarningSection-a39s142r-4WcZfRoK.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-DHJqJw74-BePSQANr.js → BankConnectionsSettingsPage-CBavGNdc-DWKqHO49.js} +1 -1
  22. package/dist/assets/{BillDetailPage-CVPyGkX2-BrTeB9W1.js → BillDetailPage-uMG3JJPb-ClGgqpml.js} +1 -1
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-CPvu5b92-Ms299zWc.js → BillPayApprovalRuleDetailPage-Bmrg1Wxh-CFroqaxM.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-04rw5oF_-ByiJUcvs.js → BillPayApprovalRulesPage-BN21qPTb-BwOgIMfY.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-xnBNKyGo-Qs57CtUW.js → BillPayPromoPage-DoP2oC8W-D-cHzeZ4.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-2FceZZW4-B3NVG0AT.js → BillPaySetUpPage-o-V-9aI5-DuW6yWFa.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-D2iVTCtE-DzLgV1gZ.js → BillingSettingsPage-CX-rbxzB-D5hgrymw.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-sdzCq1Cx-CMrpjPLV.js → BillsBulkReviewDrawerPage-_qgURJjv-CemkDBxg.js} +1 -1
  29. package/dist/assets/{BoxItem-dOIVDQzt-BM2Or2XI.js → BoxItem-CHPfWPEF-lXs1y6iB.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-DaVB5XYz-abkyr0KT.js → BusinessVerificationPage-YKJ-CZfb-BgJNO5ZA.js} +1 -1
  31. package/dist/assets/{CardNumberSubText-CX7raaMz-YubYXrEf.js → CardNumberSubText-dxYfM6ph-B1OZ5t3N.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-xKd1BcXA-BnqvBKy2.js → CashbackDetailPage-BfTC3IBm-BcRVF9pL.js} +1 -1
  33. package/dist/assets/{ChargeCardDetailPage-D-htyuB--DNk7-kF0.js → ChargeCardDetailPage-npqfreRG-D_PNn6ZE.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-BFEDq_hH-CIWVY9p8.js → ChargeCardListPage-Dbx1ymB9-DiXO1BWI.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-D0rr5rCb-ubys_P-K.js → ChargeCardListTable-qk9tQ6Kb-DR0FaH4k.js} +1 -1
  36. package/dist/assets/{ChargeCardPromoPage-C4RyYN8x-DrItIyBg.js → ChargeCardPromoPage-CsItH2IC-BEXKS9-8.js} +1 -1
  37. package/dist/assets/{ChargeCardSetupPage-DdabiH79-BJYnLJP3.js → ChargeCardSetupPage-D5LWY3-P-BB2kARlQ.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-fcVVhHeN-3BJYN5k8.js → ChargeCardStatementsPage-vYbnt2WJ-CDBr97Hk.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-CHUMBmgR-CJymagC4.js → ChargeCardUtils-k5Cmi_bM-xJoIL5jf.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-kXvIXrLn-BoWFlEip.js → ChaseOverlay-DQz9r9Pp-Bwx2nGMD.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DzZGbAGe-CUI6hMoI.js → CheckDepositDrawerPage-B1Qp-xbY-f-dhYQ0q.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-B7JqlhCA-D-71vAGn.js → CollapsableReportTable-Dp1985is-CgJ_JGJs.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-Cd0QdDAc-CRTLz9vU.js → CompanyOfficerDetailsSection-CGewbsKm-DBM7Hns2.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-Bhm76W7a-DhQY8aBm.js → CompanyPassportCard-Dp3a8GH8-qRGWLoZI.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-B6Urivf7-Cf5kWZCy.js → CompanyPassportPage-CS1LPj5f-CxHtTINk.js} +1 -1
  46. package/dist/assets/{CompleteProfile-Ch4TNwnb-BDWK7-aS.js → CompleteProfile-CJOsHnBa-DdCWBRuB.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-DxWLsUlB-rN2UgITP.js → ConfettiBurst-DX1P5VT_-C7tIIZfu.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-MjFD4wWW-Duct_eTQ.js → CreateOrEditVendorPage-BL1BXGvy-Vx1XM-1z.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-CcZnGiIZ-Ci6NOj44.js → CreditCardPaymentDrawerPage-D6-R3DiA-ByQ_c4QS.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-DEV6AUvV-Dv95csrn.js → CreditCardPaymentPlgSection-YcsIIUkG-C-zCY8ZF.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-iFR770y_-C1fOBvED.js → CurrencySelectField-CH65s5Fc-DGotu77i.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-O_lVI1Iw-CSIlT4cV.js → CustomerOnboardingActivationPage-DCHbvIb1-4vnrfrOn.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-X6X9Yc-9-D6pVLXm5.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-WBhn2MmI-IC_mQp6e.js → CustomerOnboardingDetailPageSkeleton-Cz40bZgg-6UjJ2BJ9.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CmnwYeBe-VDPM90YE.js → CustomerOnboardingNoStepsPage-DrbkKOBx-C5bbYFj1.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-DUMb3HBt-C_i7oxut.js → CustomerOnboardingPage-CIbBaMcO-Dqym0Rf2.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DZ8c60qu-Ca-OS69A.js → CustomerOnboardingProductSuitePage-DyGs61vw-DLcQ1dQj.js} +1 -1
  58. package/dist/assets/{Dashboard-BqpjCXF4-2DYnY2Iv.js → Dashboard-beLswUHx-XoTiAJKU.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-pKEtfyyz-CVEg_i3S.js → DashboardReportPage-BM6TqjrJ-DQu7SOT2.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-CzhTsz8T-D_UbOtXk.js → DepositAccTransactionItem-CfAjG3HH-COwwc_MG.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-BdBZvUQu-BB7xhCYl.js → DepositAccTransactionListPage-Cj1smNoP-CkdRHZge.js} +1 -1
  62. package/dist/assets/{DocumentSecurityBanner-CjDxLXR5-BndWfQhM.js → DocumentSecurityBanner-BRFFDueV-stK3q2uU.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-Ckv29rd5-DrJPPbKc.js → DomesticWireDetailsPage-BZ8jSo8r-Dcvy9KUR.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-9HCQzpew-CsaBVCuK.js → DownloadOverlay-Ly2ZesqA-D_S8bx9G.js} +1 -1
  65. package/dist/assets/{DrawerPage-BxA7btCQ-vpjTPccl.js → DrawerPage-BFIdjtOJ-BFnTHlQb.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-B9oW6E0C-C3pRQE6D.js → EditPeoplePage-BPHt33f5-DjZUh9aC.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-2_Ugsfav-CInqqrZe.js → EditReimbursementDetailPage-DJ_qNQbh-D_aBh5FK.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-Dv97bCUN-BCQJ8lei.js → EntityDetailPage-DZ9vXZci-DUGgDVnf.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-CAz28n_B-DA_p__eJ.js → EntitySummarySection-kCA6OJs0-CuvI5nJX.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CpVokJPL-BSrPWwJ8.js → ExpenseAutomationOverviewPage-B9K2qPQi-BcMuOXVi.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-CFRiNGRE-CFvonBSo.js → ExpenseAutomationPage-LoGHiJzr-BnTXz0Ci.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-BsCQmXdG-CzkMNsZH.js → ExpressPayPage-B12NaLXN-CGW5-zDn.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-CnYlH8Tm-cl_d37Wd.js → FeaturePreviewPage-D9_aRmPj-CvnK2Uy2.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-CvsH5sJq-DWW0wJJE.js → FollowStepsSection-BL8sM4vS-D6HNdi5Y.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-CKbg3WRJ-BhA6WSL7.js → GlobalReviewListPage-DONc_BXP-jngzyZ2P.js} +1 -1
  76. package/dist/assets/{HelpButton-DmSTrp5G-BZ5gO3eI.js → HelpButton-khTPylkl-CEL7Boo7.js} +1 -1
  77. package/dist/assets/{InformationCardStack-X52PXCzi-BTPqjoZv.js → InformationCardStack-BtIMGsaQ-BRj2ZNHm.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-CXxA6hpf-BZ7-Ipfo.js → InsightsCardStack-lzduh7aO-Crnd4D-1.js} +1 -1
  79. package/dist/assets/{InsightsSection-obWu95-o-miX-wlBZ.js → InsightsSection-q1QuO6Z4-1k_aUqAr.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-BFZjrnDu-BWjoBVhl.js → IntegrationsSettingsPage-CpnXcxlz-ANVTxCp5.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-CywJ88_i-BroHKack.js → InternationalWireSwiftDetailsPage-BXBsK560-i2JR8sEk.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-CjunyEiQ-CkCrwyQO.js → InternationalWireVerificationPage-BrnMNFx7-CivrskR8.js} +1 -1
  83. package/dist/assets/{InviteFormPage-BaaFGzDE-BIlf9-kB.js → InviteFormPage-DQTEQazA-CYIvBKP9.js} +1 -1
  84. package/dist/assets/{InvitePageListView-BJJQpITw-CDEymEsw.js → InvitePageListView-C7CaDCYN-kxX6EM5-.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-7yKV1JuU-BmXtVrGW.js → InvitePeoplePage-Ca0ZnNhV-4UVRRlzN.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-CjV8q6sM-BkASWvfN.js → InvoiceUploadSection-Cm7WlMIS-Ds7UwHT_.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-BTloC5fY-_HD69MiA.js → IssueChargeCardPage-B7w3Xky1-CF1rLLIM.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-C8xq-j7G-D16vnyhu.js → LabeledAddressValue-B5Yv4nig-BmG4gsPH.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.js → LabeledAddressValueField-BODlYe8J-C_77UpWi.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-D5A-8bnH-DqiGgCzm.js → LabeledControlledCheckBoxField-BBrHodlx-ajZwZw2T.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CB34OT80-C0m35imT.js → LabeledCreatableSingleSelectField-DBovHkMc-D9D-7hZt.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-MyG-6WMu-Cbf-CDaI.js → LabeledDocumentField-CIlbLPtO-DSLjsPoT.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-DyvjlBIK-CeaVwHLj.js → LabeledDropDownFormattedTextField-Dpt7UG-o-BPi_XfUF.js} +1 -1
  94. package/dist/assets/{LabeledText-CEbLfx4b-BTTGqwXz.js → LabeledText-D0aPaE6r-DJ33Sqqy.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CDXChSPU-Dz8I-s1u.js → LabeledUserSingleSelectWithSubtitlesField-CO-Owx5--C5GcoA_6.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CpZOSybd-7yPpOapA.js → LabeledZeniRolesDropDownField-CcfvYWTB-FOsQ-M0q.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-CF2S7mlj-BoLj0J2f.js → LinkJETransactionPage-w2poqqTD-CRc8L88u.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-CI3FeJJc-CdKJER0J.js → LowBalancePopup-BpFvPcb8-CmbXf1Gb.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-Hs-8X1gB-CIg2sh6N.js → MagicLinkACHDetailsPage-DUyr5VX8-FvxaU41w.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-JY153fBS-Cm2_mDog.js → MagicLinkDomesticWireDetailsPage-CTA58UoF-CRGjJqP9.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C7H0tqh2-n8HQkRdB.js → MagicLinkInternationalWireDetailsPage-DDQqyw69-MTxSeQ4l.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-DrfXx_R1-BNU78zpj.js → MagicLinkSuccessPage-CKKAWryZ-Cm8AQCr_.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-GAlgtNgO-BKAs3T24.js → MagicLinkTitleSection-CvW_f4xF-BDkWHabu.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-DwEajxFH-BrjelhuF.js → MailingDetailsSection-Di5KwEqu-Di8UL6YK.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-CF-RTU9K-BubT6ngE.js → MeetingCalenderPopup-6yyRBLYC-DflGa-2l.js} +1 -1
  106. package/dist/assets/{Menu-DgxJQlbW-DIVRGIXR.js → Menu-BOh_KLZu-BrkD9kYL.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-Bkn9hqAF-DqE41rF5.js → MyBankConnectionsSettingsPage-BBQ0YN9M-BBihRuQw.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-Bg1r7PJb-DnJ-MJDd.js → MyPendingActivationChargeCardListPage-DcXCxGj2-BY3uKh9u.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-DFqIWGcr-jQcxs-Wf.js → MyProfileSettingsPage-D-lTTFuP-D9kDcE-6.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-BJyEgvZP-C-f0-1c6.js → NavBarWithPicker-CNBOk06R-D8yiRwFQ.js} +1 -1
  111. package/dist/assets/{NavigationArrow-CUVFG2Pf-P3tdOWHt.js → NavigationArrow-B15b66TT-B9hYIhnI.js} +1 -1
  112. package/dist/assets/{NavigationDots-BDLMSply-CVhKiAdV.js → NavigationDots-5fxvl-4e-BzJdpllk.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-Ck7DGlQi-CVmDfXRL.js → NewGlobalMerchantPage-BeP4W8rj-Dwyu3Pw7.js} +1 -1
  114. package/dist/assets/{NoDataChart-DMqFH96W--xyVCmNv.js → NoDataChart-edFKx0zh-DIp9-BoP.js} +1 -1
  115. package/dist/assets/{NoDataTable-B8PHBrBF-BIIbtUFT.js → NoDataTable-41nH5trW-Brapb7lv.js} +1 -1
  116. package/dist/assets/{NotFoundPage-4JmEE0vS-BkO12wXJ.js → NotFoundPage-CRVGi6Xn-BHvH8jL8.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-D6YQunRL-Dh3lfacW.js → NotificationSettingsPage-CiVAtoGY-B9kZWOsO.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-DZBF9h2L-DipP-kuo.js → NotificationsListConfig-BjItJJe9-l0BCgaPP.js} +1 -1
  119. package/dist/assets/{NotificationsPage-PjOFwF6H-CB9uEJYk.js → NotificationsPage-DuHUL5V8-CgYzIXTj.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-BNNQdeqy-v4NH_AXr.js → OpExByVendorPage-D611nXIC-CqyYyP4C.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-Dg1IHqst.js → OverlayContainerPage-C0rUb6-5-DPaQcYgi.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-Cg3I1JPR-BHcMSGKl.js → PandLWithForecastPage-Cqab0euB-dzseIlDa.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BaNMRbqw-CIIlY3kM.js → PaymentAccountSetupBillingAddressSection-Cvn1adQb-kbzfxjFm.js} +1 -1
  124. package/dist/assets/{PeoplePage-BRnDI6mc-CLBN4-_q.js → PeoplePage-MCCZAx4z-BnV0pX_P.js} +1 -1
  125. package/dist/assets/{PortfolioAllocationFormPage-BG5sY-R6-BBFBmc8X.js → PortfolioAllocationFormPage-Coa0Y4wN-CVL7-3BP.js} +1 -1
  126. package/dist/assets/{PortfolioDetails-g9uKkfc0-2ntvLazE.js → PortfolioDetails-C9a0p99e-d06R_ouh.js} +1 -1
  127. package/dist/assets/{ProductsCarousel-DZmAO-Ad-BvStEG-O.js → ProductsCarousel-B0fHKTa_-Bne7N-_V.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-B9AnaalQ-hSs7-TQL.js → PromoBaseCards-BuCQJuXH-BcjVOmSJ.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-Bnhkqpjg-DkGgqNtn.js → QBOConnectionDialog-D-vB9dbo--0kkpUah.js} +1 -1
  130. package/dist/assets/{QBOSetupSection-CHXmbhAv-C0u3acrS.js → QBOSetupSection-CfficE5p-nLwRVoqN.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-B2zXkJz--CABHH5fp.js → ReimbursementApprovalRuleDetailPage-Cg_pVsAh-Baq7EYkc.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-HuTMMWVv-E3dBhOaI.js → ReimbursementApprovalRulesPage-Dg1b0lJP-YhAdGh62.js} +1 -1
  133. package/dist/assets/{ReimbursementDetailPage-BLvwZrVh-DyidHFPC.js → ReimbursementDetailPage-CE_jx7cM-DEw3OdDA.js} +1 -1
  134. package/dist/assets/{ReimbursementPromoPage-D_mQJpBI-Dp4ArZsT.js → ReimbursementPromoPage-MQpz5nNE-CLg8Hqif.js} +1 -1
  135. package/dist/assets/{ReimbursementSetUpPage-FkxlkcbN-DldfTkkM.js → ReimbursementSetUpPage-BRjWHns_-BSdXzytm.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Oqy1_VEa-BpS2SfWm.js → ReimbursementsBulkReviewDrawerPage-wPNRkXt8-DoNrAJRB.js} +1 -1
  137. package/dist/assets/{ReloadCard-DXOUba_M-CHzipN0D.js → ReloadCard-D5woGDxx-DS9HJ3wy.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-CHN0DsMB-DHP2dHrr.js → ReportTableViewSelector-Bc5xUtnG-pW3txVQ2.js} +1 -1
  139. package/dist/assets/{ReportsPage-FPxKx4-a-CZcO3AqP.js → ReportsPage-J8DrZz78-Bf6sj4--.js} +1 -1
  140. package/dist/assets/{RevenueChart-L0b_usU7-Cf8KBYNj.js → RevenueChart-CS0JmijO-BqFQGtoh.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-BNpQBWoS-DCIttZXD.js → ReviewDetailsPage-C7RbpKwU-C9iDaLL8.js} +1 -1
  142. package/dist/assets/{ReviewOverlay-DDNAl3b3-DNGVMro9.js → ReviewOverlay-BwgzcM9d-CSY6hmMy.js} +1 -1
  143. package/dist/assets/{RoleWithToolTip-B-ODIDAN-8uYeRtpZ.js → RoleWithToolTip-DkeT6zjW-DmUDvRC_.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DqZ58bn4-KjYX5XLP.js → ScheduleDetailsFixedAssetsPage-BzZkVg7T-c2tjnpKQ.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsPage-BASxSK8V-BPASbuj9.js → ScheduleDetailsPage-DiXwmlk8-t0I7MASB.js} +1 -1
  146. package/dist/assets/{ScheduleSequenceTable-6xfi8GG9-DmNanpes.js → ScheduleSequenceTable-CSxFNhoR-D9UFT3Zm.js} +1 -1
  147. package/dist/assets/{ScreenRoutes-BiNVsQKa.js → ScreenRoutes-xLzXCTox.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-pi1sH7b5-Cq5TVamg.js → SetUpAccountSection-CdUpAzlt-4B1rLcGQ.js} +1 -1
  149. package/dist/assets/{SetUpDefaultSection-BpL2WnED-COlpwQhL.js → SetUpDefaultSection-D4FafmO5-CcuY4gpp.js} +1 -1
  150. package/dist/assets/{SignIn-Bijj9JoA-Cew9W98o.js → SignIn-CAmRcuqx-CXf8JU8h.js} +1 -1
  151. package/dist/assets/{SignInScreen-BJO_D-wG.js → SignInScreen-CEfXit7t.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-D5QPI34r-C-QrSt_z.js → SpendManagementListViewPage-DdpJprAd-BHEK7wRP.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-BtYyuusT-Do7z39Lr.js → SpendManagementPerTabPage-D2Ri2q6S-BZOgnmqs.js} +1 -1
  154. package/dist/assets/{SpendManagementSection-D_HyfwAe-SNH64OwE.js → SpendManagementSection-CisJALAC-zKC9aL_a.js} +1 -1
  155. package/dist/assets/{SpendMgmtSetupAccountSection-B4wik5Ee-Dl8PxI-i.js → SpendMgmtSetupAccountSection-DcJhhfdt-CSj4RU9Q.js} +1 -1
  156. package/dist/assets/{StatementItem-BNQblVLa-DfVA7ygW.js → StatementItem-BOq_DDMZ-VgE7gIr3.js} +1 -1
  157. package/dist/assets/{StatementsPage-_-cg9582-BHbhelbD.js → StatementsPage-C9WOCLSj-lgfYmMKh.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-D-0rNVEI-0aefdUDA.js → StatusSwitcher-CofdCR_K-DYsfjilX.js} +1 -1
  159. package/dist/assets/{SubTabSwitcher-D_djwADF-D-PRIZuk.js → SubTabSwitcher-BPVG5BHS-C6Ng45Yx.js} +1 -1
  160. package/dist/assets/{SummaryCard-0WkhoBZC-D0OeJhk2.js → SummaryCard-D-me4TrL-C69v2luu.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-Dwna66e0-B61LD4aR.js → TaskManagementPage-BSmG6YR2-BRBZRYl9.js} +1 -1
  162. package/dist/assets/{TimeRangeSwitcher-C_XduWs4-CbvmuLlw.js → TimeRangeSwitcher-BK7gGqaa-li6QV9p5.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcher-rcx5z-sh-BEuYgoAf.js → TimeframeSwitcher-SD5_8TCp-DcEUsFuS.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-Bvkq6Qa--BjOAxPwu.js → TimeframeSwitcherWithToggle-BwvVsB_p-CoKIqOrx.js} +1 -1
  165. package/dist/assets/{TopExCard-J5ItU1Wy-Cu15poFM.js → TopExCard-CDgcQKGp-G2-ryp7z.js} +1 -1
  166. package/dist/assets/{TopExDetailPage-Lqg8jkw2-DtS18JXg.js → TopExDetailPage-CXiEe14r-DrI7SLfC.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-jXKnnUTd-B5jk24Y7.js → TransactionDetailPage-IJyZF-Z_-ssTdABCq.js} +1 -1
  168. package/dist/assets/{TransactionList-BVJHbP4d-Ch-jGNeO.js → TransactionList-C34ivmk5-BL7wpE6F.js} +1 -1
  169. package/dist/assets/{TransactionListBig-CUi7KfHo-C4bVkVsF.js → TransactionListBig-qruiU0xy-4hBLzp6P.js} +1 -1
  170. package/dist/assets/{TransactionListPage-BFYQMXP7-C0S4ibvh.js → TransactionListPage-C31U97xd-B7MDVBJ8.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-Cc45iBaC-CYlKau2p.js → TransactionVendorDetailPage-DZsvH-GM-CHoVBuA8.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-D0eKdLeA-iajVz-hc.js → TransferDrawerPage-DC5q2Zpv-Bbx0ZiKK.js} +1 -1
  173. package/dist/assets/{TreasuryOverviewPage-C-tdus29-TA5FDvFH.js → TreasuryOverviewPage-DSBqawrH--EJITXP0.js} +1 -1
  174. package/dist/assets/{TreasuryPromoPage-Cohb5lP7-CR5t6hp9.js → TreasuryPromoPage-D6WSBxgD-BYq_YoGm.js} +1 -1
  175. package/dist/assets/{TreasurySetupPage-DS2_m-SO-C9dOpRDI.js → TreasurySetupPage-BgSq4D0a-BeLJ_DJT.js} +1 -1
  176. package/dist/assets/{TreasuryStatementsPage-DooqXGAQ-Nys4g6CT.js → TreasuryStatementsPage-Dj9RAujO-BX1C5lYD.js} +1 -1
  177. package/dist/assets/{TreasuryTaxLetterPage-hpQxSwqV-C6md3T0o.js → TreasuryTaxLetterPage-Dw6tL_j9-BVOoGBCD.js} +1 -1
  178. package/dist/assets/{TreasuryTransferOrReviewPage-LCmwI3GX-DIM186Ba.js → TreasuryTransferOrReviewPage-cBHznYnK-1UcbcZaf.js} +1 -1
  179. package/dist/assets/{TrendChart-N85Ktah2-DbfJUW0C.js → TrendChart-dARoUu-T-CjrTnbAe.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-Cm8gWBLF-D6KvkDCe.js → TrendWithTransactions-BOGQK2Zt-itTZBsuV.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-DF2hKM1m-81hpHrc8.js → UncategorizedAccountsMappingPage-Ci4VHOLB-CZTpXCGM.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage-DXYXOU32-D4QmLDZr.js → UnitIntegrationPage-DSMTzyKA-DnkdzVNG.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-ed-RjMyM-CfzPGhhV.js → UploadAdditionalDocumentOverlay-CBpLz-gk-DUe20w1p.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-CNiCYT5L-CWO_4B0w.js → Vendor2FAPopup-Be7OBE4e-Cos9XGLx.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-DfERI3o4-BsWmPjPQ.js → VendorACHDetailsPage-LvWgxsF7-BpMJ6WbJ.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-BYEJTlBT-F41D5bVR.js → VendorDetailPage-C-qpa1GC-C0r4HDge.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-Cvje85xW-CoKfiQe4.js → VendorDomesticWireDetailsPage-Ckoq2I8V-BwkAhyAi.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-Brjs_rAW-xrscdaKd.js → VendorFiling1099EditablePage-WZMwLILQ-BqoTTIiC.js} +1 -1
  189. package/dist/assets/{VendorFirstReviewPage-CjmWNXBj-gmr0s-A9.js → VendorFirstReviewPage-DNhp59d9-D_f9l4B9.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireDetailsPage-CRPZSizn-Cs0CkU1Q.js → VendorInternationalWireDetailsPage-DuP916gU-COYahX1d.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DgOKhTmI-CrPwfH_9.js → VendorInternationalWireSwiftDetailsPage-BCIC6mrJ-BI-zVOHZ.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CdrVkoqQ-DQSVBIpk.js → VendorsAccountsSection-C4q6FPlB-C6cNo2_u.js} +1 -1
  193. package/dist/assets/{WarningsDrawerPage-vVdVeMGb-CxkitKe7.js → WarningsDrawerPage-C162biV8-pPVOEtpH.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-DzA2-ZfY-wtm1nTKn.js → ZeniAccountDetailPage-C3NnXuFp-CXwXsDQ1.js} +1 -1
  195. package/dist/assets/{ZeniAccountListViewPage-BjOzn-pL-6JPmGfI4.js → ZeniAccountListViewPage-Cn7rYnlu-DTOPnL32.js} +1 -1
  196. package/dist/assets/{ZeniAccountNavBarPieces-C4QCZKVg-D6pvbVi1.js → ZeniAccountNavBarPieces-DHYLxQKr-DoTCX7_F.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-CojH6h6Y-CD2AJLZX.js → ZeniAccountPromoPage-BGyyQP4l-B98KmCaD.js} +1 -1
  198. package/dist/assets/{ZeniAccountSetupPage-BQ4BSW6F-BBPr3Uxy.js → ZeniAccountSetupPage-CIh0isMw-lFqJMWg0.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-DZ-h_Rou-a8ozaQ8I.js → ZeniCopyright-B83zWEf0-19q3_mPy.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-CDH-_8b0-DSbwC4eG.js → ZeniTransferAmountSlider-CPg3o4xG-BlMvJPot.js} +1 -1
  201. package/dist/assets/{analyticsHelper-Bfbjyikr.js → analyticsHelper-CD5PHV67.js} +1 -1
  202. package/dist/assets/{analyticsHelper-DqZXz5oK-BxmRVxaA.js → analyticsHelper-DlYWxxhD-DdeYfQh2.js} +1 -1
  203. package/dist/assets/{chartTypes-BrP58mNO-B-70_tkk.js → chartTypes-DueLK3Wl-B3lGAHMU.js} +1 -1
  204. package/dist/assets/{commonDimensions-C9IpJAVN-CUmNJDhl.js → commonDimensions-D4uH020E-szItJUN9.js} +1 -1
  205. package/dist/assets/{detailCommon-nFSW0gvc-DlaVwlOn.js → detailCommon-D5qKBZdS-CPasfcVD.js} +1 -1
  206. package/dist/assets/{downloadPdf-CYD5QftD-D8rZSmdk.js → downloadPdf-s4pLtuS_-CF3EQD3j.js} +1 -1
  207. package/dist/assets/{index-CvH632ro.js → index-DoFw58Mw.js} +106 -106
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-Dj9DvcOS-DbJ7Bl88.js → mapLoadingInProgressToTreeNode-M0QN8LkC-3yQrrz5g.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Bw9kw0FP-Cp0PGUTm.js → mapSectionWithAcOnlyToTreeNode-CrtVdHui-CnnfThO_.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-CJfnsOmt-Cn-_J65X.js → mapSpacerToTreeNode-yPPIJHBw-D3Gjllyb.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-BJdFcHRm-B1px_eKw.js → mapTimeframeBalancesToTreeNode-px916zpo-rIOc1Hnu.js} +1 -1
  212. package/dist/assets/{play-icon-C1_v_oqQ-CDjV5GaD.js → play-icon-Bih37F_s-C73Mu05H.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-CYXJAMXX-B3cjnX0k.js → toCOABalancesWithID-CAhfOfUa-CUvT0aen.js} +1 -1
  214. package/dist/assets/{toChartData-oAAd1YDY-DlgK3yY0.js → toChartData-BicnbT0F-BAKhPkjP.js} +1 -1
  215. package/dist/assets/{treasuryColorHelper-BClHzQle-D6h04w-g.js → treasuryColorHelper-A_YlwvaQ-YLNVEYZe.js} +1 -1
  216. package/dist/assets/{uploadAttachment-Bi2HYlA8-BLU3BxOX.js → uploadAttachment-DVoWdoWD-RtUqrYnb.js} +1 -1
  217. package/dist/assets/{uploadReceipts-Buvz7DfG-CBvWSxWy.js → uploadReceipts-Buvz7DfG-XWftDYl6.js} +1 -1
  218. package/dist/index.html +1 -1
  219. package/package.json +4 -4
  220. package/dist/assets/AppDrawerContent-BjVgRQD8-BmKoXH6f.js +0 -116
  221. package/dist/assets/CustomerOnboardingContainerPage-DY7-75zX-BNg2Axnl.js +0 -1
@@ -1,4 +1,4 @@
1
- import{y as ht,u as qe,j as t,M as oe,iI as Y,aW as mt,T as V,bO as gt,s as K,Z as kt,l as Q,o as s,eJ as Ze,ah as Ie,bL as xt,fA as wt,as as ft,bf as Je,a9 as Ct,X as le,a as Tt,C as Xe,c3 as $t,F as yt,ao as bt,bT as vt,ic as jt,id as St,iJ as ze,a7 as Gt,K as De,bt as Ee,eF as Qe,iK as Lt,cq as et,iL as pe,iM as xe,iN as Nt,iO as we,iP as tt,iQ as st,iR as ot,iS as nt,iT as at,iU as rt,iV as _,p as ke,iW as re,w as ie,iX as It,iY as Et,a6 as Mt,r as Dt,iZ as zt,d7 as Bt,i_ as Wt,cg as it,cA as At,v as Rt,i$ as Ot,j0 as Ft,fB as Pt,eI as Ht,j1 as Vt,j2 as J,j3 as Be,bV as Ut,j4 as _t,j5 as Kt,j6 as We,j7 as Yt,g as Ae,fY as qt,m as Zt}from"./index-CvH632ro.js";import{b as n,n as o,j as fe}from"./vendor-CnQcJ2Lu.js";import{J as Jt,Y as Xt}from"./SpendManagementSection-D_HyfwAe-SNH64OwE.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-DZBF9h2L-DipP-kuo.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-D5QPI34r-C-QrSt_z.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"./StatusSwitcher-D-0rNVEI-0aefdUDA.js";const ns=100,as=100,rs=3,is=.7,ls=({scrollContainerRef:e,isEnabled:u=!0,edgeThreshold:r=ns,scrollSpeed:h=as,minScrollAmount:m=rs,scrollCurveExponent:p=is})=>{n.useEffect(()=>{if(!u||typeof window>"u"||typeof document>"u")return;let a=!1,c=0,i=null;const d=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},j=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>j(x),M=x=>{const S=Math.max(x,0)/d,y=Math.pow(S,p)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=c;if(y<d&&y>0){const L=d-y,g=M(L);k(x,g,"up")}else if(y>S-d){const L=y-(S-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{E(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(c=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,u,m,e,p,h])},Se=oe.getLocalizedStrings(),lt=({count:e})=>t.jsx(ds,{isCircular:e<10,children:t.jsx(cs,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),ds=o.div`
1
+ import{y as ht,u as qe,j as t,M as oe,iI as Y,aW as mt,T as V,bO as gt,s as K,Z as kt,l as Q,o as s,eJ as Ze,ah as Ie,bL as xt,fA as wt,as as ft,bf as Je,a9 as Ct,X as le,a as Tt,C as Xe,c3 as $t,F as yt,ao as bt,bT as vt,ic as jt,id as St,iJ as ze,a7 as Gt,K as De,bt as Ee,eF as Qe,iK as Lt,cq as et,iL as pe,iM as xe,iN as Nt,iO as we,iP as tt,iQ as st,iR as ot,iS as nt,iT as at,iU as rt,iV as _,p as ke,iW as re,w as ie,iX as It,iY as Et,a6 as Mt,r as Dt,iZ as zt,d7 as Bt,i_ as Wt,cg as it,cA as At,v as Rt,i$ as Ot,j0 as Ft,fB as Pt,eI as Ht,j1 as Vt,j2 as J,j3 as Be,bV as Ut,j4 as _t,j5 as Kt,j6 as We,j7 as Yt,g as Ae,fY as qt,m as Zt}from"./index-DoFw58Mw.js";import{b as n,n as o,j as fe}from"./vendor-CnQcJ2Lu.js";import{J as Jt,Y as Xt}from"./SpendManagementSection-CisJALAC-zKC9aL_a.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-BjItJJe9-l0BCgaPP.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-DdpJprAd-BHEK7wRP.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"./StatusSwitcher-CofdCR_K-DYsfjilX.js";const ns=100,as=100,rs=3,is=.7,ls=({scrollContainerRef:e,isEnabled:u=!0,edgeThreshold:r=ns,scrollSpeed:h=as,minScrollAmount:m=rs,scrollCurveExponent:p=is})=>{n.useEffect(()=>{if(!u||typeof window>"u"||typeof document>"u")return;let a=!1,c=0,i=null;const d=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},j=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>j(x),M=x=>{const S=Math.max(x,0)/d,y=Math.pow(S,p)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=c;if(y<d&&y>0){const L=d-y,g=M(L);k(x,g,"up")}else if(y>S-d){const L=y-(S-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{E(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(c=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,u,m,e,p,h])},Se=oe.getLocalizedStrings(),lt=({count:e})=>t.jsx(ds,{isCircular:e<10,children:t.jsx(cs,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),ds=o.div`
2
2
  ${e=>e.isCircular?fe`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -1,4 +1,4 @@
1
- import{j as t,ao as Y,H as k,dg as D,aL as V,o as a,w as q}from"./index-CvH632ro.js";import{n as g,b as n}from"./vendor-CnQcJ2Lu.js";import{R as A}from"./mui-C5LQ0bMa.js";import{L as U}from"./CollapsableReportTable-B7JqlhCA-D-71vAGn.js";const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
1
+ import{j as t,ao as Y,H as k,dg as D,aL as V,o as a,w as q}from"./index-DoFw58Mw.js";import{n as g,b as n}from"./vendor-CnQcJ2Lu.js";import{R as A}from"./mui-C5LQ0bMa.js";import{L as U}from"./CollapsableReportTable-Dp1985is-CgJ_JGJs.js";const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -1,4 +1,4 @@
1
- import{j as t,o,w as p,M as u}from"./index-CvH632ro.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const f=i.div`
1
+ import{j as t,o,w as p,M as u}from"./index-DoFw58Mw.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const f=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{X as c,j as t,C as n,w,b3 as x}from"./index-CvH632ro.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{b as l}from"./TimeframeSwitcher-rcx5z-sh-BEuYgoAf.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(x,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
1
+ import{X as c,j as t,C as n,w,b3 as x}from"./index-DoFw58Mw.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{b as l}from"./TimeframeSwitcher-SD5_8TCp-DcEUsFuS.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(x,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{H as V,X as _,j as t,u as f,b6 as T,aB as C,aA as S,ba as E,bj as k,p as x,aJ as R,v as $,bk as H,bl as q,_ as G,l as J,U as X,o as p,w as L,as as Y,s as F,M as A,V as N,Y as Q,a8 as O,an as U,ao as W,a9 as Z,bm as ee}from"./index-CvH632ro.js";import{f as w,b as te,n as g}from"./vendor-CnQcJ2Lu.js";import{I as ae,T as re}from"./ReloadCard-DXOUba_M-CHzipN0D.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const ie=g(O)`
1
+ import{H as V,X as _,j as t,u as f,b6 as T,aB as C,aA as S,ba as E,bj as k,p as x,aJ as R,v as $,bk as H,bl as q,_ as G,l as J,U as X,o as p,w as L,as as Y,s as F,M as A,V as N,Y as Q,a8 as O,an as U,ao as W,a9 as Z,bm as ee}from"./index-DoFw58Mw.js";import{f as w,b as te,n as g}from"./vendor-CnQcJ2Lu.js";import{I as ae,T as re}from"./ReloadCard-D5woGDxx-DS9HJ3wy.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const ie=g(O)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{u as v,X as S,l as A,j as t,aW as B,M as u,_ as k,ao as H,D as P,o as i,C as E,bi as z,aM as F,p as c,g as T,s as y,Y as V,ak as M}from"./index-CvH632ro.js";import{n as l,f as D,b as o}from"./vendor-CnQcJ2Lu.js";import{E as _,I as Z}from"./TopExCard-J5ItU1Wy-Cu15poFM.js";import{b as L}from"./TimeframeSwitcher-rcx5z-sh-BEuYgoAf.js";import{d as O}from"./NoDataTable-B8PHBrBF-BIIbtUFT.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"./ReloadCard-DXOUba_M-CHzipN0D.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const j="141px",I=i.sp4,R="123px",X=l(M)`
1
+ import{u as v,X as S,l as A,j as t,aW as B,M as u,_ as k,ao as H,D as P,o as i,C as E,bi as z,aM as F,p as c,g as T,s as y,Y as V,ak as M}from"./index-DoFw58Mw.js";import{n as l,f as D,b as o}from"./vendor-CnQcJ2Lu.js";import{E as _,I as Z}from"./TopExCard-CDgcQKGp-G2-ryp7z.js";import{b as L}from"./TimeframeSwitcher-SD5_8TCp-DcEUsFuS.js";import{d as O}from"./NoDataTable-41nH5trW-Brapb7lv.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"./ReloadCard-D5woGDxx-DS9HJ3wy.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const j="141px",I=i.sp4,R="123px",X=l(M)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{u as jt,a as zo,X as Z,M as N,a5 as Vt,dL as Ao,dM as Ro,c3 as Vo,H as Po,dN as Gi,l as ue,dO as Eo,j as i,Y as B,F as _o,aW as No,dP as Bo,dQ as Mo,e as Bt,dR as Ii,a7 as Fo,C as V,dS as Wo,dT as Xi,dU as Ki,dV as Zi,dW as Ie,dX as ve,dY as Ee,dZ as Ge,d_ as Xe,d$ as It,e0 as vt,e1 as Ke,e2 as rt,e3 as Ct,e4 as Dt,e5 as Pt,e6 as re,e7 as Et,e8 as se,e9 as le,R as qo,ea as bt,eb as vi,ec as Uo,K as Ho,bO as Yo,o as n,ed as Go,p as v,D as si,g as ie,Z as mi,av as Mt,ee as Xo,ef as Ko,bI as Zo,ah as Ft,_ as De,cg as Be,eg as Jo,eh as kt,aa as Ji,cl as Qo,ei as en,bF as tn,bG as on,s as he,ak as nn,cA as an,ej as Qi,ek as li,el as ri,em as Qt,dc as sn,ao as ln,bT as rn,co as hi,cm as eo,d3 as cn,en as Ci,eo as Di,ep as dn,bt as to,eq as ei,dh as ti,er as un,aM as pn,es as mn,et as Ti,eu as hn,A as gn,cp as fn,ev as yn,Q as io,ew as bn,b5 as xn,ex as ji,b2 as tt,ey as wn,ez as $n,eA as In,b0 as vn,b4 as Cn,dq as Dn,v as oo,eB as Tn,a$ as jn,a6 as On,m as Ln,eC as Sn,ac as ci}from"./index-CvH632ro.js";import{b as T,n as l,f as xt}from"./vendor-CnQcJ2Lu.js";import{x as Oi}from"./LabeledControlledCheckBoxField-D5A-8bnH-DqiGgCzm.js";import{R as kn}from"./TrendWithTransactions-Cm8gWBLF-D6KvkDCe.js";import{u as zn,c as An,d as Rn,m as Vn}from"./uploadAttachment-Bi2HYlA8-BLU3BxOX.js";import{o as Pn}from"./radio-default-CiSgisfh-ub7QGXr8.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"./TrendChart-N85Ktah2-DbfJUW0C.js";import"./chartTypes-BrP58mNO-B-70_tkk.js";import"./toCOABalancesWithID-CYXJAMXX-B3cjnX0k.js";import"./toChartData-oAAd1YDY-DlgK3yY0.js";import"./NoDataChart-DMqFH96W--xyVCmNv.js";import"./InsightsSection-obWu95-o-miX-wlBZ.js";import"./NavigationDots-BDLMSply-CVhKiAdV.js";import"./TransactionList-BVJHbP4d-Ch-jGNeO.js";import"./BoxItem-dOIVDQzt-BM2Or2XI.js";import"./commonDimensions-C9IpJAVN-CUmNJDhl.js";const En={headerMarginTop:new V(v[7],v[8])},_n=l(he)`
1
+ import{u as jt,a as zo,X as Z,M as N,a5 as Vt,dL as Ao,dM as Ro,c3 as Vo,H as Po,dN as Gi,l as ue,dO as Eo,j as i,Y as B,F as _o,aW as No,dP as Bo,dQ as Mo,e as Bt,dR as Ii,a7 as Fo,C as V,dS as Wo,dT as Xi,dU as Ki,dV as Zi,dW as Ie,dX as ve,dY as Ee,dZ as Ge,d_ as Xe,d$ as It,e0 as vt,e1 as Ke,e2 as rt,e3 as Ct,e4 as Dt,e5 as Pt,e6 as re,e7 as Et,e8 as se,e9 as le,R as qo,ea as bt,eb as vi,ec as Uo,K as Ho,bO as Yo,o as n,ed as Go,p as v,D as si,g as ie,Z as mi,av as Mt,ee as Xo,ef as Ko,bI as Zo,ah as Ft,_ as De,cg as Be,eg as Jo,eh as kt,aa as Ji,cl as Qo,ei as en,bF as tn,bG as on,s as he,ak as nn,cA as an,ej as Qi,ek as li,el as ri,em as Qt,dc as sn,ao as ln,bT as rn,co as hi,cm as eo,d3 as cn,en as Ci,eo as Di,ep as dn,bt as to,eq as ei,dh as ti,er as un,aM as pn,es as mn,et as Ti,eu as hn,A as gn,cp as fn,ev as yn,Q as io,ew as bn,b5 as xn,ex as ji,b2 as tt,ey as wn,ez as $n,eA as In,b0 as vn,b4 as Cn,dq as Dn,v as oo,eB as Tn,a$ as jn,a6 as On,m as Ln,eC as Sn,ac as ci}from"./index-DoFw58Mw.js";import{b as T,n as l,f as xt}from"./vendor-CnQcJ2Lu.js";import{x as Oi}from"./LabeledControlledCheckBoxField-BBrHodlx-ajZwZw2T.js";import{R as kn}from"./TrendWithTransactions-BOGQK2Zt-itTZBsuV.js";import{u as zn,c as An,d as Rn,m as Vn}from"./uploadAttachment-DVoWdoWD-RtUqrYnb.js";import{o as Pn}from"./radio-default-CiSgisfh-ub7QGXr8.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"./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";const En={headerMarginTop:new V(v[7],v[8])},_n=l(he)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Nn=l(he)`
4
4
  margin-right: ${n.sp1};
@@ -1,4 +1,4 @@
1
- import{X as O,j as e,ao as tt,Y as u,dc as et,M as y,dd as it,d7 as at,de as ot,o as i,g as A,bT as rt,C as q,l as m,e as nt,s as v,p as g,w as st,df as Q,cs as V,_ as W,m as lt}from"./index-CvH632ro.js";import{b as L,n,f as dt}from"./vendor-CnQcJ2Lu.js";import{g as U}from"./BoxItem-dOIVDQzt-BM2Or2XI.js";import{o as N}from"./commonDimensions-C9IpJAVN-CUmNJDhl.js";const D=t=>t?24:125,ct={containerPaddingBottom:new q(g[9],g[8])},E=n.div`
1
+ import{X as O,j as e,ao as tt,Y as u,dc as et,M as y,dd as it,d7 as at,de as ot,o as i,g as A,bT as rt,C as q,l as m,e as nt,s as v,p as g,w as st,df as Q,cs as V,_ as W,m as lt}from"./index-DoFw58Mw.js";import{b as L,n,f as dt}from"./vendor-CnQcJ2Lu.js";import{g as U}from"./BoxItem-CHPfWPEF-lXs1y6iB.js";import{o as N}from"./commonDimensions-D4uH020E-szItJUN9.js";const D=t=>t?24:125,ct={containerPaddingBottom:new q(g[9],g[8])},E=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{C as a,X as L,y as W,I as ie,aJ as ne,l as D,j as t,Y as x,ao as re,M as w,p as n,v as ae,g as B,o,Q as j,h as q,aK as se,aL as le,w as de,Z as ce,_ as me,aM as pe,n as he,e as ue,K as Y,D as G,aN as X,a9 as ee}from"./index-CvH632ro.js";import{b as N,n as i,f,j as ge}from"./vendor-CnQcJ2Lu.js";import{G as xe,c as we}from"./AccountsPromoCardStack-B2NngRd9-cDiIvZy1.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"./SummaryCard-0WkhoBZC-D0OeJhk2.js";import"./ReloadCard-DXOUba_M-CHzipN0D.js";import"./NavigationArrow-CUVFG2Pf-P3tdOWHt.js";import"./NavigationDots-BDLMSply-CVhKiAdV.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
1
+ import{C as a,X as L,y as W,I as ie,aJ as ne,l as D,j as t,Y as x,ao as re,M as w,p as n,v as ae,g as B,o,Q as j,h as q,aK as se,aL as le,w as de,Z as ce,_ as me,aM as pe,n as he,e as ue,K as Y,D as G,aN as X,a9 as ee}from"./index-DoFw58Mw.js";import{b as N,n as i,f,j as ge}from"./vendor-CnQcJ2Lu.js";import{G as xe,c as we}from"./AccountsPromoCardStack-BvFE5A3N-C__nnIqn.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"./SummaryCard-D-me4TrL-C69v2luu.js";import"./ReloadCard-D5woGDxx-DS9HJ3wy.js";import"./NavigationArrow-B15b66TT-B9hYIhnI.js";import"./NavigationDots-5fxvl-4e-BzJdpllk.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,be=i.div`
@@ -1,4 +1,4 @@
1
- import{u as z,aT as A,aU as M,aV as X,j as o,Y as h,aW as q,e as K,aX as U,o as n,s as V}from"./index-CvH632ro.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{l as W}from"./TransactionList-BVJHbP4d-Ch-jGNeO.js";import{t as _}from"./page-detail-CWX5S47F-B6DjZ3Gi.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"./BoxItem-dOIVDQzt-BM2Or2XI.js";import"./commonDimensions-C9IpJAVN-CUmNJDhl.js";const G=l.div`
1
+ import{u as z,aT as A,aU as M,aV as X,j as o,Y as h,aW as q,e as K,aX as U,o as n,s as V}from"./index-DoFw58Mw.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{l as W}from"./TransactionList-C34ivmk5-BL7wpE6F.js";import{t as _}from"./page-detail-CWX5S47F-B6DjZ3Gi.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"./BoxItem-CHPfWPEF-lXs1y6iB.js";import"./commonDimensions-D4uH020E-szItJUN9.js";const G=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{X as H,M as A,j as o,e as B,Y as D,a7 as W,o as a,C as g,a6 as Q,Q as G,cu as K,a as U,gv as F,gw as M,gx as R,c3 as X,F as Y,p as r,u as _,c6 as J,ga as z,gC as Z,aq as ee,gG as oe,gH as te}from"./index-CvH632ro.js";import{b as I,n as d}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 L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:v,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:h,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=_(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",h),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(J,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:v,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:R(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},re=d.div`
1
+ import{X as H,M as A,j as o,e as B,Y as D,a7 as W,o as a,C as g,a6 as Q,Q as G,cu as K,a as U,gv as F,gw as M,gx as R,c3 as X,F as Y,p as r,u as _,c6 as J,ga as z,gC as Z,aq as ee,gG as oe,gH as te}from"./index-DoFw58Mw.js";import{b as I,n as d}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 L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:v,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:h,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=_(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",h),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(J,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:v,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:R(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},re=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{j as t,X as de,Y as A,gP as it,M as I,_ as q,K as Ce,gZ as lt,e as We,a7 as we,o as a,C as c,a6 as Ye,k as st,as as ct,Z as dt,c0 as xe,w as $e,s as ue,a5 as pe,eZ as ut,a as Ve,l as ft,c3 as pt,aJ as mt,a0 as ht,g as G,F as Ne,f6 as Se,f7 as ve,fF as gt,bt as De,fA as wt,g_ as xt,p as o,cW as $t,ah as Xe,bn as Dt,cz as bt,b5 as Tt,m as Ze,f2 as yt,dq as Ct,bp as qe,f9 as St,fb as vt}from"./index-CvH632ro.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-CDH-_8b0-DSbwC4eG.js";import{r as At}from"./AccountInfoPageContent-DadwVfBB-CcKZ7ci4.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"./downloadPdf-CYD5QftD-D8rZSmdk.js";import"./commonDimensions-C9IpJAVN-CUmNJDhl.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",Pt="transferTo",ke="transferFrom",k="transferDetails",Ge="transferDetailPage",me=(e,n)=>`${e}.${n}`,Je=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function Lt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:M,onSaveChangesToLocalStore:J,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=de(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,Y]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),Q=n.transferMoneyPartiesFetchState,oe=pe(Q),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=pe(X),be=pe(ee),Ke=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),He=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:Z,ready:te}=ut({token:v,onSuccess:Ke,onExit:He}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?Z():z(!0)},[Z,te]),P=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Ae(n,le),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&Y(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{V&&x&&Z()},[V,Z,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&Q==="Completed"||ie!==X||be!==ee)&&P.reset(Ae(n,()=>Z()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,be,ee,X,P,n,Z]);const{isValid:Qe}=P.formState,et=async(s,h)=>{if(s!=null){const F={...h},se={amount:{amount:F[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===F[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===F[k].transferTo.selectedOption)};J(se)}};u.useEffect(()=>{const s=P.watch((h,{name:F})=>{if(F!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,rt=h[k]?.transferTo,nt=n.transferMoneyParties.find(fe=>fe.id===ae?.selectedOption),ot=n.transferMoneyParties.find(fe=>fe.id===rt?.selectedOption);nt?.accType==="paymentAccount"&&ot?.accType==="depositAccount"&&se!==0?(y(!0),C(!0)):C(!1),S(se)}});return()=>{s.unsubscribe()}},[P,n.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:F})=>{F!=null&&h!=null&&pt(()=>et(F,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const tt=P.handleSubmit(()=>{Qe&&(_("Review","Amount Details"),H())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ke}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,le,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Te=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,ye=Te[Te.length-1].annualPercentageYield.toString(),at=mt(ht(l),l,ce.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(zt,{children:t.jsxs(Bt,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Wt,{children:q("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...P,children:t.jsxs(Ft,{id:Je(Ge),onSubmit:tt,children:[t.jsxs(Qt,{children:[t.jsx(Be,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,ke),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Fe,{}),t.jsx(Be,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,Pt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Fe,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:ce.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:me(k,Ue),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Xt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Vt,{children:b.transferDrawer.calculator.heading.replace("__rate__",ye).replace("__amount__",at)}),t.jsx(kt,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:B,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Gt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(De,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Jt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${q("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(Le,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",ye)})}),$?t.jsxs(ze,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(We,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Ae=(e,n)=>({transferDetails:{[Ue]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=r.div`
1
+ import{j as t,X as de,Y as A,gP as it,M as I,_ as q,K as Ce,gZ as lt,e as We,a7 as we,o as a,C as c,a6 as Ye,k as st,as as ct,Z as dt,c0 as xe,w as $e,s as ue,a5 as pe,eZ as ut,a as Ve,l as ft,c3 as pt,aJ as mt,a0 as ht,g as G,F as Ne,f6 as Se,f7 as ve,fF as gt,bt as De,fA as wt,g_ as xt,p as o,cW as $t,ah as Xe,bn as Dt,cz as bt,b5 as Tt,m as Ze,f2 as yt,dq as Ct,bp as qe,f9 as St,fb as vt}from"./index-DoFw58Mw.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-CPg3o4xG-BlMvJPot.js";import{r as At}from"./AccountInfoPageContent-DOrQxiUF-2yx_ZhMt.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"./downloadPdf-s4pLtuS_-CF3EQD3j.js";import"./commonDimensions-D4uH020E-szItJUN9.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",Pt="transferTo",ke="transferFrom",k="transferDetails",Ge="transferDetailPage",me=(e,n)=>`${e}.${n}`,Je=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function Lt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:M,onSaveChangesToLocalStore:J,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=de(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,Y]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),Q=n.transferMoneyPartiesFetchState,oe=pe(Q),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=pe(X),be=pe(ee),Ke=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),He=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:Z,ready:te}=ut({token:v,onSuccess:Ke,onExit:He}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?Z():z(!0)},[Z,te]),P=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Ae(n,le),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&Y(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{V&&x&&Z()},[V,Z,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&Q==="Completed"||ie!==X||be!==ee)&&P.reset(Ae(n,()=>Z()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,be,ee,X,P,n,Z]);const{isValid:Qe}=P.formState,et=async(s,h)=>{if(s!=null){const F={...h},se={amount:{amount:F[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===F[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===F[k].transferTo.selectedOption)};J(se)}};u.useEffect(()=>{const s=P.watch((h,{name:F})=>{if(F!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,rt=h[k]?.transferTo,nt=n.transferMoneyParties.find(fe=>fe.id===ae?.selectedOption),ot=n.transferMoneyParties.find(fe=>fe.id===rt?.selectedOption);nt?.accType==="paymentAccount"&&ot?.accType==="depositAccount"&&se!==0?(y(!0),C(!0)):C(!1),S(se)}});return()=>{s.unsubscribe()}},[P,n.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:F})=>{F!=null&&h!=null&&pt(()=>et(F,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const tt=P.handleSubmit(()=>{Qe&&(_("Review","Amount Details"),H())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ke}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,le,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Te=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,ye=Te[Te.length-1].annualPercentageYield.toString(),at=mt(ht(l),l,ce.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(zt,{children:t.jsxs(Bt,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Wt,{children:q("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...P,children:t.jsxs(Ft,{id:Je(Ge),onSubmit:tt,children:[t.jsxs(Qt,{children:[t.jsx(Be,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,ke),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Fe,{}),t.jsx(Be,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,Pt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Fe,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:ce.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:me(k,Ue),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Xt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Vt,{children:b.transferDrawer.calculator.heading.replace("__rate__",ye).replace("__amount__",at)}),t.jsx(kt,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:B,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Gt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(De,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Jt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${q("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(Le,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",ye)})}),$?t.jsxs(ze,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(We,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Ae=(e,n)=>({transferDetails:{[Ue]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=r.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,v as ie,Y as E,e as Ke,o as i,w as k,g as w,b5 as Fe,C as u,cO as _,Q as B,l as V,p as h,gS as le,ay as de,aB as ce,aA as he,az as pe,b8 as Ve,bf as Le,a9 as Me,y as We,fm as Ee,gm as Ge,K as Ue,s as A,ak as Je,iD as Xe,je as _e,ke as Qe,eG as qe,d5 as Ze,f2 as et,ao as tt,bT as it,ic as ot,id as rt,kf as at,bm as nt,m as G,bY as xe,ig as st,b$ as lt,ih as dt,ii as ct}from"./index-CvH632ro.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-CnQcJ2Lu.js";import{s as pt}from"./commonDimensions-C9IpJAVN-CUmNJDhl.js";import{g as me}from"./BoxItem-dOIVDQzt-BM2Or2XI.js";import{l as ne,d as xt}from"./treasuryColorHelper-BClHzQle-D6h04w-g.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CJJQqrcA.js";import{o as mt}from"./shield-DOlUxcFf-BCUrujod.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 se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(dt,ct),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(nt,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const $t=ht.memo(wt),jt=o.div`
1
+ import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,v as ie,Y as E,e as Ke,o as i,w as k,g as w,b5 as Fe,C as u,cO as _,Q as B,l as V,p as h,gS as le,ay as de,aB as ce,aA as he,az as pe,b8 as Ve,bf as Le,a9 as Me,y as We,fm as Ee,gm as Ge,K as Ue,s as A,ak as Je,iD as Xe,je as _e,ke as Qe,eG as qe,d5 as Ze,f2 as et,ao as tt,bT as it,ic as ot,id as rt,kf as at,bm as nt,m as G,bY as xe,ig as st,b$ as lt,ih as dt,ii as ct}from"./index-DoFw58Mw.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-CnQcJ2Lu.js";import{s as pt}from"./commonDimensions-D4uH020E-szItJUN9.js";import{g as me}from"./BoxItem-CHPfWPEF-lXs1y6iB.js";import{l as ne,d as xt}from"./treasuryColorHelper-A_YlwvaQ-YLNVEYZe.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CJJQqrcA.js";import{o as mt}from"./shield-DOlUxcFf-BCUrujod.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 se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(dt,ct),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(nt,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const $t=ht.memo(wt),jt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{u as ae,X as O,y as xe,d3 as we,a5 as $e,l as fe,M as F,j as r,aW as ye,o as i,iD as je,bt as be,w as S,K,Y as Q,Q as f,Z as V,C as v,g as t,s as _,d5 as Se,eY as ke,k as ze,m as ve,cI as Ce,p as m,dJ as Le,kd as Pe,c0 as Te,a6 as De,v as Z,cu as Ie}from"./index-CvH632ro.js";import{b as P,n as o,f as Me}from"./vendor-CnQcJ2Lu.js";import{x as Be}from"./MeetingCalenderPopup-CF-RTU9K-BubT6ngE.js";import{l as Re}from"./treasuryColorHelper-BClHzQle-D6h04w-g.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as Ge}from"./shield-DOlUxcFf-BCUrujod.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 _e=({isOpen:e,onClose:x})=>{const c=O(),u=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(He,{children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Ee,{children:[r.jsx(Oe,{windowSize:c,children:u.agreementDrawer.title}),r.jsx(J,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((d,w)=>r.jsx(re,{children:d},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((d,w)=>r.jsx(Ye,{children:d.hasMultipleLinks===!0&&d.links?r.jsx(Ue,{children:d.links.map((h,$)=>r.jsx(qe,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:d.link,target:"_blank",rel:"noopener noreferrer",children:d.text})},w))}),r.jsx(J,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((d,w)=>r.jsx(re,{children:d},w))})]})]})})},He=o.div`
1
+ import{u as ae,X as O,y as xe,d3 as we,a5 as $e,l as fe,M as F,j as r,aW as ye,o as i,iD as je,bt as be,w as S,K,Y as Q,Q as f,Z as V,C as v,g as t,s as _,d5 as Se,eY as ke,k as ze,m as ve,cI as Ce,p as m,dJ as Le,kd as Pe,c0 as Te,a6 as De,v as Z,cu as Ie}from"./index-DoFw58Mw.js";import{b as P,n as o,f as Me}from"./vendor-CnQcJ2Lu.js";import{x as Be}from"./MeetingCalenderPopup-6yyRBLYC-DflGa-2l.js";import{l as Re}from"./treasuryColorHelper-A_YlwvaQ-YLNVEYZe.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as Ge}from"./shield-DOlUxcFf-BCUrujod.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 _e=({isOpen:e,onClose:x})=>{const c=O(),u=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(He,{children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Ee,{children:[r.jsx(Oe,{windowSize:c,children:u.agreementDrawer.title}),r.jsx(J,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((d,w)=>r.jsx(re,{children:d},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((d,w)=>r.jsx(Ye,{children:d.hasMultipleLinks===!0&&d.links?r.jsx(Ue,{children:d.links.map((h,$)=>r.jsx(qe,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:d.link,target:"_blank",rel:"noopener noreferrer",children:d.text})},w))}),r.jsx(J,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((d,w)=>r.jsx(re,{children:d},w))})]})]})})},He=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{d3 as Ge,u as qe,X as pe,a5 as me,a as he,c3 as fe,M as ge,ab as le,j as t,cI as Je,g as Ye,C as r,aW as Ke,e as Xe,F as ye,c$ as Ze,aQ as Qe,p as n,l as et,K as tt,bt as it,Y as ot,cd as nt,c9 as at,a7 as st,o as i,s as xe,c0 as lt,a6 as rt,Q as ct,h as dt}from"./index-CvH632ro.js";import{b as l,n as o}from"./vendor-CnQcJ2Lu.js";import{F as ut}from"./HelpButton-DmSTrp5G-BZ5gO3eI.js";import{Y as pt}from"./LabeledDocumentField-MyG-6WMu-Cbf-CDaI.js";import{P as mt}from"./DocumentSecurityBanner-CjDxLXR5-BndWfQhM.js";import{r as ht}from"./verification-CW6uEyev-DdkqedMU.js";import{J as re}from"./SetUpDefaultSection-BpL2WnED-COlpwQhL.js";import{p as ft}from"./SpendMgmtSetupAccountSection-B4wik5Ee-Dl8PxI-i.js";import gt from"./PortfolioAllocationFormPage-BG5sY-R6-BBFBmc8X.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"./MeetingCalenderPopup-CF-RTU9K-BubT6ngE.js";import"./ChargeCardUtils-CHUMBmgR-CJymagC4.js";import"./CreditCardPaymentPlgSection-DEV6AUvV-Dv95csrn.js";import"./ChaseOverlay-kXvIXrLn-BoWFlEip.js";import"./PortfolioDetails-g9uKkfc0-2ntvLazE.js";import"./treasuryColorHelper-BClHzQle-D6h04w-g.js";const ce=(e,s)=>`${e}.${s}`,S={labelWidth:new r(145,155),largeLabelDocumentWidth:new r(210,252),marginBottom:new r(n[2],n[0]),navBarContainerPaddingYaxis:new r(10,n[3]),containerPaddingLeft:new r(n[3],n[6],n[8]),containerPaddingRight:new r(n[3],n[6],n[8])},yt={stepTitle:new ct("h6Regular","h5Regular")},we=ge.getLocalizedStrings(),{common:de}=we,p=we.commonSetUp.businessVerification,ee=p.sourceOfFundOptions,b="additionalVerificationFields",xt=({companyOfficer:e,companyDetails:s,updateStatus:h,fileProps:f,isDetailsSubmitted:g,onClose:F,onAdditionalVerificationFieldsChanged:B,onSendForVerificationClick:W,onCloseOverlay:$})=>{const c=pe(),_=S.labelWidth.value(c),k=S.largeLabelDocumentWidth.value(c),M=me(h.fetchState),C=he({mode:"all",reValidateMode:"onChange",defaultValues:l.useMemo(()=>({[b]:{sourceOfFunds:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},formationDocument:s?.companyFiles.find(a=>a.documentType==="company_formation_document")}}),[s?.sourceOfFunds,s?.companyFiles])}),U=a=>ee[a]??a,O=s?.deleteFileStatusById??{},A=s?.updateFileStatusById??{},N=Object.values(O??{}).filter(a=>a!=null),H=et.reduceAllFetchState(N),R=C.handleSubmit(()=>{H.fetchState!=="In-Progress"&&W(e?.officerType??"Officer_1")}),G=async(a,x)=>{B(x[b])};return l.useEffect(()=>{const a=C.watch((x,{name:T})=>{T!=null&&x!=null&&fe(()=>G(T,x))});return()=>{a.unsubscribe()}}),M==="In-Progress"&&h.fetchState==="Completed"||g===!0?t.jsxs(Pt,{children:[t.jsxs(Ft,{children:[t.jsx(ht,{}),t.jsx(St,{windowSize:c,children:p.submittedTitle}),t.jsx(kt,{children:p.submittedDescription})]}),t.jsx(tt,{label:p.submittedButton,onClick:$,variant:"primary"})]}):t.jsxs(wt,{windowSize:c,children:[t.jsx(bt,{windowSize:c,children:t.jsx(it,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(vt,{"data-testid":ot("nav-bar-back-portfolio-allocation"),onClick:$||F})})}),t.jsxs($t,{windowSize:c,children:[t.jsx(Ot,{windowSize:c,children:p.verifyBusinessDetails}),t.jsx(At,{children:t.jsxs(Tt,{children:[t.jsx(Et,{}),t.jsx(Lt,{})]})})]}),t.jsx(be,{children:p.verifyBusinessDetailsDescription}),t.jsx(ye,{...C,children:t.jsxs("form",{id:b,onSubmit:R,children:[t.jsxs(Ct,{children:[t.jsx(mt,{}),t.jsx(pt,{name:ce(b,"formationDocument"),sizeLimit:nt,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:p.formationDocumentLabel,width:k,style:{marginBottom:S.marginBottom.valuePx(c)}},style:{width:"auto"},file:s?.companyFiles.find(a=>a.documentType==="company_formation_document"),filemetadataPayload:{documentType:"company_formation_document",purposeId:"business_verification",documentSide:"front"},acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!0},additionalInfoLabel:p.formationDocumentError.replace("_product_type_","business verification"),updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,deleteFileStatusById:O,updateFileStatusById:A}),t.jsx(jt,{}),t.jsx(at,{label:{label:p.sourceOfFundsLabel,width:_},style:{width:"auto"},additionalInfoLabel:p.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:ce(b,"sourceOfFunds"),placeholder:p.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:U,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},registerOptions:{required:!0,validate:a=>!!a?.selectedOption}},isFunctional:!0,errorInfoLabel:p.sourceOfFundsError.replace("_product_type_","business verification")})]}),t.jsx(st,{formId:b,primaryBtn:{label:de.footer.submit,style:{width:"auto",minWidth:c==="small"?"auto":"83px"},isLoading:h.fetchState==="In-Progress"},cancelBtn:{label:de.footer.back,style:{width:c==="small"?"auto":"83px"},onClick:F},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},wt=o.div`
1
+ import{d3 as Ge,u as qe,X as pe,a5 as me,a as he,c3 as fe,M as ge,ab as le,j as t,cI as Je,g as Ye,C as r,aW as Ke,e as Xe,F as ye,c$ as Ze,aQ as Qe,p as n,l as et,K as tt,bt as it,Y as ot,cd as nt,c9 as at,a7 as st,o as i,s as xe,c0 as lt,a6 as rt,Q as ct,h as dt}from"./index-DoFw58Mw.js";import{b as l,n as o}from"./vendor-CnQcJ2Lu.js";import{F as ut}from"./HelpButton-khTPylkl-CEL7Boo7.js";import{Y as pt}from"./LabeledDocumentField-CIlbLPtO-DSLjsPoT.js";import{P as mt}from"./DocumentSecurityBanner-BRFFDueV-stK3q2uU.js";import{r as ht}from"./verification-CW6uEyev-DdkqedMU.js";import{J as re}from"./SetUpDefaultSection-D4FafmO5-CcuY4gpp.js";import{p as ft}from"./SpendMgmtSetupAccountSection-DcJhhfdt-CSj4RU9Q.js";import gt from"./PortfolioAllocationFormPage-Coa0Y4wN-CVL7-3BP.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"./MeetingCalenderPopup-6yyRBLYC-DflGa-2l.js";import"./ChargeCardUtils-k5Cmi_bM-xJoIL5jf.js";import"./CreditCardPaymentPlgSection-YcsIIUkG-C-zCY8ZF.js";import"./ChaseOverlay-DQz9r9Pp-Bwx2nGMD.js";import"./PortfolioDetails-C9a0p99e-d06R_ouh.js";import"./treasuryColorHelper-A_YlwvaQ-YLNVEYZe.js";const ce=(e,s)=>`${e}.${s}`,S={labelWidth:new r(145,155),largeLabelDocumentWidth:new r(210,252),marginBottom:new r(n[2],n[0]),navBarContainerPaddingYaxis:new r(10,n[3]),containerPaddingLeft:new r(n[3],n[6],n[8]),containerPaddingRight:new r(n[3],n[6],n[8])},yt={stepTitle:new ct("h6Regular","h5Regular")},we=ge.getLocalizedStrings(),{common:de}=we,p=we.commonSetUp.businessVerification,ee=p.sourceOfFundOptions,b="additionalVerificationFields",xt=({companyOfficer:e,companyDetails:s,updateStatus:h,fileProps:f,isDetailsSubmitted:g,onClose:F,onAdditionalVerificationFieldsChanged:B,onSendForVerificationClick:W,onCloseOverlay:$})=>{const c=pe(),_=S.labelWidth.value(c),k=S.largeLabelDocumentWidth.value(c),M=me(h.fetchState),C=he({mode:"all",reValidateMode:"onChange",defaultValues:l.useMemo(()=>({[b]:{sourceOfFunds:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},formationDocument:s?.companyFiles.find(a=>a.documentType==="company_formation_document")}}),[s?.sourceOfFunds,s?.companyFiles])}),U=a=>ee[a]??a,O=s?.deleteFileStatusById??{},A=s?.updateFileStatusById??{},N=Object.values(O??{}).filter(a=>a!=null),H=et.reduceAllFetchState(N),R=C.handleSubmit(()=>{H.fetchState!=="In-Progress"&&W(e?.officerType??"Officer_1")}),G=async(a,x)=>{B(x[b])};return l.useEffect(()=>{const a=C.watch((x,{name:T})=>{T!=null&&x!=null&&fe(()=>G(T,x))});return()=>{a.unsubscribe()}}),M==="In-Progress"&&h.fetchState==="Completed"||g===!0?t.jsxs(Pt,{children:[t.jsxs(Ft,{children:[t.jsx(ht,{}),t.jsx(St,{windowSize:c,children:p.submittedTitle}),t.jsx(kt,{children:p.submittedDescription})]}),t.jsx(tt,{label:p.submittedButton,onClick:$,variant:"primary"})]}):t.jsxs(wt,{windowSize:c,children:[t.jsx(bt,{windowSize:c,children:t.jsx(it,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(vt,{"data-testid":ot("nav-bar-back-portfolio-allocation"),onClick:$||F})})}),t.jsxs($t,{windowSize:c,children:[t.jsx(Ot,{windowSize:c,children:p.verifyBusinessDetails}),t.jsx(At,{children:t.jsxs(Tt,{children:[t.jsx(Et,{}),t.jsx(Lt,{})]})})]}),t.jsx(be,{children:p.verifyBusinessDetailsDescription}),t.jsx(ye,{...C,children:t.jsxs("form",{id:b,onSubmit:R,children:[t.jsxs(Ct,{children:[t.jsx(mt,{}),t.jsx(pt,{name:ce(b,"formationDocument"),sizeLimit:nt,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:p.formationDocumentLabel,width:k,style:{marginBottom:S.marginBottom.valuePx(c)}},style:{width:"auto"},file:s?.companyFiles.find(a=>a.documentType==="company_formation_document"),filemetadataPayload:{documentType:"company_formation_document",purposeId:"business_verification",documentSide:"front"},acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!0},additionalInfoLabel:p.formationDocumentError.replace("_product_type_","business verification"),updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,deleteFileStatusById:O,updateFileStatusById:A}),t.jsx(jt,{}),t.jsx(at,{label:{label:p.sourceOfFundsLabel,width:_},style:{width:"auto"},additionalInfoLabel:p.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:ce(b,"sourceOfFunds"),placeholder:p.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:U,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},registerOptions:{required:!0,validate:a=>!!a?.selectedOption}},isFunctional:!0,errorInfoLabel:p.sourceOfFundsError.replace("_product_type_","business verification")})]}),t.jsx(st,{formId:b,primaryBtn:{label:de.footer.submit,style:{width:"auto",minWidth:c==="small"?"auto":"83px"},isLoading:h.fetchState==="In-Progress"},cancelBtn:{label:de.footer.back,style:{width:c==="small"?"auto":"83px"},onClick:F},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},wt=o.div`
2
2
  height: auto;
3
3
  padding-left: ${e=>`${S.containerPaddingLeft.valuePx(e.windowSize)}`};
4
4
  padding-right: ${e=>`${S.containerPaddingRight.valuePx(e.windowSize)}`};
@@ -1,4 +1,4 @@
1
- import{u as j,X as v,j as t,aW as z,M as C,ao as P,o as r,g as d,bT as T,C as I,p as c,s as M}from"./index-CvH632ro.js";import{b as m,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as R}from"./BoxItem-dOIVDQzt-BM2Or2XI.js";import{o as B}from"./commonDimensions-C9IpJAVN-CUmNJDhl.js";import{O as E}from"./StatementItem-BNQblVLa-DfVA7ygW.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"./downloadPdf-CYD5QftD-D8rZSmdk.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(c[3],c[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:R(s,a.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(X,{children:h.noStatements})})})})};return t.jsxs(O,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
1
+ import{u as j,X as v,j as t,aW as z,M as C,ao as P,o as r,g as d,bT as T,C as I,p as c,s as M}from"./index-DoFw58Mw.js";import{b as m,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as R}from"./BoxItem-CHPfWPEF-lXs1y6iB.js";import{o as B}from"./commonDimensions-D4uH020E-szItJUN9.js";import{O as E}from"./StatementItem-BOq_DDMZ-VgE7gIr3.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"./downloadPdf-s4pLtuS_-CF3EQD3j.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(c[3],c[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:R(s,a.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(X,{children:h.noStatements})})})})};return t.jsxs(O,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{u as S,X as v,j as t,aW as L,M as z,ao as C,o as r,g as d,bT as T,C as P,p as c,s as I}from"./index-CvH632ro.js";import{b as h,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as M}from"./BoxItem-dOIVDQzt-BM2Or2XI.js";import{o as R}from"./commonDimensions-C9IpJAVN-CUmNJDhl.js";import{O as B}from"./StatementItem-BNQblVLa-DfVA7ygW.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"./downloadPdf-CYD5QftD-D8rZSmdk.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(c[3],c[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:b})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>R.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:M(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(X,{children:p.noTaxLetter})})})})};return t.jsxs(O,{children:[t.jsx(L,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,m=o.div`
1
+ import{u as S,X as v,j as t,aW as L,M as z,ao as C,o as r,g as d,bT as T,C as P,p as c,s as I}from"./index-DoFw58Mw.js";import{b as h,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as M}from"./BoxItem-CHPfWPEF-lXs1y6iB.js";import{o as R}from"./commonDimensions-D4uH020E-szItJUN9.js";import{O as B}from"./StatementItem-BOq_DDMZ-VgE7gIr3.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"./downloadPdf-s4pLtuS_-CF3EQD3j.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(c[3],c[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:b})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>R.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:M(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(X,{children:p.noTaxLetter})})})})};return t.jsxs(O,{children:[t.jsx(L,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,m=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{X as ge,H as xt,j as o,Y as P,gP as yt,M as we,_ as W,K as Ie,e as He,a7 as Ue,o as t,C as f,a6 as Ce,k as $t,aq as bt,u as St,a5 as pe,bt as vt,cO as Je,Q as R,l as z,fZ as jt,g as S,Z as At,h as et,w as Y,s as X,eZ as kt,a as Tt,c3 as Pt,F as Ct,fF as zt,p as c,bn as tt,cW as ot,ah as rt,cz as Dt,cq as Lt,f9 as Ft,f1 as Mt,d3 as Rt,m as Bt,f2 as Ot,dq as It,bY as Et,bX as _t,aP as Nt,bd as Vt,fb as Wt,fk as Yt,aJ as Xt}from"./index-CvH632ro.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{E as nt}from"./PortfolioDetails-g9uKkfc0-2ntvLazE.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-BClHzQle-D6h04w-g.js";const qt=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Gt=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(Jt,{sliderValue:s,children:[o.jsx(Ut,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:Gt,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Zt(i)},children:o.jsx(ro,{isSelected:s>=h,children:Ht(h)})},h))})]})}const Qt=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${qt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Zt=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Ht=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Ut=r.input`
1
+ import{X as ge,H as xt,j as o,Y as P,gP as yt,M as we,_ as W,K as Ie,e as He,a7 as Ue,o as t,C as f,a6 as Ce,k as $t,aq as bt,u as St,a5 as pe,bt as vt,cO as Je,Q as R,l as z,fZ as jt,g as S,Z as At,h as et,w as Y,s as X,eZ as kt,a as Tt,c3 as Pt,F as Ct,fF as zt,p as c,bn as tt,cW as ot,ah as rt,cz as Dt,cq as Lt,f9 as Ft,f1 as Mt,d3 as Rt,m as Bt,f2 as Ot,dq as It,bY as Et,bX as _t,aP as Nt,bd as Vt,fb as Wt,fk as Yt,aJ as Xt}from"./index-DoFw58Mw.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{E as nt}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 qt=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Gt=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(Jt,{sliderValue:s,children:[o.jsx(Ut,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:Gt,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Zt(i)},children:o.jsx(ro,{isSelected:s>=h,children:Ht(h)})},h))})]})}const Qt=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${qt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Zt=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Ht=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Ut=r.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1,4 +1,4 @@
1
- import{M as $,j as n,l as u,u as B,Y as j,ao as Z,b6 as z,b7 as F,aB as P,v as w,aA as R,aJ as O,b8 as q,aC as K,ba as _,o as L,g as G,s as N}from"./index-CvH632ro.js";import{b as D,f as V,n as k}from"./vendor-CnQcJ2Lu.js";import{d as W,g as M,p as v,u as J}from"./chartTypes-BrP58mNO-B-70_tkk.js";import{o as Q}from"./toCOABalancesWithID-CYXJAMXX-B3cjnX0k.js";import{V as X}from"./toChartData-oAAd1YDY-DlgK3yY0.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 H=k.div`
1
+ import{M as $,j as n,l as u,u as B,Y as j,ao as Z,b6 as z,b7 as F,aB as P,v as w,aA as R,aJ as O,b8 as q,aC as K,ba as _,o as L,g as G,s as N}from"./index-DoFw58Mw.js";import{b as D,f as V,n as k}from"./vendor-CnQcJ2Lu.js";import{d as W,g as M,p as v,u as J}from"./chartTypes-DueLK3Wl-B3lGAHMU.js";import{o as Q}from"./toCOABalancesWithID-CAhfOfUa-CUvT0aen.js";import{V as X}from"./toChartData-BicnbT0F-BAKhPkjP.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 H=k.div`
2
2
  display: flex;
3
3
  `,I=k.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{X as D,j as i,e as R,o as t,M as F,C as c,Y as S,ao as q,aq as Y,c0 as E,p as a,s as K,a6 as X}from"./index-CvH632ro.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-N85Ktah2-DbfJUW0C.js";import{C as W}from"./NoDataChart-DMqFH96W--xyVCmNv.js";import{F as _}from"./InsightsSection-obWu95-o-miX-wlBZ.js";import{l as Z}from"./TransactionList-BVJHbP4d-Ch-jGNeO.js";const G=n.div`
1
+ import{X as D,j as i,e as R,o as t,M as F,C as c,Y as S,ao as q,aq as Y,c0 as E,p as a,s as K,a6 as X}from"./index-DoFw58Mw.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-dARoUu-T-CjrTnbAe.js";import{C as W}from"./NoDataChart-edFKx0zh-DIp9-BoP.js";import{F as _}from"./InsightsSection-q1QuO6Z4-1k_aUqAr.js";import{l as Z}from"./TransactionList-C34ivmk5-BL7wpE6F.js";const G=n.div`
2
2
  display: inline-block;
3
3
  `,J=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{u as ce,X as se,y as Ke,a5 as en,g5 as R,hd as U,M as q,a as nn,he as tn,hf as Te,c3 as on,j as t,aW as cn,bO as sn,bQ as ln,bR as an,F as rn,l as J,hg as dn,e as un,hh as X,hi as pn,a7 as mn,hj as _e,C as u,s as gn,o as l,cg as fe,ab as W,ga as oe,hk as ie,p as d,Q as Ae,g as $e,fz as Ve,w as Se,cZ as xn}from"./index-CvH632ro.js";import{b as Y,n as s}from"./vendor-CnQcJ2Lu.js";import{F as hn}from"./HelpButton-DmSTrp5G-BZ5gO3eI.js";import{h as wn}from"./VendorsAccountsSection-CdrVkoqQ-DQSVBIpk.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"./MeetingCalenderPopup-CF-RTU9K-BubT6ngE.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},He={title:new Ae("standardMedium","largeMedium")},bn=s.div`
1
+ import{u as ce,X as se,y as Ke,a5 as en,g5 as R,hd as U,M as q,a as nn,he as tn,hf as Te,c3 as on,j as t,aW as cn,bO as sn,bQ as ln,bR as an,F as rn,l as J,hg as dn,e as un,hh as X,hi as pn,a7 as mn,hj as _e,C as u,s as gn,o as l,cg as fe,ab as W,ga as oe,hk as ie,p as d,Q as Ae,g as $e,fz as Ve,w as Se,cZ as xn}from"./index-DoFw58Mw.js";import{b as Y,n as s}from"./vendor-CnQcJ2Lu.js";import{F as hn}from"./HelpButton-khTPylkl-CEL7Boo7.js";import{h as wn}from"./VendorsAccountsSection-C4q6FPlB-C6cNo2_u.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"./MeetingCalenderPopup-6yyRBLYC-DflGa-2l.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},He={title:new Ae("standardMedium","largeMedium")},bn=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{a5 as b,j as t,hm as R,hn as _,X as F,M as O,bO as U,i as C,bQ as N,bR as z,a as M,F as H,cc as G,l as T,c8 as D,C as g,c9 as K,g as A,n as Z,e as J,K as Q,o as i,s as X,p as B,Z as Y,av as ee}from"./index-CvH632ro.js";import{b as c,n as f}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 V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[2]),width:new g(300,420,420)},te=f.div`
1
+ import{a5 as b,j as t,hm as R,hn as _,X as F,M as O,bO as U,i as C,bQ as N,bR as z,a as M,F as H,cc as G,l as T,c8 as D,C as g,c9 as K,g as A,n as Z,e as J,K as Q,o as i,s as X,p as B,Z as Y,av as ee}from"./index-DoFw58Mw.js";import{b as c,n as f}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 V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[2]),width:new g(300,420,420)},te=f.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{a as k,fc as x,a5 as U,l as W,X as Y,M as _,j as i,c3 as q,F as A,Y as K,fd as X,o as a,g as G,cd as H,a7 as J,C as y,a6 as Q,c0 as Z,av as ee,as as te,p as c}from"./index-CvH632ro.js";import{b as m,n as l}from"./vendor-CnQcJ2Lu.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:v,companyOfficer:t,updateStatus:f,onClose:S,onEditFileName:E,onDeleteFile:I,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,$]=m.useState(!1),[N,O]=m.useState(!1),b=U(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=W.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=Y(),h=_.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,M=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),$(!0)):$(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(A,{...n,children:i.jsxs("form",{id:u,onSubmit:M,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":K("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:v,hasError:N,onEditFileName:E,onDeleteFile:I,updateFilesEntity:D,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(J,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
1
+ import{a as k,fc as x,a5 as U,l as W,X as Y,M as _,j as i,c3 as q,F as A,Y as K,fd as X,o as a,g as G,cd as H,a7 as J,C as y,a6 as Q,c0 as Z,av as ee,as as te,p as c}from"./index-DoFw58Mw.js";import{b as m,n as l}from"./vendor-CnQcJ2Lu.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:v,companyOfficer:t,updateStatus:f,onClose:S,onEditFileName:E,onDeleteFile:I,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,$]=m.useState(!1),[N,O]=m.useState(!1),b=U(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=W.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=Y(),h=_.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,M=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),$(!0)):$(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(A,{...n,children:i.jsxs("form",{id:u,onSubmit:M,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":K("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:v,hasError:N,onEditFileName:E,onDeleteFile:I,updateFilesEntity:D,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(J,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{a5 as o,M as v,j as n,hm as k,hn as j}from"./index-CvH632ro.js";import{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 H=({vendorViewDetails:S,isExpressPayPage:i,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=v.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),n.jsx(n.Fragment,{children:C===!0?n.jsx(k,{showHelperText:!i,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?n.jsx(j,{showHelperText:!i,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:i?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{H as default};
1
+ import{a5 as o,M as v,j as n,hm as k,hn as j}from"./index-DoFw58Mw.js";import{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 H=({vendorViewDetails:S,isExpressPayPage:i,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=v.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),n.jsx(n.Fragment,{children:C===!0?n.jsx(k,{showHelperText:!i,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?n.jsx(j,{showHelperText:!i,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:i?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{H as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-CvH632ro.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-Dht0mfFW-Dn9VZjx5.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"./BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js";import"./MagicLinkTitleSection-GAlgtNgO-BKAs3T24.js";import"./BankAccountSection-BGfiGdYG-BvbymoQK.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
1
+ import{j as u}from"./index-DoFw58Mw.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-ppaaVv4t-BnOUfoFz.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"./BankAccountWarningSection-a39s142r-4WcZfRoK.js";import"./MagicLinkTitleSection-CvW_f4xF-BDkWHabu.js";import"./BankAccountSection-VSbZyxoY-BkprL32R.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
@@ -1,4 +1,4 @@
1
- import{M as _,u as Re,X as ne,C as g,H as be,l as se,c5 as xt,a as yt,gv as Be,gw as Ae,gx as Ee,gy as fe,gz as bt,ab as ft,c3 as wt,j as t,aW as Ct,F as $t,gA as St,gB as ue,p as l,c4 as Dt,a7 as jt,o,bg as S,cg as Tt,ga as we,gC as Lt,c6 as Vt,c7 as kt,c8 as It,gD as Ot,fG as Pt,ce as zt,gE as Ft,gF as Mt,g as M,dp as _t,dn as Ht,cs as Wt,aJ as de,aq as Ue,w as qe,dq as Nt,f2 as Rt,gG as Bt,gH as At,s as Et,gI as Ut,ah as Ye,gJ as qt,Q as Ce,h as Ge}from"./index-CvH632ro.js";import{b as $,n as a,j as Yt}from"./vendor-CnQcJ2Lu.js";import{k as Gt}from"./SubTabSwitcher-D_djwADF-D-PRIZuk.js";import{l as Qt}from"./TransactionList-BVJHbP4d-Ch-jGNeO.js";import{R as Jt}from"./TrendWithTransactions-Cm8gWBLF-D6KvkDCe.js";import{o as Xt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{C as Zt}from"./LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.js";import{Y as es}from"./LabeledDropDownFormattedTextField-DyvjlBIK-CeaVwHLj.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"./BoxItem-dOIVDQzt-BM2Or2XI.js";import"./commonDimensions-C9IpJAVN-CUmNJDhl.js";import"./TrendChart-N85Ktah2-DbfJUW0C.js";import"./chartTypes-BrP58mNO-B-70_tkk.js";import"./toCOABalancesWithID-CYXJAMXX-B3cjnX0k.js";import"./toChartData-oAAd1YDY-DlgK3yY0.js";import"./NoDataChart-DMqFH96W--xyVCmNv.js";import"./InsightsSection-obWu95-o-miX-wlBZ.js";import"./NavigationDots-BDLMSply-CVhKiAdV.js";const ts=a.div`
1
+ import{M as _,u as Re,X as ne,C as g,H as be,l as se,c5 as xt,a as yt,gv as Be,gw as Ae,gx as Ee,gy as fe,gz as bt,ab as ft,c3 as wt,j as t,aW as Ct,F as $t,gA as St,gB as ue,p as l,c4 as Dt,a7 as jt,o,bg as S,cg as Tt,ga as we,gC as Lt,c6 as Vt,c7 as kt,c8 as It,gD as Ot,fG as Pt,ce as zt,gE as Ft,gF as Mt,g as M,dp as _t,dn as Ht,cs as Wt,aJ as de,aq as Ue,w as qe,dq as Nt,f2 as Rt,gG as Bt,gH as At,s as Et,gI as Ut,ah as Ye,gJ as qt,Q as Ce,h as Ge}from"./index-DoFw58Mw.js";import{b as $,n as a,j as Yt}from"./vendor-CnQcJ2Lu.js";import{k as Gt}from"./SubTabSwitcher-BPVG5BHS-C6Ng45Yx.js";import{l as Qt}from"./TransactionList-C34ivmk5-BL7wpE6F.js";import{R as Jt}from"./TrendWithTransactions-BOGQK2Zt-itTZBsuV.js";import{o as Xt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{C as Zt}from"./LabeledAddressValueField-BODlYe8J-C_77UpWi.js";import{Y as es}from"./LabeledDropDownFormattedTextField-Dpt7UG-o-BPi_XfUF.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"./BoxItem-CHPfWPEF-lXs1y6iB.js";import"./commonDimensions-D4uH020E-szItJUN9.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";const ts=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{j as S}from"./index-CvH632ro.js";import{b as C}from"./vendor-CnQcJ2Lu.js";import{y as b}from"./DomesticWireDetailsPage-Ckv29rd5-DrJPPbKc.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"./BankAccountSection-BGfiGdYG-BvbymoQK.js";import"./MagicLinkTitleSection-GAlgtNgO-BKAs3T24.js";import"./BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js";import"./MailingDetailsSection-DwEajxFH-BrjelhuF.js";import"./LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
1
+ import{j as S}from"./index-DoFw58Mw.js";import{b as C}from"./vendor-CnQcJ2Lu.js";import{y as b}from"./DomesticWireDetailsPage-BZ8jSo8r-Dcvy9KUR.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"./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 V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
@@ -1,4 +1,4 @@
1
- import{X as oe,u as ze,M as ne,a as ke,cw as K,gK as de,c3 as Ae,C as b,j as t,aW as Be,Y as Ee,F as Oe,c6 as C,o as s,ca as Re,gD as We,fG as qe,ce as Me,gE as He,gF as Ue,cm as Ke,a7 as Ge,co as Xe,cx as Ye,p as c,a6 as Ze,bg as F,c1 as Je,gL as Qe,g as I,eS as _e,ah as et,s as ce,eB as tt,gM as st,gN as lt,gO as M,cy as it}from"./index-CvH632ro.js";import{b as y,n as a}from"./vendor-CnQcJ2Lu.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-DyvjlBIK-CeaVwHLj.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 te={largeLabelWidth:new b(160,210,230),paddingBottom:new b(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:h,style:R}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:h,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{X as oe,u as ze,M as ne,a as ke,cw as K,gK as de,c3 as Ae,C as b,j as t,aW as Be,Y as Ee,F as Oe,c6 as C,o as s,ca as Re,gD as We,fG as qe,ce as Me,gE as He,gF as Ue,cm as Ke,a7 as Ge,co as Xe,cx as Ye,p as c,a6 as Ze,bg as F,c1 as Je,gL as Qe,g as I,eS as _e,ah as et,s as ce,eB as tt,gM as st,gN as lt,gO as M,cy as it}from"./index-DoFw58Mw.js";import{b as y,n as a}from"./vendor-CnQcJ2Lu.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-Dpt7UG-o-BPi_XfUF.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 te={largeLabelWidth:new b(160,210,230),paddingBottom:new b(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:h,style:R}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:h,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{X as le,y as On,u as mn,a as nt,hy as Pe,c3 as tt,A as Nn,hz as re,hA as ve,hB as fe,hC as be,hD as me,M as je,j as n,hu as ot,F as rt,aW as it,T as st,bO as lt,bQ as at,bR as dt,eY as ct,Y as ie,bf as mt,bL as pt,ao as ut,dj as ht,bT as gt,C as w,e as wt,D as Oe,o as t,aa as In,s as De,a9 as xt,p as c,w as Re,bY as vt,l as zn,dp as Pn,bg as ze,hE as Tn,b$ as ft,bC as bt,d0 as $t,av as Xe,aN as pn,g as B,ee as Dn,fg as St,df as wn,cs as rn,hF as yt,hG as sn,n as jt,bt as Be,c$ as Rt,eq as xn,b5 as Ct,dr as Vt,K as vn,hH as kt,cg as Mt,co as Ot,cp as Nt,ev as It,m as Ln,hI as zt,b2 as se,hJ as fn,gc as Pt,b0 as Tt,b4 as Dt,dq as Lt,v as An,Q as At,eC as _t,ac as dn}from"./index-CvH632ro.js";import{b as f,n as o,j as cn}from"./vendor-CnQcJ2Lu.js";import{r as Ft}from"./mui-C5LQ0bMa.js";import{A as Bt}from"./Menu-DgxJQlbW-DIVRGIXR.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 _n=({steps:e})=>{const s=le();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
1
+ import{X as le,y as On,u as mn,a as nt,hy as Pe,c3 as tt,A as Nn,hz as re,hA as ve,hB as fe,hC as be,hD as me,M as je,j as n,hu as ot,F as rt,aW as it,T as st,bO as lt,bQ as at,bR as dt,eY as ct,Y as ie,bf as mt,bL as pt,ao as ut,dj as ht,bT as gt,C as w,e as wt,D as Oe,o as t,aa as In,s as De,a9 as xt,p as c,w as Re,bY as vt,l as zn,dp as Pn,bg as ze,hE as Tn,b$ as ft,bC as bt,d0 as $t,av as Xe,aN as pn,g as B,ee as Dn,fg as St,df as wn,cs as rn,hF as yt,hG as sn,n as jt,bt as Be,c$ as Rt,eq as xn,b5 as Ct,dr as Vt,K as vn,hH as kt,cg as Mt,co as Ot,cp as Nt,ev as It,m as Ln,hI as zt,b2 as se,hJ as fn,gc as Pt,b0 as Tt,b4 as Dt,dq as Lt,v as An,Q as At,eC as _t,ac as dn}from"./index-DoFw58Mw.js";import{b as f,n as o,j as cn}from"./vendor-CnQcJ2Lu.js";import{r as Ft}from"./mui-C5LQ0bMa.js";import{A as Bt}from"./Menu-BOh_KLZu-BrkD9kYL.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 _n=({steps:e})=>{const s=le();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,X as Y,a as he,M as U,c3 as ye,H as ge,l as G,bO as be,bQ as fe,bR as xe,F as ve,a7 as we,C as p,cw as le,cx as Ce,o as y,as as $e,cg as oe,u as ne,cy as je,cz as J,cm as Q,am as H,c6 as De,cA as Te,p as r,co as Se,Y as ke,g as V,e as Fe,Q as Oe,bt as Ae,w as Le,b5 as ze}from"./index-CvH632ro.js";import{b as I,n as g}from"./vendor-CnQcJ2Lu.js";import{W as We,A as Re}from"./BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js";import{T as Ie}from"./MailingDetailsSection-DwEajxFH-BrjelhuF.js";import{S as Pe}from"./CurrencySelectField-iFR770y_-C1fOBvED.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"./LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.js";const O={width:new p(343,580,726),height:new p(r[6],r[6]),controlHeight:new p(r[6],r[6]),paddingTopBottom:new p(r[2],r[2]),marginRight:new p(r[2],r[2]),labelMarginLeft:new p(r[3],r[4]),labelMarginRight:new p(r[3],r[4]),labelMarginTop:new p(r[2],r[2])},re={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=Y(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
1
+ import{j as t,X as Y,a as he,M as U,c3 as ye,H as ge,l as G,bO as be,bQ as fe,bR as xe,F as ve,a7 as we,C as p,cw as le,cx as Ce,o as y,as as $e,cg as oe,u as ne,cy as je,cz as J,cm as Q,am as H,c6 as De,cA as Te,p as r,co as Se,Y as ke,g as V,e as Fe,Q as Oe,bt as Ae,w as Le,b5 as ze}from"./index-DoFw58Mw.js";import{b as I,n as g}from"./vendor-CnQcJ2Lu.js";import{W as We,A as Re}from"./BankAccountWarningSection-a39s142r-4WcZfRoK.js";import{T as Ie}from"./MailingDetailsSection-Di5KwEqu-Di8UL6YK.js";import{S as Pe}from"./CurrencySelectField-CH65s5Fc-DGotu77i.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"./LabeledAddressValueField-BODlYe8J-C_77UpWi.js";const O={width:new p(343,580,726),height:new p(r[6],r[6]),controlHeight:new p(r[6],r[6]),paddingTopBottom:new p(r[2],r[2]),marginRight:new p(r[2],r[2]),labelMarginLeft:new p(r[3],r[4]),labelMarginRight:new p(r[3],r[4]),labelMarginTop:new p(r[2],r[2])},re={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=Y(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{j as l}from"./index-CvH632ro.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-CywJ88_i-BroHKack.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"./BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js";import"./MailingDetailsSection-DwEajxFH-BrjelhuF.js";import"./LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.js";import"./MagicLinkTitleSection-GAlgtNgO-BKAs3T24.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
1
+ import{j as l}from"./index-DoFw58Mw.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-BXBsK560-i2JR8sEk.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"./BankAccountWarningSection-a39s142r-4WcZfRoK.js";import"./MailingDetailsSection-Di5KwEqu-Di8UL6YK.js";import"./LabeledAddressValueField-BODlYe8J-C_77UpWi.js";import"./MagicLinkTitleSection-CvW_f4xF-BDkWHabu.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{X as ie,u as oe,M as te,C as c,g5 as w,ab as T,j as i,hl as g,hk as m,o as n,Q as re,g as ne,dw as se,w as le,p as a}from"./index-CvH632ro.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},k={title:new re("standardMedium","largeMedium")},de=l.div`
1
+ import{X as ie,u as oe,M as te,C as c,g5 as w,ab as T,j as i,hl as g,hk as m,o as n,Q as re,g as ne,dw as se,w as le,p as a}from"./index-DoFw58Mw.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},k={title:new re("standardMedium","largeMedium")},de=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{X as j,l as B,M as S,j as s,eO as I,eS as D,K as M,v as E,o as n,C as $,Q as L,h as P,a6 as z,c0 as N,g as w,k as A,ee as R,eC as T,p as g}from"./index-CvH632ro.js";import{n as t}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 e=S.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},O={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=j(),C=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=Q(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=F(v,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=G(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=V(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(q,{children:[s.jsx(H,{windowSize:l,children:s.jsx(K,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(U,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(X,{children:[s.jsx(_,{children:C>0?s.jsxs(b,{children:[s.jsx(b,{children:I(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${C}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
1
+ import{X as j,l as B,M as S,j as s,eO as I,eS as D,K as M,v as E,o as n,C as $,Q as L,h as P,a6 as z,c0 as N,g as w,k as A,ee as R,eC as T,p as g}from"./index-DoFw58Mw.js";import{n as t}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 e=S.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},O={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=j(),C=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=Q(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=F(v,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=G(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=V(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(q,{children:[s.jsx(H,{windowSize:l,children:s.jsx(K,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(U,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(X,{children:[s.jsx(_,{children:C>0?s.jsxs(b,{children:[s.jsx(b,{children:I(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${C}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
2
2
  ${I(e.cockpit.review.warningsDrawer.issueFound)}`})}),u.map((i,c)=>s.jsx(W,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(D,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...E.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},Q=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},F=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},G=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},V=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},q=t.div`
3
3
  display: flex;
4
4
  flex-direction: column;