@zeniai/web-app-ui 4.14.31-qa → 4.14.32-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 (375) hide show
  1. package/dist/assets/{ACHDetailsPage-CFhoboVe-DcRe2nTt.js → ACHDetailsPage-BO7lxW8c-CaH7vfBB.js} +2 -2
  2. package/dist/assets/{AIPerformancePage-DB-fTWME-DYZeuOnD.js → AIPerformancePage-SF-quMkk-CZFFBw1a.js} +1 -1
  3. package/dist/assets/AccountInfoPage-v8-NT3FJ-Bw3uGZG4.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-eYEsv7ac-DDYvpmDy.js → AccountInfoPageContent-DIWh6VaI-HqDSQPfy.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-jYWr_8TD-DcOOzUkE.js → AccountLockedInfoModal-DloPB9vd-BSxEQO_S.js} +6 -6
  6. package/dist/assets/{AccountReconDetailsDrawerPage-3Q0EPYhL-27wJMTjD.js → AccountReconDetailsDrawerPage-BAgQsFiF-CyK6H2le.js} +4 -4
  7. package/dist/assets/{AccountRow-CdgvnPG8-BR1hQ4Zy.js → AccountRow-Dczx5rSu-CwZA98Uy.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-DHo59LLN-ChbxyMzd.js → AccountsPromoCardStack-Ywhto4lV-cevnOXMT.js} +11 -11
  9. package/dist/assets/{AddAddressForCardDrawer-BzO1FXUa-kLdLeGkd.js → AddAddressForCardDrawer-B8srmVT6-DsXtVyAN.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BfXFbHjk-CYPGe181.js → AddToWalletPage-k__RW699-BSoFKwS5.js} +1 -1
  11. package/dist/assets/{AddressRoutes-XcDMlDlS.js → AddressRoutes-Bnm4H7bD.js} +1 -1
  12. package/dist/assets/{AddressScreen-DPPx0MfK.js → AddressScreen-INYb_JGl.js} +2 -2
  13. package/dist/assets/{AgingReportsPage-C1hFq4KH-DN--gN3O.js → AgingReportsPage-BuIXjljE-DwSwkj0s.js} +5 -5
  14. package/dist/assets/{AiCfoScreen-30SW2q3w.js → AiCfoScreen-Dg31g97F.js} +1 -1
  15. package/dist/assets/{AllUserItems-B6pnKByY-DyP7v-cA.js → AllUserItems-BdgTe4WF-H7QxO-h-.js} +7 -7
  16. package/dist/assets/ApAgingDetailPage-6F47t31h-BJY-Gjjh.js +46 -0
  17. package/dist/assets/{AppBasePage-DiVxF606-AXI0aqhJ.js → AppBasePage-DaTueT-x-Db3mer79.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-B_EWsf8O-CMysKcTU.js → AppDrawerContent-CtCI6jpp-B-tHPrrL.js} +3 -3
  19. package/dist/assets/{ApprovalRulesSettingsPage-HHjDp_NQ-jrLhlHCF.js → ApprovalRulesSettingsPage-BVxu4soW-Nu7LfFuU.js} +1 -1
  20. package/dist/assets/{ArAgingChart-Ba4A-i2N-PODxdvyn.js → ArAgingChart-BK-JyW2V-CpKqA7Z3.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-prgcvsS4-BsTAVwTa.js → ArAgingDetailPage-CvqLu3q8-DFRtVqyv.js} +3 -3
  22. package/dist/assets/{AttachmentView-SsWJw4A8-RJr9hQhO.js → AttachmentView-DQdb3v_e-BgOMzST7.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-DE6gDjGA-e_65zoZY.js → BalancesInsightWithToolTip-D4q45w1q-CBufZlsy.js} +4 -4
  24. package/dist/assets/{BankAccountSection-B4jmT0lb-zwPodZbw.js → BankAccountSection-DgbfU8F--DERufWYy.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-Bz2itMx0-BfZtVATK.js → BankAccountWarningSection-litL0o_Z-YNoMxnsQ.js} +11 -11
  26. package/dist/assets/{BankConnectionsSettingsPage-BcVk7bTt-C3Wp_iZl.js → BankConnectionsSettingsPage-bAj9uB9k-D373ilzg.js} +1 -1
  27. package/dist/assets/{BillDetailPage-Dkqmi4H1-C6mDNSc2.js → BillDetailPage-CiHal44n-DIfTrfpQ.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-CaSA1uSR.js → BillPayApprovalRoutes-BILiu13g.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-CRBli7lk-Cp1ol6-S.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-B_QwggJS-BveqhBul.js → BillPayApprovalRulesPage-BTOmSLcs-D3SM4r7K.js} +7 -7
  31. package/dist/assets/{BillPayPromoPage-Bx2AXpWe-BrIbmhut.js → BillPayPromoPage-B5gkQjT2-D9lr-mmz.js} +9 -9
  32. package/dist/assets/{BillPayRoutes-CMdKHc5T.js → BillPayRoutes-BIHt-HL2.js} +7 -7
  33. package/dist/assets/{BillPaySetUpPage-CM7_DkHC-Bt5CjJNs.js → BillPaySetUpPage-DM3r09by-BlBEwtA1.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-DM0OIfxa-CKHUmPAw.js → BillingSettingsPage-CiTKyJeG-BkRQgSD8.js} +2 -2
  35. package/dist/assets/{BillsBulkReviewDrawerPage-C3xmQ7wz-Cf_j4N1J.js → BillsBulkReviewDrawerPage-B6ofRDkg-B-xdke4y.js} +1 -1
  36. package/dist/assets/{BoxItem-CvCo0wr6-BAtsmvg4.js → BoxItem-C39hQSVg-B9WMvkwI.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-BAZmkR4a-BbYTLnZH.js → BusinessVerificationPage-BiWEnJET-BPuB56i7.js} +2 -2
  38. package/dist/assets/{BusinessVerificationPageScreen-DVGxc_kT.js → BusinessVerificationPageScreen-C9kI0BR_.js} +2 -2
  39. package/dist/assets/{BusyIndication-Cp8KWKB2-paVspSd6.js → BusyIndication-DmApVsF7-DQl3VYqH.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-DHtSIcZZ-CJNkVpEB.js → CardNumberSubText-FNfrozX6-tv8Brnnn.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-CNS1FA6b-DNPbsy8R.js → CashbackDetailPage-DaLICa_v-BHzYFFJ0.js} +7 -7
  42. package/dist/assets/{ChargeCardDetailPage-C4NeG7IM-Bqzrs3Tx.js → ChargeCardDetailPage-B0Aq7zO5-40fQ7jsk.js} +28 -28
  43. package/dist/assets/{ChargeCardListPage-DNYiWaEf-D4WPR4qJ.js → ChargeCardListPage-CfRto2rQ-ClyjE_iT.js} +16 -16
  44. package/dist/assets/{ChargeCardListTable-DdnyzdFf-BLIVQeNK.js → ChargeCardListTable-DMdC4lxo-KnHyTkme.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-CXlqzaUt-nlgSDdhG.js → ChargeCardPaymentHistoryPage-BYTmtF_y-i9mylyuZ.js} +1 -1
  46. package/dist/assets/ChargeCardPromoPage-AI5bladj-BDPOfxSx.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-DipRg107.js → ChargeCardRoutes-CUAUmOPf.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-BtikPFOq-Ci06zFqY.js → ChargeCardSetupPage-BjhqdubL-u9TM5_mu.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-RepWBbvJ-qZhzfjJs.js → ChargeCardStatementsPage-DCM92s6v-CAUZgBlq.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-BCqg3irO-CU861UMl.js → CheckDepositDrawerPage-CkIxEqHU-B7qz4vrp.js} +1 -1
  51. package/dist/assets/{CollapsableReportTable-gy7Ue_fk-Cp0GdxMJ.js → CollapsableReportTable-ClHwXtCj-BfwfqIOK.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-BsCx7q-g-Bqu05vNe.js → CompanyOfficerDetailsSection-BY8hFQnp-DJfNkZb4.js} +16 -16
  53. package/dist/assets/{CompanyPassportCard-BbUWOs1U-CQapOMzG.js → CompanyPassportCard-B3rZE3pg-CtuQmTD5.js} +2 -2
  54. package/dist/assets/{CompanyPassportPage-BnP2oA1U-DG-ray3n.js → CompanyPassportPage-4FXVf3EP-DhUTHw6y.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-Bsk4iSLd.js → CompanyPassportScreen-m_gXhHG_.js} +1 -1
  56. package/dist/assets/{CompleteProfile-TiRsm2Fm-Dmw9B9gd.js → CompleteProfile-B1BoilWd-LUJNszjE.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-D7J36hZf-DAmXS8qh.js → ConfettiBurst-CsbAGF65-C9KfsdE7.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CdbJnza-.js → ConnectionAuthScreen-Zn6jvlmq.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CpoLys2G.js → ConstrainedInnerElement-CgdnMeoA-Dc3P_0OR.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-Dihzr1D5-Df0a--du.js → CreateOrEditVendorPage-C50eYOFo-D8POwrMQ.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-CZGzDuxC-CG7xBUFZ.js → CreditCardPaymentDrawerPage-Dxz_SY7N-D8up_BJ4.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-BTAmIqPa-BOvsicp3.js → CurrencySelectField-D2Ogwvbr-B4ftuyL3.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-MVI7kqIh-B52EVUog.js → CustomerOnboardingActivationPage-5Sh7hmI9-DpPsiuW1.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-BhtVN8fo.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-DpOBarI8.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CaI_0pCb-Dx2c__Yb.js → CustomerOnboardingDetailPageSkeleton-CL-mOSUp-Crb7CsXj.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-CO_c2COV-CcNi7DUF.js → CustomerOnboardingNoStepsPage-CyL1AK78-Dsu24NnA.js} +9 -9
  68. package/dist/assets/{CustomerOnboardingPage-BF0vuYaJ-CpeT13Rn.js → CustomerOnboardingPage-C8nxJPwo-UENXO6qW.js} +16 -16
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-BGFdLX1i-C7qSBsYV.js → CustomerOnboardingProductSuitePage-C7FbnHpU-C2FaoJHQ.js} +3 -3
  70. package/dist/assets/{CustomerOnboardingRoutes-BqTX1iyW.js → CustomerOnboardingRoutes-DbUQBREw.js} +1 -1
  71. package/dist/assets/{Dashboard-Qjedd4r--DdmcDs7e.js → Dashboard-Bpu-6Sm5-CcAT-BJw.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-Deith_ON-BYNIuWwI.js → DashboardReportPage-B1aAikQG-BWThnMBB.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-C3tqy16Q.js → DashboardRoutes-aFJ2Gmek.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-C7DfUDio-CXRw7JSP.js → DashboardSidebarBackgroundAnimation-C6xm-p2j-BW7a7KRi.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-DTL7QcJH.js → DefaultTenantHome-D-V97ZoE.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-7kYotKov-C07q_etT.js → DepositAccTransactionItem-DEU0DgtI-DX-mlAdm.js} +7 -7
  77. package/dist/assets/{DepositAccTransactionListPage-Bop4Uj5w-DYSx2RBP.js → DepositAccTransactionListPage-Bh0dIkE9-CF_bG5NL.js} +4 -4
  78. package/dist/assets/{DomesticWireDetailScreen-D_BfoPLh.js → DomesticWireDetailScreen-DBNwn4TO.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-_TyXsqEx-jkwnoEUE.js → DomesticWireDetailsPage-2WyD73c9-B2JWW3fS.js} +1 -1
  80. package/dist/assets/{DownloadOverlay-Cmd727bN-CUU7ZY9L.js → DownloadOverlay-B7M2VI7K-93vOHyTt.js} +14 -14
  81. package/dist/assets/{DrawerPage-DmGwfnGp-LTv4sDcy.js → DrawerPage-DsQTxXa8-D8CWGNJU.js} +4 -4
  82. package/dist/assets/{DrawerScreen-DtF71b7B.js → DrawerScreen-DDmYCdH3.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-YyluIC6R-CXdaDa7G.js → EditPeoplePage-fY0HXvVS-C62IbLj9.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-DeMid2Ko-Bv-8Xabp.js → EditReimbursementDetailPage-D7RUWSTZ-DVOazN97.js} +18 -18
  85. package/dist/assets/EntityDetailPage-BDyO7iLI-DsywTSaM.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-DYnivlwX.js → EntityDetailRoutes-BGXfmx5_.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-5NbutA8l-CQbl1YIH.js → EntitySummarySection-0rRkC5V6-BD_Ykbrq.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-CQ_3WluW-CLWld5W7.js → ExpenseAutomationOverviewPage-DOGAdZXV-Bv58nG4M.js} +8 -8
  89. package/dist/assets/{ExpenseAutomationPage-VuU4acYd-B7T-Dg4p.js → ExpenseAutomationPage-DOsIzX0P-X4utEwdy.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-BlW2sTwn.js → ExpenseAutomationRoutes-eS-fi8G6.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-DhoNmyC2-Bd-YVNzq.js → ExpressPayPage-CIi6jM8Y-zeultZzf.js} +8 -8
  92. package/dist/assets/{FeaturePreviewPage-GSwhPxgP-CXXTQoUA.js → FeaturePreviewPage-BVn6ZUOB-QQqfkJ8p.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-CpHWA-St.js → FeaturePreviewScreen-D5VxTq6D.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-DaueHRo4-FQso0zsG.js → FollowStepsSection-CvWPHXDW-CX31cI67.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-DG7_1HOT-_eh0o3Lh.js → GlobalReviewListPage-CS_11bx0-BWWUBfxL.js} +1 -1
  96. package/dist/assets/{InformationCardStack-zc-BxR7F-CH328-RF.js → InformationCardStack-B9g7W7Xx-BMa0JHtx.js} +3 -3
  97. package/dist/assets/{InsightsCardStack-DxCA5sFh-Y8l4503l.js → InsightsCardStack-mvzIc2uY-FQWyC3NM.js} +1 -1
  98. package/dist/assets/{InsightsSection-BdFG3j3R-DjHyJY78.js → InsightsSection-rGyA4lY9-ztCddwYb.js} +8 -8
  99. package/dist/assets/{IntegrationsSettingsPage-CaiL3kqS-CiO2l-pg.js → IntegrationsSettingsPage-Dwz4ukHF-I8L8bnwJ.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-BrQVSzeS-B8g9fXts.js → InternationalWireSwiftDetailsPage-Cm0H9oyf-Dq6HjvzW.js} +1 -1
  101. package/dist/assets/{InternationalWireVerificationPage-NaLnhW9C-Be5m5GNN.js → InternationalWireVerificationPage-woIoME3I-Dczyy-qA.js} +10 -10
  102. package/dist/assets/{InviteFormPage-fjqv2l7h-CLLSBMJ2.js → InviteFormPage-DaZ-sJYV-B1D96lar.js} +13 -13
  103. package/dist/assets/{InvitePageListView-CQecQhxr-DHxSXSin.js → InvitePageListView-Do7EVQrj-CnaoEv-w.js} +1 -1
  104. package/dist/assets/{InvitePeoplePage-DAEBuOnk-CNuAu3aA.js → InvitePeoplePage-CpD7YoC2-CAkwuWqR.js} +2 -2
  105. package/dist/assets/{InvoiceUploadSection-58l6ePuH-CbCDsLyQ.js → InvoiceUploadSection-DOuTQPee-DNxyr3cj.js} +11 -11
  106. package/dist/assets/{IssueChargeCardPage-Bkxqsgax-B2E0w7s1.js → IssueChargeCardPage-ClMhr27d-m0kTf6sc.js} +9 -9
  107. package/dist/assets/{LabeledAddressValue-CZfFV97h-D0qxrk9o.js → LabeledAddressValue-B6_PZDTO-xVytB-P9.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-D66XOhMx-BL2wLyLH.js → LabeledAddressValueField-Cz6tRMoW-C7dop0k-.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-BtnsqE4D-B85xoPON.js → LabeledControlledCheckBoxField-BEpAlnvo-BRLqoAnU.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-kopByxLB-1-3v1UQa.js → LabeledCountryMultiSelectField-1kTcZMQW-Cq5wOhkQ.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-B6An-cwq-DFSBA92N.js → LabeledCreatableSingleSelectField-PiLB1S77-CXLJARhZ.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-D_ZD8JTn-vKeq6vm6.js → LabeledDocumentField-Cicw8ABs-CehJpiD9.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-CJ7ncCzH-B0WjHFnN.js → LabeledDropDownFormattedTextField-BEVVgIGK-ByxutmzB.js} +7 -7
  114. package/dist/assets/{LabeledEmailInputField-CSfzMDYO-CWt52Wcv.js → LabeledEmailInputField-C6gk3B5x-DQKZx3MY.js} +1 -1
  115. package/dist/assets/{LabeledNameField-DZJXGYR9-BrTXKAba.js → LabeledNameField-BpfxLnfN-Dp4_3qSf.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-D_LoOMiZ-BMpo-aMs.js → LabeledSingleSelectField-Utmk8KVy-Cxr5xWDf.js} +1 -1
  117. package/dist/assets/{LabeledText-A1h_ionS-CFl8s8G-.js → LabeledText-C56xvYuX-BYR-B_G0.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-Q6YssO3g.js → LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-C2nSJ6yS.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-DmynBXbJ-B4T-A7Cu.js → LabeledZeniRolesDropDownField-B5rxYfam-qcmbm9V-.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-D6-fL4a6-tCaqs9Yj.js → LinkJETransactionPage-DbnaYlRA-UFjDu7p8.js} +10 -10
  121. package/dist/assets/{LockCardPage-BDlnh_zf-cKP8zIxD.js → LockCardPage-XHbTmzq8-CizhFaVR.js} +8 -8
  122. package/dist/assets/{LowBalancePopup-CBPl_udd-BorudEL4.js → LowBalancePopup-IF7NG9aL-DyQqJJ_L.js} +5 -5
  123. package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-C6hltO5g.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-D0JDLfbz-Nd5n74ys.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-d6t2QZpk.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-CcsKjkce.js → MagicLinkRoutes-D4nTqNcw.js} +18 -18
  127. package/dist/assets/{MagicLinkSignInScreen-Dw8ViAP-.js → MagicLinkSignInScreen-DhnaHV0D.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-Cl461HWp-01GdAVLj.js → MagicLinkSuccessPage-Cyr3p_8a-CVhCJtyQ.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-DoIMYrRv-wUyCV4b7.js → MagicLinkTitleSection-A4zyF5bg-B40bJuh0.js} +1 -1
  130. package/dist/assets/{MailingDetailsSection-NdwWGQ88-ChhAh-Lq.js → MailingDetailsSection-DqSOlu2t-CyUaZRam.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-D7V2koAX.js → MobileAppDrawer-BRK9r0e2.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-CkkW1atP-CT7ietod.js → MoreMenuButton-B1OKwXLg-CUWjb2Vn.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-BU6TBzI1-DURfzXrx.js → MyBankConnectionsSettingsPage-DtTjhna--DTBZyR2y.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-DcunCDU6-CQIAZ-Ax.js → MyPendingActivationChargeCardListPage-CKSWf7I4-5HMiO4ol.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-DF7ahyXE-BEXIytCm.js → MyProfileSettingsPage-WF1pNlyU-DCBVPnlL.js} +1 -1
  136. package/dist/assets/NavBarWithPicker-DiCaJ8Qy-BnNZsOl6.js +30 -0
  137. package/dist/assets/{NavigationArrow-CWUL-6kN-CRVEGy5S.js → NavigationArrow-f4Z3TuXg-UuhH1nBa.js} +7 -7
  138. package/dist/assets/{NavigationDots-c-XSrFzE-Bl0Sm_Ng.js → NavigationDots-WiVjbUsC-Crp3ArrF.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-FGEO68I8-BKtwnvr_.js → NewGlobalMerchantPage-kvjjwV8d-C2-dLqkh.js} +1 -1
  140. package/dist/assets/{NoDataChart-DJhSgtLu-BO4-72hz.js → NoDataChart-DlSLTzZl-FuGU3dm-.js} +1 -1
  141. package/dist/assets/{NoDataTable-BZiwo2qK-CJLZnBQL.js → NoDataTable-9vLoRpsR-CqXldB2y.js} +1 -1
  142. package/dist/assets/{NotFoundPage-BN5unYX8-B80hQ8eO.js → NotFoundPage-CFlNCHFs-HVhDj2Ia.js} +5 -5
  143. package/dist/assets/{NotFoundScreen-BBbILNsa.js → NotFoundScreen-YeCuKQy4.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-BH_Amwk1.js → NotificationRoutes-Dd09Cbi8.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-d8kHDj0M-2vIf0BRe.js → NotificationSettingsPage-KJzE9v4p-DOQO6pCa.js} +4 -4
  146. package/dist/assets/{NotificationsListConfig-ThKLok_w-Bx-0LQ4e.js → NotificationsListConfig-6sXXtF_E-BS4C2OAr.js} +1 -1
  147. package/dist/assets/{NotificationsPage-Uvu6XESA-D1y42vLB.js → NotificationsPage-D4AmPdo9-BPnTsbgm.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-QyqRkD2_-h8x1NnCW.js → OpExByVendorPage-B5Wtu3ww-DQg4-jJ4.js} +6 -6
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-B8rQHhtN.js → OverlayContainerPage-BG9y5C0t-COHi_UQx.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-DJ2v5qbE-BgEHjFpy.js → PandLWithForecastPage-CjkaxTx7-DQmjDDak.js} +1 -1
  151. package/dist/assets/PandLWithForecastRoutes-C4ljq3MB.js +1 -0
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-q5z8XZFC-IYhUlGT-.js → PaymentAccountSetupBillingAddressSection-eeLSg7xb-CRk9dKLv.js} +1 -1
  153. package/dist/assets/{PeoplePage-C5ZdpVyR-DA1lsmrN.js → PeoplePage-CQREy6SW-aaRJEBLV.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-BLNrKR-x.js → PeopleRoutes-ChdDR42u.js} +3 -3
  155. package/dist/assets/{PerformanceRoutes-BBydKp8A.js → PerformanceRoutes-C9_QucnY.js} +1 -1
  156. package/dist/assets/{Preview-C2UYzTeJ.js → Preview-CQ45ZFEO.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-CXjLTOLy-2QbHSm9u.js → ProductsCarousel-COZZMTcH-Bzu55dWw.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-CN9uZfG4-CB2JkJIv.js → PromoBaseCards-Bmn6TN2k-Bz52UdXc.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-CXSi1Pd9-CSvewQW2.js → QBOConnectionDialog-DYxoiSkA-BahHoGsk.js} +4 -4
  160. package/dist/assets/{QBOConnectionScreen-tSJfFhQn.js → QBOConnectionScreen-CvnGX6ip.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-BrtLMvEP-D5Os1BGx.js → QBOSetupSection-Cdz2PDxV-3UdpeU-_.js} +7 -7
  162. package/dist/assets/ReferralListScreen-rNybuoN2.js +5 -0
  163. package/dist/assets/{ReimbursementApprovalRoutes-BHsHN-u_.js → ReimbursementApprovalRoutes-CoADYXXE.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CS1BQ7pL-_lY11RDq.js → ReimbursementApprovalRuleDetailPage-C-QEoqCw-nwX6DLtF.js} +5 -5
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-Bs2ple33.js → ReimbursementApprovalRuleDetailScreen-Bqm6EOL1.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-aLRkhkZB-CV07eSYp.js → ReimbursementApprovalRulesPage-Ch2sxTFV-tKNtb0zE.js} +26 -26
  167. package/dist/assets/{ReimbursementDetailPage-Dr5BTvEq-DM2tEzQB.js → ReimbursementDetailPage-DSF6SfKn--PtdBuMK.js} +5 -5
  168. package/dist/assets/{ReimbursementPromoPage-C5Z0mVhQ-Dq3UPRZ3.js → ReimbursementPromoPage-F1ROFd63-BFHAhlMX.js} +11 -11
  169. package/dist/assets/{ReimbursementRoutes-iv71wb2Z.js → ReimbursementRoutes-DGj3kepc.js} +3 -3
  170. package/dist/assets/{ReimbursementSetUpPage-CXhOBErm-BnZZWQ1W.js → ReimbursementSetUpPage-l2mhLFuo-DfOuAAr0.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CA0n0mau-Bq7X2QJa.js → ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BmJ-UskM.js} +1 -1
  172. package/dist/assets/{ReloadCard-Bjp8ygC2-DsEbxw3o.js → ReloadCard-CDcJMl9F-DmOo4rMc.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-DTk1dNWC-QFtHZK4J.js → ReportTableViewSelector-DvCk55Hn-DU86kKFX.js} +5 -5
  174. package/dist/assets/ReportsPage-DfqqKSt3-DjEpZpYh.js +269 -0
  175. package/dist/assets/{ReportsRoutes-BhpH3vEG.js → ReportsRoutes-DrS0PfFL.js} +1 -1
  176. package/dist/assets/{RevenueChart-CqGvXDr4-BDXPrwnC.js → RevenueChart-BONT9upM-Wgu_yKns.js} +1 -1
  177. package/dist/assets/{ReviewDetailsPage-CWBP7FBN-XuXg3BcA.js → ReviewDetailsPage-857bVurA-DISEdilE.js} +6 -6
  178. package/dist/assets/{ReviewOverlay-Cxkp85Kw-BxuvLEpC.js → ReviewOverlay-ClQg7d2j-DMLhTFSB.js} +1 -1
  179. package/dist/assets/RewardsRoutes-BI3CFx__.js +1 -0
  180. package/dist/assets/RoleWithToolTip-C0G1Hgp_-C6OnScGb.js +22 -0
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CYvlB3Nf-DLsNuhIe.js → ScheduleDetailsFixedAssetsPage-CJ_JBtxS-BI5TWCkt.js} +4 -4
  182. package/dist/assets/{ScheduleDetailsPage-CZXJ15tN-DK-Vvm5e.js → ScheduleDetailsPage-B1aEwPL--CmKbMEkF.js} +3 -3
  183. package/dist/assets/{ScheduleSequenceTable-DNPID_7F-Bz8d2Fhy.js → ScheduleSequenceTable-DhU7PI91-B_rwqPJI.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-B0gKACTz.js → ScreenRoutes-BEfnlKLo.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-_WPR-q2V-BVzNpUbf.js → SetUpAccountSection-C8dulq9s-NOviRS6G.js} +20 -20
  186. package/dist/assets/{SettingsRoutes-BrokioTP.js → SettingsRoutes-Cv3I5FcH.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-BiJM7znn.js → SetupPagesScreen-DXJ1IvhH.js} +1 -1
  188. package/dist/assets/{SignIn-CDEsZw_T-BhKsIiWi.js → SignIn-wDe7lbGR-CsMJoTy9.js} +4 -4
  189. package/dist/assets/{SignInScreen-CRHQkOWq.js → SignInScreen-TFIvhVsE.js} +1 -1
  190. package/dist/assets/{SignOutScreen-CSmP5G0L.js → SignOutScreen-DNlfKKyW.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-MOCWuROI-DdkFjcW6.js → SpendManagementListViewPage-BdddUHrW-DddaRnSk.js} +8 -8
  192. package/dist/assets/{SpendManagementPerTabPage-BeK0SCeE-DPZd4om4.js → SpendManagementPerTabPage-BBJm3884-BFVFYDTY.js} +1 -1
  193. package/dist/assets/{SpendManagementSection-DZFPfKNi-DT0rYb2P.js → SpendManagementSection-6R5y0Hy4-BDNcg1eM.js} +9 -9
  194. package/dist/assets/StatementItem-qsoXKx_p-B1TzdTRA.js +31 -0
  195. package/dist/assets/{StatementsPage-DYLp_e7W-CYuAqH_I.js → StatementsPage-Cn7WG5-S-RUted-8P.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-jxaonB4S-Cxq2Q9_V.js → StatusSwitcher-D3qCg5J1-CR1Mcm2E.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-CudjNlsi-D6kvvomf.js → SubTabSwitcher-BXajy75j-Dc5sli1z.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-DE_x1Zz_-AQ5Y5JIA.js → SuccessAnimation-CSblamOQ-Bn7t6Lwt.js} +1 -1
  199. package/dist/assets/SummaryCard-B1d4_5lE-Dcb38d7W.js +1 -0
  200. package/dist/assets/{TaskDetailPage-CXexRKAY-BOPspi-s.js → TaskDetailPage-CrsQnhu1-DqJUU9CD.js} +1 -1
  201. package/dist/assets/{TaskListScreen-B0RVzFet.js → TaskListScreen-DQaj367P.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-CTMoHv0R-BGb6WsaA.js → TaskManagementPage-h3Rb49Jj-CiFXDTcp.js} +1 -1
  203. package/dist/assets/TaskRoutes-DcIHRznV.js +9 -0
  204. package/dist/assets/{TimeRangeSwitcher-SqY2MHGs-ChpZHeuG.js → TimeRangeSwitcher-DpUOmqiR-D_tIz1xP.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-BlJ2fuHy-JP2UlRBY.js → TimeframeSwitcher-BKEtsv_r-CS6zQ4bX.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-Dgc1odUH-ChrHPbvN.js → TimeframeSwitcherWithToggle-DECnQIMT-DCOsHatx.js} +10 -10
  207. package/dist/assets/{TopExCard-CG8YLsYe-B5wqJJSw.js → TopExCard-leQR29Sq-DG9ySZIm.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-TvYCbzSP-CTOCVsET.js → TopExDetailPage-Dgg7Do6D-B22efZAA.js} +3 -3
  209. package/dist/assets/{TransactionActivityLogPage-BL3vEAdU-Bk3OacNa.js → TransactionActivityLogPage-CU2pUJQL-CgftV9ye.js} +5 -5
  210. package/dist/assets/{TransactionDetailPage-DUouBL0o-DkOa5f2H.js → TransactionDetailPage-FT2IPLH7-DAfWSPCG.js} +32 -32
  211. package/dist/assets/{TransactionDetailRoutes-D5_-HF2Q.js → TransactionDetailRoutes-l4cqdz7w.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-DHwJH1ZP.js → TransactionDetailScreen-BxZ1AvRI.js} +1 -1
  213. package/dist/assets/{TransactionList-B16NONME-xM0VK0uD.js → TransactionList-C2MGkQYM-CPp22oMb.js} +8 -8
  214. package/dist/assets/{TransactionListBig-CItPbTRV-BpUwrWyu.js → TransactionListBig-CZ3jIxzR-BG5pwJlw.js} +6 -6
  215. package/dist/assets/TransactionListPage-PCa4exLO-uM7mJD-y.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-DIJ_fkWS.js → TransactionListRoutes-veIGR3tC.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DpqisXN8-wU2wHv2K.js → TransactionVendorDetailPage-BgcqndCu-BSSs2Jcd.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-Dsmbswu0-DFQDwnPy.js → TransferDrawerPage-SirvPH4z-DtzIcgDc.js} +10 -10
  219. package/dist/assets/{TreasuryOverviewPage-BcRpcYmB-DwdLr4Xt.js → TreasuryOverviewPage-B_WK1aOv-Bqerf9ct.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-DOO_OMRa-uzWYBUzW.js → TreasuryPromoPage-B_D63Dr2-Di08g28n.js} +6 -6
  221. package/dist/assets/{TreasuryRoutes-BfRwxvKx.js → TreasuryRoutes-BDfDMqyl.js} +6 -6
  222. package/dist/assets/{TreasuryStatementsPage-A_U7bEy5-C1uv8XvN.js → TreasuryStatementsPage-BGe0fhBe-D_xnH4qk.js} +2 -2
  223. package/dist/assets/{TreasuryTaxLetterPage-BsJn-BgX-Dcdm_qTO.js → TreasuryTaxLetterPage-9gNdkQZp-CGVWuYY2.js} +2 -2
  224. package/dist/assets/{TrendChart-GMMat-NG-BewK0MCc.js → TrendChart-COItOWPp-Bqzu2MgM.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-CrA4opNV-B_vQq65J.js → TrendWithTransactions-DgAw_8CI-MC8wGnO9.js} +8 -8
  226. package/dist/assets/{UncategorizedAccountsMappingPage-CrzbFGOi-BDtcuYej.js → UncategorizedAccountsMappingPage-B9EziB6Q-gv_x6dec.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-XZY6zJa7-D8B46vcm.js → UnitIntegrationPage-DGWNyWV1-Dx2SNOLo.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-eqwSLigx-kRVMQYF-.js → UploadAdditionalDocumentOverlay-DWmMz_8y-Dm_NzTDF.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-BHDivuPB-D7ySxcXF.js → Vendor2FAPopup-dh2g8kqu-tmyn1K6T.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-C0vIRpRW-DV0u5MUr.js +1 -0
  231. package/dist/assets/{VendorDetailPage-DEu-yS8w-BhFmuJot.js → VendorDetailPage-CGqoIODq-DATvkiT-.js} +13 -13
  232. package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-DLIihksm.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-C461SzO0-CCIZoPU6.js → VendorFiling1099EditablePage-CsnlHrCl-DrSHAjrS.js} +1 -1
  234. package/dist/assets/{VendorFirstReviewPage-klbCHS04-UP-04u7X.js → VendorFirstReviewPage-DC1j2sO_-BShWc2PZ.js} +7 -7
  235. package/dist/assets/{VendorInternationalWireDetailsPage-DY0V-VbO-Dl3hBhoD.js → VendorInternationalWireDetailsPage-Drr00a6C-B8ypeLTf.js} +1 -1
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-Cr3Iymam.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-Cqcr-ArD-CzW5lMfP.js → VendorsAccountsSection-BtdwR8u4-CH_AUGJD.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-DLnvF6hR.js → VendorsRoutes-DTveFO9E.js} +11 -11
  239. package/dist/assets/{VerifyDevice-Dhu5iywf-cUES-VE2.js → VerifyDevice-Bhr_yHpE-BmXUueZN.js} +4 -4
  240. package/dist/assets/{VideoPlayer-ZGjx_Hp7-CjY3r1rL.js → VideoPlayer-wlJX6lEq-BRAB9bV0.js} +1 -1
  241. package/dist/assets/VideoPopup-BPptwR51-Dm-cn-KD.js +31 -0
  242. package/dist/assets/{WiseConfirmationScreen-CT86mZ0i.js → WiseConfirmationScreen-Be5nRHHx.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-DQB7sXU9-CZEM5xVV.js → ZeniAccountDetailPage-CSsu44ls-2H7-YqPq.js} +12 -12
  244. package/dist/assets/{ZeniAccountListViewPage-BwXKgf6g-FfpOzmd6.js → ZeniAccountListViewPage-BZwGCrzx-Hl1cOwI1.js} +32 -32
  245. package/dist/assets/{ZeniAccountNavBarPieces-CHUTFAWG-v671evv-.js → ZeniAccountNavBarPieces-CrNjnkNS-CNki38NN.js} +5 -5
  246. package/dist/assets/{ZeniAccountPromoPage-BkfJuMNV-CmI6f_1i.js → ZeniAccountPromoPage-CahV-Rmf-Dvz1FwqA.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-bnzTspvl.js → ZeniAccountRoutes-BMxuBylQ.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-C3drM4Zs-CvpINFn4.js → ZeniAccountSetupPage-DSNDNKZr-CwYlMf2d.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-B5KsFobU.js → ZeniAccountStatementScreen-BJVQBUGi.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-C38T0-5--BM3XjRcp.js → ZeniAvatar-De0hFvIm-DzjTiqNz.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-CznSgVJF-BhclYMa4.js → ZeniCopyright-BNGdkMOa-Cl7T_xPz.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-Bw9RlgoL-DDQaNsVY.js → ZeniDatePicker-CYNEE0pM-DG-NDcrF.js} +4 -4
  253. package/dist/assets/{ZeniTransferAmountSlider-C77DEl-C-CYKYiLaT.js → ZeniTransferAmountSlider-DuD1JtSv-DhSBAK_q.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-B1SwIfFo.js → accountMappingHelper-FrhvxzcW.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-2vbkyqzY.js → add-to-wallet-DgdBD8_G-BqBidt5n.js} +1 -1
  256. package/dist/assets/{analytics-Qgv3Fhaa.js → analytics-CVqRc8fh.js} +1 -1
  257. package/dist/assets/{analyticsHelper-CsyUSML_.js → analyticsHelper-DJS6x-LZ.js} +1 -1
  258. package/dist/assets/{analyticsHelper-Bh8o1v3y-erbhoWbk.js → analyticsHelper-DjQYjslY-BxoS4N1f.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-CHgaZ-yo.js → arrow-south-east-round-PEovUgvH-B3QTzBHA.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-BdBsn5Ol.js → auto-transfer-rule-mbafm5D3-de_8OjuK.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-CxU8IzEu.js → avatar-Dz7aEm3d-B-3VAvb3.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-DhC6VHDB.js → bank-letter-BOcVjN6J-KdddOmyc.js} +1 -1
  263. package/dist/assets/{calculateSize-QoQyn_Ku-j5kLdf_t.js → calculateSize-i9QGr8q0-Dp5VSL_N.js} +1 -1
  264. package/dist/assets/{chartTypes-C14YY2Rq-mIXPNQxz.js → chartTypes-BGl-YMiu-DyUWLIfR.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-BBrb7jeK.js → clock-CJkylEKt-CB7HCMZv.js} +1 -1
  266. package/dist/assets/common-Cws59IN1-fneKv-li.js +1 -0
  267. package/dist/assets/{commonDimensions-CVpc-NCw-xOjrok2-.js → commonDimensions-CuKo3wam-D08uyy0o.js} +1 -1
  268. package/dist/assets/{commonTypes-Ec-PxfpT-DZ1xbinn.js → commonTypes-CfAg6Jvv-C_Qjl0Ts.js} +1 -1
  269. package/dist/assets/{core-CaikJZHD.js → core-AYNw6kyJ.js} +1 -1
  270. package/dist/assets/{dash.all.min-CteFsaah.js → dash.all.min-Dq_dQY1I.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-DcEFJStp.js → decodeURIComponentSafe-E-sgiudi.js} +1 -1
  272. package/dist/assets/{dnd-CzsffKNn.js → dnd-Dw-riVE4.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-BF4Thvjs.js → dollar-round-D18u7nlm-CvsBoEut.js} +1 -1
  274. package/dist/assets/{downloadPdf-BuPJ6cfr-Cy2ZBk4z.js → downloadPdf-Dcd8BY_9--BaRfov1.js} +1 -1
  275. package/dist/assets/{empty-B5B-FKq1.js → empty-C9c-cai_.js} +1 -1
  276. package/dist/assets/{empty-CTO6rJhq.js → empty-CX0U2Ty5.js} +1 -1
  277. package/dist/assets/{epic-DtTDCbBB.js → epic-B6fOiqme.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-CWbeOwgA.js → filter-cZIFUNvj-lFkn5gVk.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-DLrlmQCo.js → getLocaleForTenant-x8J8_kQc.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-BfzCBGHZ.js → gift-box-Cmt9OgIZ-BPwbjUGz.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DEuKmvBU.js → graphic-no-data-l-DU4J8fDt-CaJy2HdS.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CIA_wKU3.js → graphic-no-data-net-burn-l-CzmycA0m-C9pmzSAL.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-Z_I5plJl.js → handshake-BPg58FML-BSOSNqUk.js} +1 -1
  284. package/dist/assets/{helper-AgH8nJln-DNDXfXpF.js → helper-DkzA3y2L-CVdrHzZT.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-Bwqrw7ES.js → hyperlink-DQyCeXx2-CVVb97aA.js} +1 -1
  286. package/dist/assets/{index-mhb15COx.js → index-CilRLucN.js} +458 -458
  287. package/dist/assets/{index-BL34svil.js → index-Dm85Hu6Z.js} +1 -1
  288. package/dist/assets/{index-B7wRNic7.js → index-DqcXLX0N.js} +1 -1
  289. package/dist/assets/{index-B9eknY8q.js → index-DubSD1fb.js} +1 -1
  290. package/dist/assets/{index-CLf01Vy8.js → index-NZat51vK.js} +1 -1
  291. package/dist/assets/{index-B9myuWEH.js → index-wicPWwlB.js} +1 -1
  292. package/dist/assets/{lexical-CXNTSpM4.js → lexical-B-dyW3-4.js} +1 -1
  293. package/dist/assets/{liveblocks--AdozwCz.js → liveblocks-DJcRPJQh.js} +1 -1
  294. package/dist/assets/{lottie-D86WIi_0.js → lottie-DdLBMmzp.js} +1 -1
  295. package/dist/assets/{mapLoadingInProgressToTreeNode-DTyQHWMc-BqMSzUiy.js → mapLoadingInProgressToTreeNode-lABm-2N9-Chsh4dr_.js} +1 -1
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D7pjBGp6-BMY0vZTn.js → mapSectionWithAcOnlyToTreeNode-COcUb2pF-DXYL2e9L.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-D6CiBSSk.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-CvVUjW74-CI8ETEqs.js +1 -0
  299. package/dist/assets/mapTimeframeBalancesToTreeNode-CwHF76sn-CrCtE0Hw.js +1 -0
  300. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-Dr2IrdLd.js +1 -0
  301. package/dist/assets/{media-player-OnsEq_AY.js → media-player-V7uSzi45.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-CfgKOIyt.js → money-2cg1MuG4-B7YE6t0I.js} +1 -1
  303. package/dist/assets/{mui-G2MlMTlr.js → mui-Ckdcx_YE.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-CWJ8fnGp.js → page-detail-CWX5S47F-NqWvakND.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-CaK_VLEF.js → page-summary-D7_VQHwN-BvkWkaoT.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-XfdQwEMM.js → panelSelectedMixin-Cddsb26L-CROMd__p.js} +1 -1
  307. package/dist/assets/{pathToGoBack-Dh6AhADv.js → pathToGoBack-C_2xxQDe.js} +1 -1
  308. package/dist/assets/{pdf-DwfifS04.js → pdf-CwWlK-Dr.js} +3 -3
  309. package/dist/assets/{pdf-lib-CuGtb6jg.js → pdf-lib-DhaWOBih.js} +1 -1
  310. package/dist/assets/{plaid-CcxzSXZd.js → plaid-BhP6n1uc.js} +1 -1
  311. package/dist/assets/{pusher-BNSVRSP_.js → pusher-8DhjdTCA.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-CF7OSKL1.js → radio-default-CiSgisfh-BoUlFA9D.js} +1 -1
  313. package/dist/assets/{react-BEcxr4nX.js → react-BHDcRwxI.js} +1 -1
  314. package/dist/assets/{react-V3TERlfD.js → react-BwCmpEw6.js} +1 -1
  315. package/dist/assets/{react-Cobj-_wp.js → react-CB4dPBRZ.js} +3 -3
  316. package/dist/assets/{react-DOvM9ag3.js → react-CE6422aE.js} +1 -1
  317. package/dist/assets/{react-Chqt_ss-.js → react-CGVKTtsW.js} +1 -1
  318. package/dist/assets/{react-BUDcsgZo.js → react-D-APY71d.js} +1 -1
  319. package/dist/assets/{react-C0Whd_8a.js → react-D4pZVe2B.js} +1 -1
  320. package/dist/assets/{react-WpjiT9jD.js → react-D_0srhsg.js} +1 -1
  321. package/dist/assets/{recharts-3tylCZU1.js → recharts-Dr1JzI4y.js} +1 -1
  322. package/dist/assets/{routePaths-CDVBEe6a.js → routePaths-DqRhLReO.js} +1 -1
  323. package/dist/assets/{sentry-Cm8I7E9J.js → sentry-D-LCra2M.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-tt-dORuJ.js → shield-DOlUxcFf-D5PHf2Tj.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-d-tIWfnn.js → spend-limit-D6SyboD4-D85B38gI.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-CGYYTIjt-Cbihktyj.js +1 -0
  327. package/dist/assets/{toChartData-G5y-N82I-HPFXqzd4.js → toChartData-B4ligi4c-CgbG1qSk.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-CXIruzlf.js → transaction-placeholder-CpOwZAMG-Ca0HZ2W6.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-5VNbpbUY.js → undo-b_3XZ5CX-CSQ0fDLS.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-8UNw8MhM.js → unlock-BPWn2I5L-DDdPB9QU.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BhCuFTsT.js → upload-reimbursement-receipt-O2N8vcO7-DNsQOTk3.js} +1 -1
  332. package/dist/assets/{uploadAttachment-RbkIBMGO-BHEoxgsX.js → uploadAttachment-DgPDimcm-gkAtAf5q.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-BPECKX43.js → uploadReceipts-CIgkuVpu-CPDGmbPp.js} +1 -1
  334. package/dist/assets/{url-CvhemPUG.js → url-BK92KGZc.js} +1 -1
  335. package/dist/assets/{url-BMzuxPwA.js → url-DUid0IO0.js} +1 -1
  336. package/dist/assets/{useDeviceId-BzlY8kf5.js → useDeviceId-BCros22l.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-Dldme96o.js → useInitialThreadRequest-Wj3ao3U4.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-BgmUYGJ7.js → useLongPress-GCK2COYQ-Bs4IMufW.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-BqojtCEK.js → usp-line-BBd1wKwW-BBaxYQlT.js} +1 -1
  340. package/dist/assets/{utils-BhOlvYO8.js → utils-CI1RvLss.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-DBF40Qih.js → withTransactionSidePanel-CEBXOpSa.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-lC5X-sam.js → zeni-epic-state-B1zsDZZ4.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-DZ6h0uLr.js → zeni-icon-only-Bb7XRMgX.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/AccountInfoPage-pEEhPqOb-B-Hd8VtG.js +0 -18
  347. package/dist/assets/ApAgingDetailPage-CxLVGnpY-BYGcfd1t.js +0 -46
  348. package/dist/assets/BillPayApprovalRuleDetailPage-Blxlv3pa-BYAGbgwQ.js +0 -27
  349. package/dist/assets/ChargeCardPromoPage-D4canPX9-CjFFR5oK.js +0 -222
  350. package/dist/assets/CustomerOnboardingAuthScreen-DO7d0gIb.js +0 -1
  351. package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--CSEqEIM8.js +0 -1
  352. package/dist/assets/EntityDetailPage-DPTSSZdS-oHoyHWu0.js +0 -18
  353. package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-C2vI5jVH.js +0 -1
  354. package/dist/assets/MagicLinkDomesticWireDetailsPage-BcNOhJgL-mWcNcIhr.js +0 -1
  355. package/dist/assets/MagicLinkInternationalWireDetailsPage-Df8XYlkg-bsxOE2QI.js +0 -1
  356. package/dist/assets/NavBarWithPicker-D2v1fhLS-CGpIi67k.js +0 -30
  357. package/dist/assets/PandLWithForecastRoutes-CCN_Dopf.js +0 -1
  358. package/dist/assets/ReferralListScreen-CJqU7RxZ.js +0 -5
  359. package/dist/assets/ReportsPage-DrjOGopt-xwTAFZ82.js +0 -258
  360. package/dist/assets/RewardsRoutes-CGI6v1LD.js +0 -1
  361. package/dist/assets/RoleWithToolTip-CqLxmtj6-Rnjw9i_g.js +0 -22
  362. package/dist/assets/StatementItem-DjvU5wiI-DmQsj9gw.js +0 -31
  363. package/dist/assets/SummaryCard-DPOhBmkr-Cv-w5fsm.js +0 -1
  364. package/dist/assets/TaskRoutes-vmd5uItQ.js +0 -9
  365. package/dist/assets/TransactionListPage-DNecYY8M-ptahFcY0.js +0 -35
  366. package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-BgbOpk55.js +0 -1
  367. package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-DCXCuX-V.js +0 -1
  368. package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-h6qnY29-.js +0 -1
  369. package/dist/assets/VideoPopup-R3u0N_if-CaG3EJQq.js +0 -31
  370. package/dist/assets/common-Cu5K0AJk-BihNw_Do.js +0 -1
  371. package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-C6nWwAzP.js +0 -1
  372. package/dist/assets/mapTimeframeBalancesToTreeNode-Drhl_lnP-BDA52mbW.js +0 -1
  373. package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-DrvNkcA6.js +0 -1
  374. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-DHD18LN5.js +0 -1
  375. package/dist/assets/toCOABalancesWithID-wh35N3no-2SjovFHm.js +0 -1
@@ -1,20 +1,20 @@
1
- import{x as M,m as D,y as W,e as G,O as U,T as X,a7 as H,a1 as J,c8 as K,V as r,a_ as Q,A as Y,a9 as Z,o as h,fy as ee}from"./index-mhb15COx.js";import{a as L}from"./sentry-Cm8I7E9J.js";import{n as u}from"./mui-G2MlMTlr.js";import{b as ae,f as te,o as B,l as T}from"./FollowStepsSection-DaueHRo4-FQso0zsG.js";import"./pdf-DwfifS04.js";import"./zeni-epic-state-lC5X-sam.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="16cfc922-2173-40d3-ad7f-a983a6631acf",e._sentryDebugIdIdentifier="sentry-dbid-16cfc922-2173-40d3-ad7f-a983a6631acf")}catch{}})();const _="reimbursementApprovalRuleDetailPage",C="lowerBound",k="upperBound",I="steps",b="applyToExistingReimbursements",le={footerPadding:new M(D[2],D[3])};function Ue({localData:e,approvalUpdateActionType:t,isLowerBoundDisabled:a=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:n=!1,onBackClick:s,onApprovalRuleDataUpdated:g,onResetClick:N,onSaveRuleClick:$,onSaveRuleSuccess:A}){const E=W(),w=G(),l=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,t==="approval_create"&&!a),y=X({mode:"all",reValidateMode:"onChange",defaultValues:x}),p=e.remiSetupApproverViewUpdateData?.updateStatus,R=H(p?.fetchState),{upperBound:P}=x,{allApprovalRules:d,allAccountingClasses:V,remiSetupApproverViewUpdateData:c}=e;let m=d.length>1?d.length-1:0,v=d.length>0?d[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=d.findIndex(f=>f.approvalRuleId===i),v=m>0?d[m-1].criteria[0].range.min.amount:0}const O=y.handleSubmit(()=>{$()});return L.useEffect(()=>{const i=y.watch((f,{name:q})=>{if(q!=null&&f!=null){const z=J(f);K(()=>(async(me,F)=>{g(F)})(0,z))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{R==="In-Progress"&&p?.fetchState==="Completed"&&A()},[R,p?.fetchState,A]),r.jsxs(ie,{children:[r.jsx(Q,{title:t==="approval_create"?l.newApproval:l.editApproval,backgroundColor:E.colors.grey4,style:{zIndex:4},onBackClick:()=>{s()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(de,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:j(_),onSubmit:O,children:r.jsxs(pe,{children:[r.jsx(ae,{label:{label:n?S.amountPerRemiGreaterLabel:S.amountPerRemiLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>!!a||i!=null&&i>v},isDisabled:a,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:o,hideField:n,additionalInfoLabel:l.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(te,{sectionId:I,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:x[I],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:j(_),primaryBtn:{label:l.saveBtnText,isLoading:p?.fetchState==="In-Progress",isDisabled:p?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:t==="approval_create"&&d.length===0?null:r.jsx(ee,{name:b,mode:"always_on",checkBoxes:[{value:b,label:l.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:N},containerStyle:{justifyContent:w==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(w)},separatorStyle:{marginRight:h.sp4}})]})})]})}const re=(e,t)=>{const{criteria:a,steps:o}=e.remiSetupApproverViewUpdateData?.data??{},n=e.allApprovalRules.length===0;return{[b]:n?[]:[b],[I]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),B(e.allAttributes),B(e.filteredAttributes),o??[])??[],[C]:t?void 0:a!=null?a.range.min.amount??0:0,[k]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},oe=(e,t,a,o,n)=>n&&n.length>0?n.map((s,g)=>({stepIndex:g,stepType:{selectedOption:s.action,allOptions:T},actors:{allUsers:t,selectedUsers:se(e,s.actors),allNonUsers:o,selectedNonUsers:ne(a,s.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:T},actors:{allUsers:t,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,t)=>e.filter(a=>a.userId!=null&&t.findIndex(o=>o.userId===a.userId)>-1),ne=(e,t)=>e.filter(a=>t.findIndex(o=>o.subType===a.value)>-1),j=e=>`${e}_form`,Le=e=>`${e}`,ie=u.div`
1
+ import{x as M,m as D,y as W,e as G,O as U,T as X,a7 as H,a1 as J,c8 as K,V as r,a_ as Q,A as Y,a9 as Z,o as b,fy as ee}from"./index-CilRLucN.js";import{a as L}from"./sentry-D-LCra2M.js";import{n as u}from"./mui-Ckdcx_YE.js";import{b as ae,f as te,o as B,l as T}from"./FollowStepsSection-CvWPHXDW-CX31cI67.js";import"./pdf-CwWlK-Dr.js";import"./zeni-epic-state-B1zsDZZ4.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fe42b4cf-efc0-483e-94b7-6aac3a20afe8",e._sentryDebugIdIdentifier="sentry-dbid-fe42b4cf-efc0-483e-94b7-6aac3a20afe8")}catch{}})();const _="reimbursementApprovalRuleDetailPage",C="lowerBound",k="upperBound",I="steps",h="applyToExistingReimbursements",le={footerPadding:new M(D[2],D[3])};function Ue({localData:e,approvalUpdateActionType:t,isLowerBoundDisabled:a=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:n=!1,onBackClick:s,onApprovalRuleDataUpdated:g,onResetClick:N,onSaveRuleClick:$,onSaveRuleSuccess:A}){const E=W(),w=G(),l=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,t==="approval_create"&&!a),y=X({mode:"all",reValidateMode:"onChange",defaultValues:x}),d=e.remiSetupApproverViewUpdateData?.updateStatus,R=H(d?.fetchState),{upperBound:P}=x,{allApprovalRules:p,allAccountingClasses:V,remiSetupApproverViewUpdateData:c}=e;let m=p.length>1?p.length-1:0,v=p.length>0?p[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=p.findIndex(f=>f.approvalRuleId===i),v=m>0?p[m-1].criteria[0].range.min.amount:0}const O=y.handleSubmit(()=>{$()});return L.useEffect(()=>{const i=y.watch((f,{name:q})=>{if(q!=null&&f!=null){const z=J(f);K(()=>(async(me,F)=>{g(F)})(0,z))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{R==="In-Progress"&&d?.fetchState==="Completed"&&A()},[R,d?.fetchState,A]),r.jsxs(ie,{children:[r.jsx(Q,{title:t==="approval_create"?l.newApproval:l.editApproval,backgroundColor:E.colors.grey4,style:{zIndex:4},onBackClick:()=>{s()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(pe,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:j(_),onSubmit:O,children:r.jsxs(de,{children:[r.jsx(ae,{label:{label:n?S.amountPerRemiGreaterLabel:S.amountPerRemiLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>!!a||i!=null&&i>v},isDisabled:a,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:o,hideField:n,additionalInfoLabel:l.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(te,{sectionId:I,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:x[I],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:j(_),primaryBtn:{label:l.saveBtnText,isLoading:d?.fetchState==="In-Progress",isDisabled:d?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:t==="approval_create"&&p.length===0?null:r.jsx(ee,{name:h,mode:"always_on",checkBoxes:[{value:h,label:l.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:N},containerStyle:{justifyContent:w==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(w)},separatorStyle:{marginRight:b.sp4}})]})})]})}const re=(e,t)=>{const{criteria:a,steps:o}=e.remiSetupApproverViewUpdateData?.data??{},n=e.allApprovalRules.length===0;return{[h]:n?[]:[h],[I]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),B(e.allAttributes),B(e.filteredAttributes),o??[])??[],[C]:t?void 0:a!=null?a.range.min.amount??0:0,[k]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},oe=(e,t,a,o,n)=>n&&n.length>0?n.map((s,g)=>({stepIndex:g,stepType:{selectedOption:s.action,allOptions:T},actors:{allUsers:t,selectedUsers:se(e,s.actors),allNonUsers:o,selectedNonUsers:ne(a,s.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:T},actors:{allUsers:t,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,t)=>e.filter(a=>a.userId!=null&&t.findIndex(o=>o.userId===a.userId)>-1),ne=(e,t)=>e.filter(a=>t.findIndex(o=>o.subType===a.value)>-1),j=e=>`${e}_form`,Le=e=>`${e}`,ie=u.div`
2
2
  display: flex;
3
3
  height: 100%;
4
4
  flex-direction: column;
5
5
  width: 100%;
6
6
  background-color: ${e=>e.theme.colors.grey4};
7
- `,de=u.div`
7
+ `,pe=u.div`
8
8
  display: flex;
9
9
  flex: 1;
10
10
  flex-direction: column;
11
11
  min-height: 0;
12
- `,pe=u.div`
12
+ `,de=u.div`
13
13
  display: flex;
14
14
  flex-direction: column;
15
15
  border: 1px solid ${e=>e.theme.colors.grey3};
16
- box-shadow: ${e=>`${h.sp0} 2px ${h.sp1} ${e.theme.colors.dropShadowNormal}`};
17
- border-radius: ${h.sp2};
16
+ box-shadow: ${e=>`${b.sp0} 2px ${b.sp1} ${e.theme.colors.dropShadowNormal}`};
17
+ border-radius: ${b.sp2};
18
18
  `,ue=u.div`
19
19
  display: flex;
20
20
  justify-content: flex-start;
@@ -1 +1 @@
1
- import{j as g}from"./pdf-DwfifS04.js";import{a as y}from"./sentry-Cm8I7E9J.js";import{j as w,i as A,h as T,l as U,u as b,k as E}from"./core-CaikJZHD.js";import{Ly as R,Li as C,z3 as x,zc as _,za as S,zb as h,Lz as k}from"./zeni-epic-state-lC5X-sam.js";import{js as B,y as j,jQ as V,lq as z,ki as F}from"./index-mhb15COx.js";import"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1685e097-cb5b-47ac-b629-cd48aa4062fd",e._sentryDebugIdIdentifier="sentry-dbid-1685e097-cb5b-47ac-b629-cd48aa4062fd")}catch{}})();function L(e){return k(e)==null}const O=E(function(e,a){const t=R(e),s=t.remiSetupApproverViewUpdateData?.type??"approval_create",n=s==="approval_create"&&t.allApprovalRules.length!==0;let l=t.allApprovalRules.length===0;return a.approvalRuleId&&(l=t.allApprovalRules.findIndex(r=>r.approvalRuleId===a.approvalRuleId)===0),{localData:t,hideUpperBoundField:n,isLowerBoundDisabled:l,approvalUpdateActionType:s}},function(e,a){const{navigate:t,approvalUpdateDataView:s,approverViewData:n,approvalRuleId:l}=a,r=s.remiSetupApproverViewUpdateData?.type,i=F(a.location);return{onApprovalRuleDataUpdated:o=>{const c=p=>{const v=[];return p.forEach(u=>{const D=u.actors.selectedUsers.map(d=>({type:"user",subType:void 0,userId:d.userId,idType:"user",isImplicitActor:!1})),I=u.actors.selectedNonUsers.map(d=>{const f=!!L(d.value);return{type:f?"attribute":"role",subType:d.value,userId:void 0,idType:void 0,isImplicitActor:!f}}),m=D.concat(I);v.push({action:u.stepType.selectedOption,actors:m,operator:m.length>1?u.stepType.selectedOption==="require_approval"?"or":"and":"is"})}),v};if(r==="approval_create"){const p={criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}else{const p={approvalRuleId:l,criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}},onResetClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onBackClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onSaveRuleClick:()=>{e(_())},onSaveRuleSuccess:()=>{t("../")}}})(z);function H(){const e=w(),a=A(),t=T(),{approvalRuleId:s}=U(),n=B.getSignedInUser(),l=j(),r=b(p=>R(p)),i=b(p=>C(p)),[o,c]=y.useState(!1);if(y.useEffect(()=>{o||(c(!0),a(x(!0)))}),y.useEffect(()=>{i.fetchState==="Not-Started"&&e(s!=null?"../../":"../")},[i,s]),n==null)throw Error("Can't access address page without signing in...");return r.approversDetailsFetchStatus.fetchState=="Not-Started"||r.approversDetailsFetchStatus.fetchState==="In-Progress"?g.jsx(V,{fetchState:r.approversDetailsFetchStatus.fetchState,style:{backgroundColor:l.colors.grey5}}):g.jsx(O,{navigate:e,approvalUpdateDataView:r,approvalRuleId:s,approverViewData:i,location:t})}export{H as R,L as i};
1
+ import{j as g}from"./pdf-CwWlK-Dr.js";import{a as y}from"./sentry-D-LCra2M.js";import{j as w,i as A,h as T,l as U,u as b,k as E}from"./core-AYNw6kyJ.js";import{Ly as R,Li as C,z3 as x,zc as _,za as S,zb as h,Lz as k}from"./zeni-epic-state-B1zsDZZ4.js";import{js as B,y as j,jQ as V,lq as z,ki as F}from"./index-CilRLucN.js";import"./mui-Ckdcx_YE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1685e097-cb5b-47ac-b629-cd48aa4062fd",e._sentryDebugIdIdentifier="sentry-dbid-1685e097-cb5b-47ac-b629-cd48aa4062fd")}catch{}})();function L(e){return k(e)==null}const O=E(function(e,a){const t=R(e),s=t.remiSetupApproverViewUpdateData?.type??"approval_create",n=s==="approval_create"&&t.allApprovalRules.length!==0;let l=t.allApprovalRules.length===0;return a.approvalRuleId&&(l=t.allApprovalRules.findIndex(r=>r.approvalRuleId===a.approvalRuleId)===0),{localData:t,hideUpperBoundField:n,isLowerBoundDisabled:l,approvalUpdateActionType:s}},function(e,a){const{navigate:t,approvalUpdateDataView:s,approverViewData:n,approvalRuleId:l}=a,r=s.remiSetupApproverViewUpdateData?.type,i=F(a.location);return{onApprovalRuleDataUpdated:o=>{const c=p=>{const v=[];return p.forEach(u=>{const D=u.actors.selectedUsers.map(d=>({type:"user",subType:void 0,userId:d.userId,idType:"user",isImplicitActor:!1})),I=u.actors.selectedNonUsers.map(d=>{const f=!!L(d.value);return{type:f?"attribute":"role",subType:d.value,userId:void 0,idType:void 0,isImplicitActor:!f}}),m=D.concat(I);v.push({action:u.stepType.selectedOption,actors:m,operator:m.length>1?u.stepType.selectedOption==="require_approval"?"or":"and":"is"})}),v};if(r==="approval_create"){const p={criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}else{const p={approvalRuleId:l,criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}},onResetClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onBackClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onSaveRuleClick:()=>{e(_())},onSaveRuleSuccess:()=>{t("../")}}})(z);function H(){const e=w(),a=A(),t=T(),{approvalRuleId:s}=U(),n=B.getSignedInUser(),l=j(),r=b(p=>R(p)),i=b(p=>C(p)),[o,c]=y.useState(!1);if(y.useEffect(()=>{o||(c(!0),a(x(!0)))}),y.useEffect(()=>{i.fetchState==="Not-Started"&&e(s!=null?"../../":"../")},[i,s]),n==null)throw Error("Can't access address page without signing in...");return r.approversDetailsFetchStatus.fetchState=="Not-Started"||r.approversDetailsFetchStatus.fetchState==="In-Progress"?g.jsx(V,{fetchState:r.approversDetailsFetchStatus.fetchState,style:{backgroundColor:l.colors.grey5}}):g.jsx(O,{navigate:e,approvalUpdateDataView:r,approvalRuleId:s,approverViewData:i,location:t})}export{H as R,L as i};
@@ -1,4 +1,4 @@
1
- import{y as H,e as N,O as j,V as t,a_ as G,L as q,b as u,o,x as r,l as M,a5 as P,bn as k,bR as F,bS as V,bT as O,cq as J,m as l,at as K,d as T,as as Q,f as z,cp as X,aR as Y,w as Z}from"./index-mhb15COx.js";import{n as i}from"./mui-G2MlMTlr.js";import{a as ee}from"./sentry-Cm8I7E9J.js";import"./pdf-DwfifS04.js";import"./zeni-epic-state-lC5X-sam.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.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]="e4c5c47e-c26f-444f-9d53-3c51384bc3ed",e._sentryDebugIdIdentifier="sentry-dbid-e4c5c47e-c26f-444f-9d53-3c51384bc3ed")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},U={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeRegular")},te=({showDeleteBtn:e=!1,disableButtons:c=!1,isLastSection:g=!1,approvalRule:f,onEditRuleClick:S,onDeleteRuleClick:y})=>{const[w,x]=ee.useState(!1),n=N(),{range:m}=f.criteria[0],{steps:$,approvalRuleId:p}=f,a=j.getLocalizedStrings().commonSetUp.approval,v={onOkClick:()=>{x(!1),y?.(p)},onCancelClick:()=>{x(!1)}};return t.jsxs(oe,{windowSize:n,isLastSection:g,isUpdatingApprovalRules:c,"data-testid":u("approval-rule-section",p),children:[t.jsxs(ie,{windowSize:n,children:[t.jsxs(ce,{children:[t.jsxs(W,{windowSize:n,children:[a.from," ",P("0,0",m.min)]}),t.jsxs(re,{children:[t.jsx(R,{}),t.jsx(le,{}),t.jsx(R,{})]}),m.max==null?t.jsx(me,{}):t.jsx(W,{windowSize:n,children:P("0,0",{...m.min,amount:m.max.amount})})]}),t.jsxs(he,{className:"icons",children:[e?c?t.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(I,{isDisabled:!0,"data-testid":u("delete-approval-rule",p)})})}):t.jsx(I,{onClick:()=>{x(!0)},"data-testid":u("delete-approval-rule",p)}):null,c?t.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(B,{isDisabled:!0,"data-testid":u("edit-approval-rule",p)})})}):t.jsx(B,{onClick:()=>{S(p)},"data-testid":u("edit-approval-rule",p)})]})]}),t.jsx(se,{windowSize:n,children:t.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((h,_)=>t.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?t.jsx(pe,{children:a.requireText}):t.jsx(de,{children:a.notifyText}),h.nonUserActors.filter(d=>d.subType!=null).map((d,E)=>t.jsxs(A,{children:[t.jsx(D,{children:d.subType!=null?a.nonUsers[d.subType].label:null}),h.operator!="is"?t.jsx(L,{className:"operator",children:h.operator}):null]},`${d.subType}_${E}`)),h.actors.map(d=>t.jsxs(A,{children:[t.jsxs(D,{children:[d.firstName," ",d.lastName]}),h.operator!="is"?t.jsx(L,{className:"operator",children:h.operator}):null]},d.userId))]},_))})}),w?t.jsx(F,{titleComponent:t.jsx(O,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(V,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:v}):null]})},oe=i.div`
1
+ import{y as H,e as N,O as j,V as o,a_ as G,L as q,b as u,o as t,x as r,l as M,a5 as P,bo as k,bR as F,bS as V,bT as O,cq as J,m as l,at as K,d as T,as as Q,f as z,cp as X,aR as Y,w as Z}from"./index-CilRLucN.js";import{n as i}from"./mui-Ckdcx_YE.js";import{a as ee}from"./sentry-D-LCra2M.js";import"./pdf-CwWlK-Dr.js";import"./zeni-epic-state-B1zsDZZ4.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.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]="e2ceeaa4-ff05-463d-97e8-abbf2f58257f",e._sentryDebugIdIdentifier="sentry-dbid-e2ceeaa4-ff05-463d-97e8-abbf2f58257f")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},U={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeRegular")},oe=({showDeleteBtn:e=!1,disableButtons:c=!1,isLastSection:g=!1,approvalRule:f,onEditRuleClick:S,onDeleteRuleClick:y})=>{const[w,x]=ee.useState(!1),n=N(),{range:m}=f.criteria[0],{steps:$,approvalRuleId:p}=f,a=j.getLocalizedStrings().commonSetUp.approval,v={onOkClick:()=>{x(!1),y?.(p)},onCancelClick:()=>{x(!1)}};return o.jsxs(te,{windowSize:n,isLastSection:g,isUpdatingApprovalRules:c,"data-testid":u("approval-rule-section",p),children:[o.jsxs(ie,{windowSize:n,children:[o.jsxs(ce,{children:[o.jsxs(W,{windowSize:n,children:[a.from," ",P("0,0",m.min)]}),o.jsxs(re,{children:[o.jsx(R,{}),o.jsx(le,{}),o.jsx(R,{})]}),m.max==null?o.jsx(me,{}):o.jsx(W,{windowSize:n,children:P("0,0",{...m.min,amount:m.max.amount})})]}),o.jsxs(he,{className:"icons",children:[e?c?o.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:o.jsx(C,{children:o.jsx(I,{isDisabled:!0,"data-testid":u("delete-approval-rule",p)})})}):o.jsx(I,{onClick:()=>{x(!0)},"data-testid":u("delete-approval-rule",p)}):null,c?o.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:o.jsx(C,{children:o.jsx(B,{isDisabled:!0,"data-testid":u("edit-approval-rule",p)})})}):o.jsx(B,{onClick:()=>{S(p)},"data-testid":u("edit-approval-rule",p)})]})]}),o.jsx(se,{windowSize:n,children:o.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((h,_)=>o.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?o.jsx(pe,{children:a.requireText}):o.jsx(de,{children:a.notifyText}),h.nonUserActors.filter(d=>d.subType!=null).map((d,E)=>o.jsxs(A,{children:[o.jsx(D,{children:d.subType!=null?a.nonUsers[d.subType].label:null}),h.operator!="is"?o.jsx(L,{className:"operator",children:h.operator}):null]},`${d.subType}_${E}`)),h.actors.map(d=>o.jsxs(A,{children:[o.jsxs(D,{children:[d.firstName," ",d.lastName]}),h.operator!="is"?o.jsx(L,{className:"operator",children:h.operator}):null]},d.userId))]},_))})}),w?o.jsx(F,{titleComponent:o.jsx(O,{children:a.deleteApprovalRuleTitle}),descriptionComponent:o.jsx(V,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:v}):null]})},te=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
@@ -21,13 +21,13 @@ import{y as H,e as N,O as j,V as t,a_ as G,L as q,b as u,o,x as r,l as M,a5 as P
21
21
  justify-content: space-between;
22
22
  text-align: center;
23
23
  width: ${e=>s.sectionWidth.valuePx(e.windowSize)};
24
- gap: ${o.sp2};
24
+ gap: ${t.sp2};
25
25
  `,re=i.div`
26
26
  align-items: center;
27
27
  display: flex;
28
28
  justify-content: center;
29
29
  `,le=i.div`
30
- width: ${o.sp8};
30
+ width: ${t.sp8};
31
31
  height: 2px;
32
32
  background-color: ${e=>e.theme.colors.primary};
33
33
  `,R=i.div`
@@ -47,8 +47,8 @@ import{y as H,e as N,O as j,V as t,a_ as G,L as q,b as u,o,x as r,l as M,a5 as P
47
47
 
48
48
  border: 1px solid ${e=>e.theme.colors.grey3};
49
49
 
50
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
51
- border-radius: ${o.sp2};
50
+ box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
51
+ border-radius: ${t.sp2};
52
52
 
53
53
  flex: none;
54
54
  order: 1;
@@ -59,7 +59,7 @@ import{y as H,e as N,O as j,V as t,a_ as G,L as q,b as u,o,x as r,l as M,a5 as P
59
59
  `,ae=i.ul`
60
60
  ${e=>`${U.stepper.style(e.windowSize)}`};
61
61
  position: relative;
62
- padding-left: ${o.sp6};
62
+ padding-left: ${t.sp6};
63
63
  list-style: none;
64
64
  box-sizing: initial;
65
65
  margin: 0;
@@ -81,7 +81,7 @@ import{y as H,e as N,O as j,V as t,a_ as G,L as q,b as u,o,x as r,l as M,a5 as P
81
81
  justify-content: flex-start;
82
82
  align-items: center;
83
83
  padding-left: ${e=>s.stepperItemPaddingLeft.valuePx(e.windowSize)};
84
- gap: ${o.sp1};
84
+ gap: ${t.sp1};
85
85
 
86
86
  > div:last-of-type > span.operator:last-of-type {
87
87
  visibility: hidden;
@@ -116,7 +116,7 @@ import{y as H,e as N,O as j,V as t,a_ as G,L as q,b as u,o,x as r,l as M,a5 as P
116
116
  width: ${e=>s.stepperWidthHeight.valuePx(e.windowSize)};
117
117
  height: ${e=>s.stepperWidthHeight.valuePx(e.windowSize)};
118
118
  top: ${e=>s.stepperContentTop.valuePx(e.windowSize)};
119
- left: -${o.sp6};
119
+ left: -${t.sp6};
120
120
  ${Z.standardMedium.css};
121
121
  text-align: center;
122
122
  color: ${e=>e.theme.colors.grey1};
@@ -137,13 +137,13 @@ import{y as H,e as N,O as j,V as t,a_ as G,L as q,b as u,o,x as r,l as M,a5 as P
137
137
  `,ce=i.div`
138
138
  display: flex;
139
139
  align-items: center;
140
- gap: ${o.sp2};
140
+ gap: ${t.sp2};
141
141
  `,he=i.div`
142
142
  display: flex;
143
- gap: ${o.sp5};
143
+ gap: ${t.sp5};
144
144
  `,I=i(X,{shouldForwardProp:e=>e!=="isDisabled"})`
145
- width: ${o.sp3};
146
- height: ${o.sp3};
145
+ width: ${t.sp3};
146
+ height: ${t.sp3};
147
147
  cursor: ${e=>e.isDisabled===!0?"not-allowed":"pointer"};
148
148
  color: ${e=>e.isDisabled===!0?e.theme.colors.grey2:e.theme.colors.hero};
149
149
  pointer-events: ${e=>e.isDisabled===!0?"none":"auto"};
@@ -154,8 +154,8 @@ import{y as H,e as N,O as j,V as t,a_ as G,L as q,b as u,o,x as r,l as M,a5 as P
154
154
  display: inline-flex;
155
155
  cursor: not-allowed;
156
156
  `,B=i(Y,{shouldForwardProp:e=>e!=="isDisabled"})`
157
- width: ${o.sp3};
158
- height: ${o.sp3};
157
+ width: ${t.sp3};
158
+ height: ${t.sp3};
159
159
  cursor: ${e=>e.isDisabled===!0?"not-allowed":"pointer"};
160
160
  color: ${e=>e.isDisabled===!0?e.theme.colors.grey2:e.theme.colors.hero};
161
161
  pointer-events: ${e=>e.isDisabled===!0?"none":"auto"};
@@ -163,8 +163,8 @@ import{y as H,e as N,O as j,V as t,a_ as G,L as q,b as u,o,x as r,l as M,a5 as P
163
163
  color: ${e=>e.isDisabled===!0?e.theme.colors.grey2:e.theme.colors.primary};
164
164
  }
165
165
  `,me=i(Q)`
166
- width: ${o.sp4};
167
- height: ${o.sp4};
166
+ width: ${t.sp4};
167
+ height: ${t.sp4};
168
168
  color: ${e=>e.theme.colors.hero};
169
169
  `,L=i.span`
170
170
  color: ${e=>e.theme.colors.hero};
@@ -175,13 +175,13 @@ import{y as H,e as N,O as j,V as t,a_ as G,L as q,b as u,o,x as r,l as M,a5 as P
175
175
  ${e=>`${U.amount.style(e.windowSize)}`};
176
176
  color: ${e=>e.theme.colors.primary};
177
177
  word-break: break-word;
178
- `,b={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Le=({approvalView:e,onBackClick:c,onEditRuleClick:g,onDeleteRuleClick:f})=>{const S=H(),y=N(),{fetchState:w,deleteStatus:x}=e,n=j.getLocalizedStrings().commonSetUp.approval,m=j.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,$=x.fetchState,p=e.listeningToPusherEvent;return t.jsxs(ue,{children:[t.jsx(G,{title:n.approvalPageHeader,backgroundColor:S.colors.grey4,style:{zIndex:4},onBackClick:()=>{c()},source:"ReimbursementApprovalRulesPage"}),t.jsxs(ge,{children:[t.jsx(xe,{windowSize:y,children:m.approvalPageSubTitle}),w==="In-Progress"||w==="Not-Started"||$==="In-Progress"?t.jsx(we,{children:t.jsx(q,{size:"ExtraLarge",start:!0})}):w==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((a,v)=>t.jsx(te,{showDeleteBtn:v!==0,disableButtons:p===!0&&a.approvalRuleId===e.newApprovalRuleId,approvalRule:a,isLastSection:v===e.allApprovalRules.length-1,onEditRuleClick:g,onDeleteRuleClick:f},a.approvalRuleId)),t.jsxs($e,{windowSize:y,onClick:()=>{g()},"data-testid":u("add-approval-rule"),children:[t.jsx(be,{}),t.jsx(fe,{children:n.addApprovalText})]})]}):null]})]})},ue=i.div`
178
+ `,b={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Le=({approvalView:e,onBackClick:c,onEditRuleClick:g,onDeleteRuleClick:f})=>{const S=H(),y=N(),{fetchState:w,deleteStatus:x}=e,n=j.getLocalizedStrings().commonSetUp.approval,m=j.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,$=x.fetchState,p=e.listeningToPusherEvent;return o.jsxs(ue,{children:[o.jsx(G,{title:n.approvalPageHeader,backgroundColor:S.colors.grey4,style:{zIndex:4},onBackClick:()=>{c()},source:"ReimbursementApprovalRulesPage"}),o.jsxs(ge,{children:[o.jsx(xe,{windowSize:y,children:m.approvalPageSubTitle}),w==="In-Progress"||w==="Not-Started"||$==="In-Progress"?o.jsx(we,{children:o.jsx(q,{size:"ExtraLarge",start:!0})}):w==="Completed"?o.jsxs(o.Fragment,{children:[e.allApprovalRules.map((a,v)=>o.jsx(oe,{showDeleteBtn:v!==0,disableButtons:p===!0&&a.approvalRuleId===e.newApprovalRuleId,approvalRule:a,isLastSection:v===e.allApprovalRules.length-1,onEditRuleClick:g,onDeleteRuleClick:f},a.approvalRuleId)),o.jsxs($e,{windowSize:y,onClick:()=>{g()},"data-testid":u("add-approval-rule"),children:[o.jsx(be,{}),o.jsx(fe,{children:n.addApprovalText})]})]}):null]})]})},ue=i.div`
179
179
  display: flex;
180
180
  min-height: 100%;
181
181
  flex-direction: column;
182
182
  width: 100%;
183
183
  background-color: ${e=>e.theme.colors.grey4};
184
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1}
184
+ box-shadow: ${e=>`${t.sp0} 2px ${t.sp1}
185
185
  ${e.theme.colors.dropShadowNormal}`};
186
186
  `,ge=i.div`
187
187
  display: flex;
@@ -197,7 +197,7 @@ import{y as H,e as N,O as j,V as t,a_ as G,L as q,b as u,o,x as r,l as M,a5 as P
197
197
  flex-direction: column;
198
198
  justify-content: center;
199
199
  align-items: center;
200
- gap: ${o.sp3};
200
+ gap: ${t.sp3};
201
201
  background-color: ${e=>e.theme.colors.grey4};
202
202
  `,xe=i(M)`
203
203
  color: ${e=>e.theme.colors.hero};
@@ -212,19 +212,19 @@ import{y as H,e as N,O as j,V as t,a_ as G,L as q,b as u,o,x as r,l as M,a5 as P
212
212
  flex-direction: row;
213
213
  justify-content: center;
214
214
  align-items: center;
215
- padding: ${o.sp3} ${o.sp4};
215
+ padding: ${t.sp3} ${t.sp4};
216
216
  gap: ${e=>b.addApprovalGap.valuePx(e.windowSize)};
217
217
 
218
218
  width: ${e=>b.width.valuePx(e.windowSize)};
219
- height: ${o.sp8};
219
+ height: ${t.sp8};
220
220
 
221
221
  background: ${e=>e.theme.colors.grey5};
222
222
 
223
223
  border: 1px solid ${e=>e.theme.colors.grey3};
224
224
 
225
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1}
225
+ box-shadow: ${e=>`${t.sp0} 2px ${t.sp1}
226
226
  ${e.theme.colors.dropShadowNormal}`};
227
- border-radius: ${o.sp2};
227
+ border-radius: ${t.sp2};
228
228
  color: ${e=>e.theme.colors.hero};
229
229
  box-sizing: border-box;
230
230
  &:hover {
@@ -234,10 +234,10 @@ import{y as H,e as N,O as j,V as t,a_ as G,L as q,b as u,o,x as r,l as M,a5 as P
234
234
  color: ${e=>e.theme.colors.primary};
235
235
  border-color: ${e=>e.theme.colors.primary};
236
236
  }
237
- margin-bottom: ${o.sp6};
237
+ margin-bottom: ${t.sp6};
238
238
  `,be=i(J)`
239
- width: ${o.sp3};
240
- height: ${o.sp3};
239
+ width: ${t.sp3};
240
+ height: ${t.sp3};
241
241
  `,fe=i.div`
242
242
  color: ${e=>e.theme.colors.hero};
243
243
  `;export{Le as default};
@@ -1,4 +1,4 @@
1
- import{_ as tt,V as t,fI as kt,h as zt,e as At,y as Mt,bF as Rt,x as m,O as it,ba as Pt,fJ as Bt,fK as Nt,bR as Ae,bS as Me,bT as Re,a_ as Pe,b as f,aM as _t,cR as Lt,fL as Wt,fU as Be,o as r,fM as Ne,c$ as b,fP as g,d5 as w,a5 as _e,eO as Le,w as H,fR as We,a9 as Et,k as Ot,be as Ft,fS as ne,aV as Kt,bf as Ut,a8 as Vt,d as Gt,M as Ht,l as rt,at,f as Y,H as Yt,bp as qt,C as Jt,gc as Zt,g7 as Qt,m as c,bH as Xt,co as ei}from"./index-mhb15COx.js";import{a as u}from"./sentry-Cm8I7E9J.js";import{n as a}from"./mui-G2MlMTlr.js";import{bG as ti,c6 as ii,G6 as ri}from"./zeni-epic-state-lC5X-sam.js";import ai from"./InvoiceUploadSection-58l6ePuH-CbCDsLyQ.js";import{r as oi,h as x,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./AttachmentView-SsWJw4A8-RJr9hQhO.js";import"./uploadReceipts-CIgkuVpu-BPECKX43.js";import"./upload-reimbursement-receipt-O2N8vcO7-BhCuFTsT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},$=new e.Error().stack;$&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[$]="ecbeac3d-40cc-4e39-9200-a6a426788fea",e._sentryDebugIdIdentifier="sentry-dbid-ecbeac3d-40cc-4e39-9200-a6a426788fea")}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])},li={formTitle:new Gt("h6Regular","h5Regular")},Ee=({remiDetails:e,uploadInvoiceEndPoint:$,authParams:z,isAdmin:_,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:p,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:ot,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:q,redirectToEditableReimbursementScreen:nt,onDuplicateLineClick:lt,approveOrRejectRemi:he,deleteReimbursement:st,cancelAndDeleteReport:ye,handleZeniLogoClick:dt,onAddNewRule:be,initialOpenThreadRequest:A})=>{const d=tt(),ct=zt().analytics,n=At(),ge=Mt(),[mt,M]=u.useState(!1),[J,Z]=u.useState(!1),[pt,Q]=u.useState(!1),[X,ee]=u.useState("approved"),L=u.useRef(null),[D,te]=u.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,ut]=u.useState(null),[ht,W]=u.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=u.useRef({}),xe=l=>{const o=we.current[l];o!=null&&setTimeout(()=>ni(o,L.current),100)};u.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&q()},[e,q]),u.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const o=l.substring(1);xe(o)}},[]),Rt({componentName:"reimbursement.details"});const yt={onOkClick:()=>{M(!1),D.primaryButtonText===i.buttons.delete?st?.():D.title===i.cancelReportTitle?ye?.():D.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{M(!1)}},S=s.labelWidth.value(n),R=s.largeLabelWidth.value(n),fe=it.getLocalizedStrings(),{common:{texts:{comments:bt},strings:{empty:ve}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:wt},tooltip:{resolveComment:xt,unResolveComment:ft}}},dateFormat:$e}=fe,{reimbursementDetail:i,bulkActions:E}=fe.spendManagement.reimbursement,ie=e.remiDetails?.reportTitle,I=e.remiDetails?.lines??[],O=e.remiDetails?.reimbursementInfo.stage,F=e.remiDetails?.reimbursementInfo.billStatus,K=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=O?.code==="paid",vt=Te?O:F?.code=="approved"&&K?.code?K:F,T=si(e.remiDetails),P=F?.code=="approved"&&K?.code?K:F,U=e.remiDetails?.isDeleted??!1,je=e.remiDetails?.amount,Se=e.remiDetails?.amount.amount??0,Ie=()=>{te({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),M(!0)},De=()=>{nt()},$t={onOkClick:l=>{Q(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{Q(!1)}},Tt=e.remiDetails?.reimbursementInfo.paymentDate!=null?ti(ii(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,re=e.remiDetails?.reimbursementInfo.expectedDepositDate??Tt,jt=e.remiDetails?.lines?.some(l=>{const o=l.lineDetail;return o?.account?.isDeleted===!0&&o?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&ot&&!jt,St=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ae=vt?.code,It=oi(e.duplicateLineByLineId),ke=e.duplicateReimbursementStatus.fetchState==="Completed"&&It>0,{requestToOpenThread:oe,setRequestToOpenThread:V,setOpenThread:G}=u.useContext(Pt);u.useEffect(()=>{A?.threadId!=null&&A?.companyId!=null&&A?.entityType!=null&&V(A)},[A,V]);const{threads:B,isLoading:C}=Bt(),Dt=u.useMemo(()=>B.filter(l=>l.resolved===!1&&!l.id.includes(Nt)),[B]).length,Ct=u.useCallback((l,o)=>{G(o),W(!1)},[G,W]);u.useEffect(()=>{oe?.threadId!=null&&B.length>0&&!C&&(G(oe.threadId),V(null))},[oe,B,C,G,V]);const y={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},N=ri(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:n,ref:L,children:[mt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:D.title}),descriptionComponent:t.jsx(Me,{children:D.description}),primaryButtonText:D.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:D.secondaryButtonText,action:yt}):null,pt?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:$t,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ci,{windowSize:n,"data-testid":f("reimbursement-detail-page-nav-bar-container"),children:[n!=="small"?t.jsx(Pe,{"data-testid":f("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(ki,{onClick:()=>dt?.(),"data-testid":f("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ge.colors.background,keepBackgroundOnScroll:!0,scrollableContent:L,source:"ReimbursementDetailPage"}):null,n!=="small"?t.jsx(Si,{}):null,t.jsx(Pe,{"data-testid":f("reimbursement-detail-page-nav-bar-right"),title:ie??ve,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:n!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ai,{children:[p?t.jsxs(Mi,{isDisabled:C,onClick:C?()=>null:l=>{l.preventDefault(),l.stopPropagation(),ut({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),W(!0),ct.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(o=>Lt(o)),void 0,void 0,"page icon")},"data-testid":f("remi-comments-section"),children:[t.jsx(_t,{count:C?void 0:Dt,isLoading:C,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Pi,{size:n,onClick:()=>{q()},"data-testid":f("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:L,enableTitleOnScroll:n!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Fi,{children:[n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Je,{windowSize:n,children:t.jsx(Ze,{windowsSize:n,children:ie})}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&T!=null?t.jsx(He,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null,P?.code!=null?n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Wt,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U}),N?t.jsx(Be,{variant:"warning",style:{margin:`${r.sp5} ${r.sp3}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):ke?t.jsxs(Oe,{size:n,children:[t.jsx(Ve,{}),t.jsxs(Ke,{children:[t.jsx(Fe,{children:i.thereSeems}),t.jsx(Ue,{children:i.pleaseFind})]})]}):null]}):t.jsx(qe,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U})}):null]}):null,I.map((l,o)=>{const j=e.duplicateLineByLineId[l.lineId];return t.jsxs(et,{windowSize:n,children:[t.jsx(Wi,{windowSize:n,children:t.jsx(Ei,{bottomSeperator:I.length!==1,windowSize:n,children:t.jsx(ai,{showAutofill:!1,uploadInvoiceEndPoint:$,authParams:z,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:I.length>1?`#${o+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:I.length-1===o||o===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Li,{windowSize:n,children:[o===0&&n!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(Je,{windowSize:n,children:[t.jsx(Ze,{windowsSize:n,children:ie}),me&&T!=null?t.jsx(He,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,P?.code!=null?t.jsx(qe,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U})}):null,N?t.jsx(Be,{variant:"warning",style:{margin:`${r.sp3} ${r.sp8} ${r.sp3} ${r.sp6}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):ke?t.jsxs(Oe,{size:n,children:[t.jsx(Ve,{}),t.jsxs(Ke,{children:[t.jsx(Fe,{children:i.thereSeems}),t.jsx(Ue,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(hi,{windowSize:n,ref:ze=>{ze!=null&&(we.current[`L${l.lineId}`]=ze)},children:[n!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:I.length>1?`#${o+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(bi,{windowSize:n,children:[j?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(j.isDuplicateWithinTransaction&&j.duplicateLineId!=null)return xe(`L${j.duplicateLineId}`);j.duplicateTransactionId!=null&&j.duplicateLineId!=null&&lt(j.duplicateTransactionId,j.duplicateLineId)},"data-testid":f("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:l.type===i.mileageKey?`${o}.mileage.reimbursementType`:`${o}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("reimbursementType",o,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:j?.duplicateLineId==null?`${r.sp2} ${r.sp2} 0 0`:"0 0 0 0"},children:t.jsx(g,{label:{label:i.reimbursementType,width:R},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:j?.duplicateLineId==null?`${r.sp2} ${r.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(v,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"mileage")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("distanceInMiles",o,"mileage")}`},children:t.jsx(g,{label:{label:i.distanceInMiles,width:R},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("amount",o,"mileage")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("memo",o,"mileage")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("class",o,"mileage")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"mileage")}`},style:{borderRadius:`0 0 ${r.sp2} ${r.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${r.sp2} ${r.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("merchant",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.merchant,width:R},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("amount",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("memo",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("account",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.category,width:S},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("class",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"out_of_pocket")}`},style:{borderRadius:`0 0 ${r.sp2} ${r.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${r.sp2} ${r.sp2}`}})})]})]})]}),I.length!==1&&I.length===o+1&&t.jsxs(_i,{windowSize:n,children:[t.jsxs(Qe,{windowSize:n,children:[t.jsx(Xe,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:H.h6Regular.cssObject,decimalStyles:H.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(We,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:be,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:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),I.length===1&&t.jsxs(et,{windowSize:n,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:n,children:[t.jsx(Ni,{windowSize:n,children:t.jsxs(Qe,{windowSize:n,children:[t.jsx(Xe,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:H.h6Regular.cssObject,decimalStyles:H.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:n,children:t.jsx(We,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:be,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:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Oi,{})]}),Te||U===!0?null:t.jsxs(Di,{children:[n!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:n,"data-testid":f("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),J===!0&&Z(!1)},children:t.jsx(Et,{separatorStyle:{marginRight:r.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"?n==="small"?i.buttons.delete:i.buttons.deleteReport:n==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:X==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||X==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(ee("delete"),Ie()):(ee("rejected"),Q(!0))},style:{width:s.footerButtonWidth.value(n)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.edit:i.buttons.editAndResubmit:n==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:X==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(ee("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},style:{width:s.footerButtonWidth.value(n)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(gi,{children:t.jsxs(Ii,{windowSize:n,children:[!N&&J?t.jsx(Ot,{onClickAway:()=>Z(!1),children:t.jsxs(ji,{windowSize:n,children:[ae!=="processing"?t.jsx(le,{onClick:Ie,"data-testid":f("remi-delete-action"),children:i.buttons.deleteReport}):null,ae==="processing"?t.jsx(le,{onClick:()=>{te({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},"data-testid":f("remi-cancel-action"),children:i.buttons.cancel}):null,ae==="processing"?t.jsx(le,{onClick:()=>{te({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},"data-testid":f("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:n,children:[!N&&Ce?t.jsx($i,{onClick:De,"data-testid":f("remi-edit-button"),children:t.jsx(vi,{})}):null,N||St!==!0?null:t.jsx(fi,{windowSize:n,showEditIcon:Ce,children:t.jsx(xi,{onClick:()=>Z(!J),"data-testid":f("remi-more-actions-button")})})]})]})}),style:{minHeight:62}})})]}),p?t.jsx(Ft,{isDrawerOpen:ht,allowComposer:!0,drawerTitle:bt,threads:B,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??ve,isGlobalComment:!1,tab:"reimbursement"},isLoading:C,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:wt,threadResolve:xt,threadUnResolve:ft},onThreadClick:(l,o)=>Ct(l,o),onCloseAllThreadsDrawer:()=>W(!1),drawerSectionStyle:{width:"400px",backgroundColor:ge.colors.background}}):null]})},lr=e=>{const $=tt().currentTenant?.companyId,z=e.remiDetails.remiDetails?.id;if(!e.isReimbursementCommentingEnabled||z==null||$==null)return t.jsx(Ee,{...e});const _=`dashboard_${$}`;return t.jsx(kt,{roomId:_,filter:{application:"dashboard",companyId:$,entityId:z,tab:"reimbursement",isGlobalComment:!1},children:t.jsx(Ee,{...e})})},si=e=>{const $=it.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:$.tabsById.deleted,color:ne.deleted.color,bgColor:ne.deleted.bgColor,borderColor:ne.deleted.borderColor,code:"deleted"}},di=a.div`
1
+ import{_ as tt,V as t,fI as kt,h as zt,e as At,y as Mt,bF as Rt,x as m,O as it,ba as Pt,fJ as Bt,fK as Nt,bR as Ae,bS as Me,bT as Re,a_ as Pe,b as f,aM as _t,cR as Lt,fL as Wt,fU as Be,o as r,fM as Ne,c$ as b,fP as g,d5 as w,a5 as _e,eO as Le,w as H,fR as We,a9 as Et,k as Ot,be as Ft,fS as ne,aV as Kt,bf as Ut,a8 as Vt,d as Gt,M as Ht,l as rt,at,f as Y,H as Yt,bq as qt,C as Jt,gc as Zt,g7 as Xt,m as c,bH as Qt,co as ei}from"./index-CilRLucN.js";import{a as u}from"./sentry-D-LCra2M.js";import{n as a}from"./mui-Ckdcx_YE.js";import{bG as ti,c6 as ii,G6 as ri}from"./zeni-epic-state-B1zsDZZ4.js";import ai from"./InvoiceUploadSection-DOuTQPee-DNxyr3cj.js";import{r as oi,h as x,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./AttachmentView-DQdb3v_e-BgOMzST7.js";import"./uploadReceipts-CIgkuVpu-CPDGmbPp.js";import"./upload-reimbursement-receipt-O2N8vcO7-DNsQOTk3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},$=new e.Error().stack;$&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[$]="d8e1f372-2479-43ca-b0cd-bcdd2cf533ed",e._sentryDebugIdIdentifier="sentry-dbid-d8e1f372-2479-43ca-b0cd-bcdd2cf533ed")}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])},li={formTitle:new Gt("h6Regular","h5Regular")},Ee=({remiDetails:e,uploadInvoiceEndPoint:$,authParams:z,isAdmin:_,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:p,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:ot,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:q,redirectToEditableReimbursementScreen:nt,onDuplicateLineClick:lt,approveOrRejectRemi:he,deleteReimbursement:st,cancelAndDeleteReport:ye,handleZeniLogoClick:dt,onAddNewRule:be,initialOpenThreadRequest:A})=>{const d=tt(),ct=zt().analytics,n=At(),ge=Mt(),[mt,M]=u.useState(!1),[J,Z]=u.useState(!1),[pt,X]=u.useState(!1),[Q,ee]=u.useState("approved"),L=u.useRef(null),[D,te]=u.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,ut]=u.useState(null),[ht,W]=u.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=u.useRef({}),xe=l=>{const o=we.current[l];o!=null&&setTimeout(()=>ni(o,L.current),100)};u.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&q()},[e,q]),u.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const o=l.substring(1);xe(o)}},[]),Rt({componentName:"reimbursement.details"});const yt={onOkClick:()=>{M(!1),D.primaryButtonText===i.buttons.delete?st?.():D.title===i.cancelReportTitle?ye?.():D.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{M(!1)}},S=s.labelWidth.value(n),R=s.largeLabelWidth.value(n),fe=it.getLocalizedStrings(),{common:{texts:{comments:bt},strings:{empty:ve}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:wt},tooltip:{resolveComment:xt,unResolveComment:ft}}},dateFormat:$e}=fe,{reimbursementDetail:i,bulkActions:E}=fe.spendManagement.reimbursement,ie=e.remiDetails?.reportTitle,I=e.remiDetails?.lines??[],O=e.remiDetails?.reimbursementInfo.stage,F=e.remiDetails?.reimbursementInfo.billStatus,K=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=O?.code==="paid",vt=Te?O:F?.code=="approved"&&K?.code?K:F,T=si(e.remiDetails),P=F?.code=="approved"&&K?.code?K:F,U=e.remiDetails?.isDeleted??!1,je=e.remiDetails?.amount,Se=e.remiDetails?.amount.amount??0,Ie=()=>{te({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),M(!0)},De=()=>{nt()},$t={onOkClick:l=>{X(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{X(!1)}},Tt=e.remiDetails?.reimbursementInfo.paymentDate!=null?ti(ii(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,re=e.remiDetails?.reimbursementInfo.expectedDepositDate??Tt,jt=e.remiDetails?.lines?.some(l=>{const o=l.lineDetail;return o?.account?.isDeleted===!0&&o?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&ot&&!jt,St=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ae=vt?.code,It=oi(e.duplicateLineByLineId),ke=e.duplicateReimbursementStatus.fetchState==="Completed"&&It>0,{requestToOpenThread:oe,setRequestToOpenThread:V,setOpenThread:G}=u.useContext(Pt);u.useEffect(()=>{A?.threadId!=null&&A?.companyId!=null&&A?.entityType!=null&&V(A)},[A,V]);const{threads:B,isLoading:C}=Bt(),Dt=u.useMemo(()=>B.filter(l=>l.resolved===!1&&!l.id.includes(Nt)),[B]).length,Ct=u.useCallback((l,o)=>{G(o),W(!1)},[G,W]);u.useEffect(()=>{oe?.threadId!=null&&B.length>0&&!C&&(G(oe.threadId),V(null))},[oe,B,C,G,V]);const y={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},N=ri(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:n,ref:L,children:[mt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:D.title}),descriptionComponent:t.jsx(Me,{children:D.description}),primaryButtonText:D.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:D.secondaryButtonText,action:yt}):null,pt?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:$t,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ci,{windowSize:n,"data-testid":f("reimbursement-detail-page-nav-bar-container"),children:[n!=="small"?t.jsx(Pe,{"data-testid":f("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(ki,{onClick:()=>dt?.(),"data-testid":f("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ge.colors.background,keepBackgroundOnScroll:!0,scrollableContent:L,source:"ReimbursementDetailPage"}):null,n!=="small"?t.jsx(Si,{}):null,t.jsx(Pe,{"data-testid":f("reimbursement-detail-page-nav-bar-right"),title:ie??ve,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:n!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ai,{children:[p?t.jsxs(Mi,{isDisabled:C,onClick:C?()=>null:l=>{l.preventDefault(),l.stopPropagation(),ut({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),W(!0),ct.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(o=>Lt(o)),void 0,void 0,"page icon")},"data-testid":f("remi-comments-section"),children:[t.jsx(_t,{count:C?void 0:Dt,isLoading:C,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Pi,{size:n,onClick:()=>{q()},"data-testid":f("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:L,enableTitleOnScroll:n!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Fi,{children:[n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Je,{windowSize:n,children:t.jsx(Ze,{windowsSize:n,children:ie})}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&T!=null?t.jsx(He,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null,P?.code!=null?n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Wt,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U}),N?t.jsx(Be,{variant:"warning",style:{margin:`${r.sp5} ${r.sp3}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):ke?t.jsxs(Oe,{size:n,children:[t.jsx(Ve,{}),t.jsxs(Ke,{children:[t.jsx(Fe,{children:i.thereSeems}),t.jsx(Ue,{children:i.pleaseFind})]})]}):null]}):t.jsx(qe,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U})}):null]}):null,I.map((l,o)=>{const j=e.duplicateLineByLineId[l.lineId];return t.jsxs(et,{windowSize:n,children:[t.jsx(Wi,{windowSize:n,children:t.jsx(Ei,{bottomSeperator:I.length!==1,windowSize:n,children:t.jsx(ai,{showAutofill:!1,uploadInvoiceEndPoint:$,authParams:z,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:I.length>1?`#${o+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:I.length-1===o||o===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Li,{windowSize:n,children:[o===0&&n!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(Je,{windowSize:n,children:[t.jsx(Ze,{windowsSize:n,children:ie}),me&&T!=null?t.jsx(He,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,P?.code!=null?t.jsx(qe,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U})}):null,N?t.jsx(Be,{variant:"warning",style:{margin:`${r.sp3} ${r.sp8} ${r.sp3} ${r.sp6}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):ke?t.jsxs(Oe,{size:n,children:[t.jsx(Ve,{}),t.jsxs(Ke,{children:[t.jsx(Fe,{children:i.thereSeems}),t.jsx(Ue,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(hi,{windowSize:n,ref:ze=>{ze!=null&&(we.current[`L${l.lineId}`]=ze)},children:[n!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:I.length>1?`#${o+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(bi,{windowSize:n,children:[j?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(j.isDuplicateWithinTransaction&&j.duplicateLineId!=null)return xe(`L${j.duplicateLineId}`);j.duplicateTransactionId!=null&&j.duplicateLineId!=null&&lt(j.duplicateTransactionId,j.duplicateLineId)},"data-testid":f("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:l.type===i.mileageKey?`${o}.mileage.reimbursementType`:`${o}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("reimbursementType",o,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:j?.duplicateLineId==null?`${r.sp2} ${r.sp2} 0 0`:"0 0 0 0"},children:t.jsx(g,{label:{label:i.reimbursementType,width:R},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:j?.duplicateLineId==null?`${r.sp2} ${r.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(v,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"mileage")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("distanceInMiles",o,"mileage")}`},children:t.jsx(g,{label:{label:i.distanceInMiles,width:R},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("amount",o,"mileage")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("memo",o,"mileage")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("class",o,"mileage")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"mileage")}`},style:{borderRadius:`0 0 ${r.sp2} ${r.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${r.sp2} ${r.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("merchant",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.merchant,width:R},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("amount",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("memo",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("account",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.category,width:S},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("class",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"out_of_pocket")}`},style:{borderRadius:`0 0 ${r.sp2} ${r.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${r.sp2} ${r.sp2}`}})})]})]})]}),I.length!==1&&I.length===o+1&&t.jsxs(_i,{windowSize:n,children:[t.jsxs(Xe,{windowSize:n,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:H.h6Regular.cssObject,decimalStyles:H.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(We,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:be,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:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),I.length===1&&t.jsxs(et,{windowSize:n,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:n,children:[t.jsx(Ni,{windowSize:n,children:t.jsxs(Xe,{windowSize:n,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:H.h6Regular.cssObject,decimalStyles:H.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:n,children:t.jsx(We,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:be,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:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Oi,{})]}),Te||U===!0?null:t.jsxs(Di,{children:[n!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:n,"data-testid":f("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),J===!0&&Z(!1)},children:t.jsx(Et,{separatorStyle:{marginRight:r.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"?n==="small"?i.buttons.delete:i.buttons.deleteReport:n==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:Q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(ee("delete"),Ie()):(ee("rejected"),X(!0))},style:{width:s.footerButtonWidth.value(n)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.edit:i.buttons.editAndResubmit:n==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:Q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(ee("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},style:{width:s.footerButtonWidth.value(n)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(gi,{children:t.jsxs(Ii,{windowSize:n,children:[!N&&J?t.jsx(Ot,{onClickAway:()=>Z(!1),children:t.jsxs(ji,{windowSize:n,children:[ae!=="processing"?t.jsx(le,{onClick:Ie,"data-testid":f("remi-delete-action"),children:i.buttons.deleteReport}):null,ae==="processing"?t.jsx(le,{onClick:()=>{te({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},"data-testid":f("remi-cancel-action"),children:i.buttons.cancel}):null,ae==="processing"?t.jsx(le,{onClick:()=>{te({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},"data-testid":f("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:n,children:[!N&&Ce?t.jsx($i,{onClick:De,"data-testid":f("remi-edit-button"),children:t.jsx(vi,{})}):null,N||St!==!0?null:t.jsx(fi,{windowSize:n,showEditIcon:Ce,children:t.jsx(xi,{onClick:()=>Z(!J),"data-testid":f("remi-more-actions-button")})})]})]})}),style:{minHeight:62}})})]}),p?t.jsx(Ft,{isDrawerOpen:ht,allowComposer:!0,drawerTitle:bt,threads:B,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??ve,isGlobalComment:!1,tab:"reimbursement"},isLoading:C,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:wt,threadResolve:xt,threadUnResolve:ft},onThreadClick:(l,o)=>Ct(l,o),onCloseAllThreadsDrawer:()=>W(!1),drawerSectionStyle:{width:"400px",backgroundColor:ge.colors.background}}):null]})},lr=e=>{const $=tt().currentTenant?.companyId,z=e.remiDetails.remiDetails?.id;if(!e.isReimbursementCommentingEnabled||z==null||$==null)return t.jsx(Ee,{...e});const _=`dashboard_${$}`;return t.jsx(kt,{roomId:_,filter:{application:"dashboard",companyId:$,entityId:z,tab:"reimbursement",isGlobalComment:!1},children:t.jsx(Ee,{...e})})},si=e=>{const $=it.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:$.tabsById.deleted,color:ne.deleted.color,bgColor:ne.deleted.bgColor,borderColor:ne.deleted.borderColor,code:"deleted"}},di=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
@@ -27,7 +27,7 @@ import{_ as tt,V as t,fI as kt,h as zt,e as At,y as Mt,bF as Rt,x as m,O as it,b
27
27
  margin-left: ${e=>s.duplicateBannerWrapperMarginLeft.valuePx(e.size)};
28
28
  background-color: ${Y.alertLight};
29
29
  border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
30
- `,Fe=a(Xt)`
30
+ `,Fe=a(Qt)`
31
31
  color: ${e=>e.theme.colors.brandColorGoldDark};
32
32
  `,Ke=a.div`
33
33
  width: 100%;
@@ -65,7 +65,7 @@ import{_ as tt,V as t,fI as kt,h as zt,e as At,y as Mt,bF as Rt,x as m,O as it,b
65
65
  justify-content: flex-end;
66
66
  `,wi=a.div`
67
67
  width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
68
- `,xi=a(Qt)`
68
+ `,xi=a(Xt)`
69
69
  cursor: pointer;
70
70
  color: ${e=>e.theme.colors.hero};
71
71
  width: ${r.sp5};
@@ -272,7 +272,7 @@ import{_ as tt,V as t,fI as kt,h as zt,e as At,y as Mt,bF as Rt,x as m,O as it,b
272
272
  flex-direction: column;
273
273
  margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
274
274
  margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
275
- `,Qe=a.div`
275
+ `,Xe=a.div`
276
276
  padding: ${r.sp3};
277
277
  display: flex;
278
278
  align-items: center;
@@ -283,7 +283,7 @@ import{_ as tt,V as t,fI as kt,h as zt,e as At,y as Mt,bF as Rt,x as m,O as it,b
283
283
  color: ${e=>e.theme.colors.hero};
284
284
  margin-bottom: ${e=>s.totalBottomMargin.valuePx(e.windowSize)};
285
285
  justify-content: space-between;
286
- `,Xe=a(qt)`
286
+ `,Qe=a(qt)`
287
287
  display: flex;
288
288
  width: 176px;
289
289
  color: ${e=>e.theme.colors.primary};
@@ -1,4 +1,4 @@
1
- import{_ as ne,y as S,e as k,a7 as le,V as e,b as a,eY as ae,a_ as de,a as u,c as d,O as _,o as s,D as me,c2 as ce,ab as Z,H as pe,x as xe,f as z,bM as he,ac as ue,au as ge,m as we}from"./index-mhb15COx.js";import{a as j}from"./sentry-Cm8I7E9J.js";import{n as t}from"./mui-G2MlMTlr.js";import{G5 as je,bL as be}from"./zeni-epic-state-lC5X-sam.js";import{C as fe}from"./VideoPopup-R3u0N_if-CaG3EJQq.js";import{M as v}from"./usp-line-BBd1wKwW-BqojtCEK.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./VideoPlayer-ZGjx_Hp7-CjY3r1rL.js";import"./media-player-OnsEq_AY.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]="3b51b4e3-f91b-4ce5-8edf-83f482ba2f7f",i._sentryDebugIdIdentifier="sentry-dbid-3b51b4e3-f91b-4ce5-8edf-83f482ba2f7f")}catch{}})();const E="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",F="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=t.div`
1
+ import{_ as ne,y as S,e as k,a7 as le,V as e,b as a,eY as ae,a_ as de,a as u,c as d,O as _,o as s,D as ce,c2 as me,ab as Z,H as pe,x as xe,f as z,bM as he,ac as ue,au as ge,m as we}from"./index-CilRLucN.js";import{a as j}from"./sentry-D-LCra2M.js";import{n as t}from"./mui-Ckdcx_YE.js";import{G5 as je,bL as be}from"./zeni-epic-state-B1zsDZZ4.js";import{C as fe}from"./VideoPopup-BPptwR51-Dm-cn-KD.js";import{M as v}from"./usp-line-BBd1wKwW-BBaxYQlT.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./VideoPlayer-wlJX6lEq-BRAB9bV0.js";import"./media-player-V7uSzi45.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]="a78d99c6-039a-486b-9d91-8a6c8641abc7",i._sentryDebugIdIdentifier="sentry-dbid-a78d99c6-039a-486b-9d91-8a6c8641abc7")}catch{}})();const E="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",F="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=t.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -7,12 +7,12 @@ import{_ as ne,y as S,e as k,a7 as le,V as e,b as a,eY as ae,a_ as de,a as u,c a
7
7
  `,Se=t.div`
8
8
  padding: ${i=>i.windowSize==="small"?`${s.sp0} ${s.sp3}`:`${s.sp0} ${s.sp8}`};
9
9
  text-align: center;
10
- `,ke=t(ce)`
10
+ `,ke=t(me)`
11
11
  max-width: 648px;
12
12
  margin: auto;
13
13
  padding: ${s.sp7} ${s.sp0};
14
14
  color: ${i=>i.theme.colors.primary};
15
- `,ze=t(me)`
15
+ `,ze=t(ce)`
16
16
  max-width: 600px;
17
17
  margin: auto;
18
18
  padding: ${s.sp5} ${s.sp0};
@@ -32,7 +32,7 @@ import{_ as ne,y as S,e as k,a7 as le,V as e,b as a,eY as ae,a_ as de,a as u,c a
32
32
  width: ${i=>i.windowSize==="small"?"auto":"376px"};
33
33
  display: flex;
34
34
  flex-direction: column;
35
- `,G=t.div`
35
+ `,O=t.div`
36
36
  width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
37
37
  overflow: hidden;
38
38
  max-width: 712px;
@@ -40,14 +40,14 @@ import{_ as ne,y as S,e as k,a7 as le,V as e,b as a,eY as ae,a_ as de,a as u,c a
40
40
  align-content: center;
41
41
  justify-content: center;
42
42
  align-items: center;
43
- `,O=t.div`
43
+ `,q=t.div`
44
44
  margin-left: ${i=>i.windowSize==="small"?s.sp0:s.sp6};
45
45
  margin-bottom: ${i=>i.windowSize==="small"?s.sp4:s.sp0};
46
46
  background: ${i=>i.theme.colors.grey3};
47
47
  border-radius: 12px;
48
48
  border: ${i=>`1px solid ${i.theme.colors.grey3}`};
49
49
  padding: 15px;
50
- `,m=t.div`
50
+ `,c=t.div`
51
51
  border-radius: ${s.sp12};
52
52
  border: ${i=>`1px solid ${i.theme.colors.grey2}`};
53
53
  padding: ${i=>i.windowSize==="small"?`${s.sp2} ${s.sp4} ${s.sp2} ${s.sp0}`:`${s.sp3} ${s.sp5} ${s.sp3} ${s.sp0}`};
@@ -66,19 +66,19 @@ import{_ as ne,y as S,e as k,a7 as le,V as e,b as a,eY as ae,a_ as de,a as u,c a
66
66
  color: ${i=>i.theme.colors.champion};
67
67
  `,$=t(he)`
68
68
  color: ${i=>i.theme.colors.champion};
69
- `,c=t.div``,p=t.div`
69
+ `,m=t.div``,p=t.div`
70
70
  padding-left: ${s.sp3};
71
71
  `,M=t(Z)`
72
72
  margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
73
73
  color: ${i=>i.theme.colors.grey1};
74
- `,H=t(v)`
74
+ `,G=t(v)`
75
75
  color: ${z.graphColor16Dark};
76
- `,Y=t(v)`
76
+ `,H=t(v)`
77
77
  color: ${z.graphColor09Dark};
78
- `,q=t(v)`
78
+ `,Y=t(v)`
79
79
  color: ${z.success};
80
80
  `,A=t(pe)`
81
81
  margin: ${s.sp3} auto;
82
82
  max-width: 772px;
83
83
  color: ${i=>i.theme.colors.hero};
84
- `,r=_.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=_.getLocalizedStrings().commonSetUp.businessVerification.terms,Te=()=>{const i=S(),o=k();return e.jsxs(V,{windowSize:o,children:[e.jsx(G,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:F,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:E,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(N,{windowSize:o,children:[e.jsxs(m,{windowSize:o,children:[e.jsx(c,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.simplestText.bold}),e.jsx(y,{children:r.simplestText.regular})]})]}),e.jsxs(m,{windowSize:o,children:[e.jsx(c,{children:e.jsx(Y,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.aiPoweredText.bold}),e.jsx(y,{children:r.aiPoweredText.regular})]})]}),e.jsxs(m,{windowSize:o,children:[e.jsx(c,{children:e.jsx(q,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.multiLevelApprovalText.bold}),e.jsx(y,{children:r.multiLevelApprovalText.regular})]})]})]})]})},Ce=()=>{const i=S(),o=k();return e.jsxs(V,{windowSize:o,children:[e.jsxs(N,{windowSize:o,children:[e.jsxs(m,{windowSize:o,style:{width:"376px"},children:[e.jsx(c,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx(f,{children:r.simplestText.bold}),e.jsx(b,{children:r.simplestText.regular})]})]}),e.jsxs(m,{windowSize:o,style:{width:"376px"},children:[e.jsx(c,{children:e.jsx(Y,{})}),e.jsxs(p,{children:[e.jsx(f,{children:r.aiPoweredText.bold}),e.jsx(b,{children:r.aiPoweredText.regular})]})]}),e.jsxs(m,{windowSize:o,style:{width:"376px"},children:[e.jsx(c,{children:e.jsx(q,{})}),e.jsxs(p,{children:[e.jsx(f,{children:r.multiLevelApprovalText.bold}),e.jsx(b,{children:r.multiLevelApprovalText.regular})]})]})]}),e.jsx(G,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:F,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:E,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})},He=({reimbursementSetupView:i,userReimbursementInfo:o,meetingUrl:T,videoUrl:J,analytics:x,onSetupButtonClick:K,onCreateNewRemiButtonClick:Q,onBackClick:W,onSetupReimbursementSuccess:C,onClickMenuIcon:X})=>{const P=ne(),[ee,ie]=j.useState(!1),[re,R]=j.useState(!1),se=S(),l=k(),{remiTermsDetails:h}=i,I=le(h?.fetchStatus.fetchState),te=je(P.loggedInUserRoleMap),w=be(P.loggedInUserRoleMap)&&!te,oe=!!o?.isReimbursementTOSAccepted,U=!!i.companyRemiInfo?.isReimbursementEnabled,B=w?U?r.employeeAcceptPromoText:r.employeePendingPromoText:r.promoText;j.useEffect(()=>{I==="In-Progress"&&h?.fetchStatus.fetchState==="Completed"&&C?.()},[I,C,h?.fetchStatus]);const D=()=>{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,re===!0?e.jsx(ae,{onCancelClick:()=>{R(!1)},meetingUrl:T,"data-testid":a("remi-promo-page-meeting-popup")}):null,e.jsx(de,{title:r.title,backgroundColor:se.colors.grey4,onBackClick:W,showBackButton:!w,showMenuIcon:l==="small"||l==="medium-compact",onClickMenuIcon:X,source:"ReimbursementPromoPage"}),e.jsxs(Se,{windowSize:l,children:[l==="small"?e.jsx(ze,{children:B}):e.jsx(ke,{children:B}),l==="small"?e.jsx(Te,{}):e.jsx(Ce,{}),e.jsx(ve,{children:w?e.jsx(e.Fragment,{children:U&&!oe?e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:r.scheduleDemoButton,onClick:D,"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:r.orText}),e.jsx(u,{variant:"primary",label:r.createNewReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:Q,"data-testid":a("reimbursement-promo-page-create-new-reimbursement-button")})]}),e.jsxs(A,{children:[r.terms.createTerms1,e.jsx(d,{href:r.terms.tosUrl,linkText:r.terms.zeniAgreement,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),r.terms.terms2,e.jsx(d,{href:r.terms.privacyPolicyUrl,linkText:r.terms.privacyPolicy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),r.terms.terms3]})]}):null}):e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:r.scheduleDemoButton,onClick:D,style:{width:216},"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:r.orText}),e.jsx(u,{variant:"primary",label:r.setupReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:K,style:{width:216},"data-testid":a("reimbursement-promo-page-setup-reimbursement-button")})]}),e.jsxs(A,{children:[r.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,r.terms.terms3]})]})})]})]})};export{He as default};
84
+ `,r=_.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=_.getLocalizedStrings().commonSetUp.businessVerification.terms,Te=()=>{const i=S(),o=k();return e.jsxs(V,{windowSize:o,children:[e.jsx(O,{windowSize:o,children:e.jsx(q,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:F,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:E,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(N,{windowSize:o,children:[e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.simplestText.bold}),e.jsx(y,{children:r.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.aiPoweredText.bold}),e.jsx(y,{children:r.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(Y,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.multiLevelApprovalText.bold}),e.jsx(y,{children:r.multiLevelApprovalText.regular})]})]})]})]})},Ce=()=>{const i=S(),o=k();return e.jsxs(V,{windowSize:o,children:[e.jsxs(N,{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:r.simplestText.bold}),e.jsx(b,{children:r.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:r.aiPoweredText.bold}),e.jsx(b,{children:r.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(Y,{})}),e.jsxs(p,{children:[e.jsx(f,{children:r.multiLevelApprovalText.bold}),e.jsx(b,{children:r.multiLevelApprovalText.regular})]})]})]}),e.jsx(O,{windowSize:o,children:e.jsx(q,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:F,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:E,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})},Ge=({reimbursementSetupView:i,userReimbursementInfo:o,meetingUrl:T,videoUrl:J,analytics:x,onSetupButtonClick:K,onCreateNewRemiButtonClick:Q,onBackClick:W,onSetupReimbursementSuccess:C,onClickMenuIcon:X})=>{const P=ne(),[ee,ie]=j.useState(!1),[re,R]=j.useState(!1),se=S(),l=k(),{remiTermsDetails:h}=i,I=le(h?.fetchStatus.fetchState),te=je(P.loggedInUserRoleMap),w=be(P.loggedInUserRoleMap)&&!te,oe=!!o?.isReimbursementTOSAccepted,U=!!i.companyRemiInfo?.isReimbursementEnabled,B=w?U?r.employeeAcceptPromoText:r.employeePendingPromoText:r.promoText;j.useEffect(()=>{I==="In-Progress"&&h?.fetchStatus.fetchState==="Completed"&&C?.()},[I,C,h?.fetchStatus]);const D=()=>{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,re===!0?e.jsx(ae,{onCancelClick:()=>{R(!1)},meetingUrl:T,"data-testid":a("remi-promo-page-meeting-popup")}):null,e.jsx(de,{title:r.title,backgroundColor:se.colors.grey4,onBackClick:W,showBackButton:!w,showMenuIcon:l==="small"||l==="medium-compact",onClickMenuIcon:X,source:"ReimbursementPromoPage"}),e.jsxs(Se,{windowSize:l,children:[l==="small"?e.jsx(ze,{children:B}):e.jsx(ke,{children:B}),l==="small"?e.jsx(Te,{}):e.jsx(Ce,{}),e.jsx(ve,{children:w?e.jsx(e.Fragment,{children:U&&!oe?e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:r.scheduleDemoButton,onClick:D,"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:r.orText}),e.jsx(u,{variant:"primary",label:r.createNewReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:Q,"data-testid":a("reimbursement-promo-page-create-new-reimbursement-button")})]}),e.jsxs(A,{children:[r.terms.createTerms1,e.jsx(d,{href:r.terms.tosUrl,linkText:r.terms.zeniAgreement,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),r.terms.terms2,e.jsx(d,{href:r.terms.privacyPolicyUrl,linkText:r.terms.privacyPolicy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),r.terms.terms3]})]}):null}):e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:r.scheduleDemoButton,onClick:D,style:{width:216},"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:r.orText}),e.jsx(u,{variant:"primary",label:r.setupReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:K,style:{width:216},"data-testid":a("reimbursement-promo-page-setup-reimbursement-button")})]}),e.jsxs(A,{children:[r.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,r.terms.terms3]})]})})]})]})};export{Ge as default};