@zeniai/web-cockpit-ui 1.15.6-prod → 1.15.7-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 (304) hide show
  1. package/dist/assets/{ACHDetailsPage-DDuW5spI-CxBhE7Uh.js → ACHDetailsPage-CGG2Hx4v-BW7Ihkof.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Bbk-pUwz-CXuvh1Mj.js → AIPerformancePage-XDCygRgj-CEqrEuBs.js} +32 -32
  3. package/dist/assets/AccountInfoPage-CSf3J58F-DCyXpiFs.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BA3WBfD4-BuWc_ZhS.js → AccountInfoPageContent-wjaeVokT-CiNOfJ02.js} +9 -9
  5. package/dist/assets/{AccountLockedInfoModal-Bs1ImO2L-Cc7T0poM.js → AccountLockedInfoModal-DJnj--uc-BJgnvrcM.js} +4 -4
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Ci_Eb0_d-DEaKMPcI.js → AccountReconDetailsDrawerPage-a2stjcsR-Ds8R_X-n.js} +19 -19
  7. package/dist/assets/{AccountRow-BWclqiQh-YQWO0ylP.js → AccountRow-DlccmtgU-foUdbmvG.js} +24 -24
  8. package/dist/assets/{AccountsPromoCardStack-BHgGIeBG-ByHps-3E.js → AccountsPromoCardStack-BE0vjkiK-DEN0OmWn.js} +14 -14
  9. package/dist/assets/AddAddressForCardDrawer-D3mMFgO8-8PMwaa8Q.js +6 -0
  10. package/dist/assets/{AddToWalletPage-Dllxg_0u-CgvntkH8.js → AddToWalletPage-6OCJaNcg-EoATwn7j.js} +19 -19
  11. package/dist/assets/{AgingReportsPage-CBHhfTKI-CxKXezYQ.js → AgingReportsPage-hgg1L3pv-DEJ_mF4m.js} +1 -1
  12. package/dist/assets/{AllUserItems-Bdv9AIQ9-kcd_hhsG.js → AllUserItems-BmNtc-69-BsLa0Y8T.js} +14 -14
  13. package/dist/assets/{ApAgingDetailPage-EE3MrY5l-CxNtm4NA.js → ApAgingDetailPage-DAZAnfcs-zxr1sXnX.js} +5 -5
  14. package/dist/assets/{AppBasePage-02I6V3Np-DzDRUDUh.js → AppBasePage-D7_krMlm-D-9wFTdh.js} +9 -9
  15. package/dist/assets/{AppDrawerContent-DbBd9m20-BD4Vxp0E.js → AppDrawerContent-DWL57wUk-DZ6AAyNy.js} +6 -6
  16. package/dist/assets/ApprovalRulesSettingsPage-CiX2Xx3--YCvl1YZm.js +47 -0
  17. package/dist/assets/{ArAgingChart-BqBx1Gj1-BwabwD2J.js → ArAgingChart-CeaYIqlX-BUR2NiTJ.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-D9rI5yue-DodXQ7og.js → ArAgingDetailPage-Is5kv2-P-CDH0tn0m.js} +1 -1
  19. package/dist/assets/{AttachmentView-CeblaMyI-Bcjgvkpm.js → AttachmentView-BsNhULL3-C-ca695p.js} +4 -4
  20. package/dist/assets/{BankAccountSection-B3v3BDPK-ST4ITFLw.js → BankAccountSection-ZWR_hXjD-mYMACSQd.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-DCi9o7_J-Jkspsyof.js → BankAccountWarningSection-C-2eE9pL-BhkH4zkd.js} +5 -5
  22. package/dist/assets/{BankConnectionsSettingsPage-Csbc7IYe-YCKvdGwA.js → BankConnectionsSettingsPage-CjbaVbou-BNqlym9z.js} +17 -17
  23. package/dist/assets/{BillDetailPage-ByPP2r-L-CdPd-E0Q.js → BillDetailPage-B_zbQLLp-Dsf72rKA.js} +8 -8
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-GDOnscxH-jbIIvIwA.js → BillPayApprovalRuleDetailPage-CtJLn_JO-BVtB6sJH.js} +4 -4
  25. package/dist/assets/{BillPayApprovalRulesPage-BqDyhnz3-any6qZ9S.js → BillPayApprovalRulesPage-vvgGBmoM-C7iW15VO.js} +5 -5
  26. package/dist/assets/{BillPayPromoPage-B1_ugFQw-PGU7hKFY.js → BillPayPromoPage-DkyMRquU-6vAZUzNc.js} +7 -7
  27. package/dist/assets/{BillPaySetUpPage-Cx2vQIL8-SNTH8wHn.js → BillPaySetUpPage-m15SlV0c-C_W7-nyr.js} +9 -9
  28. package/dist/assets/BillingSettingsPage-C4P_B31U-Dbv-0XdG.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-B8KhD0xH-OW_panID.js → BillsBulkReviewDrawerPage-C_Nmv34F-s0EetHC0.js} +1 -1
  30. package/dist/assets/{BoxItem-CqsCCOrk-JwTnC0Kx.js → BoxItem-Cmrt_yxF-Cr2cxrKm.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-Dr_YFkLN-5SYND8JY.js +138 -0
  32. package/dist/assets/{CardNumberSubText-ByPbO0F8-BJrrvAG-.js → CardNumberSubText-B6Fprh6S-CEzRIr67.js} +8 -8
  33. package/dist/assets/{CashbackDetailPage-Ve3JZpeP-nSpsePO4.js → CashbackDetailPage-CWExYaIT-BmImExjs.js} +20 -20
  34. package/dist/assets/{ChargeCardDetailPage-D7zLKDQo-BL1yS_tf.js → ChargeCardDetailPage-B3hr0WBI-X68NSBCl.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-Cnm7GqIj-BUUNEdwx.js → ChargeCardListPage-g9gCfpoh-BTqPP-pZ.js} +15 -15
  36. package/dist/assets/{ChargeCardListTable-bTR8Mmj4-DyCLS6HZ.js → ChargeCardListTable-BoDSmzn_-CpSnyHh2.js} +38 -38
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-Cufm-hgn-DDPTuP3u.js → ChargeCardPaymentHistoryPage-xs346JMC-CvFrTbeZ.js} +28 -28
  38. package/dist/assets/ChargeCardPromoPage-DwiDNiRF-BfEfjZd3.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-B-jcdCNM-Ckvz33NS.js → ChargeCardSetupPage-Dbz_GdRL-ClxdYJ_F.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-CyVlO8hd-BjyVVJMg.js → ChargeCardStatementsPage-Da9NY51a-ChevXKmL.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-BmG5ma6K-ydNsV_qc.js → CheckDepositDrawerPage-CcSRXOv7-DM7Ey8xT.js} +8 -8
  42. package/dist/assets/{CollapsableReportTable-LB-wYzj1-BrgxbNdY.js → CollapsableReportTable-D1b80h2R-CMeyXG6i.js} +41 -41
  43. package/dist/assets/CompanyOfficerDetailsSection-BMYQ8Qcq-vyiocP81.js +260 -0
  44. package/dist/assets/{CompanyPassportCard-BwHjmTyn-B9NIAtJj.js → CompanyPassportCard-vAocVa7X-Bg4vrJh5.js} +4 -4
  45. package/dist/assets/CompanyPassportPage-Dva5Le3j-D1jREPm8.js +574 -0
  46. package/dist/assets/{CompleteProfile-H7UexvAo-C0O6oJwW.js → CompleteProfile-B-Hhosch-DRCiMIXe.js} +1 -1
  47. package/dist/assets/ConfettiBurst-BV8M1GTR-DJjoIhlI.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-Bt2itRHK-JjYy_N9B.js → CreateOrEditVendorPage-Bgc7zC_D-CfO9iUSb.js} +11 -11
  49. package/dist/assets/{CreditCardPaymentDrawerPage-B8eb8Q0G-gqqM0PRu.js → CreditCardPaymentDrawerPage-Bs5RpFes-CgklXCqv.js} +11 -11
  50. package/dist/assets/{CurrencySelectField-DIh7_ile-BiZRj88l.js → CurrencySelectField-BC9QkDwI-BEtmNe90.js} +5 -5
  51. package/dist/assets/{CustomerOnboardingActivationPage-B3t4tiur-eESZshql.js → CustomerOnboardingActivationPage-Br4RFzGo-DgY7VWoB.js} +5 -5
  52. package/dist/assets/CustomerOnboardingContainerPage-BRs0LPZ0-y5fJ25mS.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-JE_MoyoU-CrFmiDtl.js → CustomerOnboardingDetailPageSkeleton-DLKJINnV-B2tg0XBT.js} +18 -18
  54. package/dist/assets/CustomerOnboardingNoStepsPage-CjvQ3PFZ-BN9B2AZm.js +66 -0
  55. package/dist/assets/CustomerOnboardingPage-3ECCqY1a-CL7QxZ3D.js +107 -0
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-DZLKr3qq-CrsoJ2C7.js → CustomerOnboardingProductSuitePage-Dx3FU6Fe-CAm2edHR.js} +4 -4
  57. package/dist/assets/{Dashboard-z7EuNcjw-BTKsWShT.js → Dashboard-EWWj1Uby-C8-SPpUF.js} +21 -21
  58. package/dist/assets/{DashboardReportPage-BX2xSgwt-Dw6XE7aa.js → DashboardReportPage-D4kzdnvI-BKOw_sqx.js} +10 -10
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-fiNmHYV3-DhXz26Bv.js → DashboardSidebarBackgroundAnimation-BSwRgXFk-CJAI0MPE.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-CmlUJZgz-Dl8g77db.js → DepositAccTransactionItem-xvCtIj9v-7jCouOnq.js} +2 -2
  61. package/dist/assets/DepositAccTransactionListPage-B8UpFh_9-DlvHxyY3.js +66 -0
  62. package/dist/assets/{DomesticWireDetailsPage-D-SBQqbR-D77RURF6.js → DomesticWireDetailsPage-DF8bLeDL-Be0QfLbt.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-DznbXeUZ-DpdJo5HW.js → DownloadOverlay-wlAXZwF0-B68SEe8G.js} +30 -30
  64. package/dist/assets/{DrawerPage-8d8mdD3v-uI7P44U9.js → DrawerPage-DroW95LB-DgRu7-up.js} +18 -18
  65. package/dist/assets/{EditPeoplePage-CTwY7ePr-D8_1so-E.js → EditPeoplePage-CgUM9UYI-_7L-v32x.js} +3 -3
  66. package/dist/assets/{EditReimbursementDetailPage-DVg6dH7p-02iAGHJh.js → EditReimbursementDetailPage-BgcII79s-qEpt9Cs6.js} +61 -61
  67. package/dist/assets/EntityDetailPage-ByHvXL2c-DbNraeh4.js +18 -0
  68. package/dist/assets/{EntitySummarySection-CloCPwyO-H2pOzd67.js → EntitySummarySection-D6HekhK7-CEx8SebE.js} +9 -9
  69. package/dist/assets/{ExpenseAutomationOverviewPage-dHZEdK4L-DhDW8V_C.js → ExpenseAutomationOverviewPage-VN-P6f2z-D9XayAVC.js} +16 -16
  70. package/dist/assets/{ExpenseAutomationPage-CWyP8ETl-D0GIa5Jp.js → ExpenseAutomationPage-CvnkIuMf-BzVTKngy.js} +66 -66
  71. package/dist/assets/{ExpressPayPage-liflPa6J-DhSVDpI_.js → ExpressPayPage-C_yRTeDh-CXT1jZ8h.js} +15 -15
  72. package/dist/assets/{FeaturePreviewPage-DhSoy4IL-C8b3BL5y.js → FeaturePreviewPage-BLRhajFn-BfH5LrVG.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-DW5HuzRR-G6vpn5Wz.js → FollowStepsSection-DhiGIylh-dcsWOGAc.js} +49 -49
  74. package/dist/assets/{GlobalReviewListPage-CGCdgQFw-CYr5tDRK.js → GlobalReviewListPage-Tg986b2s-BcraUWMG.js} +6 -6
  75. package/dist/assets/{InformationCardStack-D6xiRsRy-RBnA5Ca9.js → InformationCardStack-3Lmn6LJr-BzzpUQZE.js} +1 -1
  76. package/dist/assets/{InsightsCardStack-D1eIlMkU-DTJXmvNA.js → InsightsCardStack-Dc6OL9Od-D89joaRU.js} +2 -2
  77. package/dist/assets/InsightsSection-Drr3r1BL-BjPy8A4H.js +27 -0
  78. package/dist/assets/{IntegrationsSettingsPage-CRZfnPIT-BM7Hnv51.js → IntegrationsSettingsPage-DACHBlEm-DaFs14XG.js} +8 -8
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-DouGaVny-Cq1w6csA.js → InternationalWireSwiftDetailsPage-BaqSqvWh-BwJgPcJE.js} +17 -17
  80. package/dist/assets/InternationalWireVerificationPage-Daxni4YY-BKNsaA95.js +292 -0
  81. package/dist/assets/{InviteFormPage-dCGpLoBC-Cy_9vDs9.js → InviteFormPage-CXcHy9Sz-C3-iU8eM.js} +24 -24
  82. package/dist/assets/{InvitePageListView-DhV6Pw56-BqJCkz8H.js → InvitePageListView-tu82Q2y6-CzjWJAgY.js} +54 -54
  83. package/dist/assets/{InvitePeoplePage-J-HYw9MC-DE9iWLdm.js → InvitePeoplePage-Bbv2pjhR-BZJHvIvS.js} +2 -2
  84. package/dist/assets/{InvoiceUploadSection-BJLLf4x5-DPI4bKEB.js → InvoiceUploadSection-CO34IhU8-1rxbAjFS.js} +4 -4
  85. package/dist/assets/{IssueChargeCardPage-hEaegmyi-DwbNBXVg.js → IssueChargeCardPage-DuqGEs5b-DVXuxnuF.js} +23 -23
  86. package/dist/assets/{LabeledAddressValue-PXtKo31O-CFKKSfFF.js → LabeledAddressValue-D0Gu5Mgp-CuHBod6j.js} +2 -2
  87. package/dist/assets/{LabeledAddressValueField-D0Ow_UPE-COoDFa0v.js → LabeledAddressValueField-DPisU2iY-3oGO3c9v.js} +3 -3
  88. package/dist/assets/{LabeledControlledCheckBoxField-DVOeaKu0-B89RB2FN.js → LabeledControlledCheckBoxField-BKqCiNdy-CKGxo72C.js} +1 -1
  89. package/dist/assets/{LabeledCreatableSingleSelectField-Dqt1M07c-B31u1ckI.js → LabeledCreatableSingleSelectField-DLVxVffe-RkcfyIgp.js} +5 -5
  90. package/dist/assets/{LabeledDocumentField-D2n9ry_0-CWQFC9JM.js → LabeledDocumentField-DtOCNiEg-DdNet_Ri.js} +5 -5
  91. package/dist/assets/{LabeledDropDownFormattedTextField-BfpPbI2T-L7Ccutbp.js → LabeledDropDownFormattedTextField-CsbwG9At-Cie_r1vg.js} +6 -6
  92. package/dist/assets/{LabeledText-BHQeQs6Z-CG2-2xv-.js → LabeledText-C4GeOHM8-ChfVujh4.js} +3 -3
  93. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CnwVXq2g-mDciw5rT.js → LabeledUserSingleSelectWithSubtitlesField-gwRpED7x-BzoJSlO5.js} +15 -15
  94. package/dist/assets/{LabeledZeniRolesDropDownField-Dpdlc1DB-b-hRGyRF.js → LabeledZeniRolesDropDownField-Bj8qcvuK-mHT__PRC.js} +12 -12
  95. package/dist/assets/{LinkJETransactionPage-CWOfaAhz-DM_W9RTM.js → LinkJETransactionPage-CdWWV_7u-CTynd4m9.js} +3 -3
  96. package/dist/assets/{LockCardPage-BMt1zujT-ZM4_z0u0.js → LockCardPage-BTxCWQ6_-bPbvvlRf.js} +65 -65
  97. package/dist/assets/{LowBalancePopup-BN2RBNOV-Cbcftjbf.js → LowBalancePopup-Dt9KCWOU-CfGVa0nY.js} +1 -1
  98. package/dist/assets/MagicLinkACHDetailsPage-C2z4VD4x-yC-7xafy.js +1 -0
  99. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dxd73sj8-Dnp7p7eT.js +1 -0
  100. package/dist/assets/MagicLinkInternationalWireDetailsPage-Ct-REVbS-CPUlXtmL.js +1 -0
  101. package/dist/assets/{MagicLinkSuccessPage-DQbdgFhH-Dp43QcHp.js → MagicLinkSuccessPage-D45Lu2cc-Co6kTR8X.js} +4 -4
  102. package/dist/assets/{MagicLinkTitleSection-BYkzInkY-D4Z6Nf6c.js → MagicLinkTitleSection-BdiSVi0V-B1KEw-n6.js} +3 -3
  103. package/dist/assets/{MailingDetailsSection-DiSohByM-DSNP6utN.js → MailingDetailsSection-CjO5OVZN-CsIdvq8c.js} +1 -1
  104. package/dist/assets/{Menu-TzNY4ajT-xZKDdZdE.js → Menu-C_kotivE-FvhfNRdu.js} +2 -2
  105. package/dist/assets/{MyBankConnectionsSettingsPage-Bk4Hdapv-BwulGOOk.js → MyBankConnectionsSettingsPage-CN9EKlOy-B7KFdOdn.js} +4 -4
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-C5Q5p5zq-CKgoV309.js → MyPendingActivationChargeCardListPage-rmpT6HFS-CAP6sOzW.js} +1 -1
  107. package/dist/assets/{MyProfileSettingsPage-BxiofsK0-CjoZPZtE.js → MyProfileSettingsPage-CTmDuFNJ-KfiZ2ouo.js} +5 -5
  108. package/dist/assets/{NavBarWithPicker-DX31nlvR-CesSdpJn.js → NavBarWithPicker-VzNJnXX3-D_mYpcQU.js} +4 -4
  109. package/dist/assets/{NavigationArrow-BDdBEJFM-Cr3MV5Yg.js → NavigationArrow-B9ZEhJdg-DZDpNuL-.js} +1 -1
  110. package/dist/assets/{NavigationDots-BZOdXVhR-BogVFGLe.js → NavigationDots-C_N16I15-CgfbbWpb.js} +1 -1
  111. package/dist/assets/{NewGlobalMerchantPage-qOuBGJ6w-CNtvF6H2.js → NewGlobalMerchantPage-DICWFjCu-B9FIBlfd.js} +8 -8
  112. package/dist/assets/NoDataChart-CCCkzfa4-CZ1VHThr.js +26 -0
  113. package/dist/assets/NoDataTable-DVW_simO-CiETBp14.js +8 -0
  114. package/dist/assets/{NotFoundPage-B31SyO4w-BOxZB8DW.js → NotFoundPage-BHrUY910-CB4emWh9.js} +8 -8
  115. package/dist/assets/{NotificationSettingsPage-3GoJDHjY-R3SuRmJv.js → NotificationSettingsPage-alUKfWWf-BIIzsf_j.js} +12 -12
  116. package/dist/assets/NotificationsListConfig-QOeX1KBS-BXuzGZYq.js +1 -0
  117. package/dist/assets/{NotificationsPage-Cuz_KDD8-k19YxZ9B.js → NotificationsPage-BjhHCUzl-CL_1S-pu.js} +22 -22
  118. package/dist/assets/{OpExByVendorPage-B2CQ-hT1-B0tksHJH.js → OpExByVendorPage-h_QozoZk-rvk-4kbQ.js} +20 -20
  119. package/dist/assets/OverlayContainerPage-Daz3A7cI-DZnbS2el.js +11 -0
  120. package/dist/assets/{PandLWithForecastPage-Dkcy07sC-DeLcZlC2.js → PandLWithForecastPage-DdiEIHC--BvKI5oME.js} +4 -4
  121. package/dist/assets/PaymentAccountSetupBillingAddressSection-CIlQ-MgM-D9smrX3o.js +107 -0
  122. package/dist/assets/{PeoplePage-yzYfizds-wb5Byym9.js → PeoplePage-BaOppi8Y-C-YATJdW.js} +34 -34
  123. package/dist/assets/{Preview-DZXFBHSQ.js → Preview-yiJBApzl.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-DRfZ_sZ_-BYhq_r4f.js → ProductsCarousel-E65X4lGB-DH2SteEv.js} +9 -9
  125. package/dist/assets/{PromoBaseCards-CbPywvj2-BJXffSIG.js → PromoBaseCards-O66NGGWD-BKbCdKhK.js} +4 -4
  126. package/dist/assets/{QBOConnectionDialog-DLuBxOXr-CH_Aj1TS.js → QBOConnectionDialog-BrMv7xjB-DlUN7Kz1.js} +2 -2
  127. package/dist/assets/{QBOSetupSection-CxLynYFq-CZyV2WsE.js → QBOSetupSection-B5D4uUOv-CGhKBwg7.js} +16 -16
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CDK4q7B4-Blxm3m2m.js → ReimbursementApprovalRuleDetailPage-DJNl2oqj-B4OdqkFs.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRulesPage-DFmZm1Qr-D5wSTcL3.js → ReimbursementApprovalRulesPage-tnc2z3Es-yyigySmO.js} +17 -17
  130. package/dist/assets/ReimbursementDetailPage-CO8Wv5-c-qlCsVXqq.js +314 -0
  131. package/dist/assets/{ReimbursementPromoPage-DENI6dAX-C4LrpZuT.js → ReimbursementPromoPage-04Cqe8zH--NCi_DFM.js} +6 -6
  132. package/dist/assets/{ReimbursementSetUpPage-BJoFNAQR-BgHtSbbe.js → ReimbursementSetUpPage-2VrhpV75-Bv2sY3Y4.js} +6 -6
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C0a107hB-BD_FRT7T.js → ReimbursementsBulkReviewDrawerPage-CEZlRH0_-CC2d3Iit.js} +1 -1
  134. package/dist/assets/{ReloadCard-BCuJkAqw-DYpvDh_s.js → ReloadCard-BakyoznA-DmnMlohL.js} +6 -6
  135. package/dist/assets/{ReportTableViewSelector-CEo0z4A2-CvMOkKtj.js → ReportTableViewSelector-C7w_WVnY-C6Okt0Gv.js} +4 -4
  136. package/dist/assets/{ReportsPage-gMt_l_Aa-BdMCVFoN.js → ReportsPage-BeZqGQ2i-2BlXIjgp.js} +5 -5
  137. package/dist/assets/{RevenueChart-JLdzi3aQ-7sE9zMtR.js → RevenueChart-BcRkSSWz-D5XPPSEX.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-WBKwpVad-NgO9SEC-.js → ReviewDetailsPage-CA5CBeB7-DN9fIS4d.js} +52 -52
  139. package/dist/assets/{ReviewOverlay-DqOXHkMM-jRakJ6IM.js → ReviewOverlay-DNjbv6Ir-BYUbQDSw.js} +12 -12
  140. package/dist/assets/RoleWithToolTip-CSoHoT3u-vTwGI01K.js +22 -0
  141. package/dist/assets/ScheduleDetailsFixedAssetsPage-CLjpednn-81YU8z_r.js +37 -0
  142. package/dist/assets/{ScheduleDetailsPage-_Ag36lXG-C4WIryes.js → ScheduleDetailsPage-MEVdw-l_-gtCnaFgw.js} +3 -3
  143. package/dist/assets/{ScheduleSequenceTable-axweBiV5-B3NWtaDa.js → ScheduleSequenceTable-BGx2un0o-CTi3pu3D.js} +52 -52
  144. package/dist/assets/{ScreenRoutes-DyMvoV5V.js → ScreenRoutes-DUbNYmu4.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-CerAAia_-BhWOLpxC.js → SetUpAccountSection-Blriup16-W2fx2DgC.js} +14 -14
  146. package/dist/assets/{SignIn-B1yQ5XWH-P_F72pZj.js → SignIn-DqVQU08d-BerCpw9H.js} +15 -15
  147. package/dist/assets/{SignInScreen-CVtWxGtY.js → SignInScreen-B5Y03mpU.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-BL77zVeL-BVoclXHH.js → SpendManagementListViewPage-Cd88asmE-CB759VbW.js} +8 -8
  149. package/dist/assets/{SpendManagementPerTabPage-B82q9yMk-B1JAZuX-.js → SpendManagementPerTabPage-DyPyPQjh-CeHpfSNV.js} +26 -26
  150. package/dist/assets/{SpendManagementSection-Bcex-9e7-CxkR_zoB.js → SpendManagementSection-C5fvFmdh-D7vZlQqH.js} +21 -21
  151. package/dist/assets/StatementItem-CBGi9f9C-DW_QCJ6P.js +31 -0
  152. package/dist/assets/StatementsPage-De1wPDzS-BpyLzEUf.js +58 -0
  153. package/dist/assets/{StatusSwitcher-Cw0Sq3bY-C5eVaKdh.js → StatusSwitcher-BS4h8SJh-CcRGAnPy.js} +2 -2
  154. package/dist/assets/{SubTabSwitcher-DmGRgMQe-B-3SwxWb.js → SubTabSwitcher-vsehXtEO-aHnk9ME_.js} +3 -3
  155. package/dist/assets/SummaryCard-gehzCCsW-cRlcrWMR.js +1 -0
  156. package/dist/assets/{TaskManagementPage-CAX0yrep-DF0jNwa1.js → TaskManagementPage-DlzHdHSu-DMSrvQ05.js} +31 -31
  157. package/dist/assets/{TimeRangeSwitcher-2AXHoZ8f-DfpvK_gh.js → TimeRangeSwitcher-CFZq5KoG-DvA1T4tX.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-DJiKd_tL-D0ww-92G.js → TimeframeSwitcher-Bb7JwirM-DT_nE5Dd.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-5W1Xu4QM-D44YxP7E.js → TimeframeSwitcherWithToggle-BXIevpvE-CV8LNwYU.js} +1 -1
  160. package/dist/assets/{TopExCard-8RRaMY7F-CDxikjtH.js → TopExCard-BQIHsi_z-CJAyN5Zr.js} +10 -10
  161. package/dist/assets/{TopExDetailPage-D2KlaBXx-rdDVAjhD.js → TopExDetailPage-BYCn9hZ2-DC2P4FKF.js} +2 -2
  162. package/dist/assets/{TransactionDetailPage-DdyFRxld-BYZZjtrc.js → TransactionDetailPage-BMYeFZH7-BFKwH-pD.js} +34 -34
  163. package/dist/assets/{TransactionList-CLVkETBe-CRlJFb7k.js → TransactionList-BMfwxUes-i8oCJgrA.js} +12 -12
  164. package/dist/assets/{TransactionListBig-BRCiFBKB-Ck3O3NDm.js → TransactionListBig-CSjliLzH-5P3TN04x.js} +6 -6
  165. package/dist/assets/{TransactionListPage-D0OgwsUo-CH5jc7e_.js → TransactionListPage-C2Iz7CDJ-CDbQhMhs.js} +2 -2
  166. package/dist/assets/TransactionVendorDetailPage-OXcpSTxA-ogeFkWo8.js +80 -0
  167. package/dist/assets/{TransferDrawerPage-DdDRqsyR-CEfGLHmx.js → TransferDrawerPage-4lrBrmvC-BzHEhXmo.js} +1 -1
  168. package/dist/assets/{TreasuryOverviewPage-BcIRsLLj-Bxe8waVi.js → TreasuryOverviewPage-DNUrwQ-l-CtbTN09Y.js} +37 -37
  169. package/dist/assets/{TreasuryPromoPage-qbltxtYj-D2Z_Pc4R.js → TreasuryPromoPage-CjjmLEyR-Jw9_r6c2.js} +16 -16
  170. package/dist/assets/TreasuryStatementsPage-CGax-FVg-CB9f88VO.js +58 -0
  171. package/dist/assets/{TreasuryTaxLetterPage-C2-SmkNZ-UvonfFtF.js → TreasuryTaxLetterPage-DapKFecA-Ckfl6mTT.js} +2 -2
  172. package/dist/assets/{TrendChart-Cot9LFNh-u8M8bbk0.js → TrendChart-t_2mlnuR-C3EpG69G.js} +2 -2
  173. package/dist/assets/{TrendWithTransactions-BKxxRKGE-CUH5BmSp.js → TrendWithTransactions-BjQX1uvO-CXSH8SoK.js} +6 -6
  174. package/dist/assets/{UncategorizedAccountsMappingPage-C7Z3q75s-DxAjDd8a.js → UncategorizedAccountsMappingPage-C9DJ4P_n-Da3On2ZP.js} +11 -11
  175. package/dist/assets/{UnitIntegrationPage-DV9q3Nzs-jG2CrtCZ.js → UnitIntegrationPage-CzfmBBVs-ea0q-ics.js} +11 -11
  176. package/dist/assets/UploadAdditionalDocumentOverlay-BJiBj5mg-Cktdlkx4.js +38 -0
  177. package/dist/assets/Vendor2FAPopup-Jhuzv3Fs-CDaFjIcb.js +1 -0
  178. package/dist/assets/VendorACHDetailsPage-BRmIiet8-C_w2yQJy.js +1 -0
  179. package/dist/assets/{VendorDetailPage-CH1L4UZF-BoU7iBTo.js → VendorDetailPage-D_ia0GnG-EjDxeWPl.js} +10 -10
  180. package/dist/assets/VendorDomesticWireDetailsPage-DTx8HL4V-ypi2AXXw.js +1 -0
  181. package/dist/assets/{VendorFiling1099EditablePage-BaX4ACXz-CREauugt.js → VendorFiling1099EditablePage-6mV7WBuT-BWwNGaDM.js} +9 -9
  182. package/dist/assets/{VendorFirstReviewPage-DAZJMUR3-CPLKJIzn.js → VendorFirstReviewPage-BIh28s7e-DSbo4VGu.js} +20 -20
  183. package/dist/assets/{VendorInternationalWireDetailsPage-CPnjLrDQ-CjJmglTF.js → VendorInternationalWireDetailsPage-CXmAXDcB-BBI1eBRw.js} +25 -25
  184. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DITo3td6-DtabXm0e.js +1 -0
  185. package/dist/assets/{VendorsAccountsSection-DsgK37WB-BepHvkSg.js → VendorsAccountsSection-kJAKmxCN-DLYMQH1s.js} +3 -3
  186. package/dist/assets/{VerifyDevice-BPAsHKLY-KdMSavnE.js → VerifyDevice-Cclxcvod-LionuPr6.js} +6 -6
  187. package/dist/assets/{VideoPlayer-Bwg_8KIq-1vwhBTtH.js → VideoPlayer-B0jJK498-Bbxsuaup.js} +2 -2
  188. package/dist/assets/{VideoPopup-CxjbzbjP-W4fJ8I9f.js → VideoPopup-BUq4CaWy-BN4RkIzc.js} +2 -2
  189. package/dist/assets/{WarningsDrawerPage-BBc3-y8F-BVJhSnaV.js → WarningsDrawerPage-B7Pmv7_n-DMtwZsM9.js} +5 -5
  190. package/dist/assets/{ZeniAccountDetailPage-VB4JoNYE-D6r42BIG.js → ZeniAccountDetailPage-l5IuVidF-9qcHcEDf.js} +14 -14
  191. package/dist/assets/{ZeniAccountListViewPage-CMjCtqT0-zWJkLwXW.js → ZeniAccountListViewPage-CtOCukoi-BrJGMSMd.js} +14 -14
  192. package/dist/assets/{ZeniAccountNavBarPieces-C89nBJ6j-BCPOrLA4.js → ZeniAccountNavBarPieces-DHpWht7s-DoN45Kif.js} +2 -2
  193. package/dist/assets/{ZeniAccountPromoPage-C1_qLOdH-F6T3KnhO.js → ZeniAccountPromoPage-DhuZowvX-C0CMafiM.js} +6 -6
  194. package/dist/assets/{ZeniAccountSetupPage-DWEVvvHh-1kKOeWZG.js → ZeniAccountSetupPage-DXmdPnU2-Od8qQEgW.js} +1 -1
  195. package/dist/assets/{ZeniCopyright-COx-CtZK-B3AuF-kZ.js → ZeniCopyright-CxIm7c5S-BQ5EemJ1.js} +1 -1
  196. package/dist/assets/{ZeniTransferAmountSlider-DfOF_MH1-CaLF7RzP.js → ZeniTransferAmountSlider-7nRSeYbl-qFHjxePx.js} +1 -1
  197. package/dist/assets/{add-to-wallet-DgdBD8_G-BhLn5BVs.js → add-to-wallet-DgdBD8_G-DTqFjlvW.js} +1 -1
  198. package/dist/assets/{analytics-D1LdKGXu.js → analytics-nCDopMZa.js} +1 -1
  199. package/dist/assets/{analyticsHelper-CcmV6wHp-tNoRmHaA.js → analyticsHelper-BXN2EdPH-DXUFohOz.js} +1 -1
  200. package/dist/assets/{analyticsHelper-D-lJdgOT.js → analyticsHelper-DFj-3TWh.js} +1 -1
  201. package/dist/assets/{arrow-south-east-round-PEovUgvH-DHoVUI8d.js → arrow-south-east-round-PEovUgvH-C9v2daeL.js} +1 -1
  202. package/dist/assets/{auto-transfer-rule-mbafm5D3-CCnsYNN2.js → auto-transfer-rule-mbafm5D3-C9ojomBW.js} +1 -1
  203. package/dist/assets/{chartTypes-YlZX4WLs-DpXPTvhf.js → chartTypes-qqLvT6t1-BAzagmMG.js} +1 -1
  204. package/dist/assets/{commonDimensions-IG4iGJ-6-BzWLW9Yh.js → commonDimensions-CDU138wy-0KaFqMmK.js} +1 -1
  205. package/dist/assets/{constants-DC8VfZYY.js → constants-CiSoUYAy.js} +1 -1
  206. package/dist/assets/{core-DRgi22QZ.js → core-B8o5Jj6O.js} +1 -1
  207. package/dist/assets/{dash.all.min-BmaoA3iM.js → dash.all.min-D-Z5Ee1V.js} +1 -1
  208. package/dist/assets/{detailCommon-lUFqcp_3-BOJ85jTH.js → detailCommon-DP02lgW9-DwZYcDAj.js} +5 -5
  209. package/dist/assets/{downloadPdf-DYME892p-DnuA45tN.js → downloadPdf-Dl5UuOv_-DcSCv9vJ.js} +1 -1
  210. package/dist/assets/{empty-YAzUsLWo.js → empty-CGwQB5sP.js} +1 -1
  211. package/dist/assets/{empty-DIaGol0s.js → empty-dVLDjrZY.js} +1 -1
  212. package/dist/assets/epic-gk6U9kCP.js +2 -0
  213. package/dist/assets/{gift-box-Cmt9OgIZ-D8uaCs9t.js → gift-box-Cmt9OgIZ-C7uoRs4g.js} +1 -1
  214. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BnqvP-Mg.js → graphic-no-data-l-DU4J8fDt-DxQEyL6u.js} +1 -1
  215. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BrG8Enhv.js → graphic-no-data-net-burn-l-CzmycA0m-BeDfyPz6.js} +1 -1
  216. package/dist/assets/{handshake-BPg58FML-S4DZNWEu.js → handshake-BPg58FML-C6I69X2f.js} +1 -1
  217. package/dist/assets/{index-fCU66cGL.js → index-2UT2PoLz.js} +1 -1
  218. package/dist/assets/{index-CzPNam9l.js → index-B62kMDsj.js} +1 -1
  219. package/dist/assets/{index-CvvJB6hF.js → index-BlhMiimg.js} +1 -1
  220. package/dist/assets/{index-tx0waYy2.js → index-CJSgchrb.js} +1 -1
  221. package/dist/assets/{index-B5xx_eN8.js → index-CofZqiyy.js} +1 -1
  222. package/dist/assets/{index-Cb-eu--2.js → index-l9FViNoO.js} +1044 -1048
  223. package/dist/assets/{index-Bk_A1gE6.js → index-mRKAcklk.js} +1 -1
  224. package/dist/assets/{lexical-ewc-g90D.js → lexical-B19SDutg.js} +1 -1
  225. package/dist/assets/{liveblocks-Bz_57PUs.js → liveblocks-BKCvXoiA.js} +1 -1
  226. package/dist/assets/{lottie-D9rmsbLV.js → lottie-CTuuushW.js} +1 -1
  227. package/dist/assets/mapLoadingInProgressToTreeNode-DL4wGcX6-qKcz8o_r.js +1 -0
  228. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BNXHaV-x-CRPLWovY.js → mapSectionWithAcOnlyToTreeNode-DLeyrCPV-CBeUvfG-.js} +1 -1
  229. package/dist/assets/mapSpacerToTreeNode-Bl4MSBc9-DsaOHsUd.js +1 -0
  230. package/dist/assets/{mapTimeframeBalancesToTreeNode-LxIEmBdX-KokF2RU0.js → mapTimeframeBalancesToTreeNode-BNP8a_pF-DA-Kt9CP.js} +1 -1
  231. package/dist/assets/mapTimeframeBalancesToTreeNode-Cx4O7W7V-C8qea7Z2.js +1 -0
  232. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BvxVvq-i-B7P1WFjn.js +1 -0
  233. package/dist/assets/{mui-CvhriUJf.js → mui-cKt0zt2w.js} +1 -1
  234. package/dist/assets/{page-detail-CWX5S47F-Bq22-rqt.js → page-detail-CWX5S47F-hDrW8rOj.js} +1 -1
  235. package/dist/assets/{radio-default-CiSgisfh-Cp9UCpd-.js → radio-default-CiSgisfh-D4wl_ybJ.js} +1 -1
  236. package/dist/assets/{react-C0XMjaMg.js → react-3b8QVeng.js} +1 -1
  237. package/dist/assets/{react-DyHZEwLG.js → react-85WN45Y4.js} +1 -1
  238. package/dist/assets/{react-1y3MANKU.js → react-BcpaDQXf.js} +1 -1
  239. package/dist/assets/{react-CZGWH6Mz.js → react-CUDeH5fw.js} +1 -1
  240. package/dist/assets/{react-DwmtkHEd.js → react-D2QCQuEO.js} +1 -1
  241. package/dist/assets/{react-KuTvFOki.js → react-D811AKIl.js} +3 -3
  242. package/dist/assets/{react-BuDJflUo.js → react-Drezwue3.js} +1 -1
  243. package/dist/assets/{react-DGrzv3mJ.js → react-DycPsf8e.js} +1 -1
  244. package/dist/assets/{recharts-NgHQTHYn.js → recharts-DKlDhqpA.js} +1 -1
  245. package/dist/assets/{sentry-agJ08X3c.js → sentry-DWELwT5u.js} +1 -1
  246. package/dist/assets/{shield-DOlUxcFf-B2GDXTMJ.js → shield-DOlUxcFf-DcDDcztl.js} +1 -1
  247. package/dist/assets/toCOABalancesWithID-BM2RMkm6-8ztVlUAS.js +1 -0
  248. package/dist/assets/{toChartData-CuSN9vUZ-BM3egbjZ.js → toChartData-xURa2wgf-D5Tvqegg.js} +1 -1
  249. package/dist/assets/{uploadAttachment-CRI5U1f4-DVW_vb-O.js → uploadAttachment-DfTOIWsX-DQL7CPp6.js} +17 -17
  250. package/dist/assets/{uploadReceipts-CPw64UYa-BZtR51vy.js → uploadReceipts-CPw64UYa-BXgFs59O.js} +1 -1
  251. package/dist/assets/{url-DZoi54Ss.js → url-BO73xRx2.js} +1 -1
  252. package/dist/assets/{url-DDYZGiRl.js → url-dLu3i57y.js} +1 -1
  253. package/dist/assets/{useLongPress-GCK2COYQ-DGRuYRk_.js → useLongPress-GCK2COYQ-BJatk2tg.js} +1 -1
  254. package/dist/assets/{usp-line-BBd1wKwW-T0IDSH6l.js → usp-line-BBd1wKwW-DG080FPi.js} +1 -1
  255. package/dist/assets/{utils-D6Foy4XN.js → utils-Db67jZaM.js} +1 -1
  256. package/dist/assets/{zeni-epic-state-CwvuK4v8.js → zeni-epic-state-atBaoFS-.js} +17 -17
  257. package/dist/index.html +1 -1
  258. package/package.json +3 -3
  259. package/dist/assets/AccountInfoPage-D0Kzx5mY-CJm_njaM.js +0 -18
  260. package/dist/assets/AddAddressForCardDrawer-C_QsOhGT-JjH1tV75.js +0 -6
  261. package/dist/assets/ApprovalRulesSettingsPage-5bJIKss7-B4H86TF1.js +0 -47
  262. package/dist/assets/BillingSettingsPage-BiKaSV4T-B7qWB_0N.js +0 -44
  263. package/dist/assets/BusinessVerificationPage-8tFxbXGC-BJTtQskx.js +0 -138
  264. package/dist/assets/ChargeCardPromoPage-BUGGPnco-DBc81PKU.js +0 -222
  265. package/dist/assets/CompanyOfficerDetailsSection-CMl5cDNs-DdfK5FFg.js +0 -330
  266. package/dist/assets/CompanyPassportPage-BlDBD5EG-BUrwQfBs.js +0 -347
  267. package/dist/assets/ConfettiBurst-nOkNOTPr-D3HgRrS2.js +0 -1
  268. package/dist/assets/CustomerOnboardingContainerPage-Dq7dnrBC-CWciNrIc.js +0 -1
  269. package/dist/assets/CustomerOnboardingNoStepsPage-D1XU-7jk-B9NXIxKZ.js +0 -66
  270. package/dist/assets/CustomerOnboardingPage-DFky4iQx-DeIXARbP.js +0 -107
  271. package/dist/assets/DepositAccTransactionListPage-MLQJ9urd-CXD4vrU3.js +0 -66
  272. package/dist/assets/EntityDetailPage-Bj5lQ0PH-CgnIn8Qd.js +0 -18
  273. package/dist/assets/InsightsSection-BT0lHMo3-ZMR8XDUG.js +0 -27
  274. package/dist/assets/InternationalWireVerificationPage-B0ha4dEA-nPFsk-wT.js +0 -65
  275. package/dist/assets/LabeledCountryMultiSelectField-CJud_Lwc-DM_ekN05.js +0 -234
  276. package/dist/assets/LabeledMultiSelectField-DH6iG4SR-CjSQCSFf.js +0 -220
  277. package/dist/assets/MagicLinkACHDetailsPage-CRVp5zpz-ChZJhV1s.js +0 -1
  278. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9jW4rg-ey3F6N1L.js +0 -1
  279. package/dist/assets/MagicLinkInternationalWireDetailsPage-COHy_2Nv-DwFZWMbr.js +0 -1
  280. package/dist/assets/NoDataChart-DxwqqeoI-DvpagR71.js +0 -26
  281. package/dist/assets/NoDataTable-DOZy5UAM-BZ8x_1Ah.js +0 -8
  282. package/dist/assets/NotificationsListConfig-C-OlC5S6-CLVUTw1S.js +0 -1
  283. package/dist/assets/OverlayContainerPage-Daz3A7cI-bRV6SDw3.js +0 -11
  284. package/dist/assets/PaymentAccountSetupBillingAddressSection-Dnw0APJu-DwpnOrFK.js +0 -107
  285. package/dist/assets/ReimbursementDetailPage-DOCRkpPT-CXzAYn45.js +0 -314
  286. package/dist/assets/RoleWithToolTip-BYuFXi4d-Cr1vWh2r.js +0 -22
  287. package/dist/assets/ScheduleDetailsFixedAssetsPage-BU--t7Cu-SVNrNqxf.js +0 -37
  288. package/dist/assets/StatementItem-CL4KzNeN-BqPxf-U1.js +0 -31
  289. package/dist/assets/StatementsPage-ECVGrRXi-BQMeqgMv.js +0 -58
  290. package/dist/assets/SummaryCard-OvE5BRYP-m6PBJMlQ.js +0 -1
  291. package/dist/assets/TransactionVendorDetailPage-BLCUqZvL-CaBwJEED.js +0 -80
  292. package/dist/assets/TreasuryStatementsPage-CLFal4Qu-HYKKhiVi.js +0 -58
  293. package/dist/assets/UploadAdditionalDocumentOverlay-B37gdjRF-DOfs_M69.js +0 -38
  294. package/dist/assets/Vendor2FAPopup-BZQXt_G4-CDCDeN6H.js +0 -1
  295. package/dist/assets/VendorACHDetailsPage-WS3d8TF6-CvBLg0wo.js +0 -1
  296. package/dist/assets/VendorDomesticWireDetailsPage-Brom_Sf_-DKniLk2q.js +0 -1
  297. package/dist/assets/VendorInternationalWireSwiftDetailsPage-C4XEeSs2-BbCuAOE5.js +0 -1
  298. package/dist/assets/commonTypes-ByC4Sd87-DFD5XJ1t.js +0 -1
  299. package/dist/assets/epic-C_3GO3yP.js +0 -2
  300. package/dist/assets/mapLoadingInProgressToTreeNode-B7Tq4sxB-Dr0mqpSP.js +0 -1
  301. package/dist/assets/mapSpacerToTreeNode-DpgQIqP_-DADCfTco.js +0 -1
  302. package/dist/assets/mapTimeframeBalancesToTreeNode-fxn51zxe-A6rpifcc.js +0 -1
  303. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-opvjldHo-C8_Xm6ja.js +0 -1
  304. package/dist/assets/toCOABalancesWithID-BAw7mDDs-DnnE8m6M.js +0 -1
