@zeniai/web-cockpit-ui 1.13.95-qa → 1.13.96-qa

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/dist/assets/{ACHDetailsPage-CTeCxcke-C683R6bJ.js → ACHDetailsPage-Cwc2nmvY-DQ16IU5r.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DHndW6Jx-CfEm_2Cm.js → AIPerformancePage-CK4ZdUEb-fJZXFPPa.js} +14 -14
  3. package/dist/assets/{AccountInfoPage-DX6r16Bm-Dg1WO-h4.js → AccountInfoPage-LiZYkJMA-D7v8XtXB.js} +5 -5
  4. package/dist/assets/{AccountInfoPageContent-DuUO6Fmo-C56BuLDu.js → AccountInfoPageContent-BTk2gRyM-D5sd4ymJ.js} +32 -32
  5. package/dist/assets/{AccountReconDetailsDrawerPage-XjxpxHaM-CDytzp8k.js → AccountReconDetailsDrawerPage-CBOR2m1X-itmjhcPW.js} +15 -15
  6. package/dist/assets/{AccountRow-BUDNnxLp-Cql4xo5o.js → AccountRow--5DnpNqk-C6gOEeWO.js} +24 -24
  7. package/dist/assets/{AccountsPromoCardStack-BkYuVRiC-jkiVHvUa.js → AccountsPromoCardStack-DCI8_ihc-CZreK5jG.js} +28 -28
  8. package/dist/assets/{AddAddressForCardDrawer-CaKymF5H-BHDX5-6a.js → AddAddressForCardDrawer-C_RALUZ7-C2wla-3g.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-CO_ranRc-BTuUxzoU.js → AddToWalletPage-7sC3Q2Pb-TioJ0o_r.js} +18 -18
  10. package/dist/assets/{AgingReportsPage-CmvGohzQ-D8gICcEY.js → AgingReportsPage-PrvYryW8-ClQ8Euxf.js} +6 -6
  11. package/dist/assets/{AllUserItems-Bcd_lx2s-DYNL-0c5.js → AllUserItems-DlTukPhY-377gtzJq.js} +10 -10
  12. package/dist/assets/{ApAgingDetailPage-B6h9L4qX-lJqEVNzW.js → ApAgingDetailPage-BVciGQma-NVEgOPKU.js} +3 -3
  13. package/dist/assets/{AppBasePage-bPmQIx1U-DkF_qSV6.js → AppBasePage-uJGLWCbr-B_okH7tb.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-D4e_1ju1-Bx4NcuHt.js → AppDrawerContent-SD57OqHe-DBC1ZQdx.js} +5 -5
  15. package/dist/assets/ApprovalRulesSettingsPage-CXh9tY6X-DzKaycYf.js +47 -0
  16. package/dist/assets/ArAgingChart-GL4vkypx-BDoyqmzK.js +24 -0
  17. package/dist/assets/{ArAgingDetailPage-D-HZa9vX-CZp0Gb9P.js → ArAgingDetailPage-CoFL0N3--Dnd2wPCh.js} +1 -1
  18. package/dist/assets/{AttachmentView-BF2v7v3I-C_hiw28G.js → AttachmentView-C3xQE0te-BFkbocnS.js} +5 -5
  19. package/dist/assets/{BankAccountSection-Cm_J2y31-BucLZ8HJ.js → BankAccountSection-Bi3uoDPa-DlE9WCjC.js} +2 -2
  20. package/dist/assets/{BankAccountWarningSection-BnsmtuKk-fw_Nxns2.js → BankAccountWarningSection-DKdgmMHQ-Df__wM_b.js} +8 -8
  21. package/dist/assets/{BankConnectionsSettingsPage-BawBUQ6M-DZjFrZqS.js → BankConnectionsSettingsPage-1zM9RKRI-BKlHDYsy.js} +31 -31
  22. package/dist/assets/{BillDetailPage-DFHM1n3a-BzH9kkbG.js → BillDetailPage-BoxJCC9n-dUgWZp0T.js} +8 -8
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-PGRG0N6y--wqHCiIk.js → BillPayApprovalRuleDetailPage-BW3sj5ug-F8EHl6ns.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-ByawtRCM-C9XLzgsS.js → BillPayApprovalRulesPage-DLA6R7dC-CNDK6deM.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-BvA5aJV2-DixWvBx5.js → BillPayPromoPage--BGTNJhm-DrmzLzpj.js} +2 -2
  26. package/dist/assets/{BillPaySetUpPage-D4dtDoPF-DuUZsTat.js → BillPaySetUpPage-_s4R537_-DvISkevy.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-C0c3igP5-TypItDNj.js → BillingSettingsPage-DgbRhg-m-CRqpdOiy.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-ChobILB2-CY6Vqo4D.js → BillsBulkReviewDrawerPage-CKspyZz7-DFQ7kKFj.js} +1 -1
  29. package/dist/assets/{BoxItem-qV71vsVl-BQdt3cLT.js → BoxItem-BHtgE0KL-BJPg4xAk.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-CYL-J6jv-DkXGqad4.js → BusinessVerificationPage-CpfsllRZ-CnaBfa3b.js} +9 -9
  31. package/dist/assets/{CardNumberSubText-BkMaMdcB-CZbBaqBZ.js → CardNumberSubText-BHe1nqr7-BRmm9g1p.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-Bkvu7uCA-DPp9ny_0.js → CashbackDetailPage-C9RhIR0R-CyQle5Hi.js} +16 -16
  33. package/dist/assets/ChargeCardDetailPage-Kygr13jR-CNZ8Sj5E.js +1447 -0
  34. package/dist/assets/ChargeCardListPage-BnzdzSXW-C9n9iaEp.js +355 -0
  35. package/dist/assets/{ChargeCardListTable-Ck15ShIF-Bo7wpgFJ.js → ChargeCardListTable-C2nnAxo5-Bk77oToU.js} +21 -21
  36. package/dist/assets/ChargeCardPromoPage-CSNn9X5i-Ca7vMfka.js +175 -0
  37. package/dist/assets/{ChargeCardSetupPage-QROShfxq-xqIpIVcT.js → ChargeCardSetupPage-DE1pK_7F-BNJjwg-b.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-DlFimewo-CCnuk61t.js → ChargeCardStatementsPage-DK-pEljz-CxNbElz7.js} +4 -4
  39. package/dist/assets/{ChargeCardUtils-Buf1Xa4X-B0NExkND.js → ChargeCardUtils-BxyMuU6--CHwiPaoq.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-Cp5-sc7K-D16SX-je.js → ChaseOverlay-CRiYxWuZ-BZR-S0kG.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-ClJh5smc-_5B4001u.js → CheckDepositDrawerPage-WYiirlL8-DMNFGunZ.js} +16 -16
  42. package/dist/assets/CollapsableReportTable-BGT77T9W-DWoWj-VL.js +2860 -0
  43. package/dist/assets/{CompanyOfficerDetailsSection-CHi8zT6M-n4KlPGqn.js → CompanyOfficerDetailsSection-BPZU90Im-ClsfMHMl.js} +25 -25
  44. package/dist/assets/{CompanyPassportCard-DW8AIAcy-CD6hbzHd.js → CompanyPassportCard-PXdmJC_B-SLgfN-m9.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-CG1U8xfQ-BBKgl2AT.js → CompanyPassportPage-MxIwsh3W-CUmwVoPG.js} +10 -10
  46. package/dist/assets/{CompleteProfile-Lnfcm8Mq-DIDWMwVP.js → CompleteProfile-Bd9xEPVl-Cy044ZoG.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-Ca6cfnuf-DXy3hq34.js → ConfettiBurst-CMpZ2feY-D-Nq3IFV.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BuBYOkXS-CXfFdFgj.js → CreateOrEditVendorPage-DgHvZfWv-Bm6layyi.js} +12 -12
  49. package/dist/assets/{CreditCardPaymentDrawerPage-8d6cEGBi-Csci_pVx.js → CreditCardPaymentDrawerPage-C2ikLG7P-DestrVrL.js} +9 -9
  50. package/dist/assets/{CreditCardPaymentPlgSection-B9DUkdWm-DXvkaBzj.js → CreditCardPaymentPlgSection-M69ECpN9-CGQ3HY5T.js} +8 -8
  51. package/dist/assets/{CurrencySelectField-BUtL_oMC-DCR694Hp.js → CurrencySelectField-B3AvTbkp-CwUBnsMJ.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-BZIt8djd-CeAy48b5.js → CustomerOnboardingActivationPage-C7eddGoB-DW4jRuae.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-9UTLABZ0-DmivhYy_.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-n8n9mzuh-DnRHlRmW.js → CustomerOnboardingDetailPageSkeleton-BIAeoXCV-DB7HhB_G.js} +10 -10
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-f_PloOrf-C9pRVr2q.js → CustomerOnboardingNoStepsPage-BzO6XZ0H-1xoJMSMy.js} +5 -5
  56. package/dist/assets/{CustomerOnboardingPage-B_vGVChf-dFwk_VXd.js → CustomerOnboardingPage-7yWIaJvU-C3VBP6CL.js} +5 -5
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-hXloSEH1-DYBCkxTF.js → CustomerOnboardingProductSuitePage-Tvyrs9Cm-B0r6GvUF.js} +2 -2
  58. package/dist/assets/Dashboard-CA9685lJ-B_5dmcrq.js +778 -0
  59. package/dist/assets/DashboardReportPage-DQoFWd5C-D6uulgOO.js +349 -0
  60. package/dist/assets/{DepositAccTransactionItem-DNv9nV2t-DZEb9C7L.js → DepositAccTransactionItem-CiRcbfmm-ChlbIcLT.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-CWEabc_8-jv3Bmo7O.js → DepositAccTransactionListPage-DsNLDlHv-MYnNFw-s.js} +8 -8
  62. package/dist/assets/{DocumentSecurityBanner-B6VGrs_d-Cfx6lAB8.js → DocumentSecurityBanner-CIWoR_yI-Dhftz0pA.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-BYIbT0cd-2kMoLnS_.js → DomesticWireDetailsPage-C6x8Gz4g-DwUa3Xkf.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-RhRX-Goq-BupGL0dt.js → DownloadOverlay-D1kGkMFo-DOkMNDuh.js} +16 -16
  65. package/dist/assets/{DrawerPage-C01myF5D-j3cJU3wQ.js → DrawerPage-CQkJW5hg-DkryY6SR.js} +8 -8
  66. package/dist/assets/{EditPeoplePage-BMm08q5E-6J84vEZ9.js → EditPeoplePage-m2qls8hv-BZd-DWw-.js} +15 -15
  67. package/dist/assets/{EditReimbursementDetailPage-C5FnQpPh-Dwd-46Tp.js → EditReimbursementDetailPage-IlSyu79B-jE0h2JRZ.js} +60 -60
  68. package/dist/assets/{EntityDetailPage-BkpeRVR1-CnR_mmFo.js → EntityDetailPage-CcJJwGo7-DCvr4KdD.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-DpxcfRng-DcsmHnA_.js → EntitySummarySection-JxKHehL1-CtvARgSu.js} +9 -9
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BJ1ba0Oz-D9-shxeM.js → ExpenseAutomationOverviewPage-iAUtjSnw-C1CSJZ5E.js} +20 -20
  71. package/dist/assets/{ExpenseAutomationPage-C7GKFlgt-Dv2Q5vGK.js → ExpenseAutomationPage-B0f86olm-wJehtW2E.js} +74 -74
  72. package/dist/assets/{ExpressPayPage-pgy9CEaP-f4MmGYM1.js → ExpressPayPage-B-at6uDS-BEaELiUG.js} +7 -7
  73. package/dist/assets/{FeaturePreviewPage-Bpnn3Eao-CvHFjhAC.js → FeaturePreviewPage-gSb_rct_-C-KQutKv.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-D4Do4Mtd-CdfYHUDU.js → FollowStepsSection-eedORgku-FnBhDPYP.js} +12 -12
  75. package/dist/assets/{GlobalReviewListPage-D_50hOfK-DLDGfN7r.js → GlobalReviewListPage-BfPwveCc-ftKEGRYk.js} +9 -9
  76. package/dist/assets/HelpButton-DvD6UJq--aZr7WRfd.js +28 -0
  77. package/dist/assets/{InformationCardStack-CNCEEO1z-D6D_SwGq.js → InformationCardStack-DPaZz4XW-BZPDjtdj.js} +5 -5
  78. package/dist/assets/{InsightsCardStack-BangbyzX-D59e7Wce.js → InsightsCardStack-sKUFRR0H-BiHLZWGW.js} +10 -10
  79. package/dist/assets/{InsightsSection-DNfDisn9-Cr1_z-Md.js → InsightsSection-Corx5iDh-fVbgdM2i.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-ColuS6Tk-B3L9jRKr.js → IntegrationsSettingsPage-DTWoUi2e-YCv3GRpa.js} +2 -2
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BG4x1tCL-DXOM8dF6.js → InternationalWireSwiftDetailsPage-B441GUkh-D_QVeJ7p.js} +6 -6
  82. package/dist/assets/{InternationalWireVerificationPage-B22ThS6Q-Dz6_w0To.js → InternationalWireVerificationPage-DjpWjFSe-CaUlPKN_.js} +15 -15
  83. package/dist/assets/{InviteFormPage-Cixm85d1-C92j1bpf.js → InviteFormPage-BRb4jyp_-BuUalkW4.js} +21 -21
  84. package/dist/assets/{InvitePageListView-DBcwM1lk-DptYhngY.js → InvitePageListView-Bb_Q_xqJ-BhN72Smm.js} +31 -31
  85. package/dist/assets/InvitePeoplePage-BKEDAnQ4-ByvIsC8W.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-D5vmrKLq-O4pFaUzg.js → InvoiceUploadSection-BE4ZqriT-CfpM2_BI.js} +3 -3
  87. package/dist/assets/{IssueChargeCardPage-DjW6ZTWB-F9q1KR9c.js → IssueChargeCardPage-BIFpAcrl-DZwnseyQ.js} +25 -25
  88. package/dist/assets/{LabeledAddressValue-CDidTB7_-DYB21yjs.js → LabeledAddressValue-D2vDF5sP-BZfqDHMl.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-CVVc36IB-BOZV33a0.js → LabeledAddressValueField-BMdJsw3x-CnFfe2I5.js} +2 -2
  90. package/dist/assets/{LabeledControlledCheckBoxField-CGN805d2-BA6Pc0WD.js → LabeledControlledCheckBoxField-CHRGFyHl-T4ZnES5i.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-PunIRbD6-DDqJ3cK3.js → LabeledCreatableSingleSelectField-qwQPyqDC-D7x9KNC-.js} +3 -3
  92. package/dist/assets/{LabeledDocumentField-DgGIyJH_-CBKdmUVe.js → LabeledDocumentField-Cdd8oj5z-BoWCxP7J.js} +5 -5
  93. package/dist/assets/{LabeledDropDownFormattedTextField-BDVtmFqG-gCd6X-E-.js → LabeledDropDownFormattedTextField-CSEioH8A-DiLPLUt5.js} +2 -2
  94. package/dist/assets/{LabeledText-BW7VKf6E-C24W9XPF.js → LabeledText-CqZ-udSP-CWd8HtpU.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Cmc8qo-r-dngC-eis.js → LabeledUserSingleSelectWithSubtitlesField-DTmijO10-D909IgWp.js} +3 -3
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Cl6BAapU-nrxxzLF5.js → LabeledZeniRolesDropDownField-DSIWuFix-CIXw0_yv.js} +19 -19
  97. package/dist/assets/{LinkJETransactionPage-CtYsRhte-DLC7uC7b.js → LinkJETransactionPage-C5V1HfGb-BEAJlnvQ.js} +10 -10
  98. package/dist/assets/{LowBalancePopup-C_c9t4ho-eqOyJH63.js → LowBalancePopup-BLfeh0xm-C28uSa7K.js} +6 -6
  99. package/dist/assets/{MagicLinkACHDetailsPage-KZmNuH71-CTI-Dlwl.js → MagicLinkACHDetailsPage-DGR7VcHs-D2IBl0qY.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-DCkibDQs-D6Vij8oa.js → MagicLinkDomesticWireDetailsPage-BOu5verB-Bhh7qXWp.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CR1BJE-p-DJozXQVC.js → MagicLinkInternationalWireDetailsPage-elijVpdq-Cq0leSr_.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-D9VscY-N-Bonm7jRn.js → MagicLinkSuccessPage-C6-JVGAQ-DQTEmgea.js} +4 -4
  103. package/dist/assets/{MagicLinkTitleSection-DwxRtyUO-TW2QatUp.js → MagicLinkTitleSection-CCjLimcL-Ip3y0PNU.js} +3 -3
  104. package/dist/assets/{MailingDetailsSection-B3AtsI4y-BoNtCzyk.js → MailingDetailsSection-CJhcwaGu-BAyX38PR.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-5ibEhgcm-CfrNow34.js → MeetingCalenderPopup-DKBH6wSs-Cn-ByIyB.js} +3 -3
  106. package/dist/assets/{Menu-B3jEZq8P-k2tSLTgo.js → Menu-D-Gk-Xfo-DBDtrJ_2.js} +4 -4
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BLqGgTGR-Du4h91Ym.js → MyBankConnectionsSettingsPage-CBxa9AUT-BCb7NWFw.js} +14 -14
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-GXGFSZqe-BxVKL6p6.js → MyPendingActivationChargeCardListPage-DBr5htlO-CKJew--2.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-CwBD0rUF-bmCKmw0t.js → MyProfileSettingsPage-DKUX_nTz-BI1Cjccg.js} +7 -7
  110. package/dist/assets/{NavBarWithPicker-wTsy1SAG-UuWAt6Xd.js → NavBarWithPicker-CXyMHDUO-FwAGF1cV.js} +4 -4
  111. package/dist/assets/{NavigationArrow-PxVotVGU-D4_uMkHQ.js → NavigationArrow-Bv-PvnhZ-BqeVWU8r.js} +6 -9
  112. package/dist/assets/{NavigationDots-BhLlf9IS-CIj6cEBO.js → NavigationDots-DJkiFidH-5V7knboW.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-BnXD_AkF-DOYTdRAr.js → NewGlobalMerchantPage-CmJjl9S1-k-LUtUto.js} +8 -8
  114. package/dist/assets/{NoDataChart-DLfKZ9J--Dd9Uwsa0.js → NoDataChart-Bsj1HEPq-CTuuS1jm.js} +1 -1
  115. package/dist/assets/{NoDataTable-BRKuhxS0-CV9z4Byu.js → NoDataTable-6vR2vOMI-C3_Xw78i.js} +1 -1
  116. package/dist/assets/{NotFoundPage-BD417YGL-117431dY.js → NotFoundPage-SRxATfaW-y-aOb1MC.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-Mb9ed249-bwio6aJe.js → NotificationSettingsPage-Bko3CBmW-_bWFzZ7l.js} +13 -13
  118. package/dist/assets/NotificationsListConfig-ChVd_Bek-CKniSs8p.js +1 -0
  119. package/dist/assets/{NotificationsPage-WTGOES7C-CyczQqOd.js → NotificationsPage-DMfBgh2w-1OVVoKkc.js} +12 -12
  120. package/dist/assets/{OpExByVendorPage-D4Ur1QRV-Sb-pV_GG.js → OpExByVendorPage-DOkwCGkr-DKAYXBt6.js} +5 -5
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-BlTMumr5.js → OverlayContainerPage-C0rUb6-5-BEYdjpiV.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-DSvdGyym-BuxtU1rY.js → PandLWithForecastPage-DCJ3QTuj-SrjsP3F-.js} +6 -6
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Bs8f-d_P-Dg-8w3uE.js → PaymentAccountSetupBillingAddressSection-CaZETrGz-De6JzHBj.js} +7 -7
  124. package/dist/assets/{PeoplePage-ByFdUCgV-Dhq5KAAJ.js → PeoplePage-PvOhX-gy-bUl8LV-N.js} +8 -8
  125. package/dist/assets/{PortfolioAllocationFormPage-BY5JJCu--DxlzUzoj.js → PortfolioAllocationFormPage-DsCeagnu-DFOtswbp.js} +3 -3
  126. package/dist/assets/PortfolioDetails-BEa4kwk8-CITW78cn.js +218 -0
  127. package/dist/assets/{ProductsCarousel-6mui8g8D-CGRqoINF.js → ProductsCarousel-qzlVuyK5-BlxLSS9s.js} +6 -6
  128. package/dist/assets/{PromoBaseCards-CASb_Nf9-BzL6NUIX.js → PromoBaseCards-26GOEn3a-DaZDnJ-z.js} +23 -23
  129. package/dist/assets/{QBOConnectionDialog-AF50P_eR-CWzrI92p.js → QBOConnectionDialog-CZQE3Tjs-Da8BEmHP.js} +4 -4
  130. package/dist/assets/{QBOSetupSection-hObNFdKz-R6LjnRwJ.js → QBOSetupSection-u1sJhV67-3guqHTYH.js} +11 -11
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-NuprN06r-BY69FPQW.js → ReimbursementApprovalRuleDetailPage-vRiO7G_7-BtkXAaTL.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-DP8frTz1-BXYOZ9pS.js → ReimbursementApprovalRulesPage-kEmFNXtg-tWOcEiR-.js} +29 -29
  133. package/dist/assets/{ReimbursementDetailPage-B9F6pND6-CJGP1fGq.js → ReimbursementDetailPage-ChyRg0eX-Claybyvt.js} +9 -9
  134. package/dist/assets/{ReimbursementPromoPage-CUNbpcAP-BNDEBoP2.js → ReimbursementPromoPage-BWsOD49o-D82HFW_4.js} +9 -9
  135. package/dist/assets/ReimbursementSetUpPage-DO_dBP9N-CDR1Iktq.js +140 -0
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CafTodEa-D_9dDNDY.js → ReimbursementsBulkReviewDrawerPage-CgRo7VeI-w-iFb9QJ.js} +1 -1
  137. package/dist/assets/{ReloadCard-aQ5Ma2ne-DnZtzMX3.js → ReloadCard-CpauR6-c-3e4dg5U2.js} +5 -5
  138. package/dist/assets/ReportTableViewSelector-D6DHFt_R-CzdBaV93.js +150 -0
  139. package/dist/assets/ReportsPage-D4mI3T0w-DX_lYTCz.js +120 -0
  140. package/dist/assets/{RevenueChart-CJYsWcyb-BdCewPPj.js → RevenueChart-JdtvK4L6-CpCUlh1v.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-47Qg28PV-DuyR9IUn.js → ReviewDetailsPage-BwQoOV2Q-BSoqdtJl.js} +10 -10
  142. package/dist/assets/{ReviewOverlay-DvYSZ8u9-BDEDfaJr.js → ReviewOverlay-BLxhto7d-Ote-FEid.js} +10 -10
  143. package/dist/assets/{RoleWithToolTip-DoD_vW-E-C4YleDRt.js → RoleWithToolTip-BRSx6yqP-Dj7TwZqE.js} +7 -7
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMX7jbBN-BOlQyKuY.js → ScheduleDetailsFixedAssetsPage-CH84DI7F-DS2nwC6-.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-CNtV2SVn-Cvgy5ITp.js → ScheduleDetailsPage-CMunoow5-Kl0jdvn6.js} +4 -4
  146. package/dist/assets/{ScheduleSequenceTable-CMrsG_y3-lfWkSguO.js → ScheduleSequenceTable-CQVHkQ0e-Dw2nQmil.js} +51 -51
  147. package/dist/assets/{ScreenRoutes-DVKluJ9i.js → ScreenRoutes-C5pHLsYO.js} +35 -35
  148. package/dist/assets/{SetUpAccountSection-D3nUQAk8-80W_NlFR.js → SetUpAccountSection-CyyxtFvK-Bjoxqucl.js} +20 -20
  149. package/dist/assets/{SetUpDefaultSection-C2MgZHUf-6cjyky9L.js → SetUpDefaultSection-Bdw_aWMY-C7l-ATBb.js} +16 -16
  150. package/dist/assets/{SignIn-Bud28HbX-BMN3ARMt.js → SignIn-Gw75P03k-B_X_KXq6.js} +14 -14
  151. package/dist/assets/{SignInScreen-BjG7AvXj.js → SignInScreen-CU1N7put.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-B8R0PEMD-CBly6PX5.js → SpendManagementListViewPage-BccaMtyd-shshvd9r.js} +10 -10
  153. package/dist/assets/{SpendManagementPerTabPage-CTdgMCHu-rRIfroix.js → SpendManagementPerTabPage-D-YqqUsz-DyRQAFsg.js} +34 -34
  154. package/dist/assets/{SpendManagementSection-CnD0V00y-D9fNwId6.js → SpendManagementSection-CdH1r1Vw-C3epoUbW.js} +8 -8
  155. package/dist/assets/{SpendMgmtSetupAccountSection-D7LHyfpa-Cue5Vls3.js → SpendMgmtSetupAccountSection-nryeZQ0T-2tO4d4y_.js} +6 -6
  156. package/dist/assets/StatementItem-BW9HKaf9-CsEdfyzn.js +31 -0
  157. package/dist/assets/StatementsPage-CXawS1th-D6ifdlgD.js +58 -0
  158. package/dist/assets/{StatusSwitcher-CxbcO6mR-7byU0Qsi.js → StatusSwitcher-oC-AP25Z-D-8kVIuC.js} +5 -5
  159. package/dist/assets/{SubTabSwitcher-mCKmnU9--_3NudRGY.js → SubTabSwitcher-DXWQMf7B-D5NgssDf.js} +1 -1
  160. package/dist/assets/{SummaryCard-BoA0mdbI-D-JteJj-.js → SummaryCard-C3zjN-kT-DVcdP-G4.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-CbSLSOpI-C_StuWQ7.js → TaskManagementPage-BGDJNpe_-BGexoSAd.js} +30 -30
  162. package/dist/assets/{TimeRangeSwitcher-DIszv8B4-8Vqnlo8v.js → TimeRangeSwitcher-BJfy3akS-o2HcwGW6.js} +3 -3
  163. package/dist/assets/{TimeframeSwitcher-C8tn7HgF-CYpXHzm1.js → TimeframeSwitcher-M9tK6u0Y-C6JeMzJ1.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-L1nNDGOE-jeHox6-x.js +31 -0
  165. package/dist/assets/{TopExCard-B2pg-xWB-C_MNh4xQ.js → TopExCard-BD9Ehuw_-BEZAD6RQ.js} +5 -5
  166. package/dist/assets/{TopExDetailPage-Ch-SwhrE-B7t98Kv3.js → TopExDetailPage-3HoXp_6D-C4AntCB3.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-4ehnnMwj-DZt_7WH0.js → TransactionDetailPage-CbnGQ8bn-D1kf6rih.js} +20 -20
  168. package/dist/assets/{TransactionList-Bds8YVxl-D69ieOy7.js → TransactionList-BBjiP2Nf-CVZYe7YT.js} +12 -12
  169. package/dist/assets/{TransactionListBig-YrccrGWK-DO38y7iT.js → TransactionListBig-5aenxEn4-DbuGNI6-.js} +16 -16
  170. package/dist/assets/{TransactionListPage-EBZJJ3Bb-Cquge-2k.js → TransactionListPage-BeVkiwkg-BwC4l02u.js} +3 -3
  171. package/dist/assets/{TransactionVendorDetailPage-DIvXenmH-C1mFSgKA.js → TransactionVendorDetailPage-Yi7SmsyK-pIrKO6zm.js} +5 -5
  172. package/dist/assets/{TransferDrawerPage-CK9V-5BR-CpaoTMZK.js → TransferDrawerPage-2P1mhp1M-DQ83dYHD.js} +17 -17
  173. package/dist/assets/{TreasuryOverviewPage-Dhm7htH5-kqyB1dZB.js → TreasuryOverviewPage-CkCBcBQK-CKBjtsts.js} +32 -32
  174. package/dist/assets/{TreasuryPromoPage-CiE4S4u6-Bmkl_vtQ.js → TreasuryPromoPage-v-g4ZAdk-BPgVXnPP.js} +11 -11
  175. package/dist/assets/{TreasurySetupPage-WygAmXcw-Ce2lSunA.js → TreasurySetupPage-B7va2-fJ-CAJ9u8aR.js} +2 -2
  176. package/dist/assets/{TreasuryStatementsPage-zycSYzUL-a1Q1-vUc.js → TreasuryStatementsPage-BEJsQ-Oz-DHPONp68.js} +13 -13
  177. package/dist/assets/{TreasuryTaxLetterPage-l_CSMKSV-CI415Dyi.js → TreasuryTaxLetterPage-CpTpM1mx-Ba1IA2xd.js} +7 -7
  178. package/dist/assets/{TreasuryTransferOrReviewPage-CkHJE0PT-D31jLA1P.js → TreasuryTransferOrReviewPage-BRPFympA-6Ds9mHlo.js} +20 -20
  179. package/dist/assets/{TrendChart-Buu-BMJt-B5Sc9LYw.js → TrendChart-DRNocU0p-B5zGJHBv.js} +3 -3
  180. package/dist/assets/{TrendWithTransactions-C6sLZFPh-Bh1R0S7x.js → TrendWithTransactions-CldwGpXX-C-miaXCt.js} +2 -2
  181. package/dist/assets/{UncategorizedAccountsMappingPage-Ct1KSgHe-0geG4A2E.js → UncategorizedAccountsMappingPage-2C5qEhte-D_ahOlGs.js} +15 -15
  182. package/dist/assets/{UnitIntegrationPage-DeG7GwFV-FVA_EZHK.js → UnitIntegrationPage--cDHqgXs-CzBp1mNW.js} +3 -3
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-BBEBrd1k-Da0YVuaj.js → UploadAdditionalDocumentOverlay-D85ML8-_-p_x3eEON.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-B2qGbIlK-EHzNldgC.js → Vendor2FAPopup-vdFWf98b-D5sSolYh.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-CIb3Lffi-Guw0fQqZ.js → VendorACHDetailsPage-D7ImMabh-ChqR1RaR.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-DrZlWYNf-DJbqJ87T.js → VendorDetailPage-BOeEd9pX-C40iOslI.js} +6 -6
  187. package/dist/assets/{VendorDomesticWireDetailsPage-BGfsxhx5-BTgx_7LR.js → VendorDomesticWireDetailsPage-CXFrYPn8-o64Pt2o2.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-DpYIPFDo-C9kYtgbW.js → VendorFiling1099EditablePage-CZFErJ91-Dq9to1zv.js} +7 -7
  189. package/dist/assets/{VendorFirstReviewPage-JJMuxJAj-yPWMHAQn.js → VendorFirstReviewPage-BHzDUMKu-DpG7tqKb.js} +46 -46
  190. package/dist/assets/{VendorInternationalWireDetailsPage-B7IVMovj-BhA1Ef4d.js → VendorInternationalWireDetailsPage-j4j5irzH-CT3rN25J.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C7y7HA0_-DphcA4HV.js → VendorInternationalWireSwiftDetailsPage-DM4jC7wD-0NWOAHYt.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CKizD1gN-BGFHYEYU.js → VendorsAccountsSection-BTRiZlIa-D2xftT7n.js} +13 -13
  193. package/dist/assets/{WarningsDrawerPage-REjc7j42-g01f3Psr.js → WarningsDrawerPage-ZgfQEBme-BogIku8q.js} +5 -5
  194. package/dist/assets/{ZeniAccountDetailPage-BYQt_cqt-BWVRkkUu.js → ZeniAccountDetailPage-xrq0Ez6S-5Y9wWxKq.js} +35 -35
  195. package/dist/assets/{ZeniAccountListViewPage-DPLQmd2c-Cb-vwfim.js → ZeniAccountListViewPage-BwXfELGd-CMYKhLC-.js} +16 -16
  196. package/dist/assets/{ZeniAccountNavBarPieces-CB_hOCVm-CNnCZNrg.js → ZeniAccountNavBarPieces-xpHuuPSD-CQw7XfH0.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-DjbDqqNB-8KGHUsXb.js → ZeniAccountPromoPage-BvSwPEk7-sx8wuksr.js} +11 -11
  198. package/dist/assets/{ZeniAccountSetupPage-BKgmStQ8-XeK7XZyF.js → ZeniAccountSetupPage-yCkiopeU-oXKMyUZt.js} +5 -5
  199. package/dist/assets/{ZeniCopyright-gnzM8wV--C1v-b1gJ.js → ZeniCopyright-BAbOOFg9-CEbrOROr.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-D5uBFeau-Bd_LP2BV.js → ZeniTransferAmountSlider-C1sl8ZNj-C6racrVi.js} +1 -1
  201. package/dist/assets/{analyticsHelper-Cdzg4Zjw-qx7VMGsd.js → analyticsHelper-CkzpobMi-DnjY1jLw.js} +1 -1
  202. package/dist/assets/{analyticsHelper-CLrr0h1i.js → analyticsHelper-j8smtjIR.js} +1 -1
  203. package/dist/assets/{chartTypes-BTdgphvt-anKbqjvg.js → chartTypes-JD2mR9iq-B-Dqgpc8.js} +1 -1
  204. package/dist/assets/{commonDimensions-Ctzi29iY-B3Mz4L3r.js → commonDimensions-DRfDJ_wQ-DeEC_LLv.js} +1 -1
  205. package/dist/assets/{detailCommon-SwpJm2mb-GgwMmtkd.js → detailCommon-BbKkY_46-DwHUZLAg.js} +7 -7
  206. package/dist/assets/{downloadPdf-YcATpN2g-CAA7xZRG.js → downloadPdf-D7ANJLK4-BVhr8pTH.js} +1 -1
  207. package/dist/assets/{index-Ihb4xe41.js → index-Dr7k10Ge.js} +3259 -3298
  208. package/dist/assets/mapLoadingInProgressToTreeNode-e8JhfflK-BBSz2yuD.js +1 -0
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C0LfGztS-DlXculyR.js → mapSectionWithAcOnlyToTreeNode-caUW45t5-Cd4Vndkt.js} +1 -1
  210. package/dist/assets/mapSpacerToTreeNode-C692pbYW-BJLTFMw5.js +1 -0
  211. package/dist/assets/mapTimeframeBalancesToTreeNode-DKrYq4x5-CLuyCBzc.js +1 -0
  212. package/dist/assets/{play-icon-DaxUpyZT-St31ZjXu.js → play-icon-BbWpG2oG-CGqef6-e.js} +3 -3
  213. package/dist/assets/{toCOABalancesWithID-Vfz3d1qt-Bi8YoUPm.js → toCOABalancesWithID-DOgHiMwn-C3l_klRD.js} +1 -1
  214. package/dist/assets/{toChartData-CiTmOVzN-SsNGpDs2.js → toChartData-CNfdaXyM-Cc0Cbk9b.js} +1 -1
  215. package/dist/assets/{treasuryColorHelper-BbkDcDKI-DuyIzVHi.js → treasuryColorHelper-JBMxqa9X-CRkfUPI_.js} +1 -1
  216. package/dist/assets/{uploadAttachment-BLQvpBKI-BcwA9OyS.js → uploadAttachment-BGZjtYkJ-DDuM3kuv.js} +25 -25
  217. package/dist/assets/{uploadReceipts-Buvz7DfG-DOW--6gZ.js → uploadReceipts-Buvz7DfG-CEx_e_oz.js} +1 -1
  218. package/dist/index.html +1 -1
  219. package/package.json +4 -4
  220. package/dist/assets/ApprovalRulesSettingsPage-D7d0RwUR-CXcPL3xb.js +0 -47
  221. package/dist/assets/ArAgingChart-CfBXj53W--oBxg5am.js +0 -24
  222. package/dist/assets/ChargeCardDetailPage-B8JhA6aM-DP68CIPf.js +0 -1447
  223. package/dist/assets/ChargeCardListPage-DayFsVdx-BvhO9lDy.js +0 -355
  224. package/dist/assets/ChargeCardPromoPage-ZvHc9uZ8-CVJ2f2Q4.js +0 -219
  225. package/dist/assets/CollapsableReportTable-CKu2AawV-7J7P-p89.js +0 -2932
  226. package/dist/assets/CustomerOnboardingContainerPage-DLE82ybr-BttCtgjY.js +0 -1
  227. package/dist/assets/Dashboard-DN58fmab-DI4UPbG9.js +0 -1253
  228. package/dist/assets/DashboardReportPage-DIx6h5UA-DD8W8PS5.js +0 -370
  229. package/dist/assets/HelpButton-BBLa-U8R-BCdxHz0r.js +0 -28
  230. package/dist/assets/InvitePeoplePage-DIq28HlK-DOz8t2PL.js +0 -12
  231. package/dist/assets/NotificationsListConfig-CISUs4yA-Dlptdtpj.js +0 -1
  232. package/dist/assets/PortfolioDetails-Du2wncho-CaN6dcPD.js +0 -218
  233. package/dist/assets/ReimbursementSetUpPage-ihfYAhDw-0c2qhtD1.js +0 -140
  234. package/dist/assets/ReportTableViewSelector-CjZe9dc3-Bwol7zIY.js +0 -150
  235. package/dist/assets/ReportsPage-PDTasuAQ-CRDx_Uko.js +0 -121
  236. package/dist/assets/StatementItem-Dn796WZD-BPv_Hnra.js +0 -31
  237. package/dist/assets/StatementsPage-L75Co_mK-DIOQku7i.js +0 -58
  238. package/dist/assets/TimeframeSwitcherWithToggle-DqvG5zv2-B_vjkWRW.js +0 -31
  239. package/dist/assets/mapLoadingInProgressToTreeNode-C8MSAhen-LE5XT1W1.js +0 -1
  240. package/dist/assets/mapSpacerToTreeNode-BBfTCdRQ-BiS3tfk-.js +0 -1
  241. package/dist/assets/mapTimeframeBalancesToTreeNode-ClOTGsb4-Dx6Fs18B.js +0 -1
  242. package/dist/assets/mapTimeframeBalancesToTreeNode-DcljRs6K-CkCeKT7U.js +0 -1
  243. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BL3c3wFj-CjElW0Ku.js +0 -1
