@zeniai/web-cockpit-ui 1.15.46-dev → 1.15.47-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 (286) hide show
  1. package/dist/assets/{ACHDetailsPage-D87WwXK_-CBHF5jjP.js → ACHDetailsPage-qOWGYckl-DjJAccbn.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DNhHi_BA-DVKmGARz.js → AIPerformancePage-DJBLMHvs-iLI9KDLf.js} +18 -18
  3. package/dist/assets/AccountInfoPage-BulzquHY-COb5jSNJ.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-WRX3aOoA-BND3wWTU.js → AccountInfoPageContent-C0dKzQoF-BOCBaroQ.js} +12 -12
  5. package/dist/assets/{AccountLockedInfoModal-hM0l2JoS-BM4SnK9N.js → AccountLockedInfoModal-Cy1ahm9k-BxoMcyLt.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-D6AdnAnF-BP-45utn.js → AccountReconDetailsDrawerPage-DQdf3Wk4-CbpITftp.js} +1 -1
  7. package/dist/assets/{AccountRow-kn3U0JbW-CqKCifJj.js → AccountRow-D1Jqgk7o-DewC0XFv.js} +15 -15
  8. package/dist/assets/{AccountsPromoCardStack-D5XHZwyh-DkX-4Lp4.js → AccountsPromoCardStack-Vwu9llOu-CnOXSXsq.js} +1 -1
  9. package/dist/assets/AddAddressForCardDrawer-DK5lnDS9-Ctbcl8_3.js +6 -0
  10. package/dist/assets/{AddToWalletPage-D7DeS_0t-DEAoUKiM.js → AddToWalletPage-C6oLCkE7-C3vtPZC0.js} +3 -3
  11. package/dist/assets/{AgingReportsPage-bssKBslp-BzwEfw-z.js → AgingReportsPage-DAe2E6ey-BAsTv0B2.js} +1 -1
  12. package/dist/assets/{AllUserItems-DodKPXrb-CcYwQFSA.js → AllUserItems-6sLrlL8E-DpxFsjkv.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-NVrKyHd2-Bw462lTM.js → ApAgingDetailPage-4SahVbGx-ZM0Bqd_F.js} +3 -3
  14. package/dist/assets/{AppBasePage-8vs83psd-DYOlChcn.js → AppBasePage-CtA9oCF7-D92abhWD.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-D_del0Ko-C7wcXF5_.js → AppDrawerContent-BBkCJjf8-BybjdyD6.js} +2 -2
  16. package/dist/assets/{ApprovalRulesSettingsPage-GZSj0TP5-DNVzaP3v.js → ApprovalRulesSettingsPage-XgvVBRfh-DhsteiN3.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DPWhkZ92-C-OV2nhV.js → ArAgingChart-zTqy57EG-Dm-WcY4b.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-60QCPZos-BlpsMiLT.js → ArAgingDetailPage-DohpExH8-CLRbt3qX.js} +1 -1
  19. package/dist/assets/{AttachmentView-CbtcWV-6-CFsaig-u.js → AttachmentView-DAEi6O2i-CRQnb5l5.js} +1 -1
  20. package/dist/assets/{BankAccountSection-CNsbo5NW-D5-9rntY.js → BankAccountSection-I-uZ-Yd2-0VZeMO0Z.js} +13 -13
  21. package/dist/assets/{BankAccountWarningSection-DNsentDt-DXrUqr4R.js → BankAccountWarningSection-BR28A3L4-D_D37qnN.js} +8 -8
  22. package/dist/assets/{BankConnectionsSettingsPage-CLotTlUf-Cr8Fvyc2.js → BankConnectionsSettingsPage-D8V4bq-1-wYDIpQQB.js} +9 -9
  23. package/dist/assets/{BillDetailPage-Cg3qZdsc-Bu00bZom.js → BillDetailPage-BxfrpUM5-DDyFcvs1.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DbA9lF8v-D3H9v0x8.js → BillPayApprovalRuleDetailPage-fsIdZfeP-CA1hTToh.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-D5H-E5f4-Cy9lWX0_.js → BillPayApprovalRulesPage-CawYbj9Y-C8NzV5so.js} +10 -10
  26. package/dist/assets/{BillPayPromoPage-x2Q3c9G9-CVZuA77d.js → BillPayPromoPage-DmRx1E8m-Busj2ugi.js} +6 -6
  27. package/dist/assets/{BillPaySetUpPage-CwRy-Uno-xx3edT5K.js → BillPaySetUpPage-BiMDn7ZO-Bk6vBQAJ.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-D7PgDMId-BnPPtdGW.js → BillingSettingsPage-Co8Gw-go-BVCxX7gI.js} +8 -8
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DStkOLXt-BhfIlk7A.js → BillsBulkReviewDrawerPage-CfqxLPzs-BaPIvRkm.js} +1 -1
  30. package/dist/assets/{BoxItem-djG6IQ4o-2WZ3HHBU.js → BoxItem-mA2l070e-DKIWhdy7.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-fTHIGXBy-a0eiadoT.js → BusinessVerificationPage-iHBNaf7w-DrLXb-Iq.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BNT6moWK-CsPKCw8x.js → CardNumberSubText-H4wtwe6R-CVi7j9Nt.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-G5wL_XNp-CJEFraK5.js → CashbackDetailPage-Bo_bsGqF-ButLTwgN.js} +5 -5
  34. package/dist/assets/{ChargeCardDetailPage-CSPeag3v-BP9bsRfj.js → ChargeCardDetailPage-DKWkYV7Z-CddIMjKt.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-BqN-1uhQ-rbpM72ul.js → ChargeCardListPage-Dfa_PX3G-CgibIpQD.js} +5 -5
  36. package/dist/assets/{ChargeCardListTable-Bii0Wthf-T5JYYMDA.js → ChargeCardListTable-GyVhj7uY-DDdTqmU3.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-jnLm7dsX-BCjpKu7L.js → ChargeCardPaymentHistoryPage-7dGO_5iu-lPBFnLZd.js} +1 -1
  38. package/dist/assets/ChargeCardPromoPage-CdWji5S5-BrnExXgk.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-CORgMz4D-B3XpYA3g.js → ChargeCardSetupPage-vwbBIYjC-BAacWjKb.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-CyFh62V3-CVApFNSe.js → ChargeCardStatementsPage-wAqoDc2D-BFeCByOF.js} +2 -2
  41. package/dist/assets/{CheckDepositDrawerPage-4OsC9vnS-C8KgAtNZ.js → CheckDepositDrawerPage-C3wR53BH-B78xbDtI.js} +4 -4
  42. package/dist/assets/{CollapsableReportTable-BBZQoM0P-CNldMsB_.js → CollapsableReportTable-D2dtXfS_-BdWkgbsB.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BxcbL0xy-CPql_B00.js → CompanyOfficerDetailsSection-C1yoAdZ6-B9_PbeF5.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-DZkmzhcF-DdwaCSTK.js → CompanyPassportCard-BZ_FCAKT-Cwwjpb-3.js} +3 -3
  45. package/dist/assets/{CompanyPassportPage-FbqUpLTv-C5g27TMH.js → CompanyPassportPage-Cq6S4mp6-UdzUDRuj.js} +24 -24
  46. package/dist/assets/{CompleteProfile-CHAiqldO-Bdzud2Sl.js → CompleteProfile-CBT17ax6-DYIsbIsy.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-D44X4kyc-CoZYKMrw.js → ConfettiBurst-DgE_527a-D7rXkSFC.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cf0vGOip.js → ConstrainedInnerElement-BeIpAPjB-BmJp_gGJ.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-DDLhdHIQ-DkYXq-0b.js → CreateOrEditVendorPage-ClqI4j2U-BHL0P8Te.js} +6 -6
  50. package/dist/assets/{CreditCardPaymentDrawerPage-Cqp3cX11-Ch0fJLe_.js → CreditCardPaymentDrawerPage-CtM4-nS0-BKJTmcZU.js} +6 -6
  51. package/dist/assets/{CurrencySelectField-BsReHqXI-Cpmmr7ON.js → CurrencySelectField-CP7MSQnS-BpXGyUMj.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-COSoNwiL-XcudDVcs.js → CustomerOnboardingActivationPage-DejhV7FX-8Rok_hOE.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-B1gZ-xOx-BCHT9pOT.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CkVIT-8v-D6-I3CVi.js → CustomerOnboardingDetailPageSkeleton-DTd8-dHU-BMw7YnFS.js} +6 -6
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-g9MUens3-BHwD_Moa.js → CustomerOnboardingNoStepsPage-DW7kpMxd-lyLq4A0Q.js} +2 -2
  56. package/dist/assets/{CustomerOnboardingPage-BMwDeAmg-Dk5C_vBC.js → CustomerOnboardingPage-LCVn__U7-BhQ2ekET.js} +4 -4
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-cfTmZUUq-DFjdDHbL.js → CustomerOnboardingProductSuitePage-CniahiZc-DWeQdDUe.js} +10 -10
  58. package/dist/assets/{Dashboard-CIMGd6vk-C9Y8AV96.js → Dashboard-CnwoksS9-Cj6x2TqP.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-C4vCCh_n-BRXPWSt1.js → DashboardReportPage-qKhiq9te-FT01lDlD.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-DAlY419Q-DP9sfj2H.js → DashboardSidebarBackgroundAnimation-CHpFVLim-B5TP9TTq.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-BerAtS0--BKjebtYX.js → DepositAccTransactionItem-CIY2jU_O-CNSGbCvC.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-CZ1vmnPr-B4TVnkzE.js → DepositAccTransactionListPage-DfhVFXvq-B738llu8.js} +3 -3
  63. package/dist/assets/{DomesticWireDetailsPage-E4qLX6pw-Bw3PSNwc.js → DomesticWireDetailsPage-DSdkrnnn-5AqQiSCx.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-Boa6Fcbv-D-65-zcn.js → DownloadOverlay-DLbD0wMn-DFyBDJuM.js} +1 -1
  65. package/dist/assets/{DrawerPage-Cb-dsS3c-DReTV4LX.js → DrawerPage-CCZXoj1F-DCS5WSNv.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-CndPSw44-DxRcWXPA.js → EditPeoplePage-CDUEfjvF-CJoR5dq4.js} +4 -4
  67. package/dist/assets/{EditReimbursementDetailPage-wT1IlD4U-Va_HPFVw.js → EditReimbursementDetailPage-BopPLndD-Dub2o4ld.js} +1 -1
  68. package/dist/assets/EntityDetailPage-C8mC_pOt-DoBBFGRj.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BOEYtn_o-CPte8tJh.js → EntitySummarySection-BVG0N8QO-B29acNJ9.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-DXZjyYrU-ShMVKnR0.js → ExpenseAutomationOverviewPage-DDTNyUiN-C6hbKIHH.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-B8ptcdZd-BOgjzwCH.js → ExpenseAutomationPage-DG1EbsCZ-Cpa7UC9R.js} +73 -73
  72. package/dist/assets/{ExpressPayPage-DitysgOF-CIeBsr4O.js → ExpressPayPage-DBxaDfRz-CvEgT1Dz.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-G9whxotT-BiSE24Wc.js → FeaturePreviewPage-ezX4YJ8n-DZlh_My6.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-BERdmvvn-UqgRbJ9-.js → FollowStepsSection-BCWwwk1I-Dr0Igucn.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-DXH3le_Z-jpZIGute.js → GlobalReviewListPage-C1Tf-wcw-PWdcxabv.js} +1 -1
  76. package/dist/assets/{InformationCardStack-CXqr6wgh-ChZD3ssd.js → InformationCardStack-Czrqxdi_-DFscx6Un.js} +2 -2
  77. package/dist/assets/{InsightsCardStack-DHmkYfCM-wxboA7g4.js → InsightsCardStack-B50r1AKc-Fu1xeA5s.js} +5 -5
  78. package/dist/assets/{InsightsSection-o1r7-jTU-BEvpe3bJ.js → InsightsSection-BJeBGbPg-Bqi1LIqW.js} +5 -5
  79. package/dist/assets/{IntegrationsSettingsPage-BngX4y9j-DAbz7zwm.js → IntegrationsSettingsPage-BMSATQJz-pQzp159S.js} +2 -2
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-B6OWKscw-Ami9wVCG.js → InternationalWireSwiftDetailsPage-OirC9N1X-BxespejQ.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-D-h205ua-C2Fi9WeW.js → InternationalWireVerificationPage-CqRSwMQj-e_Ufmweg.js} +3 -3
  82. package/dist/assets/{InviteFormPage-Cpx6GKXE-BjzkKS1U.js → InviteFormPage-DlqcSLWX-NYU1sZxR.js} +1 -1
  83. package/dist/assets/{InvitePageListView-R9GI99rG-Lu6_t1J3.js → InvitePageListView--BKiq1KG-ChG4UMr4.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-nhoOZCwu-CevGBmSS.js → InvitePeoplePage-i3nljXL1-BmSEgqup.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-IRD6N1t0-e8npmlKC.js → InvoiceUploadSection-BTcYpKEd-Di1o68Bp.js} +4 -4
  86. package/dist/assets/{IssueChargeCardPage-ztNdugMI-ni4X5-nS.js → IssueChargeCardPage-kFsPFGzp-XYgLhons.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-CTGbS3xZ-BV3lWB3L.js → LabeledAddressValue-COZsPbp0-DczoqRAG.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-BPAdd5QC-DJSlRcrD.js → LabeledAddressValueField-ig7qAURp-BZ_M96P1.js} +8 -8
  89. package/dist/assets/LabeledControlledCheckBoxField-BL_01jee-D2U3D5J4.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-BQNPVmeO-w6euYfRf.js → LabeledCountryMultiSelectField-H4Sug2-M-CL-o7tf1.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-BaooQYnP-CHclcBym.js → LabeledCreatableSingleSelectField-DWEYfaTn-33WE7LED.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-13QPp-85-BBjOcC33.js → LabeledDocumentField-heF_7XXJ-Bpbc_iNk.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-BY230oMD-CrAT0eng.js → LabeledDropDownFormattedTextField-C3Vxy6UO-D0-FCpWt.js} +1 -1
  94. package/dist/assets/{LabeledText-DNr87c0J-DsOX7s5A.js → LabeledText-wJQ0djD--Dnw-us69.js} +4 -4
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C5jC6DTy-D9w1YJzr.js → LabeledUserSingleSelectWithSubtitlesField-Cd04mYwQ-B8JTmQUc.js} +4 -4
  96. package/dist/assets/{LabeledZeniRolesDropDownField-cBcF5EGS-BkGlWFfU.js → LabeledZeniRolesDropDownField-5M654Yu--Ciiad84H.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-KzSZJjAE-D1T5_exi.js → LinkJETransactionPage-DwNoJ7YB-DNfE-nTn.js} +1 -1
  98. package/dist/assets/{LockCardPage-_gavDDon-Blle7NDi.js → LockCardPage-L5EAfQK5-CrxGoWXN.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-DLIUSW0S-B-zpTP7v.js → LowBalancePopup-CIN_PWxf-CcAZgcPw.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-DGLKqo6T-DNpDGuyV.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cvp9N2Q2-CSBjjhkO.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-CB_rrPUd-Dl0YcL-A.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-C_-bPKst-D0jsLGP2.js → MagicLinkSuccessPage-Da-ZSMMO-DzPXDbZC.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-CL4kaSh4-CQQBDKMG.js → MagicLinkTitleSection-B33mBOG9-35QrlIpm.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-qtLrrSYF-CTuCvSpe.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-BRZy0odC-BOBb3itW.js → MyBankConnectionsSettingsPage-Br6kJVpd-CbTGDrzB.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-CpKTrDUb-CccCbcXy.js → MyPendingActivationChargeCardListPage-DkhJVWBZ-Bfy4AAuw.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-BblMMN2f-ckIUFFkd.js → MyProfileSettingsPage-CSY7ZEU4-BWI8MuR_.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-DqS6nFbq-DgwLutRx.js → NavBarWithPicker-Csqyzu5C-DIH1ugF7.js} +5 -5
  110. package/dist/assets/{NavigationArrow-DIFM2upZ-Dnb7czTw.js → NavigationArrow-2B-EgvgC-BK9qtbBJ.js} +1 -1
  111. package/dist/assets/{NavigationDots-Db1I_vts-Bg46VZRN.js → NavigationDots-BrWdpJ3R-DuPdXi3_.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-CC8HJjFw-HIuSKnJN.js → NewGlobalMerchantPage-BSX2ajAh-B0IxS0GP.js} +1 -1
  113. package/dist/assets/{NoDataChart-BpVOzQOW-DKnao5o4.js → NoDataChart-CggIXqiK-C19sXnTb.js} +1 -1
  114. package/dist/assets/{NoDataTable-BfkONzLU--qJ2Vge1.js → NoDataTable-CX24L0oK-DtsfPk0l.js} +1 -1
  115. package/dist/assets/{NotFoundPage-DOlS4ELp-8diqNBZH.js → NotFoundPage-Brtxr86A-Bnm1jjAT.js} +7 -7
  116. package/dist/assets/{NotificationSettingsPage-BdWAxlcA-FUERqOBl.js → NotificationSettingsPage-BV3iZaL6-CCJncOdH.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-DEVHMfQH-Dgi-054y.js → NotificationsListConfig-DWL6JqJ8-BmoQcL7E.js} +1 -1
  118. package/dist/assets/{NotificationsPage-DpnFQdLV-CIDAlFuB.js → NotificationsPage-CMVuwCT_-BEJSVcvU.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-CQxchyEe-CO-1QL4H.js → OpExByVendorPage-CbcnZ2ea-Di7lgu5r.js} +4 -4
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-B4ZkmBb9.js → OverlayContainerPage-D4QU0p4o-BsMR9Xyx.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-B3RkfhSi-Dsp_T8tg.js → PandLWithForecastPage-BrBPv1Bg-Du_wsqJx.js} +2 -2
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-6eOH3fw_-DdzzCUgo.js → PaymentAccountSetupBillingAddressSection-Bvo4Jnoy-D8BlefcU.js} +7 -7
  123. package/dist/assets/{PeoplePage-koDszqCP-CWui0d4h.js → PeoplePage-BruWpkMP-BXfRWFlI.js} +1 -1
  124. package/dist/assets/{Preview-yyD_tsB_.js → Preview-CngKNrtz.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-DLd90FFJ-BgsIDisq.js → ProductsCarousel-CYHholgU-BXEP4AT5.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-QcN1Q7jq-J94-Tlmy.js → PromoBaseCards-CT84iiQE-BQw_xgzZ.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-CdkgNo4F-DpPxxrHx.js → QBOConnectionDialog-D3ymRiGZ-Ci8f_0BR.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-DqsDS8kk-DVOL9KAa.js → QBOSetupSection-DWIulUc2-DlIiV7jG.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-5hcvF_79--V70BOOS.js → ReimbursementApprovalRuleDetailPage-p0TDyMiG-CZeD0AHX.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-D2S6QByB-BzvCV9yX.js → ReimbursementApprovalRulesPage-B_EfFwpz-_OWCEpKq.js} +9 -9
  131. package/dist/assets/{ReimbursementDetailPage-DUzei4Rg-9uRBue4P.js → ReimbursementDetailPage-CK_qij-l-D-oREEKY.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-GXdDXSVY-DHkphGMK.js → ReimbursementPromoPage-DCiu630p-D5gOb-J0.js} +1 -1
  133. package/dist/assets/{ReimbursementSetUpPage-CNWWhLUf-CNnBxBJq.js → ReimbursementSetUpPage-BbtZutE2-DuU_ZUl9.js} +5 -5
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C-1xyI7u-Bz3-f1Cr.js → ReimbursementsBulkReviewDrawerPage-CyLz0tNA-CsTtoUoK.js} +1 -1
  135. package/dist/assets/{ReloadCard-CKhoNNOP-CkJThvIh.js → ReloadCard-CU39OBXS-B7fXlVdj.js} +6 -6
  136. package/dist/assets/{ReportTableViewSelector-BOX3zhPs-DuwxGH5U.js → ReportTableViewSelector-YjVuyNWv-DzbC_6W1.js} +26 -26
  137. package/dist/assets/{ReportsPage-CnYVgGpw-C9lM7ze2.js → ReportsPage-gqc75ljk-7NT5JGPF.js} +1 -1
  138. package/dist/assets/{RevenueChart-BXDE5rdI-C91Sl-p2.js → RevenueChart-CtFVmX84-uni5BcG_.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-Dsh7uv3t-BTN4xADy.js → ReviewDetailsPage-Kew5uZCA-Mv30WXv0.js} +1 -1
  140. package/dist/assets/{ReviewOverlay-BL4VJPxb-D6vjuRhs.js → ReviewOverlay-f-2s-XBM-D-MuCoTz.js} +17 -17
  141. package/dist/assets/RoleWithToolTip-Cw9gD3N5-ConmKNG4.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Tx2QB7zA-BWh0cJz3.js → ScheduleDetailsFixedAssetsPage-DjjYlUtf-D-MjZ88W.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-2-cPD7pl-BswK6aMa.js → ScheduleDetailsPage-BzJS3UZ5-DmfXVQSd.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-CffdpR_k-C5zU_dG9.js → ScheduleSequenceTable-CVDT5FaP-B8HlWODo.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-BdAMCIyo.js → ScreenRoutes-BOS_ZMWh.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-Tadm9fSr-BLYLZVyR.js → SetUpAccountSection-6NXF_yfU-BamPpzSM.js} +1 -1
  147. package/dist/assets/{SignIn-CycvPOGI-yT6O4yeb.js → SignIn-C81zFae4-Dea-gjSZ.js} +7 -7
  148. package/dist/assets/{SignInScreen-DxWsWFRM.js → SignInScreen-m5WxZ3Sy.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-BPxaXJqk-DXMLFfi6.js → SpendManagementListViewPage-BXVWjBXG-BD6dR01P.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-CalVz_KS-CFkJlE5z.js → SpendManagementPerTabPage-BpguVSB_-Lttm8QGO.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-CP-KDJ9X-Dxdtv7cA.js → SpendManagementSection-DOQIJFeZ-ivgPfXva.js} +1 -1
  152. package/dist/assets/{StatementItem-BAgGJRW5-h7PpQoEN.js → StatementItem-Pie3qV6--QBqzedQj.js} +5 -5
  153. package/dist/assets/{StatementsPage-048VbBNB-CIAI8-Iv.js → StatementsPage-BgsnClLk-8ec-Me8v.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-DNe-TFW4-DzQawzTp.js → StatusSwitcher-CmZuoA5C-CAazKXUL.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-CWofxHNl-pctfLicv.js → SubTabSwitcher-DnAcWm4k-BiidkdTF.js} +1 -1
  156. package/dist/assets/SummaryCard-DiwOZob1-BzF2DJC-.js +1 -0
  157. package/dist/assets/{TaskManagementPage-sIeRkoyx-CqhyR_rs.js → TaskManagementPage-Bf7M2Lb4-4_bmrGgs.js} +7 -7
  158. package/dist/assets/{TimeRangeSwitcher-CYfi7lfO-C8IVJ8KX.js → TimeRangeSwitcher-BnA1fDfm-DKZWrMD_.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcher-B9NumYID-CA44AiEF.js → TimeframeSwitcher-B-jhZqzy-C0mIaCAr.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-DJL42rcY-4fJfrmHh.js → TimeframeSwitcherWithToggle-uBvB9Y4U-DEm424X-.js} +2 -2
  161. package/dist/assets/{TopExCard-GHdLZwGT-BhuLE57u.js → TopExCard-8Ddo4t8T-CqjPXnoc.js} +2 -2
  162. package/dist/assets/{TopExDetailPage-CIlBZ2oX-BaF6_sM0.js → TopExDetailPage-B6xtk1Bx-Dvdbf_Im.js} +8 -8
  163. package/dist/assets/{TransactionActivityLogPage-C2Jr7QHc-SAiLB9JP.js → TransactionActivityLogPage-DD1J0Vka-DWx7bBrg.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-RfrmUngB-Dci0je89.js → TransactionDetailPage-B5jASgT3-CgTo1hvB.js} +1 -1
  165. package/dist/assets/TransactionList-C4_0d8Yi-D_b8rDHf.js +153 -0
  166. package/dist/assets/{TransactionListBig-D-kOZVLs-B-ad9ErK.js → TransactionListBig-hJjsZlZZ-BQM8cKJz.js} +1 -1
  167. package/dist/assets/{TransactionListPage-BRF55dM4-DYeZNtak.js → TransactionListPage-BzIAUEs8-MKD80iuh.js} +2 -2
  168. package/dist/assets/{TransactionVendorDetailPage-Bsk6E8Zm-7lohsHvf.js → TransactionVendorDetailPage-DGcg2hX5-BY5R8KAA.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-CPUqGXjs-Cm1krXS2.js → TransferDrawerPage-CqMRBO0T-DRSuLibB.js} +12 -12
  170. package/dist/assets/{TreasuryOverviewPage-DfYRAHE1-CizOCyjr.js → TreasuryOverviewPage-DkwHC8f4-Bn0V9kOv.js} +15 -15
  171. package/dist/assets/{TreasuryPromoPage-F1X4qcwd-BHd14a_i.js → TreasuryPromoPage-DSF3PsLc-CzfjJZli.js} +8 -8
  172. package/dist/assets/{TreasuryStatementsPage-CGbvRTgR-Dmch4a9K.js → TreasuryStatementsPage-Dw1TLve3-B04-8PQ3.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-BMDJFFj--CncIwwwI.js → TreasuryTaxLetterPage-DVLliaXS-BaPntd_i.js} +1 -1
  174. package/dist/assets/{TrendChart-DQwanU50-BV-_y5G5.js → TrendChart-DjYTskVA-gHskLbo_.js} +5 -5
  175. package/dist/assets/{TrendWithTransactions-Iz0QVdZP-CDHQCqNH.js → TrendWithTransactions-hxM7e0EM-DQsX5Fpa.js} +1 -1
  176. package/dist/assets/{UncategorizedAccountsMappingPage-DDBZnuaT-D87xZWEc.js → UncategorizedAccountsMappingPage-CZLuQw-9-BWV6B4bF.js} +1 -1
  177. package/dist/assets/{UnitIntegrationPage-6gZ_g7Zz-DL7Eef_0.js → UnitIntegrationPage-DRwdsemz--LS2beFi.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-CcTFuMyK-D2kgY2Ed.js → UploadAdditionalDocumentOverlay-N-_Kdezc-3iy-UCwO.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-DnG7s1Ks-D9O6BUwp.js → Vendor2FAPopup-CvMY6aLD-DqZVC04g.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-Dj1SW5L_-CF6jGaAx.js +1 -0
  181. package/dist/assets/{VendorDetailPage-D7zN9Vtl-BBAI0eRq.js → VendorDetailPage-Ck-kEx6Y-DlVLyDuR.js} +1 -1
  182. package/dist/assets/VendorDomesticWireDetailsPage-LJc1Pntx-BkWcT3Mq.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-Rslpct1I-cPFmgRgW.js → VendorFiling1099EditablePage-BMAc4Y0L-swSK5unq.js} +4 -4
  184. package/dist/assets/{VendorFirstReviewPage-CGye9HoK-D-UUNB_d.js → VendorFirstReviewPage-Cv0DMrBa-D-qTdl-e.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage--CSkHPFy-DdqJlqoM.js → VendorInternationalWireDetailsPage-Bp-fiJYj-kdX1GwW6.js} +8 -8
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CG6w1RiA-mOhQd5bG.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-ziR6oNlY-CZuH9lY0.js → VendorsAccountsSection-C5L3gr2G-B_pD6zSq.js} +1 -1
  188. package/dist/assets/{VerifyDevice-C-zisSaI-L64KEJ3l.js → VerifyDevice-CkbL9enV-JKJb0VZk.js} +9 -9
  189. package/dist/assets/{VideoPlayer-CQQljSJC-Ckm25ZkZ.js → VideoPlayer-zSNzleMo-B3Hzh9ni.js} +2 -2
  190. package/dist/assets/{VideoPopup-BgqoT4JJ-BIfkB45X.js → VideoPopup-BTjM2GvI-CfrQhQ9p.js} +4 -4
  191. package/dist/assets/{WarningsDrawerPage-D5OicOK4-BvVf8AIm.js → WarningsDrawerPage-C_3XLtV5-DXtwxZOZ.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-C_lM66OT-G87IDGZW.js → ZeniAccountDetailPage-BlqcQ5a_-C6V_463T.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-CQvrxw6f-CqVpV0PW.js → ZeniAccountListViewPage-_jeL_k5F-BYvSnCDl.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-8VXHXUPK-CX9FAlJO.js → ZeniAccountNavBarPieces-BeWOH_VI-D3WeJkvf.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-Cr-MnJVm-tTwQCBew.js → ZeniAccountPromoPage-BUDBWd8m-CIMCfIY6.js} +12 -12
  196. package/dist/assets/{ZeniAccountSetupPage-Bpqw-wqp-BvxvHEo0.js → ZeniAccountSetupPage-BD0OhX5Z-CotZyeZ5.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-Hh9chHJi-RwVTsccT.js → ZeniCopyright-DPQzZYUR-KHcq5VOQ.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-sf0kghb5-n3R2asqM.js → ZeniTransferAmountSlider-BM8wKUEY-DlBYyOPL.js} +7 -7
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-Db5fod9i.js → add-to-wallet-DgdBD8_G-D4tNYjqP.js} +1 -1
  200. package/dist/assets/{analytics-CQziHS33.js → analytics-BTo2lvc5.js} +1 -1
  201. package/dist/assets/{analyticsHelper-DQHFgahw-Cp99KaIG.js → analyticsHelper-BOam8HWk-DTVMIEqW.js} +1 -1
  202. package/dist/assets/{analyticsHelper-OLJ9to1y.js → analyticsHelper-BeNcAjzu.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-Cxk5-yTi.js → arrow-south-east-round-PEovUgvH-BpAbcXNu.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-CNtOqhU-.js → auto-transfer-rule-mbafm5D3-DUd0RNlG.js} +1 -1
  205. package/dist/assets/{chartTypes-B53kfwdO-BhCsc3sU.js → chartTypes-DWf4SAOE-BXMQEiqd.js} +1 -1
  206. package/dist/assets/{commonDimensions-Om-6fiMl-CN-97Hnw.js → commonDimensions-BgUllk7Z-mJRWeU7K.js} +1 -1
  207. package/dist/assets/{commonTypes-DXJEXDhr-CsYzRDog.js → commonTypes-B6f3YP8V-CbYlRzb2.js} +1 -1
  208. package/dist/assets/{constants-Dg8hvPMb.js → constants-CfG3jptV.js} +1 -1
  209. package/dist/assets/{core-BPh6D8v5.js → core-CDOHNO2G.js} +1 -1
  210. package/dist/assets/{dash.all.min-Cz3Fm_5M.js → dash.all.min-C7dNtldN.js} +1 -1
  211. package/dist/assets/{detailCommon-ufPAtMvc-DhnVaCE8.js → detailCommon-ceDAo_fs-K8aKPC4G.js} +6 -6
  212. package/dist/assets/{downloadPdf-sghpXX-r-hphDTF7O.js → downloadPdf-CKymFYOO-BOWpMv5t.js} +1 -1
  213. package/dist/assets/{empty-DbW3pZ4D.js → empty-EVjF_gMV.js} +1 -1
  214. package/dist/assets/{empty-CwSMnfMr.js → empty-hw3sN7vf.js} +1 -1
  215. package/dist/assets/{epic-Chew0UQN.js → epic-CaPascl_.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ--Zu0Eh-z.js → gift-box-Cmt9OgIZ-C8C7NLZp.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CIZ3GcrY.js → graphic-no-data-l-DU4J8fDt-DrMXjgQT.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-B95c8T1V.js → graphic-no-data-net-burn-l-CzmycA0m-Bc0Qno8i.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-Dbohbn58.js → handshake-BPg58FML-1LlZ_i0d.js} +1 -1
  220. package/dist/assets/{helper-BBJS-iD4-DcHpxRaM.js → helper-C1Mwnd6M-CNavDJqc.js} +1 -1
  221. package/dist/assets/{index-DrZJrwI9.js → index-B6ONklHc.js} +1 -1
  222. package/dist/assets/{index-Dzi9AcqX.js → index-Bp4xtOn5.js} +1 -1
  223. package/dist/assets/{index-CZZQCAd2.js → index-CGTxoCJp.js} +7 -7
  224. package/dist/assets/{index-C8B9pQsQ.js → index-DE_CqoFx.js} +1 -1
  225. package/dist/assets/{index-Bvx6EJi7.js → index-DHoIuE2i.js} +1 -1
  226. package/dist/assets/{index-Di5sPRAu.js → index-DyMFy4lV.js} +1 -1
  227. package/dist/assets/{index-dJzBovkm.js → index-MbFkHHWb.js} +1 -1
  228. package/dist/assets/{lexical-CO_PvSmH.js → lexical-BeF2ZgkW.js} +1 -1
  229. package/dist/assets/{liveblocks-DYmELrdC.js → liveblocks-Dn-9djA8.js} +1 -1
  230. package/dist/assets/{lottie-BRpRA-Un.js → lottie-BYfhMHcn.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-9nfc1Ewm-CsweZHn5.js +1 -0
  232. package/dist/assets/mapSectionWithAcOnlyToTreeNode-Bi6hurdk-xVLnW0yh.js +1 -0
  233. package/dist/assets/mapSpacerToTreeNode-CHRtVS3Z-DLe2zU1L.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-B9QHM6dt-Be8Q8L2y.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-fbKpuzss-DR9K1lqX.js → mapTimeframeBalancesToTreeNode-EhyCSWUM-BVeTsmlg.js} +1 -1
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DB6zUXCA-CmA6qGT1.js +1 -0
  237. package/dist/assets/{mui-1V4DDk1u.js → mui-CD7xFf2d.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-B4o0uLRm.js → page-detail-CWX5S47F-CEsHow4e.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-DCdVDlSE.js → panelSelectedMixin-Cddsb26L-ChVQUbpx.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-DveETCoH.js → radio-default-CiSgisfh-CmFHLU8c.js} +1 -1
  241. package/dist/assets/{react-DAYLTVXK.js → react-B6PWZDXX.js} +1 -1
  242. package/dist/assets/{react-CwXZyl3z.js → react-BLzPWySR.js} +1 -1
  243. package/dist/assets/{react-CTTbIL85.js → react-BVvI-Vbl.js} +1 -1
  244. package/dist/assets/{react-BGRZeN4_.js → react-CRe95M2Y.js} +2 -2
  245. package/dist/assets/{react-BfMx9RWN.js → react-Cxxg-6rQ.js} +1 -1
  246. package/dist/assets/{react-DvMoib_r.js → react-DJKM9DI1.js} +1 -1
  247. package/dist/assets/{react-BhKvphZC.js → react-Dc3Fbg1h.js} +1 -1
  248. package/dist/assets/{react-DrvHBxOA.js → react-DtCoLsdE.js} +1 -1
  249. package/dist/assets/{recharts-W_ILlOEk.js → recharts-CeYsUNdm.js} +1 -1
  250. package/dist/assets/{sentry-KKNtqb_g.js → sentry-CuNQ_GI9.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-DYMhAzvU.js → shield-DOlUxcFf-BIELJ6pj.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-BHpR5IjE-BC__zjt5.js +1 -0
  253. package/dist/assets/{toChartData-DJeOVqss-Ckap6Mgt.js → toChartData-wLoMfnuk-B5A976Ge.js} +1 -1
  254. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-DHlUSExT.js → upload-reimbursement-receipt-O2N8vcO7-wGaBLxcB.js} +1 -1
  255. package/dist/assets/{uploadAttachment-BjSr5jfA-5o3rK0wU.js → uploadAttachment-DiB8ywoD-CoooZKCI.js} +4 -4
  256. package/dist/assets/{uploadReceipts-Dge0cNF1-BxDjc4Mk.js → uploadReceipts-Dge0cNF1-DYfDjXeu.js} +1 -1
  257. package/dist/assets/{url-BOcnt56d.js → url-CLDcbK8W.js} +1 -1
  258. package/dist/assets/{url-DpR8Zh5r.js → url-DvLmNXM-.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-BWV9Umwr.js → useLongPress-GCK2COYQ-D_m3f9kb.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-DkxZf2LY.js → usp-line-BBd1wKwW-BHWavx9j.js} +1 -1
  261. package/dist/assets/{utils-DuPmVt2f.js → utils-i_tuliLj.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-BIDncbwZ.js → zeni-epic-state-BJYsNVul.js} +3 -3
  263. package/dist/index.html +1 -1
  264. package/package.json +2 -2
  265. package/dist/assets/AccountInfoPage-rFTZmOvo-DL0RDmZu.js +0 -18
  266. package/dist/assets/AddAddressForCardDrawer-BmEFIMt4-CVY0gF8P.js +0 -6
  267. package/dist/assets/ChargeCardPromoPage-CR7Jo6Il-OQWmOWWv.js +0 -222
  268. package/dist/assets/CustomerOnboardingContainerPage-DD9nA6Bu-Bp08bFX-.js +0 -1
  269. package/dist/assets/EntityDetailPage-BdsjHAh4-D2cQRotr.js +0 -18
  270. package/dist/assets/LabeledControlledCheckBoxField-DlQqluVv-BVJ5kTmb.js +0 -16
  271. package/dist/assets/MagicLinkACHDetailsPage-D9dtxxoU-CUE02Q_7.js +0 -1
  272. package/dist/assets/MagicLinkDomesticWireDetailsPage-BakTLi7l-DD27DPrq.js +0 -1
  273. package/dist/assets/MagicLinkInternationalWireDetailsPage-BeRb8gxx-DwqfWI26.js +0 -1
  274. package/dist/assets/MailingDetailsSection-DXKO0Y-W-Ds1E0EkO.js +0 -21
  275. package/dist/assets/RoleWithToolTip-BIBVAADS-DMOgVdZw.js +0 -22
  276. package/dist/assets/SummaryCard-63rY1JXk-BoPHME_4.js +0 -1
  277. package/dist/assets/TransactionList-4mJl7knT-DqG87PM9.js +0 -153
  278. package/dist/assets/VendorACHDetailsPage-CF8jFtK9-Bo23tOjB.js +0 -1
  279. package/dist/assets/VendorDomesticWireDetailsPage-BeqW1jo4-D9Dx30c9.js +0 -1
  280. package/dist/assets/VendorInternationalWireSwiftDetailsPage-z04tKP7M-CcKSJMfU.js +0 -1
  281. package/dist/assets/mapLoadingInProgressToTreeNode-Wii9H08B-DMwkFEgt.js +0 -1
  282. package/dist/assets/mapSectionWithAcOnlyToTreeNode-9zuQ7sNi-Wfqd9hcz.js +0 -1
  283. package/dist/assets/mapSpacerToTreeNode-BAzbdSwd-DpMVDymh.js +0 -1
  284. package/dist/assets/mapTimeframeBalancesToTreeNode-CtMEj9WJ-CRNATqeg.js +0 -1
  285. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DIE9gcY0-BMQnsLW7.js +0 -1
  286. package/dist/assets/toCOABalancesWithID-shajGRBP-BsWBm72Q.js +0 -1