@@ -0,0 +1,314 @@
1
+ import{aw as Mt,a8 as Rt,q as Pt,e as Bt,cb as Nt,y as m,F as et,gd as Lt,gf as _t,gg as Ot,V as t,cn as Ae,co as Me,cp as Re,bA as Pe,aN as y,bn as Wt,ds as Et,gh as Ft,gs as Be,o as a,gi as Ne,fe as b,gl as w,fh as x,aL as Le,fd as _e,b as V,gn as Oe,aP as Kt,ao as Ut,go as Vt,gp as re,bw as Gt,gq as Ht,_ as Jt,M as Yt,a as qt,al as tt,b8 as it,p as G,am as Qt,bT as Zt,ai as Xt,gJ as ei,gF as ti,d as c,cg as ii,cU as ai}from"./index-l9FViNoO.js";import{a as p}from"./sentry-DWELwT5u.js";import{n as r}from"./mui-cKt0zt2w.js";import{a as ri}from"./liveblocks-BKCvXoiA.js";import{bL as oi,bP as ni,FH as li}from"./zeni-epic-state-atBaoFS-.js";import si from"./InvoiceUploadSection-CO34IhU8-1rxbAjFS.js";import{r as di,h as f,u as ci}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-B8o5Jj6O.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./recharts-DKlDhqpA.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.js";import"./AttachmentView-BsNhULL3-C-ca695p.js";import"./uploadReceipts-CPw64UYa-BXgFs59O.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new e.Error().stack;C&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[C]="a5785d9d-601f-413a-bcf6-7ec6787d75c5",e._sentryDebugIdIdentifier="sentry-dbid-a5785d9d-601f-413a-bcf6-7ec6787d75c5")}catch{}})();const s={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},mi={formTitle:new Yt("h6Regular","h5Regular")},sa=({remiDetails:e,uploadInvoiceEndPoint:C,authParams:ne,isAdmin:le,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:H,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:he,deleteReimbursement:nt,cancelAndDeleteReport:ye,handleZeniLogoClick:lt,onAddNewRule:ge,initialOpenThreadRequest:z})=>{const d=Mt(),st=Rt().analytics,o=Pt(),be=Bt(),[dt,A]=p.useState(!1),[J,Y]=p.useState(!1),[ct,q]=p.useState(!1),[Q,Z]=p.useState("approved"),N=p.useRef(null),[j,X]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,mt]=p.useState(null),[pt,L]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=p.useRef({}),xe=l=>{const n=we.current[l];n!=null&&setTimeout(()=>ci(n,N.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&H()},[e,H]),p.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const n=l.substring(1);xe(n)}},[]);const ut=()=>{H()};Nt({componentName:"reimbursement.details"});const ht={onOkClick:()=>{A(!1),j.primaryButtonText===i.buttons.delete?nt?.():j.title===i.cancelReportTitle?ye?.():j.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{A(!1)}},I=s.labelWidth.value(o),M=s.largeLabelWidth.value(o),fe=et.getLocalizedStrings(),{common:{texts:{comments:yt},strings:{empty:$e}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:bt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:ve}=fe,{reimbursementDetail:i,bulkActions:_}=fe.spendManagement.reimbursement,ee=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],O=e.remiDetails?.reimbursementInfo.stage,W=e.remiDetails?.reimbursementInfo.billStatus,E=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=O?.code==="paid",ft=Te?O:W?.code=="approved"&&E?.code?E:W,$=pi(e.remiDetails),R=W?.code=="approved"&&E?.code?E:W,F=e.remiDetails?.isDeleted??!1,Se=e.remiDetails?.amount,je=e.remiDetails?.amount.amount??0,Ie=()=>{X({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),A(!0)},$t=()=>{X({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},vt=()=>{X({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},De=()=>{rt()},Tt={onOkClick:l=>{q(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{q(!1)}},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(Z("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(Z("delete"),Ie()):(Z("rejected"),q(!0))},It=e.remiDetails?.reimbursementInfo.paymentDate!=null?oi(ni(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,te=e.remiDetails?.reimbursementInfo.expectedDepositDate??It,Dt=e.remiDetails?.lines?.some(l=>{const n=l.lineDetail;return n?.account?.isDeleted===!0&&n?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at&&!Dt,Ct=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ie=ft?.code,kt=di(e.duplicateLineByLineId),ke=e.duplicateReimbursementStatus.fetchState==="Completed"&&kt>0,{requestToOpenThread:ae,setRequestToOpenThread:K,setOpenThread:U}=p.useContext(Lt);p.useEffect(()=>{z?.threadId!=null&&z?.companyId!=null&&z?.entityType!=null&&K(z)},[z,K]);const{threads:P,isLoading:D}=_t({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),zt=p.useMemo(()=>P.filter(l=>l.resolved===!1&&!l.id.includes(Ot)),[P]).length,At=p.useCallback((l,n)=>{U(n),L(!1)},[U,L]);p.useEffect(()=>{ae?.threadId!=null&&P.length>0&&!D&&(U(ae.threadId),K(null))},[ae,P,D,U,K]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},B=li(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Oi,{windowSize:o,ref:N,children:[dt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:j.title}),descriptionComponent:t.jsx(Me,{children:j.description}),primaryButtonText:j.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:j.secondaryButtonText,action:ht}):null,ct?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Me,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:Tt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Mi,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Pe,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(Ri,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:be.colors.background,keepBackgroundOnScroll:!0,scrollableContent:N,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(ki,{}):null,t.jsx(Pe,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:ee??$e,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Bi,{children:[u?t.jsxs(Ni,{isDisabled:D,onClick:D?()=>null:l=>{l.preventDefault(),l.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),L(!0),st.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(n=>Et(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Wt,{count:D?void 0:zt,isLoading:D,style:{left:"12px"}}),t.jsx(Li,{})]}):null,t.jsx(_i,{size:o,onClick:()=>ut(),"data-testid":y("remi-detail-page-close"),children:t.jsx(Pi,{})})]}),scrollableContent:N,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Gi,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Ye,{windowSize:o,children:t.jsx(qe,{windowsSize:o,children:ee})}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&$!=null?t.jsx(Ge,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,R?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Ft,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F}),B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:_.duplicateWarning.title,description:_.duplicateWarning.description}):ke?t.jsxs(We,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Ee,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):t.jsx(Je,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null]}):null,S.map((l,n)=>{const v=e.duplicateLineByLineId[l.lineId];return t.jsxs(Xe,{windowSize:o,children:[t.jsx(Ki,{windowSize:o,children:t.jsx(Ui,{bottomSeperator:S.length!==1,windowSize:o,children:t.jsx(si,{showAutofill:!1,uploadInvoiceEndPoint:C,authParams:ne,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:S.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:S.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Fi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(Ye,{windowSize:o,children:[t.jsx(qe,{windowsSize:o,children:ee}),me&&$!=null?t.jsx(Ge,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,R?.code!=null?t.jsx(Je,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null,B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:_.duplicateWarning.title,description:_.duplicateWarning.description}):ke?t.jsxs(We,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Ee,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(wi,{windowSize:o,ref:ze=>{ze!=null&&(we.current[`L${l.lineId}`]=ze)},children:[o!=="small"?t.jsx(bi,{children:t.jsx(xi,{children:S.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(fi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(yi,{children:[i.thisExpenseReview," ",t.jsx(gi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return xe(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&ot(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:l.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(w,{label:{label:i.reimbursementType,width:M},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("distanceInMiles",n,"mileage")}`},children:t.jsx(w,{label:{label:i.distanceInMiles,width:M},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"mileage")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("merchant",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.merchant,width:M},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.category,width:I},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Ei,{windowSize:o,children:[t.jsxs(Qe,{windowSize:o,children:[t.jsx(Ze,{children:i.total}),t.jsx(_e,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(Oe,{amount:je,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:ge,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),S.length===1&&t.jsxs(Xe,{windowSize:o,children:[t.jsx(He,{}),t.jsxs(ui,{windowSize:o,children:[t.jsx(Wi,{windowSize:o,children:t.jsxs(Qe,{windowSize:o,children:[t.jsx(Ze,{children:i.total}),t.jsx(_e,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(hi,{windowSize:o,children:t.jsx(Oe,{amount:je,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:ge,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Vi,{})]}),Te||F===!0?null:t.jsxs(Ai,{children:[o!=="small"?t.jsx(He,{}):null,t.jsx(vi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),J===!0&&Y(!1)},children:t.jsx(Kt,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:Q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:jt,style:{width:s.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:Q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:St,style:{width:s.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx($i,{children:t.jsxs(zi,{windowSize:o,children:[!B&&J?t.jsx(Ut,{onClickAway:()=>Y(!1),children:t.jsxs(Ci,{windowSize:o,children:[ie!=="processing"?t.jsx(oe,{onClick:Ie,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ie==="processing"?t.jsx(oe,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ie==="processing"?t.jsx(oe,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Di,{windowSize:o,children:[!B&&Ce?t.jsx(Ii,{onClick:De,"data-testid":y("remi-edit-button"),children:t.jsx(ji,{})}):null,!B&&Ct===!0?t.jsx(Si,{windowSize:o,showEditIcon:Ce,children:t.jsx(Ti,{onClick:()=>Y(!J),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ri,{id:h,children:t.jsx(Vt,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:yt,threads:P,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??$e,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:k?{companyName:k.companyName,companyId:k.companyId,entityId:k.entityId,entityType:k.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(l,n)=>At(l,n),onCloseAllThreadsDrawer:()=>L(!1),drawerSectionStyle:{width:"400px",backgroundColor:be.colors.background}})}):null]})},pi=e=>{const C=et.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:C.tabsById.deleted,color:re.deleted.color,bgColor:re.deleted.bgColor,borderColor:re.deleted.borderColor,code:"deleted"}},ui=r.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
5
+ `,hi=r.div`
6
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
7
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
8
+ margin-bottom: ${e=>s.activityBottomMargin.valuePx(e.windowSize)};
9
+ `,yi=r(Qt)`
10
+ padding: ${a.sp2} ${a.sp0} ${a.sp2} ${a.sp4};
11
+ background-color: ${G.alertLight};
12
+ color: ${G.brandColorGoldDark};
13
+ border-top-left-radius: inherit;
14
+ border-top-right-radius: inherit;
15
+ `,gi=r.span`
16
+ border-bottom: 1px solid currentColor;
17
+ cursor: pointer;
18
+ `,We=r.div`
19
+ display: flex;
20
+ gap: ${a.sp2};
21
+ padding: ${a.sp3};
22
+ border-radius: ${a.sp2};
23
+ align-items: start;
24
+ margin-top: ${e=>s.duplicateBannerWrapperMarginTop.valuePx(e.size)};
25
+ margin-right: ${e=>s.duplicateBannerWrapperMarginRight.valuePx(e.size)};
26
+ margin-bottom: ${e=>s.duplicateBannerWrapperMarginBottom.valuePx(e.size)};
27
+ margin-left: ${e=>s.duplicateBannerWrapperMarginLeft.valuePx(e.size)};
28
+ background-color: ${G.alertLight};
29
+ border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
30
+ `,Ee=r(ii)`
31
+ color: ${e=>e.theme.colors.brandColorGoldDark};
32
+ `,Fe=r.div`
33
+ width: 100%;
34
+ `,Ke=r(tt)`
35
+ color: ${e=>e.theme.colors.brandColorGoldDark};
36
+ `,Ue=r(ai)`
37
+ width: ${a.sp4};
38
+ height: ${a.sp4};
39
+ color: ${G.brandColorGoldDark};
40
+ `,Ve=r(tt)`
41
+ margin-bottom: ${e=>s.bottomMargin.valuePx(e.windowSize)};
42
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
43
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
44
+ color: ${e=>e.theme.colors.primary};
45
+ `,bi=r.div`
46
+ display: flex;
47
+ justify-content: space-between;
48
+ `,wi=r.div`
49
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
50
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
51
+ `,xi=r(it)`
52
+ color: ${e=>e.theme.colors.primary};
53
+ margin-bottom: ${a.sp3};
54
+ `,fi=r.div`
55
+ display: flex;
56
+ flex-direction: column;
57
+ background-color: ${e=>e.theme.colors.grey5};
58
+ border: 1px solid ${e=>e.theme.colors.grey3};
59
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
60
+ border-radius: ${a.sp2};
61
+ margin-bottom: ${e=>s.formBottomMargin.valuePx(e.windowSize)};
62
+ z-index: 3;
63
+ `,$i=r.div`
64
+ display: flex;
65
+ justify-content: flex-end;
66
+ `,vi=r.div`
67
+ width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
68
+ `,Ti=r(ti)`
69
+ cursor: pointer;
70
+ color: ${e=>e.theme.colors.hero};
71
+ width: ${a.sp5};
72
+ height: ${a.sp5};
73
+ &:hover {
74
+ color: ${e=>e.theme.colors.primary};
75
+ }
76
+ `,Si=r.div`
77
+ display: flex;
78
+ margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:a.sp5};
79
+ cursor: pointer;
80
+ color: ${e=>e.theme.colors.grey1};
81
+ &:hover {
82
+ color: ${e=>e.theme.colors.primary};
83
+ }
84
+ `,ji=r(ei)`
85
+ cursor: pointer;
86
+ color: ${e=>e.theme.colors.hero};
87
+ width: ${a.sp5};
88
+ height: ${a.sp5};
89
+ &:hover {
90
+ color: ${e=>e.theme.colors.primary};
91
+ }
92
+ `,Ii=r.div`
93
+ display: flex;
94
+ cursor: pointer;
95
+ color: ${e=>e.theme.colors.grey1};
96
+ margin-left: ${a.sp4};
97
+ &:hover {
98
+ color: ${e=>e.theme.colors.primary};
99
+ }
100
+ `,Ge=r(it)`
101
+ display: flex;
102
+ color: ${e=>e.borderColor};
103
+ align-items: center;
104
+ justify-content: flex-end;
105
+ margin-left: ${a.sp3};
106
+ padding: 1px 6px 1px 6px;
107
+ border: ${e=>`1px solid ${e.borderColor}`};
108
+ border-radius: ${a.sp1};
109
+ min-width: fit-content;
110
+ max-width: fit-content;
111
+ `,Di=r.div`
112
+ display: flex;
113
+ justify-content: center;
114
+ align-items: center;
115
+ `,Ci=r.div`
116
+ display: flex;
117
+ width: max-content;
118
+ align-items: center;
119
+ justify-content: center;
120
+ flex-direction: column;
121
+ background-color: ${e=>e.theme.colors.grey5};
122
+ color: ${e=>e.theme.colors.hero};
123
+ cursor: pointer;
124
+ padding-top: ${a.sp1};
125
+ padding-bottom: ${a.sp1};
126
+ position: absolute;
127
+ bottom: ${e=>s.otherActionsContainerBottom.valuePx(e.windowSize)};
128
+ z-index: 3;
129
+ border: ${e=>`1px solid ${e.theme.colors.grey3}`};
130
+ border-radius: ${a.sp1};
131
+ right: ${e=>s.right.valuePx(e.windowSize)};
132
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.grey1} 3D`};
133
+ `,ki=r.div`
134
+ position: fixed;
135
+ top: 0;
136
+ left: 42vw;
137
+ width: 100%;
138
+ height: 100vh;
139
+ background: transparent;
140
+ box-shadow: 0 2px ${a.sp1} ${({theme:e})=>e.colors.dropShadowNormal};
141
+ pointer-events: none;
142
+ z-index: 1;
143
+ `,zi=r.div`
144
+ width: auto;
145
+ justify-content: flex-end;
146
+ position: ${e=>e.windowSize==="small"?"static":"relative"};
147
+ right: ${e=>s.actionsContainerRight.valuePx(e.windowSize)};
148
+ height: 100%;
149
+ display: flex;
150
+ `,oe=r(Xt)`
151
+ display: flex;
152
+ align-items: center;
153
+ width: 100%;
154
+ padding-left: ${a.sp3};
155
+ padding-right: ${a.sp3};
156
+ height: ${a.sp6};
157
+ box-sizing: border-box;
158
+ &:hover {
159
+ background-color: ${e=>e.theme.colors.background};
160
+ }
161
+ `,Ai=r.div`
162
+ display: flex;
163
+ width: 100%;
164
+ position: sticky;
165
+ bottom: 0;
166
+ z-index: 2;
167
+ `,Mi=r.div`
168
+ min-height: ${e=>s.navBarHeight.valuePx(e.windowSize)};
169
+ height: ${e=>s.navBarHeight.valuePx(e.windowSize)};
170
+ display: flex;
171
+ align-items: center;
172
+ width: 100%;
173
+ justify-content: space-between;
174
+ position: fixed;
175
+ z-index: 4;
176
+ `,Ri=r(Gt)`
177
+ color: ${e=>e.theme.colors.brandColorJade};
178
+ cursor: pointer;
179
+ width: ${a.sp4};
180
+ height: ${a.sp4};
181
+ `,T=r.div`
182
+ display: flex;
183
+ flex: 1;
184
+ background-color: ${e=>e.theme.colors.grey3};
185
+ min-height: 1px;
186
+ max-height: 1px;
187
+ `,Pi=r(Jt)`
188
+ cursor: pointer;
189
+ width: ${a.sp4};
190
+ height: ${a.sp4};
191
+ float: right;
192
+ color: ${e=>e.theme.colors.hero};
193
+ &:hover {
194
+ color: ${e=>e.theme.colors.primary};
195
+ }
196
+ `,Bi=r.div`
197
+ margin-top: ${e=>s.closeMarginTop.valuePx(e.windowSize)};
198
+ display: flex;
199
+ float: right;
200
+ `,Ni=r.div`
201
+ display: flex;
202
+ align-items: center;
203
+ justify-content: center;
204
+ position: relative;
205
+ cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
206
+ color: ${e=>e.theme.colors.hero};
207
+ &:hover {
208
+ color: ${e=>e.theme.colors.primary};
209
+ }
210
+ `,Li=r(Ht)`
211
+ display: flex;
212
+ width: ${a.sp4};
213
+ height: ${a.sp4};
214
+ align-items: center;
215
+ justify-content: center;
216
+ `,_i=r.div`
217
+ margin-top: ${e=>s.closeMarginTop.valuePx(e.size)};
218
+ margin-left: ${a.sp5};
219
+ `,Oi=r.div`
220
+ display: flex;
221
+ flex-direction: column;
222
+ width: 100vw;
223
+ background: -webkit-linear-gradient(
224
+ to right,
225
+ ${e=>e.theme.colors.background} 42%,
226
+ ${e=>e.theme.colors.grey4} 42%
227
+ );
228
+ background: -moz-linear-gradient(
229
+ to right,
230
+ ${e=>e.theme.colors.background} 42%,
231
+ ${e=>e.theme.colors.grey4} 42%
232
+ );
233
+ background: -o-linear-gradient(
234
+ to right,
235
+ ${e=>e.theme.colors.background} 42%,
236
+ ${e=>e.theme.colors.grey4} 42%
237
+ );
238
+ background: linear-gradient(
239
+ to right,
240
+ ${e=>e.theme.colors.background} 42%,
241
+ ${e=>e.theme.colors.grey4} 42%
242
+ );
243
+ ${e=>e.windowSize==="small"&&`
244
+ background: ${e.theme.colors.grey4};
245
+ `}
246
+ height: 100vh;
247
+ overflow: scroll;
248
+ `,He=r.div`
249
+ width: 42%;
250
+ `,Wi=r.div`
251
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
252
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
253
+ `,Je=r.div`
254
+ margin-bottom: ${e=>s.bottomMargin.valuePx(e.windowSize)};
255
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
256
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
257
+ `,Ye=r.div`
258
+ display: flex;
259
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
260
+ align-items: ${e=>e.windowSize==="small"?"unset":"center"};
261
+ margin-top: ${e=>s.topMargin.valuePx(e.windowSize)};
262
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
263
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
264
+ width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
265
+ `,qe=r(qt)`
266
+ flex-grow: 1;
267
+ ${e=>`${mi.formTitle.style(e.windowsSize)}`};
268
+ color: ${e=>e.theme.colors.primary};
269
+ word-break: break-all;
270
+ `,Ei=r.div`
271
+ display: flex;
272
+ flex-direction: column;
273
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
274
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
275
+ `,Qe=r.div`
276
+ padding: ${a.sp3};
277
+ display: flex;
278
+ align-items: center;
279
+ justify-content: center;
280
+ background-color: ${e=>e.theme.colors.grey3};
281
+ border: 1px solid ${e=>e.theme.colors.grey3};
282
+ border-radius: ${a.sp2};
283
+ color: ${e=>e.theme.colors.hero};
284
+ margin-bottom: ${e=>s.totalBottomMargin.valuePx(e.windowSize)};
285
+ justify-content: space-between;
286
+ `,Ze=r(Zt)`
287
+ display: flex;
288
+ width: 176px;
289
+ color: ${e=>e.theme.colors.primary};
290
+ `,Fi=r.div`
291
+ display: flex;
292
+ flex-direction: column;
293
+ width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
294
+ `,Xe=r.div`
295
+ display: flex;
296
+ width: 100%;
297
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
298
+ align-items: ${e=>e.windowSize==="small"?"center":"flex-start"};
299
+ `,Ki=r.div`
300
+ width: ${e=>s.leftSectionWidth.valuePercentage(e.windowSize)};
301
+ `,Ui=r.div`
302
+ background: ${e=>e.theme.colors.grey3};
303
+ border-radius: ${a.sp2};
304
+ margin-top: ${e=>s.topMargin.valuePx(e.windowSize)};
305
+ margin-left: ${e=>s.invoiceLeftMargin.valuePx(e.windowSize)};
306
+ margin-right: ${e=>s.invoiceRightMargin.valuePx(e.windowSize)};
307
+ margin-bottom: ${e=>e.bottomSeperator===!0&&e.windowSize!=="small"?"107px":a.sp5};
308
+ `,Vi=r.div`
309
+ display: flex;
310
+ flex-direction: column;
311
+ height: ${a.sp11};
312
+ `,Gi=r.div`
313
+ margin-top: 78px;
314
+ `;export{sa as default};
@@ -1,4 +1,4 @@
1
- import{aw as ne,d as S,q as k,aO as le,V as e,aN as a,fp as ae,bA as de,n as u,ae as d,F,o as s,aq as ce,a as me,aR as E,am as pe,y as xe,p as z,cB as he,aS as ue,b9 as ge,c as we}from"./index-Cb-eu--2.js";import{a as j}from"./sentry-agJ08X3c.js";import{n as r}from"./mui-CvhriUJf.js";import{FG as je,bT as fe}from"./zeni-epic-state-CwvuK4v8.js";import{f as be}from"./VideoPopup-CxjbzbjP-W4fJ8I9f.js";import{M as v}from"./usp-line-BBd1wKwW-T0IDSH6l.js";import"./liveblocks-Bz_57PUs.js";import"./core-DRgi22QZ.js";import"./recharts-NgHQTHYn.js";import"./lottie-D9rmsbLV.js";import"./analytics-D1LdKGXu.js";import"./lexical-ewc-g90D.js";import"./utils-D6Foy4XN.js";import"./VideoPlayer-Bwg_8KIq-1vwhBTtH.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]="c92fb53e-822a-4351-9e79-2de9a5fdee6b",i._sentryDebugIdIdentifier="sentry-dbid-c92fb53e-822a-4351-9e79-2de9a5fdee6b")}catch{}})();const N="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",V="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=r.div`
1
+ import{aw as ne,e as S,q as k,aO as le,V as e,aN as a,fp as ae,bA as de,n as u,ae as d,F,o as s,aq as ce,c as me,aR as E,am as pe,y as xe,p as z,cB as he,aS as ue,b9 as ge,d as we}from"./index-l9FViNoO.js";import{a as j}from"./sentry-DWELwT5u.js";import{n as r}from"./mui-cKt0zt2w.js";import{FG as je,bT as be}from"./zeni-epic-state-atBaoFS-.js";import{f as fe}from"./VideoPopup-BUq4CaWy-BN4RkIzc.js";import{M as v}from"./usp-line-BBd1wKwW-DG080FPi.js";import"./liveblocks-BKCvXoiA.js";import"./core-B8o5Jj6O.js";import"./recharts-DKlDhqpA.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.js";import"./VideoPlayer-B0jJK498-Bbxsuaup.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]="09d40c73-462d-4333-9ee8-80408659d2d6",i._sentryDebugIdIdentifier="sentry-dbid-09d40c73-462d-4333-9ee8-80408659d2d6")}catch{}})();const N="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",V="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=r.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -28,11 +28,11 @@ import{aw as ne,d as S,q as k,aO as le,V as e,aN as a,fp as ae,bA as de,n as u,a
28
28
  flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
29
29
  align-items: center;
30
30
  justify-content: center;
31
- `,g=r.img``,_=r.div`
31
+ `,g=r.img``,q=r.div`
32
32
  width: ${i=>i.windowSize==="small"?"auto":"376px"};
33
33
  display: flex;
34
34
  flex-direction: column;
35
- `,q=r.div`
35
+ `,_=r.div`
36
36
  width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
37
37
  overflow: hidden;
38
38
  max-width: 712px;
@@ -58,9 +58,9 @@ import{aw as ne,d as S,q as k,aO as le,V as e,aN as a,fp as ae,bA as de,n as u,a
58
58
  align-items: center;
59
59
  text-align: start;
60
60
  box-sizing: border-box;
61
- `,f=r(ge)`
61
+ `,b=r(ge)`
62
62
  color: ${i=>i.theme.colors.champion};
63
- `,b=r(ue)`
63
+ `,f=r(ue)`
64
64
  color: ${i=>i.theme.colors.champion};
65
65
  `,y=r(E)`
66
66
  color: ${i=>i.theme.colors.champion};
@@ -81,4 +81,4 @@ import{aw as ne,d as S,q as k,aO as le,V as e,aN as a,fp as ae,bA as de,n as u,a
81
81
  margin: ${s.sp3} auto;
82
82
  max-width: 772px;
83
83
  color: ${i=>i.theme.colors.hero};
84
- `,t=F.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=F.getLocalizedStrings().commonSetUp.businessVerification.terms,Te=()=>{const i=S(),o=k();return e.jsxs(Z,{windowSize:o,children:[e.jsx(q,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:V,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:N,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(_,{windowSize:o,children:[e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.simplestText.bold}),e.jsx(y,{children:t.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.aiPoweredText.bold}),e.jsx(y,{children:t.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(W,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.multiLevelApprovalText.bold}),e.jsx(y,{children:t.multiLevelApprovalText.regular})]})]})]})]})},Ce=()=>{const i=S(),o=k();return e.jsxs(Z,{windowSize:o,children:[e.jsxs(_,{windowSize:o,children:[e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx(b,{children:t.simplestText.bold}),e.jsx(f,{children:t.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx(b,{children:t.aiPoweredText.bold}),e.jsx(f,{children:t.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(W,{})}),e.jsxs(p,{children:[e.jsx(b,{children:t.multiLevelApprovalText.bold}),e.jsx(f,{children:t.multiLevelApprovalText.regular})]})]})]}),e.jsx(q,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:V,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:N,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})},_e=({reimbursementSetupView:i,userReimbursementInfo:o,meetingUrl:T,videoUrl:J,analytics:x,onSetupButtonClick:K,onCreateNewRemiButtonClick:Q,onBackClick:X,onSetupReimbursementSuccess:C,onClickMenuIcon:Y})=>{const P=ne(),[ee,ie]=j.useState(!1),[te,R]=j.useState(!1),se=S(),l=k(),{remiTermsDetails:h}=i,I=le(h?.fetchStatus.fetchState),re=je(P.loggedInUserRoleMap),w=fe(P.loggedInUserRoleMap)&&!re,oe=!!o?.isReimbursementTOSAccepted,B=!!i.companyRemiInfo?.isReimbursementEnabled,U=w?B?t.employeeAcceptPromoText:t.employeePendingPromoText:t.promoText;j.useEffect(()=>{I==="In-Progress"&&h?.fetchStatus.fetchState==="Completed"&&C?.()},[I,C,h?.fetchStatus]);const A=()=>{x?.trackReimbursementPromoScheduleDemo(),R(!0)};return e.jsxs($e,{children:[ee===!0?e.jsx(be,{onCancelClick:()=>{ie(!1)},videoUrl:J,"data-testid":a("remi-promo-page-video-popup")}):null,te===!0?e.jsx(ae,{onCancelClick:()=>{R(!1)},meetingUrl:T,"data-testid":a("remi-promo-page-meeting-popup")}):null,e.jsx(de,{title:t.title,backgroundColor:se.colors.grey4,onBackClick:X,showBackButton:!w,showMenuIcon:l==="small"||l==="medium-compact",onClickMenuIcon:Y,source:"ReimbursementPromoPage"}),e.jsxs(Se,{windowSize:l,children:[l==="small"?e.jsx(ze,{children:U}):e.jsx(ke,{children:U}),l==="small"?e.jsx(Te,{}):e.jsx(Ce,{}),e.jsx(ve,{children:w?e.jsx(e.Fragment,{children:B&&!oe?e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:t.scheduleDemoButton,onClick:A,"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:t.orText}),e.jsx(u,{variant:"primary",label:t.createNewReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:Q,"data-testid":a("reimbursement-promo-page-create-new-reimbursement-button")})]}),e.jsxs(D,{children:[t.terms.createTerms1,e.jsx(d,{href:t.terms.tosUrl,linkText:t.terms.zeniAgreement,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),t.terms.terms2,e.jsx(d,{href:t.terms.privacyPolicyUrl,linkText:t.terms.privacyPolicy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),t.terms.terms3]})]}):null}):e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:t.scheduleDemoButton,onClick:A,style:{width:216},"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:t.orText}),e.jsx(u,{variant:"primary",label:t.setupReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:K,style:{width:216},"data-testid":a("reimbursement-promo-page-setup-reimbursement-button")})]}),e.jsxs(D,{children:[t.terms.setupTerms1,e.jsx(d,{href:n.consentUrl,linkText:n.consent}),n.term2,e.jsx(d,{href:n.depositUrl,linkText:n.depositTerms}),n.term3,e.jsx(d,{href:n.privacyPolicyUrl,linkText:n.privacy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),n.term4,e.jsx(d,{href:n.tosUrl,linkText:n.tos,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),n.term5,t.terms.terms3]})]})})]})]})};export{_e as default};
84
+ `,t=F.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=F.getLocalizedStrings().commonSetUp.businessVerification.terms,Te=()=>{const i=S(),o=k();return e.jsxs(Z,{windowSize:o,children:[e.jsx(_,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:V,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:N,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(q,{windowSize:o,children:[e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.simplestText.bold}),e.jsx(y,{children:t.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.aiPoweredText.bold}),e.jsx(y,{children:t.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(W,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.multiLevelApprovalText.bold}),e.jsx(y,{children:t.multiLevelApprovalText.regular})]})]})]})]})},Ce=()=>{const i=S(),o=k();return e.jsxs(Z,{windowSize:o,children:[e.jsxs(q,{windowSize:o,children:[e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.simplestText.bold}),e.jsx(b,{children:t.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.aiPoweredText.bold}),e.jsx(b,{children:t.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(W,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.multiLevelApprovalText.bold}),e.jsx(b,{children:t.multiLevelApprovalText.regular})]})]})]}),e.jsx(_,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:V,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:N,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})},qe=({reimbursementSetupView:i,userReimbursementInfo:o,meetingUrl:T,videoUrl:J,analytics:x,onSetupButtonClick:K,onCreateNewRemiButtonClick:Q,onBackClick:X,onSetupReimbursementSuccess:C,onClickMenuIcon:Y})=>{const P=ne(),[ee,ie]=j.useState(!1),[te,R]=j.useState(!1),se=S(),l=k(),{remiTermsDetails:h}=i,I=le(h?.fetchStatus.fetchState),re=je(P.loggedInUserRoleMap),w=be(P.loggedInUserRoleMap)&&!re,oe=!!o?.isReimbursementTOSAccepted,B=!!i.companyRemiInfo?.isReimbursementEnabled,U=w?B?t.employeeAcceptPromoText:t.employeePendingPromoText:t.promoText;j.useEffect(()=>{I==="In-Progress"&&h?.fetchStatus.fetchState==="Completed"&&C?.()},[I,C,h?.fetchStatus]);const A=()=>{x?.trackReimbursementPromoScheduleDemo(),R(!0)};return e.jsxs($e,{children:[ee===!0?e.jsx(fe,{onCancelClick:()=>{ie(!1)},videoUrl:J,"data-testid":a("remi-promo-page-video-popup")}):null,te===!0?e.jsx(ae,{onCancelClick:()=>{R(!1)},meetingUrl:T,"data-testid":a("remi-promo-page-meeting-popup")}):null,e.jsx(de,{title:t.title,backgroundColor:se.colors.grey4,onBackClick:X,showBackButton:!w,showMenuIcon:l==="small"||l==="medium-compact",onClickMenuIcon:Y,source:"ReimbursementPromoPage"}),e.jsxs(Se,{windowSize:l,children:[l==="small"?e.jsx(ze,{children:U}):e.jsx(ke,{children:U}),l==="small"?e.jsx(Te,{}):e.jsx(Ce,{}),e.jsx(ve,{children:w?e.jsx(e.Fragment,{children:B&&!oe?e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:t.scheduleDemoButton,onClick:A,"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:t.orText}),e.jsx(u,{variant:"primary",label:t.createNewReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:Q,"data-testid":a("reimbursement-promo-page-create-new-reimbursement-button")})]}),e.jsxs(D,{children:[t.terms.createTerms1,e.jsx(d,{href:t.terms.tosUrl,linkText:t.terms.zeniAgreement,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),t.terms.terms2,e.jsx(d,{href:t.terms.privacyPolicyUrl,linkText:t.terms.privacyPolicy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),t.terms.terms3]})]}):null}):e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:t.scheduleDemoButton,onClick:A,style:{width:216},"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:t.orText}),e.jsx(u,{variant:"primary",label:t.setupReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:K,style:{width:216},"data-testid":a("reimbursement-promo-page-setup-reimbursement-button")})]}),e.jsxs(D,{children:[t.terms.setupTerms1,e.jsx(d,{href:n.consentUrl,linkText:n.consent}),n.term2,e.jsx(d,{href:n.depositUrl,linkText:n.depositTerms}),n.term3,e.jsx(d,{href:n.privacyPolicyUrl,linkText:n.privacy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),n.term4,e.jsx(d,{href:n.tosUrl,linkText:n.tos,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),n.term5,t.terms.terms3]})]})})]})]})};export{qe as default};
@@ -1,4 +1,4 @@
1
- import{d as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as Je,p as J,y as s,bA as Ze,k as Ye,ac as Ke,fq as ve,dL as Xe,fr as Qe,bv as et,dB as tt,aP as it,o as a,ft as nt,c as n,cg as ot,cP as at,eo as lt,fC as ke,fD as $e,ge as st,n as rt,aN as Pe,R as Ae,bK as ct,ai as dt,bs as ut}from"./index-Cb-eu--2.js";import{a as o}from"./sentry-agJ08X3c.js";import{n as i}from"./mui-CvhriUJf.js";import{bJ as mt}from"./zeni-epic-state-CwvuK4v8.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-B37gdjRF-DOfs_M69.js";import"./liveblocks-Bz_57PUs.js";import"./core-DRgi22QZ.js";import"./recharts-NgHQTHYn.js";import"./lottie-D9rmsbLV.js";import"./analytics-D1LdKGXu.js";import"./lexical-ewc-g90D.js";import"./utils-D6Foy4XN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="6b0ece6e-90d9-4c9d-b42d-3cf7ea8ce827",e._sentryDebugIdIdentifier="sentry-dbid-6b0ece6e-90d9-4c9d-b42d-3cf7ea8ce827")}catch{}})();const gt=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},ge={title:new Ae("standardSemiBold","largeSemiBold"),infoLabel:new Ae("extraSmallRegular","smallRegular")};function ft({companyMileageConfigInfo:e,mileageDetails:p,analytics:$,style:j,sectionId:P,isActive:d=!0,isDisabled:r,onSaveMileageClick:Z}){const l=Ee(),D=Te(),{formState:{errors:Y},trigger:K}=at(),T=ht(P,"mileageAmountInDenomination"),x=lt(Y,T),{localData:c,updateStatus:F,mileageStatus:w}=p,W=e?.denominationConversions.amount==null||e.denominationConversions.amount!==c?.mileageAmountInDenomination,{commonSetUp:X,spendManagement:Q}=Ie.getLocalizedStrings(),{reimbursement:ee}=Q,[C,E]=o.useState(W),[te,U]=o.useState(!1);o.useEffect(()=>{x||K(T)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===c?.mileageAmountInDenomination&&E(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{C||U(C)},[C]);const{reimbursementSetup:y}=ee,{setUp:ie}=X,ne=C===!1||F.fetchState==="In-Progress"?"readonly":r,oe=c&&c?.denominationSymbol?`${c?.denominationSymbol} `:"",ae=c&&c?.mileageUnit?c?.mileageUnit:"";return t.jsxs(xt,{windowSize:l,style:j,isActive:d&&r==null,children:[t.jsxs(Pt,{windowSize:l,children:[y.mileageHeader,d===!1?t.jsx(Dt,{children:ie.comingSoon}):null]}),t.jsxs(kt,{windowSize:l,children:[t.jsx(vt,{windowSize:l,isDarkMode:D.mode==="dark",children:t.jsx(gt,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),t.jsxs(yt,{children:[t.jsxs($t,{children:[t.jsxs(At,{children:[t.jsxs(jt,{children:[t.jsx(wt,{windowSize:l,children:e?.denominationConversions.amount==null?y.mileageAddTitle:y.mileageEditTitle}),t.jsx(Ct,{children:y.mileageSubTitle})]}),w!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(ke,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:w.name,textColor:$e(w.code)}):null]}),t.jsxs(bt,{children:[w!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(ke,{style:{width:"max-content"},tagTitle:w.name,textColor:$e(w.code)}):null,t.jsx(St,{})]})]}),t.jsxs(Tt,{children:[t.jsxs(Et,{children:[t.jsx(st,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:x?void 0:D.colors.background,color:C||x?void 0:D.colors.grey1},isFieldError:x,type:"number",autoFocus:!1,focus:te,name:T,defaultValue:c?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${y.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:I=>I!=null||r!=null,required:r==null},isDisabled:ne}),t.jsx(Vt,{children:C?t.jsx(rt,{label:y.save,"data-testid":Pe("save-mileage"),onClick:()=>{c?.mileageAmountInDenomination!=null&&W&&!x&&Z?.(c.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:F.fetchState==="In-Progress"}):t.jsx(Lt,{isDisabled:r,"data-testid":Pe("edit-mileage"),onClick:I=>{I.stopPropagation(),E(!0),U(!0),$.trackReimbursementMileageRateEdit()}})})]}),c?.description!=null?t.jsx(It,{size:l,hasError:x,children:x&&e?.defaultMileageUnitAmount!=null?y.yourMileage.replace("__defaultMileageUnitAmount__",(e.defaultMileageUnitAmount*100).toString()):c.description}):null]})]})]})]})}const ht=(e,p)=>`${e}.${p}`,xt=i.div`
1
+ import{e as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as Je,p as J,y as s,bA as Ze,A as Ye,ac as Ke,fq as ve,dN as Xe,fr as Qe,bv as et,dD as tt,aP as it,o as a,ft as nt,d as n,cg as ot,cP as at,cX as lt,fC as ke,fD as $e,gc as st,n as rt,aN as Pe,M as Ae,bK as dt,ai as ct,bs as ut}from"./index-l9FViNoO.js";import{a as o}from"./sentry-DWELwT5u.js";import{n as i}from"./mui-cKt0zt2w.js";import{bJ as mt}from"./zeni-epic-state-atBaoFS-.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-BJiBj5mg-Cktdlkx4.js";import"./liveblocks-BKCvXoiA.js";import"./core-B8o5Jj6O.js";import"./recharts-DKlDhqpA.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="8eea6315-2150-4a98-9b7a-d7530db43a28",e._sentryDebugIdIdentifier="sentry-dbid-8eea6315-2150-4a98-9b7a-d7530db43a28")}catch{}})();const gt=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},ge={title:new Ae("standardSemiBold","largeSemiBold"),infoLabel:new Ae("extraSmallRegular","smallRegular")};function ft({companyMileageConfigInfo:e,mileageDetails:p,analytics:$,style:j,sectionId:P,isActive:c=!0,isDisabled:r,onSaveMileageClick:Z}){const l=Ee(),D=Te(),{formState:{errors:Y},trigger:K}=at(),T=ht(P,"mileageAmountInDenomination"),x=lt(Y,T),{localData:d,updateStatus:F,mileageStatus:w}=p,W=e?.denominationConversions.amount==null||e.denominationConversions.amount!==d?.mileageAmountInDenomination,{commonSetUp:X,spendManagement:Q}=Ie.getLocalizedStrings(),{reimbursement:ee}=Q,[C,E]=o.useState(W),[te,U]=o.useState(!1);o.useEffect(()=>{x||K(T)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===d?.mileageAmountInDenomination&&E(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{C||U(C)},[C]);const{reimbursementSetup:y}=ee,{setUp:ie}=X,ne=C===!1||F.fetchState==="In-Progress"?"readonly":r,oe=d&&d?.denominationSymbol?`${d?.denominationSymbol} `:"",ae=d&&d?.mileageUnit?d?.mileageUnit:"";return t.jsxs(xt,{windowSize:l,style:j,isActive:c&&r==null,children:[t.jsxs(Pt,{windowSize:l,children:[y.mileageHeader,c===!1?t.jsx(Dt,{children:ie.comingSoon}):null]}),t.jsxs(kt,{windowSize:l,children:[t.jsx(vt,{windowSize:l,isDarkMode:D.mode==="dark",children:t.jsx(gt,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),t.jsxs(yt,{children:[t.jsxs($t,{children:[t.jsxs(At,{children:[t.jsxs(jt,{children:[t.jsx(wt,{windowSize:l,children:e?.denominationConversions.amount==null?y.mileageAddTitle:y.mileageEditTitle}),t.jsx(Ct,{children:y.mileageSubTitle})]}),w!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(ke,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:w.name,textColor:$e(w.code)}):null]}),t.jsxs(bt,{children:[w!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(ke,{style:{width:"max-content"},tagTitle:w.name,textColor:$e(w.code)}):null,t.jsx(St,{})]})]}),t.jsxs(Tt,{children:[t.jsxs(Et,{children:[t.jsx(st,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:x?void 0:D.colors.background,color:C||x?void 0:D.colors.grey1},isFieldError:x,type:"number",autoFocus:!1,focus:te,name:T,defaultValue:d?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${y.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:I=>I!=null||r!=null,required:r==null},isDisabled:ne}),t.jsx(Vt,{children:C?t.jsx(rt,{label:y.save,"data-testid":Pe("save-mileage"),onClick:()=>{d?.mileageAmountInDenomination!=null&&W&&!x&&Z?.(d.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:F.fetchState==="In-Progress"}):t.jsx(Lt,{isDisabled:r,"data-testid":Pe("edit-mileage"),onClick:I=>{I.stopPropagation(),E(!0),U(!0),$.trackReimbursementMileageRateEdit()}})})]}),d?.description!=null?t.jsx(It,{size:l,hasError:x,children:x&&e?.defaultMileageUnitAmount!=null?y.yourMileage.replace("__defaultMileageUnitAmount__",(e.defaultMileageUnitAmount*100).toString()):d.description}):null]})]})]})]})}const ht=(e,p)=>`${e}.${p}`,xt=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};
@@ -14,7 +14,7 @@ import{d as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as J
14
14
  `,wt=i.div`
15
15
  ${e=>`${ge.title.style(e.windowSize)}`};
16
16
  color: ${e=>e.isError===!0?J.important:e.theme.colors.primary};
17
- `,Ct=i(dt)`
17
+ `,Ct=i(ct)`
18
18
  display: flex;
19
19
  align-items: center;
20
20
  justify-content: flex-start;
@@ -68,7 +68,7 @@ import{d as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as J
68
68
  `,At=i.div`
69
69
  display: flex;
70
70
  flex-direction: column;
71
- `,jt=i.div``,Dt=i(ct)`
71
+ `,jt=i.div``,Dt=i(dt)`
72
72
  color: ${e=>e.theme.colors.comingSoon};
73
73
  margin-left: ${a.sp3};
74
74
  `,Tt=i.div`
@@ -103,13 +103,13 @@ import{d as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as J
103
103
  &:hover {
104
104
  color: ${e=>e.theme.colors.primary};
105
105
  }
106
- `,g={titleWidth:new s(343,580,726,826),setupDetailsRowGap:new s(12,n[5],n[5]),sectionRowGap:new s(n[5],n[9],n[9]),lastSectionPaddingBottom:new s(n[7],n[10],n[10]),iconWidthHeight:new s(20,n[4]),subTitlePaddingTop:new s(12,n[3]),subTitlePaddingBottom:new s(n[3],n[3]),overlayWidth:new s(100,100,59)},je="remiSetupPage",q="remiAccount",G="remiMileage",Xt=({remiSetupView:e,isDisabled:p,remiApprovalView:$,connectedAccountProvider:j,isAccountsEnabled:P,filesEndPoint:d,authParams:r,meetingUrl:Z,analytics:l,accountsPromoConfig:D,onBackClick:Y,onBusinessVerificationSectionClick:K,onSetupApprovalRulesSectionClick:T,onFetchLinkTokenClick:x,onEstablishConnectionClick:c,onEstablishConnectionSuccess:F,updateMileageDetails:w,onUpdateAccountClick:W,onUpdatePrimaryFundingAccount:X,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:C,onEnableRemiSuccess:E,onSaveMileageClick:te,onClickMenuIcon:U,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:I})=>{const H=Te(),u=Ee(),[B,V]=o.useState(!1),{fetchState:v,primaryFundingAccount:S,allFundingAccounts:fe,updateStatus:L,accountUpdateStatus:Ve,plaidConnectionDetails:le,allBankAccounts:Le,companyRemiInfo:ze,companyBillPayInfo:he,mileageRateConfig:Me,isRefreshingViewInBackground:Re,selectedCompanyOfficer:f}=e,{fetchState:xe,allApprovalRules:O,approvalRulesStatus:Fe}=$,se=le.link_account.updateStatus,re=le.update_account.updateStatus,_=N(v),ye=N(L.fetchState),be=N(se.fetchState),we=N(re.fetchState),z=qe({mode:"all",reValidateMode:"onChange",defaultValues:o.useMemo(()=>pe(e),[e]),values:pe(e)});o.useEffect(()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"&&V(!0),B&&_==="In-Progress"&&v==="Completed"&&V(!1)},[f,v,_]),o.useEffect(()=>{(_==="In-Progress"&&v==="Completed"||be==="In-Progress"&&se.fetchState==="Completed"||we==="In-Progress"&&re.fetchState==="Completed")&&z.reset(pe(e))},[_,v,z,e,be,se.fetchState,we,re.fetchState]);const We=z.handleSubmit(A=>{l.trackEnableReimbursement(),C()}),Ue=async(A,R)=>{const m=R[q];if(A.includes(q)){if(A.includes("fundingAccount")){if(m.fundingAccount.selectedOption!=null&&S?.id!=m.fundingAccount.selectedOption){const b=fe.find(me=>me.id===m.fundingAccount.selectedOption);b!=null&&X(m.fundingAccount.selectedOption,b.accType)}}else if(m.account.selectedOption!=null&&S?.id!=null&&S?.zeniAccountId!=m.account.selectedOption){const b=m.account.allOptions.find(me=>me.value===m.account.selectedOption);b!=null&&typeof b.label=="string"&&l.trackConnectBankLink(b.value,b.label,"reimbursement"),W(m.account.selectedOption,S.id,S.accType)}}else if(A.includes(G)){const b=R[G];w(b)}};o.useEffect(()=>{const A=z.watch((R,{name:m})=>{m!=null&&R!=null&&Ge(()=>Ue(m,R))});return()=>{A.unsubscribe()}}),o.useEffect(()=>{ye==="In-Progress"&&L.fetchState==="Completed"&&E()},[E,ye,L.fetchState]);const{commonSetUp:Ce,spendManagement:He}=Ie.getLocalizedStrings(),{reimbursement:Be}=He,{reimbursementSetup:M}=Be,{setUp:k}=Ce,ce=he?.isBusinessVerified===!0&&(S?.accType==="depositAccount"||mt(S?.providerVerificationStatus?.code??""))&&Me?.denominationConversions.amount!=null,de=ze?.isReimbursementEnabled===!0,Oe=ce?Ce.setUp.setupVerifiedSubTitle:M.setupSubTitle,_e=v==="In-Progress"||v==="Not-Started"||xe==="In-Progress"||xe==="Not-Started",ue=H.mode==="light"?new Se(H.colors.brandColorJadeLight):new Se(H.colors.brandColorJadeDark),Ne=()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"?V(!0):K?.()};return t.jsxs(zt,{children:[t.jsx(Je,{anchor:"right",PaperProps:{style:{width:g.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:B,onClose:()=>V(!1),style:{backgroundColor:J.drawerBackground},transitionDuration:250,children:t.jsx(pt,{authParams:r,filesEndPoint:d,updateStatus:L,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,companyOfficer:f,onClose:()=>V(!1),onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae})}),t.jsx(Ze,{title:M.setupTitle,backgroundColor:H.colors.grey4,style:{zIndex:3},onBackClick:Y,showMenuIcon:!de&&(u==="medium-compact"||u==="small"),onClickMenuIcon:U,source:"ReimbursementSetUpPage"}),t.jsxs(Rt,{windowSize:u,children:[t.jsx(Mt,{windowSize:u,children:Oe}),_e?t.jsx(Ft,{children:t.jsx(Ye,{size:"ExtraLarge",start:!0})}):t.jsx(Ke,{...z,children:t.jsx("form",{id:De(je),onSubmit:We,children:t.jsxs(Wt,{windowSize:u,children:[t.jsx(ve,{onClick:Ne,title:k.businessVerificationTitle,subTitle:k.businessVerificationSubTitle,header:k.businessVerificationHeader,icon:{element:t.jsx(Xe,{width:g.iconWidthHeight.valuePx(u),height:g.iconWidthHeight.valuePx(u)}),color:ue},status:he?.businessVerificationStatus,isTagLoading:Re}),t.jsx(Qe,{connectedAccountProvider:j,primaryFundingAccount:S,plaidConnectionDetails:le,allBankAccounts:Le,allFundingAccounts:fe,sectionId:q,isDisabled:p,onFetchLinkTokenClick:x,onEstablishConnectionClick:c,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:F,icon:{element:t.jsx(et,{width:g.iconWidthHeight.valuePx(u)}),color:ue},analytics:l,productType:"reimbursement",isAccountsEnabled:P,onSignUpClick:I,pageName:"Reimbursement Setup",accountsPromoConfig:D}),t.jsx(ft,{mileageDetails:e.mileageDetails,companyMileageConfigInfo:e.mileageRateConfig,sectionId:G,onSaveMileageClick:te,analytics:l}),t.jsx(ve,{title:O.length>0?k.approvalTitle:k.createApprovalTitle,subTitle:M.approvalSubTitle,header:O.length>0?k.approvalHeader:k.setupApprovalHeader,icon:{element:t.jsx(tt,{height:g.iconWidthHeight.valuePx(u)}),color:ue},style:{paddingBottom:g.lastSectionPaddingBottom.valuePx(u)},onClick:T,status:O.length>0?Fe:void 0})]})})})]}),ce&&!de&&O.length>0?t.jsx(it,{formId:De(je),primaryBtn:{label:M.enableReimbursements,style:{width:"auto",minWidth:u==="small"?"auto":"181px"},isLoading:L.fetchState==="In-Progress"||Ve.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:M.terms,cancelBtn:{label:""},style:{padding:`12px ${a.sp3}`}}):null,t.jsx(nt,{isFooterRendered:ce&&!de,meetingUrl:Z,analytics:l,productType:"reimbursement"})]})},zt=i.div`
106
+ `,g={titleWidth:new s(343,580,726,826),setupDetailsRowGap:new s(12,n[5],n[5]),sectionRowGap:new s(n[5],n[9],n[9]),lastSectionPaddingBottom:new s(n[7],n[10],n[10]),iconWidthHeight:new s(20,n[4]),subTitlePaddingTop:new s(12,n[3]),subTitlePaddingBottom:new s(n[3],n[3]),overlayWidth:new s(100,100,59)},je="remiSetupPage",q="remiAccount",G="remiMileage",Xt=({remiSetupView:e,isDisabled:p,remiApprovalView:$,connectedAccountProvider:j,isAccountsEnabled:P,filesEndPoint:c,authParams:r,meetingUrl:Z,analytics:l,accountsPromoConfig:D,onBackClick:Y,onBusinessVerificationSectionClick:K,onSetupApprovalRulesSectionClick:T,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onEstablishConnectionSuccess:F,updateMileageDetails:w,onUpdateAccountClick:W,onUpdatePrimaryFundingAccount:X,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:C,onEnableRemiSuccess:E,onSaveMileageClick:te,onClickMenuIcon:U,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:I})=>{const H=Te(),u=Ee(),[B,V]=o.useState(!1),{fetchState:v,primaryFundingAccount:S,allFundingAccounts:fe,updateStatus:L,accountUpdateStatus:Ve,plaidConnectionDetails:le,allBankAccounts:Le,companyRemiInfo:Me,companyBillPayInfo:he,mileageRateConfig:ze,isRefreshingViewInBackground:Re,selectedCompanyOfficer:f}=e,{fetchState:xe,allApprovalRules:O,approvalRulesStatus:Fe}=$,se=le.link_account.updateStatus,re=le.update_account.updateStatus,_=N(v),ye=N(L.fetchState),be=N(se.fetchState),we=N(re.fetchState),M=qe({mode:"all",reValidateMode:"onChange",defaultValues:o.useMemo(()=>pe(e),[e]),values:pe(e)});o.useEffect(()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"&&V(!0),B&&_==="In-Progress"&&v==="Completed"&&V(!1)},[f,v,_]),o.useEffect(()=>{(_==="In-Progress"&&v==="Completed"||be==="In-Progress"&&se.fetchState==="Completed"||we==="In-Progress"&&re.fetchState==="Completed")&&M.reset(pe(e))},[_,v,M,e,be,se.fetchState,we,re.fetchState]);const We=M.handleSubmit(A=>{l.trackEnableReimbursement(),C()}),Ue=async(A,R)=>{const m=R[q];if(A.includes(q)){if(A.includes("fundingAccount")){if(m.fundingAccount.selectedOption!=null&&S?.id!=m.fundingAccount.selectedOption){const b=fe.find(me=>me.id===m.fundingAccount.selectedOption);b!=null&&X(m.fundingAccount.selectedOption,b.accType)}}else if(m.account.selectedOption!=null&&S?.id!=null&&S?.zeniAccountId!=m.account.selectedOption){const b=m.account.allOptions.find(me=>me.value===m.account.selectedOption);b!=null&&typeof b.label=="string"&&l.trackConnectBankLink(b.value,b.label,"reimbursement"),W(m.account.selectedOption,S.id,S.accType)}}else if(A.includes(G)){const b=R[G];w(b)}};o.useEffect(()=>{const A=M.watch((R,{name:m})=>{m!=null&&R!=null&&Ge(()=>Ue(m,R))});return()=>{A.unsubscribe()}}),o.useEffect(()=>{ye==="In-Progress"&&L.fetchState==="Completed"&&E()},[E,ye,L.fetchState]);const{commonSetUp:Ce,spendManagement:He}=Ie.getLocalizedStrings(),{reimbursement:Be}=He,{reimbursementSetup:z}=Be,{setUp:k}=Ce,de=he?.isBusinessVerified===!0&&(S?.accType==="depositAccount"||mt(S?.providerVerificationStatus?.code??""))&&ze?.denominationConversions.amount!=null,ce=Me?.isReimbursementEnabled===!0,Oe=de?Ce.setUp.setupVerifiedSubTitle:z.setupSubTitle,_e=v==="In-Progress"||v==="Not-Started"||xe==="In-Progress"||xe==="Not-Started",ue=H.mode==="light"?new Se(H.colors.brandColorJadeLight):new Se(H.colors.brandColorJadeDark),Ne=()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"?V(!0):K?.()};return t.jsxs(Mt,{children:[t.jsx(Je,{anchor:"right",PaperProps:{style:{width:g.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:B,onClose:()=>V(!1),style:{backgroundColor:J.drawerBackground},transitionDuration:250,children:t.jsx(pt,{authParams:r,filesEndPoint:c,updateStatus:L,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,companyOfficer:f,onClose:()=>V(!1),onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae})}),t.jsx(Ze,{title:z.setupTitle,backgroundColor:H.colors.grey4,style:{zIndex:3},onBackClick:Y,showMenuIcon:!ce&&(u==="medium-compact"||u==="small"),onClickMenuIcon:U,source:"ReimbursementSetUpPage"}),t.jsxs(Rt,{windowSize:u,children:[t.jsx(zt,{windowSize:u,children:Oe}),_e?t.jsx(Ft,{children:t.jsx(Ye,{size:"ExtraLarge",start:!0})}):t.jsx(Ke,{...M,children:t.jsx("form",{id:De(je),onSubmit:We,children:t.jsxs(Wt,{windowSize:u,children:[t.jsx(ve,{onClick:Ne,title:k.businessVerificationTitle,subTitle:k.businessVerificationSubTitle,header:k.businessVerificationHeader,icon:{element:t.jsx(Xe,{width:g.iconWidthHeight.valuePx(u),height:g.iconWidthHeight.valuePx(u)}),color:ue},status:he?.businessVerificationStatus,isTagLoading:Re}),t.jsx(Qe,{connectedAccountProvider:j,primaryFundingAccount:S,plaidConnectionDetails:le,allBankAccounts:Le,allFundingAccounts:fe,sectionId:q,isDisabled:p,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:F,icon:{element:t.jsx(et,{width:g.iconWidthHeight.valuePx(u)}),color:ue},analytics:l,productType:"reimbursement",isAccountsEnabled:P,onSignUpClick:I,pageName:"Reimbursement Setup",accountsPromoConfig:D}),t.jsx(ft,{mileageDetails:e.mileageDetails,companyMileageConfigInfo:e.mileageRateConfig,sectionId:G,onSaveMileageClick:te,analytics:l}),t.jsx(ve,{title:O.length>0?k.approvalTitle:k.createApprovalTitle,subTitle:z.approvalSubTitle,header:O.length>0?k.approvalHeader:k.setupApprovalHeader,icon:{element:t.jsx(tt,{height:g.iconWidthHeight.valuePx(u)}),color:ue},style:{paddingBottom:g.lastSectionPaddingBottom.valuePx(u)},onClick:T,status:O.length>0?Fe:void 0})]})})})]}),de&&!ce&&O.length>0?t.jsx(it,{formId:De(je),primaryBtn:{label:z.enableReimbursements,style:{width:"auto",minWidth:u==="small"?"auto":"181px"},isLoading:L.fetchState==="In-Progress"||Ve.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:z.terms,cancelBtn:{label:""},style:{padding:`12px ${a.sp3}`}}):null,t.jsx(nt,{isFooterRendered:de&&!ce,meetingUrl:Z,analytics:l,productType:"reimbursement"})]})},Mt=i.div`
107
107
  display: flex;
108
108
  min-height: 100%;
109
109
  flex-direction: column;
110
110
  width: 100%;
111
111
  background-color: ${e=>e.theme.colors.grey4};
112
- `,Mt=i(ot)`
112
+ `,zt=i(ot)`
113
113
  color: ${e=>e.theme.colors.hero};
114
114
  display: flex;
115
115
  justify-content: center;
@@ -137,4 +137,4 @@ import{d as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as J
137
137
  display: flex;
138
138
  flex-direction: column;
139
139
  row-gap: ${e=>g.sectionRowGap.valuePx(e.windowSize)};
140
- `,pe=e=>{const{allBankAccounts:p,allFundingAccounts:$,mileageDetails:j,primaryFundingAccount:P}=e,{localData:d}=j;return{[q]:{fundingAccount:{selectedOption:P?.id,allOptions:$.map(r=>({label:r.label,value:r.id,isRecommended:r.accType==="depositAccount"}))},account:{selectedOption:P?.zeniAccountId,allOptions:p.map(r=>({label:r.accountName,value:r.accountId}))}},[G]:{mileageAmount:d?.mileageUnitAmount?.amount,mileageCurrencyCode:d?.mileageCurrencyCode??"USD",mileageCurrencySymbol:d?.mileageCurrencySymbol??"$",mileageUnit:d?.mileageUnit??"",description:d?.description??"",mileageAmountInDenomination:d?.mileageAmountInDenomination,denomination:d?.denomination??"dollars",denominationSymbol:d?.denominationSymbol??""}}},De=e=>`${e}_form`;export{Xt as default,De as uniqueName};
140
+ `,pe=e=>{const{allBankAccounts:p,allFundingAccounts:$,mileageDetails:j,primaryFundingAccount:P}=e,{localData:c}=j;return{[q]:{fundingAccount:{selectedOption:P?.id,allOptions:$.map(r=>({label:r.label,value:r.id,isRecommended:r.accType==="depositAccount"}))},account:{selectedOption:P?.zeniAccountId,allOptions:p.map(r=>({label:r.accountName,value:r.accountId}))}},[G]:{mileageAmount:c?.mileageUnitAmount?.amount,mileageCurrencyCode:c?.mileageCurrencyCode??"USD",mileageCurrencySymbol:c?.mileageCurrencySymbol??"$",mileageUnit:c?.mileageUnit??"",description:c?.description??"",mileageAmountInDenomination:c?.mileageAmountInDenomination,denomination:c?.denomination??"dollars",denominationSymbol:c?.denominationSymbol??""}}},De=e=>`${e}_form`;export{Xt as default,De as uniqueName};
@@ -1 +1 @@
1
- import{V as f,cn as V,co as M,cp as W,k6 as q,aW as z,F as G}from"./index-Cb-eu--2.js";import{a as b}from"./sentry-agJ08X3c.js";import{Ge as K}from"./zeni-epic-state-CwvuK4v8.js";import{u as Q}from"./ReviewOverlay-DqOXHkMM-jRakJ6IM.js";import"./liveblocks-Bz_57PUs.js";import"./core-DRgi22QZ.js";import"./recharts-NgHQTHYn.js";import"./mui-CvhriUJf.js";import"./lottie-D9rmsbLV.js";import"./analytics-D1LdKGXu.js";import"./lexical-ewc-g90D.js";import"./utils-D6Foy4XN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="33887754-7866-4a6d-9bcc-f883dca2448c",e._sentryDebugIdIdentifier="sentry-dbid-33887754-7866-4a6d-9bcc-f883dca2448c")}catch{}})();const{common:a,spendManagement:{reimbursement:k}}=G.getLocalizedStrings(),s=k.bulkActions;let j;const ce=({remisReviewView:e,isAdmin:o,analytics:i,onProceedForBulkActionClick:u,onCloseReviewItem:r,onCloseOverlay:n})=>{const{fetchState:p,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:y,currentSubTab:g}=e,v=!1,[x,l]=b.useState(!1),[d,_]=b.useState(P(e,v,o)),[h,R]=b.useState(v),[B,H]=b.useState(0),[w,A]=b.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});b.useEffect(()=>(B===d.length&&h&&(R(!1),clearInterval(j)),e.fetchState==="Completed"&&_(P(e,!1,o)),()=>{clearInterval(j)}),[d.length,B,h,e.fetchState,v,e,o]);const D=d.length,S=d.filter(m=>m.reviewStatus.code!=="error").length,F=()=>{const{title:m,description:C}=X(S);A({type:"reject",title:m,description:C,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),i.trackReimbursementBulkSubmit(t,y,g),l(!0)},E={onOkClick:m=>{l(!1);const C=e.remisForReview.map(I=>I.reimbursement);i.trackReimbursementBulkPopupConfirm(t,y,g,K(C.map(I=>I?.reimbursementTypesIncluded??[]))),u("reject",m)},onCancelClick:()=>{l(!1)}},{title:$,description:L}=Z(p,S,D,h),T=e.fetchState==="Completed"&&S===0,U=()=>{i.trackReimbursementBulkSubmit(t,y,g),u(t)},N=()=>{let m=a.footer.approve;return T?m=a.texts.close:t==="send_for_approval"&&(m=a.footer.submit),{label:m,isDisabled:p!=="Completed"||t==="reject"&&c==="In-Progress",isLoading:c==="In-Progress"&&(t==="send_for_approval"||t==="approve"),onClick:T?n:U,style:t==="send_for_approval"?{minWidth:"92px"}:{}}},O={label:t==="send_for_approval"?a.texts.goBack:a.footer.reject,isDisabled:t!=="reject"&&c==="In-Progress",isLoading:t==="reject"&&c==="In-Progress",reverseSpinnerColor:!1,onClick:t==="send_for_approval"?n:F,style:t==="approve"?{minWidth:"92px"}:{}};return f.jsxs(f.Fragment,{children:[x?f.jsx(V,{titleComponent:f.jsx(W,{children:w.title}),descriptionComponent:f.jsx(M,{children:w.description}),primaryButtonText:w.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:w.secondaryButtonText,action:E,isNotesIncluded:!0,isEditPopup:!0}):null,f.jsx(Q,{title:$,description:{content:L,isError:e.fetchState==="Completed"&&S===0},reviewItems:d,onCloseReviewItem:r,onCloseOverlay:n,showFooter:e.fetchState==="Completed"&&!h,footerProps:{primaryButton:N(),cancelButton:O,hideCancel:T}})]})},P=(e,o,i)=>{const u=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const n=q(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:k.reimbursementDetail.newReimbursementTitle,subTitle:n!=null?`${a.by} ${n?.firstName} ${n?.lastName}`:a.strings.empty},rightSideText:{title:z("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:u,code:r.reviewStatus??""}}})},X=e=>{const{this_:o,these:i,report:u,reports:r,payment:n,payments:p}=a.texts;return e>1?{title:s.popUps.reject.title.replace("__report__",s.reports),description:s.popUps.reject.description.replaceAll("<_this_>",i).replaceAll("<_payment_>",p).replaceAll("__report__",r)}:{title:s.popUps.reject.title.replace("__report__",s.report),description:s.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",n).replaceAll("__report__",u)}},Z=(e,o,i,u)=>{const{has:r,have:n,report:p,reports:c,are:t,is:y,do_:g,does:v}=a.texts,x=o>1,l=i>1;let d="",_="";return e==="Completed"&&!u?(d=s.reviewPage.reportsReviewed.title.replace("__report__",l?k.bulkActions.reports:s.report).replace("<_has_>",l?n:r),o===0?_=s.reviewPage.reportsReviewed.descriptionError.replace("__report__",l?c:p).replace("<_do_>",l?g:v):_=`${o}/${i} ${s.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:p).replace("<_is_>",x?t:y)}`):(d=s.reviewPage.reportsReviewing.title.replace("__report__",l?c:p),_=s.reviewPage.reportsReviewing.description.replace("__report__",l?c:p)),{title:d,description:_}};export{ce as default};
1
+ import{V as b,cn as V,co as M,cp as W,k4 as q,aW as z,F as G}from"./index-l9FViNoO.js";import{a as f}from"./sentry-DWELwT5u.js";import{Ge as K}from"./zeni-epic-state-atBaoFS-.js";import{u as Q}from"./ReviewOverlay-DNjbv6Ir-BYUbQDSw.js";import"./liveblocks-BKCvXoiA.js";import"./core-B8o5Jj6O.js";import"./recharts-DKlDhqpA.js";import"./mui-cKt0zt2w.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="a996b700-6b33-448c-bd22-03b91a03f929",e._sentryDebugIdIdentifier="sentry-dbid-a996b700-6b33-448c-bd22-03b91a03f929")}catch{}})();const{common:a,spendManagement:{reimbursement:k}}=G.getLocalizedStrings(),s=k.bulkActions;let j;const ce=({remisReviewView:e,isAdmin:o,analytics:i,onProceedForBulkActionClick:u,onCloseReviewItem:r,onCloseOverlay:n})=>{const{fetchState:p,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:y,currentSubTab:g}=e,v=!1,[x,l]=f.useState(!1),[m,_]=f.useState(P(e,v,o)),[h,R]=f.useState(v),[B,H]=f.useState(0),[w,A]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(B===m.length&&h&&(R(!1),clearInterval(j)),e.fetchState==="Completed"&&_(P(e,!1,o)),()=>{clearInterval(j)}),[m.length,B,h,e.fetchState,v,e,o]);const D=m.length,S=m.filter(d=>d.reviewStatus.code!=="error").length,F=()=>{const{title:d,description:C}=X(S);A({type:"reject",title:d,description:C,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),i.trackReimbursementBulkSubmit(t,y,g),l(!0)},E={onOkClick:d=>{l(!1);const C=e.remisForReview.map(I=>I.reimbursement);i.trackReimbursementBulkPopupConfirm(t,y,g,K(C.map(I=>I?.reimbursementTypesIncluded??[]))),u("reject",d)},onCancelClick:()=>{l(!1)}},{title:$,description:L}=Z(p,S,D,h),T=e.fetchState==="Completed"&&S===0,U=()=>{i.trackReimbursementBulkSubmit(t,y,g),u(t)},N=()=>{let d=a.footer.approve;return T?d=a.texts.close:t==="send_for_approval"&&(d=a.footer.submit),{label:d,isDisabled:p!=="Completed"||t==="reject"&&c==="In-Progress",isLoading:c==="In-Progress"&&(t==="send_for_approval"||t==="approve"),onClick:T?n:U,style:t==="send_for_approval"?{minWidth:"92px"}:{}}},O={label:t==="send_for_approval"?a.texts.goBack:a.footer.reject,isDisabled:t!=="reject"&&c==="In-Progress",isLoading:t==="reject"&&c==="In-Progress",reverseSpinnerColor:!1,onClick:t==="send_for_approval"?n:F,style:t==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[x?b.jsx(V,{titleComponent:b.jsx(W,{children:w.title}),descriptionComponent:b.jsx(M,{children:w.description}),primaryButtonText:w.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:w.secondaryButtonText,action:E,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(Q,{title:$,description:{content:L,isError:e.fetchState==="Completed"&&S===0},reviewItems:m,onCloseReviewItem:r,onCloseOverlay:n,showFooter:e.fetchState==="Completed"&&!h,footerProps:{primaryButton:N(),cancelButton:O,hideCancel:T}})]})},P=(e,o,i)=>{const u=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const n=q(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:k.reimbursementDetail.newReimbursementTitle,subTitle:n!=null?`${a.by} ${n?.firstName} ${n?.lastName}`:a.strings.empty},rightSideText:{title:z("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:u,code:r.reviewStatus??""}}})},X=e=>{const{this_:o,these:i,report:u,reports:r,payment:n,payments:p}=a.texts;return e>1?{title:s.popUps.reject.title.replace("__report__",s.reports),description:s.popUps.reject.description.replaceAll("<_this_>",i).replaceAll("<_payment_>",p).replaceAll("__report__",r)}:{title:s.popUps.reject.title.replace("__report__",s.report),description:s.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",n).replaceAll("__report__",u)}},Z=(e,o,i,u)=>{const{has:r,have:n,report:p,reports:c,are:t,is:y,do_:g,does:v}=a.texts,x=o>1,l=i>1;let m="",_="";return e==="Completed"&&!u?(m=s.reviewPage.reportsReviewed.title.replace("__report__",l?k.bulkActions.reports:s.report).replace("<_has_>",l?n:r),o===0?_=s.reviewPage.reportsReviewed.descriptionError.replace("__report__",l?c:p).replace("<_do_>",l?g:v):_=`${o}/${i} ${s.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:p).replace("<_is_>",x?t:y)}`):(m=s.reviewPage.reportsReviewing.title.replace("__report__",l?c:p),_=s.reviewPage.reportsReviewing.description.replace("__report__",l?c:p)),{title:m,description:_}};export{ce as default};
@@ -1,8 +1,8 @@
1
- import{d as l,V as r,aK as a,b1 as x,F as y,aN as m,aQ as h,bC as g,ai as f,o as c,b2 as b}from"./index-Cb-eu--2.js";import{n as d}from"./mui-CvhriUJf.js";import{a as s}from"./sentry-agJ08X3c.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="abcbfcc8-e8b5-453d-8f47-21f2802d0004",e._sentryDebugIdIdentifier="sentry-dbid-abcbfcc8-e8b5-453d-8f47-21f2802d0004")}catch{}})();function w({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(g,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:`${n-128}`,height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:`${n-48}`,height:"228"})]})}function p({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(g,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const u=d(h)`
1
+ import{e as l,V as r,aK as a,b1 as x,F as y,aN as m,aQ as h,bC as g,ai as u,o as c,b2 as w}from"./index-l9FViNoO.js";import{n as s}from"./mui-cKt0zt2w.js";import{a as d}from"./sentry-DWELwT5u.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="8a643595-d2ef-478e-ae37-ef6c11212759",e._sentryDebugIdIdentifier="sentry-dbid-8a643595-d2ef-478e-ae37-ef6c11212759")}catch{}})();function p({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(g,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:`${n-128}`,height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:`${n-48}`,height:"228"})]})}function j({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(g,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const f=s(h)`
2
2
  justify-content: flex-start;
3
- `;function D({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(u,{children:r.jsx(p,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function T({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(u,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(b,{children:({height:n,width:i})=>r.jsx(w,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const j=e=>s.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),s.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M34.5307 44.8163C32.6902 44.8163 30.8909 44.2705 29.3605 43.248C27.8301 42.2254 26.6374 40.772 25.933 39.0715C25.2286 37.3711 25.0443 35.4999 25.4034 33.6947C25.7625 31.8895 26.6488 30.2313 27.9503 28.9298C29.2518 27.6283 30.91 26.742 32.7152 26.3829C34.5204 26.0238 36.3916 26.2081 38.092 26.9125C39.7925 27.6169 41.2459 28.8096 42.2685 30.34C43.291 31.8704 43.8369 33.6697 43.8369 35.5102V36.9737",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),C=d(h)`
3
+ `;function D({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(f,{children:r.jsx(j,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function T({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(f,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(w,{children:({height:n,width:i})=>r.jsx(p,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const C=e=>d.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),d.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M34.5307 44.8163C32.6902 44.8163 30.8909 44.2705 29.3605 43.248C27.8301 42.2254 26.6374 40.772 25.933 39.0715C25.2286 37.3711 25.0443 35.4999 25.4034 33.6947C25.7625 31.8895 26.6488 30.2313 27.9503 28.9298C29.2518 27.6283 30.91 26.742 32.7152 26.3829C34.5204 26.0238 36.3916 26.2081 38.092 26.9125C39.7925 27.6169 41.2459 28.8096 42.2685 30.34C43.291 31.8704 43.8369 33.6697 43.8369 35.5102V36.9737",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),b=s(h)`
4
4
  justify-content: space-between;
5
- `,k=d.div`
5
+ `,k=s.div`
6
6
  height: ${c.sp10};
7
7
  width: ${c.sp10};
8
8
  background: ${e=>e.theme.colors.background};
@@ -19,8 +19,8 @@ import{d as l,V as r,aK as a,b1 as x,F as y,aN as m,aQ as h,bC as g,ai as f,o as
19
19
  color: ${e=>e.theme.colors.primary};
20
20
  }
21
21
  }
22
- `,$=d(f)`
22
+ `,$=s(u)`
23
23
  color: ${e=>e.theme.colors.champion};
24
- `,v=d(f)`
24
+ `,v=s(u)`
25
25
  color: ${e=>e.theme.colors.hero};
26
- `,B=d(j)``;function V({dimension:e,cardType:o,cardIndex:t,reportTitle:n,onReloadData:i}){return r.jsx(a,{"data-testid":m("dashboard-reload",o),dimension:e,onClick:()=>i(t,o),children:r.jsxs(C,{children:[r.jsxs($,{children:[n??x(o)," "]}),r.jsx(k,{children:r.jsx(B,{})}),r.jsx(v,{children:y.getLocalizedStrings().card.failedText})]})})}export{V as A,D as E,T as z};
26
+ `,B=s(C)``;function V({dimension:e,cardType:o,cardIndex:t,reportTitle:n,onReloadData:i}){return r.jsx(a,{"data-testid":m("dashboard-reload",o),dimension:e,onClick:()=>i(t,o),children:r.jsxs(b,{children:[r.jsxs($,{children:[n??x(o)," "]}),r.jsx(k,{children:r.jsx(B,{})}),r.jsx(v,{children:y.getLocalizedStrings().card.failedText})]})})}export{V as A,D as E,T as z};