@zeniai/web-cockpit-ui 1.14.67-qa → 1.14.68-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 (227) hide show
  1. package/dist/assets/{ACHDetailsPage-B3MRYG7O-B7t1LWBD.js → ACHDetailsPage-CMgJ1cGK-DvE4dyD3.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-ByLk7bRL-BUIANK_5.js → AIPerformancePage-RHA80n5c-CG5ZlPVX.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-CH881ucN-CWMeX4zA.js → AccountInfoPage-Bc9_Gwe0-DSt5dX0v.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-C-yeV-YN-pfTO0G6B.js → AccountInfoPageContent-D9p4wiMM-BHYWfKwE.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-CQspLG36-BK7PHBYG.js → AccountLockedInfoModal-B4ZZXnWs-BA2VyS6K.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Bw0R1HT--UdAYATPQ.js → AccountReconDetailsDrawerPage-DhH6Wuc9-BWOjL5iD.js} +1 -1
  7. package/dist/assets/{AccountRow-CTNE4Tss-CRKFajbJ.js → AccountRow-BKbPbhBv-Dvg1JlaL.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-B2-W28Ow-Dg2jchYJ.js → AccountsPromoCardStack-DkrHu9Zr-7G8ZQBXB.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CBcxUuUC-zo0rT_Ob.js → AddAddressForCardDrawer-DQEeiq5T-D94YezPj.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BWkSNjgD-DyKeCR58.js → AddToWalletPage-BypNXFHM-DAFm4mUF.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-C7XlVJxm-BjvVXWw4.js → AgingReportsPage-DJMmT7Xn-DxVMgvLa.js} +1 -1
  12. package/dist/assets/{AllUserItems-oIUDu9Hy-C2c0-Unx.js → AllUserItems-DWOtJQrH-cHCbvt9M.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-Qmh-Dv3X-CY64Spgc.js → ApAgingDetailPage-2m52Vsk0-0hMwa5um.js} +1 -1
  14. package/dist/assets/{AppBasePage-C8Pv9qkT-Ga9Pwu2G.js → AppBasePage-DBr8xmLH-B_SPGPtP.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-CHz5S2vI-DqRPyRRM.js → AppDrawerContent-B2cIpSc2-AxekPM8B.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-C9JsCNLO-NCs7C5qK.js → ApprovalRulesSettingsPage-j2VsqliU-DzQe5Lhs.js} +1 -1
  17. package/dist/assets/{ArAgingChart-f3SbRki9-qStYCNyh.js → ArAgingChart-CPs_hBl5-C9-CWwCv.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-CTMtTeBR-BoOxEiPV.js → ArAgingDetailPage-B32Ax8qO-CS7leoAb.js} +1 -1
  19. package/dist/assets/{AttachmentView-CZ6HLMlg-B490lT6k.js → AttachmentView-Ck8fKhU--B5cWgA4i.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DMa6vU71-8lFdYQF_.js → BankAccountSection-6x7gLafC-DfFr7yFv.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CqTSk_2C-aSAVNh2L.js → BankAccountWarningSection-CVPx-LJA-BK70plvl.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-C2tLBkdJ-Dw5K8VdD.js → BankConnectionsSettingsPage-CBVBOobW-E6-u_B-L.js} +1 -1
  23. package/dist/assets/{BillDetailPage-pfZBbg1r-BSC9r9Yt.js → BillDetailPage-CZ4xtsXl-BzmSI5dk.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-cQnt1TBQ-AqXdImxB.js → BillPayApprovalRuleDetailPage-DM104sdv-DKIJyKp_.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CLpGsVKi-DQB2pwkc.js → BillPayApprovalRulesPage-BkH2fZoE-D21D82vU.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-BYQEO1xh-YaBpYagz.js → BillPayPromoPage-CdXJx47q-BCA1e3os.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-BS70_HuX-CixLd1_x.js → BillPaySetUpPage-BH9OG18h-CxmyqItp.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-ChtvIWW_-DPmL9mzj.js → BillingSettingsPage-V2clNBp1-Clfxdn5L.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-BeMaaqpS-B-xQ-PY8.js → BillsBulkReviewDrawerPage-DDYnb1qu-9wc5io28.js} +1 -1
  30. package/dist/assets/{BoxItem-i1_Whvbs-Coc5rPJr.js → BoxItem-D1raF0Bb-BQ4qZrGw.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-DJ0qBDiF-ChxrxRig.js → BusinessVerificationPage-oDBXfR2b-WSpHeJmw.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-CU5rFHAb-W7E8_WNh.js → CardNumberSubText-DIzhO62e-wtFD9j1L.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-Dhzwqgty-ChKAFTu1.js → CashbackDetailPage-FA_LJDen-CqlW84Xh.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-CN1cFTtP-CwrXl2qp.js → ChargeCardDetailPage-DQZk45ty-D7oB5q5_.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-FZDjtNdh-CTYeC9PJ.js → ChargeCardListPage-VoDFataV-Dk3YOBQl.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-DfWqZ2zc-BEiEfu9E.js → ChargeCardListTable-6S5R0MEF-CNIXp4KJ.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-CXQ00gUz-CuA13-9g.js → ChargeCardPromoPage-CRe-562K-DXQc_7l7.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-5-47MrwS-BMDQ88dK.js → ChargeCardSetupPage-CGRfP0Mr-Cr0xmzwa.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-DlhV6rXM-DwtVqWoh.js → ChargeCardStatementsPage-BkcDt0NN-DYSsmoFD.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-DwrchU8w-rfEpjdHS.js → ChargeCardUtils-Rb7oaOW_-d4fs5S75.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-Yi_R09xG-D-5pbKeF.js → ChaseOverlay-BU6mQm8r-CttX-8es.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-B0TD1myX-J8i1thUq.js → CheckDepositDrawerPage-ZDT9NLSR-CwGwpdhL.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-zWMH2vIR-C22nQkwG.js → CollapsableReportTable-BiTfvads-DGZbCVGC.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-BXU8YDaR-CjIP3fYD.js → CompanyOfficerDetailsSection-BLHPb4Kw-C4r0ctAA.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-DohGHFRG-DZKQLoCJ.js → CompanyPassportCard-C-JE0Sme-CKYNxh60.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-D68YD2i4-DrDwA-EY.js → CompanyPassportPage-6TWctrIO-nUfMjZ-F.js} +1 -1
  47. package/dist/assets/{CompleteProfile-CapeQwIz-DiLGOUb9.js → CompleteProfile-C4tYRyUp-CFgqyQo6.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-Cwmz88Dx-DzbW97Eo.js → ConfettiBurst-VH11V5gf-BTNKAUt2.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-BFKyvGSD-Ti0Mcnpv.js → CreateOrEditVendorPage-CrVk03Va-CT1egSYX.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-3OOMyGxK-DHP6VTU5.js → CreditCardPaymentDrawerPage-7Ot4RKHT-DlFI1zLq.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-B_dwX8WO-CbDsLJRc.js → CreditCardPaymentPlgSection-DRAYmlBe-BG5WzWK1.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-Cc7VZ0zc-DX1RPqfP.js → CurrencySelectField-Dx5oODVS-DsU2RMPj.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-DUdbWdvR-C8tcUTrq.js → CustomerOnboardingActivationPage-BVyt3npx-C6Pqv3rR.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-D8PRZARC-ijyZPnwq.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DWjl7yrv-_5wRcXML.js → CustomerOnboardingDetailPageSkeleton-D5j0brjB-BXxnb6B4.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-Bb-S05FB-B2EtfkL_.js → CustomerOnboardingNoStepsPage-T_yn9Ayl-jI4GjWKV.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-BqRpUo3o-Whj2fxGl.js → CustomerOnboardingPage-B93IuVlm-Bg6VHUbL.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-Bn_Iwd9N-BkCYh9MB.js → CustomerOnboardingProductSuitePage-D7QT4FZr-BfWKHbMb.js} +1 -1
  59. package/dist/assets/{Dashboard-ahtVxl05-Lpa-qDe3.js → Dashboard-DfZk4OOm-Daizwkbi.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-UkrX4vIf-BeLyw4i2.js → DashboardReportPage-Db_YbCM7-D2iQi9oL.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-CB9orLpr-DMsVLHOR.js → DashboardSidebarBackgroundAnimation-BiJt5vqz-BQhusBjx.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-CNf7CHUT-CsIGmFh1.js → DepositAccTransactionItem-BEUsQEp1-D1GMXuRx.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-bVxE-cgF-BZQAVu_w.js → DepositAccTransactionListPage-sLO10QfC-GJOP8-Zl.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-CJnEtp5K-DPibwW35.js → DomesticWireDetailsPage-I5F9LWGB-BmpAh5gH.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-8wBIc5lL-BcsiviHd.js → DownloadOverlay-YH6m6XQU-Cx2sd3XE.js} +1 -1
  66. package/dist/assets/{DrawerPage-AukSslCE-BCUN3BvD.js → DrawerPage-CihI8QEj-Iswy3v3a.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-C5IQY5wt-B1OKubyh.js → EditPeoplePage-CbeK4UaS-B_RUNo2p.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-SR0uyRt1-ffWNcrRB.js → EditReimbursementDetailPage-C-CnZ_t5-D3lw1f1R.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-DOhakqPm-DK6Ztzob.js → EntityDetailPage-CDQnVOQV-CR6mJntz.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-CjH6bwx9-tOgkcODx.js → EntitySummarySection-B-tapT4f-TQwdzZkw.js} +1 -1
  71. package/dist/assets/ExpenseAutomationOverviewPage-DMUgRsBS-B9eST0_M.js +281 -0
  72. package/dist/assets/{ExpenseAutomationPage-BYWFEssP-D4zr05Dl.js → ExpenseAutomationPage-B8RlasfH-B31-xcCD.js} +2 -2
  73. package/dist/assets/{ExpressPayPage-C2CdcS2q-DlWB2g3N.js → ExpressPayPage--7td4Tic-Bd85iI36.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-BDKOkYU7-BoVYVYDG.js → FeaturePreviewPage-njh-UfiA-JD7qnteJ.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-DlIC6oJU-DrUbAfgn.js → FollowStepsSection-CrDjC1rw-5m0nt8q0.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-CGuksEmC-BPpU8aco.js → GlobalReviewListPage-DoiCdkZa-vFmWLDpe.js} +1 -1
  77. package/dist/assets/{HelpButton-BY3Ymwq7-DCzAJuNO.js → HelpButton-B4oEkhlX-DiN0FZzX.js} +1 -1
  78. package/dist/assets/{InformationCardStack-BMdbEkfR-CCAePBQH.js → InformationCardStack-CGfX85vD-sk26uM04.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-CkLV264k-BnxMhtgq.js → InsightsCardStack-B3iYMmmp-DB0Pxba9.js} +1 -1
  80. package/dist/assets/{InsightsSection-CR-kPvnj-B41E7xie.js → InsightsSection-BuY7NDTY-xxIMuImU.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-D3R03fGU-CfEvTYuW.js → IntegrationsSettingsPage-BgJRrHaz-CNKk0bHJ.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-8WfR9slT-CzVW-xiA.js → InternationalWireSwiftDetailsPage-CgNM0g0m-CHDxQMtp.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage-DMiuLUlB-DhpJhfiK.js → InternationalWireVerificationPage-XXJnf58G-CEcqAYu0.js} +1 -1
  84. package/dist/assets/{InviteFormPage-B6cxtPk--jtJKxo6s.js → InviteFormPage-pO1pxwjB-BwaWlosr.js} +1 -1
  85. package/dist/assets/{InvitePageListView-dkMy2z5--D9l5Nhps.js → InvitePageListView-zHrJmtwL-DCkyQB-Q.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-ayyL83Zy-CR1KoJcV.js → InvitePeoplePage-BjFXlgAf-DrxmwUbY.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-BpIHhDSm-BqNUk3zs.js → InvoiceUploadSection-DXkK4aYY-CjfhGZLS.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-BVyuOZQS-BuUfdX1N.js → IssueChargeCardPage-BW7JrdRK-DJX15h7z.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-BcRiL0qG-Dlly21MO.js → LabeledAddressValue-Cg2Tq3Gt-PmS2S87l.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-_3232w63-O3TCiy_m.js → LabeledAddressValueField-CkvZpsW_-BgITszim.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-BklmcaDu-kQN7jea_.js → LabeledControlledCheckBoxField-CpFAWsn--BIBIaVtJ.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-DAw3PzRB-BZoToE-U.js → LabeledCreatableSingleSelectField-DNWRY7Ey-x8ff0KGS.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-CJsB2pbM-WcbIJAUK.js → LabeledDocumentField-m1_WB5Gt-OX3WpFvE.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-CaInnQPt-DCEyrF46.js → LabeledDropDownFormattedTextField-7XrwzS1l-C2if2Gx3.js} +1 -1
  95. package/dist/assets/{LabeledText-DI154Uwg-CcdFgCVF.js → LabeledText-DdKqgFoU-Zj0UXGBI.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-ZH0-Q1Pd-BFKto1MD.js → LabeledUserSingleSelectWithSubtitlesField-COlqdUo_-n4PTYfeV.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-DiOhi2zF-HyQktFgo.js → LabeledZeniRolesDropDownField-C7JIbbpV-C7IjaWN4.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-BnjQF3RS-DeUTOjBB.js → LinkJETransactionPage-D1qRHbaA-BcCcbITr.js} +1 -1
  99. package/dist/assets/{LockCardPage-DKV-hT_y-D435M9Su.js → LockCardPage-CFlvOVsw-Cwyp_QP3.js} +1 -1
  100. package/dist/assets/{LowBalancePopup-D02ZsO-u-kYJ1Pe1o.js → LowBalancePopup-BXPrjrWM-DGkHBjkh.js} +1 -1
  101. package/dist/assets/{MagicLinkACHDetailsPage-DCA7Bsmf-BRRKQI7d.js → MagicLinkACHDetailsPage-b5gWcTs9-CooYGShp.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BqyXqpus-BPorgKv6.js → MagicLinkDomesticWireDetailsPage-DunZNVc1-Dl-pCVDN.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-SO9CfgsA-BivZXBIH.js → MagicLinkInternationalWireDetailsPage-BewhG2Y--vMtR9NDc.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-BJeY48z_-Dha2_ZaJ.js → MagicLinkSuccessPage-DM1KJn6n-ChhLFOPl.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-CeaDLMlx-DNektGaM.js → MagicLinkTitleSection-CymRElk--jScovfXE.js} +1 -1
  106. package/dist/assets/{MailingDetailsSection-C1cnBO3h-L7u76QW9.js → MailingDetailsSection-BOu2MkGP-C7zHzgDI.js} +1 -1
  107. package/dist/assets/{MeetingCalenderPopup-Bh-VTzSP-xiAxSq1x.js → MeetingCalenderPopup-CNVAnAtx-B8wbqPcJ.js} +1 -1
  108. package/dist/assets/{Menu-Br77QlAp-C8sfPd4I.js → Menu-Cu6MQ0Mp-CViA14mm.js} +1 -1
  109. package/dist/assets/{MyBankConnectionsSettingsPage-Ap91ms0N-BuM6w_tw.js → MyBankConnectionsSettingsPage-IhOwVqKo-m-pFuT-G.js} +1 -1
  110. package/dist/assets/{MyPendingActivationChargeCardListPage-a0yE_EpI-Chyq6Wbn.js → MyPendingActivationChargeCardListPage-D7EOGf4a-Cpzipa85.js} +1 -1
  111. package/dist/assets/{MyProfileSettingsPage-WMrBFKSQ-DuGrwJEJ.js → MyProfileSettingsPage-bCV-I8Ji-CKEkJTrJ.js} +1 -1
  112. package/dist/assets/{NavBarWithPicker-BAWR5XvY-B7NG-B6x.js → NavBarWithPicker-CpvxN2Hn-BMZvsfvi.js} +1 -1
  113. package/dist/assets/{NavigationArrow-D79XVJvq-Bfcst1a0.js → NavigationArrow-DJ3GkCuv-BIHV3mTH.js} +1 -1
  114. package/dist/assets/{NavigationDots-DHkA0dj3-mmZt_Uzm.js → NavigationDots-COeMhprl-BHsPcORJ.js} +1 -1
  115. package/dist/assets/{NewGlobalMerchantPage-Bfioqua_-Bw5hz6Li.js → NewGlobalMerchantPage-B0KaR3M3-CFQRHMZr.js} +1 -1
  116. package/dist/assets/{NoDataChart-gu-_4U1R-BXpb0aAl.js → NoDataChart-BqHCJbkE-DNDwIJeS.js} +1 -1
  117. package/dist/assets/{NoDataTable-Chs82RP6-C44RugCE.js → NoDataTable-CLpVffwh-COJyqTzU.js} +1 -1
  118. package/dist/assets/{NotFoundPage-DOjJLgnk-DpyqMB16.js → NotFoundPage-D0Owpo17-DI1zFed6.js} +1 -1
  119. package/dist/assets/{NotificationSettingsPage-C3w3Bzgx-Dd5XzxpG.js → NotificationSettingsPage-XnGjNZTH-eqcQFoGS.js} +1 -1
  120. package/dist/assets/{NotificationsListConfig-BeXvj9Mw-DgI2WDbS.js → NotificationsListConfig-DCB_vMvp-Ck0I72cV.js} +1 -1
  121. package/dist/assets/{NotificationsPage-DiDztamo-WwV5Or_v.js → NotificationsPage-DTky0NXR-DICM88Ru.js} +1 -1
  122. package/dist/assets/{OpExByVendorPage-CRjkPJS8-DId30Ur_.js → OpExByVendorPage-Dqpt3_-D-Cc-OYYOr.js} +1 -1
  123. package/dist/assets/{OverlayContainerPage-CU1AAMcq-BShggEAf.js → OverlayContainerPage-CU1AAMcq-ByCn9AWh.js} +1 -1
  124. package/dist/assets/{PandLWithForecastPage-ByknD0gW-IGglOoPU.js → PandLWithForecastPage-DtfmkqVV-Ztd4T5fF.js} +1 -1
  125. package/dist/assets/{PaymentAccountSetupBillingAddressSection-tL7XJ7DM-C7TAJ7ae.js → PaymentAccountSetupBillingAddressSection-BvcrD1e7-D-XfZs73.js} +1 -1
  126. package/dist/assets/{PeoplePage-EiZHvmVY-DE-Zb9JA.js → PeoplePage-CWHu0Sq9-BwJgCh_z.js} +1 -1
  127. package/dist/assets/{PortfolioAllocationFormPage-CKjc0QtM-C3Maa9sc.js → PortfolioAllocationFormPage-BegnBtWP-DHRCO0G2.js} +1 -1
  128. package/dist/assets/{PortfolioDetails-9g-2bZ7_-B3nM8h3T.js → PortfolioDetails-C4QFrCtd-DGLpyQbF.js} +1 -1
  129. package/dist/assets/{ProductsCarousel-C5VZxn-U-Cz8vVScX.js → ProductsCarousel-vY6fb_eY-DYYAx0lQ.js} +1 -1
  130. package/dist/assets/{PromoBaseCards-DpLAAMn3-DcWHIum-.js → PromoBaseCards-C9tkV0u3-iFoGwlzp.js} +1 -1
  131. package/dist/assets/{QBOConnectionDialog-MuhlhaDK-T_ygV9r9.js → QBOConnectionDialog-DGgIZaZo-Dt4A8Nio.js} +1 -1
  132. package/dist/assets/{QBOSetupSection-BXzQkbN_-DJwvucVp.js → QBOSetupSection-Bzn_0eHF-nnqVfVf9.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CiWLeNGv-BpTw0AdX.js → ReimbursementApprovalRuleDetailPage-YG-ZmSOq-CbfFbwTr.js} +1 -1
  134. package/dist/assets/{ReimbursementApprovalRulesPage-DpTfzsJj-C9HQIGaT.js → ReimbursementApprovalRulesPage-BHLjY5jH-BLph2DN0.js} +1 -1
  135. package/dist/assets/{ReimbursementDetailPage-DmiM1S0p-DB6BDA9n.js → ReimbursementDetailPage-BWH9h8Ql-CVKxQw1E.js} +1 -1
  136. package/dist/assets/{ReimbursementPromoPage-DDskL1Cg-CorVMinX.js → ReimbursementPromoPage-hg4-K7R2-DTPj26Em.js} +1 -1
  137. package/dist/assets/{ReimbursementSetUpPage-aGtxNqA2-CygYhlr6.js → ReimbursementSetUpPage-DEOEKkRD-Cl7ZSDpF.js} +1 -1
  138. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BsEEDkzr-Omfqswjk.js → ReimbursementsBulkReviewDrawerPage-KQYb9ZYP-IDXXNEcn.js} +1 -1
  139. package/dist/assets/{ReloadCard-BUY63G2x-CAnQVWa2.js → ReloadCard-CpK3iKky-IxbQEQsz.js} +1 -1
  140. package/dist/assets/{ReportTableViewSelector-QiyxxiAv-DYDq9Dh_.js → ReportTableViewSelector-oEZJG-zS-doZe10k2.js} +1 -1
  141. package/dist/assets/{ReportsPage-CyjlbTY3-C-OSX7y3.js → ReportsPage-DNoDjph9-BdqaHLzB.js} +1 -1
  142. package/dist/assets/{RevenueChart-BEv2FSM3-C9YrGN1o.js → RevenueChart-BlGrs9ak-Bl2udpd4.js} +1 -1
  143. package/dist/assets/{ReviewDetailsPage-BJJpKuVh-DaMKhS39.js → ReviewDetailsPage-CkXJg8qx-DzIncbv1.js} +1 -1
  144. package/dist/assets/{ReviewOverlay-BW4w_HbW-BZArfYeZ.js → ReviewOverlay-CCY42ZWV-DcdwSm0u.js} +1 -1
  145. package/dist/assets/{RoleWithToolTip-DcDcU4iM-Da3e6NNo.js → RoleWithToolTip-DA-5sRXq-BkZCpotj.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CZQOJpBV-CRAyeQtR.js → ScheduleDetailsFixedAssetsPage-SJlqU94b-_UJNRcDq.js} +1 -1
  147. package/dist/assets/{ScheduleDetailsPage-CHuoVnZb-BHG9OtRj.js → ScheduleDetailsPage-CMHXURZB-rbTZPDbO.js} +1 -1
  148. package/dist/assets/{ScheduleSequenceTable-9ZlFlS4G-YJelXBTO.js → ScheduleSequenceTable-BNbnuQqL-BBqx-jw9.js} +1 -1
  149. package/dist/assets/{ScreenRoutes-Dlkxg7Uw.js → ScreenRoutes-B02XSFm8.js} +1 -1
  150. package/dist/assets/{SetUpAccountSection-Dt6HOtE0-Diaz_GhB.js → SetUpAccountSection-DWaLPi04-BwJOpM1g.js} +1 -1
  151. package/dist/assets/{SetUpDefaultSection-C944LR7Y-DmPt9yvH.js → SetUpDefaultSection-He_L-zlp-BKSpIPTj.js} +1 -1
  152. package/dist/assets/{SignIn-BgW9BTlN-Cs8bv74X.js → SignIn-DK_-VKvi-m8DB3WYN.js} +18 -18
  153. package/dist/assets/{SignInScreen-P9I1qyle.js → SignInScreen-BGkX5yWz.js} +1 -1
  154. package/dist/assets/{SpendManagementListViewPage-D99vUAok-D5TMBN5J.js → SpendManagementListViewPage-BQ4n_NDa-CiEm3Oy5.js} +3 -3
  155. package/dist/assets/{SpendManagementPerTabPage-BVp4Mi_3-BXU0V6Yx.js → SpendManagementPerTabPage-rr4-wmBx-CYhRm1T-.js} +1 -1
  156. package/dist/assets/{SpendManagementSection-BgiEVgoh-D610rqiy.js → SpendManagementSection-B2iLYwhO-CwRH1IuD.js} +1 -1
  157. package/dist/assets/{SpendMgmtSetupAccountSection-D7RNQvNU-zoSHCkGf.js → SpendMgmtSetupAccountSection-bwI5SMzd-BrpYl8cj.js} +1 -1
  158. package/dist/assets/{StatementItem-Btk7PnAh-CYEldI5P.js → StatementItem-Crb860tq-DQs1oo3F.js} +1 -1
  159. package/dist/assets/{StatementsPage-Cqf2d6IZ-D508cWZS.js → StatementsPage-DQxoheUL-DwzozzHj.js} +1 -1
  160. package/dist/assets/{StatusSwitcher-k1u49c8V-CS3rR8si.js → StatusSwitcher-CpSTk6fh-Dyjr7_XU.js} +1 -1
  161. package/dist/assets/{SubTabSwitcher-C9n0mkw2-BIOIUOhq.js → SubTabSwitcher-CvFfDi4R-C5peqFuG.js} +1 -1
  162. package/dist/assets/{SummaryCard-BzsE8HgQ-CY7xej-t.js → SummaryCard-DLrFJAYR-D-2jNhaZ.js} +1 -1
  163. package/dist/assets/{TaskManagementPage-DbxErPL_-Cn7L17ww.js → TaskManagementPage-gmghCTe0-Bn8pl_3Q.js} +1 -1
  164. package/dist/assets/{TimeRangeSwitcher-IlmBkt9N-jzXgPByR.js → TimeRangeSwitcher-pGymI1rn--y-tpwuD.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcher-C8yhmrny-Bo19k0fV.js → TimeframeSwitcher-BNWadFX9-Bu9pVoT_.js} +1 -1
  166. package/dist/assets/{TimeframeSwitcherWithToggle-Yag6iKnC-DlJi5rYu.js → TimeframeSwitcherWithToggle-Bl6jOrhs-2oUZuTWn.js} +1 -1
  167. package/dist/assets/{TopExCard-CKFuDAEh-D9uZ5Exc.js → TopExCard-BR2WZqdU-b3E8O-s_.js} +1 -1
  168. package/dist/assets/{TopExDetailPage-yofOz9fv-DSYGQHLH.js → TopExDetailPage-DclP8tyI-Dymyy75G.js} +1 -1
  169. package/dist/assets/{TransactionDetailPage-VWE8ybri-D-1ubiKL.js → TransactionDetailPage-CRdTaUm_-BDQgTxrs.js} +1 -1
  170. package/dist/assets/{TransactionList-CBlM8Agr-CcsKnlKb.js → TransactionList-CPVAoxeJ-CM-aQqoz.js} +1 -1
  171. package/dist/assets/{TransactionListBig-D7tvHCmm-BlscpzXh.js → TransactionListBig-BBj0CyKr-DHyI3QPN.js} +1 -1
  172. package/dist/assets/{TransactionListPage-B1C1YfFW-xRHZete0.js → TransactionListPage-BV5zYdaJ-CV1vxjjY.js} +1 -1
  173. package/dist/assets/{TransactionVendorDetailPage-CY-BzT4W-DElXVgog.js → TransactionVendorDetailPage-DsO_7w9f-Dh73Dy-E.js} +1 -1
  174. package/dist/assets/{TransferDrawerPage-DMhsu2Ez-pcOm9HFa.js → TransferDrawerPage-Dyb8vOaI-DUPC7UTq.js} +1 -1
  175. package/dist/assets/{TreasuryOverviewPage-BdABAdF5-CyHK7PSZ.js → TreasuryOverviewPage-DWK-wAnQ-CZ_ZaTD6.js} +1 -1
  176. package/dist/assets/{TreasuryPromoPage-BycMsheg-DQzQgI5k.js → TreasuryPromoPage-n2b9dFkR-Bzovr4PU.js} +1 -1
  177. package/dist/assets/{TreasurySetupPage-DdCKylj9-BJ8mRSJ2.js → TreasurySetupPage-DbcesrJc-BaYPZ79R.js} +1 -1
  178. package/dist/assets/{TreasuryStatementsPage-BvoM-QPO-GRsmYEtV.js → TreasuryStatementsPage-D66FOMsz-CmLZ2hKU.js} +1 -1
  179. package/dist/assets/{TreasuryTaxLetterPage-ia-dRgNb-9PURu_eA.js → TreasuryTaxLetterPage-idn6oRse-DewfGtVf.js} +1 -1
  180. package/dist/assets/{TreasuryTransferOrReviewPage-BBmOKWs3-LQw59gmh.js → TreasuryTransferOrReviewPage-D-5wLfD4-CMZ7eL51.js} +1 -1
  181. package/dist/assets/{TrendChart-BvUgR7NR-Dds38jx_.js → TrendChart-DqWZYuvO-D_YQdCrg.js} +1 -1
  182. package/dist/assets/{TrendWithTransactions-CzH_CezC-QSK7oFkg.js → TrendWithTransactions-Dqn9bFON-DGnKntb1.js} +1 -1
  183. package/dist/assets/{UncategorizedAccountsMappingPage-BnzXqGM2-DNtZttrz.js → UncategorizedAccountsMappingPage-CI7PS9WF-BnHlJSL3.js} +1 -1
  184. package/dist/assets/{UnitIntegrationPage-5hPuDT-S-sxZ-hNE9.js → UnitIntegrationPage-byKcxHJ5-DChVg5mK.js} +1 -1
  185. package/dist/assets/{UploadAdditionalDocumentOverlay-Djewfdeg-Cvuq7XZG.js → UploadAdditionalDocumentOverlay-CQJ8BiZt-DRyn5f3-.js} +1 -1
  186. package/dist/assets/{Vendor2FAPopup-B5OkuijD-VLDGOa6x.js → Vendor2FAPopup-Bz2N_Z_B-CV0aEyqI.js} +1 -1
  187. package/dist/assets/{VendorACHDetailsPage-D6EQzAtO-C_IfOA4e.js → VendorACHDetailsPage-sjTazeaT-BEQ33S1y.js} +1 -1
  188. package/dist/assets/{VendorDetailPage-BQO3DDuH-CPNZ4qkT.js → VendorDetailPage-CYI0vhlZ-DgGeSh2H.js} +1 -1
  189. package/dist/assets/{VendorDomesticWireDetailsPage-D3WxsT-q-BcD9InxO.js → VendorDomesticWireDetailsPage-DXtZZKJX-D29KtJGJ.js} +1 -1
  190. package/dist/assets/{VendorFiling1099EditablePage-CgkHu1IC-zko3AnRh.js → VendorFiling1099EditablePage-BQqzBWiK-4huR_joa.js} +1 -1
  191. package/dist/assets/{VendorFirstReviewPage--u5ke09D-Ba2Wafmz.js → VendorFirstReviewPage-BydF-zx0-Ds-OQSQK.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireDetailsPage-dkHrnsSV-ByBD6NHe.js → VendorInternationalWireDetailsPage-CZ3FWng6-Bwx6NEoF.js} +1 -1
  193. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C7gOd27m-B2IxWRgs.js → VendorInternationalWireSwiftDetailsPage-BtiNotg--D_rPoihE.js} +1 -1
  194. package/dist/assets/{VendorsAccountsSection-BeWKBguu-DGCqE_zT.js → VendorsAccountsSection-CQQcqnp7-BLMoserV.js} +1 -1
  195. package/dist/assets/{VerifyDevice-DyNInj6s-Dv02GWQC.js → VerifyDevice-CNlq40ss-hsip325s.js} +1 -1
  196. package/dist/assets/{VideoPlayer-BDT7Wxrv-B9yrG6S9.js → VideoPlayer-ClKEd_qa-CKLw3kO6.js} +1 -1
  197. package/dist/assets/{VideoPopup-DSGUlfzg-Brx1B17J.js → VideoPopup-DEWbEJ75-NGuCGxkN.js} +1 -1
  198. package/dist/assets/{WarningsDrawerPage-yfZ6-vxe-O4QMV9_7.js → WarningsDrawerPage-CByprh_g--bl-9l23.js} +1 -1
  199. package/dist/assets/{ZeniAccountDetailPage-DTf57PZf-BgeGge9w.js → ZeniAccountDetailPage-4TQgTid5-ZbzSb7zq.js} +1 -1
  200. package/dist/assets/{ZeniAccountListViewPage-OLK3W7iK-BNfNVMOO.js → ZeniAccountListViewPage-qD7VoeQ2-ra3nP0TH.js} +1 -1
  201. package/dist/assets/{ZeniAccountNavBarPieces-CdDZwzfE-D1v8vond.js → ZeniAccountNavBarPieces-J53UyPBo-C4rZGiWY.js} +1 -1
  202. package/dist/assets/{ZeniAccountPromoPage-LLR9YF1x-Br0aVBHN.js → ZeniAccountPromoPage-DvMlld08-CziAadpT.js} +1 -1
  203. package/dist/assets/{ZeniAccountSetupPage-BlOzo2P6-CAzyLNKe.js → ZeniAccountSetupPage-Ctj4wYK7-DmK2YWKk.js} +1 -1
  204. package/dist/assets/{ZeniCopyright-DJeoJMcb-BN1p0C5l.js → ZeniCopyright-Dowsov_B-drczQZ77.js} +1 -1
  205. package/dist/assets/{ZeniTransferAmountSlider-DeYuGxZX-CBbNUuRc.js → ZeniTransferAmountSlider-BbMEETxN-CkVTZ0_l.js} +1 -1
  206. package/dist/assets/{analyticsHelper-DssWu6hc.js → analyticsHelper-C5UfLPMm.js} +1 -1
  207. package/dist/assets/{analyticsHelper-CaGXOjR9-Clsb_rNM.js → analyticsHelper-Dtr9Pfx_-DQC5cywL.js} +1 -1
  208. package/dist/assets/{chartTypes-CultIwKc-Cq3_oBZW.js → chartTypes-BOtv_Qyt-DUqfch7p.js} +1 -1
  209. package/dist/assets/{commonDimensions-Bvh80Imh-jW8sAv4e.js → commonDimensions-BVYRkutP-DJ77KjRS.js} +1 -1
  210. package/dist/assets/{detailCommon-Cc3ubqjI-BLBLFUtf.js → detailCommon-BsIpYHeH-D56ZFPv9.js} +1 -1
  211. package/dist/assets/{downloadPdf-CKNipVJW-C7xRlSKq.js → downloadPdf-DQIFB4bS-BYGHS3hy.js} +1 -1
  212. package/dist/assets/{index-CzIBPZCT.js → index-Dx_6v6jJ.js} +200 -200
  213. package/dist/assets/{mapLoadingInProgressToTreeNode-CVc6dVXE-B7MrpV3T.js → mapLoadingInProgressToTreeNode-C5LYHc0Q-Dtx-IqT2.js} +1 -1
  214. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B66AL3K--C-sa1phe.js → mapSectionWithAcOnlyToTreeNode-BOm_ik4B-BjKrpqdg.js} +1 -1
  215. package/dist/assets/{mapSpacerToTreeNode-qh1Ancpy-DTDjrJtH.js → mapSpacerToTreeNode-DbgbUCkC-BMZIT_dX.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-Bo5MD3fO-owqKsJ3y.js → mapTimeframeBalancesToTreeNode-B_PesTPC-F-OdOXwT.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-CozdZtAx-BzwCOCHw.js → mapTimeframeBalancesToTreeNode-Cd_Q_CeL-DwIuc36Q.js} +1 -1
  218. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BiZYk8F8-D8FH7INd.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B1ZGUSLu-DtgXKGHH.js} +1 -1
  219. package/dist/assets/{toCOABalancesWithID-QJXJYQ9T-gEErCy0J.js → toCOABalancesWithID-CD6AMXij-VvTJfohU.js} +1 -1
  220. package/dist/assets/{toChartData-CN15R7RB-CS5Czivs.js → toChartData-B2D5ypu5-DgxwVZtD.js} +1 -1
  221. package/dist/assets/{treasuryColorHelper-DJ8dpJXH-Dn6jYgdD.js → treasuryColorHelper-Bg0esw6P-BrO6amDL.js} +1 -1
  222. package/dist/assets/{uploadAttachment-CpcDDNe_-D7MWDILa.js → uploadAttachment-Cjtei7R6-1iwtAM3Q.js} +1 -1
  223. package/dist/assets/{uploadReceipts-9DTOr0BG-iS8BE4_d.js → uploadReceipts-9DTOr0BG-DDXhnv1e.js} +1 -1
  224. package/dist/index.html +1 -1
  225. package/package.json +2 -2
  226. package/dist/assets/CustomerOnboardingContainerPage-BQe_y3eK-BXQqXJV_.js +0 -1
  227. package/dist/assets/ExpenseAutomationOverviewPage-DIhHFUx3-BNYcztNb.js +0 -281
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-BVp4Mi_3-BXU0V6Yx.js","assets/index-CzIBPZCT.js","assets/mui-Ty75qFQF.js","assets/vendor-Bs1fkIUX.js","assets/analytics-CcevxdRy.js","assets/routing-Dk1A2KYI.js","assets/sentry-BE5FTzpq.js","assets/redux-CEhZD0hA.js","assets/liveblocks-8ht9CoL5.js","assets/crypto-cQYYQPTZ.js","assets/index-DVThwdcI.css","assets/StatusSwitcher-k1u49c8V-CS3rR8si.js","assets/useLongPress-GCK2COYQ-B0RUPzZV.js"])))=>i.map(i=>d[i]);
2
- import{c as Ue,ax as Ge,q as z,l as y,O as U,gr as He,gt as Xe,j as o,gN as Ke,bF as Ve,C as We,o as t,dS as Ye,h1 as F,bm as qe,gC as Je,y as C,h2 as Ze,fX as Qe,fY as et,h as S,ap as tt,u as x,a6 as ot,A as at,c7 as it,am as nt,cw as st,fZ as lt,M as rt,an as ct}from"./index-CzIBPZCT.js";import{b as u,n as r,k as G}from"./vendor-Bs1fkIUX.js";import{_ as dt}from"./liveblocks-8ht9CoL5.js";import{X as mt}from"./SpendManagementSection-BgiEVgoh-D610rqiy.js";import{G as ut}from"./StatusSwitcher-k1u49c8V-CS3rR8si.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./crypto-cQYYQPTZ.js";const M=e=>u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},u.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),f={width:new C(343,545,545),containerTop:new C(17,25,25),containerPaddingLeftRight:new C(x[4],x[7])},pt=r.div`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-rr4-wmBx-CYhRm1T-.js","assets/index-Dx_6v6jJ.js","assets/mui-Ty75qFQF.js","assets/vendor-Bs1fkIUX.js","assets/analytics-CcevxdRy.js","assets/routing-Dk1A2KYI.js","assets/sentry-BE5FTzpq.js","assets/redux-CEhZD0hA.js","assets/liveblocks-8ht9CoL5.js","assets/crypto-cQYYQPTZ.js","assets/index-DVThwdcI.css","assets/StatusSwitcher-CpSTk6fh-Dyjr7_XU.js","assets/useLongPress-GCK2COYQ-B0RUPzZV.js"])))=>i.map(i=>d[i]);
2
+ import{c as Ue,ax as Ge,q as z,l as y,O as U,gr as He,gt as Xe,j as o,gN as Ke,bF as Ve,C as We,o as t,dS as Ye,h1 as F,bm as qe,gC as Je,y as C,h2 as Ze,fX as Qe,fY as et,h as S,ap as tt,u as x,a6 as ot,A as at,c7 as it,am as nt,cw as st,fZ as lt,M as rt,an as ct}from"./index-Dx_6v6jJ.js";import{b as u,n as r,k as G}from"./vendor-Bs1fkIUX.js";import{_ as dt}from"./liveblocks-8ht9CoL5.js";import{X as mt}from"./SpendManagementSection-B2iLYwhO-CwRH1IuD.js";import{G as ut}from"./StatusSwitcher-CpSTk6fh-Dyjr7_XU.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./crypto-cQYYQPTZ.js";const M=e=>u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},u.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),f={width:new C(343,545,545),containerTop:new C(17,25,25),containerPaddingLeftRight:new C(x[4],x[7])},pt=r.div`
3
3
  position: fixed;