@@ -0,0 +1,18 @@
1
+ import{y as x,J as y,V as t,gY as b,o as r,x as d,hL as D,u as i}from"./index-CGTxoCJp.js";import{a as P}from"./sentry-CuNQ_GI9.js";import{n as o}from"./mui-CD7xFf2d.js";import{K as $}from"./StatusSwitcher-CmZuoA5C-CAazKXUL.js";import{r as z}from"./AccountInfoPageContent-C0dKzQoF-BOCBaroQ.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./downloadPdf-CKymFYOO-BOWpMv5t.js";import"./commonDimensions-BgUllk7Z-mJRWeU7K.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]="fdea619c-1d8a-44e7-a697-f3fe447973c2",e._sentryDebugIdIdentifier="sentry-dbid-fdea619c-1d8a-44e7-a697-f3fe447973c2")}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])},q=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:f,currentTenant:u,onDismissClick:g})=>{const p=x(),c=y(),[l,m]=P.useState("achDetails"),w=h=>{m(h)};return t.jsxs(T,{children:[t.jsx(b,{title:"",backgroundColor:p.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:g}),t.jsx(S,{windowSize:c,children:a.accountName}),t.jsx(j,{children:t.jsx($,{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:f,currentTenant:u,depositAccount:a})})]})},A=o.div`
2
+ padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
3
+ padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
4
+ `,T=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
+ `,S=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
+ `,j=o.div`
16
+ display: flex;
17
+ justify-content: flex-start;
18
+ `;export{q as default};
@@ -1,16 +1,16 @@
1
- import{J as je,h6 as Ae,hM as Y,V as r,bV as L,L as Se,ac as z,o as a,b9 as Te,b as ve,c5 as De,p as E,ak as re,g as Ce,ha as Le,an as ae}from"./index-CZZQCAd2.js";import{a as s}from"./sentry-KKNtqb_g.js";import{n as t}from"./mui-1V4DDk1u.js";import{w as ze}from"./downloadPdf-sghpXX-r-hphDTF7O.js";import{o as _e}from"./commonDimensions-Om-6fiMl-CN-97Hnw.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]="ce055175-589b-4001-a895-1c232a320c4a",e._sentryDebugIdIdentifier="sentry-dbid-ce055175-589b-4001-a895-1c232a320c4a")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:Z},billPay:{vendorCreation:{achDetails:o}},downloads:F}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,P]=Ae(),[N,te]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,J]=s.useState(!1),[w,R]=s.useState(!1),[j,V]=s.useState(!1),[A,q]=s.useState(!1),[S,O]=s.useState(!1),[T,G]=s.useState(!1),[v,U]=s.useState(!1),[$,B]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=Y(u.zeniAccountsConfigDetail.mailingAddress).text2,m=Y(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{J(!1),G(!1),U(!1),B(!1),O(!1),q(!1),V(!1),R(!1)},1200)},[h,T,v,$,S,A,j,w]);const H=(f,c)=>{switch(f){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":fe(c);break;case"beneficiaryAddress":pe(c);break;case"bankAddress":ye(c);break}},$e=f=>{let c;f==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
1
+ import{J as je,h6 as Ae,hM as Y,V as r,bV as L,L as Se,ac as z,o as a,b9 as Te,b as ve,c5 as De,p as E,ak as re,g as Ce,ha as Le,an as ae}from"./index-CGTxoCJp.js";import{a as s}from"./sentry-CuNQ_GI9.js";import{n as t}from"./mui-CD7xFf2d.js";import{w as ze}from"./downloadPdf-CKymFYOO-BOWpMv5t.js";import{o as _e}from"./commonDimensions-BgUllk7Z-mJRWeU7K.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]="ae1d9d04-467b-4f63-8a1b-10e2d065ac9b",e._sentryDebugIdIdentifier="sentry-dbid-ae1d9d04-467b-4f63-8a1b-10e2d065ac9b")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:Z},billPay:{vendorCreation:{achDetails:o}},downloads:F}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,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),[me,pe]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,J]=s.useState(!1),[w,R]=s.useState(!1),[j,V]=s.useState(!1),[A,q]=s.useState(!1),[S,O]=s.useState(!1),[T,G]=s.useState(!1),[v,U]=s.useState(!1),[$,B]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=Y(u.zeniAccountsConfigDetail.mailingAddress).text2,m=Y(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{J(!1),G(!1),U(!1),B(!1),O(!1),q(!1),V(!1),R(!1)},1200)},[h,T,v,$,S,A,j,w]);const H=(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
- ${o.accountTypeLabel} ${n.accountSubType.name??""}
3
+ ${o.accountTypeLabel} ${c.accountSubType.name??""}
4
4
 
5
- ${o.bankAccountNumber} ${n.accountNumber}
5
+ ${o.bankAccountNumber} ${c.accountNumber}
6
6
 
7
7
  ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
8
8
 
9
- ${o.bankAddress} ${m}`:c=`${o.bankRoutingNumber} ${n.routingNumberAch}
9
+ ${o.bankAddress} ${m}`:n=`${o.bankRoutingNumber} ${c.routingNumberAch}
10
10
 
11
- ${o.accountTypeLabel} ${n.accountSubType.name??""}
11
+ ${o.accountTypeLabel} ${c.accountSubType.name??""}
12
12
 
13
- ${o.bankAccountNumber} ${n.accountNumber}
13
+ ${o.bankAccountNumber} ${c.accountNumber}
14
14
 
15
15
  ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
16
16
 
@@ -18,10 +18,10 @@ ${o.beneficiaryName} ${D}
18
18
 
19
19
  ${o.bankAddress} ${m}
20
20
 
21
- ${o.beneficiaryAddress} ${C}`,P(c),J(!0)},i=(f,c,x,Q)=>{let d,l;switch(x){case"acccountNumber":d=ne,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=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":U(!0);break;case"routingNumber":B(!0);break;case"bankName":O(!0);break;case"beneficiaryName":R(!0);break;case"beneficiaryAddress":q(!0);break;case"bankAddress":V(!0);break}};return r.jsxs(qe,{onMouseEnter:()=>H(x,!0),onMouseLeave:()=>H(x,!1),children:[r.jsx(Oe,{children:f}),r.jsx(Ue,{children:r.jsxs(Be,{children:[r.jsxs(Ge,{children:[d||oe==="small"?r.jsx(_,{children:r.jsx(L,{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(W,{"data-testid":z("account-info-copy",x),onClick:()=>{P(c),we()}})})}):null,c]}),Q!=null?r.jsx(He,{children:Q}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:n.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(Me,{children:[r.jsxs(Pe,{children:[r.jsx(Re,{children:p==="achDetails"?Z.achTitle:Z.wireTitle}),r.jsxs(Je,{children:[r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?F.downloading:F.download}),enterDelay:600,children:N===!0?r.jsx(Se,{size:"Small",start:!0}):r.jsx(Ve,{"data-testid":z("account-info-download-pdf"),onClick:()=>{ze(Ne,Ie.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(L,{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(W,{onClick:()=>$e(p),"data-testid":z("title-text-copy")})})})]})]}),p==="achDetails"?r.jsxs(Qe,{children:[r.jsx(K,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(X,{children:i(o.bankAddress,m,"bankAddress")}):null]}):p==="wireDetails"?r.jsxs(Ye,{children:[r.jsx(K,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(b,{children:i(o.bankAddress,m,"bankAddress")}):null,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``,Me=t.div`
21
+ ${o.beneficiaryAddress} ${C}`,M(n),J(!0)},i=(f,n,x,Q)=>{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=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":U(!0);break;case"routingNumber":B(!0);break;case"bankName":O(!0);break;case"beneficiaryName":R(!0);break;case"beneficiaryAddress":q(!0);break;case"bankAddress":V(!0);break}};return r.jsxs(qe,{onMouseEnter:()=>H(x,!0),onMouseLeave:()=>H(x,!1),children:[r.jsx(Oe,{children:f}),r.jsx(Ue,{children:r.jsxs(Be,{children:[r.jsxs(Ge,{children:[d||oe==="small"?r.jsx(_,{children:r.jsx(L,{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(W,{"data-testid":z("account-info-copy",x),onClick:()=>{M(n),we()}})})}):null,n]}),Q!=null?r.jsx(He,{children:Q}):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(Re,{children:p==="achDetails"?Z.achTitle:Z.wireTitle}),r.jsxs(Je,{children:[r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?F.downloading:F.download}),enterDelay:600,children:N===!0?r.jsx(Se,{size:"Small",start:!0}):r.jsx(Ve,{"data-testid":z("account-info-download-pdf"),onClick:()=>{ze(Ne,Ie.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(L,{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(W,{onClick:()=>$e(p),"data-testid":z("title-text-copy")})})})]})]}),p==="achDetails"?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(X,{children:i(o.bankAddress,m,"bankAddress")}):null]}):p==="wireDetails"?r.jsxs(Ye,{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(X,{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
- `,Pe=t.div`
24
+ `,Me=t.div`
25
25
  display: flex;
26
26
  align-items: center;
27
27
  justify-content: space-between;
@@ -40,7 +40,7 @@ ${o.beneficiaryAddress} ${C}`,P(c),J(!0)},i=(f,c,x,Q)=>{let d,l;switch(x){case"a
40
40
  &:hover {
41
41
  color: ${e=>e.theme.colors.primary};
42
42
  }
43
- `,M=t.div`
43
+ `,P=t.div`
44
44
  box-sizing: border-box;
45
45
  min-height: ${_e.transactionItemHeight}px;
46
46
  display: flex;
@@ -57,7 +57,7 @@ ${o.beneficiaryAddress} ${C}`,P(c),J(!0)},i=(f,c,x,Q)=>{let d,l;switch(x){case"a
57
57
  color: ${e=>e.theme.colors.grey1};
58
58
  }
59
59
  }
60
- `,K=t(M)`
60
+ `,K=t(P)`
61
61
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
62
62
  display: flex;
63
63
  border-top-width: 1px;
@@ -72,7 +72,7 @@ ${o.beneficiaryAddress} ${C}`,P(c),J(!0)},i=(f,c,x,Q)=>{let d,l;switch(x){case"a
72
72
  &:hover {
73
73
  border-bottom-width: 1px;
74
74
  }
75
- `,X=t(M)`
75
+ `,X=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;
@@ -134,7 +134,7 @@ ${o.beneficiaryAddress} ${C}`,P(c),J(!0)},i=(f,c,x,Q)=>{let d,l;switch(x){case"a
134
134
  text-align: end;
135
135
  `,I=t(re)`
136
136
  color: ${e=>e.isTextCopied?E.primaryDark:E.neutralGrey1Light};
137
- `,b=t(M)`
137
+ `,b=t(P)`
138
138
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
139
139
  display: flex;
140
140
  border-radius: ${a.sp0};
@@ -1,4 +1,4 @@
1
- import{y as f,b as d,V as t,an as x,bc as l,a as b,o,p,as as y,b$ as j,c0 as $,c1 as w,bU as k}from"./index-CZZQCAd2.js";import{n as r}from"./mui-1V4DDk1u.js";import{t as v}from"./handshake-BPg58FML-Dbohbn58.js";import"./sentry-KKNtqb_g.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./zeni-epic-state-BIDncbwZ.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.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]="b7aed6ce-7228-41d2-9414-990eb98d3b6c",e._sentryDebugIdIdentifier="sentry-dbid-b7aed6ce-7228-41d2-9414-990eb98d3b6c")}catch{}})();const m="support@zeni.ai",n=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=f(),u=e.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),g=e.format(d.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(M,{children:[t.jsx(S,{children:n.accountLockedTitle}),t.jsxs(C,{children:[t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(A,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(z,{})}),t.jsxs(l,{children:[n.tryAgainAfter,t.jsxs(L,{children:[u,t.jsx(_,{children:"•"}),g]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(T,{})}),t.jsxs(l,{children:[n.accountLockedContactMessage,t.jsx(I,{href:`mailto:${m}`,children:m})]})]}),t.jsx(b,{variant:"primary",label:n.understood,onClick:i})]})]})};function D({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(Y,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const M=r.div`
1
+ import{y as f,b as d,V as t,an as x,bc as l,a as b,o,p,as as y,b$ as j,c0 as $,c1 as w,bU as k}from"./index-CGTxoCJp.js";import{n as r}from"./mui-CD7xFf2d.js";import{t as v}from"./handshake-BPg58FML-1LlZ_i0d.js";import"./sentry-CuNQ_GI9.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.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]="b7aed6ce-7228-41d2-9414-990eb98d3b6c",e._sentryDebugIdIdentifier="sentry-dbid-b7aed6ce-7228-41d2-9414-990eb98d3b6c")}catch{}})();const m="support@zeni.ai",n=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=f(),u=e.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),g=e.format(d.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(M,{children:[t.jsx(S,{children:n.accountLockedTitle}),t.jsxs(C,{children:[t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(A,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(z,{})}),t.jsxs(l,{children:[n.tryAgainAfter,t.jsxs(L,{children:[u,t.jsx(_,{children:"•"}),g]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(T,{})}),t.jsxs(l,{children:[n.accountLockedContactMessage,t.jsx(I,{href:`mailto:${m}`,children:m})]})]}),t.jsx(b,{variant:"primary",label:n.understood,onClick:i})]})]})};function D({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(Y,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const M=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{aa as fe,fF as xe,V as t,ae as ye,cs as ge,ct as je,cu as Se,o as c,M as $e,b9 as X,ao as G,d as be,ab as ke,dP as ve,eY as we,d7 as Q,dy as Z,b as Ce,an as d,y as Ee,aQ as Pe,by as ee,dS as te,av as Re,p as ne,g as Ie}from"./index-CZZQCAd2.js";import{a as r}from"./sentry-KKNtqb_g.js";import{n as o}from"./mui-1V4DDk1u.js";import{bL as oe,Hn as De,Ho as Te}from"./zeni-epic-state-BIDncbwZ.js";import{E as _e,C as Fe,w as Ue,f as Me}from"./AccountRow-kn3U0JbW-CqKCifJj.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.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]="d52bd971-b602-4906-b753-01a5363ae6ac",e._sentryDebugIdIdentifier="sentry-dbid-d52bd971-b602-4906-b753-01a5363ae6ac")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Le=o.div`
1
+ import{aa as fe,fF as xe,V as t,ae as ye,cs as ge,ct as je,cu as Se,o as c,M as $e,b9 as X,ao as G,d as be,ab as ke,dP as ve,eY as we,d7 as Q,dy as Z,b as Ce,an as d,y as Ee,aQ as Pe,by as ee,dS as te,av as Re,p as ne,g as Ie}from"./index-CGTxoCJp.js";import{a as r}from"./sentry-CuNQ_GI9.js";import{n as o}from"./mui-CD7xFf2d.js";import{bL as oe,Hn as De,Ho as Te}from"./zeni-epic-state-BJYsNVul.js";import{E as _e,C as Fe,w as Ue,f as Me}from"./AccountRow-D1Jqgk7o-DewC0XFv.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.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]="160121de-38bf-4339-9fae-aa4c61a82b9c",e._sentryDebugIdIdentifier="sentry-dbid-160121de-38bf-4339-9fae-aa4c61a82b9c")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Le=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{V as t,aQ as E,bV as f,o,ac as y,ab as se,dP as re,b as le,an as b,dQ as de,p as g,dR as X,dS as Y,d2 as ue,aX as x,ak as Z,u as p,J as xe,y as I,b1 as pe,dw as he,ap as ge,a as me,ao as S,bM as fe,dI as je}from"./index-CZZQCAd2.js";import{a as ye}from"./sentry-KKNtqb_g.js";import{n as a,c as be}from"./mui-1V4DDk1u.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]="442e9ea8-bbf4-41e5-9d7b-d6af5db908d8",e._sentryDebugIdIdentifier="sentry-dbid-442e9ea8-bbf4-41e5-9d7b-d6af5db908d8")}catch{}})();const we=a.div`
1
+ import{V as t,aQ as E,bV as f,o,ac as y,ab as se,dP as re,b as le,an as w,dQ as de,p as g,dR as X,dS as Y,d2 as ue,aX as x,ak as Z,u as p,J as xe,y as I,b1 as pe,dw as he,ap as ge,a as me,ao as S,bM as fe,dI as je}from"./index-CGTxoCJp.js";import{a as ye}from"./sentry-CuNQ_GI9.js";import{n as a,c as we}from"./mui-CD7xFf2d.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]="5bed62e0-bdf4-4676-ac1f-7c14c16a10f6",e._sentryDebugIdIdentifier="sentry-dbid-5bed62e0-bdf4-4676-ac1f-7c14c16a10f6")}catch{}})();const $e=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,aQ as E,bV as f,o,ac as y,ab as se,dP as re,b as le,an as b,dQ as
8
8
  border-left: 1px dotted ${e.theme.colors.grey1};
9
9
  height: 12px;
10
10
  `:""};
11
- `,$e=a.div`
11
+ `,be=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,aQ as E,bV as f,o,ac as y,ab as se,dP as re,b as le,an as b,dQ as
38
38
  margin-left: 2px;
39
39
  width: 12px;
40
40
  height: 12px;
41
- `;function Te({className:e,color:n,dataTestId:i,firstLetter:c,showCollapsedIcon:l,showIcon:d,showTreeLine:s=!1}){return t.jsx(we,{showTreeLine:s,collapsed:l,"data-testid":i,children:t.jsx($e,{colour:n,className:e,children:t.jsx(Ce,{children:d===!0?l===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(ve,{colour:n,className:e,children:c})})})})}const Ee=a.div`
41
+ `;function Te({className:e,color:n,dataTestId:i,firstLetter:c,showCollapsedIcon:l,showIcon:d,showTreeLine:s=!1}){return t.jsx($e,{showTreeLine:s,collapsed:l,"data-testid":i,children:t.jsx(be,{colour:n,className:e,children:t.jsx(Ce,{children:d===!0?l===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(ve,{colour:n,className:e,children:c})})})})}const Ee=a.div`
42
42
  display: flex;
43
43
  flex: 1 1 auto;
44
44
  max-height: 1px;
@@ -64,7 +64,7 @@ import{V as t,aQ as E,bV as f,o,ac as y,ab as se,dP as re,b as le,an as b,dQ as
64
64
  background-color: ${e=>e.isLastRow?e.theme.colors.hero:e.isSelectedRow?e.theme.colors.primary:e.theme.colors.grey3};
65
65
  }
66
66
  .any-text-container {
67
- ${e=>e.isSelectedRow?be`
67
+ ${e=>e.isSelectedRow?we`
68
68
  color: ${e.theme.colors.primary};
69
69
  `:null}
70
70
  }
@@ -108,7 +108,7 @@ import{V as t,aQ as E,bV as f,o,ac as y,ab as se,dP as re,b as le,an as b,dQ as
108
108
  align-items: center;
109
109
  gap: ${o.sp1};
110
110
  margin-top: ${o.sp1};
111
- `,Ve=a(b)`
111
+ `,Ve=a(w)`
112
112
  user-select: none;
113
113
  clear: both;
114
114
  display: inline-block;
@@ -125,18 +125,18 @@ import{V as t,aQ as E,bV as f,o,ac as y,ab as se,dP as re,b as le,an as b,dQ as
125
125
  justify-content: flex-end;
126
126
  align-items: center;
127
127
  color: ${e=>e.theme.colors.hero};
128
- `,Oe=a(b)`
128
+ `,Oe=a(w)`
129
129
  width: ${u.bankBalanceWidth}px;
130
130
  min-width: ${u.bankBalanceWidth}px;
131
131
  text-align: right;
132
132
  `,Qe=a.div`
133
133
  width: ${u.bankBalanceRightWidth}px;
134
134
  min-width: ${u.bankBalanceRightWidth}px;
135
- `,Me=a(b)`
135
+ `,Me=a(w)`
136
136
  width: ${u.clearedBalanceWidth}px;
137
137
  min-width: ${u.clearedBalanceWidth}px;
138
138
  text-align: right;
139
- `,Ue=a(b)`
139
+ `,Ue=a(w)`
140
140
  width: ${u.statusWidth}px;
141
141
  min-width: ${u.statusWidth}px;
142
142
  height: 1px;
@@ -166,12 +166,12 @@ import{V as t,aQ as E,bV as f,o,ac as y,ab as se,dP as re,b as le,an as b,dQ as
166
166
  text-align: center;
167
167
  gap: ${o.sp2};
168
168
  margin-left: ${u.tickLeftMargin}px;
169
- `,qe=a(b)`
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
- `,Je=a(b)`
174
+ `,Je=a(w)`
175
175
  border-radius: ${o.sp1};
176
176
  padding: ${o.sp0} ${o.sp1};
177
177
  justify-content: center;
@@ -200,7 +200,7 @@ import{V as t,aQ as E,bV as f,o,ac as y,ab as se,dP as re,b as le,an as b,dQ as
200
200
  width: ${o.sp3};
201
201
  height: ${o.sp3};
202
202
  color: ${g.success};
203
- `,C=a(b)`
203
+ `,C=a(w)`
204
204
  text-align: right;
205
205
  `,et=a.div`
206
206
  display: flex;
@@ -210,7 +210,7 @@ import{V as t,aQ as E,bV as f,o,ac as y,ab as se,dP as re,b as le,an as b,dQ as
210
210
  `,tt=a(ue)`
211
211
  width: ${o.sp3};
212
212
  height: ${o.sp3};
213
- `,nt=a(b)`
213
+ `,nt=a(w)`
214
214
  text-align: right;
215
215
  color: ${g.important};
216
216
  cursor: pointer;
@@ -238,14 +238,14 @@ import{V as t,aQ as E,bV as f,o,ac as y,ab as se,dP as re,b as le,an as b,dQ as
238
238
  height: 12px;
239
239
  color: ${e=>e.iconColor.hex()};
240
240
  margin-top: ${o.sp1};
241
- `,w=a.div`
241
+ `,$=a.div`
242
242
  display: flex;
243
243
  gap: ${o.sp1};
244
244
  `,O=a.div`
245
245
  display: flex;
246
246
  flex-direction: column;
247
247
  align-items: center;
248
- `,K=a(b)`
248
+ `,K=a(w)`
249
249
  color: ${e=>e.theme.colors.hero};
250
250
  `,Q=a.div`
251
251
  display: flex;
@@ -295,4 +295,4 @@ import{V as t,aQ as E,bV as f,o,ac as y,ab as se,dP as re,b as le,an as b,dQ as
295
295
  width: ${o.sp3};
296
296
  height: ${o.sp3};
297
297
  margin-top: 2px;
298
- `,{expenseAutomation:{accountRecon:{reconciliation:r}},common:{strings:{hyphen:h,percentage:gt}}}=le.getLocalizedStrings();function _t({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:s,onReconnectClicked:m,onStatementAddClicked:k}){const P=xe(),B=I(),v=n.accountReconEntity.account.accountName,W=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{s?.(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),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 J=e;return i&&(J=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountId),heightValue:J,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(bt,{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(Qe,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Me,{children:t.jsx(wt,{clearedBalance:j,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Fe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Ue,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="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=I(),{varianceColor:d,variancePercentageColor:s,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(qe,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Je,{textColor:s,bgColor:m,className:"any-text-container",children:k})]})},ft=(e,n,i,c)=>{let l,d,s;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),s=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),s=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),s=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:s}},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,s=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=r.status.balanceNotFound:e.accountReconEntity.balance==null?m=r.status.bankBalanceNotFound:m=r.status.clearedBalanceNotFound,t.jsx($t,{status:m,tooltipText:s})}if(l==="reconnect"||l==="not_connected")return t.jsx(V,{tooltipText:s,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:s});case"in_progress":return t.jsx(te,{tooltipText:s});case"failed":return t.jsx(ee,{tooltipText:s});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:s});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:s})},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,s=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:s,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:r.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:s});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:s});case"in_progress":return t.jsx(te,{tooltipText:s});case"failed":return t.jsx(ee,{tooltipText:s});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:s})},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(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($,{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?r.status.reconciledVia:r.status.reconciledBy})]}),n?t.jsx(G,{children:r.status.QBOUser}):e&&t.jsxs(G,{children:[e.firstName," ",e.lastName]})]})}),bt=({bankBalance:e,accountType:n,bankConnection:i,statementStatus:c,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:s,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($,{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:r.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:r.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"?s?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},wt=({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(w,{children:t.jsxs(O,{children:[t.jsx(A,{iconColor:n}),t.jsx(Q,{children:t.jsx(M,{textColor:n,children:r.status.reconciliationFailed})}),t.jsx(F,{children:t.jsx(U,{textColor:n,children:r.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(w,{children:[t.jsx(A,{iconColor:i}),t.jsxs(O,{children:[t.jsx(Q,{children:t.jsx(M,{textColor:i,children:e})}),t.jsx(F,{children:t.jsx(U,{textColor:i,children:r.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=I(),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(w,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:i,children:r.status.autoReconInProgress}),t.jsx(R,{textColor:i,children:r.status.isInProgress})]})})})},vt=()=>{const e=I(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:r.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:r.status.isInProgress})]})})},Ct=()=>{const e=I(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:r.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:r.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(w,{children:[t.jsx(A,{iconColor:c}),t.jsxs(O,{children:[t.jsx(Q,{children:t.jsx(M,{textColor:c,children:l})}),t.jsx(F,{children:t.jsx(U,{textColor:c,children:r.status.failed})})]})]})})},V=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx(w,{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(w,{children:t.jsx(K,{children:h})})}),$=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:r.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:r.menu.bankConnection,value:"bank_connection"}),n.push({label:r.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=r.status.statementParseError;break;case"validation_failed":c=r.status.statementValidationFailed;break;case"processing_failed":c=r.status.statementProcessingFailed;break;default:c=r.status.statementParseError;break}return n==="drawer"&&(c=c+" "+r.status.failed),c};export{Te as B,bt as C,Lt as D,Et as E,Wt as N,_t as R,ft as f,u,wt as w};
298
+ `,{expenseAutomation:{accountRecon:{reconciliation:r}},common:{strings:{hyphen:h,percentage:gt}}}=le.getLocalizedStrings();function _t({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:s,onReconnectClicked:m,onStatementAddClicked:k}){const P=xe(),B=I(),v=n.accountReconEntity.account.accountName,W=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{s?.(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),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 J=e;return i&&(J=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountId),heightValue:J,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(Qe,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Me,{children:t.jsx($t,{clearedBalance:j,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Fe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Ue,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="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=I(),{varianceColor:d,variancePercentageColor:s,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(qe,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Je,{textColor:s,bgColor:m,className:"any-text-container",children:k})]})},ft=(e,n,i,c)=>{let l,d,s;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),s=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),s=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),s=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:s}},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,s=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=r.status.balanceNotFound:e.accountReconEntity.balance==null?m=r.status.bankBalanceNotFound:m=r.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:s})}if(l==="reconnect"||l==="not_connected")return t.jsx(V,{tooltipText:s,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:s});case"in_progress":return t.jsx(te,{tooltipText:s});case"failed":return t.jsx(ee,{tooltipText:s});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:s});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:s})},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,s=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:s,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:r.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:s});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:s});case"in_progress":return t.jsx(te,{tooltipText:s});case"failed":return t.jsx(ee,{tooltipText:s});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:s})},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(Xe,{children:[t.jsx(Ze,{}),t.jsx(Ye,{children:n?r.status.reconciledVia:r.status.reconciledBy})]}),n?t.jsx(G,{children:r.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:s,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:r.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:r.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"?s?.():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(Q,{children:t.jsx(M,{textColor:n,children:r.status.reconciliationFailed})}),t.jsx(F,{children:t.jsx(U,{textColor:n,children:r.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(Q,{children:t.jsx(M,{textColor:i,children:e})}),t.jsx(F,{children:t.jsx(U,{textColor:i,children:r.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=I(),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:r.status.autoReconInProgress}),t.jsx(R,{textColor:i,children:r.status.isInProgress})]})})})},vt=()=>{const e=I(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:r.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:r.status.isInProgress})]})})},Ct=()=>{const e=I(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:r.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:r.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(Q,{children:t.jsx(M,{textColor:c,children:l})}),t.jsx(F,{children:t.jsx(U,{textColor:c,children:r.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:r.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:r.menu.bankConnection,value:"bank_connection"}),n.push({label:r.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=r.status.statementParseError;break;case"validation_failed":c=r.status.statementValidationFailed;break;case"processing_failed":c=r.status.statementProcessingFailed;break;default:c=r.status.statementParseError;break}return n==="drawer"&&(c=c+" "+r.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};
@@ -1,4 +1,4 @@
1
- import{b as Z,V as o,o as t,a_ as z,p as v,as as ne,w as ae,bw as ie,bx as se,by as ce,bz as le,bA as V,h as de,aR as E,aO as pe,y as J,ay as ue,ac as H,aZ as he,aP as me,aU as ge,ak as K,ax as xe,b7 as fe,an as ye,bc as Ce}from"./index-CZZQCAd2.js";import{a as O,P as I}from"./sentry-KKNtqb_g.js";import{c as $e}from"./SummaryCard-63rY1JXk-BoPHME_4.js";import{n as r,k as F,c as Q}from"./mui-1V4DDk1u.js";import{Fx as be}from"./zeni-epic-state-BIDncbwZ.js";import{N as R}from"./NavigationArrow-DIFM2upZ-Dnb7czTw.js";import{k as ve}from"./NavigationDots-Db1I_vts-Bg46VZRN.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]="4272e1e7-5e5d-4489-93ff-e7f29da3ee0e",e._sentryDebugIdIdentifier="sentry-dbid-4272e1e7-5e5d-4489-93ff-e7f29da3ee0e")}catch{}})();const je="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",we="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return F`
1
+ import{b as Z,V as o,o as t,a_ as z,p as v,as as ne,w as ae,bw as ie,bx as se,by as ce,bz as le,bA as V,h as de,aR as E,aO as pe,y as J,ay as ue,ac as H,aZ as he,aP as me,aU as ge,ak as K,ax as xe,b7 as fe,an as ye,bc as Ce}from"./index-CGTxoCJp.js";import{a as O,P as I}from"./sentry-CuNQ_GI9.js";import{c as $e}from"./SummaryCard-DiwOZob1-BzF2DJC-.js";import{n as r,k as F,c as Q}from"./mui-CD7xFf2d.js";import{Fx as be}from"./zeni-epic-state-BJYsNVul.js";import{N as R}from"./NavigationArrow-2B-EgvgC-BK9qtbBJ.js";import{k as ve}from"./NavigationDots-BrWdpJ3R-DuPdXi3_.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]="c9833379-576d-4eb4-9a4a-411155f5e0eb",e._sentryDebugIdIdentifier="sentry-dbid-c9833379-576d-4eb4-9a4a-411155f5e0eb")}catch{}})();const je="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",we="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return F`
2
2
  0% {
3
3
  opacity: 0;
4
4
  transform: translateX(${i});
@@ -0,0 +1,6 @@
1
+ import{y as h,J as S,aS as w,w as r,V as l,jD as T,o as t,x as c,ac as x,b as B,u as n}from"./index-CGTxoCJp.js";import{a as C}from"./sentry-CuNQ_GI9.js";import{n as P}from"./mui-CD7xFf2d.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="a3ab0fd5-c36f-41c0-8aa0-b714eb76c293",e._sentryDebugIdIdentifier="sentry-dbid-a3ab0fd5-c36f-41c0-8aa0-b714eb76c293")}catch{}})();const m={marginTop:new c(n[0],18),marginBottom:new c(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:p}},common:j}=B.getLocalizedStrings(),L=({googleAPIKey:e,customAddress:o,customAddressStatus:a,onDismissClick:d,onSubmitHandler:g})=>{const u=h(),s=S(),i=w(a.fetchState);C.useEffect(()=>{i==="In-Progress"&&a.fetchState==="Completed"&&d()},[a.fetchState,d,i]);const b=s==="small"?r.extraSmallRegular.cssObject:r.standardRegular.cssObject,f=s==="small"?r.standardMedium.cssObject:r.h5Regular.cssObject;return l.jsx(I,{"data-testid":x("add-address-for-card-drawer"),children:l.jsx(T,{googleAPIKey:e,loadingState:a.fetchState,addressToEdit:o,onSubmitHandler:y=>g(y),onCancel:d,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:p.addAddress,subTitleMessage:p.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:m.marginTop.valuePx(s),marginBottom:m.marginBottom.valuePx(s),...f},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...b,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:j.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},I=P.div`
2
+ display: flex;
3
+ background-color: ${e=>e.theme.colors.grey4};
4
+ height: 100%;
5
+ width: 100%;
6
+ `;export{L as default};
@@ -1,4 +1,4 @@
1
- import{J as L,a9 as le,ay as ne,b as N,V as t,bE as de,u as p,jh as pe,jA as ce,o as i,a as W,ac as A,x as m,c as $,M as b,jB as he,ji as ge,ck as xe,p as r,jC as me,bz as we,c$ as ue,an as $e,w as be,jm as ye}from"./index-CZZQCAd2.js";import{a as g}from"./sentry-KKNtqb_g.js";import{n as o,c as D}from"./mui-1V4DDk1u.js";import{Fw as fe}from"./zeni-epic-state-BIDncbwZ.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as Ie}from"./add-to-wallet-DgdBD8_G-Db5fod9i.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="301a26bb-fcd3-48de-83cb-b661b029025e",e._sentryDebugIdIdentifier="sentry-dbid-301a26bb-fcd3-48de-83cb-b661b029025e")}catch{}})();const ze=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:f={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${u-1}%`,...j(),...k}}),e.map(n=>t.jsx(De,{style:f,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),h(n.id)},children:n.label},n.id))]})},We=o.div`
1
+ import{J as L,a9 as le,ay as ne,b as N,V as t,bE as de,u as p,jh as pe,jA as ce,o as i,a as W,ac as A,x as m,c as $,M as b,jB as he,ji as ge,ck as xe,p as r,jC as me,bz as we,c$ as ue,an as $e,w as be,jm as ye}from"./index-CGTxoCJp.js";import{a as g}from"./sentry-CuNQ_GI9.js";import{n as o,c as D}from"./mui-CD7xFf2d.js";import{Fw as fe}from"./zeni-epic-state-BJYsNVul.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as ze}from"./add-to-wallet-DgdBD8_G-D4tNYjqP.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="2dcb178e-9559-4877-9349-5bee498440c4",e._sentryDebugIdIdentifier="sentry-dbid-2dcb178e-9559-4877-9349-5bee498440c4")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:f={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${u-1}%`,...j(),...k}}),e.map(n=>t.jsx(De,{style:f,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),h(n.id)},children:n.label},n.id))]})},We=o.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
  background: ${e=>e.theme.colors.grey3};
