@zeniai/web-cockpit-ui 1.15.13-qa → 1.15.14-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/dist/assets/{ACHDetailsPage-BlujuoRH-Dd5Jdtmf.js → ACHDetailsPage-BOZmOJHO-CTkTIAbj.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-DfgPUakC-ZgXRgVKD.js → AIPerformancePage-ZVCJizP9-lO42v2Da.js} +103 -103
  3. package/dist/assets/AccountInfoPage-DF6IU0EG-Dri9KZDQ.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-CTvsml8u-BgWKlEhB.js → AccountInfoPageContent-D0wuuzMd-CYUOf7Yy.js} +16 -16
  5. package/dist/assets/AccountLockedInfoModal-Cfx-lPAZ-YxipIVg7.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-D6WT5Co_-Caf4DPub.js → AccountReconDetailsDrawerPage-DbHX6rPG-C26CYTpl.js} +8 -8
  7. package/dist/assets/{AccountRow-FmhkZVL4-B4hjOMzk.js → AccountRow-Bk_25FCy-D6n4Wyn2.js} +30 -30
  8. package/dist/assets/{AccountsPromoCardStack-B5Mri6qW-cjKgMtIm.js → AccountsPromoCardStack-DAXRwY1f-RsUU3rub.js} +29 -29
  9. package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-CnD6PCyg.js +6 -0
  10. package/dist/assets/{AddToWalletPage-fBplELoj-DIi5wnhQ.js → AddToWalletPage-CzziHgi7-CkYda4Rq.js} +21 -21
  11. package/dist/assets/{AgingReportsPage-CgeLN6Su-CYUQwEno.js → AgingReportsPage-Bdi3krKK-CkVmkoJN.js} +5 -5
  12. package/dist/assets/{AllUserItems-vOFCgjs7-CZxF22QA.js → AllUserItems-XWDuiug6-BJAl8j2p.js} +10 -10
  13. package/dist/assets/ApAgingDetailPage-CaM_AzrU-DKImzj6b.js +46 -0
  14. package/dist/assets/{AppBasePage-DrIjva6e-CIH4lORb.js → AppBasePage-B7_L4R6d-C9IdAuSh.js} +9 -9
  15. package/dist/assets/{AppDrawerContent-Co1DpiWD-C1aJG4Zb.js → AppDrawerContent-DSX1364T-B5p_fokJ.js} +5 -5
  16. package/dist/assets/ApprovalRulesSettingsPage-DrjPOeyp-CtFbj7lh.js +47 -0
  17. package/dist/assets/{ArAgingChart-B2zTJJgb-CxGZOD7f.js → ArAgingChart-M7KUNA4G-B-NjvlhZ.js} +1 -1
  18. package/dist/assets/ArAgingDetailPage-7lby5mXn-Dx6TaWmh.js +46 -0
  19. package/dist/assets/{AttachmentView-vlVaH4YF-B4GAfoTh.js → AttachmentView-Bsa0u92o-C5Ith7Dl.js} +9 -9
  20. package/dist/assets/{BankAccountSection-CDKiTWgn-BmAeSXp7.js → BankAccountSection-BkOlwayA-BzRDpgU5.js} +4 -4
  21. package/dist/assets/{BankAccountWarningSection-tSnRJm3S-B1s5Qbs5.js → BankAccountWarningSection-uMOXLH0B-oIIZXk5D.js} +6 -6
  22. package/dist/assets/{BankConnectionsSettingsPage-O_L8CHJf-r9FaHN_N.js → BankConnectionsSettingsPage-C_YytTke-D0UJIore.js} +37 -37
  23. package/dist/assets/{BillDetailPage-DR3JefXf-DQcSQBQN.js → BillDetailPage-DvU5_Rsp-BboSjxSV.js} +9 -9
  24. package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-ChvhrNL4.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-yFoEpHK8-DvqKTU1y.js → BillPayApprovalRulesPage-CA9eufjt-vJvDNiXo.js} +18 -18
  26. package/dist/assets/{BillPayPromoPage-DZkA_0AV-B7Z2nWn1.js → BillPayPromoPage-DsXPWKAf-y7kYOpnD.js} +6 -6
  27. package/dist/assets/{BillPaySetUpPage-B2j-es9G-BzaThv8U.js → BillPaySetUpPage-CeMhzZ_3-CRMj2J_Q.js} +4 -4
  28. package/dist/assets/BillingSettingsPage-BygJjDSp-BaaSCOrk.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-B2LDJ9-N-Bk0TD_dk.js → BillsBulkReviewDrawerPage-WrR46NRa-CIbrXxhM.js} +1 -1
  30. package/dist/assets/{BoxItem-B0bHU_KA-Dy4QmdXc.js → BoxItem-C0M4PSXY-C-i-BYiZ.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-DZ27apcr-BQW590Mb.js → BusinessVerificationPage-C63pUk4d-D7ADEeIx.js} +15 -15
  32. package/dist/assets/{CardNumberSubText-CpqumrS--CXxxAA8f.js → CardNumberSubText-B4dAoYDE-B-faaYZL.js} +8 -8
  33. package/dist/assets/{CashbackDetailPage-C3oNmfln-Cu2JEVGt.js → CashbackDetailPage-B6xvn-y3-yUoVzYGM.js} +20 -20
  34. package/dist/assets/ChargeCardDetailPage-eJJ4MEE6-C0LSLa5V.js +1467 -0
  35. package/dist/assets/{ChargeCardListPage-B_PxtkQX-BnMys8lA.js → ChargeCardListPage-BYI2HIjA-8seyP4-1.js} +22 -22
  36. package/dist/assets/{ChargeCardListTable-kp0WwIZo-Cm-Owd6-.js → ChargeCardListTable-DAVYmKCK-COsfkC8-.js} +45 -45
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-D1l3Qgr_-DI6gSbof.js → ChargeCardPaymentHistoryPage-BX5HtOxd-DIJQAhYy.js} +26 -26
  38. package/dist/assets/ChargeCardPromoPage-DuQe7BpX-CdXkhoNK.js +222 -0
  39. package/dist/assets/ChargeCardSetupPage-DG1eKhYR-GcD8Xbgo.js +36 -0
  40. package/dist/assets/{ChargeCardStatementsPage-a5u9wGDg-Brg2gDI9.js → ChargeCardStatementsPage-CvtZtuVC-D5_HpJbR.js} +9 -9
  41. package/dist/assets/{CheckDepositDrawerPage-_DvlXSse-B_BucfsH.js → CheckDepositDrawerPage-BdacGDpy-NH0B7hCl.js} +18 -18
  42. package/dist/assets/{CollapsableReportTable-DgteU0nB-Cxehs4Kl.js → CollapsableReportTable-UADp1m_8-0iD5_esu.js} +41 -41
  43. package/dist/assets/{CompanyOfficerDetailsSection-DG1ZQ-UL-DV2WNNsF.js → CompanyOfficerDetailsSection-CaAR0Wvk-xuxahQFB.js} +29 -29
  44. package/dist/assets/{CompanyPassportCard-JfMVwFHV-yhZW8SN7.js → CompanyPassportCard-BJN2GEVm-BAPQ7zZ1.js} +7 -7
  45. package/dist/assets/{CompanyPassportPage-2j8z-oge-BKw2EluX.js → CompanyPassportPage-D2ALJDF_-rREFezcB.js} +35 -35
  46. package/dist/assets/{CompleteProfile-Cm8XlcS3-tX4c8EKJ.js → CompleteProfile-C8X8Z3C2-C4M22bfo.js} +2 -2
  47. package/dist/assets/ConfettiBurst-DxHzdDPp-DbSVEJuf.js +1 -0
  48. package/dist/assets/ConstrainedInnerElement-BeIpAPjB-o1dQwSVr.js +5 -0
  49. package/dist/assets/{CreateOrEditVendorPage-BxSAnKo6-D4OGgB6l.js → CreateOrEditVendorPage-y-COpdhs-Vjb6QXyJ.js} +14 -14
  50. package/dist/assets/{CreditCardPaymentDrawerPage-a2j9Vyid-A-8aAfdw.js → CreditCardPaymentDrawerPage-CntYJJ8v-DG1CtNGi.js} +14 -14
  51. package/dist/assets/{CurrencySelectField-CbBlYqRB-C0JlTtQx.js → CurrencySelectField-Dn-hE2az-FKP6XCyG.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-CG508vOx-DfM0MC9z.js → CustomerOnboardingActivationPage-B9MZHJVc-E8apuJFB.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-B417jal6.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BszHZi0e-4lgjtzgv.js → CustomerOnboardingDetailPageSkeleton-BCe8BvQF-DP4PpY7E.js} +12 -12
  55. package/dist/assets/CustomerOnboardingNoStepsPage-BHk7rDAg-KOMcZLiU.js +66 -0
  56. package/dist/assets/{CustomerOnboardingPage-DM-gDkp1-DzvdKtNr.js → CustomerOnboardingPage-1LvpVpHC-CqEiTKL-.js} +9 -9
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BryLMJRG-IKtHrSqJ.js → CustomerOnboardingProductSuitePage-DMYHMJXg-CZpT_ybG.js} +6 -6
  58. package/dist/assets/{Dashboard-BRm1rkFD-CRrn0mlI.js → Dashboard-CCV0_aCP-DgaReFiA.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-rtbUwJSW-DlJn5Hkl.js → DashboardReportPage-CmoH9Vrc-rbpJkvEW.js} +29 -29
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-DVTdlTEZ-BGfu-u_U.js → DashboardSidebarBackgroundAnimation-hw3einS7-B0933NPk.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-BbKLxsPR-WtW7LWPm.js → DepositAccTransactionItem-DgdkYGjP-Cn-RreCN.js} +4 -4
  62. package/dist/assets/{DepositAccTransactionListPage-0AV-fx2Z-CWuRJMem.js → DepositAccTransactionListPage-CF0WJn9M-Du5Uwrua.js} +3 -3
  63. package/dist/assets/{DomesticWireDetailsPage-BKumlfKE-CU_KFPsO.js → DomesticWireDetailsPage-B12tNa6e-D84j30Sh.js} +2 -2
  64. package/dist/assets/{DownloadOverlay-C6GFjg2N-dHGiNNT4.js → DownloadOverlay-Dt9yt4Fz-CZwt4xVi.js} +18 -18
  65. package/dist/assets/{DrawerPage-BjfQ_wvz-BAoek7CI.js → DrawerPage-Clki97FA-CKaiaKnY.js} +12 -12
  66. package/dist/assets/EditPeoplePage-CKS_aEZm-BLkXTTsd.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-D5cPRveU-XVZs5ANF.js → EditReimbursementDetailPage-CXy2ZWfZ-CZqOBA94.js} +36 -36
  68. package/dist/assets/EntityDetailPage-B3TQ5hCP-xkG_PJz4.js +18 -0
  69. package/dist/assets/EntitySummarySection-D_YLsP_P-DnjHmEt2.js +151 -0
  70. package/dist/assets/{ExpenseAutomationOverviewPage-D9JnRKeQ-DcgUsBHj.js → ExpenseAutomationOverviewPage-4z3yzHEA-DHRMbZ6T.js} +23 -23
  71. package/dist/assets/ExpenseAutomationPage-BJ4H_c2z-_vJX_cQS.js +1700 -0
  72. package/dist/assets/{ExpressPayPage-iL1BYLic-DNZMOaZn.js → ExpressPayPage-CTBD4y1v-NypzcPst.js} +15 -15
  73. package/dist/assets/{FeaturePreviewPage-CFz7RpI6-DGwrwI6h.js → FeaturePreviewPage-CYuTQWpP-B7pk5shZ.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-Crd9GwnW-C67UFUxv.js → FollowStepsSection-BrpI2HyW-DjU7Bj21.js} +9 -9
  75. package/dist/assets/{GlobalReviewListPage-xUatsnwu-B_jOR6kE.js → GlobalReviewListPage-BcvxLqIL-CWsSxlvQ.js} +16 -16
  76. package/dist/assets/{InformationCardStack-CgSYiHdK-TXOis1xL.js → InformationCardStack-CU4Moqky-DbD2DWow.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-dkuf5D9A-Bi0NlGwc.js → InsightsCardStack-D8UQiuXZ-BsOtVtjF.js} +8 -8
  78. package/dist/assets/{InsightsSection-CUk29Ace-Bs7LOW5A.js → InsightsSection-C3X6ZNEt-Dpfjh86q.js} +4 -4
  79. package/dist/assets/{IntegrationsSettingsPage-As-313jz-gWQZcbmC.js → IntegrationsSettingsPage-CsLv00HW-40iwxCCz.js} +8 -8
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-CqMsBHlO-hyhi_VT_.js → InternationalWireSwiftDetailsPage-DgrN5Xg7-DjSCCsjb.js} +28 -28
  81. package/dist/assets/InternationalWireVerificationPage-CvysJNBQ-C883JmDe.js +65 -0
  82. package/dist/assets/{InviteFormPage-D7yOmbjN-DRh2E_al.js → InviteFormPage-B3KmRWXd-CA_rBrtH.js} +27 -27
  83. package/dist/assets/{InvitePageListView-CUeSQD7S-DqLMS2jC.js → InvitePageListView-DfpJBZru-C-jbSwOL.js} +43 -43
  84. package/dist/assets/InvitePeoplePage-C5Qgk24s-oyDKpik2.js +12 -0
  85. package/dist/assets/{InvoiceUploadSection-fjn4uF_l-CtGULxDA.js → InvoiceUploadSection-BO1i-e_D-BbCUnOdb.js} +6 -6
  86. package/dist/assets/{IssueChargeCardPage-B30u11O2-BbnI_a88.js → IssueChargeCardPage-mPsxt52d-D9F3L6UU.js} +28 -28
  87. package/dist/assets/{LabeledAddressValue-CJZ_1zh1-DgOJaHiW.js → LabeledAddressValue-C4fnQSyi-DMq7zZU4.js} +1 -1
  88. package/dist/assets/LabeledAddressValueField-D6dEaI69-BamQLjwy.js +45 -0
  89. package/dist/assets/{LabeledControlledCheckBoxField-DqtbWhaH-DCCVcSia.js → LabeledControlledCheckBoxField-B1QdZmvd-C7yRnNIt.js} +2 -2
  90. package/dist/assets/{LabeledCountryMultiSelectField-t7lnpz15-D8FuO5XK.js → LabeledCountryMultiSelectField-XeBih_-f-j0Io7uqC.js} +5 -5
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DSrFEwMO-BKreuFG-.js → LabeledCreatableSingleSelectField-BPX2Nrlf-CpM2CK18.js} +6 -6
  92. package/dist/assets/LabeledDocumentField-Bjg8sNsg-DrkrUAxI.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-IohlqRi7-BIeZ8HiN.js → LabeledDropDownFormattedTextField-A-rgip1E-yZVcOc80.js} +7 -7
  94. package/dist/assets/{LabeledMultiSelectField-CveBXp8L-VcfEoi4D.js → LabeledMultiSelectField-Di9Wnifv-Bms3kN_s.js} +3 -3
  95. package/dist/assets/{LabeledText-C9CoADG4-kebiAoiw.js → LabeledText-38fqkkE--D6H2xkOy.js} +4 -4
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B6q4n0f5-mzAsluz6.js → LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-CTkTJ07P.js} +19 -19
  97. package/dist/assets/{LabeledZeniRolesDropDownField-B-0ZfQFs-DQJ7lIYd.js → LabeledZeniRolesDropDownField-Dg9_Ww-A-Cs6KyXMg.js} +18 -18
  98. package/dist/assets/{LinkJETransactionPage-CLo-jbfZ-BP0AwRKd.js → LinkJETransactionPage-66mQ4nrK-cIqp9Xxp.js} +9 -9
  99. package/dist/assets/{LockCardPage-CmWzTH0n-BFlTHvg4.js → LockCardPage-BCqN4K17--IT5TUT0.js} +43 -43
  100. package/dist/assets/{LowBalancePopup-BUAKDPHL-B-KZGBlT.js → LowBalancePopup-BPk1-eAb-D_kd3qTx.js} +6 -6
  101. package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-Cq8k80JE.js +1 -0
  102. package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-DnFKtq_b.js +1 -0
  103. package/dist/assets/MagicLinkInternationalWireDetailsPage-B3OpSWB3-BEZ904x4.js +1 -0
  104. package/dist/assets/{MagicLinkSuccessPage-BGSpNBaK-CW6IvAZN.js → MagicLinkSuccessPage-CphaJa4k-DULBLAf5.js} +2 -2
  105. package/dist/assets/{MagicLinkTitleSection-BKIOmha4-DeepZ9HN.js → MagicLinkTitleSection-77rxhjLm-CO0H-7bF.js} +8 -8
  106. package/dist/assets/MailingDetailsSection-BJfZvT0b-Bt66H1X1.js +21 -0
  107. package/dist/assets/{MyBankConnectionsSettingsPage-B3HEwRST-gjCWp3eD.js → MyBankConnectionsSettingsPage-z0tHaSl1-Ctot5bNh.js} +9 -9
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-Cy_JIUO5-CYi0CFHo.js → MyPendingActivationChargeCardListPage-CwGYwufd-DusBmTPf.js} +2 -2
  109. package/dist/assets/{MyProfileSettingsPage-D4XR8lj4-Dp3XDCA2.js → MyProfileSettingsPage-8yBXAre6-BxgUU9tS.js} +9 -9
  110. package/dist/assets/NavBarWithPicker-C3LVyiC9-DNxUvw98.js +30 -0
  111. package/dist/assets/{NavigationArrow-C1HvrCIx-eBcwRB_h.js → NavigationArrow-NuJEpE7O-DkE8Jq2l.js} +5 -5
  112. package/dist/assets/{NavigationDots-Ttv3r4BR-BmNd3gQF.js → NavigationDots-C7Na64B9-BQCsm-PU.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-rrVa4Iiv-BIwnJ-_Z.js → NewGlobalMerchantPage-Cus6zYV_-D7RK-O2G.js} +39 -39
  114. package/dist/assets/NoDataChart-B3s_7m2n-6UR_W8KE.js +26 -0
  115. package/dist/assets/NoDataTable-CMpypnTw-DQkMwHu9.js +8 -0
  116. package/dist/assets/{NotFoundPage-C-RS1j9W-DQWzTEg5.js → NotFoundPage-RjXioqc8-D0YYrGvp.js} +7 -7
  117. package/dist/assets/{NotificationSettingsPage-Bt94GV9--BVC4OLZo.js → NotificationSettingsPage-DrDW_LU_-CoIFciaQ.js} +30 -30
  118. package/dist/assets/{NotificationsListConfig-CbWdzORJ-MhsBqOYT.js → NotificationsListConfig-C6_ap0JT-B7HvA4xZ.js} +1 -1
  119. package/dist/assets/{NotificationsPage-kZGgGVaC-zvIXXIC-.js → NotificationsPage-DOM-Gf5P-CLjwV-Lp.js} +17 -17
  120. package/dist/assets/{OpExByVendorPage-BSoM5hsv-Bb8IrTkh.js → OpExByVendorPage-CTuBB827-C5GnWYFy.js} +11 -11
  121. package/dist/assets/{OverlayContainerPage-IDTUbuAC-Bhrq7EM_.js → OverlayContainerPage-D4QU0p4o-CaOVtIUy.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-C181kEf--TKHh2C5l.js → PandLWithForecastPage-BXaENYdR-C9QORNqG.js} +14 -14
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DqDvhQwH-CYm2Hw3U.js → PaymentAccountSetupBillingAddressSection-DSnQX90O-BNyF-R2t.js} +6 -6
  124. package/dist/assets/{PeoplePage-ByvK4lsu-vcFsHNs3.js → PeoplePage-BlyVVthI-BvlkSarj.js} +29 -29
  125. package/dist/assets/{Preview-B0RnB2Yn.js → Preview-1YaMlOZx.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-CCLEQfr4-I7QWzOtX.js → ProductsCarousel-CAcPH--E-CypMj_aV.js} +8 -8
  127. package/dist/assets/{PromoBaseCards-BESaQCrl-CNjEFCSA.js → PromoBaseCards-BVwZMVeE-z_DbgbjQ.js} +12 -12
  128. package/dist/assets/{QBOConnectionDialog-BhmH5aji-CFc8C6Qx.js → QBOConnectionDialog-C3OYyhYO-BwQj_jEn.js} +5 -5
  129. package/dist/assets/QBOSetupSection-DQjol-D0-sxxCB5FU.js +79 -0
  130. package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-Dr8oEiGp.js +32 -0
  131. package/dist/assets/{ReimbursementApprovalRulesPage-CCo730ny-SbXFn_0A.js → ReimbursementApprovalRulesPage-Cx0gs7sS-BPzyINOc.js} +14 -14
  132. package/dist/assets/{ReimbursementDetailPage-D8G3Aoci-bE7GSifH.js → ReimbursementDetailPage-Cs_rmkS8-CDIuQvBq.js} +8 -8
  133. package/dist/assets/ReimbursementPromoPage-CCFl0kQK-DrE0eENq.js +84 -0
  134. package/dist/assets/{ReimbursementSetUpPage-KRQIL0VK-7SnWIfaP.js → ReimbursementSetUpPage-lf3xTVFh-Bme_YQP5.js} +14 -14
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B77ypxnc-C-JnzSc1.js → ReimbursementsBulkReviewDrawerPage-C5MTFJLG-BXkXcGS3.js} +1 -1
  136. package/dist/assets/{ReloadCard-0KQtayY--Bl87L1FQ.js → ReloadCard-V_tv6YLR-COjEvLaN.js} +6 -6
  137. package/dist/assets/{ReportTableViewSelector-wrUJSIfk-2LsgXwby.js → ReportTableViewSelector-CWEvGn8L-DJHNnxty.js} +7 -7
  138. package/dist/assets/{ReportsPage-D-r0S90r-lHJmVa6A.js → ReportsPage-BJOH1wgv-BdRcuTXJ.js} +9 -9
  139. package/dist/assets/{RevenueChart-4kIDtnAc-CuxrvYRm.js → RevenueChart-C_tSBw_N-BYRoGv9-.js} +12 -12
  140. package/dist/assets/{ReviewDetailsPage-BqIBTewY-DCDTcOA3.js → ReviewDetailsPage-CScPf4w3-y6nDHfDS.js} +17 -17
  141. package/dist/assets/{ReviewOverlay-DjazNKfI-BvB_z9vd.js → ReviewOverlay-BQVwPzKa-BObyNWD7.js} +27 -27
  142. package/dist/assets/RoleWithToolTip-GCV_l8Ly-CXlGB2I2.js +22 -0
  143. package/dist/assets/ScheduleDetailsFixedAssetsPage-Cgqgn7nk-CcoeiAn4.js +37 -0
  144. package/dist/assets/ScheduleDetailsPage-D1EJbzxN-Cq8TagJn.js +37 -0
  145. package/dist/assets/{ScheduleSequenceTable-Dnapx3YK-B3LHOpVc.js → ScheduleSequenceTable-DDhoyPGX-DxfsGAJA.js} +53 -53
  146. package/dist/assets/{ScreenRoutes-Bw_CLYj-.js → ScreenRoutes-B0ae_HKZ.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-D7Nf4cYj-D_9hYtq8.js → SetUpAccountSection-AVL_16HQ-5LWynyPp.js} +6 -6
  148. package/dist/assets/{SignIn-Cl1If8Mq-ChOhS8Cq.js → SignIn-BLUwTp1l-DezfyWtW.js} +24 -24
  149. package/dist/assets/SignInScreen-3zG8eu4e.js +1 -0
  150. package/dist/assets/{SpendManagementListViewPage-B8AdQD7w-2SnG46U-.js → SpendManagementListViewPage-DJbNFHvP-B8BL4nbi.js} +16 -16
  151. package/dist/assets/{SpendManagementPerTabPage-BJxGbUNp-DBWLG06i.js → SpendManagementPerTabPage-J5pIRm-Q-DcJo9Q94.js} +35 -35
  152. package/dist/assets/{SpendManagementSection-CJ-vMwcf-CkjKdsg7.js → SpendManagementSection-DZaP5ai6-brwNtSLw.js} +25 -25
  153. package/dist/assets/StatementItem-D2Fx65LN-DIl2HCYS.js +31 -0
  154. package/dist/assets/{StatementsPage-BaDmSL9L-CUCTBhjX.js → StatementsPage-BCh51lDW-BlH-XzL8.js} +3 -3
  155. package/dist/assets/{StatusSwitcher-BZ2svcz0-BuztCmym.js → StatusSwitcher-C5ZrzI8Y-BU_eEikH.js} +4 -4
  156. package/dist/assets/{SubTabSwitcher-C3216C6m-Dl7lU-_D.js → SubTabSwitcher-BXZxKeq9-D-owiWdX.js} +1 -1
  157. package/dist/assets/{SummaryCard-CSkw4qa9-Bd0y6BWn.js → SummaryCard-194UToy6-BHlsJtk1.js} +1 -1
  158. package/dist/assets/TaskManagementPage-zcxDUo0t-xKHoHXew.js +508 -0
  159. package/dist/assets/{TimeRangeSwitcher-C9jo91ZR-uL_SpSuM.js → TimeRangeSwitcher-Bsv7zQmN-BpGkJwVm.js} +11 -11
  160. package/dist/assets/{TimeframeSwitcher-453JT8qD-BpIL1ddE.js → TimeframeSwitcher-DtxsNy1Z-2NM_x6iy.js} +6 -6
  161. package/dist/assets/{TimeframeSwitcherWithToggle-CkiICrjF-Ca-cPuHv.js → TimeframeSwitcherWithToggle-B5bFhbvL-I--dN0nD.js} +2 -2
  162. package/dist/assets/{TopExCard-Qae08TpE-CJNE7KqM.js → TopExCard-CBua66Cj-BJvS6xJO.js} +6 -6
  163. package/dist/assets/{TopExDetailPage-BpwMO-8K-BBtgOSB1.js → TopExDetailPage-DtMA-XMp-xn5xDKk9.js} +14 -14
  164. package/dist/assets/TransactionActivityLogPage-C3BPL8hi-CA_HOoFB.js +195 -0
  165. package/dist/assets/TransactionDetailPage-CeKaduBe-BQ8y5vaC.js +903 -0
  166. package/dist/assets/TransactionList-CSx8ZCZ--C1_8IqfL.js +153 -0
  167. package/dist/assets/{TransactionListBig-B6-3iOkU-euksbchR.js → TransactionListBig-B4cNQY2d-DerU8Hj9.js} +41 -41
  168. package/dist/assets/TransactionListPage-DHr64V-b-CrCMOxVS.js +35 -0
  169. package/dist/assets/{TransactionVendorDetailPage-BJzVtpnF-C5UXCtBB.js → TransactionVendorDetailPage-DsxI8U5b-D1fN8ld2.js} +4 -4
  170. package/dist/assets/{TransferDrawerPage-DCxNnGwu-CqUkcOyj.js → TransferDrawerPage-C91TQwZi-DM1mVvlx.js} +29 -29
  171. package/dist/assets/{TreasuryOverviewPage-DfIkj3v1-CgYmBgC-.js → TreasuryOverviewPage-BoBn_gtF-DBcXx8Ip.js} +46 -46
  172. package/dist/assets/{TreasuryPromoPage-BBdOyiO--AbQPyk6J.js → TreasuryPromoPage-CQ-VYEQC-G8WxsccX.js} +23 -23
  173. package/dist/assets/{TreasuryStatementsPage-NgiurO36-BX47gTKN.js → TreasuryStatementsPage-taTRE54D-F5NQNl6B.js} +3 -3
  174. package/dist/assets/{TreasuryTaxLetterPage-DcI8sKk8-_uuJ4o58.js → TreasuryTaxLetterPage-Cxhr51TD-tMoEVMoJ.js} +4 -4
  175. package/dist/assets/{TrendChart-DVp0Led--BygMKz23.js → TrendChart-DATgAEKG-DyojY-Xn.js} +5 -5
  176. package/dist/assets/{TrendWithTransactions-C5Zfe4RN-Dl9T676s.js → TrendWithTransactions-DqPFuOvC-CC97f1Ct.js} +7 -7
  177. package/dist/assets/{UncategorizedAccountsMappingPage-DKQj6Y2Z-CoDcx3gH.js → UncategorizedAccountsMappingPage-BQjXazj4-CJhXrmDs.js} +15 -15
  178. package/dist/assets/{UnitIntegrationPage-DzP4Z8GG-DXvLno6N.js → UnitIntegrationPage-BiRGRtpI-BcDsBpFu.js} +5 -5
  179. package/dist/assets/{UploadAdditionalDocumentOverlay-BGFTh8Ed-37xDqOmK.js → UploadAdditionalDocumentOverlay-DCldWCol-DPHHKajn.js} +4 -4
  180. package/dist/assets/Vendor2FAPopup-BpkAiYTA-DRH1-U3Y.js +1 -0
  181. package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BuHGP8HY.js +1 -0
  182. package/dist/assets/VendorDetailPage-DY4iaLtz-BCpMBYhZ.js +257 -0
  183. package/dist/assets/VendorDomesticWireDetailsPage-B5Nym5J9-2vvRJbsc.js +1 -0
  184. package/dist/assets/{VendorFiling1099EditablePage-Bw_Igktf-B-WbIArD.js → VendorFiling1099EditablePage-Dep7O8Uz-D-aakTeI.js} +32 -32
  185. package/dist/assets/{VendorFirstReviewPage-CCCVS8n7-CKlRdVUB.js → VendorFirstReviewPage-CJQIZn8g-CYXImF6f.js} +33 -33
  186. package/dist/assets/{VendorInternationalWireDetailsPage-DsBGMjtN-Bfva6Pym.js → VendorInternationalWireDetailsPage-CJG5RIa2-I232damR.js} +15 -15
  187. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-BiiacAMT.js +1 -0
  188. package/dist/assets/{VendorsAccountsSection-Bd1rg5Tw-CL7IEwEP.js → VendorsAccountsSection-D65ewlO6-qVucxRZa.js} +3 -3
  189. package/dist/assets/{VerifyDevice-B52Vuja4-UTWR3Ig3.js → VerifyDevice-B1_jgwgY-Ch7QTXrL.js} +11 -11
  190. package/dist/assets/{VideoPlayer-Cfh9VY-B-ufbtxIAv.js → VideoPlayer-vWSXteQ6-3WYEiLtc.js} +2 -2
  191. package/dist/assets/{VideoPopup-BLRMOVnP-fkReY2U7.js → VideoPopup-CdsmU6H4-DhRBOj6Y.js} +4 -4
  192. package/dist/assets/{WarningsDrawerPage-CnUUMlFZ-BeDBXJT0.js → WarningsDrawerPage-CjgOsD00-jsNE65_x.js} +8 -8
  193. package/dist/assets/{ZeniAccountDetailPage-DrBVs3G5-Th6GazP4.js → ZeniAccountDetailPage-DiLnoonB-DlTvBibz.js} +27 -27
  194. package/dist/assets/{ZeniAccountListViewPage-C3WwakQr-DfevQgF9.js → ZeniAccountListViewPage-YfPsO8ls-zJTfihep.js} +14 -14
  195. package/dist/assets/ZeniAccountNavBarPieces-CHStBvRa-CxRUkBZQ.js +14 -0
  196. package/dist/assets/{ZeniAccountPromoPage-DYAVwX1I-Bfs8WOV7.js → ZeniAccountPromoPage-cEfW88p8-BqXYqpjk.js} +24 -24
  197. package/dist/assets/{ZeniAccountSetupPage-D4y3RRC0-CePwWlun.js → ZeniAccountSetupPage-B20DHYex-Cr26cRx5.js} +2 -2
  198. package/dist/assets/ZeniCopyright-BROHmszx-BdOjLSgU.js +1 -0
  199. package/dist/assets/ZeniTransferAmountSlider-DZZrrFXf-B042YBIr.js +63 -0
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-DsgRUVgA.js → add-to-wallet-DgdBD8_G-BTS0au4y.js} +1 -1
  201. package/dist/assets/{analytics-CSlaNB19.js → analytics-CiM00cgl.js} +1 -1
  202. package/dist/assets/analyticsHelper-CYVcHgk4.js +1 -0
  203. package/dist/assets/{analyticsHelper-C35dM-yG-DEMSy98E.js → analyticsHelper-FJ-cS8qS-BuiSmKz8.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-yHNADvS4.js → arrow-south-east-round-PEovUgvH-D3YhHzhy.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-Ccdjr6D8.js → auto-transfer-rule-mbafm5D3-TWGQh9DI.js} +1 -1
  206. package/dist/assets/chartTypes-DJdbX13L-kAvAG8Kn.js +1 -0
  207. package/dist/assets/{commonDimensions-Pu55v5lV-z8x_VKwC.js → commonDimensions-BpYNnQtf-ywoc-6eN.js} +1 -1
  208. package/dist/assets/{commonTypes-BElGElM--CDiTtN3P.js → commonTypes-BVbA7QjV-BQLFb0kw.js} +1 -1
  209. package/dist/assets/{constants-D-PeI_mM.js → constants-B0jEPb-7.js} +1 -1
  210. package/dist/assets/{core-CqdPXR9B.js → core-C99WDMlL.js} +1 -1
  211. package/dist/assets/{dash.all.min-DbcV3v7u.js → dash.all.min-0Hz96YMr.js} +1 -1
  212. package/dist/assets/{detailCommon-CM8F8nQy-BxwdCC90.js → detailCommon-BRja9H93-DkTefmWX.js} +4 -4
  213. package/dist/assets/downloadPdf-WDHjFv79-CcJ5DqX0.js +1 -0
  214. package/dist/assets/empty-C_JxotMu.js +1 -0
  215. package/dist/assets/{empty-DTh_Ij2M.js → empty-Dxj4kD7e.js} +1 -1
  216. package/dist/assets/epic-D-wOw91K.js +2 -0
  217. package/dist/assets/{gift-box-Cmt9OgIZ-Bn-y1hvl.js → gift-box-Cmt9OgIZ-5rTUYVv5.js} +1 -1
  218. package/dist/assets/{graphic-no-data-l-DU4J8fDt-a_iKaRv1.js → graphic-no-data-l-DU4J8fDt-CfThc3hK.js} +1 -1
  219. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C9dTXMJH.js → graphic-no-data-net-burn-l-CzmycA0m-BgtCb-Eb.js} +1 -1
  220. package/dist/assets/{handshake-BPg58FML-DqlUuE7u.js → handshake-BPg58FML-BTJKo4cA.js} +1 -1
  221. package/dist/assets/{index-DzUx431K.js → index-8lR-flGE.js} +1 -1
  222. package/dist/assets/index-B3gry9uw.js +1 -0
  223. package/dist/assets/{empty-DPq645sP.js → index-B66qV-7m.js} +1 -1
  224. package/dist/assets/index-B90BaOpo.js +1 -0
  225. package/dist/assets/{index-BTSZX0gU.js → index-BQLbHD9f.js} +1 -1
  226. package/dist/assets/{index-Bs6vtzGR.js → index-BaUtwdgr.js} +1 -1
  227. package/dist/assets/{index-D-WiwijD.js → index-Kp9YkIA7.js} +4979 -4728
  228. package/dist/assets/{lexical-D6mU3oV8.js → lexical-DuSFg2Qn.js} +1 -1
  229. package/dist/assets/{liveblocks-DXNKZvWw.js → liveblocks-BRWAYUb6.js} +1 -1
  230. package/dist/assets/{lottie-BGCmjFH9.js → lottie-CRJfZNkb.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-4ruPPd2Y-D4RWIi7y.js → mapLoadingInProgressToTreeNode-C_5Bb47i-BdPvIdOh.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B77EOrVX-C6RHHI_E.js → mapSectionWithAcOnlyToTreeNode-BlrJTKah-6AgiwAWE.js} +1 -1
  233. package/dist/assets/{mapSpacerToTreeNode-DbVBrfUp-Bv0PlGyX.js → mapSpacerToTreeNode-DvdWKHfX-3Q13yFIC.js} +1 -1
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-88qIN3FA-x9jQgIsR.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-DA60r528-6g96AE00.js → mapTimeframeBalancesToTreeNode-AkxvYRty-mSVf73T7.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BPtN2Cj0-BPlARaPh.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-B0t-DE03.js} +1 -1
  237. package/dist/assets/{mui-CooLgaJO.js → mui-NI7j5KJX.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-D0SYshoo.js → page-detail-CWX5S47F-q5tz_pV-.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-d6QWM0fH.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-aKay5Aup.js → radio-default-CiSgisfh-Pj_E6175.js} +1 -1
  241. package/dist/assets/{react-DHuOianZ.js → react-B650luWj.js} +1 -1
  242. package/dist/assets/{react-MtwZeeNV.js → react-CO1rZiqV.js} +2 -2
  243. package/dist/assets/{react-BOYN8kx1.js → react-CU2liPLj.js} +1 -1
  244. package/dist/assets/{react-_XrYtXDi.js → react-Dg8USaCb.js} +2 -2
  245. package/dist/assets/{react-BBgs2Til.js → react-DudL36ZJ.js} +1 -1
  246. package/dist/assets/{react-B3adtom7.js → react-MZHrw8FG.js} +1 -1
  247. package/dist/assets/{react-CrELMTJL.js → react-VfFVTNIz.js} +1 -1
  248. package/dist/assets/{react-CEyM_Slo.js → react-bPRJrhZm.js} +1 -1
  249. package/dist/assets/{recharts-DHPcYqKb.js → recharts-CK-XmmGv.js} +1 -1
  250. package/dist/assets/{sentry-Dlcq8VjX.js → sentry-D0RHYOS9.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-D8h0VGFI.js → shield-DOlUxcFf-BO3UIhm7.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-Bq4Xe7az-C_hxgNjb.js +1 -0
  253. package/dist/assets/toChartData-B3ouXKAd-QkHWiAxq.js +1 -0
  254. package/dist/assets/{uploadAttachment-n14_2p7o-CBuTNS1x.js → uploadAttachment-DNNG-CMy-CV5ASbU8.js} +15 -15
  255. package/dist/assets/uploadReceipts-Dge0cNF1-DEL-YE5n.js +1 -0
  256. package/dist/assets/{url-CfIahVCp.js → url-BH27ZDzK.js} +1 -1
  257. package/dist/assets/{url-d3WjAGv6.js → url-CC9EPZhq.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-B0lPuhDh.js → useLongPress-GCK2COYQ-779sx01-.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-CZ22OQAj.js → usp-line-BBd1wKwW-Be4fJkJI.js} +1 -1
  260. package/dist/assets/{utils-CXbV7y1T.js → utils-z9KEKf_W.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-pmiItBju.js → zeni-epic-state-Bk1TvHP-.js} +34 -34
  262. package/dist/index.html +1 -1
  263. package/package.json +3 -3
  264. package/dist/assets/AccountInfoPage-BYwGsz6J-Ch1FHntj.js +0 -18
  265. package/dist/assets/AccountLockedInfoModal-DeYVMh3B-D6y6Bwr0.js +0 -59
  266. package/dist/assets/AddAddressForCardDrawer-Bs4dQyRL-Ctl6nn7e.js +0 -6
  267. package/dist/assets/ApAgingDetailPage-CF5WKuOc-G76Jhct9.js +0 -46
  268. package/dist/assets/ApprovalRulesSettingsPage-tYbxBThK-Cxpify_d.js +0 -47
  269. package/dist/assets/ArAgingDetailPage-0nCr6crv-Devrv-ey.js +0 -46
  270. package/dist/assets/BillPayApprovalRuleDetailPage-2w8HO-NU-DEj9c-_Y.js +0 -27
  271. package/dist/assets/BillingSettingsPage-ayQNGWSW-12xUM18b.js +0 -44
  272. package/dist/assets/ChargeCardDetailPage-C9XhHqSo-BkvxAWzR.js +0 -1462
  273. package/dist/assets/ChargeCardPromoPage-DcmgTF8u-D_3YTdIj.js +0 -222
  274. package/dist/assets/ChargeCardSetupPage-BX9fPIf_-CyjwQIJA.js +0 -36
  275. package/dist/assets/ConfettiBurst-BtmMysff-DSGDjDAM.js +0 -1
  276. package/dist/assets/CustomerOnboardingContainerPage-CuP19GYc-DKOxICFF.js +0 -1
  277. package/dist/assets/CustomerOnboardingNoStepsPage-Cg8ti5NY-CNRxBWCb.js +0 -66
  278. package/dist/assets/EditPeoplePage-59PeI1Ul-7BEtuzGE.js +0 -55
  279. package/dist/assets/EntityDetailPage-CiO1dOzo-D_qDJTqi.js +0 -18
  280. package/dist/assets/EntitySummarySection-DBQxz0Ak-DIU4nLDs.js +0 -149
  281. package/dist/assets/ExpenseAutomationPage-isWf-Yjm-mtyufb1k.js +0 -1650
  282. package/dist/assets/InternationalWireVerificationPage-BJ9-Rvqo-BTBmsMoP.js +0 -65
  283. package/dist/assets/InvitePeoplePage-BY6iz4UW-_LkKTuEm.js +0 -12
  284. package/dist/assets/LabeledAddressValueField-3BEuHr_a-BjZNJRNs.js +0 -45
  285. package/dist/assets/LabeledDocumentField-CYvUm3Rk-DVDWNVjk.js +0 -41
  286. package/dist/assets/MagicLinkACHDetailsPage-v539jeyl-CJomAHzE.js +0 -1
  287. package/dist/assets/MagicLinkDomesticWireDetailsPage-CU9g_d2_-nKGmJ40l.js +0 -1
  288. package/dist/assets/MagicLinkInternationalWireDetailsPage-CYupqopA-DeZUaaBL.js +0 -1
  289. package/dist/assets/MailingDetailsSection-BwgWy_VZ-BUG7NCIc.js +0 -21
  290. package/dist/assets/NavBarWithPicker-Brxnh3kz-BA6BmzeV.js +0 -30
  291. package/dist/assets/NoDataChart--T7v827k-N1NjmdMu.js +0 -26
  292. package/dist/assets/NoDataTable-cJmfr934-B94qPxg7.js +0 -8
  293. package/dist/assets/QBOSetupSection-BevEEFTb-BnGksb95.js +0 -79
  294. package/dist/assets/ReimbursementApprovalRuleDetailPage-Dklp8fND-UoScHaM0.js +0 -32
  295. package/dist/assets/ReimbursementPromoPage-B8BSm0-k-DoAB3kjA.js +0 -84
  296. package/dist/assets/RoleWithToolTip-CjvIxkPO-i8Jvb-Om.js +0 -22
  297. package/dist/assets/ScheduleDetailsFixedAssetsPage-DBfwlnR1-a5rKuO2E.js +0 -37
  298. package/dist/assets/ScheduleDetailsPage-CLEKOymC-D9OGnjW_.js +0 -37
  299. package/dist/assets/SignInScreen-DnCtQXMH.js +0 -1
  300. package/dist/assets/StatementItem-CCXoBC0x-DV-yA8w8.js +0 -31
  301. package/dist/assets/TaskManagementPage-BO9Fcar1-D43wwO7_.js +0 -508
  302. package/dist/assets/TransactionDetailPage-CF5tZCkv-DaE0IPlE.js +0 -912
  303. package/dist/assets/TransactionList-BuFcrTEd-CDNpioP2.js +0 -147
  304. package/dist/assets/TransactionListPage-cSSv81G2-XuOtx5cl.js +0 -35
  305. package/dist/assets/Vendor2FAPopup-CyeLsWVA-BnnYCOfU.js +0 -1
  306. package/dist/assets/VendorACHDetailsPage-Ch6V5aiE-DwT4LvSy.js +0 -1
  307. package/dist/assets/VendorDetailPage-CrEIBnBt-C7KZBHYF.js +0 -257
  308. package/dist/assets/VendorDomesticWireDetailsPage-GMtYv721-CKzqrsaT.js +0 -1
  309. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BeXxE9Qn-DLR6ZPyB.js +0 -1
  310. package/dist/assets/ZeniAccountNavBarPieces-CP2pkywN-Ca5ooSBr.js +0 -14
  311. package/dist/assets/ZeniCopyright-DxhdQ6XJ-BBelv_tx.js +0 -1
  312. package/dist/assets/ZeniTransferAmountSlider-COT3DDGF-BEmS_Buf.js +0 -63
  313. package/dist/assets/analyticsHelper-CoCMocx4.js +0 -1
  314. package/dist/assets/chartTypes-BDwrrz9S-Xt8nSCss.js +0 -1
  315. package/dist/assets/downloadPdf-BF8--IAB-CLiDzBIR.js +0 -1
  316. package/dist/assets/epic-96Yt9tV8.js +0 -2
  317. package/dist/assets/index-DQJyhSzl.js +0 -1
  318. package/dist/assets/index-DeNk0spl.js +0 -1
  319. package/dist/assets/index-DfNzwEf5.js +0 -1
  320. package/dist/assets/mapTimeframeBalancesToTreeNode-IkKV62Jb-5SdDjuyL.js +0 -1
  321. package/dist/assets/toCOABalancesWithID-C8uaUoxX-BzCEqBIC.js +0 -1
  322. package/dist/assets/toChartData-CTG-a8va-BrvbSe1U.js +0 -1
  323. package/dist/assets/uploadReceipts-DJRtId-4-CsfBPoke.js +0 -1
@@ -0,0 +1,18 @@
1
+ import{d as y,J as x,V as t,gS as b,o as r,y as d,hE as D,u as i}from"./index-Kp9YkIA7.js";import{a as $}from"./sentry-D0RHYOS9.js";import{n as o}from"./mui-NI7j5KJX.js";import{K as P}from"./StatusSwitcher-C5ZrzI8Y-BU_eEikH.js";import{r as z}from"./AccountInfoPageContent-D0wuuzMd-CYUOf7Yy.js";import"./liveblocks-BRWAYUb6.js";import"./core-C99WDMlL.js";import"./recharts-CK-XmmGv.js";import"./zeni-epic-state-Bk1TvHP-.js";import"./lottie-CRJfZNkb.js";import"./analytics-CiM00cgl.js";import"./lexical-DuSFg2Qn.js";import"./utils-z9KEKf_W.js";import"./downloadPdf-WDHjFv79-CcJ5DqX0.js";import"./commonDimensions-BpYNnQtf-ywoc-6eN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2b59a491-2d9b-436e-ac98-6eac28872d4e",e._sentryDebugIdIdentifier="sentry-dbid-2b59a491-2d9b-436e-ac98-6eac28872d4e")}catch{}})();const s={pageTitleMarginXAxis:new d(i[4],i[8]),containerPaddingLeft:new d(i[3],i[6],i[8]),containerPaddingRight:new d(i[3],i[6],i[8])},B=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:u,currentTenant:g,onDismissClick:p})=>{const f=y(),c=x(),[l,m]=$.useState("achDetails"),w=h=>{m(h)};return t.jsxs(S,{children:[t.jsx(b,{title:"",backgroundColor:f.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:p}),t.jsx(T,{windowSize:c,children:a.accountName}),t.jsx(v,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:c,children:t.jsx(z,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:u,currentTenant:g,depositAccount:a})})]})},A=o.div`
2
+ padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
3
+ padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
4
+ `,S=o.div`
5
+ display: flex;
6
+ flex-direction: column;
7
+ background-color: ${e=>e.theme.colors.grey4};
8
+ overflow-x: hidden;
9
+ height: 100%;
10
+ width: 100%;
11
+ `,T=o(D)`
12
+ color: ${e=>e.theme.colors.primary};
13
+ padding: ${r.sp3} ${r.sp0};
14
+ margin: ${e=>`${r.sp0} ${s.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
15
+ `,v=o.div`
16
+ display: flex;
17
+ justify-content: flex-start;
18
+ `;export{B as default};
@@ -1,4 +1,4 @@
1
- import{J as je,gY as Ae,hB as Q,V as r,bS as z,T as Se,aP as L,o as a,b7 as Te,F as ve,c2 as De,p as E,ai as re,e as Ce,g$ as ze,al as ae}from"./index-D-WiwijD.js";import{a as s}from"./sentry-Dlcq8VjX.js";import{n as t}from"./mui-CooLgaJO.js";import{w as Le}from"./downloadPdf-BF8--IAB-CLiDzBIR.js";import{o as _e}from"./commonDimensions-Pu55v5lV-z8x_VKwC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="bb3a9419-373f-4b9f-a263-4e07c09255a5",e._sentryDebugIdIdentifier="sentry-dbid-bb3a9419-373f-4b9f-a263-4e07c09255a5")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:W},billPay:{vendorCreation:{achDetails:o}},downloads:Y}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:m,depositAccount:c,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,M]=Ae(),[N,te]=s.useState(!1),[se,ne]=s.useState(!1),[ce,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[pe,me]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,R]=s.useState(!1),[w,q]=s.useState(!1),[j,B]=s.useState(!1),[A,J]=s.useState(!1),[S,V]=s.useState(!1),[T,F]=s.useState(!1),[v,H]=s.useState(!1),[$,O]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=Q(u.zeniAccountsConfigDetail.mailingAddress).text2,p=Q(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{R(!1),F(!1),H(!1),O(!1),V(!1),J(!1),B(!1),q(!1)},1200)},[h,T,v,$,S,A,j,w]);const U=(f,n)=>{switch(f){case"accountType":ne(n);break;case"acccountNumber":ie(n);break;case"routingNumber":de(n);break;case"bankName":ue(n);break;case"beneficiaryName":fe(n);break;case"beneficiaryAddress":me(n);break;case"bankAddress":ye(n);break}},$e=f=>{let n;f==="achDetails"?n=`${o.bankRoutingNumber} ${c.routingNumberAch}
1
+ import{J as je,h0 as Ae,hF as Q,V as r,bT as z,T as Te,aP as L,o as a,b7 as Se,F as ve,c3 as De,p as E,ai as re,h as Ce,h3 as ze,al as ae}from"./index-Kp9YkIA7.js";import{a as s}from"./sentry-D0RHYOS9.js";import{n as t}from"./mui-NI7j5KJX.js";import{w as Le}from"./downloadPdf-WDHjFv79-CcJ5DqX0.js";import{o as _e}from"./commonDimensions-BpYNnQtf-ywoc-6eN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="92b15603-a994-4613-8bb5-13002b288f24",e._sentryDebugIdIdentifier="sentry-dbid-92b15603-a994-4613-8bb5-13002b288f24")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:W},billPay:{vendorCreation:{achDetails:o}},downloads:X}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:c,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,J]=Ae(),[N,te]=s.useState(!1),[se,ne]=s.useState(!1),[ce,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,M]=s.useState(!1),[w,R]=s.useState(!1),[j,q]=s.useState(!1),[A,V]=s.useState(!1),[T,B]=s.useState(!1),[S,G]=s.useState(!1),[v,O]=s.useState(!1),[$,U]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=Q(u.zeniAccountsConfigDetail.mailingAddress).text2,m=Q(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||S||v||$||T||$||j||w||A)&&setTimeout(()=>{M(!1),G(!1),O(!1),U(!1),B(!1),V(!1),q(!1),R(!1)},1200)},[h,S,v,$,T,A,j,w]);const F=(f,n)=>{switch(f){case"accountType":ne(n);break;case"acccountNumber":ie(n);break;case"routingNumber":de(n);break;case"bankName":ue(n);break;case"beneficiaryName":fe(n);break;case"beneficiaryAddress":pe(n);break;case"bankAddress":ye(n);break}},$e=f=>{let n;f==="achDetails"?n=`${o.bankRoutingNumber} ${c.routingNumberAch}
2
2
 
3
3
  ${o.accountTypeLabel} ${c.accountSubType.name??""}
4
4
 
@@ -6,7 +6,7 @@ ${o.bankAccountNumber} ${c.accountNumber}
6
6
 
7
7
  ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
8
8
 
9
- ${o.bankAddress} ${p}`:n=`${o.bankRoutingNumber} ${c.routingNumberAch}
9
+ ${o.bankAddress} ${m}`:n=`${o.bankRoutingNumber} ${c.routingNumberAch}
10
10
 
11
11
  ${o.accountTypeLabel} ${c.accountSubType.name??""}
12
12
 
@@ -16,23 +16,23 @@ ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
16
16
 
17
17
  ${o.beneficiaryName} ${D}
18
18
 
19
- ${o.bankAddress} ${p}
19
+ ${o.bankAddress} ${m}
20
20
 
21
- ${o.beneficiaryAddress} ${C}`,M(n),R(!0)},i=(f,n,x,G)=>{let d,l;switch(x){case"acccountNumber":d=ce,l=v;break;case"accountType":d=se,l=T;break;case"bankName":d=be,l=S;break;case"beneficiaryName":d=he,l=w;break;case"beneficiaryAddress":d=pe,l=A;break;case"bankAddress":d=xe,l=j;break;default:d=le,l=$;break}const we=()=>{switch(x){case"accountType":F(!0);break;case"acccountNumber":H(!0);break;case"routingNumber":O(!0);break;case"bankName":V(!0);break;case"beneficiaryName":q(!0);break;case"beneficiaryAddress":J(!0);break;case"bankAddress":B(!0);break}};return r.jsxs(Je,{onMouseEnter:()=>U(x,!0),onMouseLeave:()=>U(x,!1),children:[r.jsx(Ve,{children:f}),r.jsx(He,{children:r.jsxs(Oe,{children:[r.jsxs(Fe,{children:[d||oe==="small"?r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:l,children:l?g.copied:g.copy}),enterDelay:600,children:l===!0?r.jsx(ee,{}):r.jsx(Z,{"data-testid":L("account-info-copy",x),onClick:()=>{M(n),we()}})})}):null,n]}),G!=null?r.jsx(Ue,{children:G}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:c.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${y}?query=${ke}`;return r.jsx(Ee,{children:r.jsxs(Pe,{children:[r.jsxs(Me,{children:[r.jsx(qe,{children:m==="achDetails"?W.achTitle:W.wireTitle}),r.jsxs(Re,{children:[r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?Y.downloading:Y.download}),enterDelay:600,children:N===!0?r.jsx(Se,{size:"Small",start:!0}):r.jsx(Be,{"data-testid":L("account-info-download-pdf"),onClick:()=>{Le(Ne,Ie.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:h,children:h?g.copied:g.copy}),enterDelay:600,children:h===!0?r.jsx(ee,{}):r.jsx(Z,{onClick:()=>$e(m),"data-testid":L("title-text-copy")})})})]})]}),m==="achDetails"?r.jsxs(Ge,{children:[r.jsx(K,{children:i(o.bankRoutingNumber,c.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,c.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,c.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(X,{children:i(o.bankAddress,p,"bankAddress")}):null]}):m==="wireDetails"?r.jsxs(Qe,{children:[r.jsx(K,{children:i(o.bankRoutingNumber,c.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,c.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,c.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(b,{children:i(o.bankAddress,p,"bankAddress")}):null,D!=null?r.jsx(b,{children:i(o.beneficiaryName,D,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(X,{children:i(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Ee=t.div``,Pe=t.div`
21
+ ${o.beneficiaryAddress} ${C}`,J(n),M(!0)},i=(f,n,x,H)=>{let d,l;switch(x){case"acccountNumber":d=ce,l=v;break;case"accountType":d=se,l=S;break;case"bankName":d=be,l=T;break;case"beneficiaryName":d=he,l=w;break;case"beneficiaryAddress":d=me,l=A;break;case"bankAddress":d=xe,l=j;break;default:d=le,l=$;break}const we=()=>{switch(x){case"accountType":G(!0);break;case"acccountNumber":O(!0);break;case"routingNumber":U(!0);break;case"bankName":B(!0);break;case"beneficiaryName":R(!0);break;case"beneficiaryAddress":V(!0);break;case"bankAddress":q(!0);break}};return r.jsxs(Ve,{onMouseEnter:()=>F(x,!0),onMouseLeave:()=>F(x,!1),children:[r.jsx(Be,{children:f}),r.jsx(Oe,{children:r.jsxs(Ue,{children:[r.jsxs(Ge,{children:[d||oe==="small"?r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:l,children:l?g.copied:g.copy}),enterDelay:600,children:l===!0?r.jsx(ee,{}):r.jsx(Z,{"data-testid":L("account-info-copy",x),onClick:()=>{J(n),we()}})})}):null,n]}),H!=null?r.jsx(Fe,{children:H}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:c.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${y}?query=${ke}`;return r.jsx(Ee,{children:r.jsxs(Pe,{children:[r.jsxs(Je,{children:[r.jsx(Re,{children:p==="achDetails"?W.achTitle:W.wireTitle}),r.jsxs(Me,{children:[r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?X.downloading:X.download}),enterDelay:600,children:N===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(qe,{"data-testid":L("account-info-download-pdf"),onClick:()=>{Le(Ne,Ie.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:h,children:h?g.copied:g.copy}),enterDelay:600,children:h===!0?r.jsx(ee,{}):r.jsx(Z,{onClick:()=>$e(p),"data-testid":L("title-text-copy")})})})]})]}),p==="achDetails"?r.jsxs(He,{children:[r.jsx(K,{children:i(o.bankRoutingNumber,c.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,c.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,c.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(Y,{children:i(o.bankAddress,m,"bankAddress")}):null]}):p==="wireDetails"?r.jsxs(Qe,{children:[r.jsx(K,{children:i(o.bankRoutingNumber,c.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,c.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,c.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,D!=null?r.jsx(b,{children:i(o.beneficiaryName,D,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(Y,{children:i(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Ee=t.div``,Pe=t.div`
22
22
  margin: ${a.sp4};
23
23
  margin-left: ${a.sp0};
24
- `,Me=t.div`
24
+ `,Je=t.div`
25
25
  display: flex;
26
26
  align-items: center;
27
27
  justify-content: space-between;
28
28
  margin-bottom: ${a.sp3};
29
- `,Re=t.div`
29
+ `,Me=t.div`
30
30
  display: flex;
31
31
  gap: ${a.sp4};
32
- `,qe=t(Te)`
32
+ `,Re=t(Se)`
33
33
  color: ${e=>e.theme.colors.primary};
34
34
  margin-right: ${a.sp2};
35
- `,Be=t(De)`
35
+ `,qe=t(De)`
36
36
  height: ${a.sp3};
37
37
  width: ${a.sp3};
38
38
  color: ${e=>e.theme.colors.hero};
@@ -72,7 +72,7 @@ ${o.beneficiaryAddress} ${C}`,M(n),R(!0)},i=(f,n,x,G)=>{let d,l;switch(x){case"a
72
72
  &:hover {
73
73
  border-bottom-width: 1px;
74
74
  }
75
- `,X=t(P)`
75
+ `,Y=t(P)`
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;
@@ -107,29 +107,29 @@ ${o.beneficiaryAddress} ${C}`,M(n),R(!0)},i=(f,n,x,G)=>{let d,l;switch(x){case"a
107
107
  height: ${a.sp3};
108
108
  width: ${a.sp3};
109
109
  color: ${E.success};
110
- `,Je=t.div`
110
+ `,Ve=t.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
- `,Ve=t(ae)`
117
+ `,Be=t(ae)`
118
118
  color: ${e=>e.theme.colors.hero};
119
- `,Fe=t(ae)`
119
+ `,Ge=t(ae)`
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
- `,He=t.div`
127
- display: flex;
128
126
  `,Oe=t.div`
129
127
  display: flex;
128
+ `,Ue=t.div`
129
+ display: flex;
130
130
  flex-direction: column;
131
131
  align-items: flex-end;
132
- `,Ue=t(re)`
132
+ `,Fe=t(re)`
133
133
  color: ${e=>e.theme.colors.grey1};
134
134
  text-align: end;
135
135
  `,I=t(re)`
@@ -146,4 +146,4 @@ ${o.beneficiaryAddress} ${C}`,M(n),R(!0)},i=(f,n,x,G)=>{let d,l;switch(x){case"a
146
146
  border-top-width: 1px;
147
147
  border-bottom-width: 1px;
148
148
  }
149
- `,Ge=t.div``,Qe=t.div``;export{er as r};
149
+ `,He=t.div``,Qe=t.div``;export{er as r};
@@ -0,0 +1,59 @@
1
+ import{d as g,F as l,V as t,al as x,ba as c,r as y,o as r,p,aq as b,bZ as j,b_ as $,b$ as w,bS as k}from"./index-Kp9YkIA7.js";import{n as o}from"./mui-NI7j5KJX.js";import{t as v}from"./handshake-BPg58FML-BTJKo4cA.js";import"./sentry-D0RHYOS9.js";import"./liveblocks-BRWAYUb6.js";import"./core-C99WDMlL.js";import"./recharts-CK-XmmGv.js";import"./zeni-epic-state-Bk1TvHP-.js";import"./lottie-CRJfZNkb.js";import"./analytics-CiM00cgl.js";import"./lexical-DuSFg2Qn.js";import"./utils-z9KEKf_W.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="045033e3-4330-4175-8d20-41d431f3784c",e._sentryDebugIdIdentifier="sentry-dbid-045033e3-4330-4175-8d20-41d431f3784c")}catch{}})();const m="support@zeni.ai",n=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),u=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),f=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(M,{children:[t.jsx(_,{children:n.accountLockedTitle}),t.jsxs(C,{children:[t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(A,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(z,{})}),t.jsxs(c,{children:[n.tryAgainAfter,t.jsxs(I,{children:[u,t.jsx(L,{children:"•"}),f]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(F,{})}),t.jsxs(c,{children:[n.accountLockedContactMessage,t.jsx(D,{href:`mailto:${m}`,children:m})]})]}),t.jsx(y,{variant:"primary",label:n.understood,onClick:i})]})]})};function S({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(T,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const M=o.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: center;
5
+ justify-content: center;
6
+ row-gap: ${r.sp6};
7
+ `,_=o(b)`
8
+ color: ${p.important};
9
+ text-align: center;
10
+ `,C=o.div`
11
+ display: flex;
12
+ flex-direction: column;
13
+ align-items: center;
14
+ justify-content: center;
15
+ row-gap: ${r.sp5};
16
+ `,a=o.div`
17
+ display: flex;
18
+ align-items: center;
19
+ justify-content: flex-start;
20
+ column-gap: 12px;
21
+ text-align: start;
22
+ width: 100%;
23
+ color: ${e=>e.theme.colors.primary};
24
+ `,D=o.a`
25
+ text-decoration: underline;
26
+ color: ${e=>e.theme.colors.primary};
27
+ `,I=o(c)`
28
+ font-weight: ${w.medium};
29
+ `,L=o.span`
30
+ color: ${e=>e.theme.colors.hero};
31
+ margin-left: ${r.sp1};
32
+ margin-right: ${r.sp1};
33
+ `,d=o.div`
34
+ width: ${r.sp7};
35
+ height: ${r.sp7};
36
+ background: ${e=>e.theme.mode==="dark"?p.brandColorJadeDark:p.brandColorJadeLight};
37
+ border-radius: 50%;
38
+ flex-shrink: 0;
39
+ color: ${e=>e.theme.colors.primary};
40
+ display: flex;
41
+ align-items: center;
42
+ justify-content: center;
43
+ `,z=o($)`
44
+ width: ${r.sp4};
45
+ height: ${r.sp4};
46
+ `,A=o(j)`
47
+ width: ${r.sp4};
48
+ height: ${r.sp4};
49
+ `,F=o(v)`
50
+ width: ${r.sp4};
51
+ height: ${r.sp4};
52
+ `,T=o.div`
53
+ display: flex;
54
+ flex-direction: column;
55
+ width: 456px;
56
+ padding: ${r.sp5} ${r.sp6};
57
+ background: ${e=>e.theme.colors.grey5};
58
+ border-radius: ${r.sp2};
59
+ `,B=Object.freeze(Object.defineProperty({__proto__:null,AccountLockedInfo:h,default:S},Symbol.toStringTag,{value:"Module"}));export{h as A,m as Z,B as a};
@@ -1,4 +1,4 @@
1
- import{a9 as fe,fy as xe,V as t,ac as ye,co as ge,cp as je,cq as Se,o as c,d as $e,b7 as Q,am as X,x as be,aa as ke,dL as ve,eR as we,d3 as G,du as Z,F as Ce,al as d,g as Ee,aN as Pe,bw as ee,dO as te,at as Re,p as ne,e as Ie}from"./index-D-WiwijD.js";import{a as r}from"./sentry-Dlcq8VjX.js";import{n as o}from"./mui-CooLgaJO.js";import{bL as oe,Gv as De,Gw as Te}from"./zeni-epic-state-pmiItBju.js";import{E as _e,C as Fe,w as Le,f as Ue}from"./AccountRow-FmhkZVL4-B4hjOMzk.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f023ee3f-1ad7-43a2-8eeb-4cf65e4fbbe9",e._sentryDebugIdIdentifier="sentry-dbid-f023ee3f-1ad7-43a2-8eeb-4cf65e4fbbe9")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Ye=o.div`
1
+ import{a9 as fe,fC as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as $e,b7 as Q,am as X,x as ke,aa as be,dN as we,eV as ve,d4 as G,dw as Z,F as Ce,al as d,d as Ee,aN as Pe,bw as ee,dQ as te,at as Re,p as ne,h as Ie}from"./index-Kp9YkIA7.js";import{a as r}from"./sentry-D0RHYOS9.js";import{n as o}from"./mui-NI7j5KJX.js";import{bL as oe,Gz as De,GA as Te}from"./zeni-epic-state-Bk1TvHP-.js";import{E as _e,C as Fe,w as Ue,f as Le}from"./AccountRow-Bk_25FCy-D6n4Wyn2.js";import"./liveblocks-BRWAYUb6.js";import"./core-C99WDMlL.js";import"./recharts-CK-XmmGv.js";import"./lottie-CRJfZNkb.js";import"./analytics-CiM00cgl.js";import"./lexical-DuSFg2Qn.js";import"./utils-z9KEKf_W.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7534f411-4c14-4afc-a48a-ba38c00ded72",e._sentryDebugIdIdentifier="sentry-dbid-7534f411-4c14-4afc-a48a-ba38c00ded72")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Me=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -7,7 +7,7 @@ import{a9 as fe,fy as xe,V as t,ac as ye,co as ge,cp as je,cq as Se,o as c,d as
7
7
  height: 100vh;
8
8
  position: relative;
9
9
  gap: ${c.sp5};
10
- `,Me=o.div`
10
+ `,Ye=o.div`
11
11
  display: flex;
12
12
  flex: 0 0 auto;
13
13
  width: ${c.sp4};
@@ -19,7 +19,7 @@ import{a9 as fe,fy as xe,V as t,ac as ye,co as ge,cp as je,cq as Se,o as c,d as
19
19
  z-index: 2;
20
20
  top: ${c.sp0};
21
21
  width: 100%;
22
- `,Oe=o(be)`
22
+ `,Ae=o(ke)`
23
23
  cursor: pointer;
24
24
  color: ${e=>e.theme.colors.hero};
25
25
  width: ${c.sp4};
@@ -29,7 +29,7 @@ import{a9 as fe,fy as xe,V as t,ac as ye,co as ge,cp as je,cq as Se,o as c,d as
29
29
  color: ${e=>e.theme.colors.primary};
30
30
  }
31
31
  flex: 0 0 auto;
32
- `,Ae=o.div`
32
+ `,Oe=o.div`
33
33
  padding-left: ${m.containerPaddingLeft};
34
34
  padding-right: ${m.containerPaddingRight};
35
35
  `,Ne=o.div`
@@ -64,12 +64,12 @@ import{a9 as fe,fy as xe,V as t,ac as ye,co as ge,cp as je,cq as Se,o as c,d as
64
64
  align-items: center;
65
65
  justify-content: center;
66
66
  overflow: hidden;
67
- `,qe=o.div`
67
+ `,Ve=o.div`
68
68
  display: flex;
69
69
  flex: 0 0 auto;
70
70
  justify-content: center;
71
71
  align-items: center;
72
- `,Ve=o.div`
72
+ `,qe=o.div`
73
73
  display: flex;
74
74
  flex-direction: column;
75
75
  align-items: center;
@@ -91,7 +91,7 @@ import{a9 as fe,fy as xe,V as t,ac as ye,co as ge,cp as je,cq as Se,o as c,d as
91
91
  align-items: flex-start;
92
92
  justify-content: center;
93
93
  min-width: ${m.balanceContainerWidth}px;
94
- `,A=o(X)`
94
+ `,O=o(X)`
95
95
  display: flex;
96
96
  color: ${e=>e.theme.colors.hero};
97
97
  align-items: center;
@@ -236,4 +236,4 @@ import{a9 as fe,fy as xe,V as t,ac as ye,co as ge,cp as je,cq as Se,o as c,d as
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:J,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Yt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:U}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),b=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),k=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:k,[g,Y]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[W,M]=r.useState(!1),[B,O]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),O(void 0)),z(void 0),M(!1)},onCancelClick:()=>{O(void 0),M(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),y(void 0),w(!1)},[]),{open:q,ready:V}=xe({token:g,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===g&&a.fetchStatus.fetchState==="Completed"&&V&&w(!0)},[V,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&Y(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&q()},[s,q]),t.jsxs(Ye,{children:[t.jsx(Be,{children:t.jsx(Ne,{children:t.jsxs(We,{children:[t.jsx(Me,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(kt,{monthYearPeriod:l})})]}),t.jsx(qe,{children:t.jsx(Oe,{onClick:$})})]})})}),t.jsxs(Ae,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:b,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:U,showConfirmationPopup:W,setShowConfirmationPopup:M,deleteFileId:B,setDeleteFileId:O,uploadErrorMessage:re,setUploadErrorMessage:z})})}),W===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:_,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:L,uploadErrorMessage:U,setUploadErrorMessage:f})=>{const[b,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,k=[];n.accountReconEntity.account.accountType==="bank"&&k.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),k.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const v=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||b?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),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")&&f(_e(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const g=["reconciled","in_progress","reconciled_via_qbo"],Y=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(Ge,{children:[t.jsxs(Je,{children:[t.jsx(A,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ke,{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(Qe,{children:[t.jsx(A,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Le,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(A,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(T,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(ke,{controller:!0,children:t.jsx(ve,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:v}),options:k,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),v==="bank_statement"?t.jsx(C,{children:t.jsx(we,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:Y,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Te,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:U,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{L()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{_(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(T,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:b,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(T,{children:t.jsx(bt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(T,{children:t.jsx(Z,{isLoading:b,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:G(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(N,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(N,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{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:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Ue(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},bt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},kt=({monthYearPeriod:e})=>t.jsx(ce,{children:vt(e)}),vt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(J.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(J.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Yt as default,ft as uniqueName};
239
+ `,{common:p,dateFormat:J,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),k=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),b=n.link_account_no_microdeposit,w=n.update_account,a=h==="update_account"?w:b,[g,M]=r.useState(a.linkToken??null),[s,v]=r.useState(!1),[W,Y]=r.useState(!1),[B,A]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),A(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{A(void 0),Y(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),v(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),y(void 0),v(!1)},[]),{open:V,ready:q}=xe({token:g,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===g&&a.fetchStatus.fetchState==="Completed"&&q&&v(!0)},[q,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&V()},[s,V]),t.jsxs(Me,{children:[t.jsx(Be,{children:t.jsx(Ne,{children:t.jsxs(We,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(bt,{monthYearPeriod:l})})]}),t.jsx(Ve,{children:t.jsx(Ae,{onClick:$})})]})})}),t.jsxs(Oe,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:k,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L,showConfirmationPopup:W,setShowConfirmationPopup:Y,deleteFileId:B,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:z})})}),W===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:_,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:L,setUploadErrorMessage:f})=>{const[k,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,b=[];n.accountReconEntity.account.accountType==="bank"&&b.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),b.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const w=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),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")&&f(_e(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const g=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(qe,{children:[t.jsxs(Ge,{children:[t.jsxs(Je,{children:[t.jsx(O,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ke,{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(Qe,{children:[t.jsx(O,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(O,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(T,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(be,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:w}),options:b,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),w==="bank_statement"?t.jsx(C,{children:t.jsx(ve,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Te,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:L,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{U()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,v)=>{_(s,v)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(T,{children:w!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(T,{children:t.jsx(kt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(T,{children:t.jsx(Z,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:G(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(N,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(N,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{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:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Le(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},kt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},bt=({monthYearPeriod:e})=>t.jsx(ce,{children:wt(e)}),wt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(J.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(J.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,ft as uniqueName};
@@ -1,4 +1,4 @@
1
- import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as de,p as g,dN as Y,dO as Z,c_ as ue,aV as x,ai as X,u as p,J as xe,g as S,a$ as pe,ds as he,an as ge,r as me,am as I,bJ as fe,dE as je}from"./index-D-WiwijD.js";import{a as ye}from"./sentry-Dlcq8VjX.js";import{n as a,c as we}from"./mui-CooLgaJO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6ea80219-e320-4578-be2a-a828592424e7",e._sentryDebugIdIdentifier="sentry-dbid-6ea80219-e320-4578-be2a-a828592424e7")}catch{}})();const $e=a.div`
1
+ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as de,p as g,dP as X,dQ as Y,c$ as ue,aV as x,ai as Z,u as p,J as xe,d as S,a$ as pe,du as he,an as ge,r as me,am as I,bK as fe,dG as je}from"./index-Kp9YkIA7.js";import{a as ye}from"./sentry-D0RHYOS9.js";import{n as a,c as we}from"./mui-NI7j5KJX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5bf8758b-917e-4ed5-a1ef-bf8a019b70fd",e._sentryDebugIdIdentifier="sentry-dbid-5bf8758b-917e-4ed5-a1ef-bf8a019b70fd")}catch{}})();const be=a.div`
2
2
  position: relative;
3
3
  ${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
4
4
  content: "";
@@ -8,7 +8,7 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
8
8
  border-left: 1px dotted ${e.theme.colors.grey1};
9
9
  height: 12px;
10
10
  `:""};
11
- `,be=a.div`
11
+ `,$e=a.div`
12
12
  display: flex;
13
13
  min-width: ${o.sp4};
14
14
  width: ${o.sp4};
@@ -38,7 +38,7 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
38
38
  margin-left: 2px;
39
39
  width: 12px;
40
40
  height: 12px;
41
- `;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx($e,{showTreeLine:l,collapsed:c,children:t.jsx(be,{colour:n,className:d,children:t.jsx(Ce,{children:i===!0?c===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(ve,{colour:n,className:d,children:e})})})})}const Ee=a.div`
41
+ `;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx(be,{showTreeLine:l,collapsed:c,children:t.jsx($e,{colour:n,className:d,children:t.jsx(Ce,{children:i===!0?c===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(ve,{colour:n,className:d,children:e})})})})}const Ee=a.div`
42
42
  display: flex;
43
43
  flex: 1 1 auto;
44
44
  max-height: 1px;
@@ -52,7 +52,7 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
52
52
  flex: 1 1 auto;
53
53
  height: 1px;
54
54
  width: 100%;
55
- `;function Pe({kind:e,isScrolling:n}){switch(e){case"section_separator":return t.jsx(Ee,{isScrolling:n});case"account_separator":return t.jsx(We,{"data-testid":y("account-separator",e)})}}const We=()=>t.jsx(Se,{children:t.jsx(Ie,{className:"part-separator"})}),u={timeframeHeight:p[10],leftHeadingWidth:386,leftTimeframeWidth:161,leftLabelWidth:190,bankBalanceWidth:152,bankBalanceTimeframeWidth:150,bankBalanceRightWidth:p[4],bankBalanceRightTimeframeWidth:p[4],clearedBalanceWidth:144,clearedBalanceTimeframeWidth:142,varianceWidth:193,varianceTimeframeWidth:180,varianceNumberWidth:112,varianceNumberLoadingWidth:130,variancePercentageWidth:p[10],statusWidth:144,statusTimeframeWidth:142,tickLeftMargin:p[4],circleRadius:p[4],spacerLineWidth:p[5],wrapperPadding:p[8]};function Wt(e){switch(e){case"timeframe_headers":return p[12];case"title_string_only":return p[8];case"ac_group_report":return p[8];case"total":return p[8];case"section":return p[0];case"loading_in_progress":return p[8];default:return p[0]}}function Lt(){return!0}const Le=a.div`
55
+ `;function We({kind:e,isScrolling:n}){switch(e){case"section_separator":return t.jsx(Ee,{isScrolling:n});case"account_separator":return t.jsx(Pe,{"data-testid":y("account-separator",e)})}}const Pe=()=>t.jsx(Se,{children:t.jsx(Ie,{className:"part-separator"})}),u={timeframeHeight:p[10],leftHeadingWidth:386,leftTimeframeWidth:161,leftLabelWidth:190,bankBalanceWidth:152,bankBalanceTimeframeWidth:150,bankBalanceRightWidth:p[4],bankBalanceRightTimeframeWidth:p[4],clearedBalanceWidth:144,clearedBalanceTimeframeWidth:142,varianceWidth:193,varianceTimeframeWidth:180,varianceNumberWidth:112,varianceNumberLoadingWidth:130,variancePercentageWidth:p[10],statusWidth:144,statusTimeframeWidth:142,tickLeftMargin:p[4],circleRadius:p[4],spacerLineWidth:p[5],wrapperPadding:p[8]};function Pt(e){switch(e){case"timeframe_headers":return p[12];case"title_string_only":return p[8];case"ac_group_report":return p[8];case"total":return p[8];case"section":return p[0];case"loading_in_progress":return p[8];default:return p[0]}}function Lt(){return!0}const Le=a.div`
56
56
  display: flex;
57
57
  flex-direction: column;
58
58
  height: ${e=>e.heightValue}px;
@@ -129,14 +129,14 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
129
129
  width: ${u.bankBalanceWidth}px;
130
130
  min-width: ${u.bankBalanceWidth}px;
131
131
  text-align: right;
132
- `,Me=a.div`
132
+ `,Fe=a.div`
133
133
  width: ${u.bankBalanceRightWidth}px;
134
134
  min-width: ${u.bankBalanceRightWidth}px;
135
- `,Ue=a(w)`
135
+ `,Me=a(w)`
136
136
  width: ${u.clearedBalanceWidth}px;
137
137
  min-width: ${u.clearedBalanceWidth}px;
138
138
  text-align: right;
139
- `,Fe=a(w)`
139
+ `,Qe=a(w)`
140
140
  width: ${u.statusWidth}px;
141
141
  min-width: ${u.statusWidth}px;
142
142
  height: 1px;
@@ -144,18 +144,18 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
144
144
  align-items: center;
145
145
  justify-content: center;
146
146
  height: 100%;
147
- `,Qe=a.div`
147
+ `,Ue=a.div`
148
148
  display: flex;
149
149
  flex-direction: row;
150
150
  min-width: ${u.spacerLineWidth}px;
151
151
  width: ${u.spacerLineWidth}px;
152
152
  align-items: center;
153
- `,He=a.div`
153
+ `,ze=a.div`
154
154
  width: 1px;
155
155
  margin-left: ${o.sp3};
156
156
  height: ${e=>e.heightValue}px;
157
157
  background-color: ${e=>e.theme.colors.grey3};
158
- `,ze=a.div`
158
+ `,He=a.div`
159
159
  display: flex;
160
160
  flex-shrink: 0;
161
161
  width: ${u.varianceTimeframeWidth}px;
@@ -166,12 +166,12 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
166
166
  text-align: center;
167
167
  gap: ${o.sp2};
168
168
  margin-left: ${u.tickLeftMargin}px;
169
- `,Je=a(w)`
169
+ `,qe=a(w)`
170
170
  border-radius: ${o.sp1};
171
171
  color: ${e=>e.textColor.hex()};
172
172
  min-width: ${u.varianceNumberWidth}px;
173
173
  text-align: right;
174
- `,qe=a(w)`
174
+ `,Ge=a(w)`
175
175
  border-radius: ${o.sp1};
176
176
  padding: ${o.sp0} ${o.sp1};
177
177
  justify-content: center;
@@ -179,7 +179,7 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
179
179
  color: ${e=>e.textColor.hex()};
180
180
  background-color: ${e=>e.bgColor.hex()};
181
181
  min-width: ${u.variancePercentageWidth}px;
182
- `,Ge=a.div`
182
+ `,Je=a.div`
183
183
  display: flex;
184
184
  flex-direction: row;
185
185
  align-items: center;
@@ -187,16 +187,16 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
187
187
  display: flex;
188
188
  flex-direction: column;
189
189
  align-items: center;
190
- `,Ye=a.div`
190
+ `,Xe=a.div`
191
191
  display: flex;
192
192
  flex-direction: row;
193
193
  align-items: center;
194
194
  gap: ${o.sp1};
195
- `,Ze=a(I)`
195
+ `,Ye=a(I)`
196
196
  color: ${g.success};
197
- `,G=a(I)`
197
+ `,J=a(I)`
198
198
  color: ${g.success};
199
- `,Xe=a(je)`
199
+ `,Ze=a(je)`
200
200
  width: ${o.sp3};
201
201
  height: ${o.sp3};
202
202
  color: ${g.success};
@@ -238,7 +238,7 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
238
238
  height: 12px;
239
239
  color: ${e=>e.iconColor.hex()};
240
240
  margin-top: ${o.sp1};
241
- `,$=a.div`
241
+ `,b=a.div`
242
242
  display: flex;
243
243
  gap: ${o.sp1};
244
244
  `,O=a.div`
@@ -247,20 +247,20 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
247
247
  align-items: center;
248
248
  `,K=a(w)`
249
249
  color: ${e=>e.theme.colors.hero};
250
- `,M=a.div`
250
+ `,F=a.div`
251
251
  display: flex;
252
252
  flex-direction: row;
253
253
  align-items: center;
254
254
  gap: ${o.sp1};
255
- `,U=a(I)`
255
+ `,M=a(I)`
256
256
  color: ${e=>e.textColor.hex()};
257
- `,F=a(I)`
257
+ `,Q=a(I)`
258
258
  color: ${e=>e.textColor.hex()};
259
- `,Q=a.div`
259
+ `,U=a.div`
260
260
  display: flex;
261
261
  flex-direction: row;
262
262
  align-items: center;
263
- `,H=a.div`
263
+ `,z=a.div`
264
264
  display: flex;
265
265
  flex-direction: column;
266
266
  align-items: center;
@@ -271,28 +271,28 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
271
271
  flex-direction: column;
272
272
  align-items: center;
273
273
  justify-content: center;
274
- `,rt=a(X)`
274
+ `,rt=a(Z)`
275
275
  color: ${e=>e.theme.colors.hero};
276
- `,lt=a(X)`
276
+ `,lt=a(Z)`
277
277
  color: ${g.brandColorPearl};
278
278
  `,dt=a.div`
279
279
  display: flex;
280
280
  flex-direction: row;
281
281
  align-items: center;
282
282
  justify-content: center;
283
- `,ut=a(Y)`
283
+ `,ut=a(X)`
284
284
  width: ${o.sp3};
285
285
  height: ${o.sp3};
286
286
  margin-top: 2px;
287
- `,xt=a(Y)`
287
+ `,xt=a(X)`
288
288
  width: ${o.sp3};
289
289
  height: ${o.sp3};
290
- `,pt=a(Z)`
290
+ `,pt=a(Y)`
291
291
  width: ${o.sp3};
292
292
  height: ${o.sp3};
293
293
  margin-top: 2px;
294
- `,ht=a(Z)`
294
+ `,ht=a(Y)`
295
295
  width: ${o.sp3};
296
296
  height: ${o.sp3};
297
297
  margin-top: 2px;
298
- `,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=le.getLocalizedStrings();function _t({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:k}){const P=xe(),B=S(),v=n.accountReconEntity.account.accountName,W=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{k?.(n.accountReconEntity.account.accountId)},z=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,D]=ye.useState(!1),J=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=J==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let q=e;return i&&(q=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:q,isLastRow:i,windowSize:P,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(B.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ve,{className:"any-text-container",children:v})})})]}),t.jsxs(Ae,{children:[t.jsx(Oe,{children:t.jsx(wt,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:W,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Me,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Ue,{children:t.jsx($t,{clearedBalance:j,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Qe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Fe,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:J==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:z}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:z})})]})]}),t.jsx(Pe,{kind:"account_separator",isScrolling:!1}),i?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),k=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(ze,{children:[t.jsx(Je,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(qe,{textColor:r,bgColor:m,className:"any-text-container",children:k})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(V,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},L=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ge,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),_=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ke,{children:[t.jsxs(Ye,{children:[t.jsx(Xe,{}),t.jsx(Ze,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(G,{children:s.status.QBOUser}):e&&t.jsxs(G,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,accountType:n,bankConnection:i,statementStatus:c,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:m,isLoading:k,accountId:P,onStatementAddClicked:B,setIsHovering:v})=>{const W=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(i==="reconnect"){const j=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",P),onClick:N=>{N.stopPropagation(),m?.()},children:s.connect.reconnnect})]})}else return i==="connected"||c==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",P),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(se,{controller:W.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(re,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:W,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?r?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),ee=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(O,{children:[t.jsx(A,{iconColor:n}),t.jsx(M,{children:t.jsx(U,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(Q,{children:t.jsx(F,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:i}),t.jsxs(O,{children:[t.jsx(M,{children:t.jsx(U,{textColor:i,children:e})}),t.jsx(Q,{children:t.jsx(F,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:i,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:c}),t.jsxs(O,{children:[t.jsx(M,{children:t.jsx(U,{textColor:c,children:l})}),t.jsx(Q,{children:t.jsx(F,{textColor:c,children:s.status.failed})})]})]})})},V=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(K,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,wt as C,Lt as D,Et as E,Wt as N,_t as R,ft as f,u,$t as w};
298
+ `,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=le.getLocalizedStrings();function _t({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:k}){const W=xe(),B=S(),v=n.accountReconEntity.account.accountName,P=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{k?.(n.accountReconEntity.account.accountId)},H=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,D]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let G=e;return i&&(G=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:G,isLastRow:i,windowSize:W,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(B.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ve,{className:"any-text-container",children:v})})})]}),t.jsxs(Ae,{children:[t.jsx(Oe,{children:t.jsx(wt,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:P,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Fe,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Me,{children:t.jsx(bt,{clearedBalance:j,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Ue,{children:t.jsx(ze,{heightValue:e})}),t.jsx(Qe,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:H}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:H})})]})]}),t.jsx(We,{kind:"account_separator",isScrolling:!1}),i?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),k=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(He,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:m,className:"any-text-container",children:k})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx($t,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(V,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},L=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx($,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Je,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),_=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx($,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ke,{children:[t.jsxs(Xe,{children:[t.jsx(Ze,{}),t.jsx(Ye,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(J,{children:s.status.QBOUser}):e&&t.jsxs(J,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,accountType:n,bankConnection:i,statementStatus:c,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:m,isLoading:k,accountId:W,onStatementAddClicked:B,setIsHovering:v})=>{const P=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(i==="reconnect"){const j=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx($,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",W),onClick:N=>{N.stopPropagation(),m?.()},children:s.connect.reconnnect})]})}else return i==="connected"||c==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",W),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(se,{controller:P.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(re,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:P,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?r?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},bt=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),ee=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx($,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(b,{children:t.jsxs(O,{children:[t.jsx(A,{iconColor:n}),t.jsx(F,{children:t.jsx(M,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(U,{children:t.jsx(Q,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},$t=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(b,{children:[t.jsx(A,{iconColor:i}),t.jsxs(O,{children:[t.jsx(F,{children:t.jsx(M,{textColor:i,children:e})}),t.jsx(U,{children:t.jsx(Q,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx($,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(b,{children:t.jsxs(z,{children:[t.jsx(R,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:i,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(b,{children:t.jsxs(z,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(b,{children:t.jsxs(z,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(b,{children:[t.jsx(A,{iconColor:c}),t.jsxs(O,{children:[t.jsx(F,{children:t.jsx(M,{textColor:c,children:l})}),t.jsx(U,{children:t.jsx(Q,{textColor:c,children:s.status.failed})})]})]})})},V=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx(b,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(b,{children:t.jsx(K,{children:h})})}),$=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,wt as C,Lt as D,Et as E,Pt as N,_t as R,ft as f,u,bt as w};