@zeniai/web-cockpit-ui 1.13.97-prod → 1.13.98-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 (248) hide show
  1. package/dist/assets/{ACHDetailsPage-Cwc2nmvY-Yb3TlvKZ.js → ACHDetailsPage-C_NL9J0X-DQ3wv9Rt.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CK4ZdUEb-Cw0WnkfY.js → AIPerformancePage-DyiOQxOC-Deykua_G.js} +21 -21
  3. package/dist/assets/{AccountInfoPage-LiZYkJMA-yHSK7Rnh.js → AccountInfoPage-xglon85A-yRVQMsLQ.js} +5 -5
  4. package/dist/assets/AccountInfoPageContent-BtMF3gSM-CwB-GVxY.js +149 -0
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CBOR2m1X-CCVpHHOa.js → AccountReconDetailsDrawerPage-DJ9x8tbi-LYKktAAO.js} +17 -17
  6. package/dist/assets/{AccountRow--5DnpNqk-BQr3z4DI.js → AccountRow-CP7Tu1pO-VLQJgkE6.js} +23 -23
  7. package/dist/assets/{AccountsPromoCardStack-DCI8_ihc-BSmZm-Zn.js → AccountsPromoCardStack-1elvD1M0-GOX35w9m.js} +22 -22
  8. package/dist/assets/{AddAddressForCardDrawer-C_RALUZ7-CyM0vwpI.js → AddAddressForCardDrawer-C8-wy-3B-di9k1XXJ.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-7sC3Q2Pb-Cpm0UfHl.js → AddToWalletPage-DsqplF5y-BOnzBTtb.js} +19 -19
  10. package/dist/assets/{AgingReportsPage-PrvYryW8-I7-sb1Ih.js → AgingReportsPage-DClcRhxg-CS8rEKD_.js} +6 -6
  11. package/dist/assets/{AllUserItems-DlTukPhY-C2edQD_z.js → AllUserItems-BOwAIYTQ-ikKyJOZ6.js} +7 -7
  12. package/dist/assets/{ApAgingDetailPage-BVciGQma-DJWsvipb.js → ApAgingDetailPage-CcU6Hz-o-C9CP7TBd.js} +4 -4
  13. package/dist/assets/{AppBasePage-uJGLWCbr-CYWyINGb.js → AppBasePage-C7kCz0qg-gwqzuxWV.js} +2 -2
  14. package/dist/assets/{AppDrawerContent-SD57OqHe-nBHsW7E9.js → AppDrawerContent-B63CbHT7-CTgXtY-R.js} +7 -7
  15. package/dist/assets/ApprovalRulesSettingsPage-D6XZafBq-BQyA8PhX.js +47 -0
  16. package/dist/assets/ArAgingChart-D-Z3jfGt-DS-oqmcQ.js +24 -0
  17. package/dist/assets/{ArAgingDetailPage-CoFL0N3--DCm6OrE4.js → ArAgingDetailPage-AiwyJUwp-CLdUA32y.js} +1 -1
  18. package/dist/assets/{AttachmentView-C3xQE0te-n3iWUkqT.js → AttachmentView-wIV1i6gf-__2UovKF.js} +5 -5
  19. package/dist/assets/{BankAccountSection-Bi3uoDPa-Nc2grfOO.js → BankAccountSection-cVBEl5IN-DpEdLEP3.js} +2 -2
  20. package/dist/assets/{BankAccountWarningSection-DKdgmMHQ-D-bpYaBu.js → BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js} +8 -8
  21. package/dist/assets/{BankConnectionsSettingsPage-1zM9RKRI-CDocL8j_.js → BankConnectionsSettingsPage-Cgp8M98A-D84-x80q.js} +33 -33
  22. package/dist/assets/{BillDetailPage-BoxJCC9n-BWeG9Hik.js → BillDetailPage-C9NC9kTK-BYRIHiN2.js} +11 -11
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-BW3sj5ug-BErwhK5C.js → BillPayApprovalRuleDetailPage-yKPMorLd-DWM3MQMK.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-DLA6R7dC-CRXar6D8.js → BillPayApprovalRulesPage-DmMqDFmk-B8Cg6Nn6.js} +6 -6
  25. package/dist/assets/{BillPayPromoPage--BGTNJhm-DMPJae3j.js → BillPayPromoPage-CWGX6uCi--607mHc3.js} +4 -4
  26. package/dist/assets/BillPaySetUpPage-B-DHUIqu-DsqPk0zS.js +42 -0
  27. package/dist/assets/{BillingSettingsPage-DgbRhg-m-BQXo-PFB.js → BillingSettingsPage-Bx7lHgIy-CyArwb3F.js} +5 -5
  28. package/dist/assets/{BillsBulkReviewDrawerPage-CKspyZz7-CrVXvVTH.js → BillsBulkReviewDrawerPage-Bf5MKQ-f-5iZSFdzE.js} +1 -1
  29. package/dist/assets/{BoxItem-BHtgE0KL-CQh3YeAW.js → BoxItem-DX1sag1G-C0OcCbod.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-CpfsllRZ-DZ4wSxlf.js → BusinessVerificationPage-DXh-11f9-BWywYgcT.js} +14 -14
  31. package/dist/assets/{CardNumberSubText-BHe1nqr7-Dw94kPrk.js → CardNumberSubText-iYF6MLsf-BnbFJt1d.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-C9RhIR0R-d9koKX6M.js → CashbackDetailPage-DVsCU69u-iWc1QiKl.js} +24 -24
  33. package/dist/assets/ChargeCardDetailPage-D5bwvNOM-CT3hMXCY.js +1447 -0
  34. package/dist/assets/ChargeCardListPage-rY7_MoJ5-CzPbszY2.js +355 -0
  35. package/dist/assets/{ChargeCardListTable-C2nnAxo5-FqHclXlq.js → ChargeCardListTable-PTRaj9T6-GxUnY44G.js} +18 -18
  36. package/dist/assets/ChargeCardPromoPage-BUtD2JQ4-Bh59RQEl.js +219 -0
  37. package/dist/assets/ChargeCardSetupPage-CIRcLLnB-Cefuwkkm.js +36 -0
  38. package/dist/assets/{ChargeCardStatementsPage-DK-pEljz-DBBQtECo.js → ChargeCardStatementsPage-uRlTsfDI-DztC0UAp.js} +3 -3
  39. package/dist/assets/{ChargeCardUtils-BxyMuU6--CGk-PpFv.js → ChargeCardUtils-BvVm2SMq-B6pl3c2F.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-CRiYxWuZ-sWGKU7hV.js → ChaseOverlay-CI8lEzod-DNTlxx9v.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-WYiirlL8-Bs8VUuYh.js → CheckDepositDrawerPage-Czpxz6Mz-gcS4-F7d.js} +16 -16
  42. package/dist/assets/CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.js +2932 -0
  43. package/dist/assets/{CompanyOfficerDetailsSection-BPZU90Im-DdoiVC4M.js → CompanyOfficerDetailsSection-BrsHy7MO-Cl-BM3f0.js} +35 -35
  44. package/dist/assets/{CompanyPassportCard-PXdmJC_B-C7N0q60V.js → CompanyPassportCard-P0g_DRwA-XRQTRVQK.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-MxIwsh3W-D5tCZGyF.js → CompanyPassportPage-CH8El0Nl-CrZI1ceZ.js} +37 -37
  46. package/dist/assets/{CompleteProfile-Bd9xEPVl-Bur2yC4e.js → CompleteProfile-DTSAIKgF-WX_HRfP5.js} +4 -4
  47. package/dist/assets/{ConfettiBurst-CMpZ2feY-B5XfbLvf.js → ConfettiBurst-CjONFCxD-BbasMJ1h.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-DgHvZfWv-Bi7M3NeT.js → CreateOrEditVendorPage-CDVjGotR-BX0RU8Lc.js} +13 -13
  49. package/dist/assets/{CreditCardPaymentDrawerPage-C2ikLG7P-D9NRI7sf.js → CreditCardPaymentDrawerPage-CsyNRmxp-J9Q1Nire.js} +15 -15
  50. package/dist/assets/{CreditCardPaymentPlgSection-M69ECpN9-buXhPCBw.js → CreditCardPaymentPlgSection-BhHsjqZA-DtxErSDc.js} +8 -8
  51. package/dist/assets/{CurrencySelectField-B3AvTbkp-CHV4_MaB.js → CurrencySelectField-BRkdK9Tx-DZlSSgUd.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-C7eddGoB-xoDiasdm.js → CustomerOnboardingActivationPage-DnVXw5Ok-CF7wqV2h.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-wmVbYxdI-BLfm1bGE.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BIAeoXCV-CLmmsiWl.js → CustomerOnboardingDetailPageSkeleton-C95eWcqa-DW8DNI2i.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BzO6XZ0H-R3sD-qJw.js → CustomerOnboardingNoStepsPage-OKbEl9Bp-Dy87ha3L.js} +9 -9
  56. package/dist/assets/{CustomerOnboardingPage-7yWIaJvU-BJjoIZ4H.js → CustomerOnboardingPage-D9jqUudS-BpBvjqe9.js} +6 -6
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-Tvyrs9Cm-D9abTy3K.js → CustomerOnboardingProductSuitePage-DK_FKVS2-Dz81TViz.js} +5 -5
  58. package/dist/assets/Dashboard-CsuzQbH0-B5Hgiilv.js +1254 -0
  59. package/dist/assets/DashboardReportPage-BCkrfj3P-CIFdRg6l.js +370 -0
  60. package/dist/assets/{DepositAccTransactionItem-CiRcbfmm-COTpxjXV.js → DepositAccTransactionItem-B55LUfPM-Bsnh-Dnt.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-DsNLDlHv-Dil7L-H3.js → DepositAccTransactionListPage-CKBZEDvI-CFszcDp5.js} +7 -7
  62. package/dist/assets/{DocumentSecurityBanner-CIWoR_yI-D3092p-g.js → DocumentSecurityBanner-B5e6-zfE-B8VQ-eGv.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-C6x8Gz4g-CvdkcKGu.js → DomesticWireDetailsPage--MU9IKKz-CI-n4FxD.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-D1kGkMFo-CFSdk_Qd.js → DownloadOverlay-CVay7PEO-C-BIaHoh.js} +12 -12
  65. package/dist/assets/{DrawerPage-CQkJW5hg-9b3zFuwk.js → DrawerPage-BtsjUVWT-DKZ4-9Rc.js} +3 -3
  66. package/dist/assets/{EditPeoplePage-m2qls8hv-Di3CS432.js → EditPeoplePage-q8Se6bGZ-Cx2X58jF.js} +17 -17
  67. package/dist/assets/{EditReimbursementDetailPage-IlSyu79B-CK3QXm0O.js → EditReimbursementDetailPage-DJxpU-hz-dhF_OPbV.js} +72 -72
  68. package/dist/assets/{EntityDetailPage-CcJJwGo7-uoqYszcb.js → EntityDetailPage-Bux6DlIw-CDR-iDms.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-JxKHehL1-BXmouJnf.js → EntitySummarySection-D8dz1hFt-Bakc19a1.js} +13 -13
  70. package/dist/assets/{ExpenseAutomationOverviewPage-iAUtjSnw-DqMsPFLZ.js → ExpenseAutomationOverviewPage-CdJQtc-4-WoBW313I.js} +26 -26
  71. package/dist/assets/{ExpenseAutomationPage-B0f86olm-CQRdBFLI.js → ExpenseAutomationPage-aNc126hN-DZa4KtXO.js} +74 -74
  72. package/dist/assets/{ExpressPayPage-B-at6uDS-Dtq_3eKZ.js → ExpressPayPage-CWVGXvfN-Bzdld5fx.js} +7 -7
  73. package/dist/assets/{FeaturePreviewPage-gSb_rct_-Cez0USO5.js → FeaturePreviewPage-C0nvVXP--BF6s18r5.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-eedORgku-CZFixVjB.js → FollowStepsSection-Cf0s1DGX-BFVvc78r.js} +12 -12
  75. package/dist/assets/{GlobalReviewListPage-BfPwveCc-Be7k0L3l.js → GlobalReviewListPage-aY4rHJVr-DzNSgRAM.js} +10 -10
  76. package/dist/assets/HelpButton-Dv3nbc1Z-CHaoZd0g.js +28 -0
  77. package/dist/assets/{InformationCardStack-DPaZz4XW-Ou8UbOck.js → InformationCardStack-BALkGk48-BWmXScs3.js} +5 -5
  78. package/dist/assets/{InsightsCardStack-sKUFRR0H-C5AsA-_0.js → InsightsCardStack-D52CCSVO-CezeuABJ.js} +10 -10
  79. package/dist/assets/{InsightsSection-Corx5iDh-dTSwI2kJ.js → InsightsSection-D_wtVtVg-5rPDOiJT.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-DTWoUi2e-Chu6LuMb.js → IntegrationsSettingsPage-DxjbW311-BrvXi8hE.js} +7 -7
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-B441GUkh-CscnxDNt.js → InternationalWireSwiftDetailsPage-24NSHzu1-CRaVhxIk.js} +14 -14
  82. package/dist/assets/{InternationalWireVerificationPage-DjpWjFSe-BjBnngF4.js → InternationalWireVerificationPage-B1jvCUkw-Ld5IAzwh.js} +18 -18
  83. package/dist/assets/{InviteFormPage-BRb4jyp_-CmdYR0dv.js → InviteFormPage-C9fNxGsi-CRksfDku.js} +19 -19
  84. package/dist/assets/{InvitePageListView-Bb_Q_xqJ-NilyMKAO.js → InvitePageListView-DSWZ2SPi-B4SFh7Xp.js} +49 -49
  85. package/dist/assets/InvitePeoplePage-DaN4NSHW-CydccedW.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-BE4ZqriT-CgEhMUSB.js → InvoiceUploadSection-D0CgJxyu-9_MCn8Y6.js} +7 -7
  87. package/dist/assets/{IssueChargeCardPage-BIFpAcrl-Bu31m03I.js → IssueChargeCardPage-dYu9VLy4-YHkYWF3X.js} +22 -22
  88. package/dist/assets/{LabeledAddressValue-D2vDF5sP-4KAQPk_1.js → LabeledAddressValue-DtmZ5htg-OjX3rrF7.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-BMdJsw3x-yhvcn5pE.js → LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js} +4 -4
  90. package/dist/assets/{LabeledControlledCheckBoxField-CHRGFyHl-BUwVc2dn.js → LabeledControlledCheckBoxField-Ds3mSsWy-DNoefl6y.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-qwQPyqDC-CLUSQpF_.js → LabeledCreatableSingleSelectField-DW8jVgaN-BEmOmz9t.js} +8 -8
  92. package/dist/assets/{LabeledDocumentField-Cdd8oj5z-KMtJCE5K.js → LabeledDocumentField-Ce2A0qNH-CSvl2QNP.js} +5 -5
  93. package/dist/assets/{LabeledDropDownFormattedTextField-CSEioH8A-D5DtNkbM.js → LabeledDropDownFormattedTextField-DWlfmICB-Diz5afTR.js} +5 -5
  94. package/dist/assets/{LabeledText-CqZ-udSP-Cp_rhVhc.js → LabeledText-bruKdeAH-E98_Q-Ht.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DTmijO10-VJ76Kxzi.js → LabeledUserSingleSelectWithSubtitlesField-CfzUlgs3-BKnteQzK.js} +5 -5
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DSIWuFix-DvOwsX2r.js → LabeledZeniRolesDropDownField-CGSgg1Zl-M-Z5Kz_3.js} +22 -22
  97. package/dist/assets/{LinkJETransactionPage-C5V1HfGb-D06-uv9I.js → LinkJETransactionPage-DjNutEvf-sKN4Are7.js} +10 -10
  98. package/dist/assets/{LowBalancePopup-BLfeh0xm-DhP5gG4H.js → LowBalancePopup-CwcYMtuk-B-vSGd6a.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-DGR7VcHs-86DaWsop.js → MagicLinkACHDetailsPage-Ddhg3i45-DAcpfJH2.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BOu5verB-CVm_wN9K.js → MagicLinkDomesticWireDetailsPage-QzsSuMOz-D-Sj2Twf.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-elijVpdq-DPVwqhye.js → MagicLinkInternationalWireDetailsPage-BsLlhkuO-cmHC5izc.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-C6-JVGAQ-BtgwLSxA.js → MagicLinkSuccessPage-COpDxIAb-BaiQCbjC.js} +4 -4
  103. package/dist/assets/{MagicLinkTitleSection-CCjLimcL-CG2gHrXG.js → MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js} +3 -3
  104. package/dist/assets/{MailingDetailsSection-CJhcwaGu-CmX5rK11.js → MailingDetailsSection-BycONjR9-Dhu_6L_d.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-DKBH6wSs-Cz9lxz_J.js → MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js} +3 -3
  106. package/dist/assets/{Menu-D-Gk-Xfo-BdR2WSLk.js → Menu-B6Fh2Mf9-B_ofMkAs.js} +2 -2
  107. package/dist/assets/{MyBankConnectionsSettingsPage-CBxa9AUT-hdH4Wtg6.js → MyBankConnectionsSettingsPage-jWuBarzg-DszKEiXJ.js} +18 -18
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-DBr5htlO-Dvtp1o1A.js → MyPendingActivationChargeCardListPage-_wuCCZ2J-Cbj97sd-.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-DKUX_nTz-BwWW-nAl.js → MyProfileSettingsPage-ChyYrCir-Dq1dhgqM.js} +8 -8
  110. package/dist/assets/{NavBarWithPicker-CXyMHDUO-Bs94YYmI.js → NavBarWithPicker-D4jJGXZB-BJWr2BT1.js} +4 -4
  111. package/dist/assets/{NavigationArrow-Bv-PvnhZ-vMsiaM3Z.js → NavigationArrow-DlUdvmV7-iugv9ZVE.js} +10 -7
  112. package/dist/assets/{NavigationDots-DJkiFidH-CvAq_Xy1.js → NavigationDots-CFJt-T5J-B9PAzC5S.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-CmJjl9S1-GJEZOLOL.js → NewGlobalMerchantPage-DhYni-in-Diwu92Go.js} +8 -8
  114. package/dist/assets/{NoDataChart-Bsj1HEPq-CJfsMw19.js → NoDataChart-CvGbQO4j-B5z4vqWb.js} +1 -1
  115. package/dist/assets/{NoDataTable-6vR2vOMI-B5-4Kmpd.js → NoDataTable-EKtYZwcL-XyHu2gAL.js} +1 -1
  116. package/dist/assets/{NotFoundPage-SRxATfaW-qkQ6HjRZ.js → NotFoundPage-D5SHSQLS-0U7pTJ8G.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-Bko3CBmW-BHyL3Q9x.js → NotificationSettingsPage-CjJw9Atb-BmSbhipZ.js} +33 -33
  118. package/dist/assets/NotificationsListConfig-BL_MxKXF-CvqrsVs-.js +1 -0
  119. package/dist/assets/{NotificationsPage-DMfBgh2w-DdakMy7H.js → NotificationsPage-bGvx2yV6-C4p8pfzZ.js} +12 -12
  120. package/dist/assets/{OpExByVendorPage-DOkwCGkr-B0f2S69-.js → OpExByVendorPage-BE_NnQzd-DQnxoqWx.js} +7 -7
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-BTIdWBzf.js → OverlayContainerPage-GWXnlbZH-D2VSw_RI.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-DCJ3QTuj-CPKRdyVw.js → PandLWithForecastPage-D-000kuR-BW5fUkac.js} +11 -11
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CaZETrGz-CL6ak5nD.js → PaymentAccountSetupBillingAddressSection-CwbX_znq-C6WVSYgS.js} +8 -8
  124. package/dist/assets/{PeoplePage-PvOhX-gy-Ba-if4o6.js → PeoplePage-MwM0lFB9-B0wgHwI1.js} +14 -14
  125. package/dist/assets/PortfolioAllocationFormPage-C3a4MQzW-CQIA3SiA.js +207 -0
  126. package/dist/assets/PortfolioDetails-BMJ6PGMP-DtrA52bw.js +218 -0
  127. package/dist/assets/{ProductsCarousel-qzlVuyK5-Br7ptzfB.js → ProductsCarousel-D2wC3sC--BKh2AE5P.js} +9 -9
  128. package/dist/assets/{PromoBaseCards-26GOEn3a-DXSGBLy_.js → PromoBaseCards-Ddumul2a-BrEDd739.js} +23 -23
  129. package/dist/assets/{QBOConnectionDialog-CZQE3Tjs-OI8VK0Zg.js → QBOConnectionDialog-DszSpNdI-DwqHmKSk.js} +7 -7
  130. package/dist/assets/{QBOSetupSection-u1sJhV67-D6SlbwYt.js → QBOSetupSection-BNF-BUu5-B_yCc7Df.js} +13 -13
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-vRiO7G_7-D2eeHzsf.js → ReimbursementApprovalRuleDetailPage-Myone4-k-B9H3tR1_.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-kEmFNXtg-CiGGKTdH.js → ReimbursementApprovalRulesPage-DFhp0GGU-p0zWXuJ6.js} +35 -35
  133. package/dist/assets/{ReimbursementDetailPage-ChyRg0eX-uLcb5a84.js → ReimbursementDetailPage-BAEddssC-DcJfByf4.js} +10 -10
  134. package/dist/assets/{ReimbursementPromoPage-BWsOD49o-DBNhMU2z.js → ReimbursementPromoPage-D4u3SX8R-ByzJ_1Sx.js} +7 -7
  135. package/dist/assets/ReimbursementSetUpPage-B9ByGW3n-Bt2Z4PCD.js +140 -0
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CgRo7VeI-D49XUJqE.js → ReimbursementsBulkReviewDrawerPage-CAo_NjTX-O9TR0kFt.js} +1 -1
  137. package/dist/assets/{ReloadCard-CpauR6-c-DZ_kV9B0.js → ReloadCard-BA_JCHcV-DL7NGQyj.js} +5 -5
  138. package/dist/assets/ReportTableViewSelector-D7B88kS6-BrGIUsj4.js +150 -0
  139. package/dist/assets/ReportsPage-BzMzH-I3-BKZoRCt6.js +121 -0
  140. package/dist/assets/{RevenueChart-JdtvK4L6-p_ox0aCR.js → RevenueChart-D33p-PFq-CGRJwc_N.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-BwQoOV2Q-N2PuuAU3.js → ReviewDetailsPage-D35NcQnx-Cbn86Yy5.js} +15 -15
  142. package/dist/assets/{ReviewOverlay-BLxhto7d-wwPpp1Rv.js → ReviewOverlay-BYJdokfW-C97jtxei.js} +10 -10
  143. package/dist/assets/{RoleWithToolTip-BRSx6yqP-CARA1Fps.js → RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js} +7 -7
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CH84DI7F-CmBm9qTm.js → ScheduleDetailsFixedAssetsPage-BVnISMKW-BILZO4Rn.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-CMunoow5-CjQGMvSk.js → ScheduleDetailsPage-BibWPOxC-DZMtTy3C.js} +4 -4
  146. package/dist/assets/{ScheduleSequenceTable-CQVHkQ0e-BsTcRunu.js → ScheduleSequenceTable-DcQmeKyc-JMxQ5IZq.js} +49 -49
  147. package/dist/assets/{ScreenRoutes-BUfnw6rn.js → ScreenRoutes-iE9-v0dJ.js} +35 -35
  148. package/dist/assets/{SetUpAccountSection-CyyxtFvK-CV60qDRz.js → SetUpAccountSection-BEJy78G6-Do1X3vVo.js} +24 -24
  149. package/dist/assets/{SetUpDefaultSection-Bdw_aWMY-xlnUNQOd.js → SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js} +16 -16
  150. package/dist/assets/{SignIn-Gw75P03k-DZzhd4eu.js → SignIn-BC8yop4g-CznicFTu.js} +17 -17
  151. package/dist/assets/{SignInScreen-Dq6qYwZm.js → SignInScreen-k0dvslKE.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-BccaMtyd-Df6Rk5hP.js → SpendManagementListViewPage-aZljA388--EEskYb2.js} +10 -10
  153. package/dist/assets/{SpendManagementPerTabPage-D-YqqUsz-D9wGY7Sp.js → SpendManagementPerTabPage-BU1ai2M8-DkMZQMfc.js} +33 -33
  154. package/dist/assets/{SpendManagementSection-CdH1r1Vw-CNPLQDmq.js → SpendManagementSection-DMw8NFvN-Cpy4Blf3.js} +8 -8
  155. package/dist/assets/SpendMgmtSetupAccountSection-BtcwTlJT-Bsya0Qr3.js +206 -0
  156. package/dist/assets/{StatementItem-BW9HKaf9-DHH3_eMn.js → StatementItem-CKTGWEW_-d6SqxmfH.js} +3 -3
  157. package/dist/assets/{StatementsPage-CXawS1th-D3YQNnde.js → StatementsPage-CjR4AlPy-BQRlcz37.js} +6 -6
  158. package/dist/assets/{StatusSwitcher-oC-AP25Z-BIEyDhm7.js → StatusSwitcher-5CZzUYJE-qZVSFmES.js} +5 -5
  159. package/dist/assets/{SubTabSwitcher-DXWQMf7B-COcvC76z.js → SubTabSwitcher-a38_U4dN-BfyQ4BdY.js} +1 -1
  160. package/dist/assets/{SummaryCard-C3zjN-kT-Cfx6YIVD.js → SummaryCard-XbFHvHx9-CTqdwSSS.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-BGDJNpe_-Bv3LANWK.js → TaskManagementPage-Oct77yO--igT2quo0.js} +31 -31
  162. package/dist/assets/{TimeRangeSwitcher-BJfy3akS-DFCAXXsq.js → TimeRangeSwitcher-C4mpBnQl-CaG6dXuN.js} +3 -3
  163. package/dist/assets/{TimeframeSwitcher-M9tK6u0Y-Cdz5qhRc.js → TimeframeSwitcher-CnLEHYWD-BW9vKcLS.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-Bc-Y5Hwv-0uMnBILy.js +31 -0
  165. package/dist/assets/{TopExCard-BD9Ehuw_-Btk-YgZT.js → TopExCard-CaR8tsug-DnQ2eFWB.js} +5 -5
  166. package/dist/assets/{TopExDetailPage-3HoXp_6D-DmBiYGdL.js → TopExDetailPage-C4QeWe92-vjJ7ZG8N.js} +10 -10
  167. package/dist/assets/{TransactionDetailPage-CbnGQ8bn-Cg1J4diW.js → TransactionDetailPage-BoxnNYXX-2QwooFWS.js} +26 -26
  168. package/dist/assets/TransactionList-IjM4ABdF-DZ9PEfgX.js +147 -0
  169. package/dist/assets/{TransactionListBig-5aenxEn4-CWYWbXxG.js → TransactionListBig-B0FG0-BM-Br0wUjP3.js} +18 -18
  170. package/dist/assets/TransactionListPage-1dwu-ZT2-vlIbHO3m.js +35 -0
  171. package/dist/assets/{TransactionVendorDetailPage-Yi7SmsyK-D7Pu6Fa2.js → TransactionVendorDetailPage-gBr8kX0F-BE5xJ4Iy.js} +5 -5
  172. package/dist/assets/{TransferDrawerPage-2P1mhp1M-B7oxuimL.js → TransferDrawerPage-BJVanLzC-BZZsX7dv.js} +11 -11
  173. package/dist/assets/{TreasuryOverviewPage-CkCBcBQK-D3Q7MJ4U.js → TreasuryOverviewPage-DGJnHyrO-BPZDM1DN.js} +34 -34
  174. package/dist/assets/{TreasuryPromoPage-v-g4ZAdk-CGC4zL_g.js → TreasuryPromoPage-CblUabA3-CO5CaCN_.js} +14 -14
  175. package/dist/assets/{TreasurySetupPage-B7va2-fJ-CNDcrt8c.js → TreasurySetupPage-CuROk6il-7kJUNajN.js} +2 -2
  176. package/dist/assets/{TreasuryStatementsPage-BEJsQ-Oz-2-eidQa0.js → TreasuryStatementsPage-DfB0yrzC-osurk-aq.js} +10 -10
  177. package/dist/assets/{TreasuryTaxLetterPage-CpTpM1mx-D--iiF7F.js → TreasuryTaxLetterPage-CRoLpeXm-g70lefJl.js} +4 -4
  178. package/dist/assets/{TreasuryTransferOrReviewPage-BRPFympA-qCMNFj2v.js → TreasuryTransferOrReviewPage-QMDAFbkh-CUXJN-eh.js} +77 -77
  179. package/dist/assets/{TrendChart-DRNocU0p-CnURe1Lr.js → TrendChart-D3_4i3qH-wYUerKRk.js} +3 -3
  180. package/dist/assets/{TrendWithTransactions-CldwGpXX-_Vy0tAR0.js → TrendWithTransactions-KkV2_0Uh-D0lwZdhf.js} +5 -5
  181. package/dist/assets/{UncategorizedAccountsMappingPage-2C5qEhte-BdEwYcSE.js → UncategorizedAccountsMappingPage-kKq-jvPY-CF6bAw3X.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage--cDHqgXs-Dx-BvNNy.js → UnitIntegrationPage-CZS0yjHf-2PLtjCjv.js} +3 -3
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-D85ML8-_-1p5rwy9h.js → UploadAdditionalDocumentOverlay-KkO_TLUT-n0LOLnpS.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-vdFWf98b-D32U3pYN.js → Vendor2FAPopup-wnVnkHOg-DABVEKDS.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-D7ImMabh-BOoEsNma.js → VendorACHDetailsPage-nuzdr69i-pgOa8d0q.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-BOeEd9pX-B0fSv2j-.js → VendorDetailPage-ClmL_1FB-Cz0Favu8.js} +14 -14
  187. package/dist/assets/{VendorDomesticWireDetailsPage-CXFrYPn8-BF9k2J97.js → VendorDomesticWireDetailsPage-DEK3jdYu-StHUbnc9.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-CZFErJ91-C1xhL1S7.js → VendorFiling1099EditablePage-KMOY10Xr-C-_0rtWP.js} +9 -9
  189. package/dist/assets/{VendorFirstReviewPage-BHzDUMKu-CXJaoIKB.js → VendorFirstReviewPage-CLF3qT17-D1oHFEVR.js} +75 -75
  190. package/dist/assets/{VendorInternationalWireDetailsPage-j4j5irzH-Bp14Fqws.js → VendorInternationalWireDetailsPage-C5JXqVVq-DdhMyWB0.js} +8 -8
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DM4jC7wD-Dgo0AgQr.js → VendorInternationalWireSwiftDetailsPage-7KrBqEWb-D_WpQwvk.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-BTRiZlIa-9pqLXKCO.js → VendorsAccountsSection-fcURK7tv-BOScGj67.js} +13 -13
  193. package/dist/assets/{WarningsDrawerPage-ZgfQEBme-Bz-_RQEG.js → WarningsDrawerPage-Bnd_CdR9-B2JqHi6z.js} +10 -10
  194. package/dist/assets/{ZeniAccountDetailPage-xrq0Ez6S-CnbEn37D.js → ZeniAccountDetailPage-DRDCdFW7-D8o4Z2Hy.js} +40 -40
  195. package/dist/assets/{ZeniAccountListViewPage-BwXfELGd-Dk1rVmVe.js → ZeniAccountListViewPage-ZPWww_Go-HRp0ORwg.js} +5 -5
  196. package/dist/assets/{ZeniAccountNavBarPieces-xpHuuPSD-9p5pX7Wv.js → ZeniAccountNavBarPieces-DFivFXxa-rHFaK51E.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-BvSwPEk7-CAtlT9pF.js → ZeniAccountPromoPage-D1oJNoqy-C6ZFb72_.js} +18 -18
  198. package/dist/assets/{ZeniAccountSetupPage-yCkiopeU-CjiQIVC-.js → ZeniAccountSetupPage-DITu6ztK-Fgis_UYm.js} +3 -3
  199. package/dist/assets/{ZeniCopyright-BAbOOFg9-Ba3Hfqst.js → ZeniCopyright-DoA2I5zj-CPBH_zf-.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-C1sl8ZNj-DIRmcL5V.js → ZeniTransferAmountSlider-amszUh1p-Wx5VV7C8.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CwpIhk9-.js → analyticsHelper-BbcCIpO1.js} +1 -1
  202. package/dist/assets/{analyticsHelper-CkzpobMi-D_btd99n.js → analyticsHelper-DPbbQVAO-ChPUlKK7.js} +1 -1
  203. package/dist/assets/{chartTypes-JD2mR9iq-CV6xq_QP.js → chartTypes-qpvW4LwC-4Ag0mdD1.js} +1 -1
  204. package/dist/assets/{commonDimensions-DRfDJ_wQ-CneCHG2f.js → commonDimensions-DAvj4Il1-Chc9ZQai.js} +1 -1
  205. package/dist/assets/{detailCommon-BbKkY_46-Z5qIUAEr.js → detailCommon-jP1ggD3g-CQiTz4E7.js} +5 -5
  206. package/dist/assets/{downloadPdf-D7ANJLK4-JxxYzwZh.js → downloadPdf-LAHtgcHF-B9uNpNRf.js} +1 -1
  207. package/dist/assets/{index-sK9Ftyw4.js → index-DyBH5SZv.js} +3543 -3520
  208. package/dist/assets/mapLoadingInProgressToTreeNode-CjvJKOzk-DeuVFxVw.js +1 -0
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-caUW45t5-DwAiwvFw.js → mapSectionWithAcOnlyToTreeNode-Dr43nOGj-FSgubQ7E.js} +1 -1
  210. package/dist/assets/mapSpacerToTreeNode-COsnfFtf-DI0OXEqQ.js +1 -0
  211. package/dist/assets/mapTimeframeBalancesToTreeNode-BnpqSOA6-DAD3sG8g.js +1 -0
  212. package/dist/assets/mapTimeframeBalancesToTreeNode-DFanhVY8-Cl8Oktyg.js +1 -0
  213. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2xlqc6w-BjPO7Xb1.js +1 -0
  214. package/dist/assets/{play-icon-BbWpG2oG-B5eavh5o.js → play-icon-D3OSczih-8eMagn70.js} +3 -3
  215. package/dist/assets/{toCOABalancesWithID-DOgHiMwn-FzGFQyKt.js → toCOABalancesWithID-DeWKaovX-C_3xC96w.js} +1 -1
  216. package/dist/assets/{toChartData-CNfdaXyM-DfRj5vR3.js → toChartData-Dkp488IJ-Cg1gF7al.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-JBMxqa9X-CUh3yvXJ.js → treasuryColorHelper-BibNNRS5-DCmyWsB-.js} +1 -1
  218. package/dist/assets/{uploadAttachment-BGZjtYkJ-C2nAJwG2.js → uploadAttachment-BjJ8_wDA-22p019X4.js} +25 -25
  219. package/dist/assets/{uploadReceipts-Buvz7DfG-DhG_60YS.js → uploadReceipts-D80JLNY4-sjevKwVl.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +4 -4
  222. package/dist/assets/AccountInfoPageContent-BTk2gRyM-BiMT6aOy.js +0 -149
  223. package/dist/assets/ApprovalRulesSettingsPage-CXh9tY6X-QKrc0pyW.js +0 -47
  224. package/dist/assets/ArAgingChart-GL4vkypx-DFuyLVYD.js +0 -24
  225. package/dist/assets/BillPaySetUpPage-_s4R537_-DZWDn61D.js +0 -42
  226. package/dist/assets/ChargeCardDetailPage-Kygr13jR-27IRQfLT.js +0 -1447
  227. package/dist/assets/ChargeCardListPage-BnzdzSXW-BVsaSOA5.js +0 -355
  228. package/dist/assets/ChargeCardPromoPage-CSNn9X5i-Fnig2Ypz.js +0 -175
  229. package/dist/assets/ChargeCardSetupPage-DE1pK_7F-FapyQkm6.js +0 -36
  230. package/dist/assets/CollapsableReportTable-BGT77T9W-CUBrV0Bt.js +0 -2860
  231. package/dist/assets/CustomerOnboardingContainerPage-9UTLABZ0-TgCXFZSY.js +0 -1
  232. package/dist/assets/Dashboard-CA9685lJ-tQYLqsRv.js +0 -778
  233. package/dist/assets/DashboardReportPage-DQoFWd5C-D2SWkLyX.js +0 -349
  234. package/dist/assets/HelpButton-DvD6UJq--DH6Lkii6.js +0 -28
  235. package/dist/assets/InvitePeoplePage-BKEDAnQ4-gH3ZdBUQ.js +0 -12
  236. package/dist/assets/NotificationsListConfig-ChVd_Bek-B5rqV-0u.js +0 -1
  237. package/dist/assets/PortfolioAllocationFormPage-DsCeagnu-uMKipSgE.js +0 -207
  238. package/dist/assets/PortfolioDetails-BEa4kwk8-CZhLy7bU.js +0 -218
  239. package/dist/assets/ReimbursementSetUpPage-DO_dBP9N-CjFJx_39.js +0 -140
  240. package/dist/assets/ReportTableViewSelector-D6DHFt_R-BSunAQvT.js +0 -150
  241. package/dist/assets/ReportsPage-D4mI3T0w-WDX-OUzA.js +0 -120
  242. package/dist/assets/SpendMgmtSetupAccountSection-nryeZQ0T-B5W1wa7s.js +0 -206
  243. package/dist/assets/TimeframeSwitcherWithToggle-L1nNDGOE-Crad0c1r.js +0 -31
  244. package/dist/assets/TransactionList-BBjiP2Nf-u9SYmiJO.js +0 -147
  245. package/dist/assets/TransactionListPage-BeVkiwkg-CZaGi9mq.js +0 -35
  246. package/dist/assets/mapLoadingInProgressToTreeNode-e8JhfflK-ymVVgqde.js +0 -1
  247. package/dist/assets/mapSpacerToTreeNode-C692pbYW-C1yi1TTP.js +0 -1
  248. package/dist/assets/mapTimeframeBalancesToTreeNode-DKrYq4x5-C3cOfAea.js +0 -1
@@ -1,4 +1,4 @@
1
- import{X as I,a as W,M as A,c3 as F,j as n,bO as H,bQ as q,bR as O,F as V,a7 as Q,C as s,eR as U,aq as X,o as _,q as t}from"./index-sK9Ftyw4.js";import{b as x,n as d}from"./vendor-CnQcJ2Lu.js";import{W as G,A as J}from"./BankAccountWarningSection-DKdgmMHQ-D-bpYaBu.js";import{M as K}from"./MagicLinkTitleSection-CCjLimcL-CG2gHrXG.js";import{e as Y}from"./BankAccountSection-Bi3uoDPa-Nc2grfOO.js";const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},S="achDetailsPage",b="bankAccountSection",j=e=>`${e}_form`,de=({bankAccountCreationState:e,bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,isDisabled:C,style:v,onSaveHandler:B,onBackClick:f,onACHDetailsUpdated:N,onFetchBankName:T,isMagicLink:u,companyName:w,currencySymbol:P,amount:R,bankAccountContext:$})=>{const r=I(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(g),[g])}),[D,m]=x.useState(!1),c=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,M=A.getLocalizedStrings().common.footer,{achDetails:y,bankAccountCommon:h}=c,z={onOkClick:()=>{m(!1),i.reset(),f?.()},onCancelClick:()=>{m(!1)}},L=async(p,l)=>{const o=l[b].bankRoutingNumber;N(l),p===`${b}.bankRoutingNumber`&&o?.length===9&&U.test(o)===!0&&T?.(o)};x.useEffect(()=>{const p=i.watch((l,{name:o})=>{o!=null&&l!=null&&F(()=>L(o,l))});return()=>{p.unsubscribe()}});const E=i.handleSubmit(p=>{k.fetchState!=="In-Progress"&&B("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:v,size:r,children:[D===!0?n.jsx(H,{titleComponent:n.jsx(O,{children:c.discardTitle}),descriptionComponent:n.jsx(q,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:z}):null,n.jsx(G,{header:u?n.jsx(K,{companyName:w??"",currencySymbol:P??"",amount:R??0}):y.addACHDetails,isMagicLink:u,isDirty:i.formState.isDirty,onBackClick:f,setShowConfirmationPopup:m}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:h.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:r,children:y.title}),n.jsx(ie,{children:n.jsx(V,{...i,children:n.jsx("form",{id:j(S),onSubmit:E,children:n.jsx(ee,{size:r,children:n.jsx(Y,{bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,sectionId:b,isDisabled:C})})})})})]}),n.jsx(Q,{formId:j(S),primaryBtn:{label:u?h.submitDetails:h.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:C!=null},showCancel:!u,cancelBtn:{label:M.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?m(!0):(i.reset(),f?.())}}})]})},Z=e=>({[b]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=d.div`
1
+ import{X as I,a as W,M as A,c3 as F,j as n,bO as H,bQ as O,bR as V,F as G,a3 as Q,C as s,eP as U,al as X,o as _,n as t}from"./index-DyBH5SZv.js";import{b as x,n as d}from"./vendor-CnQcJ2Lu.js";import{W as q,A as J}from"./BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js";import{M as K}from"./MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js";import{e as Y}from"./BankAccountSection-cVBEl5IN-DpEdLEP3.js";const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},S="achDetailsPage",b="bankAccountSection",j=e=>`${e}_form`,de=({bankAccountCreationState:e,bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,isDisabled:C,style:B,onSaveHandler:N,onBackClick:f,onACHDetailsUpdated:T,onFetchBankName:v,isMagicLink:u,companyName:w,currencySymbol:P,amount:$,bankAccountContext:z})=>{const r=I(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(g),[g])}),[D,m]=x.useState(!1),c=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,M=A.getLocalizedStrings().common.footer,{achDetails:y,bankAccountCommon:h}=c,R={onOkClick:()=>{m(!1),i.reset(),f?.()},onCancelClick:()=>{m(!1)}},L=async(p,l)=>{const o=l[b].bankRoutingNumber;T(l),p===`${b}.bankRoutingNumber`&&o?.length===9&&U.test(o)===!0&&v?.(o)};x.useEffect(()=>{const p=i.watch((l,{name:o})=>{o!=null&&l!=null&&F(()=>L(o,l))});return()=>{p.unsubscribe()}});const E=i.handleSubmit(p=>{k.fetchState!=="In-Progress"&&N("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:B,size:r,children:[D===!0?n.jsx(H,{titleComponent:n.jsx(V,{children:c.discardTitle}),descriptionComponent:n.jsx(O,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:R}):null,n.jsx(q,{header:u?n.jsx(K,{companyName:w??"",currencySymbol:P??"",amount:$??0}):y.addACHDetails,isMagicLink:u,isDirty:i.formState.isDirty,onBackClick:f,setShowConfirmationPopup:m}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:h.accountExistWarning}):null,z==="express-pay"?null:n.jsx(ae,{size:r,children:y.title}),n.jsx(ie,{children:n.jsx(G,{...i,children:n.jsx("form",{id:j(S),onSubmit:E,children:n.jsx(ee,{size:r,children:n.jsx(Y,{bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,sectionId:b,isDisabled:C})})})})})]}),n.jsx(Q,{formId:j(S),primaryBtn:{label:u?h.submitDetails:h.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:C!=null},showCancel:!u,cancelBtn:{label:M.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?m(!0):(i.reset(),f?.())}}})]})},Z=e=>({[b]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=d.div`
2
2
  padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
3
3
  padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
4
4
  padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,jq as H,r as _,bI as v1,q as n,bg as L,dp as d1,g as c,W as $1,ao as c1,ay as h1,aB as p1,aA as N,u as m1,b7 as S1,b8 as b1,az as Q,jr as f,v as g,js as B1,jt as Z1,s as b,c0 as K,aq as J,m as W1,ju as F1,dJ as D1,fw as _1,ah as u1,t as P1}from"./index-sK9Ftyw4.js";import{b as t,n as i,j as T1,k as H1}from"./vendor-CnQcJ2Lu.js";import{H as V1}from"./NavBarWithPicker-CXyMHDUO-Bs94YYmI.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const e1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},z1=i.div`
1
+ import{C as u,d2 as w1,X as M,M as y,l as k,bC as M1,j as r,Y as j1,bs as y1,o,jo as H,v as _,bJ as v1,n,bf as L,dn as d1,g as c,V as $1,ai as c1,ar as h1,au as p1,at as N,u as m1,b6 as S1,b7 as b1,as as Q,jp as f,w as g,jq as Z1,jr as B1,p as b,c0 as K,al as Y,f as W1,js as F1,dI as D1,fu as _1,bH as u1,q as P1}from"./index-DyBH5SZv.js";import{b as t,n as i,j as T1,k as H1}from"./vendor-CnQcJ2Lu.js";import{L as V1}from"./NavBarWithPicker-D4jJGXZB-BJWr2BT1.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const e1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},z1=i.div`
2
2
  width: 100%;
3
3
  height: 100%;
4
4
  border: 1px solid ${e=>e.theme.colors.grey3};
@@ -48,11 +48,11 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
48
48
  display: flex;
49
49
  flex-direction: column;
50
50
  gap: ${o.sp2};
51
- `,J1=i.div`
51
+ `,Y1=i.div`
52
52
  display: flex;
53
53
  flex-direction: column;
54
54
  gap: ${o.sp4};
55
- `,X1=i.div`
55
+ `,J1=i.div`
56
56
  display: flex;
57
57
  justify-content: space-between;
58
58
  align-items: center;
@@ -62,7 +62,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
62
62
  &:last-of-type {
63
63
  border-bottom: none;
64
64
  }
65
- `,Y1=i.div`
65
+ `,X1=i.div`
66
66
  display: flex;
67
67
  align-items: center;
68
68
  gap: ${o.sp4};
@@ -70,7 +70,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
70
70
  display: flex;
71
71
  flex-direction: column;
72
72
  gap: ${o.sp1};
73
- `,Q1=({customStyle:e})=>r.jsxs(I1,{style:e,children:[r.jsx(U1,{children:r.jsxs(K1,{children:[r.jsx(L,{width:180,height:n[4]}),r.jsx(L,{width:300,height:21})]})}),r.jsx(J1,{children:[...Array(3)].map((s,a)=>r.jsxs(X1,{children:[r.jsxs(Y1,{children:[r.jsx(d1,{width:n[6],height:n[6]}),r.jsxs(q1,{children:[r.jsx(L,{width:120,height:18}),r.jsx(L,{width:n[11],height:n[3]})]})]}),r.jsx(L,{width:n[11],height:18}),r.jsx(L,{width:n[11],height:18})]},a))})]}),e2={containerMarginLeft:new u(0,0,n[9],n[9],n[9])},t2=i.div`
73
+ `,Q1=({customStyle:e})=>r.jsxs(I1,{style:e,children:[r.jsx(U1,{children:r.jsxs(K1,{children:[r.jsx(L,{width:180,height:n[4]}),r.jsx(L,{width:300,height:21})]})}),r.jsx(Y1,{children:[...Array(3)].map((s,a)=>r.jsxs(J1,{children:[r.jsxs(X1,{children:[r.jsx(d1,{width:n[6],height:n[6]}),r.jsxs(q1,{children:[r.jsx(L,{width:120,height:18}),r.jsx(L,{width:n[11],height:n[3]})]})]}),r.jsx(L,{width:n[11],height:18}),r.jsx(L,{width:n[11],height:18})]},a))})]}),e2={containerMarginLeft:new u(0,0,n[9],n[9],n[9])},t2=i.div`
74
74
  display: flex;
75
75
  flex-direction: row;
76
76
  margin-left: ${e=>e2.containerMarginLeft.valuePx(e.windowSize)};
@@ -136,7 +136,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
136
136
  display: flex;
137
137
  align-items: center;
138
138
  gap: 12px;
139
- `,f2=i(J)`
139
+ `,f2=i(Y)`
140
140
  color: ${e=>e.theme.colors.primary};
141
141
  margin-left: ${o.sp3};
142
142
  `,W=i(l2)`
@@ -156,7 +156,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
156
156
  color: ${e=>e.theme.colors.brandColorJadeDark};
157
157
  `,v2=i(g)`
158
158
  color: ${e=>e.theme.colors.hero};
159
- `;function $2({icon:e,title:s,data:a,currency:C}){return r.jsxs(u2,{children:[r.jsxs(k2,{children:[r.jsx(x2,{children:e}),r.jsx(g2,{children:r.jsx(f2,{children:s})})]}),r.jsx(a2,{}),a.map((l,d)=>r.jsx(C2,{taskName:l.eventName,taskCount:l.eventsCount,timeSavedMinutes:l.timeSavedInMinutes,costSaved:l.totalCostSaved,currency:C},d))]})}const S2=e=>{switch(e){case f.aiPerformanceDashboard.personas.aiBookkeeper:return r.jsx(W,{});case f.aiPerformanceDashboard.personas.aiAccountant:return r.jsx(W,{});case f.aiPerformanceDashboard.personas.aiCardsAgent:return r.jsx(L2,{});case f.aiPerformanceDashboard.personas.aiBillsAgent:return r.jsx(E2,{});case f.aiPerformanceDashboard.personas.aiExpenseAgent:return r.jsx(w2,{});case f.aiPerformanceDashboard.personas.aiBankingAgent:return r.jsx(M2,{});case f.aiPerformanceDashboard.personas.aiAccountantAgent:return r.jsx(W,{});default:return r.jsx(W,{})}};function b2({personas:e,currency:s}){return r.jsxs(m2,{children:[r.jsxs(j2,{children:[r.jsx(y2,{children:f.aiPerformanceDashboard.tileTitle}),r.jsx(v2,{children:f.aiPerformanceDashboard.tileSubtitle})]}),e.map(a=>r.jsx($2,{icon:S2(a.personaName),title:a.personaName,data:a.eventGroups,currency:s},a.personaName))]})}const B2=i.div`
159
+ `;function $2({icon:e,title:s,data:a,currency:C}){return r.jsxs(u2,{children:[r.jsxs(k2,{children:[r.jsx(x2,{children:e}),r.jsx(g2,{children:r.jsx(f2,{children:s})})]}),r.jsx(a2,{}),a.map((l,d)=>r.jsx(C2,{taskName:l.eventName,taskCount:l.eventsCount,timeSavedMinutes:l.timeSavedInMinutes,costSaved:l.totalCostSaved,currency:C},d))]})}const S2=e=>{switch(e){case f.aiPerformanceDashboard.personas.aiBookkeeper:return r.jsx(W,{});case f.aiPerformanceDashboard.personas.aiAccountant:return r.jsx(W,{});case f.aiPerformanceDashboard.personas.aiCardsAgent:return r.jsx(L2,{});case f.aiPerformanceDashboard.personas.aiBillsAgent:return r.jsx(E2,{});case f.aiPerformanceDashboard.personas.aiExpenseAgent:return r.jsx(w2,{});case f.aiPerformanceDashboard.personas.aiBankingAgent:return r.jsx(M2,{});case f.aiPerformanceDashboard.personas.aiAccountantAgent:return r.jsx(W,{});default:return r.jsx(W,{})}};function b2({personas:e,currency:s}){return r.jsxs(m2,{children:[r.jsxs(j2,{children:[r.jsx(y2,{children:f.aiPerformanceDashboard.tileTitle}),r.jsx(v2,{children:f.aiPerformanceDashboard.tileSubtitle})]}),e.map(a=>r.jsx($2,{icon:S2(a.personaName),title:a.personaName,data:a.eventGroups,currency:s},a.personaName))]})}const Z2=i.div`
160
160
  display: flex;
161
161
  flex-direction: column;
162
162
  justify-content: space-between;
@@ -168,7 +168,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
168
168
  box-shadow: ${e=>e.theme.colors.elevation1};
169
169
  padding: ${o.sp4};
170
170
  background-color: ${e=>e.theme.colors.grey5};
171
- `,Z2=i.div`
171
+ `,B2=i.div`
172
172
  display: flex;
173
173
  flex-direction: row;
174
174
  justify-content: space-between;
@@ -214,7 +214,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
214
214
  width: ${o.sp3};
215
215
  height: ${o.sp3};
216
216
  color: ${e=>e.theme.colors.brandColorOnyx};
217
- `;function o1({type:e,value:s,currency:a,timeUnit:C,style:l,noData:d}){const{common:h,aiPerformanceDashboard:p}=y.getLocalizedStrings(),x=e==="cost",$=x?r.jsx(H2,{}):r.jsx(V2,{}),j=x?c.brandColorGoldLight:c.graphColor16Light,v=x?p.aiCostSavedTile.title:p.aiTimeSavedTile.title,P=x?c.brandColorGoldDark:c.graphColor16Dark,w=x?p.aiCostSavedTile.subtitle:p.aiTimeSavedTile.subtitle;return r.jsxs(B2,{style:l,children:[r.jsxs(Z2,{children:[r.jsxs(W2,{children:[r.jsx(F2,{children:r.jsx(D2,{color:P,children:v})}),r.jsx(_2,{children:w})]}),r.jsx(P2,{bg:j,children:$})]}),r.jsxs(T2,{children:[x&&!(d??!1)?r.jsx(R,{children:a.currencySymbol}):null,r.jsx(R,{children:s===""?h.strings.hyphen:s}),!x&&!(d??!1)?r.jsx(R,{style:{fontSize:_.largeSemiBold.fontSize},children:C}):null]})]})}const z2=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4844)"},t.createElement("path",{d:"M12.0037 7.78125V6.84375",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.4065 7.78125H11.5043C11.2122 7.78145 10.9293 7.88329 10.7041 8.06928C10.4789 8.25528 10.3254 8.51384 10.2699 8.80063C10.2145 9.08742 10.2606 9.38456 10.4003 9.64108C10.54 9.89761 10.7646 10.0975 11.0356 10.2066L12.9706 10.9809C13.2416 11.09 13.4662 11.2899 13.6059 11.5464C13.7455 11.8029 13.7916 12.1001 13.7362 12.3869C13.6808 12.6737 13.5273 12.9322 13.3021 13.1182C13.0768 13.3042 12.7939 13.406 12.5018 13.4062H10.594",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12.0037 14.3438V13.4062",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M2.09766 14.7266C4.17328 16.7469 7.82859 18.0931 12.0005 18.0931C16.1723 18.0931 19.8314 16.7478 21.907 14.7275",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M17.6466 17.2013C20.5519 12.3131 15.7791 1.21875 12 1.21875C8.22095 1.21875 3.45001 12.3122 6.35626 17.2013",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M5.50031 12.418C3.17719 13.1886 1.6875 14.458 1.6875 16.2195C1.6875 20.4383 6.30469 22.782 12 22.782C17.6953 22.782 22.3125 20.4383 22.3125 16.2195C22.3125 14.458 20.8266 13.1886 18.5034 12.418",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4844"},t.createElement("rect",{width:24,height:24,fill:"white"})))),I={tileContainerGap:new u(n[2],n[2],n[4]),amountRowMarginTop:new u(n[3],n[5],n[5]),amountRowGap:new u(n[2],n[4],n[4])},R2=i.div`
217
+ `;function o1({type:e,value:s,currency:a,timeUnit:C,style:l,noData:d}){const{common:h,aiPerformanceDashboard:p}=y.getLocalizedStrings(),x=e==="cost",$=x?r.jsx(H2,{}):r.jsx(V2,{}),j=x?c.brandColorGoldLight:c.graphColor16Light,v=x?p.aiCostSavedTile.title:p.aiTimeSavedTile.title,P=x?c.brandColorGoldDark:c.graphColor16Dark,w=x?p.aiCostSavedTile.subtitle:p.aiTimeSavedTile.subtitle;return r.jsxs(Z2,{style:l,children:[r.jsxs(B2,{children:[r.jsxs(W2,{children:[r.jsx(F2,{children:r.jsx(D2,{color:P,children:v})}),r.jsx(_2,{children:w})]}),r.jsx(P2,{bg:j,children:$})]}),r.jsxs(T2,{children:[x&&!(d??!1)?r.jsx(R,{children:a.currencySymbol}):null,r.jsx(R,{children:s===""?h.strings.hyphen:s}),!x&&!(d??!1)?r.jsx(R,{style:{fontSize:_.largeSemiBold.fontSize},children:C}):null]})]})}const z2=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4844)"},t.createElement("path",{d:"M12.0037 7.78125V6.84375",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.4065 7.78125H11.5043C11.2122 7.78145 10.9293 7.88329 10.7041 8.06928C10.4789 8.25528 10.3254 8.51384 10.2699 8.80063C10.2145 9.08742 10.2606 9.38456 10.4003 9.64108C10.54 9.89761 10.7646 10.0975 11.0356 10.2066L12.9706 10.9809C13.2416 11.09 13.4662 11.2899 13.6059 11.5464C13.7455 11.8029 13.7916 12.1001 13.7362 12.3869C13.6808 12.6737 13.5273 12.9322 13.3021 13.1182C13.0768 13.3042 12.7939 13.406 12.5018 13.4062H10.594",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12.0037 14.3438V13.4062",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M2.09766 14.7266C4.17328 16.7469 7.82859 18.0931 12.0005 18.0931C16.1723 18.0931 19.8314 16.7478 21.907 14.7275",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M17.6466 17.2013C20.5519 12.3131 15.7791 1.21875 12 1.21875C8.22095 1.21875 3.45001 12.3122 6.35626 17.2013",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M5.50031 12.418C3.17719 13.1886 1.6875 14.458 1.6875 16.2195C1.6875 20.4383 6.30469 22.782 12 22.782C17.6953 22.782 22.3125 20.4383 22.3125 16.2195C22.3125 14.458 20.8266 13.1886 18.5034 12.418",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4844"},t.createElement("rect",{width:24,height:24,fill:"white"})))),I={tileContainerGap:new u(n[2],n[2],n[4]),amountRowMarginTop:new u(n[3],n[5],n[5]),amountRowGap:new u(n[2],n[4],n[4])},R2=i.div`
218
218
  border-radius: 10px;
219
219
  padding: 3px;
220
220
  background-color: ${e=>e.theme.colors.grey5};
@@ -254,22 +254,22 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
254
254
  flex-direction: row;
255
255
  gap: ${e=>e.isPerformanceReportNotFound?o.sp12:I.amountRowGap.valuePx(e.windowSize)};
256
256
  margin-top: ${e=>I.amountRowMarginTop.valuePx(e.windowSize)};
257
- `,J2=i.div`
257
+ `,Y2=i.div`
258
258
  display: flex;
259
259
  align-items: flex-end;
260
260
  gap: ${o.sp1};
261
261
  `,F=i(K)`
262
262
  font-size: 28px;
263
263
  color: ${e=>e.theme.colors.brandColorOnyx};
264
- `,X2=i(g)`
264
+ `,J2=i(g)`
265
265
  font-size: 16px;
266
266
  color: ${e=>e.theme.colors.brandColorOnyx};
267
267
  line-height: 2;
268
- `,Y2=i(z2)`
268
+ `,X2=i(z2)`
269
269
  width: ${o.sp4};
270
270
  height: ${o.sp4};
271
271
  color: ${e=>e.theme.colors.brandColorOnyx};
272
- `;function q2({performanceSummary:e,currency:s,isPerformanceReportNotFound:a}){const{common:C,aiPerformanceDashboard:l}=y.getLocalizedStrings(),d=M(),h=$=>Math.round($/60),p=B1(e.forecastAnnualSavings.timeSavedMinutes).toFixed(),x=Z1(e.forecastAnnualSavings.timeSavedMinutes).toFixed();return r.jsx(R2,{windowSize:d,children:r.jsxs(O2,{windowSize:d,children:[r.jsx(U2,{children:r.jsx(Y2,{})}),r.jsxs(A2,{children:[r.jsxs(G2,{children:[r.jsx(N2,{children:l.annualizedImpact.title}),r.jsx(I2,{children:l.annualizedImpact.subtitle})]}),r.jsxs(K2,{isPerformanceReportNotFound:a,windowSize:d,children:[r.jsxs(i1,{children:[r.jsx(g,{style:{color:c.graphColor16Dark},children:l.aiTimeSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(J2,{children:[r.jsxs(F,{children:[Number(h(e.forecastAnnualSavings.timeSavedMinutes).toFixed()).toLocaleString()," "]}),r.jsxs(X2,{children:[C.timeStrings.hours,C.strings.space,Number(p)<=1?r.jsxs(r.Fragment,{children:[C.strings.openingBrace,x,C.strings.space,Number(x)>1?C.timeStrings.days:C.timeStrings.day,C.strings.closingBrace]}):r.jsxs(r.Fragment,{children:[C.strings.openingBrace,p,C.strings.space,Number(p)<2?C.timeStrings.week:C.timeStrings.weeks,C.strings.closingBrace]})]})]})]}),r.jsxs(i1,{children:[r.jsx(g,{style:{color:c.graphColor16Dark},children:l.aiCostSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(F,{children:[s.currencySymbol,Number(e.forecastAnnualSavings.costSaved.toFixed()).toLocaleString()]})]})]})]})]})})}const Q2=e=>t.createElement("svg",{width:91,height:90,viewBox:"0 0 91 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M80.6 6.30005L9.04999 29.25L24.35 34.2M80.6 6.30005L55.85 55.5751L41.225 40.9501M80.6 6.30005L24.35 34.2M80.6 6.30005L35.825 35.55M35.825 35.55L28.4 46.8001M35.825 35.55L41.225 40.9501M28.4 46.8001L41.225 40.9501M28.4 46.8001L24.35 34.2",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{opacity:.2,d:"M9.95001 30.5999L81.5 7.6499L56.75 56.9249L42.125 42.2999L29.3 48.1499L25.25 35.5499L9.95001 30.5999Z",fill:"#97C3B9"}),t.createElement("path",{d:"M43.0228 60.8666C38.2384 60.8666 34.3667 64.7384 34.3667 69.5227C34.3667 64.7384 30.4843 60.8666 25.7 60.8666C30.4843 60.8666 34.3667 56.9843 34.3667 52.2C34.3667 56.9843 38.2384 60.8666 43.0228 60.8666Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10}),t.createElement("path",{d:"M81.7165 42.6554C78.5503 42.6554 75.9866 45.2276 75.9866 48.4042C75.9866 45.2276 73.4162 42.6554 70.25 42.6554C73.4162 42.6554 75.9866 40.0765 75.9866 36.8999C75.9866 40.0765 78.5503 42.6554 81.7165 42.6554Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M19.4 15.752C17.4119 15.752 15.8021 17.3618 15.8021 19.3499C15.8021 17.3618 14.1881 15.752 12.2 15.752C14.1881 15.752 15.8021 14.138 15.8021 12.1499C15.8021 14.138 17.4119 15.752 19.4 15.752Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M10.2031 58.269C10.5781 57.219 11.6881 54.714 13.1281 53.094",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M16.5034 49.2688C17.2972 48.4859 19.2031 46.5689 21.0822 45.6607",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M9.07801 63.219C9.00301 64.194 9.03301 66.729 9.75301 69.069",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M12.4531 73.344C13.1281 74.169 15.0631 75.999 17.4031 76.719M22.1281 78.294C23.3281 78.444 26.2231 78.744 28.2031 78.744",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M32.9281 78.969H39.0031M43.7281 78.969H50.2531M54.9781 78.969H61.2781",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M66.0031 79.4189C67.2031 79.4189 70.0981 79.5539 72.0781 80.0939",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M76.8031 81.4438C77.9281 81.7438 80.6281 82.6588 82.4281 83.9188",stroke:"#97C3B9",strokeWidth:.9})),e3=i.div`
272
+ `;function q2({performanceSummary:e,currency:s,isPerformanceReportNotFound:a}){const{common:C,aiPerformanceDashboard:l}=y.getLocalizedStrings(),d=M(),h=$=>Math.round($/60),p=Z1(e.forecastAnnualSavings.timeSavedMinutes).toFixed(),x=B1(e.forecastAnnualSavings.timeSavedMinutes).toFixed();return r.jsx(R2,{windowSize:d,children:r.jsxs(O2,{windowSize:d,children:[r.jsx(U2,{children:r.jsx(X2,{})}),r.jsxs(A2,{children:[r.jsxs(G2,{children:[r.jsx(N2,{children:l.annualizedImpact.title}),r.jsx(I2,{children:l.annualizedImpact.subtitle})]}),r.jsxs(K2,{isPerformanceReportNotFound:a,windowSize:d,children:[r.jsxs(i1,{children:[r.jsx(g,{style:{color:c.graphColor16Dark},children:l.aiTimeSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(Y2,{children:[r.jsxs(F,{children:[Number(h(e.forecastAnnualSavings.timeSavedMinutes).toFixed()).toLocaleString()," "]}),r.jsxs(J2,{children:[C.timeStrings.hours,C.strings.space,Number(p)<=1?r.jsxs(r.Fragment,{children:[C.strings.openingBrace,x,C.strings.space,Number(x)>1?C.timeStrings.days:C.timeStrings.day,C.strings.closingBrace]}):r.jsxs(r.Fragment,{children:[C.strings.openingBrace,p,C.strings.space,Number(p)<2?C.timeStrings.week:C.timeStrings.weeks,C.strings.closingBrace]})]})]})]}),r.jsxs(i1,{children:[r.jsx(g,{style:{color:c.graphColor16Dark},children:l.aiCostSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(F,{children:[s.currencySymbol,Number(e.forecastAnnualSavings.costSaved.toFixed()).toLocaleString()]})]})]})]})]})})}const Q2=e=>t.createElement("svg",{width:91,height:90,viewBox:"0 0 91 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M80.6 6.30005L9.04999 29.25L24.35 34.2M80.6 6.30005L55.85 55.5751L41.225 40.9501M80.6 6.30005L24.35 34.2M80.6 6.30005L35.825 35.55M35.825 35.55L28.4 46.8001M35.825 35.55L41.225 40.9501M28.4 46.8001L41.225 40.9501M28.4 46.8001L24.35 34.2",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{opacity:.2,d:"M9.95001 30.5999L81.5 7.6499L56.75 56.9249L42.125 42.2999L29.3 48.1499L25.25 35.5499L9.95001 30.5999Z",fill:"#97C3B9"}),t.createElement("path",{d:"M43.0228 60.8666C38.2384 60.8666 34.3667 64.7384 34.3667 69.5227C34.3667 64.7384 30.4843 60.8666 25.7 60.8666C30.4843 60.8666 34.3667 56.9843 34.3667 52.2C34.3667 56.9843 38.2384 60.8666 43.0228 60.8666Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10}),t.createElement("path",{d:"M81.7165 42.6554C78.5503 42.6554 75.9866 45.2276 75.9866 48.4042C75.9866 45.2276 73.4162 42.6554 70.25 42.6554C73.4162 42.6554 75.9866 40.0765 75.9866 36.8999C75.9866 40.0765 78.5503 42.6554 81.7165 42.6554Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M19.4 15.752C17.4119 15.752 15.8021 17.3618 15.8021 19.3499C15.8021 17.3618 14.1881 15.752 12.2 15.752C14.1881 15.752 15.8021 14.138 15.8021 12.1499C15.8021 14.138 17.4119 15.752 19.4 15.752Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M10.2031 58.269C10.5781 57.219 11.6881 54.714 13.1281 53.094",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M16.5034 49.2688C17.2972 48.4859 19.2031 46.5689 21.0822 45.6607",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M9.07801 63.219C9.00301 64.194 9.03301 66.729 9.75301 69.069",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M12.4531 73.344C13.1281 74.169 15.0631 75.999 17.4031 76.719M22.1281 78.294C23.3281 78.444 26.2231 78.744 28.2031 78.744",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M32.9281 78.969H39.0031M43.7281 78.969H50.2531M54.9781 78.969H61.2781",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M66.0031 79.4189C67.2031 79.4189 70.0981 79.5539 72.0781 80.0939",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M76.8031 81.4438C77.9281 81.7438 80.6281 82.6588 82.4281 83.9188",stroke:"#97C3B9",strokeWidth:.9})),e3=i.div`
273
273
  display: flex;
274
274
  flex-direction: column;
275
275
  background-color: ${e=>e.theme.colors.grey5};
@@ -310,7 +310,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
310
310
  display: flex;
311
311
  flex-direction: column;
312
312
  gap: ${o.sp1};
313
- `,h3=i(J)`
313
+ `,h3=i(Y)`
314
314
  max-width: 400px;
315
315
  color: ${e=>e.theme.colors.brandColorOpalDark};
316
316
  z-index: 1;
@@ -361,7 +361,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
361
361
  display: flex;
362
362
  flex-direction: column;
363
363
  gap: ${e=>L3.headerGap.valuePx(e.windowSize)};
364
- `,$3=i(J)`
364
+ `,$3=i(Y)`
365
365
  max-width: 400px;
366
366
  color: ${e=>e.theme.colors.brandColorOpalDark};
367
367
  `,S3=i.div`
@@ -374,7 +374,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
374
374
  height: 100%;
375
375
  bottom: 0;
376
376
  padding-bottom: ${o.sp3};
377
- `,B3=i.div`
377
+ `,Z3=i.div`
378
378
  position: absolute;
379
379
  bottom: 0;
380
380
  width: 100%;
@@ -392,7 +392,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
392
392
  border-radius: 2px;
393
393
  `,s1=i(W1)`
394
394
  color: ${e=>e.color};
395
- `,Z3=({active:e,payload:s})=>{const a=m1();return(e??!1)&&s&&s.length>0?r.jsx(E3,{children:s.map((C,l)=>{const d=C.name==="costSaved"?"Cost Saved":C.name==="timeSavedInHours"?"Time Saved":C.name,h=C.name==="costSaved"?`$${Number(C.value).toFixed().toLocaleString()}`:C.name==="timeSavedInHours"?`${Number(C.value).toFixed().toLocaleString()} hours`:C.value;return r.jsxs(w3,{style:C.name==="costSaved"?{color:a.colors.brandColorGold}:{color:a.colors.graphColor17},children:[r.jsx(M3,{children:d}),r.jsx(j3,{children:h})]},`tooltip-${l}`)})}):null};function W3({performanceTimeSeries:e}){const s=m1(),a=M(),{aiPerformanceDashboard:C}=y.getLocalizedStrings();return r.jsxs(y3,{children:[r.jsx(v3,{windowSize:a,children:r.jsx($3,{children:C.chartTitle})}),r.jsxs(S3,{children:[r.jsx(b3,{children:r.jsx(c1,{children:({width:l,height:d})=>r.jsxs(h1,{width:l,height:d,data:e,margin:{top:6,right:6,left:6,bottom:6},children:[r.jsxs("defs",{children:[r.jsxs("linearGradient",{id:"colorCost",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:c.brandColorGoldLight,stopOpacity:.7}),r.jsx("stop",{offset:"95%",stopColor:c.brandColorGoldLight,stopOpacity:0})]}),r.jsxs("linearGradient",{id:"colorTime",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:c.graphColor16Dark,stopOpacity:.25}),r.jsx("stop",{offset:"95%",stopColor:c.graphColor16Dark,stopOpacity:0})]})]}),r.jsx(S1,{horizontal:!1,vertical:!1}),r.jsx(p1,{dataKey:"month",tickFormatter:h=>{const[p,x]=h.split("-");return new Date(Number(p),Number(x)-1).toLocaleString("en-US",{month:"short",year:"2-digit"})},tickLine:!1,axisLine:{stroke:s.colors.grey2,strokeWidth:1},tick:{fill:s.colors.hero,..._.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),r.jsx(N,{yAxisId:"left",orientation:"left",hide:!0,domain:[0,"dataMax"]}),r.jsx(N,{yAxisId:"right",orientation:"right",hide:!0,domain:[0,h=>h*f3]}),r.jsx(b1,{cursor:{stroke:s.colors.primary,strokeDasharray:5},content:r.jsx(Z3,{})}),r.jsx(Q,{yAxisId:"left",type:"monotone",dataKey:"costSaved",stroke:c.brandColorGold,fillOpacity:1,fill:"url(#colorCost)",strokeWidth:2,activeDot:{r:4,fill:c.neutralGrey5Light,stroke:c.brandColorGold,strokeWidth:2}}),r.jsx(Q,{yAxisId:"right",type:"monotone",dataKey:"timeSavedInHours",stroke:c.graphColor16Dark,fillOpacity:1,fill:"url(#colorTime)",strokeWidth:2,activeDot:{r:4,fill:c.neutralGrey5Light,stroke:c.graphColor16Dark,strokeWidth:2}})]})})}),r.jsxs(B3,{children:[r.jsxs(C1,{children:[r.jsx(n1,{color:c.brandColorGoldDark}),r.jsx(s1,{color:c.brandColorGoldDark,children:C.aiCostSavedTile.title})]}),r.jsxs(C1,{children:[r.jsx(n1,{color:c.graphColor16Dark}),r.jsx(s1,{color:c.graphColor16Dark,children:C.aiTimeSavedTile.title})]})]})]})]})}const F3=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4887)"},t.createElement("path",{d:"M13.4062 8.71875H11.3981C11.0067 8.71889 10.6267 8.85116 10.3198 9.09415C10.0129 9.33713 9.79705 9.67659 9.70712 10.0576C9.61719 10.4385 9.65849 10.8387 9.82434 11.1933C9.99019 11.5479 10.2709 11.8361 10.6209 12.0112L12.4491 12.9263C12.7991 13.1014 13.0798 13.3896 13.2457 13.7442C13.4115 14.0988 13.4528 14.499 13.3629 14.8799C13.273 15.2609 13.0571 15.6004 12.7502 15.8434C12.4433 16.0863 12.0633 16.2186 11.6719 16.2188H9.65625",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 8.71875V7.3125",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 17.625V16.2188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M22.7812 11.9996C22.7801 11.2484 22.5534 10.5149 22.1305 9.89408C21.7076 9.27326 21.108 8.79376 20.4094 8.51771C20.7107 7.82876 20.7974 7.06494 20.6579 6.326C20.5185 5.58706 20.1594 4.90735 19.6277 4.37562C19.096 3.84389 18.4162 3.48486 17.6773 3.34541C16.9384 3.20596 16.1746 3.29258 15.4856 3.59396C15.2113 2.89391 14.7323 2.29281 14.1112 1.8691C13.49 1.44539 12.7556 1.21875 12.0037 1.21875C11.2518 1.21875 10.5174 1.44539 9.8963 1.8691C9.27518 2.29281 8.79619 2.89391 8.52186 3.59396C7.83291 3.29258 7.06909 3.20596 6.33015 3.34541C5.59122 3.48486 4.9115 3.84389 4.37977 4.37562C3.84804 4.90735 3.48901 5.58706 3.34956 6.326C3.21011 7.06494 3.29673 7.82876 3.59811 8.51771C2.89806 8.79204 2.29696 9.27102 1.87325 9.89215C1.44954 10.5133 1.2229 11.2477 1.2229 11.9996C1.2229 12.7515 1.44954 13.4859 1.87325 14.107C2.29696 14.7281 2.89806 15.2071 3.59811 15.4815C3.29673 16.1704 3.21011 16.9342 3.34956 17.6732C3.48901 18.4121 3.84804 19.0918 4.37977 19.6235C4.9115 20.1553 5.59122 20.5143 6.33015 20.6538C7.06909 20.7932 7.83291 20.7066 8.52186 20.4052C8.79619 21.1053 9.27518 21.7064 9.8963 22.1301C10.5174 22.5538 11.2518 22.7804 12.0037 22.7804C12.7556 22.7804 13.49 22.5538 14.1112 22.1301C14.7323 21.7064 15.2113 21.1053 15.4856 20.4052C16.1746 20.7066 16.9384 20.7932 17.6773 20.6538C18.4162 20.5143 19.096 20.1553 19.6277 19.6235C20.1594 19.0918 20.5185 18.4121 20.6579 17.6732C20.7974 16.9342 20.7107 16.1704 20.4094 15.4815C21.108 15.2054 21.7076 14.7259 22.1305 14.1051C22.5534 13.4843 22.7801 12.7508 22.7812 11.9996Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4887"},t.createElement("rect",{width:24,height:24,fill:"white"})))),U={amountRowMarginTop:new u(n[3],n[3],n[5]),amountRowGap:new u(n[2],n[2],n[4]),tileContainerGap:new u(n[2],n[4],n[4])},D3=i.div`
395
+ `,B3=({active:e,payload:s})=>{const a=m1();return(e??!1)&&s&&s.length>0?r.jsx(E3,{children:s.map((C,l)=>{const d=C.name==="costSaved"?"Cost Saved":C.name==="timeSavedInHours"?"Time Saved":C.name,h=C.name==="costSaved"?`$${Number(C.value).toFixed().toLocaleString()}`:C.name==="timeSavedInHours"?`${Number(C.value).toFixed().toLocaleString()} hours`:C.value;return r.jsxs(w3,{style:C.name==="costSaved"?{color:a.colors.brandColorGold}:{color:a.colors.graphColor17},children:[r.jsx(M3,{children:d}),r.jsx(j3,{children:h})]},`tooltip-${l}`)})}):null};function W3({performanceTimeSeries:e}){const s=m1(),a=M(),{aiPerformanceDashboard:C}=y.getLocalizedStrings();return r.jsxs(y3,{children:[r.jsx(v3,{windowSize:a,children:r.jsx($3,{children:C.chartTitle})}),r.jsxs(S3,{children:[r.jsx(b3,{children:r.jsx(c1,{children:({width:l,height:d})=>r.jsxs(h1,{width:l,height:d,data:e,margin:{top:6,right:6,left:6,bottom:6},children:[r.jsxs("defs",{children:[r.jsxs("linearGradient",{id:"colorCost",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:c.brandColorGoldLight,stopOpacity:.7}),r.jsx("stop",{offset:"95%",stopColor:c.brandColorGoldLight,stopOpacity:0})]}),r.jsxs("linearGradient",{id:"colorTime",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:c.graphColor16Dark,stopOpacity:.25}),r.jsx("stop",{offset:"95%",stopColor:c.graphColor16Dark,stopOpacity:0})]})]}),r.jsx(S1,{horizontal:!1,vertical:!1}),r.jsx(p1,{dataKey:"month",tickFormatter:h=>{const[p,x]=h.split("-");return new Date(Number(p),Number(x)-1).toLocaleString("en-US",{month:"short",year:"2-digit"})},tickLine:!1,axisLine:{stroke:s.colors.grey2,strokeWidth:1},tick:{fill:s.colors.hero,..._.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),r.jsx(N,{yAxisId:"left",orientation:"left",hide:!0,domain:[0,"dataMax"]}),r.jsx(N,{yAxisId:"right",orientation:"right",hide:!0,domain:[0,h=>h*f3]}),r.jsx(b1,{cursor:{stroke:s.colors.primary,strokeDasharray:5},content:r.jsx(B3,{})}),r.jsx(Q,{yAxisId:"left",type:"monotone",dataKey:"costSaved",stroke:c.brandColorGold,fillOpacity:1,fill:"url(#colorCost)",strokeWidth:2,activeDot:{r:4,fill:c.neutralGrey5Light,stroke:c.brandColorGold,strokeWidth:2}}),r.jsx(Q,{yAxisId:"right",type:"monotone",dataKey:"timeSavedInHours",stroke:c.graphColor16Dark,fillOpacity:1,fill:"url(#colorTime)",strokeWidth:2,activeDot:{r:4,fill:c.neutralGrey5Light,stroke:c.graphColor16Dark,strokeWidth:2}})]})})}),r.jsxs(Z3,{children:[r.jsxs(C1,{children:[r.jsx(n1,{color:c.brandColorGoldDark}),r.jsx(s1,{color:c.brandColorGoldDark,children:C.aiCostSavedTile.title})]}),r.jsxs(C1,{children:[r.jsx(n1,{color:c.graphColor16Dark}),r.jsx(s1,{color:c.graphColor16Dark,children:C.aiTimeSavedTile.title})]})]})]})]})}const F3=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4887)"},t.createElement("path",{d:"M13.4062 8.71875H11.3981C11.0067 8.71889 10.6267 8.85116 10.3198 9.09415C10.0129 9.33713 9.79705 9.67659 9.70712 10.0576C9.61719 10.4385 9.65849 10.8387 9.82434 11.1933C9.99019 11.5479 10.2709 11.8361 10.6209 12.0112L12.4491 12.9263C12.7991 13.1014 13.0798 13.3896 13.2457 13.7442C13.4115 14.0988 13.4528 14.499 13.3629 14.8799C13.273 15.2609 13.0571 15.6004 12.7502 15.8434C12.4433 16.0863 12.0633 16.2186 11.6719 16.2188H9.65625",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 8.71875V7.3125",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 17.625V16.2188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M22.7812 11.9996C22.7801 11.2484 22.5534 10.5149 22.1305 9.89408C21.7076 9.27326 21.108 8.79376 20.4094 8.51771C20.7107 7.82876 20.7974 7.06494 20.6579 6.326C20.5185 5.58706 20.1594 4.90735 19.6277 4.37562C19.096 3.84389 18.4162 3.48486 17.6773 3.34541C16.9384 3.20596 16.1746 3.29258 15.4856 3.59396C15.2113 2.89391 14.7323 2.29281 14.1112 1.8691C13.49 1.44539 12.7556 1.21875 12.0037 1.21875C11.2518 1.21875 10.5174 1.44539 9.8963 1.8691C9.27518 2.29281 8.79619 2.89391 8.52186 3.59396C7.83291 3.29258 7.06909 3.20596 6.33015 3.34541C5.59122 3.48486 4.9115 3.84389 4.37977 4.37562C3.84804 4.90735 3.48901 5.58706 3.34956 6.326C3.21011 7.06494 3.29673 7.82876 3.59811 8.51771C2.89806 8.79204 2.29696 9.27102 1.87325 9.89215C1.44954 10.5133 1.2229 11.2477 1.2229 11.9996C1.2229 12.7515 1.44954 13.4859 1.87325 14.107C2.29696 14.7281 2.89806 15.2071 3.59811 15.4815C3.29673 16.1704 3.21011 16.9342 3.34956 17.6732C3.48901 18.4121 3.84804 19.0918 4.37977 19.6235C4.9115 20.1553 5.59122 20.5143 6.33015 20.6538C7.06909 20.7932 7.83291 20.7066 8.52186 20.4052C8.79619 21.1053 9.27518 21.7064 9.8963 22.1301C10.5174 22.5538 11.2518 22.7804 12.0037 22.7804C12.7556 22.7804 13.49 22.5538 14.1112 22.1301C14.7323 21.7064 15.2113 21.1053 15.4856 20.4052C16.1746 20.7066 16.9384 20.7932 17.6773 20.6538C18.4162 20.5143 19.096 20.1553 19.6277 19.6235C20.1594 19.0918 20.5185 18.4121 20.6579 17.6732C20.7974 16.9342 20.7107 16.1704 20.4094 15.4815C21.108 15.2054 21.7076 14.7259 22.1305 14.1051C22.5534 13.4843 22.7801 12.7508 22.7812 11.9996Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4887"},t.createElement("rect",{width:24,height:24,fill:"white"})))),U={amountRowMarginTop:new u(n[3],n[3],n[5]),amountRowGap:new u(n[2],n[2],n[4]),tileContainerGap:new u(n[2],n[4],n[4])},D3=i.div`
396
396
  border-radius: 10px;
397
397
  padding: 3px;
398
398
  background-color: ${e=>e.theme.colors.grey5};
@@ -480,15 +480,15 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
480
480
  display: flex;
481
481
  align-items: center;
482
482
  margin: ${o.sp3} 0;
483
- `,J3=i.div`
483
+ `,Y3=i.div`
484
484
  display: flex;
485
485
  flex-wrap: wrap;
486
486
  gap: ${o.sp3};
487
487
  margin-bottom: ${o.sp8};
488
- `,X3=i.div`
488
+ `,J3=i.div`
489
489
  flex: 1;
490
490
  min-width: 300px;
491
- `,Y3=i.div`
491
+ `,X3=i.div`
492
492
  flex: 2;
493
493
  min-width: ${e=>D.savingsChartMinWidth.valuePx(e.windowSize)};
494
494
  min-height: 380px;
@@ -517,4 +517,4 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
517
517
  &:hover {
518
518
  color: ${e=>e.theme.colors.primary};
519
519
  }
520
- `,t4=(e,s)=>e===s?`(${H(e)})`:`(${H(e)} - ${H(s)})`;function h4({aggregatedReport:e,onBackClick:s,onReload:a,onTimeRangeSelect:C,onClickMenuIcon:l}){const d=w1().analytics,h=M(),{common:p}=y.getLocalizedStrings(),[x,$]=t.useState(!1),[j,v]=t.useState(null),P=[...k.TIME_SERIES_DURATIONS],w=k.TIME_SERIES_DURATIONS[1],[T,X]=t.useState(k.convertToTimeSeriesSelectionRange(w)),[B,Y]=t.useState(w),[k1,x1]=t.useState(!1);M1({componentName:"aiPerformance"});const S=e.fetchState==="Not-Started"||e.fetchState==="In-Progress",E=e.fetchState==="Error",g1=m=>m.flatMap(E1=>E1.eventGroups.map(Z=>({event_name:Z.eventName,events_count:Z.eventsCount,time_saved_in_minutes:Z.timeSavedInMinutes,total_cost_saved:Z.totalCostSaved})));t.useEffect(()=>{v("home"),C(k.convertToTimeSeriesSelectionRange(B).fromMonth,k.convertToTimeSeriesSelectionRange(B).toMonth)},[]),t.useEffect(()=>{if(e.fetchState==="Completed"&&j){const m={period_selected:B,cost_saved:e.summary.totalCostSaved,time_saved:e.summary.totalTimeSavedMinutes,task_performed:g1(e.personas)};j==="home"?d.trackAIPerfHome(m):j==="refresh"?d.trackAIPerfRefresh(m):j==="timePeriodSelect"&&d.trackAIPerfTimePeriodSelect(m),v(null)}},[e.fetchState,j]),t.useEffect(()=>{const m=()=>{x1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const f1=r.jsx(q3,{"data-testid":`${j1("ai-performance-page","refresh-icon")}`,onClick:()=>{$(!0),v("refresh"),a(k.convertToTimeSeriesSelectionRange(w).fromMonth,k.convertToTimeSeriesSelectionRange(w).toMonth),Y(w),X(k.convertToTimeSeriesSelectionRange(w))},children:r.jsx(y1,{style:{marginTop:o.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:r.jsx(e4,{spinning:S&&x})})}),L1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:P,valueToLabel:m=>m,selectedValue:`${B} ${t4(T.fromMonth,T.toMonth)}`,titleTextStyle:_.largeMedium,onPickerSelectionChanged:m=>{m!=null&&(v("timePeriodSelect"),Y(k.toTimeSeriesDuration(m)),X(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m))),C(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).fromMonth,k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:s,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:f1},q=Number(parseFloat((e?.summary?.totalTimeSavedMinutes/60).toFixed()));return r.jsxs(I3,{children:[r.jsx(N3,{isScrolled:k1,windowSize:h,paddingLeft:D.contentPaddingLeft.value(h),paddingRight:D.contentPaddingRight.value(h),children:r.jsx(V1,{...L1})}),r.jsxs(U3,{windowSize:h,children:[r.jsxs(K3,{windowSize:h,children:[r.jsxs(X3,{windowSize:h,children:[S?r.jsx(t1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):r.jsx(o1,{type:"cost",value:E?`${p.strings.hyphen}`:Number(e.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:e.currency,style:{margin:`0 0 ${o.sp3} 0`},noData:E}),S?r.jsx(t1,{customStyle:{margin:"0"}}):r.jsx(o1,{type:"time",value:E?`${p.strings.hyphen}`:e.summary?.totalTimeSavedMinutes<60?Number(e.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():Number(q).toFixed().toLocaleString(),currency:e.currency,noData:E,timeUnit:E?"":e.summary?.totalTimeSavedMinutes<60?e.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:q>1?p.timeStrings.hours:p.timeStrings.hour})]}),r.jsx(Y3,{windowSize:h,children:S?r.jsx(A1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):E?r.jsx(g3,{selectedTimeSeries:T}):r.jsx(W3,{performanceTimeSeries:e.monthlySummary})})]}),S?r.jsx(l1,{windowSize:h,children:r.jsx(Q1,{})}):r.jsxs(r.Fragment,{children:[r.jsx(l1,{windowSize:h,children:E||e.personas.length===0?r.jsx(s3,{}):r.jsx(b2,{personas:e.personas,currency:e.currency})}),r.jsxs(J3,{windowSize:h,children:[r.jsx(A3,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E}),r.jsx(q2,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E})]})]})]})]})}export{h4 as default,G3 as navBarHeight};
520
+ `,t4=(e,s)=>e===s?`(${H(e)})`:`(${H(e)} - ${H(s)})`;function h4({aggregatedReport:e,onBackClick:s,onReload:a,onTimeRangeSelect:C,onClickMenuIcon:l}){const d=w1().analytics,h=M(),{common:p}=y.getLocalizedStrings(),[x,$]=t.useState(!1),[j,v]=t.useState(null),P=[...k.TIME_SERIES_DURATIONS],w=k.TIME_SERIES_DURATIONS[1],[T,J]=t.useState(k.convertToTimeSeriesSelectionRange(w)),[Z,X]=t.useState(w),[k1,x1]=t.useState(!1);M1({componentName:"aiPerformance"});const S=e.fetchState==="Not-Started"||e.fetchState==="In-Progress",E=e.fetchState==="Error",g1=m=>m.flatMap(E1=>E1.eventGroups.map(B=>({event_name:B.eventName,events_count:B.eventsCount,time_saved_in_minutes:B.timeSavedInMinutes,total_cost_saved:B.totalCostSaved})));t.useEffect(()=>{v("home"),C(k.convertToTimeSeriesSelectionRange(Z).fromMonth,k.convertToTimeSeriesSelectionRange(Z).toMonth)},[]),t.useEffect(()=>{if(e.fetchState==="Completed"&&j){const m={period_selected:Z,cost_saved:e.summary.totalCostSaved,time_saved:e.summary.totalTimeSavedMinutes,task_performed:g1(e.personas)};j==="home"?d.trackAIPerfHome(m):j==="refresh"?d.trackAIPerfRefresh(m):j==="timePeriodSelect"&&d.trackAIPerfTimePeriodSelect(m),v(null)}},[e.fetchState,j]),t.useEffect(()=>{const m=()=>{x1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const f1=r.jsx(q3,{"data-testid":`${j1("ai-performance-page","refresh-icon")}`,onClick:()=>{$(!0),v("refresh"),a(k.convertToTimeSeriesSelectionRange(w).fromMonth,k.convertToTimeSeriesSelectionRange(w).toMonth),X(w),J(k.convertToTimeSeriesSelectionRange(w))},children:r.jsx(y1,{style:{marginTop:o.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:r.jsx(e4,{spinning:S&&x})})}),L1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:P,valueToLabel:m=>m,selectedValue:`${Z} ${t4(T.fromMonth,T.toMonth)}`,titleTextStyle:_.largeMedium,onPickerSelectionChanged:m=>{m!=null&&(v("timePeriodSelect"),X(k.toTimeSeriesDuration(m)),J(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m))),C(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).fromMonth,k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:s,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:f1},q=Number(parseFloat((e?.summary?.totalTimeSavedMinutes/60).toFixed()));return r.jsxs(I3,{children:[r.jsx(N3,{isScrolled:k1,windowSize:h,paddingLeft:D.contentPaddingLeft.value(h),paddingRight:D.contentPaddingRight.value(h),children:r.jsx(V1,{...L1})}),r.jsxs(U3,{windowSize:h,children:[r.jsxs(K3,{windowSize:h,children:[r.jsxs(J3,{windowSize:h,children:[S?r.jsx(t1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):r.jsx(o1,{type:"cost",value:E?`${p.strings.hyphen}`:Number(e.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:e.currency,style:{margin:`0 0 ${o.sp3} 0`},noData:E}),S?r.jsx(t1,{customStyle:{margin:"0"}}):r.jsx(o1,{type:"time",value:E?`${p.strings.hyphen}`:e.summary?.totalTimeSavedMinutes<60?Number(e.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():Number(q).toFixed().toLocaleString(),currency:e.currency,noData:E,timeUnit:E?"":e.summary?.totalTimeSavedMinutes<60?e.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:q>1?p.timeStrings.hours:p.timeStrings.hour})]}),r.jsx(X3,{windowSize:h,children:S?r.jsx(A1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):E?r.jsx(g3,{selectedTimeSeries:T}):r.jsx(W3,{performanceTimeSeries:e.monthlySummary})})]}),S?r.jsx(l1,{windowSize:h,children:r.jsx(Q1,{})}):r.jsxs(r.Fragment,{children:[r.jsx(l1,{windowSize:h,children:E||e.personas.length===0?r.jsx(s3,{}):r.jsx(b2,{personas:e.personas,currency:e.currency})}),r.jsxs(Y3,{windowSize:h,children:[r.jsx(A3,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E}),r.jsx(q2,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E})]})]})]})]})}export{h4 as default,G3 as navBarHeight};
@@ -1,18 +1,18 @@
1
- import{u as f,X as P,j as t,gd as $,o,C as a,gX as j,q as i}from"./index-sK9Ftyw4.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{K as z}from"./StatusSwitcher-oC-AP25Z-BIEyDhm7.js";import{r as A}from"./AccountInfoPageContent-BTk2gRyM-BiMT6aOy.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-D7ANJLK4-JxxYzwZh.js";import"./commonDimensions-DRfDJ_wQ-CneCHG2f.js";const r={pageTitleMarginXAxis:new a(i[4],i[8]),containerPaddingLeft:new a(i[3],i[6],i[8]),containerPaddingRight:new a(i[3],i[6],i[8])},B=({authParams:e,downloadAccountDetailEndPoint:l,depositAccount:s,zeniAccountsConfigDetail:m,currentTenant:p,onDismissClick:u})=>{const g=f(),d=P(),[c,x]=y.useState("achDetails"),h=w=>{x(w)};return t.jsxs(S,{children:[t.jsx($,{title:"",backgroundColor:g.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(T,{windowSize:d,children:s.accountName}),t.jsx(b,{children:t.jsx(z,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:h,isSwitcherLeftAlign:!0})}),t.jsx(C,{windowSize:d,children:t.jsx(A,{authParams:e,downloadAccountDetailEndPoint:l,currentTab:c,zeniAccountsConfigDetail:m,currentTenant:p,depositAccount:s})})]})},C=n.div`
1
+ import{u as f,X as P,j as t,gb as $,o,C as a,gV as j,n as i}from"./index-DyBH5SZv.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{K as z}from"./StatusSwitcher-5CZzUYJE-qZVSFmES.js";import{r as A}from"./AccountInfoPageContent-BtMF3gSM-CwB-GVxY.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-LAHtgcHF-B9uNpNRf.js";import"./commonDimensions-DAvj4Il1-Chc9ZQai.js";const r={pageTitleMarginXAxis:new a(i[4],i[8]),containerPaddingLeft:new a(i[3],i[6],i[8]),containerPaddingRight:new a(i[3],i[6],i[8])},_=({authParams:e,downloadAccountDetailEndPoint:l,depositAccount:s,zeniAccountsConfigDetail:m,currentTenant:p,onDismissClick:u})=>{const g=f(),d=P(),[c,x]=y.useState("achDetails"),h=w=>{x(w)};return t.jsxs(C,{children:[t.jsx($,{title:"",backgroundColor:g.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(S,{windowSize:d,children:s.accountName}),t.jsx(T,{children:t.jsx(z,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:h,isSwitcherLeftAlign:!0})}),t.jsx(b,{windowSize:d,children:t.jsx(A,{authParams:e,downloadAccountDetailEndPoint:l,currentTab:c,zeniAccountsConfigDetail:m,currentTenant:p,depositAccount:s})})]})},b=n.div`
2
2
  padding-left: ${e=>`${r.containerPaddingLeft.valuePx(e.windowSize)}`};
3
3
  padding-right: ${e=>`${r.containerPaddingRight.valuePx(e.windowSize)}`};
4
- `,S=n.div`
4
+ `,C=n.div`
5
5
  display: flex;
6
6
  flex-direction: column;
7
7
  background-color: ${e=>e.theme.colors.grey4};
8
8
  overflow-x: hidden;
9
9
  height: 100%;
10
10
  width: 100%;
11
- `,T=n(j)`
11
+ `,S=n(j)`
12
12
  color: ${e=>e.theme.colors.primary};
13
13
  padding: ${o.sp3} ${o.sp0};
14
14
  margin: ${e=>`${o.sp0} ${r.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
15
- `,b=n.div`
15
+ `,T=n.div`
16
16
  display: flex;
17
17
  justify-content: flex-start;
18
- `;export{B as default};
18
+ `;export{_ as default};
@@ -0,0 +1,149 @@
1
+ import{X as we,fc as Ae,gW as H,j as r,M as Se,bs as C,c as Te,Y as z,o as a,al as ve,bp as De,g as E,w as ee,ax as Ce,fe as ze,q as re}from"./index-DyBH5SZv.js";import{b as s,n as t}from"./vendor-CnQcJ2Lu.js";import{w as Le}from"./downloadPdf-LAHtgcHF-B9uNpNRf.js";import{o as _e}from"./commonDimensions-DAvj4Il1-Chc9ZQai.js";const{common:{strings:Ee,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:K},billPay:{vendorCreation:{achDetails:o}},downloads:Q}}=Se.getLocalizedStrings(),Fe=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const oe=we(),[,R]=Ae(),[k,te]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[pe,me]=s.useState(!1),[he,xe]=s.useState(!1),[fe,$e]=s.useState(!1),[m,I]=s.useState(!1),[N,P]=s.useState(!1),[j,q]=s.useState(!1),[w,J]=s.useState(!1),[A,O]=s.useState(!1),[S,U]=s.useState(!1),[T,W]=s.useState(!1),[$,X]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,D=H(u.zeniAccountsConfigDetail.mailingAddress).text2,p=H(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(m||S||T||$||A||$||j||N||w)&&setTimeout(()=>{I(!1),U(!1),W(!1),X(!1),O(!1),J(!1),q(!1),P(!1)},1200)},[m,S,T,$,A,w,j,N]);const B=(h,c)=>{switch(h){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":xe(c);break;case"beneficiaryAddress":me(c);break;case"bankAddress":$e(c);break}},ye=h=>{let c;h==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
2
+
3
+ ${o.accountTypeLabel} ${n.accountSubType.name??""}
4
+
5
+ ${o.bankAccountNumber} ${n.accountNumber}
6
+
7
+ ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
8
+
9
+ ${o.bankAddress} ${p}`:c=`${o.bankRoutingNumber} ${n.routingNumberAch}
10
+
11
+ ${o.accountTypeLabel} ${n.accountSubType.name??""}
12
+
13
+ ${o.bankAccountNumber} ${n.accountNumber}
14
+
15
+ ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
16
+
17
+ ${o.beneficiaryName} ${v}
18
+
19
+ ${o.bankAddress} ${p}
20
+
21
+ ${o.beneficiaryAddress} ${D}`,R(c),I(!0)},i=(h,c,x,G)=>{let d,l;switch(x){case"acccountNumber":d=ne,l=T;break;case"accountType":d=se,l=S;break;case"bankName":d=be,l=A;break;case"beneficiaryName":d=he,l=N;break;case"beneficiaryAddress":d=pe,l=w;break;case"bankAddress":d=fe,l=j;break;default:d=le,l=$;break}const je=()=>{switch(x){case"accountType":U(!0);break;case"acccountNumber":W(!0);break;case"routingNumber":X(!0);break;case"bankName":O(!0);break;case"beneficiaryName":P(!0);break;case"beneficiaryAddress":J(!0);break;case"bankAddress":q(!0);break}};return r.jsxs(Oe,{onMouseEnter:()=>B(x,!0),onMouseLeave:()=>B(x,!1),children:[r.jsx(Ue,{children:h}),r.jsx(Xe,{children:r.jsxs(Be,{children:[r.jsxs(We,{children:[d||oe==="small"?r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:l,children:l?y.copied:y.copy}),enterDelay:600,children:l===!0?r.jsx(F,{}):r.jsx(Z,{"data-testid":z("account-info-copy",x),onClick:()=>{R(c),je()}})})}):null,c]}),G!=null?r.jsx(Ge,{children:G}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:n.id,company_name:g?.companyName??"",company_legal_name:g?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${ae}?query=${ke}`;return r.jsx(Me,{children:r.jsxs(Re,{children:[r.jsxs(Ie,{children:[r.jsx(qe,{children:f==="achDetails"?K.achTitle:K.wireTitle}),r.jsxs(Pe,{children:[r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:k,children:k?Q.downloading:Q.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(Je,{"data-testid":z("account-info-download-pdf"),onClick:()=>{Le(Ne,Ee.empty,e,te,!0)}})})}),r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:m,children:m?y.copied:y.copy}),enterDelay:600,children:m===!0?r.jsx(F,{}):r.jsx(Z,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(He,{children:[r.jsx(V,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(Y,{children:i(o.bankAddress,p,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(Ke,{children:[r.jsx(V,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(b,{children:i(o.bankAddress,p,"bankAddress")}):null,v!=null?r.jsx(b,{children:i(o.beneficiaryName,v,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,D!=null?r.jsx(Y,{children:i(o.beneficiaryAddress,D,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Me=t.div``,Re=t.div`
22
+ margin: ${a.sp4};
23
+ margin-left: ${a.sp0};
24
+ `,Ie=t.div`
25
+ display: flex;
26
+ align-items: center;
27
+ justify-content: space-between;
28
+ margin-bottom: ${a.sp3};
29
+ `,Pe=t.div`
30
+ display: flex;
31
+ gap: ${a.sp4};
32
+ `,qe=t(ve)`
33
+ color: ${e=>e.theme.colors.primary};
34
+ margin-right: ${a.sp2};
35
+ `,Je=t(De)`
36
+ height: ${a.sp3};
37
+ width: ${a.sp3};
38
+ color: ${e=>e.theme.colors.hero};
39
+ cursor: pointer;
40
+ &:hover {
41
+ color: ${e=>e.theme.colors.primary};
42
+ }
43
+ `,M=t.div`
44
+ box-sizing: border-box;
45
+ min-height: ${_e.transactionItemHeight}px;
46
+ display: flex;
47
+ border: 1px solid;
48
+ border-radius: ${a.sp2};
49
+ background-color: ${e=>e.theme.colors.grey5};
50
+ border-color: ${e=>e.theme.colors.grey3};
51
+ color: ${e=>e.theme.colors.hero};
52
+ &:hover {
53
+ border-color: ${e=>e.theme.colors.primary};
54
+ color: ${e=>e.theme.colors.primary};
55
+ .tag {
56
+ border-color: ${e=>e.theme.colors.grey2};
57
+ color: ${e=>e.theme.colors.grey1};
58
+ }
59
+ }
60
+ `,V=t(M)`
61
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
62
+ display: flex;
63
+ border-top-width: 1px;
64
+ border-right-width: 1px;
65
+ border-bottom-width: 0.5px;
66
+ border-left-width: 1px;
67
+
68
+ border-top-left-radius: ${a.sp2};
69
+ border-top-right-radius: ${a.sp2};
70
+ border-bottom-left-radius: ${a.sp0};
71
+ border-bottom-right-radius: ${a.sp0};
72
+ &:hover {
73
+ border-bottom-width: 1px;
74
+ }
75
+ `,Y=t(M)`
76
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
77
+ display: flex;
78
+ border-top-width: 0.5px;
79
+ border-right-width: 1px;
80
+ border-bottom-width: 1px;
81
+ border-left-width: 1px;
82
+ border-top-left-radius: ${a.sp0};
83
+ border-top-right-radius: ${a.sp0};
84
+ border-bottom-left-radius: ${a.sp2};
85
+ border-bottom-right-radius: ${a.sp2};
86
+ &:hover {
87
+ border-top-width: 1px;
88
+ }
89
+ `,L=t.div`
90
+ display: flex;
91
+ color: ${e=>e.theme.colors.grey1};
92
+ &:hover {
93
+ color: ${e=>e.theme.colors.primary};
94
+ svg {
95
+ color: ${e=>e.theme.colors.primary};
96
+ }
97
+ }
98
+ `,Z=t(ze)`
99
+ height: ${a.sp3};
100
+ width: ${a.sp3};
101
+ color: ${e=>e.theme.colors.hero};
102
+ cursor: pointer;
103
+ &:hover {
104
+ color: ${e=>e.theme.colors.primary};
105
+ }
106
+ `,F=t(Ce)`
107
+ height: ${a.sp3};
108
+ width: ${a.sp3};
109
+ color: ${E.success};
110
+ `,Oe=t.div`
111
+ display: flex;
112
+ flex-direction: row;
113
+ padding: ${a.sp3} ${a.sp4};
114
+ justify-content: space-between;
115
+ width: 100%;
116
+ gap: ${a.sp4};
117
+ `,Ue=t(re)`
118
+ color: ${e=>e.theme.colors.hero};
119
+ `,We=t(re)`
120
+ display: flex;
121
+ align-items: center;
122
+ color: ${e=>e.theme.colors.primary};
123
+ background-color: ${e=>e.theme.colors.grey5};
124
+ justify-content: flex-end;
125
+ text-align: end;
126
+ `,Xe=t.div`
127
+ display: flex;
128
+ `,Be=t.div`
129
+ display: flex;
130
+ flex-direction: column;
131
+ align-items: flex-end;
132
+ `,Ge=t(ee)`
133
+ color: ${e=>e.theme.colors.grey1};
134
+ text-align: end;
135
+ `,_=t(ee)`
136
+ color: ${e=>e.isTextCopied?E.primaryDark:E.neutralGrey1Light};
137
+ `,b=t(M)`
138
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
139
+ display: flex;
140
+ border-radius: ${a.sp0};
141
+ border-top-width: 0.5px;
142
+ border-right-width: 1px;
143
+ border-bottom-width: 0.5px;
144
+ border-left-width: 1px;
145
+ &:hover {
146
+ border-top-width: 1px;
147
+ border-bottom-width: 1px;
148
+ }
149
+ `,He=t.div``,Ke=t.div``;export{Fe as r};
@@ -1,4 +1,4 @@
1
- import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e,o as i,h as ke,aq as G,m as X,a6 as ve,T as Ce,dI as we,eP as be,k6 as Z,ds as ee,t as l,u as Ee,_ as Pe,aQ as te,c$ as ne,b0 as Re,g as oe,ee as De}from"./index-sK9Ftyw4.js";import{b as r,n as o}from"./vendor-CnQcJ2Lu.js";import{E as Ie,C as Fe,w as _e,f as Te}from"./AccountRow--5DnpNqk-BQr3z4DI.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Ue=o.div`
1
+ import{a as xe,eX as fe,j as t,l as F,F as ge,bO as ye,M as je,bQ as Se,bR as $e,o as i,h as ke,al as K,f as Z,a2 as ve,T as Ce,dH as we,eN as be,k5 as G,dr as ee,q as l,u as Ee,_ as Pe,aQ as te,c_ as ne,b0 as Re,g as oe,ax as De}from"./index-DyBH5SZv.js";import{b as r,n as o}from"./vendor-CnQcJ2Lu.js";import{E as Ie,C as _e,w as Fe,f as Te}from"./AccountRow-CP7Tu1pO-VLQJgkE6.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Ue=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -29,13 +29,13 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
29
29
  color: ${e=>e.theme.colors.primary};
30
30
  }
31
31
  flex: 0 0 auto;
32
- `,Be=o.div`
32
+ `,Le=o.div`
33
33
  padding-left: ${m.containerPaddingLeft};
34
34
  padding-right: ${m.containerPaddingRight};
35
- `,Le=o.div`
35
+ `,Be=o.div`
36
36
  position: relative;
37
37
  min-height: 62px;
38
- `,Ae=o.div`
38
+ `,We=o.div`
39
39
  display: flex;
40
40
  flex-direction: row;
41
41
  align-items: center;
@@ -47,18 +47,18 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
47
47
  padding-right: ${m.navBarPaddingRight};
48
48
  padding-left: ${m.navBarPaddingLeft};
49
49
  height: 100%;
50
- `,We=o(ke)`
50
+ `,Ae=o(ke)`
51
51
  display: flex;
52
52
  flex: 1 1 0;
53
53
  justify-content: center;
54
54
  flex-direction: column;
55
- `,Ne=o(G)`
55
+ `,Ne=o(K)`
56
56
  display: flex;
57
57
  color: ${e=>e.theme.colors.primary};
58
58
  align-items: center;
59
59
  justify-content: center;
60
60
  overflow: hidden;
61
- `,ie=o(X)`
61
+ `,ie=o(Z)`
62
62
  display: flex;
63
63
  color: ${e=>e.theme.colors.hero};
64
64
  align-items: center;
@@ -85,21 +85,21 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
85
85
  background-color: ${e=>e.theme.colors.background};
86
86
  border-radius: ${i.sp2};
87
87
  border: 1px solid ${e=>e.theme.colors.grey3};
88
- `,Qe=o.div`
88
+ `,Je=o.div`
89
89
  display: flex;
90
90
  flex-direction: column;
91
91
  align-items: flex-start;
92
92
  justify-content: center;
93
93
  min-width: ${m.balanceContainerWidth}px;
94
- `,W=o(X)`
94
+ `,A=o(Z)`
95
95
  display: flex;
96
96
  color: ${e=>e.theme.colors.hero};
97
97
  align-items: center;
98
98
  justify-content: flex-end;
99
- `,Je=o(l)`
99
+ `,Qe=o(l)`
100
100
  color: ${e=>e.theme.colors.primary};
101
101
  text-align: left;
102
- `,Ze=o.div`
102
+ `,Ge=o.div`
103
103
  display: flex;
104
104
  flex-direction: column;
105
105
  align-items: flex-start;
@@ -110,19 +110,19 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
110
110
  color: ${e=>e.theme.colors.primary};
111
111
  align-items: center;
112
112
  justify-content: flex-start;
113
- `,Ke=o.div`
113
+ `,Xe=o.div`
114
114
  display: flex;
115
115
  flex-direction: row;
116
116
  align-items: flex-start;
117
117
  justify-content: flex-start;
118
118
  gap: ${i.sp1};
119
- `,Ge=o.div`
119
+ `,Ke=o.div`
120
120
  display: flex;
121
121
  flex-direction: column;
122
122
  align-items: flex-start;
123
123
  justify-content: flex-start;
124
124
  min-width: ${m.balanceContainerWidth}px;
125
- `,Xe=o(l)`
125
+ `,Ze=o(l)`
126
126
  display: flex;
127
127
  color: ${e=>e.theme.colors.grey3};
128
128
  align-items: center;
@@ -162,7 +162,7 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
162
162
  justify-content: center;
163
163
  min-width: ${m.sourceContainerWidth}px;
164
164
  gap: ${i.sp2};
165
- `,at=o(G)`
165
+ `,at=o(K)`
166
166
  display: flex;
167
167
  color: ${e=>e.theme.colors.primary};
168
168
  align-items: center;
@@ -187,7 +187,7 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
187
187
  color: ${e=>e.theme.colors.hero};
188
188
  align-items: center;
189
189
  justify-content: flex-end;
190
- `,F=o(l)`
190
+ `,_=o(l)`
191
191
  display: flex;
192
192
  color: ${e=>e.theme.colors.primary};
193
193
  align-items: center;
@@ -236,4 +236,4 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
236
236
  color: ${e=>e.status==="connected"?e.theme.colors.success:e.status==="reconnect"?e.theme.colors.important:e.theme.colors.link};
237
237
  cursor: pointer;
238
238
  text-decoration: underline;
239
- `,{common:p,dateFormat:V,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function _t({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:O}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),k=x.handleSubmit(()=>{}),[h,g]=r.useState(void 0),v=n.link_account_no_microdeposit,C=n.update_account,s=h==="update_account"?C:v,[y,Y]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[z,B]=r.useState(!1),[L,A]=r.useState(void 0),[re,H]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{L!=null&&(R(L),A(void 0)),H(void 0),B(!1)},onCancelClick:()=>{A(void 0),B(!1)}},q=r.useRef(h);r.useEffect(()=>{q.current=h},[h]);const pe=r.useCallback(D=>{P(D,e.accountReconEntity.account.accountId,q.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((D,me)=>{D!=null&&console.log("Plaid Connection Error",D,me),g(void 0),w(!1)},[]),{open:Q,ready:J}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(_.zeniDate(new Date().toISOString()).isAfter(s.expiration)||s.linkToken==null)&&s.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[s.fetchStatus.fetchState]),r.useEffect(()=>{!a&&h!=null&&s.linkToken===y&&s.fetchStatus.fetchState==="Completed"&&J&&w(!0)},[J,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&Y(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&Q()},[a,Q]),t.jsxs(Ue,{children:[t.jsx(Oe,{children:t.jsx(Le,{children:t.jsxs(Ae,{children:[t.jsx(Me,{}),t.jsxs(We,{children:[t.jsx(Ne,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx($t,{monthYearPeriod:d})})]}),t.jsx(ze,{children:t.jsx(Ye,{onClick:$})})]})})}),t.jsxs(Be,{children:[t.jsx(ge,{...x,children:t.jsx("form",{style:{width:"100%"},id:mt,onSubmit:k,children:t.jsx(xt,{monthYearPeriod:d,accountReconciliation:e,filesEndPoint:f,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:O,showConfirmationPopup:z,setShowConfirmationPopup:B,deleteFileId:L,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx($e,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const xt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:d,authParams:u,openFilePicker:f,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:M,uploadErrorMessage:O,setUploadErrorMessage:x})=>{const[k,h]=r.useState(!1),g=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,v=[];v.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),v.push({label:c.reconciliation.menu.statement,value:"bank_statement"});const C=n.localData?.accountSource,s=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&x(Ie(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,x]);const y=["reconciled","in_progress","reconciled_via_qbo"],Y=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(He,{children:[t.jsxs(qe,{children:[t.jsxs(Qe,{children:[t.jsx(W,{children:c.reconciliation.headers.bankBalance}),t.jsx(Je,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Ze,{children:[t.jsx(W,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ve,{children:t.jsx(_e,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Ge,{children:[t.jsx(W,{children:c.reconciliation.headers.variance}),t.jsx(Xe,{children:t.jsx(jt,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ct,{children:[t.jsxs(at,{children:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(st,{children:[t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.type}),t.jsx(F,{children:s!=null?t.jsx(j,{children:s==="plaid"?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),c.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),c.reconciliation.menu.statement]})}):t.jsx(Ce,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(ft,{selectedSourceType:C}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:a=>{R(_.toReconciliationAccountSource(a))},valueToIcon:a=>a==="plaid"?t.jsx(lt,{}):a==="bank_statement"?t.jsx(dt,{}):null})})})]}),C==="bank_statement"?t.jsx(b,{children:t.jsx(be,{name:ht(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:Y,sizeLimit:1e7,onFileSizeError:a=>{a&&x(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:d,authParams:u,acceptableTypes:["application/pdf"],placeholderText:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:f,accountStatementUpload:{uploadHelper:_.uploadAccountStatementIntoDocumentAI,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:O,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{U(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{M()}},onDeleteFile:a=>{E(a),P(!0)},onEditFileName:(a,w)=>{T(a,w)}})}):null,t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.status}),t.jsx(F,{children:C!=="bank_statement"?t.jsx(gt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(yt,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(F,{children:t.jsx(St,{accountSubType:Z(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(F,{children:t.jsx(ee,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:Z(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},ft=({selectedSourceType:e})=>t.jsxs(nt,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ot,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(it,{})]}),gt=({status:e,connectionInProgress:n,onConnectClick:d,onReconnectClick:u})=>n?t.jsx(N,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(rt,{}),t.jsx(ut,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(N,{onClick:e==="reconnect"?u:d,children:t.jsx(pt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.reconciliation.drawer.values.connect})}),yt=({status:e,uploadInProgress:n})=>n?t.jsx(ee,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),jt=({variance:e,variancePercentage:n,reconciliationStatusCode:d})=>{const u=Ee(),{varianceColor:f,variancePercentageColor:S,variancePercentageContainerColor:$}=Te(u,e,d,!0);return t.jsxs(Ke,{children:[t.jsx(et,{textColor:f,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(tt,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},St=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},$t=({monthYearPeriod:e})=>t.jsx(ie,{children:kt(e)}),kt=e=>{const{month:n,year:d}=e,u=_.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(V.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(V.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{_t as default,ht as uniqueName};
239
+ `,{common:p,dateFormat:V,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Ft({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:O}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:X(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:X(e)}),k=x.handleSubmit(()=>{}),[h,g]=r.useState(void 0),v=n.link_account_no_microdeposit,C=n.update_account,s=h==="update_account"?C:v,[y,Y]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[z,L]=r.useState(!1),[B,W]=r.useState(void 0),[re,H]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),W(void 0)),H(void 0),L(!1)},onCancelClick:()=>{W(void 0),L(!1)}},q=r.useRef(h);r.useEffect(()=>{q.current=h},[h]);const pe=r.useCallback(D=>{P(D,e.accountReconEntity.account.accountId,q.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((D,me)=>{D!=null&&console.log("Plaid Connection Error",D,me),g(void 0),w(!1)},[]),{open:J,ready:Q}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(F.zeniDate(new Date().toISOString()).isAfter(s.expiration)||s.linkToken==null)&&s.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[s.fetchStatus.fetchState]),r.useEffect(()=>{!a&&h!=null&&s.linkToken===y&&s.fetchStatus.fetchState==="Completed"&&Q&&w(!0)},[Q,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&Y(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&J()},[a,J]),t.jsxs(Ue,{children:[t.jsx(Oe,{children:t.jsx(Be,{children:t.jsxs(We,{children:[t.jsx(Me,{}),t.jsxs(Ae,{children:[t.jsx(Ne,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx($t,{monthYearPeriod:d})})]}),t.jsx(ze,{children:t.jsx(Ye,{onClick:$})})]})})}),t.jsxs(Le,{children:[t.jsx(ge,{...x,children:t.jsx("form",{style:{width:"100%"},id:mt,onSubmit:k,children:t.jsx(xt,{monthYearPeriod:d,accountReconciliation:e,filesEndPoint:f,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:O,showConfirmationPopup:z,setShowConfirmationPopup:L,deleteFileId:B,setDeleteFileId:W,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx($e,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const xt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:d,authParams:u,openFilePicker:f,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:M,uploadErrorMessage:O,setUploadErrorMessage:x})=>{const[k,h]=r.useState(!1),g=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,v=[];v.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),v.push({label:c.reconciliation.menu.statement,value:"bank_statement"});const C=n.localData?.accountSource,s=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&x(Ie(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,x]);const y=["reconciled","in_progress","reconciled_via_qbo"],Y=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(He,{children:[t.jsxs(qe,{children:[t.jsxs(Je,{children:[t.jsx(A,{children:c.reconciliation.headers.bankBalance}),t.jsx(Qe,{children:t.jsx(_e,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Ge,{children:[t.jsx(A,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ve,{children:t.jsx(Fe,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Ke,{children:[t.jsx(A,{children:c.reconciliation.headers.variance}),t.jsx(Ze,{children:t.jsx(jt,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ct,{children:[t.jsxs(at,{children:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(st,{children:[t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.type}),t.jsx(_,{children:s!=null?t.jsx(j,{children:s==="plaid"?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),c.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),c.reconciliation.menu.statement]})}):t.jsx(Ce,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(ft,{selectedSourceType:C}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:a=>{R(F.toReconciliationAccountSource(a))},valueToIcon:a=>a==="plaid"?t.jsx(lt,{}):a==="bank_statement"?t.jsx(dt,{}):null})})})]}),C==="bank_statement"?t.jsx(b,{children:t.jsx(be,{name:ht(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:Y,sizeLimit:1e7,onFileSizeError:a=>{a&&x(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:d,authParams:u,acceptableTypes:["application/pdf"],placeholderText:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:f,accountStatementUpload:{uploadHelper:F.uploadAccountStatementIntoDocumentAI,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:O,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{U(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{M()}},onDeleteFile:a=>{E(a),P(!0)},onEditFileName:(a,w)=>{T(a,w)}})}):null,t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.status}),t.jsx(_,{children:C!=="bank_statement"?t.jsx(gt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(yt,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(_,{children:t.jsx(St,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(ee,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:G(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},ft=({selectedSourceType:e})=>t.jsxs(nt,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ot,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(it,{})]}),gt=({status:e,connectionInProgress:n,onConnectClick:d,onReconnectClick:u})=>n?t.jsx(N,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(rt,{}),t.jsx(ut,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(N,{onClick:e==="reconnect"?u:d,children:t.jsx(pt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.reconciliation.drawer.values.connect})}),yt=({status:e,uploadInProgress:n})=>n?t.jsx(ee,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),jt=({variance:e,variancePercentage:n,reconciliationStatusCode:d})=>{const u=Ee(),{varianceColor:f,variancePercentageColor:S,variancePercentageContainerColor:$}=Te(u,e,d,!0);return t.jsxs(Xe,{children:[t.jsx(et,{textColor:f,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(tt,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},St=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},$t=({monthYearPeriod:e})=>t.jsx(ie,{children:kt(e)}),kt=e=>{const{month:n,year:d}=e,u=F.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(V.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(V.visual.DMMMYYYYFormat)}`},X=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Ft as default,ht as uniqueName};