@@ -37,7 +37,7 @@ import{J as L,a9 as le,ay as ne,b as N,V as t,bE as de,u as p,jh as pe,jA as ce,
37
37
  transition: color 0.3s ease;
38
38
  padding-top: ${i.sp1};
39
39
  padding-bottom: ${i.sp1};
40
- `,{spendManagement:{chargeCard:{chargeCardsPromo:B,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},y={headingFont:new $("h6Medium","h4Regular"),subheadingFont:new $("standardRegular","h6Regular"),walletTitleFont:new $("standardSemiBold","largeSemiBold"),walletSubTitleFont:new $("extraSmallRegular","standardRegular")},Be=(e,a,h)=>t.jsxs(ot,{translatePhone:e,showIphone:h,children:[t.jsxs(at,{children:[t.jsx(gt,{children:B.timeText}),t.jsxs(rt,{children:[t.jsx(lt,{children:[...Array(4).keys()].map(l=>t.jsx(nt,{towerIndex:l},l))}),t.jsx(dt,{children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave"})})})}),t.jsx(pt,{children:t.jsx(ct,{})}),t.jsx(ht,{})]})]}),t.jsxs(it,{children:[t.jsxs(qe,{children:[t.jsx(Qe,{showTick:a}),t.jsx(Ze,{showTick:a}),t.jsx(et,{showTick:a}),t.jsx(tt,{showTick:a}),t.jsxs(wt,{translateCardSkelton:e,children:[t.jsx($t,{}),[...Array(4).keys()].map(l=>t.jsx(ut,{lineIndex:l},l))]}),a?null:t.jsx(bt,{children:t.jsx(he,{scannerTheme:"light"})})]}),t.jsx(xt,{showTick:a}),t.jsx(mt,{showTick:a,children:B.addToWallet})]}),t.jsx(st,{})]}),F=({tabType:e})=>{const a=L();return t.jsxs(He,{children:[t.jsxs(R,{children:[t.jsx(Ne,{children:t.jsx(Ge,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.openWalletAppOnPhone})]}),t.jsxs(H,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,t.jsx(P,{})]}),t.jsxs(R,{children:[t.jsx(Le,{children:t.jsx(Ve,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.verifyCard})]}),t.jsxs(H,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,t.jsx(P,{})]})]})},Et=({onGotItClick:e,isDebitCard:a,controllerEmails:h,classListFetchState:l,isChargeCardFeatureEnabled:f,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,productInformation:j,creditAccountInformation:n,debitAccountInformation:v,chargeCardDetailView:G,creditAccount:V,creditAccountRepayment:_,cardIssuedByRoles:J,cardIssuedByDepartmentName:O,cardHolderRoles:X,cardHolderDepartmentName:K})=>{const s=L(),U=le().analytics,[T,Y]=g.useState(!1),[I,q]=g.useState(!1),[Q,Z]=g.useState(!1),[ee,te]=g.useState(!1),[S,ie]=g.useState("apple"),oe=ne(),ae=fe(oe.loggedInUserRoleMap),re=z=>{ge({chargeCardDetailView:G,classListFetchState:l,analytics:U,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:J,cardIssuedByDepartmentName:O,cardHolderRoles:X,cardHolderDepartmentName:K,controllerEmails:h,pageName:"Card Activation",addToWalletType:z==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:n,debitAccountInformation:v,isChargeCardFeatureEnabled:f,creditAccount:V,creditAccountRepayment:_}),ie(z)};g.useEffect(()=>{setTimeout(()=>{Y(!0)},a?9500:4500),setTimeout(()=>{q(!0)},a?9e3:4e3),setTimeout(()=>{Z(!0)},a?10500:5500),setTimeout(()=>{te(!0)},a?15e3:1e4)},[a]);const se=T&&I,x=N.getLocalizedStrings().spendManagement.chargeCard;return t.jsx(vt,{windowSize:s,children:t.jsxs(Oe,{children:[t.jsx(de,{navBarContainerStyles:{paddingTop:p[2],alignItems:"center",paddingBottom:p[2]},title:x.addToWallet.title,ignoreScrollAction:!0,showBackButton:!1,showMenuIcon:!1,transparentBackground:!0,source:"AddToWalletPage",style:{zIndex:3},titleStyle:{marginTop:p[0]}}),t.jsxs(Xe,{windowSize:s,children:[t.jsx(yt,{windowSize:s,children:x.addToWallet.heading}),t.jsx(ft,{windowSize:s,children:x.addToWallet.subheading})]}),t.jsxs(Ke,{windowSize:s,children:[s!=="small"?t.jsx(Ct,{children:t.jsxs(Ue,{windowSize:s,children:[t.jsxs(Ye,{windowSize:s,flipCard:T,scaleCard:I,children:[t.jsx(pe,{isDebitCard:a}),t.jsx(ce,{showCrossIcon:!1,isDebitCard:a})]}),Be(Q,ee,se)]})}):null,t.jsxs(Re,{windowSize:s,children:[t.jsx(Ee,{children:t.jsx(ze,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(Je,{}),t.jsx(M,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(_e,{}),t.jsx(M,{children:d.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:i.sp4,paddingBottom:i.sp4},containerStyle:{border:i.sp0},selected:S,onToggle:re})}),t.jsxs(Fe,{children:[t.jsx(Pe,{isActive:S==="apple",children:t.jsx(F,{tabType:"apple"})}),t.jsx(Me,{isActive:S==="google",children:t.jsx(F,{tabType:"google"})})]}),s!=="small"?t.jsx(jt,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-web")})}):null]})]}),s==="small"?t.jsx(St,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-mobile")})}):null]})})},Fe=o.div`
40
+ `,{spendManagement:{chargeCard:{chargeCardsPromo:B,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},y={headingFont:new $("h6Medium","h4Regular"),subheadingFont:new $("standardRegular","h6Regular"),walletTitleFont:new $("standardSemiBold","largeSemiBold"),walletSubTitleFont:new $("extraSmallRegular","standardRegular")},Be=(e,a,h)=>t.jsxs(ot,{translatePhone:e,showIphone:h,children:[t.jsxs(at,{children:[t.jsx(gt,{children:B.timeText}),t.jsxs(rt,{children:[t.jsx(lt,{children:[...Array(4).keys()].map(l=>t.jsx(nt,{towerIndex:l},l))}),t.jsx(dt,{children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave"})})})}),t.jsx(pt,{children:t.jsx(ct,{})}),t.jsx(ht,{})]})]}),t.jsxs(it,{children:[t.jsxs(qe,{children:[t.jsx(Qe,{showTick:a}),t.jsx(Ze,{showTick:a}),t.jsx(et,{showTick:a}),t.jsx(tt,{showTick:a}),t.jsxs(wt,{translateCardSkelton:e,children:[t.jsx($t,{}),[...Array(4).keys()].map(l=>t.jsx(ut,{lineIndex:l},l))]}),a?null:t.jsx(bt,{children:t.jsx(he,{scannerTheme:"light"})})]}),t.jsx(xt,{showTick:a}),t.jsx(mt,{showTick:a,children:B.addToWallet})]}),t.jsx(st,{})]}),F=({tabType:e})=>{const a=L();return t.jsxs(He,{children:[t.jsxs(R,{children:[t.jsx(Ne,{children:t.jsx(Ge,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.openWalletAppOnPhone})]}),t.jsxs(H,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,t.jsx(P,{})]}),t.jsxs(R,{children:[t.jsx(Le,{children:t.jsx(Ve,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.verifyCard})]}),t.jsxs(H,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,t.jsx(P,{})]})]})},Et=({onGotItClick:e,isDebitCard:a,controllerEmails:h,classListFetchState:l,isChargeCardFeatureEnabled:f,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,productInformation:j,creditAccountInformation:n,debitAccountInformation:v,chargeCardDetailView:G,creditAccount:V,creditAccountRepayment:_,cardIssuedByRoles:J,cardIssuedByDepartmentName:O,cardHolderRoles:X,cardHolderDepartmentName:K})=>{const s=L(),U=le().analytics,[T,Y]=g.useState(!1),[z,q]=g.useState(!1),[Q,Z]=g.useState(!1),[ee,te]=g.useState(!1),[S,ie]=g.useState("apple"),oe=ne(),ae=fe(oe.loggedInUserRoleMap),re=I=>{ge({chargeCardDetailView:G,classListFetchState:l,analytics:U,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:J,cardIssuedByDepartmentName:O,cardHolderRoles:X,cardHolderDepartmentName:K,controllerEmails:h,pageName:"Card Activation",addToWalletType:I==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:n,debitAccountInformation:v,isChargeCardFeatureEnabled:f,creditAccount:V,creditAccountRepayment:_}),ie(I)};g.useEffect(()=>{setTimeout(()=>{Y(!0)},a?9500:4500),setTimeout(()=>{q(!0)},a?9e3:4e3),setTimeout(()=>{Z(!0)},a?10500:5500),setTimeout(()=>{te(!0)},a?15e3:1e4)},[a]);const se=T&&z,x=N.getLocalizedStrings().spendManagement.chargeCard;return t.jsx(vt,{windowSize:s,children:t.jsxs(Oe,{children:[t.jsx(de,{navBarContainerStyles:{paddingTop:p[2],alignItems:"center",paddingBottom:p[2]},title:x.addToWallet.title,ignoreScrollAction:!0,showBackButton:!1,showMenuIcon:!1,transparentBackground:!0,source:"AddToWalletPage",style:{zIndex:3},titleStyle:{marginTop:p[0]}}),t.jsxs(Xe,{windowSize:s,children:[t.jsx(yt,{windowSize:s,children:x.addToWallet.heading}),t.jsx(ft,{windowSize:s,children:x.addToWallet.subheading})]}),t.jsxs(Ke,{windowSize:s,children:[s!=="small"?t.jsx(Ct,{children:t.jsxs(Ue,{windowSize:s,children:[t.jsxs(Ye,{windowSize:s,flipCard:T,scaleCard:z,children:[t.jsx(pe,{isDebitCard:a}),t.jsx(ce,{showCrossIcon:!1,isDebitCard:a})]}),Be(Q,ee,se)]})}):null,t.jsxs(Re,{windowSize:s,children:[t.jsx(Ee,{children:t.jsx(Ie,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(Je,{}),t.jsx(M,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(_e,{}),t.jsx(M,{children:d.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:i.sp4,paddingBottom:i.sp4},containerStyle:{border:i.sp0},selected:S,onToggle:re})}),t.jsxs(Fe,{children:[t.jsx(Pe,{isActive:S==="apple",children:t.jsx(F,{tabType:"apple"})}),t.jsx(Me,{isActive:S==="google",children:t.jsx(F,{tabType:"google"})})]}),s!=="small"?t.jsx(jt,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-web")})}):null]})]}),s==="small"?t.jsx(St,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-mobile")})}):null]})})},Fe=o.div`
41
41
  display: flex;
42
42
  position: relative;
43
43
  width: 100%;
@@ -103,7 +103,7 @@ import{J as L,a9 as le,ay as ne,b as N,V as t,bE as de,u as p,jh as pe,jA as ce,
103
103
  ${({windowSize:e})=>y.walletSubTitleFont.style(e)}
104
104
  color: ${e=>e.theme.colors.hero};
105
105
  margin-left: ${i.sp9};
106
- `,Ge=o(Ie)`
106
+ `,Ge=o(ze)`
107
107
  width: ${({windowSize:e})=>c.openWalletIconWidthHeight.valuePx(e)};
108
108
  height: ${({windowSize:e})=>c.openWalletIconWidthHeight.valuePx(e)};
109
109
  color: ${e=>e.theme.colors.link};
@@ -1,4 +1,4 @@
1
- import{y as K,J as O,ib as _e,V as t,ic as De,bQ as Ne,id as ve,bF as Oe,bE as je,x as D,ab as R,gb as ke,b as x,o as N,aV as Pe,u as m,aQ as X,ch as Be,ci as $e,cj as Ie,an as Me,ck as Ae,b5 as ne,aG as oe,aX as re}from"./index-CZZQCAd2.js";import{a as f}from"./sentry-KKNtqb_g.js";import{n as y}from"./mui-1V4DDk1u.js";import{bh as T,GN as Ye}from"./zeni-epic-state-BIDncbwZ.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as Ee,k as ze}from"./ArAgingChart-DPWhkZ92-C-OV2nhV.js";import{C as ie}from"./NoDataChart-BpVOzQOW-DKnao5o4.js";import{I as se,R as $}from"./CollapsableReportTable-BBZQoM0P-CNldMsB_.js";import{d as le}from"./NoDataTable-BfkONzLU--qJ2Vge1.js";import{l as ce}from"./mapSpacerToTreeNode-BAzbdSwd-DpMVDymh.js";import{l as Le}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";import"./chartTypes-B53kfwdO-BhCsc3sU.js";import"./AccountRow-kn3U0JbW-CqKCifJj.js";import"./graphic-no-data-l-DU4J8fDt-CIZ3GcrY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="dbd5bd46-3519-413a-a31b-5e955244fe8c",e._sentryDebugIdIdentifier="sentry-dbid-dbd5bd46-3519-413a-a31b-5e955244fe8c")}catch{}})();const Re={chartHeight:new D(288,360)},de=y.div`
1
+ import{y as K,J as O,ib as _e,V as t,ic as De,bQ as Ne,id as ve,bF as Oe,bE as je,x as D,ab as R,gb as ke,b as x,o as N,aV as Pe,u as m,aQ as X,ch as Be,ci as $e,cj as Ie,an as Me,ck as Ae,b5 as ne,aG as oe,aX as re}from"./index-CGTxoCJp.js";import{a as f}from"./sentry-CuNQ_GI9.js";import{n as y}from"./mui-CD7xFf2d.js";import{bh as T,GN as Ye}from"./zeni-epic-state-BJYsNVul.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as Ee,k as ze}from"./ArAgingChart-zTqy57EG-Dm-WcY4b.js";import{C as ie}from"./NoDataChart-CggIXqiK-C19sXnTb.js";import{I as se,R as $}from"./CollapsableReportTable-D2dtXfS_-BdWkgbsB.js";import{d as le}from"./NoDataTable-CX24L0oK-DtsfPk0l.js";import{l as ce}from"./mapSpacerToTreeNode-CHRtVS3Z-DLe2zU1L.js";import{l as Le}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./chartTypes-DWf4SAOE-BXMQEiqd.js";import"./AccountRow-D1Jqgk7o-DewC0XFv.js";import"./graphic-no-data-l-DU4J8fDt-DrMXjgQT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1cebb3ac-abf6-4f99-95dc-611026ec9cf0",e._sentryDebugIdIdentifier="sentry-dbid-1cebb3ac-abf6-4f99-95dc-611026ec9cf0")}catch{}})();const Re={chartHeight:new D(288,360)},de=y.div`
2
2
  display: flex;
3
3
  `,ge=y.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{cM as Q,eq as je,J as W,V as l,ac as P,x as T,o as i,bb as re,b as B,a as ie,an as ne,d2 as Pe,ck as Ce,u as L,bV as Se,aM as te,cE as G,gZ as de,g2 as R,f$ as Y,g0 as J,g1 as ce,g3 as pe,b1 as me,g_ as Oe,p as ue,d1 as ge,ao as he,ey as Te,af as Re}from"./index-CZZQCAd2.js";import{n as p}from"./mui-1V4DDk1u.js";import{Gs as ze,bg as X}from"./zeni-epic-state-BIDncbwZ.js";import{a as q}from"./sentry-KKNtqb_g.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-C5jC6DTy-D9w1YJzr.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-cBcF5EGS-BkGlWFfU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b70e4246-6a61-49a7-86e3-0c1d5b349b29",e._sentryDebugIdIdentifier="sentry-dbid-b70e4246-6a61-49a7-86e3-0c1d5b349b29")}catch{}})();const Z=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},g=B.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:y,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:N,person:x,analytics:v})=>{const w=W(),C=se.largeLabelWidth.value(w),{setValue:S}=Q(),D=te(h),$=D.splice(0,1),U=D.reduce((r,n)=>r.concat(`${n.email},`),""),M=q.useMemo(()=>te(G.roles),[]),u=X(e.role);return q.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(Le,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:Z(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(K,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:Z(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:J(m,f)},productsByUserRole:Y(e.role,y)},registerOptions:{required:!0}}}),l.jsx(K,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:Z(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],I=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),j=[];return I!=null&&j.push(I.className),j}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(K,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:Z(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),N?null:l.jsxs(Ne,{windowSize:w,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ue,{href:`mailto:${$[0].email}?cc=${U}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:Z(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},ke=()=>B.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Le=p.div`
1
+ import{cM as Q,eq as je,J as W,V as l,ac as P,x as T,o as i,bb as re,b as B,a as ie,an as ne,d2 as Pe,ck as Ce,u as L,bV as Se,aM as te,cE as G,gZ as de,g2 as R,f$ as Y,g0 as J,g1 as ce,g3 as pe,b1 as me,g_ as Oe,p as ue,d1 as ge,ao as he,ey as Te,af as Re}from"./index-CGTxoCJp.js";import{n as p}from"./mui-CD7xFf2d.js";import{Gs as ze,bg as X}from"./zeni-epic-state-BJYsNVul.js";import{a as q}from"./sentry-CuNQ_GI9.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-Cd04mYwQ-B8JTmQUc.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-5M654Yu--Ciiad84H.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="443a3b12-02e1-4f09-baf9-cdf34218ac35",e._sentryDebugIdIdentifier="sentry-dbid-443a3b12-02e1-4f09-baf9-cdf34218ac35")}catch{}})();const Z=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},g=B.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:y,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:N,person:x,analytics:v})=>{const w=W(),C=se.largeLabelWidth.value(w),{setValue:S}=Q(),D=te(h),$=D.splice(0,1),U=D.reduce((r,n)=>r.concat(`${n.email},`),""),M=q.useMemo(()=>te(G.roles),[]),u=X(e.role);return q.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(Le,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:Z(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(K,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:Z(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:J(m,f)},productsByUserRole:Y(e.role,y)},registerOptions:{required:!0}}}),l.jsx(K,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:Z(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],I=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),j=[];return I!=null&&j.push(I.className),j}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(K,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:Z(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),N?null:l.jsxs(Ne,{windowSize:w,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ue,{href:`mailto:${$[0].email}?cc=${U}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:Z(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},ke=()=>B.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Le=p.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,9 +1,9 @@
1
- import{y as H,J,b as g,V as o,bQ as K,gb as U,bD as q,co as G,bE as Q,o as F,aV as X,x as A,bF as W,ch as Z,ci as ee,cj as oe,u as f}from"./index-CZZQCAd2.js";import{a as v}from"./sentry-KKNtqb_g.js";import{n as i}from"./mui-1V4DDk1u.js";import{L as te,D as ae}from"./EntitySummarySection-BOEYtn_o-CPte8tJh.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./zeni-epic-state-BIDncbwZ.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="83bd4e03-8a97-4a2c-9c5a-22a7ce002649",e._sentryDebugIdIdentifier="sentry-dbid-83bd4e03-8a97-4a2c-9c5a-22a7ce002649")}catch{}})();const C={wrapperContainerMarginTop:new A(f[4],f[0]),wrapperContaineHorizontalrMargin:new A(f[0],f[8])},ne=i.div`
1
+ import{y as H,J,b as g,V as o,bQ as K,gb as U,bD as q,co as G,bE as Q,o as F,aV as X,x as A,bF as W,ch as Z,ci as ee,cj as oe,u as f}from"./index-CGTxoCJp.js";import{a as v}from"./sentry-CuNQ_GI9.js";import{n as i}from"./mui-CD7xFf2d.js";import{L as te,D as ne}from"./EntitySummarySection-BVG0N8QO-B29acNJ9.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="7001fe0d-32a9-4821-9846-5b9e49ed2ea1",e._sentryDebugIdIdentifier="sentry-dbid-7001fe0d-32a9-4821-9846-5b9e49ed2ea1")}catch{}})();const C={wrapperContainerMarginTop:new A(f[4],f[0]),wrapperContaineHorizontalrMargin:new A(f[0],f[8])},re=i.div`
2
2
  height: 100%;
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  max-width: 99.9%;
6
- `,re=i.div`
6
+ `,ae=i.div`
7
7
  display: flex;
8
8
  width: 100%;
9
9
  height: calc(100% - 60px);
@@ -43,4 +43,4 @@ import{y as H,J,b as g,V as o,bQ as K,gb as U,bD as q,co as G,bE as Q,o as F,aV
43
43
  margin-left: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
44
44
  margin-right: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
45
45
  height: 100%;
46
- `;function Ie(e){const s=H(),l=J(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:a,downloadParams:n,reportDate:t,analytics:d,onReload:w,onBackClick:T,onColumnSortConfigChanged:S,updateDownloadStateHandler:x,onTransactionClick:E,sidePanelIsOpen:L,sidePanelIsFullView:N,panelContent:O}=e,{authParams:_,downloadEndPoint:I,timezone:j}=n,{fetchState:m,invoices:k,apAgingDetailUIState:$,vendor:r,totalBalances:Y}=a,{sortKey:D,sortOrder:b,downloadState:u}=$,[z,P]=v.useState(!1),M=g.getLocalizedStrings(),R=M.reports.aging.agingDetail,B=v.useCallback((c,y)=>{a.vendor!=null&&d.trackApAgingDetailReportSortChange(c,y,t.format(M.dateFormat.analytics.YYYYDashMMDashDDFormat),a.vendor.id,a.vendor.name),S(c,y)},[d,a.vendor,t,S]);if(v.useEffect(()=>{async function c(){const y={companyName:n.companyName,sortKey:D,sortOrder:b,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:r?.id??"",timezone:j,reportDate:t};await ge(I,_,y),x("Completed"),a.vendor!=null&&d.trackApAgingDetailReportDownload(D,b,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),a.vendor.id,a.vendor.name)}z&&u!=="In-Progress"&&(P(!1),x("In-Progress"),c())},[d,a.vendor,_,I,n.companyName,u,z,t,D,b,j,x,r?.id]),m==="Error")return o.jsxs(re,{children:[o.jsx(ie,{onClick:w,children:o.jsx(K,{})}),o.jsx(se,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(U,{fetchState:m});const V=o.jsx(W,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:u==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(u==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsx(q,{isOpen:L??!1,isFullView:N??!1,panelContent:O,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(Q,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:T,rightSideComponent:V,source:"ApAgingDetailPage"}),o.jsx(ae,{totalBalances:Y,entityName:r?.name??"",entityLogo:r?.logo,reportId:"accounts_payable_aging",reportDate:t})]}),listContent:o.jsx(le,{children:o.jsx(de,{windowSize:l,children:o.jsx(ce,{windowSize:l,children:k.length===0||r==null?o.jsx(G,{message:R.noDataText}):o.jsx(ne,{windowSize:l,children:o.jsx(te,{uiState:$,invoices:k,entityName:r.name,entityLogo:r.logo,onColumnSortConfigChanged:B,onTransactionClick:E})})})})})})}async function ge(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(pe(l)))}`,p=g.getLocalizedStrings(),a=p.reports.aging.apAging.apAging,n=p.download;try{const t=await Z({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=ee(t.headers,n.defaultFileName),w=await t.arrayBuffer();oe(w,d)}else console.error(`${n.errorMessages.fileDownloadError.replace("__feature__",a)} ${t.statusText}`)}catch(t){console.error(`${n.errorMessages.fileDownloadError.replace("__feature__",a)} ${JSON.stringify(t)}`)}}function pe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{Ie as default,pe as toDownloadAgingDetailedReportOptionsPayload};
46
+ `;function Ie(e){const s=H(),l=J(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:n,downloadParams:r,reportDate:t,analytics:d,onReload:w,onBackClick:T,onColumnSortConfigChanged:S,updateDownloadStateHandler:x,onTransactionClick:E,sidePanelIsOpen:L,sidePanelIsFullView:N,panelContent:O}=e,{authParams:_,downloadEndPoint:I,timezone:j}=r,{fetchState:m,invoices:k,apAgingDetailUIState:$,vendor:a,totalBalances:Y}=n,{sortKey:D,sortOrder:b,downloadState:u}=$,[z,P]=v.useState(!1),M=g.getLocalizedStrings(),R=M.reports.aging.agingDetail,B=v.useCallback((c,y)=>{n.vendor!=null&&d.trackApAgingDetailReportSortChange(c,y,t.format(M.dateFormat.analytics.YYYYDashMMDashDDFormat),n.vendor.id,n.vendor.name),S(c,y)},[d,n.vendor,t,S]);if(v.useEffect(()=>{async function c(){const y={companyName:r.companyName,sortKey:D,sortOrder:b,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:a?.id??"",timezone:j,reportDate:t};await ge(I,_,y),x("Completed"),n.vendor!=null&&d.trackApAgingDetailReportDownload(D,b,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),n.vendor.id,n.vendor.name)}z&&u!=="In-Progress"&&(P(!1),x("In-Progress"),c())},[d,n.vendor,_,I,r.companyName,u,z,t,D,b,j,x,a?.id]),m==="Error")return o.jsxs(ae,{children:[o.jsx(ie,{onClick:w,children:o.jsx(K,{})}),o.jsx(se,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(U,{fetchState:m});const V=o.jsx(W,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:u==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(u==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsx(q,{isOpen:L??!1,isFullView:N??!1,panelContent:O,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(Q,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:T,rightSideComponent:V,source:"ApAgingDetailPage"}),o.jsx(ne,{totalBalances:Y,entityName:a?.name??"",entityLogo:a?.logo,reportId:"accounts_payable_aging",reportDate:t})]}),listContent:o.jsx(le,{children:o.jsx(de,{windowSize:l,children:o.jsx(ce,{windowSize:l,children:k.length===0||a==null?o.jsx(G,{message:R.noDataText}):o.jsx(re,{windowSize:l,children:o.jsx(te,{uiState:$,invoices:k,entityName:a.name,entityLogo:a.logo,onColumnSortConfigChanged:B,onTransactionClick:E})})})})})})}async function ge(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(pe(l)))}`,p=g.getLocalizedStrings(),n=p.reports.aging.apAging.apAging,r=p.download;try{const t=await Z({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=ee(t.headers,r.defaultFileName),w=await t.arrayBuffer();oe(w,d)}else console.error(`${r.errorMessages.fileDownloadError.replace("__feature__",n)} ${t.statusText}`)}catch(t){console.error(`${r.errorMessages.fileDownloadError.replace("__feature__",n)} ${JSON.stringify(t)}`)}}function pe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{Ie as default,pe as toDownloadAgingDetailedReportOptionsPayload};
@@ -1,4 +1,4 @@
1
- import{V as t,J as m,d as x,o as r,x as p,p as a,aV as g,b as u,br as f,d0 as $,dQ as b,c$ as w}from"./index-CZZQCAd2.js";import{n as i,k as y}from"./mui-1V4DDk1u.js";import{a as j}from"./sentry-KKNtqb_g.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./zeni-epic-state-BIDncbwZ.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="30acb982-29e6-4b1d-a4e9-8fe1a37b1637",e._sentryDebugIdIdentifier="sentry-dbid-30acb982-29e6-4b1d-a4e9-8fe1a37b1637")}catch{}})();const l={maxWidth:new p(280,322),contentMaxWidth:new p(200,250)},k=y`
1
+ import{V as t,J as m,d as x,o as r,x as p,p as a,aV as g,b as u,br as f,d0 as $,dQ as b,c$ as w}from"./index-CGTxoCJp.js";import{n as i,k as y}from"./mui-CD7xFf2d.js";import{a as j}from"./sentry-CuNQ_GI9.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="30acb982-29e6-4b1d-a4e9-8fe1a37b1637",e._sentryDebugIdIdentifier="sentry-dbid-30acb982-29e6-4b1d-a4e9-8fe1a37b1637")}catch{}})();const l={maxWidth:new p(280,322),contentMaxWidth:new p(200,250)},k=y`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -1,4 +1,4 @@
1
- import{ay as oe,P as le,I as v,bl as re,V as n,bm as de,bn as ce,bo as ue,bp as pe,ab as be,bq as fe,o as t,br as me,ax as b,b7 as f}from"./index-CZZQCAd2.js";import{a as o,P as he}from"./sentry-KKNtqb_g.js";import{n as l}from"./mui-1V4DDk1u.js";import{bk as ge}from"./zeni-epic-state-BIDncbwZ.js";import{v as xe}from"./DashboardSidebarBackgroundAnimation-DAlY419Q-DP9sfj2H.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.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]="6f8c451a-bf47-4061-8156-45f16496fc68",e._sentryDebugIdIdentifier="sentry-dbid-6f8c451a-bf47-4061-8156-45f16496fc68")}catch{}})();const Ee=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomNewYear",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ye,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ye=l.div`
1
+ import{ay as oe,P as le,I as v,bl as re,V as n,bm as de,bn as ce,bo as ue,bp as pe,ab as be,bq as fe,o as t,br as me,ax as b,b7 as f}from"./index-CGTxoCJp.js";import{a as o,P as he}from"./sentry-CuNQ_GI9.js";import{n as l}from"./mui-CD7xFf2d.js";import{bk as ge}from"./zeni-epic-state-BJYsNVul.js";import{v as xe}from"./DashboardSidebarBackgroundAnimation-CHpFVLim-B5TP9TTq.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.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]="e302b064-a0cd-4343-8ca5-62a06f0d7f9e",e._sentryDebugIdIdentifier="sentry-dbid-e302b064-a0cd-4343-8ca5-62a06f0d7f9e")}catch{}})();const Ee=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomNewYear",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ye,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ye=l.div`
2
2
  position: absolute;
3
3
  z-index: 0;
4
4
  bottom: -${t.sp3};
@@ -89,4 +89,4 @@ import{ay as oe,P as le,I as v,bl as re,V as n,bm as de,bn as ce,bo as ue,bp as
89
89
  height: ${t.sp4};
90
90
  align-items: center;
91
91
  justify-content: center;
92
- `;function Oe({currentTenantId:e,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,isChargeCardEnabled:$,rewardsConfiguration:T,selectedMenu:D,isTenantDropdownDisabled:I,isSettings:c=!1,isAiCfo:M=!1,isOnDashboard:P,isAiCfoAccessEnabled:V,isNotificationsTabVisible:Y,isSettingsFeatureEnabled:x,signedInUser:m,aiCfoView:R,currentTenant:E,christmasAnimationEnabled:h=!1,halloweenAnimationEnabled:y=!1,newYearAnimationEnabled:C=!1,thanksGivingAnimationEnabled:w=!1,notificationCountDetails:u,isExpenseAutomationEnabledForUser:z,isTaskManagerAccessEnabled:F,treasuryYieldPercentage:N,onNotificationIconClick:U,handleLogOutClick:_,handleMenuChange:B,onZeniLogoClick:L,handlePopupClose:G,handleBackClick:A,handleCockpitClick:H,handleMyProfileClick:k,handleReferralsClick:O,handleTenantSelect:Z,onDeleteChatSession:W,updateCurrentChatSessionId:X}){const[d,q]=o.useState(c&&x),g=he.useRef("noAnimation"),J=ge(m),K=oe(),{useFeatureGate:S}=le(),{isFeatureEnabled:Q}=S(v.isReimbursementCommentingEnabled),{isFeatureEnabled:ee}=S(v.isBillPayCommentingEnabled),ne=re(),ie=()=>{g.current="slide-in-right-to-left",k&&k()},te=()=>{g.current="slide-in-left-to-right",d&&A&&A()};o.useEffect(()=>{c!==d&&q(c)},[c,d]);const p=u?.fetchStatus.fetchState==="Not-Started"||u?.fetchStatus.fetchState==="In-Progress",ae=g.current,se=J||Q&&ee&&!K.loggedInUserRole.includes("investor_or_banker");return n.jsxs($e,{isOnDashboard:P,children:[n.jsxs(Te,{children:[n.jsx(de,{onClick:L,halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:w,christmasAnimationEnabled:h,newYearAnimationEnabled:C}),n.jsx(ce,{currentTenantId:e??"",tenants:i,isDisabled:I,onTenantSelect:Z})]}),n.jsx(De,{children:n.jsx(ue,{className:ae,signedInUser:m,selectedMenu:D,currentTenant:E,isVendorsTabVisible:s,rewardsConfiguration:T,isSetting:d,isAiCfo:M,isAiCfoAccessEnabled:V,aiCfoView:R,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,treasuryYieldPercentage:N,isChargeCardEnabled:$,isNotificationsTabVisible:Y,isPerformanceEnabledForUser:ne,isExpenseAutomationEnabledForUser:z,isTaskManagerAccessEnabled:F,onSelectionChanged:B,onDeleteChatSession:W,updateCurrentChatSessionId:X,onBackClick:te,onPopupClose:G})}),n.jsx(xe,{christmasAnimationEnabled:h}),n.jsxs(Ie,{children:[n.jsx(pe,{signedInUser:m,onLogOutClick:_,onMyProfileClick:ie,onReferralsClick:O,onCockpitClick:H,currentTenant:E,isSettingsFeatureEnabled:x}),se?n.jsx(be,{controller:u!=null,children:n.jsxs(Me,{isDisabled:p,onClick:p?void 0:U,children:[n.jsx(fe,{count:p?void 0:u?.count,type:"important",isLoading:p,style:{left:"12px"}}),n.jsx(Pe,{})]})}):null]}),n.jsx(je,{halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:w,christmasAnimationEnabled:h,newYearAnimationEnabled:C})]},d.toString())}export{Oe as default};
92
+ `;function Oe({currentTenantId:e,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,isChargeCardEnabled:$,rewardsConfiguration:T,selectedMenu:D,isTenantDropdownDisabled:I,isSettings:c=!1,isAiCfo:M=!1,isOnDashboard:P,isAiCfoAccessEnabled:V,isNotificationsTabVisible:Y,isSettingsFeatureEnabled:x,signedInUser:m,aiCfoView:R,currentTenant:E,christmasAnimationEnabled:h=!1,halloweenAnimationEnabled:y=!1,newYearAnimationEnabled:C=!1,thanksGivingAnimationEnabled:w=!1,notificationCountDetails:u,isExpenseAutomationEnabledForUser:z,isTaskManagerAccessEnabled:F,treasuryYieldPercentage:N,onNotificationIconClick:U,handleLogOutClick:_,handleMenuChange:B,onZeniLogoClick:L,handlePopupClose:G,handleBackClick:A,handleCockpitClick:H,handleMyProfileClick:k,handleReferralsClick:O,handleTenantSelect:Z,onDeleteChatSession:W,updateCurrentChatSessionId:X}){const[d,q]=o.useState(c&&x),g=he.useRef("noAnimation"),J=ge(m),K=oe(),{useFeatureGate:S}=le(),{isFeatureEnabled:Q}=S(v.isReimbursementCommentingEnabled),{isFeatureEnabled:ee}=S(v.isBillPayCommentingEnabled),ne=re(),ie=()=>{g.current="slide-in-right-to-left",k&&k()},te=()=>{g.current="slide-in-left-to-right",d&&A&&A()};o.useEffect(()=>{c!==d&&q(c)},[c,d]);const p=u?.fetchStatus.fetchState==="Not-Started"||u?.fetchStatus.fetchState==="In-Progress",ae=g.current,se=J||Q&&ee&&!K.loggedInUserRole.includes("investor_or_banker");return n.jsxs($e,{isOnDashboard:P,children:[n.jsxs(Te,{children:[n.jsx(de,{onClick:L,halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:w,christmasAnimationEnabled:h,newYearAnimationEnabled:C}),n.jsx(ce,{currentTenantId:e??"",tenants:i,isDisabled:I,onTenantSelect:Z})]}),n.jsx(De,{children:n.jsx(ue,{className:ae,signedInUser:m,selectedMenu:D,currentTenant:E,isVendorsTabVisible:s,rewardsConfiguration:T,isSetting:d,isAiCfo:M,isAiCfoAccessEnabled:V,aiCfoView:R,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,treasuryYieldPercentage:N,isChargeCardEnabled:$,isNotificationsTabVisible:Y,isPerformanceEnabledForUser:ne,isExpenseAutomationEnabledForUser:z,isTaskManagerAccessEnabled:F,onSelectionChanged:B,onDeleteChatSession:W,updateCurrentChatSessionId:X,onBackClick:te,onPopupClose:G})}),n.jsx(xe,{christmasAnimationEnabled:h}),n.jsxs(Ie,{children:[n.jsx(pe,{signedInUser:m,onLogOutClick:_,onMyProfileClick:ie,onReferralsClick:O,onCockpitClick:H,currentTenant:E,isSettingsFeatureEnabled:x}),se?n.jsx(be,{controller:u!=null,children:n.jsxs(Me,{isDisabled:p,onClick:p?void 0:U,"data-testid":"notification-icon",children:[n.jsx(fe,{count:p?void 0:u?.count,type:"important",isLoading:p,style:{left:"12px"}}),n.jsx(Pe,{})]})}):null]}),n.jsx(je,{halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:w,christmasAnimationEnabled:h,newYearAnimationEnabled:C})]},d.toString())}export{Oe as default};
@@ -1,4 +1,4 @@
1
- import{y as U,J as G,ay as V,b as p,aX as v,V as t,bE as E,L as J,fz as b,dI as S,x as d,o as k,ao as N,w as j,u as o}from"./index-CZZQCAd2.js";import{n as l}from"./mui-1V4DDk1u.js";import{Gp as O,Gq as X}from"./zeni-epic-state-BIDncbwZ.js";import"./sentry-KKNtqb_g.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.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]="fd149999-8a11-4eaa-adef-cd13a29f3893",e._sentryDebugIdIdentifier="sentry-dbid-fd149999-8a11-4eaa-adef-cd13a29f3893")}catch{}})();const a={sectionRowGap:new d(o[4],o[8],o[8]),lastSectionPaddingBottom:new d(o[7],o[10],o[10]),iconWidthHeight:new d(20,o[4]),subtitleSectionWidth:new d(343,580,1200)},ue=({billpayApprovalView:e,remiApproverView:n,currentTenant:c,onBackClick:R,onClickMenuIcon:I,onSetupApprovalRulesBillPaySectionClick:P,onSetupApprovalRulesRemiSectionClick:z})=>{const r=U(),i=G(),u=V(),{fetchState:g,allApprovalRules:h,approvalRulesStatus:T}=e,{fetchState:m,allApprovalRules:f,approvalRulesStatus:A}=n,{commonSetUp:C,spendManagement:$}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,y=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:L}=$,{billPaySetup:M}=B,{reimbursementSetup:W}=L,{setUp:s}=C,D=g==="In-Progress"||m==="In-Progress"||g==="Not-Started"||m==="Not-Started",x=r.mode==="light"?new v(r.colors.brandColorJadeLight):new v(r.colors.brandColorJadeDark),_=O(c,u.loggedInUserRoleMap),H=X(c,u.loggedInUserRoleMap);return t.jsxs(F,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:I}),t.jsx(Q,{windowSize:i,children:D?t.jsx(Y,{children:t.jsx(J,{size:"ExtraLarge",start:!0})}):t.jsxs(q,{children:[t.jsx(K,{windowSize:i,children:t.jsx(ee,{windowSize:i,children:w.infoText.approvalRules})}),t.jsxs(Z,{windowSize:i,children:[_===!0&&t.jsx(b,{title:h.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:M.approvalSubTitle,header:y.bills,icon:{element:t.jsx(S,{width:a.iconWidthHeight.valuePx(i),height:a.iconWidthHeight.valuePx(i)}),color:x},onClick:P,status:h.length>0?T:void 0}),H===!0&&t.jsx(b,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:W.approvalSubTitle,header:y.reimbursements,icon:{element:t.jsx(S,{height:a.iconWidthHeight.valuePx(i)}),color:x},style:{paddingBottom:a.lastSectionPaddingBottom.valuePx(i)},onClick:z,status:f.length>0?A:void 0})]})]})})]})},q=l.div`
1
+ import{y as U,J as G,ay as V,b as p,aX as v,V as t,bE as E,L as J,fz as b,dI as S,x as d,o as k,ao as N,w as j,u as o}from"./index-CGTxoCJp.js";import{n as l}from"./mui-CD7xFf2d.js";import{Gp as O,Gq as X}from"./zeni-epic-state-BJYsNVul.js";import"./sentry-CuNQ_GI9.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.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]="fd149999-8a11-4eaa-adef-cd13a29f3893",e._sentryDebugIdIdentifier="sentry-dbid-fd149999-8a11-4eaa-adef-cd13a29f3893")}catch{}})();const a={sectionRowGap:new d(o[4],o[8],o[8]),lastSectionPaddingBottom:new d(o[7],o[10],o[10]),iconWidthHeight:new d(20,o[4]),subtitleSectionWidth:new d(343,580,1200)},ue=({billpayApprovalView:e,remiApproverView:n,currentTenant:c,onBackClick:R,onClickMenuIcon:I,onSetupApprovalRulesBillPaySectionClick:P,onSetupApprovalRulesRemiSectionClick:z})=>{const r=U(),i=G(),u=V(),{fetchState:g,allApprovalRules:h,approvalRulesStatus:T}=e,{fetchState:m,allApprovalRules:f,approvalRulesStatus:A}=n,{commonSetUp:C,spendManagement:$}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,y=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:L}=$,{billPaySetup:M}=B,{reimbursementSetup:W}=L,{setUp:s}=C,D=g==="In-Progress"||m==="In-Progress"||g==="Not-Started"||m==="Not-Started",x=r.mode==="light"?new v(r.colors.brandColorJadeLight):new v(r.colors.brandColorJadeDark),_=O(c,u.loggedInUserRoleMap),H=X(c,u.loggedInUserRoleMap);return t.jsxs(F,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:I}),t.jsx(Q,{windowSize:i,children:D?t.jsx(Y,{children:t.jsx(J,{size:"ExtraLarge",start:!0})}):t.jsxs(q,{children:[t.jsx(K,{windowSize:i,children:t.jsx(ee,{windowSize:i,children:w.infoText.approvalRules})}),t.jsxs(Z,{windowSize:i,children:[_===!0&&t.jsx(b,{title:h.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:M.approvalSubTitle,header:y.bills,icon:{element:t.jsx(S,{width:a.iconWidthHeight.valuePx(i),height:a.iconWidthHeight.valuePx(i)}),color:x},onClick:P,status:h.length>0?T:void 0}),H===!0&&t.jsx(b,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:W.approvalSubTitle,header:y.reimbursements,icon:{element:t.jsx(S,{height:a.iconWidthHeight.valuePx(i)}),color:x},style:{paddingBottom:a.lastSectionPaddingBottom.valuePx(i)},onClick:z,status:f.length>0?A:void 0})]})]})})]})},q=l.div`
2
2
  width: 100%;
3
3
  margin: auto;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{V as i,b as f,dc as k,y as z,b5 as P,u as w,w as S,a_ as T,dd as N,de as I,p as h,o as x,an as q}from"./index-CZZQCAd2.js";import{a as C,P as H}from"./sentry-KKNtqb_g.js";import{n as j}from"./mui-1V4DDk1u.js";import{l as v,_ as K,h as R,m as J,u as L}from"./chartTypes-B53kfwdO-BhCsc3sU.js";import{bm as D,G9 as B}from"./zeni-epic-state-BIDncbwZ.js";import{N as V,I as A,X as G,Y as W,J as _,K as M}from"./recharts-W_ILlOEk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="e8c88841-0c68-4f9e-a3c8-742129783fdf",e._sentryDebugIdIdentifier="sentry-dbid-e8c88841-0c68-4f9e-a3c8-742129783fdf")}catch{}})();const Q=j.div`
1
+ import{V as i,b as f,dc as k,y as z,b5 as P,u as w,w as S,a_ as T,dd as N,de as I,p as h,o as x,an as q}from"./index-CGTxoCJp.js";import{a as C,P as H}from"./sentry-CuNQ_GI9.js";import{n as j}from"./mui-CD7xFf2d.js";import{l as v,_ as K,h as R,m as J,u as L}from"./chartTypes-DWf4SAOE-BXMQEiqd.js";import{bm as D,G9 as B}from"./zeni-epic-state-BJYsNVul.js";import{N as V,I as A,X as G,Y as W,J as _,K as M}from"./recharts-CeYsUNdm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="f86b41dc-997d-43e0-8939-17b049f8ff68",e._sentryDebugIdIdentifier="sentry-dbid-f86b41dc-997d-43e0-8939-17b049f8ff68")}catch{}})();const Q=j.div`
2
2
  display: flex;
3
3
  `,U=j.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{y as R,J as B,V as o,bQ as V,gb as H,bD as J,co as K,bE as U,b as _,o as A,aV as q,x as z,bF as G,ch as Q,ci as X,cj as W,u as y}from"./index-CZZQCAd2.js";import{a as b}from"./sentry-KKNtqb_g.js";import{n as s}from"./mui-1V4DDk1u.js";import{L as Z,D as ee}from"./EntitySummarySection-BOEYtn_o-CPte8tJh.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./zeni-epic-state-BIDncbwZ.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="c6f227f1-9a0f-4903-aeac-988e5ea7a058",e._sentryDebugIdIdentifier="sentry-dbid-c6f227f1-9a0f-4903-aeac-988e5ea7a058")}catch{}})();const C={wrapperContainerMarginTop:new z(y[4],y[0]),wrapperContaineHorizontalrMargin:new z(y[0],y[8])},{common:oe,reports:{common:te,aging:{agingDetail:re}},dateFormat:M}=_.getLocalizedStrings();function Ie(e){const l=R(),c=B(),{arAgingDetail:t,downloadParams:d,reportDate:r,analytics:a,onReload:n,onBackClick:h,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:T,sidePanelIsOpen:E,sidePanelIsFullView:F,panelContent:N}=e,{authParams:v,downloadEndPoint:S,timezone:I}=d,{fetchState:p,invoices:j,arAgingDetailUIState:k,customer:i,totalBalances:O}=t,{sortKey:x,sortOrder:D,downloadState:u}=k,[P,$]=b.useState(!1),L=b.useCallback((g,f)=>{t.customer!=null&&a.trackArAgingDetailReportSortChange(g,f,r.format(M.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name),m(g,f)},[t.customer,m,a,r]);if(b.useEffect(()=>{async function g(){const f={companyName:d.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:I,reportDate:r};await ae(S,v,f),w("Completed"),t.customer!=null&&a.trackApAgingDetailReportDownload(x,D,r.format(M.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name)}P&&u!=="In-Progress"&&($(!1),w("In-Progress"),g())},[v,S,d.companyName,u,P,r,x,D,I,w,i?.id,t.customer,a]),p==="Error")return o.jsxs(se,{children:[o.jsx(le,{onClick:n,children:o.jsx(V,{})}),o.jsx(ce,{children:te.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(H,{fetchState:p});const Y=o.jsx(G,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:u==="In-Progress"}],onDownloadClick:async g=>{if(g==="excel")if(u==="In-Progress"){console.log("Download is already in progress!");return}else $(!0)}}}});return o.jsx(J,{isOpen:E??!1,isFullView:F??!1,panelContent:N,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(U,{title:oe.strings.empty,backgroundColor:l.colors.grey5,onBackClick:h,rightSideComponent:Y,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(ee,{totalBalances:O,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:r})]}),listContent:o.jsx(de,{children:o.jsx(ge,{windowSize:c,children:o.jsx(me,{windowSize:c,children:j.length===0||i==null?o.jsx(K,{message:re.noDataText}):o.jsx(ie,{windowSize:c,children:o.jsx(Z,{uiState:k,invoices:j,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:L,onTransactionClick:T})})})})})})}async function ae(e,l,c){const t=`${e}?query=${encodeURIComponent(JSON.stringify(ne(c)))}`,d=_.getLocalizedStrings(),r=d.reports.aging.arAging.arAging,a=d.download;try{const n=await Q({urlEndPoint:t,authParams:l,fileType:"excel"});if(n.ok){const h=X(n.headers,a.defaultFileName),m=await n.arrayBuffer();W(m,h)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${n.statusText}`)}catch(n){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${JSON.stringify(n)}`)}}function ne(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:_.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const ie=s.div`
1
+ import{y as R,J as B,V as o,bQ as V,gb as H,bD as J,co as K,bE as U,b as _,o as A,aV as q,x as z,bF as G,ch as Q,ci as X,cj as W,u as y}from"./index-CGTxoCJp.js";import{a as b}from"./sentry-CuNQ_GI9.js";import{n as s}from"./mui-CD7xFf2d.js";import{L as Z,D as ee}from"./EntitySummarySection-BVG0N8QO-B29acNJ9.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="71ea8c12-8f33-4067-a449-59eaab99852f",e._sentryDebugIdIdentifier="sentry-dbid-71ea8c12-8f33-4067-a449-59eaab99852f")}catch{}})();const C={wrapperContainerMarginTop:new z(y[4],y[0]),wrapperContaineHorizontalrMargin:new z(y[0],y[8])},{common:oe,reports:{common:te,aging:{agingDetail:re}},dateFormat:M}=_.getLocalizedStrings();function Ie(e){const l=R(),c=B(),{arAgingDetail:t,downloadParams:d,reportDate:r,analytics:a,onReload:n,onBackClick:h,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:T,sidePanelIsOpen:E,sidePanelIsFullView:F,panelContent:N}=e,{authParams:v,downloadEndPoint:S,timezone:I}=d,{fetchState:p,invoices:j,arAgingDetailUIState:k,customer:i,totalBalances:O}=t,{sortKey:x,sortOrder:D,downloadState:u}=k,[P,$]=b.useState(!1),L=b.useCallback((g,f)=>{t.customer!=null&&a.trackArAgingDetailReportSortChange(g,f,r.format(M.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name),m(g,f)},[t.customer,m,a,r]);if(b.useEffect(()=>{async function g(){const f={companyName:d.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:I,reportDate:r};await ae(S,v,f),w("Completed"),t.customer!=null&&a.trackApAgingDetailReportDownload(x,D,r.format(M.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name)}P&&u!=="In-Progress"&&($(!1),w("In-Progress"),g())},[v,S,d.companyName,u,P,r,x,D,I,w,i?.id,t.customer,a]),p==="Error")return o.jsxs(se,{children:[o.jsx(le,{onClick:n,children:o.jsx(V,{})}),o.jsx(ce,{children:te.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(H,{fetchState:p});const Y=o.jsx(G,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:u==="In-Progress"}],onDownloadClick:async g=>{if(g==="excel")if(u==="In-Progress"){console.log("Download is already in progress!");return}else $(!0)}}}});return o.jsx(J,{isOpen:E??!1,isFullView:F??!1,panelContent:N,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(U,{title:oe.strings.empty,backgroundColor:l.colors.grey5,onBackClick:h,rightSideComponent:Y,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(ee,{totalBalances:O,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:r})]}),listContent:o.jsx(de,{children:o.jsx(ge,{windowSize:c,children:o.jsx(me,{windowSize:c,children:j.length===0||i==null?o.jsx(K,{message:re.noDataText}):o.jsx(ie,{windowSize:c,children:o.jsx(Z,{uiState:k,invoices:j,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:L,onTransactionClick:T})})})})})})}async function ae(e,l,c){const t=`${e}?query=${encodeURIComponent(JSON.stringify(ne(c)))}`,d=_.getLocalizedStrings(),r=d.reports.aging.arAging.arAging,a=d.download;try{const n=await Q({urlEndPoint:t,authParams:l,fileType:"excel"});if(n.ok){const h=X(n.headers,a.defaultFileName),m=await n.arrayBuffer();W(m,h)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${n.statusText}`)}catch(n){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${JSON.stringify(n)}`)}}function ne(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:_.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const ie=s.div`
2
2
  height: 100%;
3
3
  display: flex;
4
4
  flex-direction: column;