4
4
  top: 0;
5
5
  left: 0;
@@ -106,7 +106,7 @@ import{c as Ue,ax as Ge,q as z,l as y,O as U,gr as He,gt as Xe,j as o,gN as Ke,b
106
106
  color: ${e=>e.theme.colors.primary};
107
107
  position: absolute;
108
108
  bottom: 22px;
109
- `,N=U.getLocalizedStrings().common.copyToClipBoard;function Et(e){const p=z(),[,h]=Qe(),[c,d]=u.useState(!0),[i,a]=u.useState(!1),[s,n]=u.useState(!1),{isMobileOrTabletScreen:g}=et(),T=()=>{if(c){const w=e.botEmail;h(w),d(!1)}},v=()=>{a(!0)},k=()=>{a(!1)};return u.useEffect(()=>{c===!1&&setTimeout(()=>{d(!0)},2e3)},[c]),o.jsx(pt,{windowSize:p,role:"presentation",style:{background:S.overlayDark,...e.style},children:o.jsx(tt,{onClickAway:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:o.jsxs(yt,{windowSize:p,className:s?"fade":"",fade:s,children:[o.jsx(It,{onClick:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),o.jsx(gt,{children:e.title}),o.jsx($t,{children:e.descriptionLines.map((w,l)=>o.jsxs(Ct,{children:[o.jsx(wt,{children:w.icon}),o.jsx(ft,{windowSize:p,children:w.text})]},l))}),o.jsxs(xt,{onClick:T,onMouseOver:v,onMouseLeave:k,showCopyIcon:c,showCopyText:i,children:[o.jsx(vt,{showCopyText:i,children:e.botEmail}),c?o.jsx(Tt,{windowSize:p,showCopyText:i&&!g,children:o.jsx(St,{})}):o.jsx(kt,{})]}),o.jsx(Bt,{children:c?i&&!g?N.copy:null:N.copied})]})})})}const H=U.getLocalizedStrings(),m=H.spendManagement,{common:{texts:{comments:At}},collaboration:{threads:{placeholder:{addANewComment:Lt,replyAComment:jt},tooltip:{resolveComment:Rt,unResolveComment:Pt}}}}=H,Ot={drawerSectionPaddingLeftRight:new C(x[4],x[5])},_t=Ze(()=>ot(()=>import("./SpendManagementPerTabPage-BVp4Mi_3-BXU0V6Yx.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]))),Zt=e=>{const p=Ue(),h=Ge(),c=z(),{transactionList:d,allSubTabs:i,isAdmin:a,botEmail:s,isEmployee:n=!1,currentTab:g,currentSubTab:T,approvalCount:v,fetchState:k,analytics:w,entity:l,uiState:X,searchText:B,filters:K,vendorSearchAutoCompleteData:V,vendorSearchAutoCompleteActions:W,createdByUserList:Y,createdByUserListFetchState:E,downloadParams:q,downloadState:J,isDownloadEnabled:Z,isShowDeletedBillsEnabled:Q,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:A,isReimbursementCommentingEnabled:L,isDetectInsufficientFundsEnabled:te=!1,updateTabToState:oe,onSubtabChange:j,onReloadTransactions:ae,onTransactionClick:R,onClickSetupIcon:P,onBackClick:ie,onAddTransactionClick:ne,onColumnSortConfigChanged:se,onSearchTextChanged:le,onClickMenuIcon:re,onFiltersChange:ce,updateDownloadStateHandler:de,bulkSubmissionLimit:me=10,isBulkActionAllowed:ue=!1,isRecurringBillInBulkActionList:pe=!1,transactionsSelectedForBulkAction:he=[],allowedBulkActions:be=[],bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:we,onProceedForBulkActionClick:fe}=e,Ce=["draft","pending_approval","scheduled","paid"],xe=b=>{R(b,g)},Se=o.jsx(_t,{botEmail:s,transactionList:d,allSubTabs:i,isAdmin:a,selectedTab:g,selectedSubTab:T,fetchState:k,onSubtabChange:j,onTransactionRowClick:xe,onReloadTransactions:ae,onColumnSortConfigChanged:se,analytics:w,entity:l,uiState:X,searchText:B,isShowDeletedBillsEnabled:Q,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:A,isReimbursementCommentingEnabled:L,bulkSubmissionLimit:me,isBulkActionAllowed:ue,isRecurringBillInBulkActionList:pe,transactionsSelectedForBulkAction:he,isDetectInsufficientFundsEnabled:te,allowedBulkActions:be,bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:we,onProceedForBulkActionClick:fe}),Te=b=>{oe(b),j("all")},ve=y.hasOnlyBillPayAccess(h.loggedInUserRoleMap),[O,ke]=u.useState(!1),[Ie,_]=u.useState(!1),$e=b=>{ke(b)},Be=l==="bill_pay"?y.hasBillPayAdminLevelAccess(h.loggedInUserRoleMap):y.hasReimbursementAdminLevelAccess(h.loggedInUserRoleMap),Ee={entity:l,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:O,searchPlaceHolder:l==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:B,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:Be,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:Z===!1,downloadParams:q,downloadState:J,filters:K,vendorSearchAutoCompleteData:V,vendorSearchAutoCompleteActions:W,createdByUserListLoaded:l==="bill_pay"||y.hideCreatedByFilter(h.loggedInUserRole??[])?!0:E==="Completed"||E==="Error",analytics:w,onNewButtonClick:ne,onSearchOpen:$e,onSearchTextChanged:le,onClickSetupIcon:P,onClickEmailInfoIcon:()=>_(!0),onFiltersChange:ce,getFilterOptions:l==="bill_pay"||l==="reimbursement"?()=>Dt(l,Y??[],h.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:de},Ae=o.jsx(mt,{spendManagementSectionProps:Ee}),[Le,je]=u.useState(null),[Re,I]=u.useState(!1),{setRequestToOpenThread:Pe}=u.useContext(He),Oe=`dashboard_${h.currentTenant?.companyId}`,D=l==="bill_pay"?"bill":"reimbursement",{threads:_e}=Xe({application:"dashboard",companyId:h.currentTenant?.companyId,tab:D,entityId:Le?.entityId,isGlobalComment:!1},"both",!1),De={openAllThreadsDrawer:b=>{je({...b}),I(!0)}},Fe=(b,$)=>{const{companyId:Me,entityId:Ne,entityType:ze}=b;I(!1),Pe({threadId:$,companyId:Me,entityType:ze}),R(Ne,g)};return o.jsx(Ke,{sharedItems:{sharedFunctions:{subtreeFunctions:De},sharedRef:void 0},children:o.jsxs(Ft,{children:[o.jsx(Ve,{source:"SpendManagementListViewPage",title:l==="bill_pay"?m.billPay.billsByTabs.pageTitle:m.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!n&&!ve,showMenuIcon:c==="medium-compact"||c==="small",backgroundColor:p.colors.grey4,style:{zIndex:3,...We.largeSemiBold.cssObject},onBackClick:ie,rightSideComponent:Ae,onClickMenuIcon:re,isSearchOpen:O}),o.jsxs(Mt,{children:[o.jsx(Nt,{children:o.jsx(ut,{tabIds:Ce,approvalCount:v,selectedTab:g,entity:l,enablePerformanceTracking:!1,onTabSelectedChange:Te,onClickSetupIcon:P})}),Se]}),Ie?o.jsx(Et,{botEmail:s,onCancelClick:()=>_(!1),title:l==="bill_pay"?m.billPay.billsByTabs.emailInfoTitle:m.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:l==="bill_pay"?[{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription1},{icon:o.jsx(Ye,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription2},{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription3}]:[{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:o.jsx(qe,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,l==="bill_pay"&&A||l==="reimbursement"&&L?o.jsx(dt,{id:Oe,children:o.jsx(Je,{isDrawerOpen:Re,allowComposer:!1,drawerTitle:At,threads:_e,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:h.currentTenant?.companyId,isGlobalComment:!1,tab:D},isLoading:!1,textOverrides:{composerPlaceholder:Lt,replyComposerPlaceholder:jt,threadResolve:Rt,threadUnResolve:Pt},onThreadClick:(b,$)=>Fe(b,$),onCloseAllThreadsDrawer:()=>I(!1),drawerSectionStyle:{width:c==="small"?"100%":"400px",boxSizing:c==="small"?"border-box":"content-box",padding:`${t.sp0} ${Ot.drawerSectionPaddingLeftRight.valuePx(c)}`,backgroundColor:p.colors.background},collapsibleThreadStyle:{width:c==="small"?"100%":"360px"}})}):null]})})},Dt=(e,p,h,c)=>{const d=m.filters.filterOptions;return e==="bill_pay"?y.BILL_PAY_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"amount":return{...i,[a.value]:d.billAmountOptions};case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:[...d.commonStatusOptions,...d.billStatusOptions]};case"paymentType":return{...i,[a.value]:d.billPaymentTypeOptions};default:return{...i,[a.value]:[]}}},{}):e==="reimbursement"?(y.hideCreatedByFilter(h)?y.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED:y.REIMBURSEMENT_FILTER_CATEGORIES).reduce((i,a)=>{switch(a.value){case"createdBy":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:d.commonStatusOptions};case"amount":return{...i,[a.value]:d.reimbursementAmountOptions};default:return{...i,[a.value]:[]}}},{}):y.TASK_LIST_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"assignee":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"status":return{...i,[a.value]:[...y.allTaskStatus.map(s=>({label:s.name,value:s.code}))]};case"priority":return{...i,[a.value]:[...y.allTaskPriority.map(s=>({label:s.name,value:s.code}))]};case"tag":return{...i,[a.value]:[...c.map(s=>({label:s.name,value:s.tagId}))]};default:return{...i,[a.value]:[]}}},{})},Ft=r.div`
109
+ `,N=U.getLocalizedStrings().common.copyToClipBoard;function Et(e){const p=z(),[,h]=Qe(),[c,d]=u.useState(!0),[i,a]=u.useState(!1),[s,n]=u.useState(!1),{isMobileOrTabletScreen:g}=et(),T=()=>{if(c){const w=e.botEmail;h(w),d(!1)}},v=()=>{a(!0)},k=()=>{a(!1)};return u.useEffect(()=>{c===!1&&setTimeout(()=>{d(!0)},2e3)},[c]),o.jsx(pt,{windowSize:p,role:"presentation",style:{background:S.overlayDark,...e.style},children:o.jsx(tt,{onClickAway:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:o.jsxs(yt,{windowSize:p,className:s?"fade":"",fade:s,children:[o.jsx(It,{onClick:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),o.jsx(gt,{children:e.title}),o.jsx($t,{children:e.descriptionLines.map((w,l)=>o.jsxs(Ct,{children:[o.jsx(wt,{children:w.icon}),o.jsx(ft,{windowSize:p,children:w.text})]},l))}),o.jsxs(xt,{onClick:T,onMouseOver:v,onMouseLeave:k,showCopyIcon:c,showCopyText:i,children:[o.jsx(vt,{showCopyText:i,children:e.botEmail}),c?o.jsx(Tt,{windowSize:p,showCopyText:i&&!g,children:o.jsx(St,{})}):o.jsx(kt,{})]}),o.jsx(Bt,{children:c?i&&!g?N.copy:null:N.copied})]})})})}const H=U.getLocalizedStrings(),m=H.spendManagement,{common:{texts:{comments:At}},collaboration:{threads:{placeholder:{addANewComment:Lt,replyAComment:jt},tooltip:{resolveComment:Rt,unResolveComment:Pt}}}}=H,Ot={drawerSectionPaddingLeftRight:new C(x[4],x[5])},_t=Ze(()=>ot(()=>import("./SpendManagementPerTabPage-rr4-wmBx-CYhRm1T-.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]))),Zt=e=>{const p=Ue(),h=Ge(),c=z(),{transactionList:d,allSubTabs:i,isAdmin:a,botEmail:s,isEmployee:n=!1,currentTab:g,currentSubTab:T,approvalCount:v,fetchState:k,analytics:w,entity:l,uiState:X,searchText:B,filters:K,vendorSearchAutoCompleteData:V,vendorSearchAutoCompleteActions:W,createdByUserList:Y,createdByUserListFetchState:E,downloadParams:q,downloadState:J,isDownloadEnabled:Z,isShowDeletedBillsEnabled:Q,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:A,isReimbursementCommentingEnabled:L,isDetectInsufficientFundsEnabled:te=!1,updateTabToState:oe,onSubtabChange:j,onReloadTransactions:ae,onTransactionClick:R,onClickSetupIcon:P,onBackClick:ie,onAddTransactionClick:ne,onColumnSortConfigChanged:se,onSearchTextChanged:le,onClickMenuIcon:re,onFiltersChange:ce,updateDownloadStateHandler:de,bulkSubmissionLimit:me=10,isBulkActionAllowed:ue=!1,isRecurringBillInBulkActionList:pe=!1,transactionsSelectedForBulkAction:he=[],allowedBulkActions:be=[],bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:we,onProceedForBulkActionClick:fe}=e,Ce=["draft","pending_approval","scheduled","paid"],xe=b=>{R(b,g)},Se=o.jsx(_t,{botEmail:s,transactionList:d,allSubTabs:i,isAdmin:a,selectedTab:g,selectedSubTab:T,fetchState:k,onSubtabChange:j,onTransactionRowClick:xe,onReloadTransactions:ae,onColumnSortConfigChanged:se,analytics:w,entity:l,uiState:X,searchText:B,isShowDeletedBillsEnabled:Q,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:A,isReimbursementCommentingEnabled:L,bulkSubmissionLimit:me,isBulkActionAllowed:ue,isRecurringBillInBulkActionList:pe,transactionsSelectedForBulkAction:he,isDetectInsufficientFundsEnabled:te,allowedBulkActions:be,bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:we,onProceedForBulkActionClick:fe}),Te=b=>{oe(b),j("all")},ve=y.hasOnlyBillPayAccess(h.loggedInUserRoleMap),[O,ke]=u.useState(!1),[Ie,_]=u.useState(!1),$e=b=>{ke(b)},Be=l==="bill_pay"?y.hasBillPayAdminLevelAccess(h.loggedInUserRoleMap):y.hasReimbursementAdminLevelAccess(h.loggedInUserRoleMap),Ee={entity:l,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:O,searchPlaceHolder:l==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:B,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:Be,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:Z===!1,downloadParams:q,downloadState:J,filters:K,vendorSearchAutoCompleteData:V,vendorSearchAutoCompleteActions:W,createdByUserListLoaded:l==="bill_pay"||y.hideCreatedByFilter(h.loggedInUserRole??[])?!0:E==="Completed"||E==="Error",analytics:w,onNewButtonClick:ne,onSearchOpen:$e,onSearchTextChanged:le,onClickSetupIcon:P,onClickEmailInfoIcon:()=>_(!0),onFiltersChange:ce,getFilterOptions:l==="bill_pay"||l==="reimbursement"?()=>Dt(l,Y??[],h.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:de},Ae=o.jsx(mt,{spendManagementSectionProps:Ee}),[Le,je]=u.useState(null),[Re,I]=u.useState(!1),{setRequestToOpenThread:Pe}=u.useContext(He),Oe=`dashboard_${h.currentTenant?.companyId}`,D=l==="bill_pay"?"bill":"reimbursement",{threads:_e}=Xe({application:"dashboard",companyId:h.currentTenant?.companyId,tab:D,entityId:Le?.entityId,isGlobalComment:!1},"both",!1),De={openAllThreadsDrawer:b=>{je({...b}),I(!0)}},Fe=(b,$)=>{const{companyId:Me,entityId:Ne,entityType:ze}=b;I(!1),Pe({threadId:$,companyId:Me,entityType:ze}),R(Ne,g)};return o.jsx(Ke,{sharedItems:{sharedFunctions:{subtreeFunctions:De},sharedRef:void 0},children:o.jsxs(Ft,{children:[o.jsx(Ve,{source:"SpendManagementListViewPage",title:l==="bill_pay"?m.billPay.billsByTabs.pageTitle:m.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!n&&!ve,showMenuIcon:c==="medium-compact"||c==="small",backgroundColor:p.colors.grey4,style:{zIndex:3,...We.largeSemiBold.cssObject},onBackClick:ie,rightSideComponent:Ae,onClickMenuIcon:re,isSearchOpen:O}),o.jsxs(Mt,{children:[o.jsx(Nt,{children:o.jsx(ut,{tabIds:Ce,approvalCount:v,selectedTab:g,entity:l,enablePerformanceTracking:!1,onTabSelectedChange:Te,onClickSetupIcon:P})}),Se]}),Ie?o.jsx(Et,{botEmail:s,onCancelClick:()=>_(!1),title:l==="bill_pay"?m.billPay.billsByTabs.emailInfoTitle:m.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:l==="bill_pay"?[{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription1},{icon:o.jsx(Ye,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription2},{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription3}]:[{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:o.jsx(qe,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,l==="bill_pay"&&A||l==="reimbursement"&&L?o.jsx(dt,{id:Oe,children:o.jsx(Je,{isDrawerOpen:Re,allowComposer:!1,drawerTitle:At,threads:_e,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:h.currentTenant?.companyId,isGlobalComment:!1,tab:D},isLoading:!1,textOverrides:{composerPlaceholder:Lt,replyComposerPlaceholder:jt,threadResolve:Rt,threadUnResolve:Pt},onThreadClick:(b,$)=>Fe(b,$),onCloseAllThreadsDrawer:()=>I(!1),drawerSectionStyle:{width:c==="small"?"100%":"400px",boxSizing:c==="small"?"border-box":"content-box",padding:`${t.sp0} ${Ot.drawerSectionPaddingLeftRight.valuePx(c)}`,backgroundColor:p.colors.background},collapsibleThreadStyle:{width:c==="small"?"100%":"360px"}})}):null]})})},Dt=(e,p,h,c)=>{const d=m.filters.filterOptions;return e==="bill_pay"?y.BILL_PAY_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"amount":return{...i,[a.value]:d.billAmountOptions};case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:[...d.commonStatusOptions,...d.billStatusOptions]};case"paymentType":return{...i,[a.value]:d.billPaymentTypeOptions};default:return{...i,[a.value]:[]}}},{}):e==="reimbursement"?(y.hideCreatedByFilter(h)?y.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED:y.REIMBURSEMENT_FILTER_CATEGORIES).reduce((i,a)=>{switch(a.value){case"createdBy":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:d.commonStatusOptions};case"amount":return{...i,[a.value]:d.reimbursementAmountOptions};default:return{...i,[a.value]:[]}}},{}):y.TASK_LIST_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"assignee":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"status":return{...i,[a.value]:[...y.allTaskStatus.map(s=>({label:s.name,value:s.code}))]};case"priority":return{...i,[a.value]:[...y.allTaskPriority.map(s=>({label:s.name,value:s.code}))]};case"tag":return{...i,[a.value]:[...c.map(s=>({label:s.name,value:s.tagId}))]};default:return{...i,[a.value]:[]}}},{})},Ft=r.div`
110
110
  display: flex;
111
111
  min-height: 100%;
112
112
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aa as Et,cS as Ot,O as te,l as W,q as X,kS as Ft,j as t,ad as Nt,cD as Mt,cE as Vt,cF as Wt,aQ as Ut,o as i,cr as Kt,cA as et,gh as Ht,b3 as qt,cH as Gt,iP as Zt,iQ as Jt,P as Qt,c5 as J,bZ as Xt,aS as Yt,y as g,c as Ue,gi as ei,kT as ti,h as Q,da as ii,an as U,am as N,ai as se,kU as oi,fm as ni,kV as li,kW as ut,kX as ht,k1 as ri,kY as si,kZ as ai,c3 as gt,C as je,aM as ee,ax as Ke,gQ as He,a9 as qe,gt as Ge,d3 as yt,k_ as bt,k$ as Ce,aN as Be,l0 as Ze,aJ as we,iX as xt,iY as wt,l1 as ft,iW as $t,cM as vt,cP as St,l2 as R,l3 as kt,gF as Tt,d8 as Pt,dN as Je,u as p}from"./index-CzIBPZCT.js";import{b as P,n as o,w as jt,i as Z}from"./vendor-Bs1fkIUX.js";import{G as di,L as ci,_ as pi}from"./StatusSwitcher-k1u49c8V-CS3rR8si.js";import{d as Ct}from"./useLongPress-GCK2COYQ-B0RUPzZV.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const ue=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,_e={key:"name",value:ue.name,sortOrder:"ascending",width:new g(p[5],p[5])},ze={key:"invoiceDate",value:ue.invoiceDate,sortOrder:"ascending",width:new g(20,20)},mi={key:"dueDate",value:ue.dueDate,sortOrder:"ascending",width:new g(20,20)},Qe={key:"dueDate",value:ue.paymentDate,sortOrder:"ascending",width:new g(20,20)},Xe={key:"status",value:ue.status,sortOrder:"ascending",width:new g(18,18)},ui={key:"paymentMethod",value:ue.paymentMethod,sortOrder:"ascending",width:new g(18,18)},Le={key:"amount",value:ue.amount,sortOrder:"ascending",width:new g(10,10)},be=[_e,ze,mi,Xe,Le],hi=[_e,ze,Qe,Xe,Le],gi=[_e,ze,Qe,Xe,Le],yi=[_e,ze,Qe,ui,Le],ye={headerLastColumnTopPadding:new g(p[0],p[4]),headerLastColumnRightPadding:new g(p[3],p[11]),headerLastColumnBottomPadding:new g(p[0],p[4]),headerLastColumnLeftPadding:new g(p[0],p[4]),headerHeight:new g(xt,wt)};function bi({companyNameSticky:e,currentTab:n,onColumnSortConfigChanged:c,sortConfig:l}){const d=Ue(),y=X(),[b,x]=P.useState(ji(n));P.useEffect(()=>{const a=[...b];for(const s of a)s.key===l.sortKey?s.sortOrder=l.sortOrder:s.sortOrder="ascending";x(a)},[l.sortKey,l.sortOrder]);const f=(a,s)=>{let $=s;l.sortKey===a&&($=s==="ascending"?"descending":"ascending"),c?.(a,$)},u=b.find(a=>a.key===l.sortKey)??b[0],h=a=>b.find(s=>s.key===a)?.value??"",m=b.map(a=>a.key),w=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return y==="small"?t.jsxs(tt,{windowSize:y,companyNameSticky:!1,children:[t.jsxs($i,{children:[t.jsx(Si,{children:t.jsx(vi,{})}),t.jsx(gt,{title:w.sortBy,placeholder:w.sortBy,pickerValues:m,valueToLabel:h,selectedValue:l.sortKey,onPickerSelectionChanged:a=>{f(a,"ascending")},optionTextStyle:je.smallRegular,titleTextStyle:je.smallRegular,titleColor:d.colors.primary,selectedOptionColor:d.colors.hero,optionBackgroundColor:d.colors.grey5,downChevronVisible:!1,backgroundColor:d.colors.background})]}),t.jsxs(Pi,{onClick:()=>f(u.key,u.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",l.sortKey),children:[t.jsx(se,{children:u.value}),t.jsx(it,{sortDataValue:l.sortKey,headerdata:u,children:t.jsx(ot,{})})]})]}):t.jsx(tt,{companyNameSticky:e,windowSize:y,children:b.map(a=>t.jsxs(wi,{companyNameSticky:e&&a.key==="name",sortDataValue:l.sortKey,actualDataValue:a.key,wrapperWidth:a.width,windowSize:y,children:[t.jsxs(Ti,{onClick:()=>f(a.key,a.sortOrder),"data-testid":ee("bill-pay-list-header",l.sortKey),children:[t.jsx(se,{children:a.value}),t.jsx(it,{sortDataValue:l.sortKey,headerdata:a,children:t.jsx(ot,{})})]}),t.jsx(ki,{sortDataValue:l.sortKey,windowSize:y,isVisible:l.sortKey===a.key&&a.key!=="dueDate",children:t.jsx(fi,{onClick:()=>f("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",l.sortKey)})})]},a.key))})}const xi=jt.memo(bi),tt=o(se)`
1
+ import{aa as Et,cS as Ot,O as te,l as W,q as X,kS as Ft,j as t,ad as Nt,cD as Mt,cE as Vt,cF as Wt,aQ as Ut,o as i,cr as Kt,cA as et,gh as Ht,b3 as qt,cH as Gt,iP as Zt,iQ as Jt,P as Qt,c5 as J,bZ as Xt,aS as Yt,y as g,c as Ue,gi as ei,kT as ti,h as Q,da as ii,an as U,am as N,ai as se,kU as oi,fm as ni,kV as li,kW as ut,kX as ht,k1 as ri,kY as si,kZ as ai,c3 as gt,C as je,aM as ee,ax as Ke,gQ as He,a9 as qe,gt as Ge,d3 as yt,k_ as bt,k$ as Ce,aN as Be,l0 as Ze,aJ as we,iX as xt,iY as wt,l1 as ft,iW as $t,cM as vt,cP as St,l2 as R,l3 as kt,gF as Tt,d8 as Pt,dN as Je,u as p}from"./index-Dx_6v6jJ.js";import{b as P,n as o,w as jt,i as Z}from"./vendor-Bs1fkIUX.js";import{G as di,L as ci,_ as pi}from"./StatusSwitcher-CpSTk6fh-Dyjr7_XU.js";import{d as Ct}from"./useLongPress-GCK2COYQ-B0RUPzZV.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const ue=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,_e={key:"name",value:ue.name,sortOrder:"ascending",width:new g(p[5],p[5])},ze={key:"invoiceDate",value:ue.invoiceDate,sortOrder:"ascending",width:new g(20,20)},mi={key:"dueDate",value:ue.dueDate,sortOrder:"ascending",width:new g(20,20)},Qe={key:"dueDate",value:ue.paymentDate,sortOrder:"ascending",width:new g(20,20)},Xe={key:"status",value:ue.status,sortOrder:"ascending",width:new g(18,18)},ui={key:"paymentMethod",value:ue.paymentMethod,sortOrder:"ascending",width:new g(18,18)},Le={key:"amount",value:ue.amount,sortOrder:"ascending",width:new g(10,10)},be=[_e,ze,mi,Xe,Le],hi=[_e,ze,Qe,Xe,Le],gi=[_e,ze,Qe,Xe,Le],yi=[_e,ze,Qe,ui,Le],ye={headerLastColumnTopPadding:new g(p[0],p[4]),headerLastColumnRightPadding:new g(p[3],p[11]),headerLastColumnBottomPadding:new g(p[0],p[4]),headerLastColumnLeftPadding:new g(p[0],p[4]),headerHeight:new g(xt,wt)};function bi({companyNameSticky:e,currentTab:n,onColumnSortConfigChanged:c,sortConfig:l}){const d=Ue(),y=X(),[b,x]=P.useState(ji(n));P.useEffect(()=>{const a=[...b];for(const s of a)s.key===l.sortKey?s.sortOrder=l.sortOrder:s.sortOrder="ascending";x(a)},[l.sortKey,l.sortOrder]);const f=(a,s)=>{let $=s;l.sortKey===a&&($=s==="ascending"?"descending":"ascending"),c?.(a,$)},u=b.find(a=>a.key===l.sortKey)??b[0],h=a=>b.find(s=>s.key===a)?.value??"",m=b.map(a=>a.key),w=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return y==="small"?t.jsxs(tt,{windowSize:y,companyNameSticky:!1,children:[t.jsxs($i,{children:[t.jsx(Si,{children:t.jsx(vi,{})}),t.jsx(gt,{title:w.sortBy,placeholder:w.sortBy,pickerValues:m,valueToLabel:h,selectedValue:l.sortKey,onPickerSelectionChanged:a=>{f(a,"ascending")},optionTextStyle:je.smallRegular,titleTextStyle:je.smallRegular,titleColor:d.colors.primary,selectedOptionColor:d.colors.hero,optionBackgroundColor:d.colors.grey5,downChevronVisible:!1,backgroundColor:d.colors.background})]}),t.jsxs(Pi,{onClick:()=>f(u.key,u.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",l.sortKey),children:[t.jsx(se,{children:u.value}),t.jsx(it,{sortDataValue:l.sortKey,headerdata:u,children:t.jsx(ot,{})})]})]}):t.jsx(tt,{companyNameSticky:e,windowSize:y,children:b.map(a=>t.jsxs(wi,{companyNameSticky:e&&a.key==="name",sortDataValue:l.sortKey,actualDataValue:a.key,wrapperWidth:a.width,windowSize:y,children:[t.jsxs(Ti,{onClick:()=>f(a.key,a.sortOrder),"data-testid":ee("bill-pay-list-header",l.sortKey),children:[t.jsx(se,{children:a.value}),t.jsx(it,{sortDataValue:l.sortKey,headerdata:a,children:t.jsx(ot,{})})]}),t.jsx(ki,{sortDataValue:l.sortKey,windowSize:y,isVisible:l.sortKey===a.key&&a.key!=="dueDate",children:t.jsx(fi,{onClick:()=>f("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",l.sortKey)})})]},a.key))})}const xi=jt.memo(bi),tt=o(se)`
2
2
  width: 100%;
