@zeniai/web-cockpit-ui 1.15.44-dev → 1.15.45-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 (344) hide show
  1. package/dist/assets/ACHDetailsPage-D2Xav-UW-S35Uhoxw.js +21 -0
  2. package/dist/assets/{AIPerformancePage-Bi73UpGb-fWDWILJ2.js → AIPerformancePage-DlTdGosv-wmtN61X5.js} +104 -104
  3. package/dist/assets/AccountInfoPage-B8-8kUGD-Dn2GAcNI.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Dg0u2dUY-CwC-_xBB.js → AccountInfoPageContent-BS2TBUSE-C5aZvKIb.js} +21 -21
  5. package/dist/assets/{AccountLockedInfoModal-CfkJI6XB-C47nbz46.js → AccountLockedInfoModal-aukulrV7-BnyIzxt7.js} +11 -11
  6. package/dist/assets/{AccountReconDetailsDrawerPage-YaScsZ9w-naExi3CF.js → AccountReconDetailsDrawerPage-kQJld6_N-mlekIKpg.js} +19 -19
  7. package/dist/assets/AccountRow-BiEYR4Y1-BYraCT3U.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-Bm3kl_kc-CgD_G72F.js → AccountsPromoCardStack-DBQnDPXQ-Cg1k8iOd.js} +32 -32
  9. package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-CSPtYmJ3.js +6 -0
  10. package/dist/assets/{AddToWalletPage-fW711jLQ-BRrd9uh8.js → AddToWalletPage-C4EwdLZJ-CuTX3g12.js} +19 -19
  11. package/dist/assets/{AgingReportsPage-BRMI5zyE-DecoJ-JY.js → AgingReportsPage-vAvkUfOS-CY0Z3qTp.js} +7 -7
  12. package/dist/assets/{AllUserItems-CJvwVAIJ-BTHbX-kV.js → AllUserItems-qrYg6Gdx-CdYLC57_.js} +11 -11
  13. package/dist/assets/ApAgingDetailPage-BRYQMwo2-BLS80uGo.js +46 -0
  14. package/dist/assets/{AppBasePage-BncZeYVM-BmWxuFMK.js → AppBasePage-DrE-W6d7-BJchX_M5.js} +8 -8
  15. package/dist/assets/{AppDrawerContent-nr81m7Yo-B9REx-fp.js → AppDrawerContent-ATbZG_cu-DjhYjDhr.js} +5 -5
  16. package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-B_-ue4-L.js +47 -0
  17. package/dist/assets/{ArAgingChart-C6JBnoyC-CUJeSTbJ.js → ArAgingChart-CuzG9AZY-tEsYzpMw.js} +6 -6
  18. package/dist/assets/{ArAgingDetailPage-KRxBhwoF-Bs_qr7kj.js → ArAgingDetailPage-DwRkcLEu-CyeLsbpX.js} +6 -6
  19. package/dist/assets/{AttachmentView-BQxK0CVV-CCdx-RAZ.js → AttachmentView-BrQRChzc-CLMui9x5.js} +6 -6
  20. package/dist/assets/{BankAccountSection-BNyucHO2-DmJIO1WC.js → BankAccountSection-hcKEMs80-C6Jbh-5h.js} +14 -14
  21. package/dist/assets/{BankAccountWarningSection-CXuL4u5y-g-HZT5cn.js → BankAccountWarningSection-CpxVDMSZ-C7N2KxYy.js} +10 -10
  22. package/dist/assets/{BankConnectionsSettingsPage-CBgj0E9b-D9RluevF.js → BankConnectionsSettingsPage-Bdw1K00m-BvzDHkyQ.js} +27 -27
  23. package/dist/assets/BillDetailPage-D0NLFZXA-C0lmLs0O.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-Dx4q6Dqs-DjDGvRN4.js → BillPayApprovalRuleDetailPage-DkpCvYvo-O8-69iVq.js} +4 -4
  25. package/dist/assets/{BillPayApprovalRulesPage-CqAUZyDI-F4GaYkgK.js → BillPayApprovalRulesPage-BEqZD0GU-BxwF6ACD.js} +17 -17
  26. package/dist/assets/BillPayPromoPage-BMcP4EU5-CGhF2c_7.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-Di_7lbDT-DcNv7Em-.js → BillPaySetUpPage-WdEdbf16-Dy9LV6PH.js} +4 -4
  28. package/dist/assets/BillingSettingsPage-GtRUqSZm-DYu87yXp.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-DaWpx5HK.js +1 -0
  30. package/dist/assets/{BoxItem-emrYmYE_-COqrZfL4.js → BoxItem-CACRFWG2-DVYuXWIN.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-9gZbBDL6-k_B2yV-X.js +138 -0
  32. package/dist/assets/{CardNumberSubText-D0jiyjgP-DrKFcYQ8.js → CardNumberSubText-C-oVdziK-DunIHxKO.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-Ck68kvKO-btdGd49W.js → CashbackDetailPage-BhFKSl4p-BQ_VopLN.js} +26 -26
  34. package/dist/assets/{ChargeCardDetailPage-3MoXQEkg-CSC4sD6E.js → ChargeCardDetailPage-D8J6HINu-BuT8xfhQ.js} +20 -20
  35. package/dist/assets/{ChargeCardListPage-C-Ju6BEl-kbouKU1g.js → ChargeCardListPage-tdUKyHdz-C4MlwZVJ.js} +15 -15
  36. package/dist/assets/{ChargeCardListTable-CiKxrzpB-BwvLbNVl.js → ChargeCardListTable-CByk3iqX-DoHny0DQ.js} +55 -55
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-CQFeSCt3-CSxBUfgn.js → ChargeCardPaymentHistoryPage-B8zRcrjo-BRbQG-FC.js} +34 -34
  38. package/dist/assets/{ChargeCardPromoPage-D9dU6_7j-D1-1DfmI.js → ChargeCardPromoPage-C4cgx2gm-D_Yc06ky.js} +32 -32
  39. package/dist/assets/{ChargeCardSetupPage-D0WrBcxG-ycTOq8L1.js → ChargeCardSetupPage-DtwiTNKA-BFEsY7tk.js} +4 -4
  40. package/dist/assets/{ChargeCardStatementsPage-CJFkaLCd-BumVYv_H.js → ChargeCardStatementsPage-B0KPw52e-DBUcIJ4E.js} +8 -8
  41. package/dist/assets/{CheckDepositDrawerPage-Durtx5TN-DwuNGoqA.js → CheckDepositDrawerPage-DKNAXI77-BLa4tOO2.js} +15 -15
  42. package/dist/assets/{CollapsableReportTable-CCnbdYjk-BPZVqk8_.js → CollapsableReportTable-Cq8bhaYC-ZEUmVRwU.js} +272 -272
  43. package/dist/assets/{CompanyOfficerDetailsSection-g42vPH8W-BxpfMgYr.js → CompanyOfficerDetailsSection-Rk0B5cB5-D0GfPSDE.js} +32 -32
  44. package/dist/assets/{CompanyPassportCard-B6FYoxyq-BX2GdDcs.js → CompanyPassportCard-CHaKk74P-ChdhDOcg.js} +8 -8
  45. package/dist/assets/{CompanyPassportPage-rQvYbXt5-CjnUEPux.js → CompanyPassportPage-DXWXFFKM-KfIA3e5g.js} +20 -20
  46. package/dist/assets/{CompleteProfile-CcNl1Edy-CEvFMhi-.js → CompleteProfile-ChaWsK6t-DspQFryi.js} +2 -2
  47. package/dist/assets/ConfettiBurst-CdB5fRMt-B7nj3Nyc.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DwnbKiER.js → ConstrainedInnerElement-BeIpAPjB-DRM9GAJ_.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-SK5exTt3-BjZ8lvyL.js → CreateOrEditVendorPage-C_8Jqubo-Bk2WY5iH.js} +13 -13
  50. package/dist/assets/{CreditCardPaymentDrawerPage-EtqemOZS-BnapCiVl.js → CreditCardPaymentDrawerPage-lOjOtk28-Csye-cQG.js} +18 -18
  51. package/dist/assets/CurrencySelectField-BDqU4HVy-2khO8cFF.js +139 -0
  52. package/dist/assets/CustomerOnboardingActivationPage-DO6NCakm-AEOEu5XD.js +88 -0
  53. package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-DBrhwTVX.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-FKQGP-CB-zopx1VE5.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-Nc7z_MPq.js} +16 -16
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-D3T1ftj7-D6SSHlsp.js → CustomerOnboardingNoStepsPage-CbG5WshV-DAGPqB92.js} +6 -6
  56. package/dist/assets/{CustomerOnboardingPage-K68iZ1pc-D0YY7tLm.js → CustomerOnboardingPage-DyVyf8oK-qTGHLvSK.js} +16 -16
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DZY25kUO-BvycO_p-.js → CustomerOnboardingProductSuitePage-1F3JfCRp-DuMqzBOS.js} +10 -10
  58. package/dist/assets/{Dashboard-C0M4vT8O-BYqqEpJb.js → Dashboard-Csggwob0-CyGCXOXS.js} +66 -66
  59. package/dist/assets/{DashboardReportPage-D59wQPy8-DDmWtoIa.js → DashboardReportPage-DFIdi_I0-BoysSy4a.js} +22 -22
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-4-suD4NX.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-CZHXtZB5-BEgA4Uyh.js → DepositAccTransactionItem-CZ7v1T4S-Btt7kuPp.js} +6 -6
  62. package/dist/assets/DepositAccTransactionListPage-FldPGX6K-BuhxBRx8.js +66 -0
  63. package/dist/assets/{DomesticWireDetailsPage-SDNDGGnk-Dpbta2A4.js → DomesticWireDetailsPage-C--eZ-UG-iiw5Chir.js} +2 -2
  64. package/dist/assets/{DownloadOverlay-CW7nP_gr-Gu43ShKI.js → DownloadOverlay-4f9deyJS-BdBfaHAQ.js} +26 -26
  65. package/dist/assets/{DrawerPage-BdXd2igp-_3hBO89m.js → DrawerPage-roO3xvRT-XwvbAR8R.js} +11 -11
  66. package/dist/assets/EditPeoplePage-pi5RclAj-BM2zxscy.js +55 -0
  67. package/dist/assets/EditReimbursementDetailPage-CIUcImns-BxmdhEQa.js +865 -0
  68. package/dist/assets/EntityDetailPage-OTKTVNMD-hGdzRif2.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BNvGG3d6-BgSlIoO3.js → EntitySummarySection-fBL4TZpT-DwG1Et7L.js} +32 -32
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Dpd7fWT8-CJNhgI1p.js → ExpenseAutomationOverviewPage-CnhNINCc-BWYSqjyt.js} +47 -47
  71. package/dist/assets/ExpenseAutomationPage-BDLCJbFw-BzgpYsoD.js +1703 -0
  72. package/dist/assets/{ExpressPayPage-B_jJBRS3-CqeRUh4h.js → ExpressPayPage-c8oTCnBR-BO5E-s_t.js} +17 -17
  73. package/dist/assets/{FeaturePreviewPage-CkiCr5FY-YcKqVNJz.js → FeaturePreviewPage-DkiAajs2-CeQkBCBu.js} +3 -3
  74. package/dist/assets/{FollowStepsSection-D4hhP5Ns-Dhgeeir0.js → FollowStepsSection-GaWu1kt9-BI3yZ8yb.js} +44 -44
  75. package/dist/assets/GlobalReviewListPage-DEzj0RVG-OABkNmc3.js +291 -0
  76. package/dist/assets/{InformationCardStack-L_DUxY4M-D8FPjAw-.js → InformationCardStack-dMFbHUWM-DZ5NgV9d.js} +6 -6
  77. package/dist/assets/{InsightsCardStack-BkHzx-Ku-CGbiVWHq.js → InsightsCardStack-BlXkyuyz-BYkM34Ig.js} +9 -9
  78. package/dist/assets/InsightsSection-D-oCmrir-CD7SS_Wx.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-Cd1Rx9sO-CrFZOF4B.js → IntegrationsSettingsPage-D-hfghuq-9CRnYKlL.js} +11 -11
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-D9MjWari-b7e10eXN.js → InternationalWireSwiftDetailsPage-DxdKE300-DZZJSkkC.js} +20 -20
  81. package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-UEYqwZ-4.js +65 -0
  82. package/dist/assets/{InviteFormPage-DuMgV0Gj-COrTi430.js → InviteFormPage-BCdalqtP-CheVg02u.js} +21 -21
  83. package/dist/assets/{InvitePageListView-C8FmzWUR-C8XzfhVF.js → InvitePageListView-B88FW48q-BlNwjDCb.js} +63 -63
  84. package/dist/assets/InvitePeoplePage-Z-2L7lWc-CTYR92-E.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-C8hytmay-CkdGw_XE.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-BSakJkYv-CIpGjR5J.js → IssueChargeCardPage-B6wmvbEr-BJuCdS5L.js} +18 -18
  87. package/dist/assets/{LabeledAddressValue-7ZW0Bp2--B1g9_ntb.js → LabeledAddressValue-CQrDCgNs-BE2vwBEi.js} +2 -2
  88. package/dist/assets/LabeledAddressValueField-BoHS44YO-GpChwVD3.js +45 -0
  89. package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-DbSKF3Eo.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-CBp07VjV-BFYchWVu.js → LabeledCountryMultiSelectField-D1fVDYR_-X0msQxRV.js} +12 -12
  91. package/dist/assets/{LabeledCreatableSingleSelectField-B_esaKIM-BMEYFLNo.js → LabeledCreatableSingleSelectField-Bhka-Faj-PIAOXuuF.js} +8 -8
  92. package/dist/assets/LabeledDocumentField-CnRk5aKZ-CP7eylom.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-BI8tGUij-WgkzFxD0.js → LabeledDropDownFormattedTextField-ChgtJqPr-DoauSiSH.js} +7 -7
  94. package/dist/assets/LabeledText-2EDpuXZ4-C8KbdmSn.js +42 -0
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BoJDAYsP-ISocjwDg.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-Dxfcd1ix.js} +20 -20
  96. package/dist/assets/{LabeledZeniRolesDropDownField-B7n0GmSV-aaT1wrjI.js → LabeledZeniRolesDropDownField-CpH0eDWO-nc3j9OL8.js} +28 -28
  97. package/dist/assets/{LinkJETransactionPage-BRHWap1M-B6jJFTGs.js → LinkJETransactionPage-BhV2MnCY-2VFbWc8b.js} +16 -16
  98. package/dist/assets/LockCardPage-CHv1xi2J-DERlEjt9.js +623 -0
  99. package/dist/assets/{LowBalancePopup-6cIv7QGI-Cdkp97a-.js → LowBalancePopup-Cb55PGLc-gAPp5TRy.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-MnmyVJLu.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-BiwQJWMK.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-Ba4r75te.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-09NLbjFG-BOQ43guP.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-BaWqmY8Y-DpNPE-31.js → MagicLinkTitleSection-BA-i6vzA-BK_4bD52.js} +5 -5
  105. package/dist/assets/MailingDetailsSection-EwtoQ2TZ-BkNjZheA.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-DkE_cUdA-B5nqcQf6.js → MyBankConnectionsSettingsPage-Aer6AWxY-BxNOJih2.js} +14 -14
  107. package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-CbDHJT6Y.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-DMz-6h9F-CFSERtJI.js +85 -0
  109. package/dist/assets/NavBarWithPicker-D8WNahg--DUG3-gGB.js +30 -0
  110. package/dist/assets/{NavigationArrow-CJ3RPyfe-DBdDojnz.js → NavigationArrow-kQWS5Pzb-BEUVzE31.js} +7 -7
  111. package/dist/assets/{NavigationDots-D4COr3-8-BoU1J180.js → NavigationDots-BQb_Fodq-DtOlofVb.js} +2 -2
  112. package/dist/assets/{NewGlobalMerchantPage-CwrkgMXG-CLtkOvtX.js → NewGlobalMerchantPage-z86XZorn-DoavPLi0.js} +40 -40
  113. package/dist/assets/NoDataChart-CyYJ6icu-DPPKQloI.js +26 -0
  114. package/dist/assets/{NoDataTable-Dvgptxms-ken8n7Gv.js → NoDataTable-DVe7sQhD-x5eVDn8H.js} +1 -1
  115. package/dist/assets/{NotFoundPage-BTdYSpRB-DzcaBauu.js → NotFoundPage-B1XCmhSe-DRWfxKXj.js} +3 -3
  116. package/dist/assets/{NotificationSettingsPage-hF48Xjil-DO4vgNZR.js → NotificationSettingsPage-BaN20EGV-BGI1AOxL.js} +20 -20
  117. package/dist/assets/NotificationsListConfig-BOW_TmPC-gVlD4if6.js +1 -0
  118. package/dist/assets/NotificationsPage-C9efAgjo-BbYISYVW.js +685 -0
  119. package/dist/assets/OpExByVendorPage-DXeBU3-z-CtYWzGKb.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-lZh11hHV.js → OverlayContainerPage-D4QU0p4o-DWwt3jvC.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-BzMdJxuM-CW9al9Hz.js → PandLWithForecastPage-CXtJhnA_-CX7CsCDy.js} +12 -12
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CDPrK0IE-Bj86EDR9.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-DGKyDmFS.js} +16 -16
  123. package/dist/assets/PeoplePage-DXC2CtOt-CfYJLjB6.js +675 -0
  124. package/dist/assets/{Preview-DOtugFE3.js → Preview-bUJ-afSX.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-CPh6jfEO-DETwqGwx.js → ProductsCarousel-ufZlh7Rx-BIDCk-h1.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-Dl2VCjhb-rYH3pV0i.js → PromoBaseCards-D2UbhBhT-BSjHyOyw.js} +4 -4
  127. package/dist/assets/{QBOConnectionDialog-B3Ph_e2z-_atibkwZ.js → QBOConnectionDialog-BrQ71F06-BH2ZV7vR.js} +6 -6
  128. package/dist/assets/QBOSetupSection-EOFscEW--DnT8IFo9.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Djt5y4oN-BC_IHAVg.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BKRiZPcc.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-CiJJjcFu-CunJ2bVS.js → ReimbursementApprovalRulesPage-CMpYn5y_-DhEhjlJP.js} +13 -13
  131. package/dist/assets/ReimbursementDetailPage-CfmICHZb-EfH6pB2u.js +314 -0
  132. package/dist/assets/{ReimbursementPromoPage-CPVzzNRs-HEHlPAqh.js → ReimbursementPromoPage-DXTAY8c7-BNOZ_20N.js} +32 -32
  133. package/dist/assets/{ReimbursementSetUpPage-BtOQPkaY-026y2WyP.js → ReimbursementSetUpPage-KrGPXTCb-qu8Limvb.js} +14 -14
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DBc7kt2f.js +1 -0
  135. package/dist/assets/{ReloadCard-C7JwMWXw-Cvj7koCQ.js → ReloadCard-vAhL7B8U-D7YWwAyL.js} +7 -7
  136. package/dist/assets/{ReportTableViewSelector-zuExZvaR-CuH-HEtv.js → ReportTableViewSelector-Y97ney3W-CvSSJ9ac.js} +5 -5
  137. package/dist/assets/{ReportsPage-DZpovmcV-CxO7Ay0j.js → ReportsPage-DKM0gVzR-DOSeE9yO.js} +6 -6
  138. package/dist/assets/{RevenueChart-ez6wj7cc-DsS332Fh.js → RevenueChart-BEjDS1u4-BIqPjNsw.js} +13 -13
  139. package/dist/assets/{ReviewDetailsPage-CSPg-7hy-BBEucee7.js → ReviewDetailsPage-BlQLrN9z-Dca8kSzg.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-CCHslqz--CZdRxBdf.js → ReviewOverlay-Bn3TFqfi-DPoyDHGn.js} +9 -9
  141. package/dist/assets/RoleWithToolTip-DhBFvJea-B8n0jz5Q.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DcTMG4tX-kAkxwz74.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-TyHmMR8_.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-Bxq5fYyw-ByraafRE.js → ScheduleDetailsPage-BP0wdtoP-B3l1fyxF.js} +3 -3
  144. package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-NNixAuqw.js +324 -0
  145. package/dist/assets/{ScreenRoutes-DADRt3m9.js → ScreenRoutes-Dkdo_QnR.js} +48 -48
  146. package/dist/assets/{SetUpAccountSection-8mYaeWwd-DgrolkOV.js → SetUpAccountSection-CoVrSSYL-CtIuqnUK.js} +7 -7
  147. package/dist/assets/SignIn-BoAejo7r-BtV3Ttcw.js +491 -0
  148. package/dist/assets/SignInScreen-DsBeFXpf.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-D3eISFuA-BH8cRQWr.js +134 -0
  150. package/dist/assets/{SpendManagementPerTabPage-BYvhmmSc-BoQt5fMQ.js → SpendManagementPerTabPage-BWDjZyLp-C1eUKzso.js} +114 -114
  151. package/dist/assets/{SpendManagementSection-CCoM_Cxv-CkVjYk2a.js → SpendManagementSection-D8rBpC-y-Co0RTAvb.js} +22 -22
  152. package/dist/assets/StatementItem-Cu6dlAsl-DmauqRhg.js +31 -0
  153. package/dist/assets/StatementsPage-DiY2BOcu-ZhmXJvRa.js +58 -0
  154. package/dist/assets/{StatusSwitcher-qPOjXUSo-CGzUIx1d.js → StatusSwitcher-B9MARTyR-njYpaPcv.js} +4 -4
  155. package/dist/assets/{SubTabSwitcher-CaSibFBm-RaOxS7Pn.js → SubTabSwitcher-C3rtSwro-UHdU-bAk.js} +2 -2
  156. package/dist/assets/{SummaryCard-BsvJatQs-CjLjCcVs.js → SummaryCard-CShVbqhj-BLj7j0_e.js} +1 -1
  157. package/dist/assets/TaskManagementPage-RVS8nv0n-uCuNXBz9.js +508 -0
  158. package/dist/assets/{TimeRangeSwitcher-CfMkQvYF-CiannF9n.js → TimeRangeSwitcher-DFnX6_WT-DWIBGfP-.js} +13 -13
  159. package/dist/assets/TimeframeSwitcher-CW08yYgo-Bs-pmnzg.js +31 -0
  160. package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-BFZ7bLWL.js +31 -0
  161. package/dist/assets/{TopExCard-B9J8lGLo-B30R7u2A.js → TopExCard-dI_WEGWb-C8zSoGB_.js} +12 -12
  162. package/dist/assets/{TopExDetailPage-BD1I7eRD-DJwR7TZd.js → TopExDetailPage-BWy5E8Lp-DECCdxzr.js} +14 -14
  163. package/dist/assets/TransactionActivityLogPage-DjhEIUYm-PWZNzXJ2.js +195 -0
  164. package/dist/assets/TransactionDetailPage-CuxqQd8U-BuHJVoXs.js +903 -0
  165. package/dist/assets/TransactionList-80KjM8Kg-CevujtV6.js +153 -0
  166. package/dist/assets/{TransactionListBig-Ds4Qi0V4-BTiJtrsL.js → TransactionListBig-DWQXH4ID-DoEu9YAb.js} +20 -20
  167. package/dist/assets/TransactionListPage-DC08rCC9-Clz1psGf.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-BuEX1oP3-Bo0z6TbP.js → TransactionVendorDetailPage-CzfJ5b_3-Bq1jZ95u.js} +15 -15
  169. package/dist/assets/{TransferDrawerPage-C52xyV5d-kY6aeXNg.js → TransferDrawerPage-6z-MoZZP-X9c2FbF1.js} +40 -40
  170. package/dist/assets/{TreasuryOverviewPage-BCCkSArK-DMCpyOsl.js → TreasuryOverviewPage-CF_ter0o-BGvD7KcD.js} +38 -38
  171. package/dist/assets/{TreasuryPromoPage-vXhlCR_E-BZjuyryw.js → TreasuryPromoPage-Do-PTcjI-BVsAh_s5.js} +24 -24
  172. package/dist/assets/{TreasuryStatementsPage-BlrEtckW-CvkQwg1B.js → TreasuryStatementsPage-l_HC4zsb-BqffJxCU.js} +2 -2
  173. package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-ClHOa93u.js +58 -0
  174. package/dist/assets/{TrendChart-CHHzmjv2-Z1hhrqX1.js → TrendChart-C6B61CAm-BUmkAB5E.js} +5 -5
  175. package/dist/assets/{TrendWithTransactions-DwaY27f2-DpPg53YC.js → TrendWithTransactions-Bp3vhaPa-DETWpy6t.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-C8k9PzrN-BtUWAI2y.js → UncategorizedAccountsMappingPage-cbFqKAv4-DeCca6Ny.js} +18 -18
  177. package/dist/assets/{UnitIntegrationPage-C8kaN2M_-C9KPkw2-.js → UnitIntegrationPage-DZ0ZpE5p-DeiuATlr.js} +5 -5
  178. package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-CydYggee.js +38 -0
  179. package/dist/assets/Vendor2FAPopup-DezpDfp8-DiVrYh3K.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-C8TWKYfc-Becdxrwt.js +1 -0
  181. package/dist/assets/{VendorDetailPage-BYaJXinH-DUPwtiyr.js → VendorDetailPage-C4g_Gfsl-BNNbSoIa.js} +89 -89
  182. package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-eHvavwdw.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-C5jYzHb1-C2mNpfNu.js → VendorFiling1099EditablePage-Ckt2MiVN-e4TYQZVn.js} +15 -15
  184. package/dist/assets/VendorFirstReviewPage-CIKRaTax-BN07guXv.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-B_plx9rY-B5vOg7i2.js → VendorInternationalWireDetailsPage-Dz8mMD8d-TCwuy6i-.js} +17 -17
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-CPyZywKh.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-BE9NN7j2-M2MOrj0H.js → VendorsAccountsSection-BT-RADSV-Bve5DAMe.js} +4 -4
  188. package/dist/assets/{VerifyDevice-CHhkhIiR-CN-EcPav.js → VerifyDevice-Cxc9CVMi-DbObYdix.js} +11 -11
  189. package/dist/assets/{VideoPlayer-Dp4LYdDK-BIrhMJBd.js → VideoPlayer-9UkKMhGy-DADkPX-f.js} +2 -2
  190. package/dist/assets/{VideoPopup-Kq2Ny4qb-GkudTuD5.js → VideoPopup-rfiYmtio-DF-tGFMP.js} +1 -1
  191. package/dist/assets/{WarningsDrawerPage-BaJGWils-DFY_x5GH.js → WarningsDrawerPage-DrUA4asI-C6MUqBWp.js} +7 -7
  192. package/dist/assets/{ZeniAccountDetailPage-CqeawFzU-pmL8pPeq.js → ZeniAccountDetailPage-K016HgQt-wx5VYyBN.js} +24 -24
  193. package/dist/assets/{ZeniAccountListViewPage-BC7znv-z-NELgzow8.js → ZeniAccountListViewPage-1oZZynB1-E-BTeqGP.js} +17 -17
  194. package/dist/assets/{ZeniAccountNavBarPieces-BEekGYF8-5MGMMXj0.js → ZeniAccountNavBarPieces-C6Oicpue-a3nzNo79.js} +3 -3
  195. package/dist/assets/{ZeniAccountPromoPage-BD61iMJM-AywKP4VO.js → ZeniAccountPromoPage-BCgys-YM-CM9NQ_BO.js} +24 -24
  196. package/dist/assets/{ZeniAccountSetupPage-CIUArIFg-CEZLAy_L.js → ZeniAccountSetupPage-BubBgkoa-Duwi7djt.js} +3 -3
  197. package/dist/assets/ZeniCopyright-BxIwmms--Doa5lp53.js +1 -0
  198. package/dist/assets/ZeniTransferAmountSlider-DVJ0puXA-2P0ZBWZ7.js +63 -0
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DWXM_TBw.js → add-to-wallet-DgdBD8_G-DikzZE6B.js} +1 -1
  200. package/dist/assets/{analytics-Cvg-u8-2.js → analytics-DYhmL7CM.js} +30 -30
  201. package/dist/assets/{analyticsHelper-BlzRkKZg-B2LkgvA8.js → analyticsHelper-CT5zOInj-99CvxgyS.js} +1 -1
  202. package/dist/assets/{analyticsHelper-BpNAOx5Q.js → analyticsHelper-DDXauk_Q.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-CMFStSYD.js → arrow-south-east-round-PEovUgvH-8jWq8JIP.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-C_0tBgXa.js → auto-transfer-rule-mbafm5D3-BQD13VLl.js} +1 -1
  205. package/dist/assets/{chartTypes-Bg8wCCJo-ByGBP7Kx.js → chartTypes-Ddw_3-6f-HF5eETfQ.js} +1 -1
  206. package/dist/assets/commonDimensions-ClmbdehE-aq41ZcdE.js +1 -0
  207. package/dist/assets/{commonTypes-B2dNLPs8-LssZrp5i.js → commonTypes-B-foaEwJ-DpfDV34V.js} +1 -1
  208. package/dist/assets/{constants-DpEmalb9.js → constants-mf68mEZJ.js} +1 -1
  209. package/dist/assets/{core-BigkILPm.js → core-D7HgM8n1.js} +1 -1
  210. package/dist/assets/{dash.all.min-BeiUQojL.js → dash.all.min-D8zACU7x.js} +1 -1
  211. package/dist/assets/{detailCommon-dFjFrXPn-CuohGWbm.js → detailCommon-Cpgf9GLg-BeTL8M1q.js} +9 -9
  212. package/dist/assets/downloadPdf-DfRYmfsd-v-LOP3Jl.js +1 -0
  213. package/dist/assets/{empty-B9dXvt_8.js → empty-NSIYiedq.js} +1 -1
  214. package/dist/assets/{empty-CpJRwiZc.js → empty-Y3MKkeNh.js} +1 -1
  215. package/dist/assets/epic-CeNkV6CJ.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-JOtbwZSq.js → gift-box-Cmt9OgIZ-CD4XSNN9.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BSKF2OrL.js → graphic-no-data-l-DU4J8fDt-Cj1mbKoU.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-VZD1sYCA.js → graphic-no-data-net-burn-l-CzmycA0m-DMlgtG13.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-BVbCPIlH.js → handshake-BPg58FML-CDBh0ipY.js} +1 -1
  220. package/dist/assets/{helper-84lLR0pR-CHNdYDIc.js → helper-DP3YY99s-DI38626F.js} +3 -3
  221. package/dist/assets/{index-DOkuqa9Y.js → index-B1CF5cm3.js} +1 -1
  222. package/dist/assets/{index-CK72u5UX.js → index-BB6TP51b.js} +1 -1
  223. package/dist/assets/{index-CO-_hM8s.js → index-BDP43MqE.js} +1 -1
  224. package/dist/assets/{index-BnrFROY2.js → index-BUGp6bnR.js} +1 -1
  225. package/dist/assets/{index-Bi0ZQY9Y.js → index-Br79bjER.js} +1 -1
  226. package/dist/assets/{index-kUGHSXzQ.js → index-DCa8flZr.js} +1 -1
  227. package/dist/assets/{index-C0Qk6Z4T.js → index-DTirxbyQ.js} +4530 -4535
  228. package/dist/assets/{lexical-DMkegWP6.js → lexical-BIyV8PdW.js} +1 -1
  229. package/dist/assets/{liveblocks-CEs1rDbD.js → liveblocks-DIuhFCxt.js} +1 -1
  230. package/dist/assets/{lottie-B9wjZjZ1.js → lottie-CoVTVb_w.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-CM3HanTy.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-xo9yV2zx-D-t0QvXH.js → mapSectionWithAcOnlyToTreeNode-QJI_OYzu-BY_qJXQo.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-DacYuJs2.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-D7B8Pylg.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-C9qIIDvL-cwYb-_mq.js → mapTimeframeBalancesToTreeNode-J3b1nb_T-D59tSp4H.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-COGO4zaM-DoXO862U.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-BNoQeOGL.js} +1 -1
  237. package/dist/assets/{mui-_BiizxEu.js → mui-CUgxbbSv.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-DOAzp2B2.js → page-detail-CWX5S47F-CYodllrt.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-COBjrU2Y.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-Bk2E4ZQD.js → radio-default-CiSgisfh-D5Swvnjv.js} +1 -1
  241. package/dist/assets/{react-DV52dlQF.js → react-BUMR3Oqj.js} +2 -2
  242. package/dist/assets/{react-BDJwzlQ1.js → react-BXfpyu7-.js} +1 -1
  243. package/dist/assets/{react-Bid-85AH.js → react-C1Bx9mvH.js} +1 -1
  244. package/dist/assets/{react-CstF33mL.js → react-CBTPpMQr.js} +1 -1
  245. package/dist/assets/{react-B5lksOsX.js → react-DEF24OHG.js} +1 -1
  246. package/dist/assets/{react-DQZdqdFY.js → react-DEm3GFrk.js} +3 -3
  247. package/dist/assets/{react-FG-k1_Zp.js → react-DPzCxJ9_.js} +1 -1
  248. package/dist/assets/{react-CajqMF-O.js → react-DWqZUhoP.js} +1 -1
  249. package/dist/assets/{recharts-C1J08DKE.js → recharts-Cv8hlrkl.js} +1 -1
  250. package/dist/assets/{sentry-DNdJk61Y.js → sentry-DuRPstDP.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-BJAVJLNs.js → shield-DOlUxcFf-BuWXLRZa.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-BFfmnf7p.js +1 -0
  253. package/dist/assets/toChartData-BEjMhb7--D2HEmA7d.js +1 -0
  254. package/dist/assets/{uploadAttachment-Btwmohbb-BIEOFcgm.js → uploadAttachment-DUpHzqMe-BV5nx0ZT.js} +19 -19
  255. package/dist/assets/uploadReceipts-Dge0cNF1-D2wqfNY0.js +1 -0
  256. package/dist/assets/{url-7mcltx3r.js → url-CucjwMCN.js} +1 -1
  257. package/dist/assets/{url-BzfjL4PI.js → url-P-v-bynO.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-Ccim685e.js → useLongPress-GCK2COYQ-CK2T-95t.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-qHMqNnBh.js → usp-line-BBd1wKwW-Du-iFEZV.js} +1 -1
  260. package/dist/assets/{utils-CJz9ZWWV.js → utils-DiiaN_Gy.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-BkKyof9Q.js → zeni-epic-state-DfBiKLGZ.js} +34 -34
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/ACHDetailsPage-Nw7UKktD-BkNC4e5B.js +0 -21
  265. package/dist/assets/AccountInfoPage-D4R2TjfL-q-EauRk4.js +0 -18
  266. package/dist/assets/AccountRow-k3PBYMDV-BqvmTgGx.js +0 -298
  267. package/dist/assets/AddAddressForCardDrawer-BUlO08En-CebfK0vU.js +0 -6
  268. package/dist/assets/ApAgingDetailPage-ldAZScyH-BMhKfKFb.js +0 -46
  269. package/dist/assets/ApprovalRulesSettingsPage-CSEnfHsr-BydIE26A.js +0 -47
  270. package/dist/assets/BillDetailPage-DD-o3YCG-aXq3dwDB.js +0 -266
  271. package/dist/assets/BillPayPromoPage-BR1pLuKD-40d0wnUv.js +0 -84
  272. package/dist/assets/BillingSettingsPage-B8bxR3h2-CrIEihc3.js +0 -44
  273. package/dist/assets/BillsBulkReviewDrawerPage-OlbqCpCz-CYJfmGFY.js +0 -1
  274. package/dist/assets/BusinessVerificationPage-70_wkxdb-DV1V3U0I.js +0 -138
  275. package/dist/assets/ConfettiBurst-DjGWV0IU-CcvGhyUt.js +0 -1
  276. package/dist/assets/CurrencySelectField-b-bFTgxG-DkRtMPX9.js +0 -139
  277. package/dist/assets/CustomerOnboardingActivationPage-Dyk4RgRT-uRzB-RK6.js +0 -88
  278. package/dist/assets/CustomerOnboardingContainerPage-zKUA5_Db-BYTNjhXO.js +0 -1
  279. package/dist/assets/DashboardSidebarBackgroundAnimation-P0F5PKw_-aKFIlt3u.js +0 -12
  280. package/dist/assets/DepositAccTransactionListPage-MLtgU8v7-jrThBUmf.js +0 -66
  281. package/dist/assets/EditPeoplePage-DXaFGpmI-CZHUuWvz.js +0 -55
  282. package/dist/assets/EditReimbursementDetailPage-Ds8TT5V_-WG75tTc9.js +0 -865
  283. package/dist/assets/EntityDetailPage-Crf3l24d-BrN0JRJE.js +0 -18
  284. package/dist/assets/ExpenseAutomationPage-CWAMORJA-CALJ7ezd.js +0 -3001
  285. package/dist/assets/GlobalReviewListPage-CXTY3EgT-DdtNEjtj.js +0 -291
  286. package/dist/assets/InsightsSection-BPznqBDz-CK20z1Lb.js +0 -27
  287. package/dist/assets/InternationalWireVerificationPage-DkLS_bpy-CU7ACyPQ.js +0 -65
  288. package/dist/assets/InvitePeoplePage-DGPvMvBJ-Ce-6b38B.js +0 -12
  289. package/dist/assets/InvoiceUploadSection-CdYXqUHS-DdkPj4w6.js +0 -140
  290. package/dist/assets/LabeledAddressValueField-D8dreD-P-CutCad_f.js +0 -45
  291. package/dist/assets/LabeledControlledCheckBoxField-Dk2m4oDh-DQ1UIi3x.js +0 -16
  292. package/dist/assets/LabeledDocumentField-nN1pbnDm-DRXhEc0D.js +0 -41
  293. package/dist/assets/LabeledText-DyYv9nNM-Rx5E4rTb.js +0 -42
  294. package/dist/assets/LockCardPage-3evJXNUe-DEvsvIXw.js +0 -623
  295. package/dist/assets/MagicLinkACHDetailsPage-Dqnd8OaJ-CNFVgD0s.js +0 -1
  296. package/dist/assets/MagicLinkDomesticWireDetailsPage-o3R74kSf-CTFJDugq.js +0 -1
  297. package/dist/assets/MagicLinkInternationalWireDetailsPage-8w78T_Tq-CaVecplo.js +0 -1
  298. package/dist/assets/MagicLinkSuccessPage-dnU4ZBPE-m6Lhs6Op.js +0 -31
  299. package/dist/assets/MailingDetailsSection-9K9M3nSH-QXKTdG6h.js +0 -21
  300. package/dist/assets/MyPendingActivationChargeCardListPage-X64-wbJV-CjppeSVJ.js +0 -6
  301. package/dist/assets/MyProfileSettingsPage-ZFBRBkeF-P3LdxTas.js +0 -85
  302. package/dist/assets/NavBarWithPicker-CFd6K3KH-BauUMxnD.js +0 -30
  303. package/dist/assets/NoDataChart-DpQy-slq-ChCRHiVL.js +0 -26
  304. package/dist/assets/NotificationsListConfig-CTlXqNw7-Cgmm35uA.js +0 -1
  305. package/dist/assets/NotificationsPage-odaAtDv9-B6vik02n.js +0 -685
  306. package/dist/assets/OpExByVendorPage-CwfT-ykE-xwieXP3i.js +0 -100
  307. package/dist/assets/PeoplePage-D_str2r1-UsQAXDF3.js +0 -727
  308. package/dist/assets/QBOSetupSection-Dg-ZcGH4-CLd5XL5k.js +0 -79
  309. package/dist/assets/ReimbursementDetailPage-C7jzaWRr-BtyMwCn9.js +0 -314
  310. package/dist/assets/ReimbursementsBulkReviewDrawerPage-oy12qHl7-Bxrw7vlM.js +0 -1
  311. package/dist/assets/RoleWithToolTip-vpx07PDQ-lGN6cB4F.js +0 -22
  312. package/dist/assets/ScheduleSequenceTable-DZ4vlDs--pwUjwjkR.js +0 -324
  313. package/dist/assets/SignIn-D8cZWP_m-zJWSuXYX.js +0 -491
  314. package/dist/assets/SignInScreen-DRfU3UD9.js +0 -1
  315. package/dist/assets/SpendManagementListViewPage-VfZLwPVN-sElZkBgS.js +0 -134
  316. package/dist/assets/StatementItem-eSR1knfw-B9s34jxc.js +0 -31
  317. package/dist/assets/StatementsPage-DLjSMQ19-Czeo_Ttx.js +0 -58
  318. package/dist/assets/TaskManagementPage-DEF0fOcP-BxFiNe5X.js +0 -508
  319. package/dist/assets/TimeframeSwitcher-D8BZqgLE-BTtCyPkd.js +0 -31
  320. package/dist/assets/TimeframeSwitcherWithToggle-CtsW3T5I-Bzp6YXDJ.js +0 -31
  321. package/dist/assets/TransactionActivityLogPage-8wO9Ge26-CscduFE0.js +0 -195
  322. package/dist/assets/TransactionDetailPage-Bg2WIamD-DFJfYPF-.js +0 -903
  323. package/dist/assets/TransactionList-Df0ONSNP-YajUB1tB.js +0 -153
  324. package/dist/assets/TransactionListPage-kj-3e5OW-HWj3Mfcy.js +0 -35
  325. package/dist/assets/TreasuryTaxLetterPage-Ry0VzYnZ-HEWOtnH3.js +0 -58
  326. package/dist/assets/UploadAdditionalDocumentOverlay-DI_ggkf1-DE8vz5Cd.js +0 -38
  327. package/dist/assets/Vendor2FAPopup-CFubwXdL-DCQTvV0z.js +0 -1
  328. package/dist/assets/VendorACHDetailsPage-Cgpbjg2Q-CWJCAejj.js +0 -1
  329. package/dist/assets/VendorDomesticWireDetailsPage-C44ZvJ_s-CM6ieHfN.js +0 -1
  330. package/dist/assets/VendorFirstReviewPage-D9O9ZrEo-DOoJTpGj.js +0 -730
  331. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DumD421h-CK-xdBEU.js +0 -1
  332. package/dist/assets/ZeniCopyright-CHWlGjTG-KN0tcU8W.js +0 -1
  333. package/dist/assets/ZeniTransferAmountSlider-DNmKLIDa-C2yxsdzh.js +0 -63
  334. package/dist/assets/commonDimensions-TCgIgcIo-SwaPAAMP.js +0 -1
  335. package/dist/assets/downloadPdf-CLYXLTga-F4u05EfU.js +0 -1
  336. package/dist/assets/epic-CQa9naTZ.js +0 -2
  337. package/dist/assets/mapLoadingInProgressToTreeNode-zhLf08J--DqyjwjpN.js +0 -1
  338. package/dist/assets/mapSpacerToTreeNode-DAN6wWZH-BjKhXkVS.js +0 -1
  339. package/dist/assets/mapTimeframeBalancesToTreeNode-Bj58shsO-DZ9mWHDZ.js +0 -1
  340. package/dist/assets/panelSelectedMixin-Cddsb26L-CT-PXRed.js +0 -3
  341. package/dist/assets/toCOABalancesWithID-DG5oSoAT-DB2kfV3h.js +0 -1
  342. package/dist/assets/toChartData-DG9EtlOy-C--iJHXH.js +0 -1
  343. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-BlBYl9KM.js +0 -1
  344. package/dist/assets/uploadReceipts-Dge0cNF1-Z9hpH5GP.js +0 -1
@@ -0,0 +1,266 @@
1
+ import{J as Zn,aw as Un,d as Kn,gk as Vn,gl as Hn,gm as qn,gn as Xn,ce as Gn,aR as Yn,y,V as t,fb as ct,fc as Qn,o as a,fd as Jn,fe as ea,ff as ta,aO as Se,fg as na,aQ as b,bD as pt,bp as mt,dw as ut,cq as yt,cr as ht,cs as bt,go as aa,gp as ia,gq as la,gr as oa,fl as j,gs as A,fn as $,fo as k,fk as ra,b as gt,p as oe,fm as Ot,fu as sa,fp as da,fq as ca,gt as pa,gu as ma,aS as ua,ao as ft,bU as ve,gv as ya,gw as L,F as ha,u as s,ag as ba,c3 as ga,gx as fa,x as xa,gy as wa,fv as xt,H as Ta,d4 as va,cj as Da,gz as wt,b8 as Ia,ba as ja,c as Aa,bW as Ft,d5 as $a,gA as ka,ai as Et,av as Sa,b6 as Ca,bu as Pa,gB as Ba,al as Ra}from"./index-DTirxbyQ.js";import{a as p}from"./sentry-DuRPstDP.js";import{n as i}from"./mui-CUgxbbSv.js";import{a as za}from"./liveblocks-DIuhFCxt.js";import{bO as Ma,bL as Na,bP as La,FR as Oa,bN as Fa,bH as Ea,bh as _a}from"./zeni-epic-state-DfBiKLGZ.js";import{o as Wa,t as Za}from"./LowBalancePopup-Cb55PGLc-gAPp5TRy.js";import"./core-D7HgM8n1.js";import"./lottie-CoVTVb_w.js";import"./recharts-Cv8hlrkl.js";import"./analytics-DYhmL7CM.js";import"./lexical-BIyV8PdW.js";import"./utils-DiiaN_Gy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="77796d81-c442-4364-9101-b772e8f68b44",e._sentryDebugIdIdentifier="sentry-dbid-77796d81-c442-4364-9101-b772e8f68b44")}catch{}})();const Ua=e=>p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",...e},p.createElement("g",{id:"Layer_1"},p.createElement("path",{fill:"none",stroke:"#757d7e",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M4.4,30.6l6-5.9c1,.6,2.1.9,3.3,1,1.1.1,2.3,0,3.4-.4,1.1-.4,2.1-.9,2.9-1.7.9-.8,1.5-1.7,2-2.7,0-.1,0-.2,0-.4,0-.1,0-.2-.1-.3,0-.1-.2-.2-.3-.2-.1,0-.2,0-.4,0h-4.6c-.8,0-1.6-.3-2.1-.9-.6-.6-.9-1.3-.9-2.1s.3-1.5.9-2.1c.6-.6,1.3-.9,2.1-.9h3.8c.1,0,.3,0,.4-.1s.2-.2.3-.3c0-.1,0-.3,0-.4,0-.1,0-.3-.1-.4-1.3-1.6-3.1-2.7-5.2-3.1-2.1-.4-4.2,0-5.9,1.2-1.8,1.1-3,2.8-3.5,4.8s-.2,4.1.8,5.9l-6.1,5.7,3.3,3.3Z"})),p.createElement("g",{id:"Layer_2"},p.createElement("g",null,p.createElement("path",{fill:"#c27419",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M31,8c0,1.9-.7,3.8-2.1,5.1-1.3,1.4-3.2,2.2-5.1,2.2-.9,0-1.9-.2-2.7-.5-.9-.3-1.7-.9-2.3-1.5-.7-.7-1.2-1.4-1.6-2.3-.4-.9-.6-1.8-.6-2.7,0-1.9.7-3.8,2.1-5.1,1.3-1.4,3.2-2.2,5.1-2.2.9,0,1.9.2,2.7.5.9.3,1.7.9,2.3,1.5.7.7,1.2,1.4,1.6,2.3.4.9.6,1.8.6,2.7Z"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,9.4v-4.6"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,11.4s0,0,0,0c0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1,0,0,0,0,.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0-.1,0,0,0,0-.1,0h0"})))),Ka={formTitle:new Ta("h6Medium","h5Medium")},m={containerPaddingLeft:new y(s[3],s[6],s[6]),containerPaddingRight:new y(s[3],s[6],s[8]),marginBottom:new y(s[3],s[3]),labelWidth:new y(120,160,160),formTitlePaddingLeftRight:new y(30,0),marginTop:new y(s[1],0),rightIconsGap:new y(s[4],s[5]),closeContainerMarginTop:new y(s[1],0),formTitleMarginTopBottom:new y(0,0),footerButtonWidth:new y(120,120,120,165,165),right:new y(s[3],s[0]),actionsContainerRight:new y(s[0],s[3],s[3],s[6],s[6]),otherActionsIconContainerMarginLeft:new y(s[5],s[4],s[4],s[5]),otherActionsContainerBottom:new y(58,44),iconContainerMarginTop:new y(2,s[1]),recurringSchedulePaddingLeft:new y(s[2],0),paddingRight:new y(s[2],s[3]),labelMarginRight:new y(s[0],s[3]),textPadding:new y(s[0],s[3]),additionalTextMarginTop:new y(-4,0),refundPopupWidth:new y(300,420,420),drawerSectionPaddingLeftRight:new y(s[4],s[5]),infoLabelPaddingRight:new y(s[3],s[3]),infoLabelMarginTop:new y(s[1],s[0]),navBarHeight:new y(0,0,s[8]),navBarContainerWidth:new y(100,58)},{dateFormat:Va,common:{noText:C,strings:{empty:c},currency:Tt,via:Ha,more:qa,edit:Xa},spendManagement:{billPay:{billDetails:n,billsByTabs:Ce,bulkActions:vt,vendorCreation:De,insufficientFunds:_t}},collaboration:{threads:{placeholder:Dt,tooltip:It,title:{comments:Ga}}}}=ha.getLocalizedStrings(),Ie=Va.visual.MMMDCommaYYYYformat,_i=({billDetails:e,currentTenant:g,showApproveRejectBtns:f,isShowDeletedBillsEnabled:Z,signedInUser:re,isAdmin:Wt,isRealTimeApprovalEnabled:Zt,isInternationalPaymentShaVsOurEnabled:Ut,hasZeniAssistAccess:Kt,analytics:M,showMarkAsPaidButtonToCreator:U,showMarkAsPaidButtonToApprover:Pe,isBillPayCommentingEnabled:Be,isZeniUser:Vt,showBackButton:Re=!0,isDetectInsufficientFundsEnabled:Ht,redirectToEditableBillScreen:qt,redirectToBillsScreen:Y,discardBillDetailsFromLocalStore:ze,deleteBill:Xt,cancelAndDeleteBill:Me,approveOrRejectBill:Ne,onAddNewRule:Gt,onAttachmentClick:Le,saveBillDetails:Yt,discardOutsideZeniPaymentData:Qt,onBackClick:Oe,updateEditRealTimeApproverClicked:Jt,onSaveRealTimeApprovals:en,onRetryPaymentClick:tn,onRefundPaymentClick:nn,initialOpenThreadRequest:K})=>{const l=Zn(),o=Un(),Fe=Kn(),[an,V]=p.useState(!1),[Ee,se]=p.useState(!1),[de,ce]=p.useState(!1),[_e,pe]=p.useState(!1),[ln,me]=p.useState(!1),[We,Q]=p.useState(!1),h=e.transactionDetails?.id,on=Vt?Vn:Hn,{requestToOpenThread:ue,setRequestToOpenThread:J,setOpenThread:ee}=p.useContext(on);p.useEffect(()=>{K?.threadId!=null&&K?.companyId!=null&&K?.entityType!=null&&J(K)},[K,J]);const[rn,H]=p.useState(!1),T={application:"dashboard",companyId:o.currentTenant?.companyId,tab:"bill",entityId:h,isGlobalComment:!1},{threads:q,isLoading:P}=qn(T,"both",!1),x=Be&&h!=null,Ze=p.useMemo(()=>h==null?[]:q.filter(r=>r.resolved===!1&&!r.id.includes(Xn)),[q,h]).length,v=`dashboard_${o.currentTenant?.companyId}`,sn=p.useCallback((r,u)=>{ee(u),H(!1)},[ee,H]);p.useEffect(()=>{ue?.threadId!=null&&q.length>0&&!P&&(ee(ue.threadId),J(null))},[ue,q,P,ee,J]);const Ue=p.useRef(!1),[dn,cn]=p.useState(!1),pn=p.useRef(r=>{r&&!Ue.current&&(Ue.current=!0,cn(!0))});Gn({componentName:"bill.details",enabled:dn});const[N,te]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[Ke,Ve]=p.useState("approved"),[mn,He]=p.useState(!1),[un,qe]=p.useState(!1),[Xe,Ge]=p.useState(!1),Ye=()=>He(!1),yn=()=>He(!0),Qe=Yn(e.zeniAssist?.refundStatus.fetchState),ne=p.useCallback(()=>{Y()},[Y]);p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed"||e.billSaveStatus==="Completed")&&(ze(),Y())},[e,Y,ze]),p.useEffect(()=>{Qe==="In-Progress"&&(e.zeniAssist?.refundStatus.fetchState==="Completed"||e.zeniAssist?.refundStatus.fetchState==="Error")&&(ce(!1),ne())},[Qe,e.zeniAssist?.refundStatus,ne]);const w=e.transactionDetails?.billPayInfo.stage,ae=e.transactionDetails?.billPayInfo.billStatus,X=e.transactionDetails?.billPayInfo.billPaymentStatus,hn=e.transactionDetails?.billPayInfo.billPaymentRefundStatus,ye=w?.code==="paid",D=ye?w:ae?.code=="approved"&&X?.code?X:ae,S=Ya(D,e.transactionDetails),O=e.transactionDetails?.billPayInfo.isRefundInitiated===!0?hn:X?.code!=null&&(ae?.code=="approved"||X.code==="mark_as_paid")?X:ae,he=e.transactionDetails?.vendor?.name,B=e.isRecurring,Je=()=>{e.transactionDetails?.id!=null&&qt(e.transactionDetails?.id??"")},bn=()=>{te({title:B?n.recurringBill.deleteRecurringTitle:n.deleteBillTitle,description:B?n.recurringBill.deleteRecurringAlertText:n.deleteAlertDescription,primaryButtonText:n.delete,secondaryButtonText:n.cancel}),V(!0)},gn=()=>{te({title:n.cancelBillTitle,description:n.cancelAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),V(!0)},fn=()=>{te({title:B?n.recurringBill.cancelAndDeleteRecurringTitle:n.cancelAndDeleteBillTitle,description:B?n.recurringBill.cancelAndDeleteRecurringAlertText:n.cancelAndDeleteAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),V(!0)},xn=()=>{M.trackRefundClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),te({title:n.zeniAssist.refundTitle,description:n.zeniAssist.refundDescription,primaryButtonText:n.zeniAssist.proceed,secondaryButtonText:n.cancel}),ce(!0)},wn={onOkClick:()=>{V(!1),N.primaryButtonText===n.delete?Xt?.(e.isRecurring):N.title===n.cancelBillTitle?Me?.(e.isRecurring):N.title===n.cancelAndDeleteBillTitle||N.title===n.recurringBill.cancelAndDeleteRecurringTitle?Me?.(e.isRecurring,!0):N.primaryButtonText===n.zeniAssist.proceed&&(M.trackRefundConfirmClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),nn())},onCancelClick:()=>{V(!1),ce(!1)}},Tn={onOkClick:r=>{me(!1),Ne({billId:e.transactionDetails?.id??"",type:"rejected",description:r})},onCancelClick:()=>{me(!1)}},vn=()=>{const[r]=Sa("ZeniAssist");return r!=null?t.jsx(Ca,{"data-testid":b("bill-details-zeni-assist-icon",h),onClick:()=>{pe(!_e),M.trackZeniAssistClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"")},style:{width:`${a.sp5}`,height:`${a.sp5}`,marginBottom:`${a.sp2}`},animationData:r,loop:!0,play:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},ie={invoiceNumber:e.transactionDetails?.documentId??"",invoiceDate:e.transactionDetails?.date,billDueDate:e.transactionDetails?.dueDate,memo:e.transactionDetails?.memo,currencyCode:e.vendorCurrency??Tt.currencyCode},be=e.transactionDetails?.lines?.map((r,u)=>{const R=r;return{lineIndex:u,lineId:R.id,account:R.account,class:R.class,amount:R.amount.amount,billable:R.billable,customer:R.customer,lineDescription:R.lineDescription,recipientAmount:R.recipientAmount?.amount}})??[],Dn=e.transactionDetails?.recipientTotalAmount.amount??0,ge=e.transactionDetails?.recipientTotalAmount,d={paymentType:e.paymentMethodType,paymentDate:e.transactionDetails?.billPayInfo.paymentDate,internationalTransferFeeBearerPaymentMethod:e.transactionDetails?.billPayInfo.internationalTransferFeeBearerPaymentMethod,paymentToBankAccount:e.bankAccount,paymentToPI:e.paymentInstrument},I=m.labelWidth.value(l),In=r=>r==="billable"||r==="has_been_billed"?n.yes:n.no,jn=d.paymentToBankAccount?.bankAccountNumber?d.paymentToBankAccount?.bankAccountNumber?.slice(d.paymentToBankAccount?.bankAccountNumber?.length-4):d.paymentType?.method?.includes("international")&&d.paymentToBankAccount?.bankAccountIban?d.paymentToBankAccount?.bankAccountIban?.slice(d.paymentToBankAccount?.bankAccountIban.length-4):"",An=d.paymentToBankAccount?.bankAccountName!=null&&d.paymentToBankAccount?.bankAccountName!=""?d.paymentToBankAccount?.bankAccountName:`${e.transactionDetails?.vendor?.name} - ${d.paymentToBankAccount?.bankName} XXXX${jn}`,$n=e.transactionDetails?.billPayInfo?.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${n.magicLink.collectFrom} ${e.transactionDetails?.billPayInfo?.toAccountVendorEmail}`,t.jsx(ji,{windowSize:l,children:t.jsx(Ii,{})})]}):void 0,et=e.transactionDetails?.date!=null&&e.transactionDetails.bookCloseDate!=null&&e.transactionDetails.date.isBefore(e.transactionDetails.bookCloseDate),kn=()=>{const r=d?.paymentToBankAccount?.bankAccountType,u=r!=null&&r!==""?$a(r.toLowerCase()):r??"";return`${De.achDetails.bankRoutingNumber} ${d?.paymentToBankAccount?.bankRoutingNumberAch}, ${d?.paymentToBankAccount?.bankName}
2
+ ${De.achDetails.bankAccountNumber} ${d?.paymentToBankAccount?.bankAccountNumber}, ${De.achDetails.accountTypeLabel} ${u}`},le=e.transactionDetails?.billPayInfo!=null?Ma(e.transactionDetails?.billPayInfo):void 0,Sn=le!=null&&e.paymentMethodType?.maxPeriod?.value!=null?Na(La(le?.toDate(),[0,6],e.paymentMethodType?.maxPeriod.value).toDateString()):void 0,tt=e.transactionDetails?.billPayInfo.expectedDepositDate??Sn,nt=ct(d?.paymentType?.method??"").replace("Same Day",""),Cn=(d?.paymentToBankAccount!=null||d?.paymentToPI)!=null?n.addedByZeni:e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact?t.jsx(Qn,{paymentTypeLabel:nt,onClick:yn,style:{marginTop:`${l==="small"?a.sp2:a.sp0}`}}):void 0,Pn=()=>d?.paymentToBankAccount==null&&d?.paymentToPI==null&&d?.paymentType?.method!=null&&e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact&&e.transactionDetails?.billPayInfo.paymentDate!=null?t.jsx(ka,{paymentType:d?.paymentType?.method,paymentDate:e.transactionDetails?.billPayInfo.paymentDate}):null,at=e.transactionDetails?.lines?.some(r=>{const u=r.account;return u?.isDeleted===!0&&u?.isBillEditableCoaAccountType===!1})??!1,fe=!(D?.code==="processing"||e.transactionDetails?.billPayInfo.isRefundInitiated===!0||e.transactionDetails?.billPayInfo.isRefundComplete===!0||(w?.code==="scheduled"||w?.code==="pending_approval")&&at),it=!((w?.code==="scheduled"||w?.code==="pending_approval")&&at),xe=e.zeniAssist?.isEligibleForRetryIBT===!0||e.zeniAssist?.isEligibleForRetryOBP===!0,we=e.zeniAssist?.isEligibleForRefund===!0,Bn=e?.transactionDetails?.billPayInfo.billPaymentMethodType.code==="wire"&&e?.transactionDetails?.billPayInfo.billPaymentMethodType.subCode==="international",Rn=Kt&&e.transactionDetails?.billPayInfo.billPaymentStatus.code!=null&&["failed","cancelled","returned"].includes(e.transactionDetails.billPayInfo.billPaymentStatus.code)&&(xe||we)&&Bn===!1,Te=xe||we,zn=e.transactionDetails?.billPayInfo.isRefundInitiated===!0&&e.transactionDetails?.billPayInfo.isRefundComplete===!1,E=D?.code,Mn=!zn&&(!et||D?.code==="processing"&&!B),lt=!et,ot=["small","medium-compact","medium-regular"].includes(l),G=Oa(e.transactionDetails?.bulkProcessingDetail?.type),F=Fa(e.paymentMethodType?.method),Nn=!G&&(E!=="processing"&&it||E==="processing"&&!B||E==="processing"&&lt||f&&F&&Pe),Ln=r=>{M.trackBillPayMarkAsPaidSubmit(r.paymentMode??"other",w?.code??"",D?.code??""),Yt(!0,Xe,r)},rt=()=>{qe(!0),M.trackBillPayMarkAsPaid(w?.code??"",D?.code??"")},On=()=>{Ge(!0),rt()},Fn=()=>{Qt(),qe(!1),Xe&&Ge(!1)},En=p.useMemo(()=>({companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,entityType:"bill.details",entityId:h??c,isGlobalComment:!1,application:"dashboard",tab:"bill",url:window.location.href}),[o.currentTenant,h]),_=Ht&&e.transactionDetails?.totalAmountWithFeesInUSD!=null&&w?.code!=="paid"&&D?.code!=="failed"&&D?.code!=="processing"&&D?.code!=="cancelled"&&D?.code!=="returned"&&D?.code!=="rejected"?Jn(e.transactionDetails?.totalAmountWithFeesInUSD,e.withdrawFrom,d.paymentDate):void 0,st=()=>{Ve("approved"),We===!0&&Q(!1),_!=null&&M.trackLowBalanceAccountApprove(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",xt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),Ne({billId:e.transactionDetails?.id??"",type:"approved"})},_n=()=>{Ve("rejected"),_!=null&&M.trackLowBalanceAccountReject(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",xt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),me(!0)},dt=p.useRef(null);return t.jsxs(pi,{windowSize:l,ref:dt,children:[t.jsx(ea,{anchor:"right",open:mn,onClose:Ye,transitionDuration:250,"data-testid":b("vendor-email-preview-drawer"),children:t.jsx(ta,{companyName:na(g.company?.companyInfo),vendor:e.transactionDetails?.vendor?.name,paymentDate:d.paymentDate?.format(Ie)??"",paymentType:nt,amount:Se("0,0.[00]",ge),isInvoiceAttached:!!e.transactionDetails?.attachments?.length,onClose:Ye})}),t.jsxs(hi,{ref:pn.current,windowSize:l,children:[t.jsx(ki,{windowSize:l,children:l==="small"?t.jsx(pt,{"data-testid":b("bill-detail-nav-bar-mobile"),title:t.jsxs(t.Fragment,{children:[he,e.isRecurring?t.jsx(ke,{width:a.sp4,height:a.sp4}):null]}),backgroundColor:Fe.colors.grey4,rightSideComponent:t.jsxs(Ct,{windowSize:l,children:[x?t.jsxs(Nt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),H(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>ut(u)),void 0,void 0,"page icon")},children:[t.jsx(mt,{count:P?void 0:Ze,isLoading:P,style:{left:"12px"}}),t.jsx(Lt,{})]}):null,t.jsx(Pt,{onClick:()=>ne(),"data-testid":b("bill-detail-nav-bar-small-close-button"),children:t.jsx(St,{})})]}),leftSideComponent:t.jsx(kt,{windowSize:l,onClick:Oe,"data-testid":b("bill-detail-nav-bar-small-back-button"),style:{visibility:`${Re?"visible":"hidden"}`},children:t.jsx($t,{})}),source:"BillDetailPage"}):t.jsx(pt,{"data-testid":b("bill-detail-nav-bar"),title:t.jsxs(t.Fragment,{children:[he,e.isRecurring?t.jsx(ke,{width:a.sp4,height:a.sp4}):null]}),rightSideComponent:t.jsxs(Ct,{windowSize:l,children:[x?t.jsxs(Nt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),H(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>ut(u)),void 0,void 0,"page icon")},children:[t.jsx(mt,{count:P?void 0:Ze,isLoading:P,style:{left:"12px"}}),t.jsx(Lt,{})]}):null,t.jsx(Pt,{onClick:()=>ne(),"data-testid":b("bill-detail-nav-bar-close-button"),children:t.jsx(St,{})})]}),leftSideComponent:t.jsx(kt,{windowSize:l,onClick:Oe,"data-testid":b("bill-detail-nav-bar-back-button"),style:{visibility:`${Re?"visible":"hidden"}`},children:t.jsx($t,{})}),enableTitleOnScroll:!0,scrollableContent:dt,source:"BillDetailPage"})}),t.jsxs(bi,{windowSize:l,children:[We?t.jsx(Wa,{withdrawFrom:e.withdrawFrom,paymentDate:e?.transactionDetails?.billPayInfo.paymentDate,onOkClick:st,onCancelClick:()=>{Q(!1),Je()},onClickAway:()=>{Q(!1)}}):null,un?t.jsx(Za,{onCancel:Fn,onProceedForMarkAsPaid:Ln,saveDetailsFetchState:e.billSaveStatus,paymentData:e.outsideZeniPaymentInfo}):null,an||de?t.jsx(yt,{titleComponent:t.jsx(bt,{children:N.title}),descriptionComponent:t.jsx(ht,{children:N.description}),primaryButtonText:N.primaryButtonText,proceedButtonVariant:de?"primary":"danger",secondaryButtonText:N.secondaryButtonText,action:wn,isEditPopup:!0,isLoading:e.zeniAssist?.refundStatus.fetchState==="In-Progress",children:de?Qa(l,e):null}):null,ln?t.jsx(yt,{titleComponent:t.jsx(bt,{children:n.rejectBillTitlePrefix+" "+(e.transactionDetails?.vendor?.name!=null?e.transactionDetails.vendor.name:"")}),descriptionComponent:t.jsx(ht,{children:n.rejectBillDescription}),primaryButtonText:n.send,secondaryButtonText:n.cancel,action:Tn,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:n.rejectBillReasonPlaceholder}):null,l!=="small"||S?t.jsxs(fi,{windowSize:l,children:[l!=="small"?t.jsxs(xi,{windowSize:l,children:[he,e.isRecurring?t.jsx(ke,{height:a.sp5,width:a.sp5}):null]}):null,Z&&S!=null&&S.code==="deleted"?t.jsx(Bt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):S?.value===Ce.tabsById.overdue?t.jsx(Bt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):null]}):null,O!=null&&O.code?l==="small"?t.jsx(aa,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:tt,scheduleDate:le,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):t.jsx(ia,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:tt,scheduleDate:le,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):null,ti(G,e,_),t.jsx(la,{sectionId:oa,currentVendorOption:{defaultOptions:[]},billId:h,isBillPayCommentingEnabled:Be,isBillPaid:ye,disableVendorActions:!0,vendor:e.transactionDetails?.vendor,prevBills:e.previousBills,onAttachmentClick:Le,isVendorRecommendationEnabled:!1,showVendorGptRecommendationText:!1}),d.paymentType?.method?.includes("ach"),t.jsxs(Ae,{children:[t.jsx($e,{children:n.whatForTitle}),t.jsxs(je,{children:[t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"invoiceNumber"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${$("invoiceNumber")}`},children:t.jsx(A,{label:{label:n.invoiceNumber,width:I},text:ie.invoiceNumber??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"invoiceDate"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${$("invoiceDate")}`},children:t.jsx(A,{label:{label:n.invoiceDate,width:I},text:ie.invoiceDate?.format(Ie)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"billDueDate"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${$("billDueDate")}`},children:t.jsx(A,{label:{label:n.billDueDate,width:I},text:ie.billDueDate?.format(Ie)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"memo"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${$("memo")}`},children:t.jsx(A,{label:{label:n.memo,width:I},text:ie.memo??C,style:{width:"auto"}})})]})]}),t.jsxs(Ae,{children:[t.jsx(gi,{windowSize:l,children:t.jsx($e,{children:n.lineItemsTitle})}),be.length>0?be.map((r,u)=>{const R=e?.transactionDetails?.lines?.find(Wn=>Wn.id===r.lineId)?.recipientAmount;return t.jsxs(mi,{children:[be.length>1?t.jsx(ui,{windowSize:l,children:t.jsx(yi,{windowSize:l,children:`${n.line} # ${u+1}`})}):null,t.jsxs(je,{children:[t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.recipientAmount`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${$("recipientAmount",u)}`},children:t.jsx(A,{label:{label:n.amount,width:I},text:R!=null?Se("0,0[.]00",R):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.lineDescription`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${$("lineDescription",u)}`},children:t.jsx(A,{label:{label:n.description,width:I},text:r.lineDescription??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.account`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${$("account",u)}`},children:t.jsx(A,{label:{label:n.category,width:I},text:r.account?.accountName??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.class`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${$("class",u)}`},children:t.jsx(A,{label:{label:n.class,width:I},text:r.class?.className??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.billable`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${$("billable",u)}`},children:t.jsx(A,{label:{label:n.billable,width:I},text:r.billable!=null?In(r.billable):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.customer`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${$("customer",u)}`},children:t.jsx(A,{label:{label:n.customer,width:I},text:r.customer?.name??C,style:{width:"auto"}})})]})]},u)}):null]}),t.jsxs(wi,{windowSize:l,children:[t.jsx(Ti,{children:n.total}),t.jsx(vi,{children:ge!=null?t.jsx(ra,{amount:ge,integerStyles:gt.h6Medium.cssObject,decimalStyles:gt.standardMedium.cssObject}):C})]}),t.jsxs(Ae,{children:[t.jsx($e,{children:n.paymentDetailsTitle}),t.jsxs(je,{children:[F?null:t.jsxs(t.Fragment,{children:[t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"withdrawFrom"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${$("withdrawFrom")}`},children:t.jsx(A,{label:{label:n.withdrawFrom,width:I},text:e.withdrawFrom!=null?Ot(e.withdrawFrom,l):c,style:{width:"auto"},additionalInfoLabelStyles:{textAlign:"right",paddingRight:m.infoLabelPaddingRight.valuePx(l),marginTop:m.infoLabelMarginTop.valuePx(l),color:oe.brandColorGoldDark},additionalInfoLabel:_!=null&&w?.code==="pending_approval"?_t.addMoney:_})}),t.jsx(z,{})]}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"paymentType"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${$("paymentType")}`},children:t.jsx(A,{additionalInfoLabel:d.paymentType?.method!=null&&d.paymentType.method.includes(Ea)&&Ut&&d.internationalTransferFeeBearerPaymentMethod!=null?t.jsx(ai,{children:sa(d.internationalTransferFeeBearerPaymentMethod)}):void 0,label:{label:n.paymentMethod,width:I},text:F&&e.outsideZeniPaymentInfo!=null?ei(e.outsideZeniPaymentInfo):ct(d.paymentType?.method??""),style:{width:"auto"}})}),F?null:t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"paymentTo"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${$("paymentTo")}`},children:t.jsxs(t.Fragment,{children:[t.jsx(A,{label:{label:n.paymentTo,width:I},text:d.paymentToBankAccount!=null?An:d.paymentToPI!=null?d.paymentToPI.displayText:$n,style:{width:"auto"},showEyeIcon:d.paymentToBankAccount!=null&&!!d.paymentType?.method?.includes("ach"),showAdditionalInfoLabel:!!e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact||d.paymentType?.method?.includes("ach"),tooltipText:kn(),additionalInfoLabel:t.jsx(ni,{children:Cn})}),Pn()]})})]}),F||e.isRecurring?t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"recurringPaymentType"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${$("recurringPaymentType")}`},children:t.jsxs(t.Fragment,{children:[t.jsx(A,{label:{label:n.paymentType,width:I},labelStyles:{marginRight:m.labelMarginRight.valuePx(l)},style:{width:"auto"},text:ca(e.isRecurring,F,e.transactionDetails?.recurringBillInstance??1,e.recurringBillConfigDetail?.totalPaymentCycles??0),textStyles:{paddingLeft:m.textPadding.valuePx(l),paddingRight:m.textPadding.valuePx(l)},additionalInfoLabel:da(l,e.isRecurring,F,e.recurringBillConfigDetail),additionalInfoLabelStyles:{paddingRight:m.paddingRight.valuePx(l),marginTop:m.additionalTextMarginTop.valuePx(l)}}),e.recurringBillInstances!=null&&e.recurringBillInstances.length>0?t.jsx(Ai,{style:{paddingLeft:m.recurringSchedulePaddingLeft.valuePx(l)},children:t.jsx(pa,{onAttachmentClick:Le,currencySymbol:e.transactionDetails?.recipientTotalAmount.currencySymbol??Tt.currencySymbol,recurringBillInstances:e.recurringBillInstances})}):null]})})]}):null]})]}),e.transactionDetails&&e.transactionDetails.id&&t.jsx(ma,{amount:Dn,activities:e.billActivities,stage:w?.code??"draft",onAddNewRule:Gt,entity:"bill_pay",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,allAccountingClass:e.allAccountingClasses,vendorOwnerId:e.vendorOwnerId??"",isAdmin:Wt,signedInUserId:re?.userId,showRealTimeApproval:Zt,entityApprovalId:e.billActivities[0]?.entityApprovalId??e.transactionDetails.entityApprovalId,updateEditMode:Jt,onSaveRealTimeApprovals:en},historicActivities:e.billHistory.activities}),t.jsx(Di,{})]}),e.transactionDetails?.vendor!=null&&!ye&&!e.transactionDetails.isDeleted?t.jsx(ua,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:U||f,showCancel:!U&&f,cancelBtn:{label:ot?n.buttons.reject:n.buttons.rejectBill,isLoading:Ke==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:_n,style:{width:m.footerButtonWidth.value(l)},reverseSpinnerColor:!1},primaryBtn:{label:Ja(U,ot),isLoading:Ke==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:U?rt:()=>{_!=null?Q(!0):st()},isDisabled:e.billSaveStatus==="In-Progress"||e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0,style:{width:U?"auto":m.footerButtonWidth.value(l)}},rightSideComponent:t.jsx(ii,{children:t.jsxs(ci,{windowSize:l,children:[!G&&Ee?t.jsx(ft,{onClickAway:()=>{se(!1),pe(!1)},children:t.jsxs(At,{windowSize:l,"data-testid":b("bill-actions-container"),children:[E!=="processing"&&it?t.jsx(W,{onClick:bn,"data-testid":b("delete-bill-action-item"),children:n.buttons.deleteBill}):null,E==="processing"&&!B?t.jsx(W,{onClick:gn,"data-testid":b("cancel-bill-action-item"),children:n.buttons.cancel}):null,E==="processing"&&lt?t.jsx(W,{onClick:fn,"data-testid":b("cancel-and-delete-bill-action-item"),children:n.buttons.cancelAndDelete}):null,f&&F&&Pe?t.jsx(W,{onClick:On,"data-testid":b("mark-as-paid-action-item"),children:n.paymentOutsideZeni.markAsPaid}):null]})}):null,_e?t.jsx(ft,{onClickAway:()=>{se(!1),pe(!1)},children:t.jsxs(At,{windowSize:l,"data-testid":b("bill-actions-with-zeni-assist-container"),children:[xe?t.jsx(W,{onClick:()=>{M.trackRetryClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),tn()},"data-testid":b("retry-bill-action-item"),children:n.buttons.retry}):null,we?t.jsx(W,{onClick:xn,"data-testid":b("refund-bill-action-item"),children:n.buttons.refund}):null]})}):null,t.jsxs(di,{windowSize:l,children:[Rn===!0?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Te?n.zeniAssist.tooltip:n.zeniAssist.connectToTeamTooltip,placement:"top",maxWidth:"267px",children:t.jsx(jt,{windowSize:l,showEditIcon:fe,isIconClickable:Te,"data-testid":b("other-actions-icon-container"),children:Te?t.jsx(vn,{}):t.jsx(oi,{})})}):null,!G&&fe===!0?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Xa,placement:"top",children:t.jsx(si,{onClick:Je,"data-testid":b("edit-bill-icon-container"),children:t.jsx(ri,{})})}):null,!G&&Mn===!0&&Nn?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:qa,placement:"top",children:t.jsx(jt,{windowSize:l,showEditIcon:fe,isIconClickable:!0,"data-testid":b("more-details-icon-container"),children:t.jsx(li,{onClick:()=>se(!Ee)})})}):null]})]})}),style:{minHeight:62}}):null]}),x?t.jsx(za,{id:v,children:t.jsx(ya,{isDrawerOpen:rn,allowComposer:!0,drawerTitle:Ga,threads:q,filter:T,autoExpand:!0,autoFocus:!1,isLoading:P,textOverrides:{composerPlaceholder:Dt.addANewComment,replyComposerPlaceholder:Dt.replyAComment,threadResolve:It.resolveComment,threadUnResolve:It.unResolveComment},threadMetadata:En,onThreadClick:sn,onCloseAllThreadsDrawer:()=>H(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${a.sp0} ${m.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:Fe.colors.background},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}})}):null]})},Ya=(e,g)=>{const f=e?.code;if(e!=null&&f!=null)return g?.isDeleted===!0?{value:Ce.tabsById.deleted,color:L.deleted.color,bgColor:L.deleted.bgColor,borderColor:L.deleted.borderColor,code:"deleted"}:f==="pending_approval"&&g?.dueDate?.isBefore(_a(),"date")===!0?{value:Ce.tabsById.overdue,color:L.overdue.color,bgColor:L.overdue.bgColor,borderColor:L.overdue.borderColor}:{value:e.name,color:L[f].color,bgColor:L[f].bgColor,borderColor:L[f].borderColor}},Qa=(e,g)=>{const f=g.transactionDetails?.recipientTotalAmount;return t.jsxs($i,{windowSize:e,children:[t.jsxs(Rt,{windowSize:e,children:[t.jsx(zt,{children:n.zeniAssist.accountNumber}),t.jsx(Mt,{children:g.withdrawFrom!=null?Ot(g.withdrawFrom,e):c})]}),t.jsxs(Rt,{windowSize:e,children:[t.jsx(zt,{children:n.zeniAssist.amount}),t.jsx(Mt,{children:f!=null?Se("0,0[.]00",f):C})]})]})},Ja=(e,g)=>e?n.paymentOutsideZeni.markAsPaid:g?n.buttons.approve:n.buttons.approveBill,ei=e=>{const g=e.paymentMode,f=n.paymentOutsideZeni.offline;if(g==null||g==="other")return f;const Z=n.paymentOutsideZeni.paymentModeOptions.find(re=>re.value===g)?.label;return`${f} ${Ha} ${Z}`},ti=(e,g,f)=>{if(e)return t.jsx(wt,{variant:"warning",style:{marginTop:a.sp5,marginBottom:a.sp3},title:vt.duplicateWarning.title,description:vt.duplicateWarning.description});if(f!=null){const Z=`${g.withdrawFrom?.label??""} ${g.withdrawFrom?.maskedAccountNumber??""}`;return t.jsx(wt,{variant:"low-balance",style:{marginTop:a.sp2,marginBottom:a.sp3},title:`${_t.lowBalanceIn.replace("__account__",Z)}`,description:f.replace("Low balance! ","")})}else return null},ni=i.div``,ai=i.div``,ii=i.div`
3
+ display: flex;
4
+ justify-content: flex-end;
5
+ `,li=i(Ba)`
6
+ cursor: pointer;
7
+ color: ${e=>e.theme.colors.hero};
8
+ width: ${a.sp4};
9
+ height: ${a.sp4};
10
+ &:hover {
11
+ color: ${e=>e.theme.colors.primary};
12
+ }
13
+ `,jt=i.div`
14
+ display: flex;
15
+ margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:m.otherActionsIconContainerMarginLeft.valuePx(e.windowSize)};
16
+ cursor: ${e=>e.isIconClickable===!0?"pointer":"default"};
17
+ color: ${e=>e.theme.colors.grey1};
18
+ &:hover {
19
+ color: ${e=>e.theme.colors.primary};
20
+ }
21
+ `,oi=i(Ua)`
22
+ color: ${e=>e.theme.colors.hero};
23
+ width: ${a.sp5};
24
+ height: ${a.sp5};
25
+ margin-bottom: ${a.sp2};
26
+ &:hover {
27
+ color: ${e=>e.theme.colors.primary};
28
+ }
29
+ `,ri=i(Pa)`
30
+ cursor: pointer;
31
+ color: ${e=>e.theme.colors.hero};
32
+ width: ${a.sp4};
33
+ height: ${a.sp4};
34
+ &:hover {
35
+ color: ${e=>e.theme.colors.primary};
36
+ }
37
+ `,si=i.div`
38
+ display: flex;
39
+ cursor: pointer;
40
+ color: ${e=>e.theme.colors.grey1};
41
+ margin-left: ${a.sp4};
42
+ &:hover {
43
+ color: ${e=>e.theme.colors.primary};
44
+ }
45
+ `,di=i.div`
46
+ display: flex;
47
+ justify-content: center;
48
+ align-items: center;
49
+ `,At=i.div`
50
+ display: flex;
51
+ width: max-content;
52
+ align-items: center;
53
+ justify-content: center;
54
+ flex-direction: column;
55
+ background-color: ${e=>e.theme.colors.grey5};
56
+ color: ${e=>e.theme.colors.hero};
57
+ cursor: pointer;
58
+ padding-top: ${a.sp1};
59
+ padding-bottom: ${a.sp1};
60
+ position: absolute;
61
+ bottom: ${e=>m.otherActionsContainerBottom.valuePx(e.windowSize)};
62
+ z-index: 3;
63
+ border: ${e=>`1px solid ${e.theme.colors.grey3}`};
64
+ border-radius: ${a.sp1};
65
+ right: ${e=>m.right.valuePx(e.windowSize)};
66
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.grey1}3D`};
67
+ `,ci=i.div`
68
+ width: auto;
69
+ justify-content: flex-end;
70
+ position: ${e=>e.windowSize==="small"?"static":"relative"};
71
+ right: ${e=>m.actionsContainerRight.valuePx(e.windowSize)};
72
+ height: 100%;
73
+ display: flex;
74
+ `,W=i(Et)`
75
+ display: flex;
76
+ align-items: center;
77
+ width: 100%;
78
+ padding-left: ${a.sp3};
79
+ padding-right: ${a.sp3};
80
+ height: ${a.sp6};
81
+ box-sizing: border-box;
82
+ &:hover {
83
+ background-color: ${e=>e.theme.colors.background};
84
+ }
85
+ `,$t=i(ga)`
86
+ cursor: pointer;
87
+ color: ${e=>e.theme.colors.hero};
88
+ width: 20px;
89
+ height: 20px;
90
+ &:hover {
91
+ color: ${e=>e.theme.colors.primary};
92
+ }
93
+ `,kt=i.div`
94
+ margin-top: ${e=>m.marginTop.valuePx(e.windowSize)};
95
+ display: flex;
96
+ align-items: center;
97
+ `,St=i(xa)`
98
+ cursor: pointer;
99
+ width: ${a.sp4};
100
+ height: ${a.sp4};
101
+ color: ${e=>e.theme.colors.hero};
102
+ &:hover {
103
+ color: ${e=>e.theme.colors.primary};
104
+ }
105
+ `,Ct=i.div`
106
+ display: flex;
107
+ flex-direction: row;
108
+ align-items: center;
109
+ gap: ${e=>m.rightIconsGap.valuePx(e.windowSize)};
110
+ margin-top: ${e=>m.closeContainerMarginTop.valuePx(e.windowSize)};
111
+ `,Pt=i.div`
112
+ float: right;
113
+ width: ${a.sp4};
114
+ height: ${a.sp4};
115
+ display: flex;
116
+ `,pi=i.div`
117
+ height: 100%;
118
+ overflow: scroll;
119
+ `,je=i.div`
120
+ display: flex;
121
+ flex-direction: column;
122
+ background-color: ${e=>e.theme.colors.grey5};
123
+ border: 1px solid ${e=>e.theme.colors.grey3};
124
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
125
+ border-radius: ${a.sp2};
126
+ margin: ${a.sp3} 0;
127
+ `,Ae=i.div`
128
+ display: flex;
129
+ flex-direction: column;
130
+ padding-top: ${a.sp3};
131
+ `,mi=i.div``,$e=i(Ia)`
132
+ color: ${e=>e.theme.colors.primary};
133
+ `,z=i.div`
134
+ display: flex;
135
+ flex: 1;
136
+ background-color: ${e=>e.theme.colors.grey3};
137
+ min-height: 1px;
138
+ max-height: 1px;
139
+ `,ui=i(ja)`
140
+ display: flex;
141
+ align-items: center;
142
+ justify-content: space-between;
143
+ color: ${e=>e.theme.colors.champion};
144
+ margin-top: ${a.sp2};
145
+ height: 31px;
146
+ `,yi=i(Aa)`
147
+ color: ${e=>e.theme.colors.champion};
148
+ `,hi=i.div`
149
+ display: flex;
150
+ flex-direction: column;
151
+ `,bi=i.div`
152
+ display: flex;
153
+ flex-direction: column;
154
+ background-color: ${e=>e.theme.colors.grey4};
155
+ padding-left: ${e=>m.containerPaddingLeft.valuePx(e.windowSize)};
156
+ padding-right: ${e=>m.containerPaddingRight.valuePx(e.windowSize)};
157
+ overflow-x: hidden;
158
+ margin-top: ${e=>m.navBarHeight.valuePx(e.windowSize)};
159
+ `,gi=i.div`
160
+ display: flex;
161
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
162
+ align-items: ${e=>e.windowSize==="small"?"unset":"center"};
163
+ width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
164
+ `,fi=i.div`
165
+ display: flex;
166
+ margin-bottom: ${a.sp3};
167
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
168
+ align-items: ${e=>e.windowSize==="small"?"unset":"center"};
169
+ width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
170
+ `,xi=i(va)`
171
+ display: flex;
172
+ align-items: center;
173
+ flex-grow: 1;
174
+ ${e=>`${Ka.formTitle.style(e.windowSize)}`};
175
+ color: ${e=>e.theme.colors.primary};
176
+ margin-bottom: ${e=>m.formTitleMarginTopBottom.valuePx(e.windowSize)};
177
+ margin-bottom: ${e=>m.formTitleMarginTopBottom.valuePx(e.windowSize)};
178
+ word-break: break-all;
179
+ padding: ${e=>`${a.sp0} ${m.formTitlePaddingLeftRight.valuePx(e.windowSize)}`};
180
+ `,wi=i.div`
181
+ padding: ${a.sp3};
182
+ display: flex;
183
+ align-items: center;
184
+ justify-content: center;
185
+ background-color: ${e=>e.theme.colors.grey3};
186
+ border: 1px solid ${e=>e.theme.colors.grey3};
187
+ border-radius: ${a.sp2};
188
+ color: ${e=>e.theme.colors.hero};
189
+ margin-bottom: ${e=>m.marginBottom.valuePx(e.windowSize)};
190
+ `,Ti=i(Ft)`
191
+ display: flex;
192
+ width: 176px;
193
+ color: ${e=>e.theme.colors.primary};
194
+ `,vi=i(Ft)`
195
+ display: flex;
196
+ width: calc(100% - 176px);
197
+ justify-content: flex-end;
198
+ color: ${e=>e.theme.colors.primary};
199
+ `,Bt=i(Da)`
200
+ display: flex;
201
+ color: ${e=>e.borderColor};
202
+ align-items: center;
203
+ justify-content: flex-end;
204
+ padding: 1px 6px 1px 6px;
205
+ border: ${e=>`1px solid ${e.borderColor}`};
206
+ border-radius: ${a.sp1};
207
+ min-width: fit-content;
208
+ `,Di=i.div`
209
+ display: flex;
210
+ flex-direction: column;
211
+ height: ${a.sp11};
212
+ `,Ii=i(ba)`
213
+ height: ${a.sp3};
214
+ width: ${a.sp3};
215
+ color: ${e=>e.theme.colors.hero};
216
+ `,ji=i.div`
217
+ display: flex;
218
+ align-items: center;
219
+ margin-left: ${a.sp2};
220
+ margin-top: ${e=>m.iconContainerMarginTop.valuePx(e.windowSize)};
221
+ align-self: center;
222
+ `,ke=i(wa)`
223
+ margin-left: ${a.sp2};
224
+ color: ${e=>e.theme.colors.hero};
225
+ `,Ai=i.div``,$i=i.div`
226
+ display: flex;
227
+ flex-direction: column;
228
+ gap: ${a.sp2};
229
+ margin: ${e=>e.windowSize==="small"?`0 ${a.sp3} ${a.sp6} ${a.sp3}`:`0 ${a.sp8} ${a.sp5} ${a.sp8}`};
230
+ `,Rt=i.div`
231
+ display: flex;
232
+ justify-content: space-between;
233
+ width: ${e=>m.refundPopupWidth.valuePx(e.windowSize)};
234
+ `,zt=i(Et)`
235
+ text-align: left;
236
+ color: ${e=>e.theme.colors.grey1};
237
+ `,Mt=i(Ra)`
238
+ justify-content: end;
239
+ display: flex;
240
+ flex: 1;
241
+ `,Nt=i.div`
242
+ display: flex;
243
+ align-items: center;
244
+ justify-content: center;
245
+ position: relative;
246
+ cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
247
+ color: ${e=>e.theme.colors.hero};
248
+ opacity: ${e=>e.isDisabled?.5:1};
249
+ &:hover {
250
+ color: ${e=>e.theme.colors.primary};
251
+ }
252
+ `,Lt=i(fa)`
253
+ display: flex;
254
+ width: ${a.sp4};
255
+ height: ${a.sp4};
256
+ align-items: center;
257
+ justify-content: center;
258
+ `,ki=i.div`
259
+ display: flex;
260
+ justify-content: space-evenly;
261
+ margin-top: 0px;
262
+ position: fixed;
263
+ top: 0px;
264
+ width: ${e=>m.navBarContainerWidth.valuePercentage(e.windowSize)};
265
+ z-index: 3;
266
+ `;export{_i as default};
@@ -1,16 +1,16 @@
1
- import{x as F,u as L,J as M,b as T,aa as W,aS as G,aM as J,cI as X,V as r,bE as H,ae as K,aT as Q,o as c,gc as Y}from"./index-C0Qk6Z4T.js";import{a as U}from"./sentry-DNdJk61Y.js";import{n as h}from"./mui-_BiizxEu.js";import{b as Z,f as ee,o as _,l as R}from"./FollowStepsSection-D4hhP5Ns-Dhgeeir0.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./zeni-epic-state-BkKyof9Q.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.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]="8c363e3c-98c7-4db3-a658-a9b1df1a88cc",e._sentryDebugIdIdentifier="sentry-dbid-8c363e3c-98c7-4db3-a658-a9b1df1a88cc")}catch{}})();const j="billPayApprovalRuleDetailPage",C="lowerBound",E="upperBound",w="steps",b="applyToExistingBills",le={footerPadding:new F(L[2],L[2])};function Ae({localData:e,approvalUpdateActionType:l,onBackClick:a,onApprovalRuleDataUpdated:s,onResetClick:n,isLowerBoundDisabled:o=!1,isUpperBoundDisabled:g=!0,hideUpperBoundField:A=!1,onSaveRuleClick:N,onSaveRuleSuccess:I}){const S=M(),t=T.getLocalizedStrings().commonSetUp.approval,P=T.getLocalizedStrings().spendManagement.billPay.billPayApproval,y=ae(e,l==="approval_create"&&!o),x=W({mode:"all",reValidateMode:"onChange",defaultValues:y}),u=e.billPaySetupApproverViewUpdateData?.updateStatus,B=G(u?.fetchState),{upperBound:D}=y,{allApprovalRules:p,allAccountingClasses:V,billPaySetupApproverViewUpdateData:f}=e;let m=p.length>1?p.length-1:0,v=p.length>0?p[m].criteria[0].range.min.amount:0;if(f!=null&&f.type==="approval_update"&&f.data!=null){const{approvalRuleId:i}=f.data;m=p.findIndex(d=>d.approvalRuleId===i),v=m>0?p[m-1].criteria[0].range.min.amount:0}const O=x.handleSubmit(()=>{N()}),q=async(i,d)=>{s(d)};return U.useEffect(()=>{const i=x.watch((d,{name:$})=>{if($!=null&&d!=null){const z=J(d);X(()=>q($,z))}});return()=>{i.unsubscribe()}}),U.useEffect(()=>{B==="In-Progress"&&u?.fetchState==="Completed"&&I()},[B,u?.fetchState,I]),r.jsxs(se,{children:[r.jsx(H,{title:l==="approval_create"?t.newApproval:t.editApproval,style:{zIndex:4},onBackClick:()=>{a()},source:"BillPayApprovalRuleDetailPage"}),r.jsxs(K,{...x,children:[r.jsx(ne,{children:r.jsx("form",{id:k(j),onSubmit:O,children:r.jsxs(ie,{children:[r.jsx(Z,{label:{label:A?P.amountPerBillGreaterLabel:P.amountPerBillLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:D===1/0?Number.MAX_SAFE_INTEGER-1:D-1,min:v,validate:i=>o?!0:i!=null&&i>v},isDisabled:o,additionalInfoLabel:t.firstRuleLowerBoundInfoLabel,additionalErrorLabel:t.firstRuleErrorInfoLabel},secondText:{type:"number",name:E,placeholder:"Infinity",isDisabled:g,hideField:A,additionalInfoLabel:t.upperBoundInfoLabel}}),r.jsx(pe,{}),r.jsx(ee,{sectionId:w,label:{label:t.followStepsLabel},approversPlaceholder:t.approversPlaceholder,notifiersPlaceholder:t.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:y[w],userSelectPlaceholder:t.userSelectPlaceholder,approveNotifyPlaceholder:t.approveNotifyPlaceholder,productType:"zeni_bill_pay"})]})})}),r.jsx(Q,{formId:k(j),primaryBtn:{label:t.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:l==="approval_create"&&p.length===0?null:r.jsx(Y,{name:b,mode:"always_on",checkBoxes:[{value:b,label:t.applyToExistingBills,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:t.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:n},containerStyle:{justifyContent:S==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(S)},separatorStyle:{marginRight:c.sp4}})]})]})}const ae=(e,l)=>{const{criteria:a,steps:s}=e.billPaySetupApproverViewUpdateData?.data??{},n=e.allApprovalRules.length===0;return{[b]:n?[]:[b],[w]:te(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),_(e.allAttributes),_(e.filteredAttributes),s??[])??[],[C]:l?void 0:a!=null?a.range.min.amount??0:0,[E]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},te=(e,l,a,s,n)=>n&&n.length>0?n.map((o,g)=>({stepIndex:g,stepType:{selectedOption:o.action,allOptions:R},actors:{allUsers:l,selectedUsers:oe(e,o.actors),allNonUsers:s,selectedNonUsers:re(a,o.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:R},actors:{allUsers:l,selectedUsers:[],allNonUsers:s,selectedNonUsers:[]}}],oe=(e,l)=>e.filter(a=>a.userId!=null&&l.findIndex(s=>s.userId===a.userId)>-1),re=(e,l)=>e.filter(a=>l.findIndex(s=>s.subType===a.value)>-1),k=e=>`${e}_form`,Ie=e=>`${e}`,se=h.div`
1
+ import{y as O,u as L,J as G,F as U,a9 as M,aR as W,aK as J,cG as K,V as r,bD as X,ac as H,aS as Q,o as u,ga as Y}from"./index-DTirxbyQ.js";import{a as T}from"./sentry-DuRPstDP.js";import{n as h}from"./mui-CUgxbbSv.js";import{b as Z,f as ee,o as _,l as R}from"./FollowStepsSection-GaWu1kt9-BI3yZ8yb.js";import"./liveblocks-DIuhFCxt.js";import"./core-D7HgM8n1.js";import"./recharts-Cv8hlrkl.js";import"./zeni-epic-state-DfBiKLGZ.js";import"./lottie-CoVTVb_w.js";import"./analytics-DYhmL7CM.js";import"./lexical-BIyV8PdW.js";import"./utils-DiiaN_Gy.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]="c114d443-087d-4b10-a449-f67189401a02",e._sentryDebugIdIdentifier="sentry-dbid-c114d443-087d-4b10-a449-f67189401a02")}catch{}})();const j="billPayApprovalRuleDetailPage",C="lowerBound",N="upperBound",w="steps",b="applyToExistingBills",le={footerPadding:new O(L[2],L[2])};function Ae({localData:e,approvalUpdateActionType:l,onBackClick:a,onApprovalRuleDataUpdated:s,onResetClick:n,isLowerBoundDisabled:o=!1,isUpperBoundDisabled:g=!0,hideUpperBoundField:A=!1,onSaveRuleClick:E,onSaveRuleSuccess:I}){const S=G(),t=U.getLocalizedStrings().commonSetUp.approval,P=U.getLocalizedStrings().spendManagement.billPay.billPayApproval,y=ae(e,l==="approval_create"&&!o),x=M({mode:"all",reValidateMode:"onChange",defaultValues:y}),c=e.billPaySetupApproverViewUpdateData?.updateStatus,B=W(c?.fetchState),{upperBound:D}=y,{allApprovalRules:p,allAccountingClasses:F,billPaySetupApproverViewUpdateData:f}=e;let m=p.length>1?p.length-1:0,v=p.length>0?p[m].criteria[0].range.min.amount:0;if(f!=null&&f.type==="approval_update"&&f.data!=null){const{approvalRuleId:i}=f.data;m=p.findIndex(d=>d.approvalRuleId===i),v=m>0?p[m-1].criteria[0].range.min.amount:0}const V=x.handleSubmit(()=>{E()}),q=async(i,d)=>{s(d)};return T.useEffect(()=>{const i=x.watch((d,{name:$})=>{if($!=null&&d!=null){const z=J(d);K(()=>q($,z))}});return()=>{i.unsubscribe()}}),T.useEffect(()=>{B==="In-Progress"&&c?.fetchState==="Completed"&&I()},[B,c?.fetchState,I]),r.jsxs(se,{children:[r.jsx(X,{title:l==="approval_create"?t.newApproval:t.editApproval,style:{zIndex:4},onBackClick:()=>{a()},source:"BillPayApprovalRuleDetailPage"}),r.jsxs(H,{...x,children:[r.jsx(ne,{children:r.jsx("form",{id:k(j),onSubmit:V,children:r.jsxs(ie,{children:[r.jsx(Z,{label:{label:A?P.amountPerBillGreaterLabel:P.amountPerBillLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:D===1/0?Number.MAX_SAFE_INTEGER-1:D-1,min:v,validate:i=>o?!0:i!=null&&i>v},isDisabled:o,additionalInfoLabel:t.firstRuleLowerBoundInfoLabel,additionalErrorLabel:t.firstRuleErrorInfoLabel},secondText:{type:"number",name:N,placeholder:"Infinity",isDisabled:g,hideField:A,additionalInfoLabel:t.upperBoundInfoLabel}}),r.jsx(pe,{}),r.jsx(ee,{sectionId:w,label:{label:t.followStepsLabel},approversPlaceholder:t.approversPlaceholder,notifiersPlaceholder:t.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:F,stepsInfo:y[w],userSelectPlaceholder:t.userSelectPlaceholder,approveNotifyPlaceholder:t.approveNotifyPlaceholder,productType:"zeni_bill_pay"})]})})}),r.jsx(Q,{formId:k(j),primaryBtn:{label:t.saveBtnText,isLoading:c?.fetchState==="In-Progress",isDisabled:c?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:l==="approval_create"&&p.length===0?null:r.jsx(Y,{name:b,mode:"always_on",checkBoxes:[{value:b,label:t.applyToExistingBills,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:t.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:n},containerStyle:{justifyContent:S==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(S)},separatorStyle:{marginRight:u.sp4}})]})]})}const ae=(e,l)=>{const{criteria:a,steps:s}=e.billPaySetupApproverViewUpdateData?.data??{},n=e.allApprovalRules.length===0;return{[b]:n?[]:[b],[w]:te(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),_(e.allAttributes),_(e.filteredAttributes),s??[])??[],[C]:l?void 0:a!=null?a.range.min.amount??0:0,[N]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},te=(e,l,a,s,n)=>n&&n.length>0?n.map((o,g)=>({stepIndex:g,stepType:{selectedOption:o.action,allOptions:R},actors:{allUsers:l,selectedUsers:oe(e,o.actors),allNonUsers:s,selectedNonUsers:re(a,o.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:R},actors:{allUsers:l,selectedUsers:[],allNonUsers:s,selectedNonUsers:[]}}],oe=(e,l)=>e.filter(a=>a.userId!=null&&l.findIndex(s=>s.userId===a.userId)>-1),re=(e,l)=>e.filter(a=>l.findIndex(s=>s.subType===a.value)>-1),k=e=>`${e}_form`,Ie=e=>`${e}`,se=h.div`
2
2
  display: flex;
3
3
  height: 100%;
4
4
  flex-direction: column;
5
5
  width: 100%;
6
6
  background-color: ${e=>e.theme.colors.grey4};
7
- box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
7
+ box-shadow: ${e=>`${u.sp0} 2px ${u.sp1} ${e.theme.colors.dropShadowNormal}`};
8
8
  `,ie=h.div`
9
9
  display: flex;
10
10
  flex-direction: column;
11
11
  border: 1px solid ${e=>e.theme.colors.grey3};
12
- box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
13
- border-radius: ${c.sp2};
12
+ box-shadow: ${e=>`${u.sp0} 2px ${u.sp1} ${e.theme.colors.dropShadowNormal}`};
13
+ border-radius: ${u.sp2};
14
14
  `,ne=h.div`
15
15
  display: flex;
16
16
  justify-content: flex-start;
@@ -1,4 +1,4 @@
1
- import{J as W,b as S,V as t,bE as V,L as G,ac as b,x as r,an as M,o as i,aQ as P,bV as z,cs as O,ct as q,cu as F,d2 as J,u as l,bb as K,c as k,ba as Q,p as j,d1 as X,bv as Y,w as Z}from"./index-C0Qk6Z4T.js";import{n as o}from"./mui-_BiizxEu.js";import{a as ee}from"./sentry-DNdJk61Y.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./zeni-epic-state-BkKyof9Q.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="433f9aec-9a4b-43e4-a5ad-5637fd9f8c36",e._sentryDebugIdIdentifier="sentry-dbid-433f9aec-9a4b-43e4-a5ad-5637fd9f8c36")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(-1,-4)},U={stepper:new k("smallRegular","standardRegular"),amount:new k("standardRegular","largeMedium")},te=({showDeleteBtn:e=!1,disableButtons:d=!1,isLastSection:w=!1,approvalRule:c,onEditRuleClick:y,onDeleteRuleClick:g})=>{const[v,h]=ee.useState(!1),n=W(),{range:m}=c.criteria[0],{steps:$,approvalRuleId:x}=c,a=S.getLocalizedStrings().commonSetUp.approval,N=()=>{h(!0)},E={onOkClick:()=>{h(!1),g?.(x)},onCancelClick:()=>{h(!1)}};return t.jsxs(oe,{windowSize:n,isLastSection:w,isUpdatingApprovalRules:d,children:[t.jsxs(ie,{windowSize:n,children:[t.jsxs(ce,{children:[t.jsxs(A,{windowSize:n,children:[a.from," ",P("0,0",m.min)]}),t.jsxs(re,{children:[t.jsx(T,{}),t.jsx(le,{}),t.jsx(T,{})]}),m.max==null?t.jsx(he,{}):t.jsx(A,{windowSize:n,children:P("0,0",{...m.min,amount:m.max.amount})})]}),t.jsxs(ue,{className:"icons",children:[e===!0?d===!0?t.jsx(z,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(R,{$isDisabled:!0,"data-testid":b("delete-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(R,{onClick:N,"data-testid":b("delete-approval-rule-bill-pay",c.approvalRuleId)}):null,d===!0?t.jsx(z,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(C,{$isDisabled:!0,"data-testid":b("edit-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(C,{onClick:()=>{y(x)},"data-testid":b("edit-approval-rule-bill-pay",c.approvalRuleId)})]})]}),t.jsx(se,{windowSize:n,children:t.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((u,H)=>t.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[u.action==="require_approval"?t.jsx(pe,{children:a.requireText}):t.jsx(de,{children:a.notifyText}),u.nonUserActors!=null&&u.nonUserActors.filter(p=>p.subType!=null).map((p,_)=>t.jsxs(L,{children:[t.jsx(I,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},`${p.subType}_${_}`)),u.actors.map(p=>t.jsxs(L,{children:[t.jsxs(I,{children:[p.firstName," ",p.lastName]}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},p.userId))]},H))})}),v?t.jsx(O,{titleComponent:t.jsx(F,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(q,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:E}):null]})},oe=o.div`
1
+ import{J as W,F as S,V as t,bD as G,T as V,aQ as y,y as r,al as U,o as i,aO as z,bU as P,cq as q,cr as O,cs as F,d0 as K,u as l,ba as J,H as T,b9 as Q,p as j,c$ as X,bu as Y,b as Z}from"./index-DTirxbyQ.js";import{n as o}from"./mui-CUgxbbSv.js";import{a as ee}from"./sentry-DuRPstDP.js";import"./liveblocks-DIuhFCxt.js";import"./core-D7HgM8n1.js";import"./recharts-Cv8hlrkl.js";import"./zeni-epic-state-DfBiKLGZ.js";import"./lottie-CoVTVb_w.js";import"./analytics-DYhmL7CM.js";import"./lexical-BIyV8PdW.js";import"./utils-DiiaN_Gy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="2277117d-57d9-4827-9ec9-85d45a362935",e._sentryDebugIdIdentifier="sentry-dbid-2277117d-57d9-4827-9ec9-85d45a362935")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(-1,-4)},M={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeMedium")},te=({showDeleteBtn:e=!1,disableButtons:d=!1,isLastSection:w=!1,approvalRule:c,onEditRuleClick:f,onDeleteRuleClick:g})=>{const[v,h]=ee.useState(!1),n=W(),{range:m}=c.criteria[0],{steps:$,approvalRuleId:x}=c,a=S.getLocalizedStrings().commonSetUp.approval,H=()=>{h(!0)},N={onOkClick:()=>{h(!1),g?.(x)},onCancelClick:()=>{h(!1)}};return t.jsxs(oe,{windowSize:n,isLastSection:w,isUpdatingApprovalRules:d,children:[t.jsxs(ie,{windowSize:n,children:[t.jsxs(ce,{children:[t.jsxs(L,{windowSize:n,children:[a.from," ",z("0,0",m.min)]}),t.jsxs(re,{children:[t.jsx(k,{}),t.jsx(le,{}),t.jsx(k,{})]}),m.max==null?t.jsx(he,{}):t.jsx(L,{windowSize:n,children:z("0,0",{...m.min,amount:m.max.amount})})]}),t.jsxs(ue,{className:"icons",children:[e===!0?d===!0?t.jsx(P,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(R,{$isDisabled:!0,"data-testid":y("delete-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(R,{onClick:H,"data-testid":y("delete-approval-rule-bill-pay",c.approvalRuleId)}):null,d===!0?t.jsx(P,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(C,{$isDisabled:!0,"data-testid":y("edit-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(C,{onClick:()=>{f(x)},"data-testid":y("edit-approval-rule-bill-pay",c.approvalRuleId)})]})]}),t.jsx(se,{windowSize:n,children:t.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((u,E)=>t.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[u.action==="require_approval"?t.jsx(pe,{children:a.requireText}):t.jsx(de,{children:a.notifyText}),u.nonUserActors!=null&&u.nonUserActors.filter(p=>p.subType!=null).map((p,_)=>t.jsxs(A,{children:[t.jsx(I,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},`${p.subType}_${_}`)),u.actors.map(p=>t.jsxs(A,{children:[t.jsxs(I,{children:[p.firstName," ",p.lastName]}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},p.userId))]},E))})}),v?t.jsx(q,{titleComponent:t.jsx(F,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(O,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:N}):null]})},oe=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
@@ -14,7 +14,7 @@ import{J as W,b as S,V as t,bE as V,L as G,ac as b,x as r,an as M,o as i,aQ as P
14
14
  border-color: ${e=>e.isUpdatingApprovalRules===!0?e.theme.colors.grey3:e.theme.colors.primary};
15
15
  }
16
16
  }
17
- `,ie=o(K)`
17
+ `,ie=o(J)`
18
18
  display: flex;
19
19
  position: relative;
20
20
  align-items: center;
@@ -30,7 +30,7 @@ import{J as W,b as S,V as t,bE as V,L as G,ac as b,x as r,an as M,o as i,aQ as P
30
30
  width: ${i.sp8};
31
31
  height: 2px;
32
32
  background-color: ${e=>e.theme.colors.primary};
33
- `,T=o.div`
33
+ `,k=o.div`
34
34
  width: 6px;
35
35
  height: 6px;
36
36
  border-radius: 3px;
@@ -57,7 +57,7 @@ import{J as W,b as S,V as t,bE as V,L as G,ac as b,x as r,an as M,o as i,aQ as P
57
57
  box-sizing: border-box;
58
58
  position: relative;
59
59
  `,ae=o.ul`
60
- ${e=>`${U.stepper.style(e.windowSize)}`};
60
+ ${e=>`${M.stepper.style(e.windowSize)}`};
61
61
  position: relative;
62
62
  padding-left: ${i.sp6};
63
63
  list-style: none;
@@ -168,14 +168,14 @@ import{J as W,b as S,V as t,bE as V,L as G,ac as b,x as r,an as M,o as i,aQ as P
168
168
  color: ${e=>e.theme.colors.hero};
169
169
  `,B=o.span`
170
170
  color: ${e=>e.theme.colors.hero};
171
- `,L=o.div`
171
+ `,A=o.div`
172
172
  display: inherit;
173
173
  gap: inherit;
174
- `,A=o.span`
175
- ${e=>`${U.amount.style(e.windowSize)}`};
174
+ `,L=o.span`
175
+ ${e=>`${M.amount.style(e.windowSize)}`};
176
176
  color: ${e=>e.theme.colors.primary};
177
177
  word-break: break-word;
178
- `,f={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Ce=({approvalView:e,onBackClick:d,onEditRuleClick:w,onDeleteRuleClick:c})=>{const y=W(),{fetchState:g,deleteStatus:v}=e,h=S.getLocalizedStrings().commonSetUp.approval,n=S.getLocalizedStrings().spendManagement.billPay.billPayApproval,m=v.fetchState,$=e.listeningToPusherEvent;return t.jsxs(me,{children:[t.jsx(V,{title:h.approvalPageHeader,style:{zIndex:4},onBackClick:()=>{d()},source:"BillPayApprovalRulesPage"}),t.jsxs(xe,{children:[t.jsx(ge,{windowSize:y,children:n.approvalPageSubTitle}),g==="In-Progress"||g==="Not-Started"||m==="In-Progress"?t.jsx(we,{children:t.jsx(G,{size:"ExtraLarge",start:!0})}):g==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((x,a)=>t.jsx(te,{showDeleteBtn:a!==0,disableButtons:$===!0&&x.approvalRuleId===e.newApprovalRuleId,approvalRule:x,isLastSection:a===e.allApprovalRules.length-1,onEditRuleClick:w,onDeleteRuleClick:c},x.approvalRuleId)),t.jsxs($e,{windowSize:y,onClick:()=>{w()},"data-testid":b("add-approval-rule-bill-pay"),children:[t.jsx(be,{}),t.jsx(fe,{children:h.addApprovalText})]})]}):null]})]})},me=o.div`
178
+ `,b={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Ce=({approvalView:e,onBackClick:d,onEditRuleClick:w,onDeleteRuleClick:c})=>{const f=W(),{fetchState:g,deleteStatus:v}=e,h=S.getLocalizedStrings().commonSetUp.approval,n=S.getLocalizedStrings().spendManagement.billPay.billPayApproval,m=v.fetchState,$=e.listeningToPusherEvent;return t.jsxs(me,{children:[t.jsx(G,{title:h.approvalPageHeader,style:{zIndex:4},onBackClick:()=>{d()},source:"BillPayApprovalRulesPage"}),t.jsxs(xe,{children:[t.jsx(ge,{windowSize:f,children:n.approvalPageSubTitle}),g==="In-Progress"||g==="Not-Started"||m==="In-Progress"?t.jsx(we,{children:t.jsx(V,{size:"ExtraLarge",start:!0})}):g==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((x,a)=>t.jsx(te,{showDeleteBtn:a!==0,disableButtons:$===!0&&x.approvalRuleId===e.newApprovalRuleId,approvalRule:x,isLastSection:a===e.allApprovalRules.length-1,onEditRuleClick:w,onDeleteRuleClick:c},x.approvalRuleId)),t.jsxs($e,{windowSize:f,onClick:()=>{w()},"data-testid":y("add-approval-rule-bill-pay"),children:[t.jsx(ye,{}),t.jsx(be,{children:h.addApprovalText})]})]}):null]})]})},me=o.div`
179
179
  display: flex;
180
180
  min-height: 100%;
181
181
  flex-direction: column;
@@ -197,23 +197,23 @@ import{J as W,b as S,V as t,bE as V,L as G,ac as b,x as r,an as M,o as i,aQ as P
197
197
  align-items: center;
198
198
  gap: ${i.sp3};
199
199
  background-color: ${e=>e.theme.colors.grey4};
200
- `,ge=o(M)`
200
+ `,ge=o(U)`
201
201
  color: ${e=>e.theme.colors.hero};
202
202
  display: flex;
203
203
  justify-content: center;
204
- width: ${e=>f.titleWidth.valuePx(e.windowSize)};
205
- padding-top: ${e=>f.subTitlePaddingTop.valuePx(e.windowSize)};
206
- padding-bottom: ${e=>f.subTitlePaddingBottom.valuePx(e.windowSize)};
207
- `,$e=o(M)`
204
+ width: ${e=>b.titleWidth.valuePx(e.windowSize)};
205
+ padding-top: ${e=>b.subTitlePaddingTop.valuePx(e.windowSize)};
206
+ padding-bottom: ${e=>b.subTitlePaddingBottom.valuePx(e.windowSize)};
207
+ `,$e=o(U)`
208
208
  cursor: pointer;
209
209
  display: flex;
210
210
  flex-direction: row;
211
211
  justify-content: center;
212
212
  align-items: center;
213
213
  padding: ${i.sp3} ${i.sp4};
214
- gap: ${e=>f.addApprovalGap.valuePx(e.windowSize)};
214
+ gap: ${e=>b.addApprovalGap.valuePx(e.windowSize)};
215
215
 
216
- width: ${e=>f.width.valuePx(e.windowSize)};
216
+ width: ${e=>b.width.valuePx(e.windowSize)};
217
217
  height: ${i.sp8};
218
218
 
219
219
  background: ${e=>e.theme.colors.grey5};
@@ -233,9 +233,9 @@ import{J as W,b as S,V as t,bE as V,L as G,ac as b,x as r,an as M,o as i,aQ as P
233
233
  border-color: ${e=>e.theme.colors.primary};
234
234
  }
235
235
  margin-bottom: ${i.sp6};
236
- `,be=o(J)`
236
+ `,ye=o(K)`
237
237
  width: ${i.sp3};
238
238
  height: ${i.sp3};
239
- `,fe=o.div`
239
+ `,be=o.div`
240
240
  color: ${e=>e.theme.colors.hero};
241
241
  `;export{Ce as default};
@@ -0,0 +1,84 @@
1
+ import{aw as X,J as f,aR as Y,V as e,fw as ee,bD as ie,i as C,aQ as B,ae as m,F as I,o as s,aq as se,R as le,d as U,aU as D,am as oe,y as re,p as $,cF as te,aV as ae,bb as ne,u as de}from"./index-DTirxbyQ.js";import{a as g}from"./sentry-DuRPstDP.js";import{n as l}from"./mui-CUgxbbSv.js";import{FG as ce,bS as pe,FH as me}from"./zeni-epic-state-DfBiKLGZ.js";import{C as xe}from"./VideoPopup-rfiYmtio-DF-tGFMP.js";import{M as b}from"./usp-line-BBd1wKwW-Du-iFEZV.js";import"./liveblocks-DIuhFCxt.js";import"./core-D7HgM8n1.js";import"./recharts-Cv8hlrkl.js";import"./lottie-CoVTVb_w.js";import"./analytics-DYhmL7CM.js";import"./lexical-BIyV8PdW.js";import"./utils-DiiaN_Gy.js";import"./VideoPlayer-9UkKMhGy-DADkPX-f.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="dd6a9192-4f3b-4dd4-9739-96713261133b",i._sentryDebugIdIdentifier="sentry-dbid-dd6a9192-4f3b-4dd4-9739-96713261133b")}catch{}})();const M="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",A="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",he={midContainerMarginBottom:new re(de[5],44)},ge=l.div`
2
+ display: flex;
3
+ flex: 1 1 auto;
4
+ min-height: 100%;
5
+ flex-direction: column;
6
+ background-color: ${i=>i.theme.colors.grey4};
7
+ `,ue=l.div`
8
+ padding: ${i=>i.windowSize==="small"?`${s.sp0} ${s.sp3}`:`${s.sp0} ${s.sp8}`};
9
+ text-align: center;
10
+ `,we=l(le)`
11
+ max-width: 600px;
12
+ margin: auto;
13
+ padding: ${s.sp7} ${s.sp0};
14
+ color: ${i=>i.theme.colors.primary};
15
+ `,ye=l(se)`
16
+ max-width: 600px;
17
+ margin: auto;
18
+ padding: ${s.sp5} ${s.sp0};
19
+ color: ${i=>i.theme.colors.primary};
20
+ `,L=l.div`
21
+ display: flex;
22
+ flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
23
+ align-items: center;
24
+ justify-content: center;
25
+ margin-bottom: ${i=>he.midContainerMarginBottom.valuePx(i.windowSize)};
26
+ `,je=l.div``,x=l.img``,R=l.div`
27
+ width: ${i=>i.windowSize==="small"?"auto":"376px"};
28
+ display: flex;
29
+ flex-direction: column;
30
+ `,V=l.div`
31
+ width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
32
+ overflow: hidden;
33
+ max-width: 712px;
34
+ display: flex;
35
+ align-content: center;
36
+ justify-content: center;
37
+ align-items: center;
38
+ `,F=l.div`
39
+ margin-left: ${i=>i.windowSize==="small"?s.sp0:s.sp6};
40
+ margin-bottom: ${i=>i.windowSize==="small"?s.sp4:s.sp0};
41
+ background: ${i=>i.theme.colors.grey3};
42
+ border-radius: 12px;
43
+ border: ${i=>`1px solid ${i.theme.colors.grey3}`};
44
+ padding: 15px;
45
+ `,n=l.div`
46
+ border-radius: ${s.sp12};
47
+ border: ${i=>`1px solid ${i.theme.colors.grey2}`};
48
+ padding: ${i=>i.windowSize==="small"?`${s.sp2} ${s.sp4} ${s.sp2} ${s.sp0}`:`${s.sp3} ${s.sp5} ${s.sp3} ${s.sp0}`};
49
+ background: ${i=>i.theme.colors.grey5};
50
+ position: relative;
51
+ margin-bottom: ${s.sp3};
52
+ display: flex;
53
+ align-items: center;
54
+ text-align: start;
55
+ box-sizing: border-box;
56
+ `,u=l(ne)`
57
+ color: ${i=>i.theme.colors.champion};
58
+ `,w=l(ae)`
59
+ color: ${i=>i.theme.colors.champion};
60
+ `,y=l(D)`
61
+ color: ${i=>i.theme.colors.champion};
62
+ `,j=l(te)`
63
+ color: ${i=>i.theme.colors.champion};
64
+ `,d=l.div``,c=l.div`
65
+ padding-left: ${s.sp3};
66
+ `,_=l(b)`
67
+ color: ${$.graphColor16Dark};
68
+ `,E=l(b)`
69
+ color: ${$.graphColor09Dark};
70
+ `,H=l(b)`
71
+ color: ${$.graphColor28Dark};
72
+ `,fe=l(oe)`
73
+ margin: ${s.sp3} auto;
74
+ max-width: 719px;
75
+ color: ${i=>i.theme.colors.hero};
76
+ `,$e=l.div`
77
+ display: flex;
78
+ flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
79
+ align-items: center;
80
+ justify-content: center;
81
+ `,be=l(D)`
82
+ margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
83
+ color: ${i=>i.theme.colors.grey1};
84
+ `,r=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,t=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Fe=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:Z,onButtonClick:G,onBackClick:J,onSetupBillPaySuccess:z,onClickMenuIcon:O})=>{const h=X(),a=f(),{billPayTermsDetails:p}=i,[Q,q]=g.useState(!1),[K,k]=g.useState(!1),v=Y(p?.fetchStatus.fetchState);g.useEffect(()=>{v==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&z?.()},[v,z,p?.fetchStatus]);const N=()=>{o?.trackBillPayPromoScheduleDemo(),k(!0)},W=ce(h.loggedInUserRoleMap),P=pe(h.loggedInUserRoleMap)&&!W,T=P?r.setupNonAccessableUsersPromoText:r.promoText;return e.jsxs(ge,{children:[Q===!0?e.jsx(xe,{onCancelClick:()=>{q(!1)},videoUrl:Z}):null,K===!0?e.jsx(ee,{onCancelClick:()=>{k(!1)},meetingUrl:S}):null,e.jsx(ie,{title:r.title,onBackClick:J,showBackButton:!me(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:O,source:"BillPayPromoPage"}),e.jsxs(ue,{windowSize:a,children:[a==="small"?e.jsx(ye,{children:T}):e.jsx(we,{children:T}),a==="small"?e.jsx(Se,{}):e.jsx(ze,{}),P===!1?e.jsxs(je,{children:[e.jsxs($e,{windowSize:a,children:[e.jsx(C,{variant:"secondary",label:r.scheduleDemoButton,onClick:N,"data-testid":B("billpay-schedule-demo-button")}),e.jsx(be,{windowSize:a,children:r.orText}),e.jsx(C,{variant:"primary",label:r.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:G,"data-testid":B("billpay-setup-button")})]}),e.jsxs(fe,{children:[r.terms.terms1,e.jsx(m,{href:t.consentUrl,linkText:t.consent}),t.term2,e.jsx(m,{href:t.depositUrl,linkText:t.depositTerms}),t.term3,e.jsx(m,{href:t.privacyPolicyUrl,onZeniLinkClick:()=>(o?.trackBillPayPrivacyPolicy(),!0),linkText:t.privacy}),t.term4,e.jsx(m,{href:t.tosUrl,onZeniLinkClick:()=>(o?.trackBillPayAgreement(),!0),linkText:t.tos}),t.term5,r.terms.terms3]})]}):null]})]})},Se=()=>{const i=U(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsx(V,{windowSize:o,children:e.jsx(F,{windowSize:o,children:i.mode==="dark"?e.jsx(x,{src:A,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(x,{src:M,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(R,{windowSize:o,children:[e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(H,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.fullyManagedText.bold}),e.jsx(y,{children:r.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(E,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.multiLevelApprovalText.bold}),e.jsx(y,{children:r.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.aiPoweredText.bold}),e.jsx(y,{children:r.aiPoweredText.regular})]})]})]})]})},ze=()=>{const i=U(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsxs(R,{windowSize:o,children:[e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(H,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.fullyManagedText.bold}),e.jsx(u,{children:r.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(E,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.multiLevelApprovalText.bold}),e.jsx(u,{children:r.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.aiPoweredText.bold}),e.jsx(u,{children:r.aiPoweredText.regular})]})]})]}),e.jsx(V,{windowSize:o,children:e.jsx(F,{windowSize:o,children:i.mode==="dark"?e.jsx(x,{src:A,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(x,{src:M,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Fe as default};