@@ -1,4 +1,4 @@
1
- import{X as I,a as W,M as S,c3 as F,j as n,bO as H,bQ as O,bR as V,F as q,a3 as Q,C as s,eP as U,al as X,o as _,n as t}from"./index-Ihb4xe41.js";import{b as x,n as d}from"./vendor-CnQcJ2Lu.js";import{W as G,A as J}from"./BankAccountWarningSection-BnsmtuKk-fw_Nxns2.js";import{M as K}from"./MagicLinkTitleSection-DwxRtyUO-TW2QatUp.js";import{e as Y}from"./BankAccountSection-Cm_J2y31-BucLZ8HJ.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)},A="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:D})=>{const r=I(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(g),[g])}),[M,m]=x.useState(!1),c=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,R=S.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;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:[M===!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:z}):null,n.jsx(G,{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,D==="express-pay"?null:n.jsx(ae,{size:r,children:y.title}),n.jsx(ie,{children:n.jsx(q,{...i,children:n.jsx("form",{id:j(A),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(A),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:R.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 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-Dr7k10Ge.js";import{b as x,n as d}from"./vendor-CnQcJ2Lu.js";import{W as G,A as J}from"./BankAccountWarningSection-DKdgmMHQ-Df__wM_b.js";import{M as K}from"./MagicLinkTitleSection-CCjLimcL-Ip3y0PNU.js";import{e as Y}from"./BankAccountSection-Bi3uoDPa-DlE9WCjC.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`
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,d2 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,jo as H,v as _,bJ as v1,n,bg 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,b7 as S1,b8 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 J,f as W1,js as F1,dI as D1,fu as _1,bH as u1,q as P1}from"./index-Ihb4xe41.js";import{b as t,n as i,j as T1,k as H1}from"./vendor-CnQcJ2Lu.js";import{R as V1}from"./NavBarWithPicker-wTsy1SAG-UuWAt6Xd.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,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-Dr7k10Ge.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-FwAGF1cV.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};
@@ -62,15 +62,15 @@ import{C as u,d2 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
- `,q1=i.div`
65
+ `,Y1=i.div`
66
66
  display: flex;
67
67
  align-items: center;
68
68
  gap: ${o.sp4};
69
- `,Y1=i.div`
69
+ `,q1=i.div`
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(q1,{children:[r.jsx(d1,{width:n[6],height:n[6]}),r.jsxs(Y1,{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(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`
74
74
  display: flex;
75
75
  flex-direction: row;
76
76
  margin-left: ${e=>e2.containerMarginLeft.valuePx(e.windowSize)};
@@ -156,7 +156,7 @@ import{C as u,d2 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 Z2=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 B2=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,d2 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
- `,B2=i.div`
171
+ `,Z2=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,d2 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(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`
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`
218
218
  border-radius: 10px;
219
219
  padding: 3px;
220
220
  background-color: ${e=>e.theme.colors.grey5};
@@ -265,11 +265,11 @@ import{C as u,d2 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
265
265
  font-size: 16px;
266
266
  color: ${e=>e.theme.colors.brandColorOnyx};
267
267
  line-height: 2;
268
- `,q2=i(z2)`
268
+ `,Y2=i(z2)`
269
269
  width: ${o.sp4};
270
270
  height: ${o.sp4};
271
271
  color: ${e=>e.theme.colors.brandColorOnyx};
272
- `;function Y2({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(q2,{})}),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=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`
273
273
  display: flex;
274
274
  flex-direction: column;
275
275
  background-color: ${e=>e.theme.colors.grey5};
@@ -374,7 +374,7 @@ import{C as u,d2 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
- `,Z3=i.div`
377
+ `,B3=i.div`
378
378
  position: absolute;
379
379
  bottom: 0;
380
380
  width: 100%;
@@ -392,7 +392,7 @@ import{C as u,d2 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
- `,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`
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`
396
396
  border-radius: 10px;
397
397
  padding: 3px;
398
398
  background-color: ${e=>e.theme.colors.grey5};
@@ -488,11 +488,11 @@ import{C as u,d2 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
488
488
  `,X3=i.div`
489
489
  flex: 1;
490
490
  min-width: 300px;
491
- `,q3=i.div`
491
+ `,Y3=i.div`
492
492
  flex: 2;
493
493
  min-width: ${e=>D.savingsChartMinWidth.valuePx(e.windowSize)};
494
494
  min-height: 380px;
495
- `,Y3=i.div`
495
+ `,q3=i.div`
496
496
  color: ${e=>e.theme.colors.hero};
497
497
  cursor: pointer;
498
498
  height: ${o.sp4};
@@ -517,4 +517,4 @@ import{C as u,d2 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)),[Z,q]=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(Y3,{"data-testid":`${j1("ai-performance-page","refresh-icon")}`,onClick:()=>{$(!0),v("refresh"),a(k.convertToTimeSeriesSelectionRange(w).fromMonth,k.convertToTimeSeriesSelectionRange(w).toMonth),q(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:`${Z} ${t4(T.fromMonth,T.toMonth)}`,titleTextStyle:_.largeMedium,onPickerSelectionChanged:m=>{m!=null&&(v("timePeriodSelect"),q(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},Y=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(Y).toFixed().toLocaleString(),currency:e.currency,noData:E,timeUnit:E?"":e.summary?.totalTimeSavedMinutes<60?e.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:Y>1?p.timeStrings.hours:p.timeStrings.hour})]}),r.jsx(q3,{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(Y2,{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,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};
@@ -1,18 +1,18 @@
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-Ihb4xe41.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{K as z}from"./StatusSwitcher-CxbcO6mR-7byU0Qsi.js";import{r as A}from"./AccountInfoPageContent-DuUO6Fmo-C56BuLDu.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-YcATpN2g-CAA7xZRG.js";import"./commonDimensions-Ctzi29iY-B3Mz4L3r.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`
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-Dr7k10Ge.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{K as z}from"./StatusSwitcher-oC-AP25Z-D-8kVIuC.js";import{r as A}from"./AccountInfoPageContent-BTk2gRyM-D5sd4ymJ.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-BVhr8pTH.js";import"./commonDimensions-DRfDJ_wQ-DeEC_LLv.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`
2
2
  padding-left: ${e=>`${r.containerPaddingLeft.valuePx(e.windowSize)}`};
3
3
  padding-right: ${e=>`${r.containerPaddingRight.valuePx(e.windowSize)}`};
4
- `,C=n.div`
4
+ `,S=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
- `,S=n(j)`
11
+ `,T=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
- `,T=n.div`
15
+ `,b=n.div`
16
16
  display: flex;
17
17
  justify-content: flex-start;
18
- `;export{_ as default};
18
+ `;export{B as default};
@@ -1,38 +1,38 @@
1
- import{X as we,fc as Ae,gW as B,j as r,M as Se,bt as C,d as Te,Y as z,o as a,al as ve,bq as De,g as E,w as ee,ax as Ce,fe as ze,q as re}from"./index-Ihb4xe41.js";import{b as s,n as t}from"./vendor-CnQcJ2Lu.js";import{w as Le}from"./downloadPdf-YcATpN2g-CAA7xZRG.js";import{o as _e}from"./commonDimensions-Ctzi29iY-B3Mz4L3r.js";const{common:{strings:Ee,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:H},billPay:{vendorCreation:{achDetails:o}},downloads:V}}=Se.getLocalizedStrings(),Ze=({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),[me,pe]=s.useState(!1),[he,xe]=s.useState(!1),[fe,$e]=s.useState(!1),[p,q]=s.useState(!1),[N,I]=s.useState(!1),[j,P]=s.useState(!1),[w,F]=s.useState(!1),[A,J]=s.useState(!1),[S,K]=s.useState(!1),[T,O]=s.useState(!1),[$,U]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,D=B(u.zeniAccountsConfigDetail.mailingAddress).text2,m=B(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(p||S||T||$||A||$||j||N||w)&&setTimeout(()=>{q(!1),K(!1),O(!1),U(!1),J(!1),F(!1),P(!1),I(!1)},1200)},[p,S,T,$,A,w,j,N]);const W=(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":pe(c);break;case"bankAddress":$e(c);break}},ye=h=>{let c;h==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
1
+ import{X as we,fe as Ae,gY as H,j as r,M as Se,bt as C,e as Te,Y as z,o as a,aq as ve,bq as De,g as R,v as ee,ee as Ce,fg as ze,t as re}from"./index-Dr7k10Ge.js";import{b as s,n as o}from"./vendor-CnQcJ2Lu.js";import{w as Le}from"./downloadPdf-D7ANJLK4-BVhr8pTH.js";import{o as _e}from"./commonDimensions-DRfDJ_wQ-DeEC_LLv.js";const{common:{strings:Re,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:K},billPay:{vendorCreation:{achDetails:t}},downloads:Q}}=Se.getLocalizedStrings(),Ze=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const te=we(),[,M]=Ae(),[k,oe]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,xe]=s.useState(!1),[fe,$e]=s.useState(!1),[p,q]=s.useState(!1),[N,I]=s.useState(!1),[j,P]=s.useState(!1),[w,F]=s.useState(!1),[A,J]=s.useState(!1),[S,O]=s.useState(!1),[T,U]=s.useState(!1),[$,X]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,D=H(u.zeniAccountsConfigDetail.mailingAddress).text2,m=H(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(p||S||T||$||A||$||j||N||w)&&setTimeout(()=>{q(!1),O(!1),U(!1),X(!1),J(!1),F(!1),P(!1),I(!1)},1200)},[p,S,T,$,A,w,j,N]);const Y=(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":pe(c);break;case"bankAddress":$e(c);break}},ye=h=>{let c;h==="achDetails"?c=`${t.bankRoutingNumber} ${n.routingNumberAch}
2
2
 
3
- ${o.accountTypeLabel} ${n.accountSubType.name??""}
3
+ ${t.accountTypeLabel} ${n.accountSubType.name??""}
4
4
 
5
- ${o.bankAccountNumber} ${n.accountNumber}
5
+ ${t.bankAccountNumber} ${n.accountNumber}
6
6
 
7
- ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
7
+ ${t.bankName} ${u.zeniAccountsConfigDetail.bankName}
8
8
 
9
- ${o.bankAddress} ${m}`:c=`${o.bankRoutingNumber} ${n.routingNumberAch}
9
+ ${t.bankAddress} ${m}`:c=`${t.bankRoutingNumber} ${n.routingNumberAch}
10
10
 
11
- ${o.accountTypeLabel} ${n.accountSubType.name??""}
11
+ ${t.accountTypeLabel} ${n.accountSubType.name??""}
12
12
 
13
- ${o.bankAccountNumber} ${n.accountNumber}
13
+ ${t.bankAccountNumber} ${n.accountNumber}
14
14
 
15
- ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
15
+ ${t.bankName} ${u.zeniAccountsConfigDetail.bankName}
16
16
 
17
- ${o.beneficiaryName} ${v}
17
+ ${t.beneficiaryName} ${v}
18
18
 
19
- ${o.bankAddress} ${m}
19
+ ${t.bankAddress} ${m}
20
20
 
21
- ${o.beneficiaryAddress} ${D}`,R(c),q(!0)},i=(h,c,x,X)=>{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=me,l=w;break;case"bankAddress":d=fe,l=j;break;default:d=le,l=$;break}const je=()=>{switch(x){case"accountType":K(!0);break;case"acccountNumber":O(!0);break;case"routingNumber":U(!0);break;case"bankName":J(!0);break;case"beneficiaryName":I(!0);break;case"beneficiaryAddress":F(!0);break;case"bankAddress":P(!0);break}};return r.jsxs(Je,{onMouseEnter:()=>W(x,!0),onMouseLeave:()=>W(x,!1),children:[r.jsx(Ke,{children:h}),r.jsx(Ue,{children:r.jsxs(We,{children:[r.jsxs(Oe,{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(Z,{}):r.jsx(Q,{"data-testid":z("account-info-copy",x),onClick:()=>{R(c),je()}})})}):null,c]}),X!=null?r.jsx(Xe,{children:X}):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(qe,{children:[r.jsx(Pe,{children:f==="achDetails"?H.achTitle:H.wireTitle}),r.jsxs(Ie,{children:[r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:k,children:k?V.downloading:V.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(Fe,{"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:p,children:p?y.copied:y.copy}),enterDelay:600,children:p===!0?r.jsx(Z,{}):r.jsx(Q,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(Be,{children:[r.jsx(Y,{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")}),m!=null?r.jsx(G,{children:i(o.bankAddress,m,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(He,{children:[r.jsx(Y,{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")}),m!=null?r.jsx(b,{children:i(o.bankAddress,m,"bankAddress")}):null,v!=null?r.jsx(b,{children:i(o.beneficiaryName,v,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,D!=null?r.jsx(G,{children:i(o.beneficiaryAddress,D,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Me=t.div``,Re=t.div`
21
+ ${t.beneficiaryAddress} ${D}`,M(c),q(!0)},i=(h,c,x,B)=>{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=me,l=w;break;case"bankAddress":d=fe,l=j;break;default:d=le,l=$;break}const je=()=>{switch(x){case"accountType":O(!0);break;case"acccountNumber":U(!0);break;case"routingNumber":X(!0);break;case"bankName":J(!0);break;case"beneficiaryName":I(!0);break;case"beneficiaryAddress":F(!0);break;case"bankAddress":P(!0);break}};return r.jsxs(Je,{onMouseEnter:()=>Y(x,!0),onMouseLeave:()=>Y(x,!1),children:[r.jsx(Oe,{children:h}),r.jsx(Xe,{children:r.jsxs(Ye,{children:[r.jsxs(Ue,{children:[d||te==="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(Z,{}):r.jsx(G,{"data-testid":z("account-info-copy",x),onClick:()=>{M(c),je()}})})}):null,c]}),B!=null?r.jsx(Be,{children:B}):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(Ee,{children:r.jsxs(Me,{children:[r.jsxs(qe,{children:[r.jsx(Pe,{children:f==="achDetails"?K.achTitle:K.wireTitle}),r.jsxs(Ie,{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(Fe,{"data-testid":z("account-info-download-pdf"),onClick:()=>{Le(Ne,Re.empty,e,oe,!0)}})})}),r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:p,children:p?y.copied:y.copy}),enterDelay:600,children:p===!0?r.jsx(Z,{}):r.jsx(G,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(He,{children:[r.jsx(V,{children:i(t.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(t.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(t.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(t.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(W,{children:i(t.bankAddress,m,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(Ke,{children:[r.jsx(V,{children:i(t.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(t.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(t.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(t.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(b,{children:i(t.bankAddress,m,"bankAddress")}):null,v!=null?r.jsx(b,{children:i(t.beneficiaryName,v,"beneficiaryName",t.beneficiaryNameSubLabel)}):null,D!=null?r.jsx(W,{children:i(t.beneficiaryAddress,D,"beneficiaryAddress",t.beneficiaryAddressSubLabel)}):null]}):null]})})},Ee=o.div``,Me=o.div`
22
22
  margin: ${a.sp4};
23
23
  margin-left: ${a.sp0};
24
- `,qe=t.div`
24
+ `,qe=o.div`
25
25
  display: flex;
26
26
  align-items: center;
27
27
  justify-content: space-between;
28
28
  margin-bottom: ${a.sp3};
29
- `,Ie=t.div`
29
+ `,Ie=o.div`
30
30
  display: flex;
31
31
  gap: ${a.sp4};
32
- `,Pe=t(ve)`
32
+ `,Pe=o(ve)`
33
33
  color: ${e=>e.theme.colors.primary};
34
34
  margin-right: ${a.sp2};
35
- `,Fe=t(De)`
35
+ `,Fe=o(De)`
36
36
  height: ${a.sp3};
37
37
  width: ${a.sp3};
38
38
  color: ${e=>e.theme.colors.hero};
@@ -40,7 +40,7 @@ ${o.beneficiaryAddress} ${D}`,R(c),q(!0)},i=(h,c,x,X)=>{let d,l;switch(x){case"a
40
40
  &:hover {
41
41
  color: ${e=>e.theme.colors.primary};
42
42
  }
43
- `,M=t.div`
43
+ `,E=o.div`
44
44
  box-sizing: border-box;
45
45
  min-height: ${_e.transactionItemHeight}px;
46
46
  display: flex;
@@ -57,7 +57,7 @@ ${o.beneficiaryAddress} ${D}`,R(c),q(!0)},i=(h,c,x,X)=>{let d,l;switch(x){case"a
57
57
  color: ${e=>e.theme.colors.grey1};
58
58
  }
59
59
  }
60
- `,Y=t(M)`
60
+ `,V=o(E)`
61
61
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
62
62
  display: flex;
63
63
  border-top-width: 1px;
@@ -72,7 +72,7 @@ ${o.beneficiaryAddress} ${D}`,R(c),q(!0)},i=(h,c,x,X)=>{let d,l;switch(x){case"a
72
72
  &:hover {
73
73
  border-bottom-width: 1px;
74
74
  }
75
- `,G=t(M)`
75
+ `,W=o(E)`
76
76
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
77
77
  display: flex;
78
78
  border-top-width: 0.5px;
@@ -86,7 +86,7 @@ ${o.beneficiaryAddress} ${D}`,R(c),q(!0)},i=(h,c,x,X)=>{let d,l;switch(x){case"a
86
86
  &:hover {
87
87
  border-top-width: 1px;
88
88
  }
89
- `,L=t.div`
89
+ `,L=o.div`
90
90
  display: flex;
91
91
  color: ${e=>e.theme.colors.grey1};
92
92
  &:hover {
@@ -95,7 +95,7 @@ ${o.beneficiaryAddress} ${D}`,R(c),q(!0)},i=(h,c,x,X)=>{let d,l;switch(x){case"a
95
95
  color: ${e=>e.theme.colors.primary};
96
96
  }
97
97
  }
98
- `,Q=t(ze)`
98
+ `,G=o(ze)`
99
99
  height: ${a.sp3};
100
100
  width: ${a.sp3};
101
101
  color: ${e=>e.theme.colors.hero};
@@ -103,38 +103,38 @@ ${o.beneficiaryAddress} ${D}`,R(c),q(!0)},i=(h,c,x,X)=>{let d,l;switch(x){case"a
103
103
  &:hover {
104
104
  color: ${e=>e.theme.colors.primary};
105
105
  }
106
- `,Z=t(Ce)`
106
+ `,Z=o(Ce)`
107
107
  height: ${a.sp3};
108
108
  width: ${a.sp3};
109
- color: ${E.success};
110
- `,Je=t.div`
109
+ color: ${R.success};
110
+ `,Je=o.div`
111
111
  display: flex;
112
112
  flex-direction: row;
113
113
  padding: ${a.sp3} ${a.sp4};
114
114
  justify-content: space-between;
115
115
  width: 100%;
116
116
  gap: ${a.sp4};
117
- `,Ke=t(re)`
117
+ `,Oe=o(re)`
118
118
  color: ${e=>e.theme.colors.hero};
119
- `,Oe=t(re)`
119
+ `,Ue=o(re)`
120
120
  display: flex;
121
121
  align-items: center;
122
122
  color: ${e=>e.theme.colors.primary};
123
123
  background-color: ${e=>e.theme.colors.grey5};
124
124
  justify-content: flex-end;
125
125
  text-align: end;
126
- `,Ue=t.div`
126
+ `,Xe=o.div`
127
127
  display: flex;
128
- `,We=t.div`
128
+ `,Ye=o.div`
129
129
  display: flex;
130
130
  flex-direction: column;
131
131
  align-items: flex-end;
132
- `,Xe=t(ee)`
132
+ `,Be=o(ee)`
133
133
  color: ${e=>e.theme.colors.grey1};
134
134
  text-align: end;
135
- `,_=t(ee)`
136
- color: ${e=>e.isTextCopied?E.primaryDark:E.neutralGrey1Light};
137
- `,b=t(M)`
135
+ `,_=o(ee)`
136
+ color: ${e=>e.isTextCopied?R.primaryDark:R.neutralGrey1Light};
137
+ `,b=o(E)`
138
138
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
139
139
  display: flex;
140
140
  border-radius: ${a.sp0};
@@ -146,4 +146,4 @@ ${o.beneficiaryAddress} ${D}`,R(c),q(!0)},i=(h,c,x,X)=>{let d,l;switch(x){case"a
146
146
  border-top-width: 1px;
147
147
  border-bottom-width: 1px;
148
148
  }
149
- `,Be=t.div``,He=t.div``;export{Ze as r};
149
+ `,He=o.div``,Ke=o.div``;export{Ze as r};
@@ -1,4 +1,4 @@
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 X,f as G,a2 as ve,T as Ce,dH as we,eN as be,k5 as V,dr as ee,q as l,u as Ee,_ as Pe,aQ as te,c_ as ne,b1 as Re,g as oe,ax as De}from"./index-Ihb4xe41.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-BUDNnxLp-Cql4xo5o.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,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-Dr7k10Ge.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-C6gOEeWO.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,eX as fe,j as t,l as F,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
- `,Le=o.div`
32
+ `,Be=o.div`
33
33
  padding-left: ${m.containerPaddingLeft};
34
34
  padding-right: ${m.containerPaddingRight};
35
- `,Be=o.div`
35
+ `,Le=o.div`
36
36
  position: relative;
37
37
  min-height: 62px;
38
- `,We=o.div`
38
+ `,Ae=o.div`
39
39
  display: flex;
40
40
  flex-direction: row;
41
41
  align-items: center;
@@ -47,18 +47,18 @@ 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
47
47
  padding-right: ${m.navBarPaddingRight};
48
48
  padding-left: ${m.navBarPaddingLeft};
49
49
  height: 100%;
50
- `,Ae=o(ke)`
50
+ `,We=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(X)`
55
+ `,Ne=o(G)`
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(G)`
61
+ `,ie=o(X)`
62
62
  display: flex;
63
63
  color: ${e=>e.theme.colors.hero};
64
64
  align-items: center;
@@ -91,7 +91,7 @@ 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
91
91
  align-items: flex-start;
92
92
  justify-content: center;
93
93
  min-width: ${m.balanceContainerWidth}px;
94
- `,A=o(G)`
94
+ `,W=o(X)`
95
95
  display: flex;
96
96
  color: ${e=>e.theme.colors.hero};
97
97
  align-items: center;
@@ -99,13 +99,13 @@ 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
99
99
  `,Je=o(l)`
100
100
  color: ${e=>e.theme.colors.primary};
101
101
  text-align: left;
102
- `,Ve=o.div`
102
+ `,Ze=o.div`
103
103
  display: flex;
104
104
  flex-direction: column;
105
105
  align-items: flex-start;
106
106
  justify-content: flex-start;
107
107
  min-width: ${m.balanceContainerWidth}px;
108
- `,Ze=o(l)`
108
+ `,Ve=o(l)`
109
109
  display: flex;
110
110
  color: ${e=>e.theme.colors.primary};
111
111
  align-items: center;
@@ -116,13 +116,13 @@ 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
116
116
  align-items: flex-start;
117
117
  justify-content: flex-start;
118
118
  gap: ${i.sp1};
119
- `,Xe=o.div`
119
+ `,Ge=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
- `,Ge=o(l)`
125
+ `,Xe=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,eX as fe,j as t,l as F,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(X)`
165
+ `,at=o(G)`
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,eX as fe,j as t,l as F,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
- `,_=o(l)`
190
+ `,F=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,eX as fe,j as t,l as F,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:Z,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: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,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:Q,ready:J}=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"&&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(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(Qe,{children:[t.jsx(A,{children:c.reconciliation.headers.bankBalance}),t.jsx(Je,{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(Ve,{children:[t.jsx(A,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ze,{children:t.jsx(Fe,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Xe,{children:[t.jsx(A,{children:c.reconciliation.headers.variance}),t.jsx(Ge,{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:V(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:V(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=F.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(Z.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(Z.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Ft 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 _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};