3
3
  top: ${i.sp0};
4
4
  left: ${i.sp0};
@@ -1,4 +1,4 @@
1
- import{q as z,c as _,O as L,j as o,cB as H,o as r,h3 as ie,u as F,n as ce,C as Z,bM as J,y as ee,h4 as de,h5 as pe,dd as te,bN as M,b9 as ue,ai as oe,h6 as he,bL as re,ax as ge,h7 as me,h8 as xe,am as N,b8 as fe,l as I,h9 as ye,az as Ce,ha as be,hb as ve,h as we,da as $e,bZ as Se,gb as je,P as ke,H as V,A as Le,gc as Oe,aS as Ee}from"./index-CzIBPZCT.js";import{b as a,n as l,k as Ae}from"./vendor-Bs1fkIUX.js";const Ie=l.div`
1
+ import{q as z,c as _,O as L,j as o,cB as H,o as r,h3 as ie,u as F,n as ce,C as Z,bM as J,y as ee,h4 as de,h5 as pe,dd as te,bN as M,b9 as ue,ai as oe,h6 as he,bL as re,ax as ge,h7 as me,h8 as xe,am as N,b8 as fe,l as I,h9 as ye,az as Ce,ha as be,hb as ve,h as we,da as $e,bZ as Se,gb as je,P as ke,H as V,A as Le,gc as Oe,aS as Ee}from"./index-Dx_6v6jJ.js";import{b as a,n as l,k as Ae}from"./vendor-Bs1fkIUX.js";const Ie=l.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{q as Te,d3 as Ge,c as qe,O as Z,db as Ke,aP as se,fG as Je,l as W,aU as re,j as t,bA as Ye,y as d,fO as Qe,fP as Ze,fQ as Xe,cd as et,u as o,aN as tt,fH as ye,fI as ve,o as i,aM as V,fR as Le,P as pe,h as P,fJ as it,b as ze,fS as nt,fK as at,ai as ot,c5 as $e,dm as lt,aT as st,fT as rt,an as Ae,a$ as _e,fU as ct,d8 as dt}from"./index-CzIBPZCT.js";import{b as f,n}from"./vendor-Bs1fkIUX.js";import{r as ut}from"./mui-Ty75qFQF.js";import{S as pt}from"./ChargeCardUtils-DwrchU8w-rfEpjdHS.js";import{Y as ht}from"./CreditCardPaymentPlgSection-B_dwX8WO-CbDsLJRc.js";import{A as gt}from"./ChaseOverlay-Yi_R09xG-D-5pbKeF.js";import{K as mt}from"./SetUpDefaultSection-C944LR7Y-DmPt9yvH.js";const X={sectionWidth:new d(343,580,726),rowGap:new d(o[2],o[3]),footerPaddingLeftRight:new d(o[3],o[4])},ft={title:new ze("standardMedium","largeMedium")};function xt({plaidConnectionDetails:e,header:p,isAccountsEnabled:v=!0,analytics:x,pageName:b,accountsPromoConfig:$,style:_,onConnectClick:U,onSignUpClick:I}){const u=Te(),{setUp:r}=Z.getLocalizedStrings().commonSetUp,m=e.link_account,j=m.fetchStatus.fetchState==="In-Progress"||m.updateStatus.fetchState==="In-Progress";return t.jsxs(St,{windowSize:u,style:_,"data-testid":V("default-account-section",b),children:[t.jsx(wt,{children:t.jsx(bt,{windowSize:u,children:p})}),t.jsxs(yt,{windowSize:u,width:_?.width,children:[t.jsx(Le,{heading:r.accountsPlg.heading,buttonText:r.accountsPlg.signUpButtonText,onSignUpClick:I,isAccountsEnabled:v,pageName:b,analytics:x,style:{borderTopLeftRadius:i.sp2,borderTopRightRadius:i.sp2},accountsPromoConfig:$}),t.jsxs($t,{windowSize:u,children:[t.jsxs(kt,{onClick:U,children:[t.jsx(Ct,{isLoading:j,children:r.connectExternalAccount}),j?null:t.jsx(Pt,{className:"right-arrow"})]}),j?t.jsx(vt,{children:t.jsx(pe,{size:"ExtraSmall",start:!0,style:{display:"flex"}})}):null]})]})]})}const St=n.div`
1
+ import{q as Te,d3 as Ge,c as qe,O as Z,db as Ke,aP as se,fG as Je,l as W,aU as re,j as t,bA as Ye,y as d,fO as Qe,fP as Ze,fQ as Xe,cd as et,u as o,aN as tt,fH as ye,fI as ve,o as i,aM as V,fR as Le,P as pe,h as P,fJ as it,b as ze,fS as nt,fK as at,ai as ot,c5 as $e,dm as lt,aT as st,fT as rt,an as Ae,a$ as _e,fU as ct,d8 as dt}from"./index-Dx_6v6jJ.js";import{b as f,n}from"./vendor-Bs1fkIUX.js";import{r as ut}from"./mui-Ty75qFQF.js";import{S as pt}from"./ChargeCardUtils-Rb7oaOW_-d4fs5S75.js";import{Y as ht}from"./CreditCardPaymentPlgSection-DRAYmlBe-BG5WzWK1.js";import{A as gt}from"./ChaseOverlay-BU6mQm8r-CttX-8es.js";import{K as mt}from"./SetUpDefaultSection-He_L-zlp-BKSpIPTj.js";const X={sectionWidth:new d(343,580,726),rowGap:new d(o[2],o[3]),footerPaddingLeftRight:new d(o[3],o[4])},ft={title:new ze("standardMedium","largeMedium")};function xt({plaidConnectionDetails:e,header:p,isAccountsEnabled:v=!0,analytics:x,pageName:b,accountsPromoConfig:$,style:_,onConnectClick:U,onSignUpClick:I}){const u=Te(),{setUp:r}=Z.getLocalizedStrings().commonSetUp,m=e.link_account,j=m.fetchStatus.fetchState==="In-Progress"||m.updateStatus.fetchState==="In-Progress";return t.jsxs(St,{windowSize:u,style:_,"data-testid":V("default-account-section",b),children:[t.jsx(wt,{children:t.jsx(bt,{windowSize:u,children:p})}),t.jsxs(yt,{windowSize:u,width:_?.width,children:[t.jsx(Le,{heading:r.accountsPlg.heading,buttonText:r.accountsPlg.signUpButtonText,onSignUpClick:I,isAccountsEnabled:v,pageName:b,analytics:x,style:{borderTopLeftRadius:i.sp2,borderTopRightRadius:i.sp2},accountsPromoConfig:$}),t.jsxs($t,{windowSize:u,children:[t.jsxs(kt,{onClick:U,children:[t.jsx(Ct,{isLoading:j,children:r.connectExternalAccount}),j?null:t.jsx(Pt,{className:"right-arrow"})]}),j?t.jsx(vt,{children:t.jsx(pe,{size:"ExtraSmall",start:!0,style:{display:"flex"}})}):null]})]})]})}const St=n.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>X.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{q as y,O as S,hK as b,j as o,P as g,o as n,am as j,y as v,ch as z,u as P}from"./index-CzIBPZCT.js";import{b as k,n as i}from"./vendor-Bs1fkIUX.js";import{g as B}from"./BoxItem-i1_Whvbs-Coc5rPJr.js";import{w as L}from"./downloadPdf-CKNipVJW-C7xRlSKq.js";const d=S.getLocalizedStrings().months,r={downloadButtonSize:new v(P[4],20)},q=i.div`
1
+ import{q as y,O as S,hK as b,j as o,P as g,o as n,am as j,y as v,ch as z,u as P}from"./index-Dx_6v6jJ.js";import{b as k,n as i}from"./vendor-Bs1fkIUX.js";import{g as B}from"./BoxItem-D1raF0Bb-BQ4qZrGw.js";import{w as L}from"./downloadPdf-DQIFB4bS-BYGHS3hy.js";const d=S.getLocalizedStrings().months,r={downloadButtonSize:new v(P[4],20)},q=i.div`
2
2
  display: flex;
3
3
  padding: ${n.sp3} ${n.sp4};
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{c as v,q as z,j as t,bF as C,O as P,b3 as O,o as r,h as m,cH as I,y as L,u as h,am as B}from"./index-CzIBPZCT.js";import{b as p,n as o}from"./vendor-Bs1fkIUX.js";import{$ as E}from"./BoxItem-i1_Whvbs-Coc5rPJr.js";import{o as M}from"./commonDimensions-Bvh80Imh-jW8sAv4e.js";import{O as R}from"./StatementItem-Btk7PnAh-CYEldI5P.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./downloadPdf-CKNipVJW-C7xRlSKq.js";const u=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,b={listItemMargin:new L(h[3],h[8])},et=({currentTenantCompanyName:e,authParams:g,downloadEndPoint:w,statementListView:i,accountLast4:f,onBackClick:y})=>{const $=v(),l=z(),k=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?M.transactionItemHeight:24,S=({index:a,style:s})=>{const n=i.statements[a];return d===!1?t.jsx(x,{windowSize:l,style:{...s,width:`calc(100% - 2*${b.listItemMargin.valuePx(l)})`},children:t.jsx(R,{currentTenantCompanyName:e,accountLast4:f,data:n,authParams:g,downloadEndPoint:w,boxType:E(a,i.statements.length)},n.id)}):t.jsx(T,{style:{...s},children:t.jsx(H,{children:t.jsx(x,{windowSize:l,children:t.jsx(A,{children:u.noStatements})})})})};return t.jsxs(N,{children:[t.jsx(C,{title:u.title,backgroundColor:$.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(K,{children:t.jsx(O,{children:({height:a,width:s})=>t.jsx(V,{ref:k,height:a,width:s,outerRef:c,itemKey:n=>n,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:S})})})]})},T=o.div``,x=o.div`
1
+ import{c as v,q as z,j as t,bF as C,O as P,b3 as O,o as r,h as m,cH as I,y as L,u as h,am as B}from"./index-Dx_6v6jJ.js";import{b as p,n as o}from"./vendor-Bs1fkIUX.js";import{$ as E}from"./BoxItem-D1raF0Bb-BQ4qZrGw.js";import{o as M}from"./commonDimensions-BVYRkutP-DJ77KjRS.js";import{O as R}from"./StatementItem-Crb860tq-DQs1oo3F.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./downloadPdf-DQIFB4bS-BYGHS3hy.js";const u=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,b={listItemMargin:new L(h[3],h[8])},et=({currentTenantCompanyName:e,authParams:g,downloadEndPoint:w,statementListView:i,accountLast4:f,onBackClick:y})=>{const $=v(),l=z(),k=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?M.transactionItemHeight:24,S=({index:a,style:s})=>{const n=i.statements[a];return d===!1?t.jsx(x,{windowSize:l,style:{...s,width:`calc(100% - 2*${b.listItemMargin.valuePx(l)})`},children:t.jsx(R,{currentTenantCompanyName:e,accountLast4:f,data:n,authParams:g,downloadEndPoint:w,boxType:E(a,i.statements.length)},n.id)}):t.jsx(T,{style:{...s},children:t.jsx(H,{children:t.jsx(x,{windowSize:l,children:t.jsx(A,{children:u.noStatements})})})})};return t.jsxs(N,{children:[t.jsx(C,{title:u.title,backgroundColor:$.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(K,{children:t.jsx(O,{children:({height:a,width:s})=>t.jsx(V,{ref:k,height:a,width:s,outerRef:c,itemKey:n=>n,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:S})})})]})},T=o.div``,x=o.div`
2
2
  margin: ${e=>`${r.sp0} ${b.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{q as $,j as d,cr as T,O as v,y as f,o as s,u as c,ai as z}from"./index-CzIBPZCT.js";import{n as u,i as g}from"./vendor-Bs1fkIUX.js";function m(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const _=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:m(a)}return m(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??m(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:x}},reimbursement:{reimbursementByTabs:{tabsById:y}},zeniAccounts:{zeniAccountList:{tabsById:j}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new f(c[4],c[8]),containerMarginRight:new f(c[4],c[8]),segmentContainerMarginLeft:new f(c[4],c[8])},M=u.div`
1
+ import{q as $,j as d,cr as T,O as v,y as f,o as s,u as c,ai as z}from"./index-Dx_6v6jJ.js";import{n as u,i as g}from"./vendor-Bs1fkIUX.js";function m(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const _=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:m(a)}return m(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??m(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:x}},reimbursement:{reimbursementByTabs:{tabsById:y}},zeniAccounts:{zeniAccountList:{tabsById:j}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new f(c[4],c[8]),containerMarginRight:new f(c[4],c[8]),segmentContainerMarginLeft:new f(c[4],c[8])},M=u.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as i,P as u,o as s,ai as g,a_ as m}from"./index-CzIBPZCT.js";import{n as r,i as a}from"./vendor-Bs1fkIUX.js";function v({allTabs:e,selectedTab:c,containerStyle:d,rightComponent:o,onTabChange:p}){const h=o!=null;return i.jsxs(x,{style:d,hasRightComponent:h,children:[i.jsx($,{children:e.map(t=>{const n=t.id===c,l=t.isDisabled!=null;return i.jsxs(y,{onClick:()=>{n===!1&&!l&&p(t)},isSelected:n,isDisabled:l,children:[i.jsx(b,{children:t.label}),t.countDetails?.count!=null?i.jsx(j,{children:i.jsx(f,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(D,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),o]})}const x=r.div`
1
+ import{j as i,P as u,o as s,ai as g,a_ as m}from"./index-Dx_6v6jJ.js";import{n as r,i as a}from"./vendor-Bs1fkIUX.js";function v({allTabs:e,selectedTab:c,containerStyle:d,rightComponent:o,onTabChange:p}){const h=o!=null;return i.jsxs(x,{style:d,hasRightComponent:h,children:[i.jsx($,{children:e.map(t=>{const n=t.id===c,l=t.isDisabled!=null;return i.jsxs(y,{onClick:()=>{n===!1&&!l&&p(t)},isSelected:n,isDisabled:l,children:[i.jsx(b,{children:t.label}),t.countDetails?.count!=null?i.jsx(j,{children:i.jsx(f,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(D,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),o]})}const x=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
@@ -1 +1 @@
1
- import{j as d}from"./index-CzIBPZCT.js";import{E as n,I as t}from"./ReloadCard-BUY63G2x-CAnQVWa2.js";const o=r=>{function e(){return r.card.fetchState==="In-Progress"||r.card.fetchState==="Not-Started"?d.jsx(n,{dimension:r.card.dimension,animated:!r.card.disableAnimations}):r.card.fetchState==="Error"?d.jsx(t,{dimension:r.card.dimension,cardType:r.card.cardType,cardIndex:r.card.cardIndex,onReloadData:r.actions.onReloadData}):d.jsx("div",{children:r.children})}return d.jsx("div",{children:e()})};export{o as c};
1
+ import{j as d}from"./index-Dx_6v6jJ.js";import{E as n,I as t}from"./ReloadCard-CpK3iKky-IxbQEQsz.js";const o=r=>{function e(){return r.card.fetchState==="In-Progress"||r.card.fetchState==="Not-Started"?d.jsx(n,{dimension:r.card.dimension,animated:!r.card.disableAnimations}):r.card.fetchState==="Error"?d.jsx(t,{dimension:r.card.dimension,cardType:r.card.cardType,cardIndex:r.card.cardIndex,onReloadData:r.actions.onReloadData}):d.jsx("div",{children:r.children})}return d.jsx("div",{children:e()})};export{o as c};
@@ -1,4 +1,4 @@
1
- import{ax as ht,c as Ze,j as t,O as oe,jn as Y,bF as mt,ab as U,cD as gt,am as K,ar as kt,l as Q,o as s,f3 as qe,cw as Ee,cA as xt,gh as wt,b8 as ft,bZ as Je,aS as Ct,q as le,aa as Tt,y as Xe,cS as $t,ad as jt,b3 as yt,cH as vt,iP as bt,iQ as St,jo as ze,aQ as Gt,n as De,c5 as Ie,e$ as Qe,jp as Lt,dd as et,jq as pe,jr as xe,js as Nt,jt as we,ju as tt,jv as st,jw as ot,jx as nt,jy as at,jz as rt,jA as _,u as ke,jB as re,ai as ie,jC as Et,jD as It,A as Mt,ao as Dt,jE as zt,dt as Bt,jF as At,d3 as it,dn as Rt,C as Wt,jG as Ft,jH as Ot,gi as Pt,f2 as Ht,jI as Ut,jJ as J,jK as Be,cJ as Vt,jL as _t,jM as Kt,jN as Ae,jO as Yt,h as Re,gF as Zt,an as qt}from"./index-CzIBPZCT.js";import{b as n,n as o,i as fe}from"./vendor-Bs1fkIUX.js";import{K as Jt,X as Xt}from"./SpendManagementSection-BgiEVgoh-D610rqiy.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-BeXvj9Mw-DgI2WDbS.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-D99vUAok-D5TMBN5J.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./StatusSwitcher-k1u49c8V-CS3rR8si.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)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},I=x=>b(x),M=x=>{const S=Math.max(x,0)/d,j=Math.pow(S,p)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="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,j=c;if(j<d&&j>0){const L=d-j,g=M(L);k(x,g,"up")}else if(j>S-d){const L=j-(S-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{I(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{ax as ht,c as Ze,j as t,O as oe,jn as Y,bF as mt,ab as U,cD as gt,am as K,ar as kt,l as Q,o as s,f3 as qe,cw as Ee,cA as xt,gh as wt,b8 as ft,bZ as Je,aS as Ct,q as le,aa as Tt,y as Xe,cS as $t,ad as jt,b3 as yt,cH as vt,iP as bt,iQ as St,jo as ze,aQ as Gt,n as De,c5 as Ie,e$ as Qe,jp as Lt,dd as et,jq as pe,jr as xe,js as Nt,jt as we,ju as tt,jv as st,jw as ot,jx as nt,jy as at,jz as rt,jA as _,u as ke,jB as re,ai as ie,jC as Et,jD as It,A as Mt,ao as Dt,jE as zt,dt as Bt,jF as At,d3 as it,dn as Rt,C as Wt,jG as Ft,jH as Ot,gi as Pt,f2 as Ht,jI as Ut,jJ as J,jK as Be,cJ as Vt,jL as _t,jM as Kt,jN as Ae,jO as Yt,h as Re,gF as Zt,an as qt}from"./index-Dx_6v6jJ.js";import{b as n,n as o,i as fe}from"./vendor-Bs1fkIUX.js";import{K as Jt,X as Xt}from"./SpendManagementSection-B2iLYwhO-CwRH1IuD.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-DCB_vMvp-Ck0I72cV.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-BQ4n_NDa-CiEm3Oy5.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./StatusSwitcher-CpSTk6fh-Dyjr7_XU.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)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},I=x=>b(x),M=x=>{const S=Math.max(x,0)/d,j=Math.pow(S,p)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="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,j=c;if(j<d&&j>0){const L=d-j,g=M(L);k(x,g,"up")}else if(j>S-d){const L=j-(S-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{I(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,b3 as Y,aC as j,dD as H,bv as L,o as a,ai as q}from"./index-CzIBPZCT.js";import{n as g,b as i}from"./vendor-Bs1fkIUX.js";import{R as A}from"./mui-Ty75qFQF.js";import{V as U}from"./CollapsableReportTable-zWMH2vIR-C22nQkwG.js";const W=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),i.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=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),i.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,b3 as Y,aC as j,dD as H,bv as L,o as a,ai as q}from"./index-Dx_6v6jJ.js";import{n as g,b as i}from"./vendor-Bs1fkIUX.js";import{R as A}from"./mui-Ty75qFQF.js";import{V as U}from"./CollapsableReportTable-BiTfvads-DGZbCVGC.js";const W=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),i.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=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),i.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,ai as p,O as u}from"./index-CzIBPZCT.js";import{n as i}from"./vendor-Bs1fkIUX.js";const f=i.div`
1
+ import{j as t,o,ai as p,O as u}from"./index-Dx_6v6jJ.js";import{n as i}from"./vendor-Bs1fkIUX.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{q as c,j as t,y as n,ai as x,bO as w}from"./index-CzIBPZCT.js";import{n as r}from"./vendor-Bs1fkIUX.js";import{b as l}from"./TimeframeSwitcher-C8yhmrny-Bo19k0fV.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...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{q as c,j as t,y as n,ai as x,bO as w}from"./index-Dx_6v6jJ.js";import{n as r}from"./vendor-Bs1fkIUX.js";import{b as l}from"./TimeframeSwitcher-BNWadFX9-Bu9pVoT_.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...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{aC as R,q as V,j as t,c as f,bQ as C,bh as T,bg as S,bU as E,c0 as $,u as x,aX as _,C as k,c1 as H,c2 as X,aN as q,l as F,aK as G,o as p,ai as L,b8 as N,am as Q,O,aL as U,aM as Y,aR as z,b2 as J,b3 as W,aS as Z,c3 as ee}from"./index-CzIBPZCT.js";import{w,b as te,n as g}from"./vendor-Bs1fkIUX.js";import{z as ae,I as re}from"./ReloadCard-BUY63G2x-CAnQVWa2.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const ie=g(z)`
1
+ import{aC as R,q as V,j as t,c as f,bQ as C,bh as T,bg as S,bU as E,c0 as $,u as x,aX as _,C as k,c1 as H,c2 as X,aN as q,l as F,aK as G,o as p,ai as L,b8 as N,am as Q,O,aL as U,aM as Y,aR as z,b2 as J,b3 as W,aS as Z,c3 as ee}from"./index-Dx_6v6jJ.js";import{w,b as te,n as g}from"./vendor-Bs1fkIUX.js";import{z as ae,I as re}from"./ReloadCard-CpK3iKky-IxbQEQsz.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const ie=g(z)`
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{c as v,q as S,l as A,j as t,bF as B,O as u,aN as b,b3 as H,B as P,o as i,y as E,b$ as z,bw as F,u as c,h as T,am as y,aM as V,a$ as D}from"./index-CzIBPZCT.js";import{n as l,w as M,b as o}from"./vendor-Bs1fkIUX.js";import{E as _,I as L}from"./TopExCard-CKFuDAEh-D9uZ5Exc.js";import{b as O}from"./TimeframeSwitcher-C8yhmrny-Bo19k0fV.js";import{d as Z}from"./NoDataTable-Chs82RP6-C44RugCE.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./ReloadCard-BUY63G2x-CAnQVWa2.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const j="141px",I=i.sp4,N="123px",R=l(D)`
1
+ import{c as v,q as S,l as A,j as t,bF as B,O as u,aN as b,b3 as H,B as P,o as i,y as E,b$ as z,bw as F,u as c,h as T,am as y,aM as V,a$ as D}from"./index-Dx_6v6jJ.js";import{n as l,w as M,b as o}from"./vendor-Bs1fkIUX.js";import{E as _,I as L}from"./TopExCard-BR2WZqdU-b3E8O-s_.js";import{b as O}from"./TimeframeSwitcher-BNWadFX9-Bu9pVoT_.js";import{d as Z}from"./NoDataTable-CLpVffwh-COJyqTzU.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./ReloadCard-CpK3iKky-IxbQEQsz.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const j="141px",I=i.sp4,N="123px",R=l(D)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{Q as Bn,m as qn,c as Et,aa as Fn,q as ae,O as q,aP as Jt,e7 as Wn,e8 as Hn,cS as Gn,aC as Yn,e9 as tn,l as me,ea as Jn,j as i,aM as F,ad as Qn,bF as Zn,eb as Xn,ec as Kn,P as ai,ed as ki,aQ as ea,y as N,ee as ta,ef as nn,eg as an,eh as on,ei as Oe,ej as Le,ek as _e,el as et,em as tt,en as kt,eo as zt,ep as it,eq as ft,er as At,es as Vt,et as Qt,eu as ee,ev as Kt,ew as ue,ex as pe,aJ as ia,ey as Tt,ez as zi,eA as na,n as aa,cD as oa,o as a,cr as sa,eB as la,u as O,B as xi,h as le,ar as Ii,b9 as oi,M as ra,eC as ca,cy as da,cw as si,aN as je,d3 as lt,eD as ua,eE as Wt,aT as sn,d8 as pa,eF as ma,cu as ha,cv as ga,am as ye,a$ as fa,dn as ya,eG as ln,eH as Zt,eI as Xt,eJ as pi,dz as ba,b3 as xa,cH as va,db as Di,a9 as rn,eK as ei,eL as ti,eM as cn,d9 as dn,c5 as Ti,eN as mi,dE as hi,eO as wa,bw as Ca,eP as $a,eQ as Ai,eR as Ia,az as Da,dc as Ta,eS as Oa,b as un,eT as pn,bP as La,eU as Vi,eV as mn,eW as hn,eX as gn,bN as rt,av as ja,au as Sa,dM as ka,C as fn,eY as za,bL as Aa,A as Va,an as Ra,I as Ea,aV as vi}from"./index-CzIBPZCT.js";import{b as w,n as l,w as Ot}from"./vendor-Bs1fkIUX.js";import{x as Ri}from"./LabeledControlledCheckBoxField-BklmcaDu-kQN7jea_.js";import{R as Pa}from"./TrendWithTransactions-CzH_CezC-QSK7oFkg.js";import{u as _a,c as Na,d as Ma,m as Ua}from"./uploadAttachment-CpcDDNe_-D7MWDILa.js";import{o as Ba}from"./radio-default-CiSgisfh-Cuu8ymvq.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./TrendChart-BvUgR7NR-Dds38jx_.js";import"./chartTypes-CultIwKc-Cq3_oBZW.js";import"./toCOABalancesWithID-QJXJYQ9T-gEErCy0J.js";import"./toChartData-CN15R7RB-CS5Czivs.js";import"./NoDataChart-gu-_4U1R-BXpb0aAl.js";import"./InsightsSection-CR-kPvnj-B41E7xie.js";import"./NavigationDots-DHkA0dj3-mmZt_Uzm.js";import"./TransactionList-CBlM8Agr-CcsKnlKb.js";import"./BoxItem-i1_Whvbs-Coc5rPJr.js";import"./commonDimensions-Bvh80Imh-jW8sAv4e.js";const qa={headerMarginTop:new N(O[7],O[8])},Fa=l(ye)`
1
+ import{Q as Bn,m as qn,c as Et,aa as Fn,q as ae,O as q,aP as Jt,e7 as Wn,e8 as Hn,cS as Gn,aC as Yn,e9 as tn,l as me,ea as Jn,j as i,aM as F,ad as Qn,bF as Zn,eb as Xn,ec as Kn,P as ai,ed as ki,aQ as ea,y as N,ee as ta,ef as nn,eg as an,eh as on,ei as Oe,ej as Le,ek as _e,el as et,em as tt,en as kt,eo as zt,ep as it,eq as ft,er as At,es as Vt,et as Qt,eu as ee,ev as Kt,ew as ue,ex as pe,aJ as ia,ey as Tt,ez as zi,eA as na,n as aa,cD as oa,o as a,cr as sa,eB as la,u as O,B as xi,h as le,ar as Ii,b9 as oi,M as ra,eC as ca,cy as da,cw as si,aN as je,d3 as lt,eD as ua,eE as Wt,aT as sn,d8 as pa,eF as ma,cu as ha,cv as ga,am as ye,a$ as fa,dn as ya,eG as ln,eH as Zt,eI as Xt,eJ as pi,dz as ba,b3 as xa,cH as va,db as Di,a9 as rn,eK as ei,eL as ti,eM as cn,d9 as dn,c5 as Ti,eN as mi,dE as hi,eO as wa,bw as Ca,eP as $a,eQ as Ai,eR as Ia,az as Da,dc as Ta,eS as Oa,b as un,eT as pn,bP as La,eU as Vi,eV as mn,eW as hn,eX as gn,bN as rt,av as ja,au as Sa,dM as ka,C as fn,eY as za,bL as Aa,A as Va,an as Ra,I as Ea,aV as vi}from"./index-Dx_6v6jJ.js";import{b as w,n as l,w as Ot}from"./vendor-Bs1fkIUX.js";import{x as Ri}from"./LabeledControlledCheckBoxField-CpFAWsn--BIBIaVtJ.js";import{R as Pa}from"./TrendWithTransactions-Dqn9bFON-DGnKntb1.js";import{u as _a,c as Na,d as Ma,m as Ua}from"./uploadAttachment-Cjtei7R6-1iwtAM3Q.js";import{o as Ba}from"./radio-default-CiSgisfh-Cuu8ymvq.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./TrendChart-DqWZYuvO-D_YQdCrg.js";import"./chartTypes-BOtv_Qyt-DUqfch7p.js";import"./toCOABalancesWithID-CD6AMXij-VvTJfohU.js";import"./toChartData-B2D5ypu5-DgxwVZtD.js";import"./NoDataChart-BqHCJbkE-DNDwIJeS.js";import"./InsightsSection-BuY7NDTY-xxIMuImU.js";import"./NavigationDots-COeMhprl-BHsPcORJ.js";import"./TransactionList-CPVAoxeJ-CM-aQqoz.js";import"./BoxItem-D1raF0Bb-BQ4qZrGw.js";import"./commonDimensions-BVYRkutP-DJ77KjRS.js";const qa={headerMarginTop:new N(O[7],O[8])},Fa=l(ye)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Wa=l(ye)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{cr as rt,q as B,j as e,b3 as nt,aM as u,dz as st,O as y,dA as lt,dt,dB as ct,o as a,h as Z,cH as mt,y as U,l as m,P as ft,am as j,u as b,ai as xt,dC as W,df as K,aN as _,an as ut}from"./index-CzIBPZCT.js";import{b as g,n as s,w as ht}from"./vendor-Bs1fkIUX.js";import{g as G}from"./BoxItem-i1_Whvbs-Coc5rPJr.js";import{o as E}from"./commonDimensions-Bvh80Imh-jW8sAv4e.js";const F=t=>t?24:125,pt={containerPaddingBottom:new U(b[9],b[8])},V=s.div`
1
+ import{cr as rt,q as B,j as e,b3 as nt,aM as u,dz as st,O as y,dA as lt,dt,dB as ct,o as a,h as Z,cH as mt,y as U,l as m,P as ft,am as j,u as b,ai as xt,dC as W,df as K,aN as _,an as ut}from"./index-Dx_6v6jJ.js";import{b as g,n as s,w as ht}from"./vendor-Bs1fkIUX.js";import{g as G}from"./BoxItem-D1raF0Bb-BQ4qZrGw.js";import{o as E}from"./commonDimensions-BVYRkutP-DJ77KjRS.js";const F=t=>t?24:125,pt={containerPaddingBottom:new U(b[9],b[8])},V=s.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{y as a,q as L,ax as W,aD as ie,aX as ne,l as D,j as t,aM as x,b3 as re,O as w,u as n,C as ae,h as B,o,b as j,H as q,bu as se,bv as le,ai as de,ar as ce,aN as me,bw as pe,ap as he,P as ue,n as Z,B as G,bx as Q,aS as ee}from"./index-CzIBPZCT.js";import{b as N,n as i,w as f,i as ge}from"./vendor-Bs1fkIUX.js";import{Y as xe,c as we}from"./AccountsPromoCardStack-B2-W28Ow-Dg2jchYJ.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./SummaryCard-BzsE8HgQ-CY7xej-t.js";import"./ReloadCard-BUY63G2x-CAnQVWa2.js";import"./NavigationArrow-D79XVJvq-Bfcst1a0.js";import"./NavigationDots-DHkA0dj3-mmZt_Uzm.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},be=i.div`
1
+ import{y as a,q as L,ax as W,aD as ie,aX as ne,l as D,j as t,aM as x,b3 as re,O as w,u as n,C as ae,h as B,o,b as j,H as q,bu as se,bv as le,ai as de,ar as ce,aN as me,bw as pe,ap as he,P as ue,n as Z,B as G,bx as Q,aS as ee}from"./index-Dx_6v6jJ.js";import{b as N,n as i,w as f,i as ge}from"./vendor-Bs1fkIUX.js";import{Y as xe,c as we}from"./AccountsPromoCardStack-DkrHu9Zr-7G8ZQBXB.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./SummaryCard-DLrFJAYR-D-2jNhaZ.js";import"./ReloadCard-CpK3iKky-IxbQEQsz.js";import"./NavigationArrow-DJ3GkCuv-BIHV3mTH.js";import"./NavigationDots-COeMhprl-BHsPcORJ.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},be=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,ye=i.div`
@@ -1,4 +1,4 @@
1
- import{c as M,bD as R,bE as z,j as o,aM as u,bF as G,P as X,bG as _,o as n,am as q}from"./index-CzIBPZCT.js";import{b as r,n as l}from"./vendor-Bs1fkIUX.js";import{f as H}from"./TransactionList-CBlM8Agr-CcsKnlKb.js";import{t as J}from"./page-detail-CWX5S47F-lMo0MYzU.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BoxItem-i1_Whvbs-Coc5rPJr.js";import"./commonDimensions-Bvh80Imh-jW8sAv4e.js";const K=l.div`
1
+ import{c as M,bD as R,bE as z,j as o,aM as u,bF as G,P as X,bG as _,o as n,am as q}from"./index-Dx_6v6jJ.js";import{b as r,n as l}from"./vendor-Bs1fkIUX.js";import{f as H}from"./TransactionList-CPVAoxeJ-CM-aQqoz.js";import{t as J}from"./page-detail-CWX5S47F-lMo0MYzU.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BoxItem-D1raF0Bb-BQ4qZrGw.js";import"./commonDimensions-BVYRkutP-DJ77KjRS.js";const K=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{q as H,O as k,j as o,P as B,aM as D,aQ as W,o as a,y as g,A as Q,b as U,dh as _,aa as G,hc as M,hd as F,he as R,cS as J,ad as K,u as r,c as X,cV as Y,gT as z,hj as Z,b6 as ee,hn as oe,ho as te}from"./index-CzIBPZCT.js";import{b as j,n as d}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=X(),$=N.labelWidth.value(l),P=N.controlWidth.value(l),I=n=>h.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=h.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(v,"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(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>I(n),defaultValue:{selectedOption:e,allOptions:F(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(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:p,allOptions:M(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(v,"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:P}):null]})]})},re=d.div`
1
+ import{q as H,O as k,j as o,P as B,aM as D,aQ as W,o as a,y as g,A as Q,b as U,dh as _,aa as G,hc as M,hd as F,he as R,cS as J,ad as K,u as r,c as X,cV as Y,gT as z,hj as Z,b6 as ee,hn as oe,ho as te}from"./index-Dx_6v6jJ.js";import{b as j,n as d}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=X(),$=N.labelWidth.value(l),P=N.controlWidth.value(l),I=n=>h.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=h.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(v,"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(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>I(n),defaultValue:{selectedOption:e,allOptions:F(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(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:p,allOptions:M(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(v,"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:P}):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,q as ue,aM as P,hw as lt,O as I,aN as G,n as ve,hG as ct,P as Ye,aQ as $e,o as a,y as c,A as Ne,s as dt,b8 as ut,ar as ft,_ as De,ai as be,am as fe,aP as ce,fG as pt,aa as Xe,l as mt,cS as ht,aX as gt,aO as wt,h as Q,ad as qe,fP as ke,fQ as Pe,gm as xt,c5 as ye,gh as $t,hH as Dt,u as o,fB as bt,cw as Ge,ce as yt,dm as Tt,bP as Ct,an as Ue,fL as St,dM as vt,cg as Qe,fS as kt,fU as Pt}from"./index-CzIBPZCT.js";import{b as u,n as r}from"./vendor-Bs1fkIUX.js";import{v as At}from"./ZeniTransferAmountSlider-DeYuGxZX-CBbNUuRc.js";import{r as Lt}from"./AccountInfoPageContent-C-yeV-YN-pfTO0G6B.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./downloadPdf-CKNipVJW-C7xRlSKq.js";import"./commonDimensions-Bvh80Imh-jW8sAv4e.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ze="amount",jt="transferTo",Ae="transferFrom",k="transferDetails",Je="transferDetailPage",ge=(e,n)=>`${e}.${n}`,Ke=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 zt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:K}){const i=ue(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),H=n.transferMoneyPartiesFetchState,oe=ce(H),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=n.transferMoneyParties.map(s=>s.id),me=ce(pe),He=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),A=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(n,se),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(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(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||s)&&A.reset(Le(n,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,Te,ee,X,me,pe,A,n,q]);const{isValid:tt}=A.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=A.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=n.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=n.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[A,n.transferMoneyParties]),u.useEffect(()=>{const s=A.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const rt=A.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&A.setValue(`${k}.${Ae}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,se,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),nt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Rt,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:n.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(ra,{"data-testid":P("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Q.heroLight}})})]})}):null,t.jsx(Yt,{children:G("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(qe,{...A,children:t.jsxs(Mt,{id:Ke(Je),onSubmit:rt,children:[t.jsxs(ta,{children:[t.jsx(Re,{size:i,children:t.jsx(je,{label:{label:de.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:ge(k,Ae),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Pe(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Re,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.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:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Pe(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),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(Gt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",nt)}),t.jsx(At,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Ut,{windowSize:i,children:[t.jsx(Jt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Qt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${G("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${G("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":P("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":P("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,y=!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(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,n)=>({transferDetails:{[Ze]: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:Bt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=r.div`
1
+ import{j as t,q as ue,aM as P,hw as lt,O as I,aN as G,n as ve,hG as ct,P as Ye,aQ as $e,o as a,y as c,A as Ne,s as dt,b8 as ut,ar as ft,_ as De,ai as be,am as fe,aP as ce,fG as pt,aa as Xe,l as mt,cS as ht,aX as gt,aO as wt,h as Q,ad as qe,fP as ke,fQ as Pe,gm as xt,c5 as ye,gh as $t,hH as Dt,u as o,fB as bt,cw as Ge,ce as yt,dm as Tt,bP as Ct,an as Ue,fL as St,dM as vt,cg as Qe,fS as kt,fU as Pt}from"./index-Dx_6v6jJ.js";import{b as u,n as r}from"./vendor-Bs1fkIUX.js";import{v as At}from"./ZeniTransferAmountSlider-BbMEETxN-CkVTZ0_l.js";import{r as Lt}from"./AccountInfoPageContent-D9p4wiMM-BHYWfKwE.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./downloadPdf-DQIFB4bS-BYGHS3hy.js";import"./commonDimensions-BVYRkutP-DJ77KjRS.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ze="amount",jt="transferTo",Ae="transferFrom",k="transferDetails",Je="transferDetailPage",ge=(e,n)=>`${e}.${n}`,Ke=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 zt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:K}){const i=ue(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),H=n.transferMoneyPartiesFetchState,oe=ce(H),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=n.transferMoneyParties.map(s=>s.id),me=ce(pe),He=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),A=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(n,se),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(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(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||s)&&A.reset(Le(n,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,Te,ee,X,me,pe,A,n,q]);const{isValid:tt}=A.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=A.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=n.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=n.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[A,n.transferMoneyParties]),u.useEffect(()=>{const s=A.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const rt=A.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&A.setValue(`${k}.${Ae}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,se,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),nt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Rt,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:n.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(ra,{"data-testid":P("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Q.heroLight}})})]})}):null,t.jsx(Yt,{children:G("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(qe,{...A,children:t.jsxs(Mt,{id:Ke(Je),onSubmit:rt,children:[t.jsxs(ta,{children:[t.jsx(Re,{size:i,children:t.jsx(je,{label:{label:de.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:ge(k,Ae),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Pe(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Re,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.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:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Pe(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),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(Gt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",nt)}),t.jsx(At,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Ut,{windowSize:i,children:[t.jsx(Jt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Qt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${G("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${G("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":P("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":P("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,y=!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(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,n)=>({transferDetails:{[Ze]: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:Bt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=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{q as C,c as M,a9 as Fe,cr as Ke,j as t,O as L,aN as W,c5 as ae,bF as Ve,C as ie,aM as E,P as We,o as i,ai as k,h as w,bP as Ee,y,ft as _,b as B,l as V,u as p,hz as le,be as de,bh as ce,bg as he,bf as pe,bS as Ge,bZ as Le,aS as Me,ax as Ue,g3 as Xe,h3 as Je,n as _e,am as O,a$ as Ze,ji as qe,jV as Qe,bk as et,f0 as tt,dr as it,fL as ot,kR as rt,iX as Oe,iY as Ae,cH as at,iP as nt,iQ as st,c3 as lt,an as G,cM as xe,iW as dt,cP as ct}from"./index-CzIBPZCT.js";import{b as f,n as o,w as ht,i as ge}from"./vendor-Bs1fkIUX.js";import{s as pt}from"./commonDimensions-Bvh80Imh-jW8sAv4e.js";import{g as me}from"./BoxItem-i1_Whvbs-Coc5rPJr.js";import{l as ne,n as xt}from"./treasuryColorHelper-DJ8dpJXH-Dn6jYgdD.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CGEA36Na.js";import{o as mt}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Oe,Ae),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=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(lt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.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(c=>c.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const $t=ht.memo(wt),jt=o.div`
1
+ import{q as C,c as M,a9 as Fe,cr as Ke,j as t,O as L,aN as W,c5 as ae,bF as Ve,C as ie,aM as E,P as We,o as i,ai as k,h as w,bP as Ee,y,ft as _,b as B,l as V,u as p,hz as le,be as de,bh as ce,bg as he,bf as pe,bS as Ge,bZ as Le,aS as Me,ax as Ue,g3 as Xe,h3 as Je,n as _e,am as O,a$ as Ze,ji as qe,jV as Qe,bk as et,f0 as tt,dr as it,fL as ot,kR as rt,iX as Oe,iY as Ae,cH as at,iP as nt,iQ as st,c3 as lt,an as G,cM as xe,iW as dt,cP as ct}from"./index-Dx_6v6jJ.js";import{b as f,n as o,w as ht,i as ge}from"./vendor-Bs1fkIUX.js";import{s as pt}from"./commonDimensions-BVYRkutP-DJ77KjRS.js";import{g as me}from"./BoxItem-D1raF0Bb-BQ4qZrGw.js";import{l as ne,n as xt}from"./treasuryColorHelper-Bg0esw6P-BrO6amDL.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CGEA36Na.js";import{o as mt}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Oe,Ae),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=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(lt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.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(c=>c.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},c.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{c as ce,q as A,ax as $e,a9 as fe,aP as ye,l as ke,O,j as r,bF as je,o as i,ji as be,c5 as Se,ai as j,n as Q,aM as Z,b as $,ar as F,h as a,y as z,am as R,dr as ze,c7 as ve,s as Le,an as Me,fn as Pe,u as h,e4 as Be,bj as Ee,_ as Te,A as Ie,C as ee,dh as De}from"./index-CzIBPZCT.js";import{b as s,n as t,w as We}from"./vendor-Bs1fkIUX.js";import{x as _e}from"./MeetingCalenderPopup-Bh-VTzSP-xiAxSq1x.js";import{I as Re,K as Ge}from"./VideoPlayer-BDT7Wxrv-B9yrG6S9.js";import{l as He}from"./treasuryColorHelper-DJ8dpJXH-Dn6jYgdD.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as Ae}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const Oe=({isOpen:e,onClose:C})=>{const c=A(),x=O.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Pe,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:c,children:[r.jsx(Ve,{children:r.jsx(Ue,{onClick:C})}),r.jsxs(qe,{children:[r.jsx(Ye,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(re,{children:x.agreementDrawer.intro}),r.jsx(H,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(H,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Je,{children:p.links.map((g,k)=>r.jsx(Qe,{children:g.link!==""?r.jsx(ie,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(ie,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:i.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(H,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Fe=t.div`
1
+ import{c as ce,q as A,ax as $e,a9 as fe,aP as ye,l as ke,O,j as r,bF as je,o as i,ji as be,c5 as Se,ai as j,n as Q,aM as Z,b as $,ar as F,h as a,y as z,am as R,dr as ze,c7 as ve,s as Le,an as Me,fn as Pe,u as h,e4 as Be,bj as Ee,_ as Te,A as Ie,C as ee,dh as De}from"./index-Dx_6v6jJ.js";import{b as s,n as t,w as We}from"./vendor-Bs1fkIUX.js";import{x as _e}from"./MeetingCalenderPopup-CNVAnAtx-B8wbqPcJ.js";import{I as Re,K as Ge}from"./VideoPlayer-ClKEd_qa-CKLw3kO6.js";import{l as He}from"./treasuryColorHelper-Bg0esw6P-BrO6amDL.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as Ae}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const Oe=({isOpen:e,onClose:C})=>{const c=A(),x=O.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Pe,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:c,children:[r.jsx(Ve,{children:r.jsx(Ue,{onClick:C})}),r.jsxs(qe,{children:[r.jsx(Ye,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(re,{children:x.agreementDrawer.intro}),r.jsx(H,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(H,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Je,{children:p.links.map((g,k)=>r.jsx(Qe,{children:g.link!==""?r.jsx(ie,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(ie,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:i.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(H,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Fe=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{a9 as rt,c as lt,q as we,aP as xe,aa as Se,cS as Ce,O as be,aU as he,j as t,fn as ct,h as dt,y as h,bF as ut,P as pt,ad as ke,e6 as ft,bA as ht,u as n,aX as mt,aO as gt,n as yt,c5 as wt,aM as xt,cY as St,aQ as Ct,o as i,am as Te,_ as bt,A as kt,b as Tt,H as Ot}from"./index-CzIBPZCT.js";import{b as a,n as o}from"./vendor-Bs1fkIUX.js";import{D as vt}from"./HelpButton-BY3Ymwq7-DCzAJuNO.js";import{r as It}from"./verification-CW6uEyev-CQXAdM_w.js";import{K as me}from"./SetUpDefaultSection-C944LR7Y-DmPt9yvH.js";import{f as At}from"./SpendMgmtSetupAccountSection-D7RNQvNU-zoSHCkGf.js";import Pt from"./PortfolioAllocationFormPage-CKjc0QtM-C3Maa9sc.js";import $t from"./TreasuryTransferOrReviewPage-BBmOKWs3-LQw59gmh.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-Bh-VTzSP-xiAxSq1x.js";import"./ChargeCardUtils-DwrchU8w-rfEpjdHS.js";import"./CreditCardPaymentPlgSection-B_dwX8WO-CbDsLJRc.js";import"./ChaseOverlay-Yi_R09xG-D-5pbKeF.js";import"./PortfolioDetails-9g-2bZ7_-B3nM8h3T.js";import"./treasuryColorHelper-DJ8dpJXH-Dn6jYgdD.js";const Et=(e,g)=>`${e}.${g}`,G={labelWidth:new h(145,155),navBarContainerPaddingYaxis:new h(10,n[3]),containerPaddingLeft:new h(n[3],n[6],n[8]),containerPaddingRight:new h(n[3],n[6],n[8])},Lt={stepTitle:new Tt("h6Regular","h5Regular")},Oe=be.getLocalizedStrings(),{common:ee,spendManagement:{treasury:{transferDrawer:{review:{footNoteForVerification:Ft}}}}}=Oe,l=Oe.commonSetUp.businessVerification,te=l.sourceOfFundOptions,F="additionalVerificationFields",jt=({companyOfficer:e,companyDetails:g,updateStatus:S,isDetailsSubmitted:b,isTransferInitiated:s,transferDetails:P,skipTransferStep:D,onClose:$,onAdditionalVerificationFieldsChanged:R,onSendForVerificationClick:w,onCloseOverlay:k})=>{const m=we(),X=G.labelWidth.value(m),E=xe(S.fetchState),T=Se({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[F]:{sourceOfFunds:{selectedOption:g?.sourceOfFunds??"",allOptions:Object.keys(te)}}}),[g?.sourceOfFunds])}),q=p=>te[p]??p,Y=T.handleSubmit(()=>{w(e?.officerType??"Officer_1",s)}),J=async(p,O)=>{R(O[F])};return a.useEffect(()=>{const p=T.watch((O,{name:V})=>{V!=null&&O!=null&&Ce(()=>J(V,O))});return()=>{p.unsubscribe()}}),E==="In-Progress"&&S.fetchState==="Completed"||b===!0?t.jsxs(Wt,{children:[t.jsxs(Bt,{children:[t.jsx(It,{}),t.jsx(Nt,{windowSize:m,children:s===!0?l.submittedTitleWithTransfer:l.submittedTitle}),t.jsx(_t,{children:s===!0?l.submittedDescriptionWithTransfer.replace("__amount__",mt(gt(P?.treasuryTransferMoneyLocalData?.amount?.amount??0),P?.treasuryTransferMoneyLocalData?.amount?.amount??0,ee.currency.currencySymbol)).replace("__account__",P?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):l.submittedDescription})]}),t.jsx(yt,{label:l.submittedButton,onClick:k,variant:"primary"})]}):t.jsxs(Dt,{windowSize:m,children:[t.jsx(Rt,{windowSize:m,children:t.jsx(wt,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(Vt,{"data-testid":xt("nav-bar-back-portfolio-allocation"),onClick:k||$})})}),t.jsxs(Mt,{windowSize:m,children:[t.jsx(Ut,{windowSize:m,children:D===!0?l.verifyBusinessDetailsWithoutTransfer:l.verifyBusinessDetails}),t.jsx(Ht,{children:t.jsxs(Gt,{children:[t.jsx(ge,{}),D!==!0&&t.jsx(ge,{}),t.jsx(Xt,{})]})})]}),t.jsx(ve,{children:l.verifyBusinessDetailsDescription}),t.jsx(ke,{...T,children:t.jsxs("form",{id:F,onSubmit:Y,children:[t.jsx(zt,{children:t.jsx(St,{label:{label:l.sourceOfFundsLabel,width:X},style:{width:"auto"},additionalInfoLabel:l.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:Et(F,"sourceOfFunds"),placeholder:l.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:q,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:g?.sourceOfFunds??"",allOptions:Object.keys(te)},registerOptions:{required:!0,validate:p=>!!p?.selectedOption}},isFunctional:!0,errorInfoLabel:l.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ct,{formId:F,primaryBtn:{label:ee.footer.submit,style:{width:"auto",minWidth:m==="small"?"auto":"83px"},isLoading:S.fetchState==="In-Progress"},cancelBtn:{label:ee.footer.back,style:{width:m==="small"?"auto":"83px"},onClick:$},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2},helperText:s===!0?Ft:void 0,helperStyle:{padding:`${i.sp0} ${i.sp0} ${i.sp3} ${i.sp0}`}})]})})]})},Dt=o.div`
1
+ import{a9 as rt,c as lt,q as we,aP as xe,aa as Se,cS as Ce,O as be,aU as he,j as t,fn as ct,h as dt,y as h,bF as ut,P as pt,ad as ke,e6 as ft,bA as ht,u as n,aX as mt,aO as gt,n as yt,c5 as wt,aM as xt,cY as St,aQ as Ct,o as i,am as Te,_ as bt,A as kt,b as Tt,H as Ot}from"./index-Dx_6v6jJ.js";import{b as a,n as o}from"./vendor-Bs1fkIUX.js";import{D as vt}from"./HelpButton-B4oEkhlX-DiN0FZzX.js";import{r as It}from"./verification-CW6uEyev-CQXAdM_w.js";import{K as me}from"./SetUpDefaultSection-He_L-zlp-BKSpIPTj.js";import{f as At}from"./SpendMgmtSetupAccountSection-bwI5SMzd-BrpYl8cj.js";import Pt from"./PortfolioAllocationFormPage-BegnBtWP-DHRCO0G2.js";import $t from"./TreasuryTransferOrReviewPage-D-5wLfD4-CMZ7eL51.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-CNVAnAtx-B8wbqPcJ.js";import"./ChargeCardUtils-Rb7oaOW_-d4fs5S75.js";import"./CreditCardPaymentPlgSection-DRAYmlBe-BG5WzWK1.js";import"./ChaseOverlay-BU6mQm8r-CttX-8es.js";import"./PortfolioDetails-C4QFrCtd-DGLpyQbF.js";import"./treasuryColorHelper-Bg0esw6P-BrO6amDL.js";const Et=(e,g)=>`${e}.${g}`,G={labelWidth:new h(145,155),navBarContainerPaddingYaxis:new h(10,n[3]),containerPaddingLeft:new h(n[3],n[6],n[8]),containerPaddingRight:new h(n[3],n[6],n[8])},Lt={stepTitle:new Tt("h6Regular","h5Regular")},Oe=be.getLocalizedStrings(),{common:ee,spendManagement:{treasury:{transferDrawer:{review:{footNoteForVerification:Ft}}}}}=Oe,l=Oe.commonSetUp.businessVerification,te=l.sourceOfFundOptions,F="additionalVerificationFields",jt=({companyOfficer:e,companyDetails:g,updateStatus:S,isDetailsSubmitted:b,isTransferInitiated:s,transferDetails:P,skipTransferStep:D,onClose:$,onAdditionalVerificationFieldsChanged:R,onSendForVerificationClick:w,onCloseOverlay:k})=>{const m=we(),X=G.labelWidth.value(m),E=xe(S.fetchState),T=Se({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[F]:{sourceOfFunds:{selectedOption:g?.sourceOfFunds??"",allOptions:Object.keys(te)}}}),[g?.sourceOfFunds])}),q=p=>te[p]??p,Y=T.handleSubmit(()=>{w(e?.officerType??"Officer_1",s)}),J=async(p,O)=>{R(O[F])};return a.useEffect(()=>{const p=T.watch((O,{name:V})=>{V!=null&&O!=null&&Ce(()=>J(V,O))});return()=>{p.unsubscribe()}}),E==="In-Progress"&&S.fetchState==="Completed"||b===!0?t.jsxs(Wt,{children:[t.jsxs(Bt,{children:[t.jsx(It,{}),t.jsx(Nt,{windowSize:m,children:s===!0?l.submittedTitleWithTransfer:l.submittedTitle}),t.jsx(_t,{children:s===!0?l.submittedDescriptionWithTransfer.replace("__amount__",mt(gt(P?.treasuryTransferMoneyLocalData?.amount?.amount??0),P?.treasuryTransferMoneyLocalData?.amount?.amount??0,ee.currency.currencySymbol)).replace("__account__",P?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):l.submittedDescription})]}),t.jsx(yt,{label:l.submittedButton,onClick:k,variant:"primary"})]}):t.jsxs(Dt,{windowSize:m,children:[t.jsx(Rt,{windowSize:m,children:t.jsx(wt,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(Vt,{"data-testid":xt("nav-bar-back-portfolio-allocation"),onClick:k||$})})}),t.jsxs(Mt,{windowSize:m,children:[t.jsx(Ut,{windowSize:m,children:D===!0?l.verifyBusinessDetailsWithoutTransfer:l.verifyBusinessDetails}),t.jsx(Ht,{children:t.jsxs(Gt,{children:[t.jsx(ge,{}),D!==!0&&t.jsx(ge,{}),t.jsx(Xt,{})]})})]}),t.jsx(ve,{children:l.verifyBusinessDetailsDescription}),t.jsx(ke,{...T,children:t.jsxs("form",{id:F,onSubmit:Y,children:[t.jsx(zt,{children:t.jsx(St,{label:{label:l.sourceOfFundsLabel,width:X},style:{width:"auto"},additionalInfoLabel:l.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:Et(F,"sourceOfFunds"),placeholder:l.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:q,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:g?.sourceOfFunds??"",allOptions:Object.keys(te)},registerOptions:{required:!0,validate:p=>!!p?.selectedOption}},isFunctional:!0,errorInfoLabel:l.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ct,{formId:F,primaryBtn:{label:ee.footer.submit,style:{width:"auto",minWidth:m==="small"?"auto":"83px"},isLoading:S.fetchState==="In-Progress"},cancelBtn:{label:ee.footer.back,style:{width:m==="small"?"auto":"83px"},onClick:$},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2},helperText:s===!0?Ft:void 0,helperStyle:{padding:`${i.sp0} ${i.sp0} ${i.sp3} ${i.sp0}`}})]})})]})},Dt=o.div`
2
2
  height: auto;
3
3
  padding-left: ${e=>`${G.containerPaddingLeft.valuePx(e.windowSize)}`};
4
4
  padding-right: ${e=>`${G.containerPaddingRight.valuePx(e.windowSize)}`};
@@ -1,4 +1,4 @@
1
- import{c as j,q as v,j as t,bF as z,O as P,b3 as C,o as r,h as c,cH as I,y as R,u as d,am as T}from"./index-CzIBPZCT.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";import{$ as B}from"./BoxItem-i1_Whvbs-Coc5rPJr.js";import{o as E}from"./commonDimensions-Bvh80Imh-jW8sAv4e.js";import{O as L}from"./StatementItem-Btk7PnAh-CYEldI5P.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./downloadPdf-CKNipVJW-C7xRlSKq.js";const h=P.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new R(d[3],d[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=()=>E.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(L,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:B(s,a.statements.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(O,{children:t.jsx(p,{windowSize:i,children:t.jsx(N,{children:h.noStatements})})})})};return t.jsxs(H,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,p=o.div`
1
+ import{c as j,q as v,j as t,bF as z,O as P,b3 as C,o as r,h as c,cH as I,y as R,u as d,am as T}from"./index-Dx_6v6jJ.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";import{$ as B}from"./BoxItem-D1raF0Bb-BQ4qZrGw.js";import{o as E}from"./commonDimensions-BVYRkutP-DJ77KjRS.js";import{O as L}from"./StatementItem-Crb860tq-DQs1oo3F.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./downloadPdf-DQIFB4bS-BYGHS3hy.js";const h=P.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new R(d[3],d[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=()=>E.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(L,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:B(s,a.statements.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(O,{children:t.jsx(p,{windowSize:i,children:t.jsx(N,{children:h.noStatements})})})})};return t.jsxs(H,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=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{c as j,q as v,j as t,bF as L,O as z,b3 as P,o as r,h as c,cH as C,y as T,u as d,am as I}from"./index-CzIBPZCT.js";import{b as h,n as o}from"./vendor-Bs1fkIUX.js";import{$ as R}from"./BoxItem-i1_Whvbs-Coc5rPJr.js";import{o as B}from"./commonDimensions-Bvh80Imh-jW8sAv4e.js";import{O as E}from"./StatementItem-Btk7PnAh-CYEldI5P.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./downloadPdf-CKNipVJW-C7xRlSKq.js";const m=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new T(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:b,taxLetterListView:a,onBackClick:u})=>{const g=j(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.taxLetters[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:w,downloadEndPoint:b,documentType:"taxLetter",boxType:R(s,a.taxLetters.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(O,{children:t.jsx(p,{windowSize:i,children:t.jsx(N,{children:m.noTaxLetter})})})})};return t.jsxs(H,{children:[t.jsx(L,{title:m.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,p=o.div`
1
+ import{c as j,q as v,j as t,bF as L,O as z,b3 as P,o as r,h as c,cH as C,y as T,u as d,am as I}from"./index-Dx_6v6jJ.js";import{b as h,n as o}from"./vendor-Bs1fkIUX.js";import{$ as R}from"./BoxItem-D1raF0Bb-BQ4qZrGw.js";import{o as B}from"./commonDimensions-BVYRkutP-DJ77KjRS.js";import{O as E}from"./StatementItem-Crb860tq-DQs1oo3F.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./downloadPdf-DQIFB4bS-BYGHS3hy.js";const m=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new T(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:b,taxLetterListView:a,onBackClick:u})=>{const g=j(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.taxLetters[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:w,downloadEndPoint:b,documentType:"taxLetter",boxType:R(s,a.taxLetters.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(O,{children:t.jsx(p,{windowSize:i,children:t.jsx(N,{children:m.noTaxLetter})})})})};return t.jsxs(H,{children:[t.jsx(L,{title:m.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=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{q as ye,aC as Pt,j as r,aM as D,hw as Ct,O as $e,aN as q,n as qe,P as at,aQ as nt,o as t,y as w,A as Oe,s as zt,b6 as Dt,c as Lt,aP as Q,c5 as Ft,ft as st,b as O,l as L,gG as Mt,h as j,ar as Rt,H as lt,ai as I,am as Y,fG as Bt,aa as Ot,cS as It,ad as Et,gm as _t,u as d,ce as ct,fB as dt,cw as ut,dm as Nt,dd as Vt,fS as Wt,fK as qt,a9 as Yt,an as Gt,fL as Xt,dM as Jt,cM as Ut,cL as Kt,bz as Qt,bX as Zt,fU as Ht,g1 as er,aX as tr}from"./index-CzIBPZCT.js";import{n as o,b as y}from"./vendor-Bs1fkIUX.js";import{q as pt}from"./PortfolioDetails-9g-2bZ7_-B3nM8h3T.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./treasuryColorHelper-DJ8dpJXH-Dn6jYgdD.js";const rr=$e.getLocalizedStrings().spendManagement.treasury,R=[0,125e4,25e5,35e5,5e6],or=1e3;function ir({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:i}){const l=Yt().analytics,[c,h]=y.useState(a);y.useEffect(()=>{h(a)},[a]);const p=f=>{const $=parseFloat(f.target.value),s=ge($,e);h($),u(s),i($),l.trackTreasuryCalculatorClick("fund transfer",$)},k=f=>{const $=ge(f,e);h(f),i(f),u($),l.trackTreasuryCalculatorClick("fund transfer",f)};return r.jsxs(cr,{sliderValue:c,children:[r.jsx(lr,{sliderValue:c,type:"range",min:R[0],max:R[R.length-1],step:or,value:c,onChange:p}),r.jsx(dr,{style:{width:`${Math.min(c/R[R.length-1]*92.5,92.5)}%`}}),r.jsx(mr,{sliderValue:c,style:{left:`calc(${Math.min(Math.max(c/R[R.length-1]*100,5),95)}% - 50px)`},children:ar(c)}),r.jsx(ur,{children:R.map((f,$)=>r.jsx(pr,{onClick:()=>k(f),"data-testid":D("slider-label",f.toString()),style:{left:nr($)},children:r.jsx(hr,{isSelected:c>=f,children:sr(f)})},f))})]})}const ar=e=>{const a=tr("0,0.[00]a",e,"$").toUpperCase();return`${rr.transferDrawer.calculator.sliderTooltipText} ${a}`};function ge(e,a){const u=a/100,i=e*Math.pow(1+u/12,12);return Math.floor(i-e)}const nr=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%"}},sr=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),lr=o.input`
1
+ import{q as ye,aC as Pt,j as r,aM as D,hw as Ct,O as $e,aN as q,n as qe,P as at,aQ as nt,o as t,y as w,A as Oe,s as zt,b6 as Dt,c as Lt,aP as Q,c5 as Ft,ft as st,b as O,l as L,gG as Mt,h as j,ar as Rt,H as lt,ai as I,am as Y,fG as Bt,aa as Ot,cS as It,ad as Et,gm as _t,u as d,ce as ct,fB as dt,cw as ut,dm as Nt,dd as Vt,fS as Wt,fK as qt,a9 as Yt,an as Gt,fL as Xt,dM as Jt,cM as Ut,cL as Kt,bz as Qt,bX as Zt,fU as Ht,g1 as er,aX as tr}from"./index-Dx_6v6jJ.js";import{n as o,b as y}from"./vendor-Bs1fkIUX.js";import{q as pt}from"./PortfolioDetails-C4QFrCtd-DGLpyQbF.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./treasuryColorHelper-Bg0esw6P-BrO6amDL.js";const rr=$e.getLocalizedStrings().spendManagement.treasury,R=[0,125e4,25e5,35e5,5e6],or=1e3;function ir({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:i}){const l=Yt().analytics,[c,h]=y.useState(a);y.useEffect(()=>{h(a)},[a]);const p=f=>{const $=parseFloat(f.target.value),s=ge($,e);h($),u(s),i($),l.trackTreasuryCalculatorClick("fund transfer",$)},k=f=>{const $=ge(f,e);h(f),i(f),u($),l.trackTreasuryCalculatorClick("fund transfer",f)};return r.jsxs(cr,{sliderValue:c,children:[r.jsx(lr,{sliderValue:c,type:"range",min:R[0],max:R[R.length-1],step:or,value:c,onChange:p}),r.jsx(dr,{style:{width:`${Math.min(c/R[R.length-1]*92.5,92.5)}%`}}),r.jsx(mr,{sliderValue:c,style:{left:`calc(${Math.min(Math.max(c/R[R.length-1]*100,5),95)}% - 50px)`},children:ar(c)}),r.jsx(ur,{children:R.map((f,$)=>r.jsx(pr,{onClick:()=>k(f),"data-testid":D("slider-label",f.toString()),style:{left:nr($)},children:r.jsx(hr,{isSelected:c>=f,children:sr(f)})},f))})]})}const ar=e=>{const a=tr("0,0.[00]a",e,"$").toUpperCase();return`${rr.transferDrawer.calculator.sliderTooltipText} ${a}`};function ge(e,a){const u=a/100,i=e*Math.pow(1+u/12,12);return Math.floor(i-e)}const nr=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%"}},sr=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),lr=o.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1,4 +1,4 @@
1
- import{O as Y,j as n,l as u,c as Z,aM as w,b3 as z,bQ as A,bR as F,bh as O,C as k,bg as P,aX as B,bS as q,bi as _,bU as G,o as L,h as K,am as N}from"./index-CzIBPZCT.js";import{b as D,w as X,n as $}from"./vendor-Bs1fkIUX.js";import{d as Q,g as M,p as v,u as V}from"./chartTypes-CultIwKc-Cq3_oBZW.js";import{o as W}from"./toCOABalancesWithID-QJXJYQ9T-gEErCy0J.js";import{V as U}from"./toChartData-CN15R7RB-CS5Czivs.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const H=$.div`
1
+ import{O as Y,j as n,l as u,c as Z,aM as w,b3 as z,bQ as A,bR as F,bh as O,C as k,bg as P,aX as B,bS as q,bi as _,bU as G,o as L,h as K,am as N}from"./index-Dx_6v6jJ.js";import{b as D,w as X,n as $}from"./vendor-Bs1fkIUX.js";import{d as Q,g as M,p as v,u as V}from"./chartTypes-BOtv_Qyt-DUqfch7p.js";import{o as W}from"./toCOABalancesWithID-CD6AMXij-VvTJfohU.js";import{V as U}from"./toChartData-B2D5ypu5-DgxwVZtD.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const H=$.div`
2
2
  display: flex;
3
3
  `,I=$.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{q as D,j as i,P as R,o as t,O as b,y as c,aM as S,b3 as q,b6 as Y,_,u as a,am as E,A as K}from"./index-CzIBPZCT.js";import{b as H,n}from"./vendor-Bs1fkIUX.js";import V from"./TrendChart-BvUgR7NR-Dds38jx_.js";import{C as W}from"./NoDataChart-gu-_4U1R-BXpb0aAl.js";import{q as X}from"./InsightsSection-CR-kPvnj-B41E7xie.js";import{f as Z}from"./TransactionList-CBlM8Agr-CcsKnlKb.js";const G=n.div`
1
+ import{q as D,j as i,P as R,o as t,O as b,y as c,aM as S,b3 as q,b6 as Y,_,u as a,am as E,A as K}from"./index-Dx_6v6jJ.js";import{b as H,n}from"./vendor-Bs1fkIUX.js";import V from"./TrendChart-DqWZYuvO-D_YQdCrg.js";import{C as W}from"./NoDataChart-BqHCJbkE-DNDwIJeS.js";import{q as X}from"./InsightsSection-BuY7NDTY-xxIMuImU.js";import{f as Z}from"./TransactionList-CPVAoxeJ-CM-aQqoz.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{c as ce,q as se,ax as Ke,aP as en,gO as R,hP as U,O as H,aa as nn,hQ as tn,hR as Te,cS as on,j as t,bF as cn,cD as sn,cE as ln,cF as an,ad as rn,l as J,hS as dn,P as un,hT as Y,hU as pn,aQ as mn,hV as _e,y as u,am as gn,o as l,d3 as fe,aU as W,gT as oe,hW as ie,u as d,b as Ae,h as $e,gg as Ve,ai as Se,bm as xn}from"./index-CzIBPZCT.js";import{b as X,n as s}from"./vendor-Bs1fkIUX.js";import{D as hn}from"./HelpButton-BY3Ymwq7-DCzAJuNO.js";import{h as wn}from"./VendorsAccountsSection-BeWKBguu-DGCqE_zT.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-Bh-VTzSP-xiAxSq1x.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])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
1
+ import{c as ce,q as se,ax as Ke,aP as en,gO as R,hP as U,O as H,aa as nn,hQ as tn,hR as Te,cS as on,j as t,bF as cn,cD as sn,cE as ln,cF as an,ad as rn,l as J,hS as dn,P as un,hT as Y,hU as pn,aQ as mn,hV as _e,y as u,am as gn,o as l,d3 as fe,aU as W,gT as oe,hW as ie,u as d,b as Ae,h as $e,gg as Ve,ai as Se,bm as xn}from"./index-Dx_6v6jJ.js";import{b as X,n as s}from"./vendor-Bs1fkIUX.js";import{D as hn}from"./HelpButton-B4oEkhlX-DiN0FZzX.js";import{h as wn}from"./VendorsAccountsSection-CQQcqnp7-BLMoserV.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-CNVAnAtx-B8wbqPcJ.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])},qe={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{aP as b,j as t,hY as R,hZ as _,q as F,O,cD as N,af as C,cE as U,cF as z,aa as M,ad as G,c$ as H,l as T,cX as D,y as g,cY as Y,h as A,ap as J,P as X,n as Z,o as i,am as K,u as E,ar as Q,b9 as ee}from"./index-CzIBPZCT.js";import{b as c,n as f}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(E[3],E[2]),width:new g(300,420,420)},te=f.div`
1
+ import{aP as b,j as t,hY as R,hZ as _,q as F,O,cD as N,af as C,cE as U,cF as z,aa as M,ad as G,c$ as H,l as T,cX as D,y as g,cY as Y,h as A,ap as J,P as X,n as Z,o as i,am as K,u as E,ar as Q,b9 as ee}from"./index-Dx_6v6jJ.js";import{b as c,n as f}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(E[3],E[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};