@zeniai/web-cockpit-ui 1.14.92-qa → 1.14.93-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 (274) hide show
  1. package/dist/assets/{ACHDetailsPage-B6sY0jN6-N3NijvTk.js → ACHDetailsPage-Cmt4zlsa-CVV8HYnx.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BWK9fXrz-B46uJ0El.js → AIPerformancePage-Bll3cTy1-gL3wACpX.js} +1 -1
  3. package/dist/assets/AccountInfoPage-D2IedGAy-DpkY7tZI.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-nUi26Aww-N_K5j-5L.js → AccountInfoPageContent-9wbA8niq-Bqglb0N2.js} +10 -10
  5. package/dist/assets/{AccountLockedInfoModal-BROj4bmE-V1SEL3Qw.js → AccountLockedInfoModal-CLvVkdLW-bPK5I-r7.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-C-3FFCQZ-DZ5koKQf.js → AccountReconDetailsDrawerPage-BXa1TZA0-CJ_GlXhF.js} +1 -1
  7. package/dist/assets/{AccountRow-BM2kGWyR-DQ8Rvnec.js → AccountRow-Ba39SxP8-8PYcW3Va.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CNCG5uPJ-BDG6T0ii.js → AccountsPromoCardStack-W5TW8HPU-Cm5YfN59.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-BuAtFO1w-BKpEIMZg.js → AddAddressForCardDrawer-nEnaGKnm-DN6yVFPQ.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DyrcWdBZ-ChwqMR_w.js → AddToWalletPage-CQYHG0Yj-CP1osDBN.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-CmluxKG3-DNRV6c6-.js → AgingReportsPage-BWCU11pF-MZUqlZXC.js} +3 -3
  12. package/dist/assets/{AllUserItems-CVZZU-J3-DjzFcOA-.js → AllUserItems-DPxoQeZA-Fd0FWod6.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-CoNxqskm-CIfrHyiI.js → ApAgingDetailPage-cslGsO08-CvebivaV.js} +4 -4
  14. package/dist/assets/{AppBasePage-CTGNzUtN-BxUgxZY1.js → AppBasePage-BZINcjPW-DJOgvT_q.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-59dQVUxu-Bk_swqDi.js → AppDrawerContent-V7jCH_90-Ck_yeGZ4.js} +6 -6
  16. package/dist/assets/{ApprovalRulesSettingsPage-XEW5sdNg-BK59UBGX.js → ApprovalRulesSettingsPage-BC6CLesU-BKNNkRpO.js} +1 -1
  17. package/dist/assets/{ArAgingChart-D3Ym4gVE-BPogMxt4.js → ArAgingChart-C7VtW0AI-Co8wpWo7.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-BLEJSLJJ-DnXOhqdM.js → ArAgingDetailPage-Bttq4jQR-BeQILYq-.js} +5 -5
  19. package/dist/assets/{AttachmentView-DSP80cjm-NHnh6Mdu.js → AttachmentView-BijZrB02-BJhcTpzV.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DRrNcA79-CMDsEq6F.js → BankAccountSection-De0m3zrf-DJo0ErGm.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Ub-gsfhE-7pAzeIus.js → BankAccountWarningSection-DoqOr9h0-CysUjzfB.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BcTtJTbg-BNbLLF3r.js → BankConnectionsSettingsPage-BaySatUW-BFaS82zx.js} +1 -1
  23. package/dist/assets/{BillDetailPage-D7AQyxwr-CyadkftM.js → BillDetailPage-Bg_3myu0-BcOsOHp0.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BQWGENO8-OOGXr03N.js → BillPayApprovalRuleDetailPage-B7z1PKq6-D3qc7XQa.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-BbA1Nwqe-j1N_aljZ.js → BillPayApprovalRulesPage-Cj55NkSk-CVNQ2WUg.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DSTS_vBW-BsBV0DcZ.js → BillPayPromoPage-SUtLQemf-YRwlMQqq.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-CvlVPVCA-DsATmWij.js → BillPaySetUpPage-BbIjaE2K-BvM1AO08.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-nKpHtd4C-BIkuGZHo.js → BillingSettingsPage-Bmd6ET1I-D1Hos3cN.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DNHAoceL-B2Yv3rwx.js → BillsBulkReviewDrawerPage-CYSMvAbC-CCvMSRtJ.js} +1 -1
  30. package/dist/assets/{BoxItem-Bjv3WNXO-Bmh7HRZ0.js → BoxItem-B8HVRhgE-Bev68PFI.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Bj4D9bX2--QW88Q_P.js → BusinessVerificationPage-Cn1b1hk4-CAZR1TOe.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BYY-Inxd-CSceDgF3.js → CardNumberSubText-BcJnpRxI-D1zdlj5r.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-D9UiTqp9-DPXvQZAq.js → CashbackDetailPage-BkIotpWn-DxPDsNjO.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-C5EdiIyl-AUN78atw.js → ChargeCardDetailPage-kKKhppzB-DtYb-jra.js} +21 -21
  35. package/dist/assets/{ChargeCardListPage-DZwz1qoD-DQocCvnr.js → ChargeCardListPage-CP778-GK-CTP7-db-.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-D5B05Z1F-KVV8IBYB.js → ChargeCardListTable-DBryLHST-Ce2gmrfZ.js} +1 -1
  37. package/dist/assets/ChargeCardPromoPage-D_eQ_vXf-CNDMyI7K.js +222 -0
  38. package/dist/assets/{ChargeCardSetupPage-CVV24gS9-Ds7fCLxo.js → ChargeCardSetupPage-m8dUXi38-BJz_Xnlk.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-CmjBoi5e-Bnp4sCU-.js → ChargeCardStatementsPage-Dq5NpUXk-Bke0Yjm9.js} +6 -6
  40. package/dist/assets/{CheckDepositDrawerPage-CYOhT5Qz-CozIPmiJ.js → CheckDepositDrawerPage-BJQ2GSoP-CvcGnuco.js} +1 -1
  41. package/dist/assets/{CollapsableReportTable-hL_Ycouc-KGnZDH4R.js → CollapsableReportTable-l16Ixpgb-BS0sBPj9.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-DR_6TlQa-DrGlDAaW.js → CompanyOfficerDetailsSection-mKcrRkb5-BdmL4WQb.js} +1 -1
  43. package/dist/assets/{CompanyPassportCard-B4chn7-Q-DGHVZCpU.js → CompanyPassportCard-DUwjb7jY-D94p2vYM.js} +4 -4
  44. package/dist/assets/{CompanyPassportPage-oT9HnnPQ-DNPtIA1F.js → CompanyPassportPage-mQ_Le1I1-BsfzlRNE.js} +13 -13
  45. package/dist/assets/{CompleteProfile-BgH4v76Z-HQhF1Tnv.js → CompleteProfile-CesiGAex-BxV2T4kD.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-Cl6jHJ8H-BB3Ewauq.js → ConfettiBurst-CXF_94LB-B61erBlR.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-CW-u7pJU-CxvgfQ3K.js → CreateOrEditVendorPage-BMVOhEEP-okcAo0FU.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-D30M7ol4-BfZHC7sf.js → CreditCardPaymentDrawerPage-Cl4vJBjO-BN2fXeeY.js} +1 -1
  49. package/dist/assets/{CurrencySelectField-DOCEstMc-4lvoNI5d.js → CurrencySelectField-CvnrYpdi-Bx3ura4E.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-DMPNjFL_-DkUUUgp5.js → CustomerOnboardingActivationPage-CmengYgm-DwWvQDwP.js} +1 -1
  51. package/dist/assets/CustomerOnboardingContainerPage-CBiHoKP2-K1SzPxIX.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CBYo4VQn-ClJXJPQ8.js → CustomerOnboardingDetailPageSkeleton-hF2fjE7f-Bx4vnxk_.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-EBVRCYfJ-DY1xcrcE.js → CustomerOnboardingNoStepsPage-B-pbVz1_-Bu3QH6hN.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingPage-TJK6s-LM-DGpejEDj.js → CustomerOnboardingPage-CUj-SOSh-DqZnrHrN.js} +4 -4
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-lNIP5gSu-BpAiXbOh.js → CustomerOnboardingProductSuitePage-DLJg9lqc-B7ctGtPH.js} +1 -1
  56. package/dist/assets/{Dashboard-WiE9IRrh-BRbsM9pb.js → Dashboard-DUBT_4AU-BQQLhc7F.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-BKHl_IVD-DTdIqAWm.js → DashboardReportPage-cTPn6w4q-BsaoYjkr.js} +1 -1
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-B1mJObim-BJFLo9e1.js → DashboardSidebarBackgroundAnimation--y1-phUW-DGEiib0J.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-C8tChaJS-CUI-XvYn.js → DepositAccTransactionItem-BJ6rNbQF-DcQ3w2ay.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionListPage-B6px7upV-CAKSUpuQ.js → DepositAccTransactionListPage-BXu7yVC4-BqrqxoR4.js} +1 -1
  61. package/dist/assets/{DomesticWireDetailsPage-BFQJmzYm-Cvg6PoJI.js → DomesticWireDetailsPage-D5wDMrfR-C5cM-TE-.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-DB-qx46O-DRYhMrBp.js → DownloadOverlay-BF8Uzj65-BjVIvIOE.js} +1 -1
  63. package/dist/assets/{DrawerPage-Bha9ElcW-C9kSY38Y.js → DrawerPage-4QqiD5ag-BNPe32xq.js} +1 -1
  64. package/dist/assets/{EditPeoplePage-B6QD5Vld-CXWYhfJI.js → EditPeoplePage-BFROUzlu-DwFofRms.js} +1 -1
  65. package/dist/assets/{EditReimbursementDetailPage-EplOf2mP-BmU_dNnN.js → EditReimbursementDetailPage-Bz32u6U5-D6GoDZH_.js} +1 -1
  66. package/dist/assets/EntityDetailPage-BnG_PBK5-88aNTDFS.js +18 -0
  67. package/dist/assets/{EntitySummarySection-D6z6-dM7-vFKpzYQr.js → EntitySummarySection-0nKZeBKn-BkqQH4-k.js} +1 -1
  68. package/dist/assets/{ExpenseAutomationOverviewPage-DkoxczRc-CzYr7CT4.js → ExpenseAutomationOverviewPage-Dvyn5ovf-DA904IZ7.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationPage-Na3XKgcg-Wa84iqJd.js → ExpenseAutomationPage-DPmIOATd-E0cwlhE5.js} +40 -40
  70. package/dist/assets/{ExpressPayPage-DWGl_gml-CRw3YebY.js → ExpressPayPage-DGTh3qGM-CBuhnCa1.js} +1 -1
  71. package/dist/assets/{FeaturePreviewPage-BgkpUPMm-CLV_zrhe.js → FeaturePreviewPage-CHUVkqak-Bv1bUX1B.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-64oy2OLD-D5wds5zX.js → FollowStepsSection-C_pWSlPc-DWF54WG6.js} +1 -1
  73. package/dist/assets/{GlobalReviewListPage-DHfTyj2C-DrMGniw6.js → GlobalReviewListPage-BjPOnObQ-CbXiHvNN.js} +1 -1
  74. package/dist/assets/{InformationCardStack-Dw3lhl2I-ClHKBDYE.js → InformationCardStack-DvFu-gjh-DGBl4kd-.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-BiEswY1Z-C2XN504y.js → InsightsCardStack-CR3wSnhE-CCTCkrt4.js} +6 -6
  76. package/dist/assets/{InsightsSection-DvqCilqy-BqRQFw_O.js → InsightsSection-DCFjudcA-7O17fZbk.js} +2 -2
  77. package/dist/assets/{IntegrationsSettingsPage-DzVYf5ff-BEtTe2lB.js → IntegrationsSettingsPage-DpPc99qg-BuRPrwyt.js} +1 -1
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-DTHcuQsH-Uu1Wdthf.js → InternationalWireSwiftDetailsPage-xXEk6Ubv-DgeDkVIK.js} +4 -4
  79. package/dist/assets/{InternationalWireVerificationPage-BzyRqd-m-gNDPMl13.js → InternationalWireVerificationPage-uh0GqYQA-9ZEgxwG_.js} +5 -5
  80. package/dist/assets/{InviteFormPage-CaJB3ss1-Dj_gKJs9.js → InviteFormPage-5xqk5ISe-Bbb5YAD8.js} +1 -1
  81. package/dist/assets/{InvitePageListView-8Ltt8tHx-DYbENij5.js → InvitePageListView-CpmTnQLj-CTufHHPe.js} +1 -1
  82. package/dist/assets/{InvitePeoplePage-A7oKAD7M-C5bAVAcX.js → InvitePeoplePage-BeCWfFpI-DBINJPSA.js} +1 -1
  83. package/dist/assets/{InvoiceUploadSection-DomquLut-CTyd6fPs.js → InvoiceUploadSection-BvaKEakI-Cgqd0lG_.js} +1 -1
  84. package/dist/assets/{IssueChargeCardPage-DtIQ1Buk-BLXlwWiG.js → IssueChargeCardPage-Bomvo_PH-CiqvhZJZ.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-B_9lh-_a-B95nYnAc.js → LabeledAddressValue-b4zlBP-g-DPs_zAUA.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-CC7T3qZQ-LVQIjlS2.js → LabeledAddressValueField-DpcuqwLy-CTnD7CIG.js} +1 -1
  87. package/dist/assets/{LabeledControlledCheckBoxField-CeMM7Ci3-Clti8s6a.js → LabeledControlledCheckBoxField-BTjbeJMZ-ByFU_udW.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-DKD0oEl8-rzHX0Cjw.js → LabeledCreatableSingleSelectField-D_oWjB4_-A2URoXC_.js} +1 -1
  89. package/dist/assets/{LabeledDocumentField-Dy3jwAiL-CjVSpNoY.js → LabeledDocumentField-dtnakMLl-DM4CLrZI.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-DDzM3r6s-DIS19Wrm.js → LabeledDropDownFormattedTextField-DDtxGo1u-9ainO5Wl.js} +1 -1
  91. package/dist/assets/{LabeledText-axaAGyUS-Cc0biyMh.js → LabeledText-CUs3VIof-3boaO8Y1.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-B4usNbPq.js → LabeledUserSingleSelectWithSubtitlesField-BusH2qnZ-GKSXWTga.js} +1 -1
  93. package/dist/assets/{LabeledZeniRolesDropDownField-dpz7g9jK-BGB3Jdty.js → LabeledZeniRolesDropDownField-DYkmOsOP-Dg0kuJ4H.js} +1 -1
  94. package/dist/assets/{LinkJETransactionPage-CJniqVcu-Dl5Jaq82.js → LinkJETransactionPage-DbP6jfzn-BtGeDf5_.js} +2 -2
  95. package/dist/assets/{LockCardPage-CjO8cr2a-C0ag-VRe.js → LockCardPage-CWEZyzEM-Bg4PM8JQ.js} +1 -1
  96. package/dist/assets/{LowBalancePopup-DVS-w3b7-C64DlvyA.js → LowBalancePopup-BQ9JPBTS-DRn4mn9-.js} +1 -1
  97. package/dist/assets/MagicLinkACHDetailsPage-CKoTuvNz-BHd5xcLb.js +1 -0
  98. package/dist/assets/MagicLinkDomesticWireDetailsPage-Di5hHI_D-C4fzv92i.js +1 -0
  99. package/dist/assets/MagicLinkInternationalWireDetailsPage-B2izwKNk-B8pTw_O-.js +1 -0
  100. package/dist/assets/{MagicLinkSuccessPage-DAAoq3iT-Cb7vsYv6.js → MagicLinkSuccessPage-DU1RM5NI-Wq9yOHXi.js} +1 -1
  101. package/dist/assets/{MagicLinkTitleSection-FMRBLlRJ-D1rSc1wL.js → MagicLinkTitleSection-RWEjrx8m-CX8Fw-B8.js} +1 -1
  102. package/dist/assets/{MailingDetailsSection-CiJ5JLA6-CVbfqxKr.js → MailingDetailsSection-BT3SGHhD-Ctkbx47B.js} +5 -5
  103. package/dist/assets/{Menu-wpP8R1br-CDR69j-M.js → Menu-BTZYMOTT-CKMXXApd.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-DIIFgnkE-CT2Ewuup.js → MyBankConnectionsSettingsPage-DufaL9n8-M4dyrfVV.js} +1 -1
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-Di_KYRgS-BFvuAnPu.js → MyPendingActivationChargeCardListPage-DwCUyRec-SM92wYsw.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-m6vaeGgZ-Cx8XMhhr.js → MyProfileSettingsPage-geduKqxy-CauaXJ2g.js} +1 -1
  107. package/dist/assets/{NavBarWithPicker-C_qO8mgD-geTPzVGH.js → NavBarWithPicker-edkm8kW--DTJVRU93.js} +1 -1
  108. package/dist/assets/{NavigationArrow-BXYIj6Wz-DxylPz8_.js → NavigationArrow-DAOz2wst-CzpVYMv0.js} +1 -1
  109. package/dist/assets/{NavigationDots-BvKSgdgh-DnL6Qcxw.js → NavigationDots-Dm8SYcdL-CXSz5QAZ.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-Dc3xEoiZ-DJJCwQJu.js → NewGlobalMerchantPage-enaZFSVb-D5ALf38h.js} +1 -1
  111. package/dist/assets/{NoDataChart-C5ZP32zB-Do8u5LpV.js → NoDataChart-BIcLmdso-V1__FO4W.js} +1 -1
  112. package/dist/assets/{NoDataTable-BnBYE8p_-CJWClG-R.js → NoDataTable-C9ywvwy4-CbJRpj1w.js} +1 -1
  113. package/dist/assets/{NotFoundPage-CZ25GWwU-D5LCq84E.js → NotFoundPage-B0Pfc4vD-0nVsRFSV.js} +4 -4
  114. package/dist/assets/{NotificationSettingsPage-DHvgj7Hu-CCcN1KXB.js → NotificationSettingsPage-Di4KhoPI-Zq8167Bo.js} +1 -1
  115. package/dist/assets/{NotificationsListConfig-BBLSv0sd-BGRRXCpg.js → NotificationsListConfig-CHb7phwi-CuAMA5zK.js} +1 -1
  116. package/dist/assets/{NotificationsPage-CGVEC-Zc-B9yt_ti_.js → NotificationsPage-B4KMZZ0V-CdnEBa77.js} +1 -1
  117. package/dist/assets/{OpExByVendorPage-D55JZne--B9z73Aaj.js → OpExByVendorPage-CAxLWg7x-CVAp3gyR.js} +1 -1
  118. package/dist/assets/{OverlayContainerPage-Daz3A7cI-BlqK5Szj.js → OverlayContainerPage-Daz3A7cI-C0naTs3U.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-fVmttEKP-B3eSa_ac.js → PandLWithForecastPage-Dx56-ypM-CahTbCAI.js} +1 -1
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BiU8tQnm-c1f9nhzK.js → PaymentAccountSetupBillingAddressSection-C8QwChEK-DSZP0_gt.js} +1 -1
  121. package/dist/assets/{PeoplePage-QuuuX2AS-CP4Oiarf.js → PeoplePage-CjD6uKA--DQJyasjD.js} +1 -1
  122. package/dist/assets/{Preview-D_TLok3M.js → Preview-BXKaaVKN.js} +1 -1
  123. package/dist/assets/{ProductsCarousel-zdZkfaiY-BAVEH7n3.js → ProductsCarousel-DzOaqLVq-BtBP3iUE.js} +1 -1
  124. package/dist/assets/{PromoBaseCards-flFtcbIg-jrIM0QrX.js → PromoBaseCards-B1h9AEH0-CHWZv_Gb.js} +1 -1
  125. package/dist/assets/{QBOConnectionDialog-DNB2C1vQ-BnuZQtJT.js → QBOConnectionDialog-Bv6unk3C-C69fuiCc.js} +1 -1
  126. package/dist/assets/{QBOSetupSection-B59etoGz-CvnIV44k.js → QBOSetupSection-BTjj7g98-CXsc6nTM.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7do3o0A-B3uF2PpS.js → ReimbursementApprovalRuleDetailPage-CHXo51lU-BT66bgjF.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRulesPage-BJ6GewQ2-CI_WNFN9.js → ReimbursementApprovalRulesPage-D7utb8vM-BSv0WO21.js} +1 -1
  129. package/dist/assets/{ReimbursementDetailPage-DKAtYSOy-BYwReov9.js → ReimbursementDetailPage-DnXsG55s-DO7QVibn.js} +1 -1
  130. package/dist/assets/{ReimbursementPromoPage-DKcSHlHp-BOhDSZIX.js → ReimbursementPromoPage-Di39wgvD-CwoSxp24.js} +1 -1
  131. package/dist/assets/{ReimbursementSetUpPage-Y1e_hna--CnJCcZRF.js → ReimbursementSetUpPage-CT5bs4wM-CImglJgz.js} +1 -1
  132. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-fgz8s4w9-CAzDstkl.js → ReimbursementsBulkReviewDrawerPage-BcB8hTar-D2swNEDZ.js} +1 -1
  133. package/dist/assets/{ReloadCard-DjtdPHq5-CgzPEC_D.js → ReloadCard-BGPtXAV7-D43T0ICm.js} +1 -1
  134. package/dist/assets/{ReportTableViewSelector-C8e6IEWt-D27pdQgl.js → ReportTableViewSelector-gEKTiiSk-DFp8GlM2.js} +1 -1
  135. package/dist/assets/{ReportsPage-BIe0eDLC-Co8P-rdS.js → ReportsPage-Ctvnzlk1-DLJ23fuU.js} +1 -1
  136. package/dist/assets/{RevenueChart-Cc0XrxLL-DRL5_7kK.js → RevenueChart-D1PfVLk0-DHVFjjTE.js} +14 -14
  137. package/dist/assets/{ReviewDetailsPage-CU1AYWgR-IcGqiZda.js → ReviewDetailsPage-Ynw6pln--BjtdFL4i.js} +52 -52
  138. package/dist/assets/{ReviewOverlay-CruJ9O84-CthGk06w.js → ReviewOverlay-DQZwNpFY-DMkxDhbs.js} +1 -1
  139. package/dist/assets/{RoleWithToolTip-fC3byzzv-BDZeG5VC.js → RoleWithToolTip-DbQ4ezrP-Dd2VpMcB.js} +1 -1
  140. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CE3tUYhk-DcGdGX8N.js → ScheduleDetailsFixedAssetsPage-DlqQBt-s-drLmv8lF.js} +3 -3
  141. package/dist/assets/{ScheduleDetailsPage-BhAqJ1Of-s9CD1J6-.js → ScheduleDetailsPage-CrVetPy7-CWE6_gjF.js} +3 -3
  142. package/dist/assets/{ScheduleSequenceTable-NSt1juSD-C3Jz7484.js → ScheduleSequenceTable-B7pQ00z8-CEVjTUeV.js} +1 -1
  143. package/dist/assets/{ScreenRoutes-DBIBtKZ6.js → ScreenRoutes-Sl9iaV1P.js} +1 -1
  144. package/dist/assets/{SetUpAccountSection-C1EnJv1V-ZQCPg01L.js → SetUpAccountSection-BAsI7p1f-Dy9q8TNa.js} +1 -1
  145. package/dist/assets/{SignIn-BhIof_Cm-C6zVZKL4.js → SignIn-CE6gxhI3-CtZacIY2.js} +1 -1
  146. package/dist/assets/{SignInScreen-C_Uhm3dv.js → SignInScreen-BTo7-KSm.js} +1 -1
  147. package/dist/assets/{SpendManagementListViewPage-BEWNNX_Z-CFLCn2A9.js → SpendManagementListViewPage-CURCimXb-CsGfTOO_.js} +3 -3
  148. package/dist/assets/{SpendManagementPerTabPage-Vs1Eoxgd-Cf5o66Fk.js → SpendManagementPerTabPage-RY3B-92H-DYTGBiT6.js} +1 -1
  149. package/dist/assets/{SpendManagementSection-C38Zpi1z-Dsmd6P_g.js → SpendManagementSection-rHLuZG8_-UxYLxpbV.js} +1 -1
  150. package/dist/assets/StatementItem-DcPGZchp-CZE_bKaq.js +31 -0
  151. package/dist/assets/{StatementsPage-CGQhmaXx-DwbHPW5v.js → StatementsPage-5oimgNHp-D8qK05-P.js} +1 -1
  152. package/dist/assets/{StatusSwitcher-7fiKLb5g-CZU0SQgq.js → StatusSwitcher-CLCkXs_4-DhXpfaBL.js} +1 -1
  153. package/dist/assets/{SubTabSwitcher-9AnfZiNy-D-dNVqVx.js → SubTabSwitcher-DDR7LrDO-DpWQK8Dj.js} +1 -1
  154. package/dist/assets/{SummaryCard-DOycYLs1-CcLAM0vu.js → SummaryCard-Cg5UVud3-DPRQua4j.js} +1 -1
  155. package/dist/assets/{TaskManagementPage-CehyMnY0--Bl4WZC5.js → TaskManagementPage-6_zt2ePp-BeO6Q35e.js} +1 -1
  156. package/dist/assets/{TimeRangeSwitcher-Dq2FEgFR-BrHVvGr5.js → TimeRangeSwitcher-BTx3d66N-DkQSngDA.js} +11 -11
  157. package/dist/assets/{TimeframeSwitcher-By3xz_-m-B76KUVWR.js → TimeframeSwitcher-BkGiMDhd-Dhql0xBj.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcherWithToggle-a3fmbzNR-D8G4gF3d.js → TimeframeSwitcherWithToggle-M554ai9V-DeR389hA.js} +2 -2
  159. package/dist/assets/{TopExCard-GEQpp_KY-Bz5Gd491.js → TopExCard-ym2uAvUy-DkU_w9K-.js} +10 -10
  160. package/dist/assets/{TopExDetailPage-hid1dQYl-C5_fcQmG.js → TopExDetailPage-DU1Qj5ea-DhOfzSmR.js} +6 -6
  161. package/dist/assets/{TransactionDetailPage-CX4JW9WM-DYs-BV31.js → TransactionDetailPage-BHyBhrM7-B3UILKwv.js} +1 -1
  162. package/dist/assets/{TransactionList-BixeXh4Y-B3OYF6Sn.js → TransactionList-CIbSavhJ-Dp71olkE.js} +1 -1
  163. package/dist/assets/{TransactionListBig-CGMMJQBd-CXR48MLA.js → TransactionListBig-kC4b3DAu-DjTE72OH.js} +1 -1
  164. package/dist/assets/{TransactionListPage-CBVUTX4y-CQdaAKjd.js → TransactionListPage-Ci98GcF7-ClRcNxWS.js} +2 -2
  165. package/dist/assets/{TransactionVendorDetailPage-CEbHH_0r-vT8FzjZr.js → TransactionVendorDetailPage-DI4kq_vO-D-o6bFok.js} +1 -1
  166. package/dist/assets/{TransferDrawerPage-BFd7uQnF-B6ZHCjZH.js → TransferDrawerPage-B342yNDJ-CsWgYoId.js} +11 -11
  167. package/dist/assets/{TreasuryOverviewPage-Bd58hOy8-BeIWSrWu.js → TreasuryOverviewPage-cvOuWLTK-CefWRHUR.js} +1 -1
  168. package/dist/assets/{TreasuryPromoPage-BvArufHi-kFf30IGj.js → TreasuryPromoPage-DyseS2l1-PYUqYVga.js} +1 -1
  169. package/dist/assets/{TreasuryStatementsPage-YLCEBbRh-Dpp3Gav5.js → TreasuryStatementsPage-rXMNPd2f-B8HSB6xE.js} +2 -2
  170. package/dist/assets/{TreasuryTaxLetterPage-D_6mgQqi-BRpp1Gq1.js → TreasuryTaxLetterPage-DjV36uFi-ebsJYDfS.js} +2 -2
  171. package/dist/assets/{TrendChart-D3dT6hUb-GtZ1tY2K.js → TrendChart--yie2Xkp-B3lZJMT5.js} +2 -2
  172. package/dist/assets/{TrendWithTransactions-Gj-u5KXi-D0ELOp4D.js → TrendWithTransactions-DVLdmgtU-Cv22_4bm.js} +1 -1
  173. package/dist/assets/{UncategorizedAccountsMappingPage-B3eRYolj-CUrl4fmj.js → UncategorizedAccountsMappingPage-CRypWMwQ-DzPLYLFI.js} +1 -1
  174. package/dist/assets/{UnitIntegrationPage-DpjR9hUu-DOy-W4YU.js → UnitIntegrationPage-DU6Luklp-CVEu7KVf.js} +1 -1
  175. package/dist/assets/{UploadAdditionalDocumentOverlay-COtszXUY-BSxnizaf.js → UploadAdditionalDocumentOverlay-jNiTn6qG-D_tolxLp.js} +1 -1
  176. package/dist/assets/{Vendor2FAPopup-C85mhuSb-v2ALiduK.js → Vendor2FAPopup-BNA3GtkO-ClfV14L3.js} +1 -1
  177. package/dist/assets/VendorACHDetailsPage-B9UpKcN3-BTioFEDj.js +1 -0
  178. package/dist/assets/{VendorDetailPage-BrbKfsL4-DkNK_QUR.js → VendorDetailPage-B6s7kOX--Cl8uI1J2.js} +1 -1
  179. package/dist/assets/VendorDomesticWireDetailsPage-CVJAmjuC-DlG2tDpP.js +1 -0
  180. package/dist/assets/{VendorFiling1099EditablePage-DgBLn3fd-DKTdq1Yw.js → VendorFiling1099EditablePage-DiVBfWTv-CQg0-jaT.js} +32 -32
  181. package/dist/assets/{VendorFirstReviewPage-jc7-OExI-DBNwDkiX.js → VendorFirstReviewPage-CuM6lK63-QOnJj4dm.js} +1 -1
  182. package/dist/assets/{VendorInternationalWireDetailsPage-c6isgwH2-DbMqD1iI.js → VendorInternationalWireDetailsPage-CcTippeu-CFZ4Mir_.js} +1 -1
  183. package/dist/assets/VendorInternationalWireSwiftDetailsPage-8u1L-aEg-CW6R8j3k.js +1 -0
  184. package/dist/assets/{VendorsAccountsSection--VfdAF3H-Dwh8lTfL.js → VendorsAccountsSection-zeM6PeT4-zwdhVM2D.js} +1 -1
  185. package/dist/assets/{VerifyDevice-CaifjdR8-hQw81mgW.js → VerifyDevice-iKowLq-3-BWk2f90N.js} +7 -7
  186. package/dist/assets/{VideoPlayer-BVR9LPmm-BPKR0CVm.js → VideoPlayer-CN28Ho6V-t5x8EBh8.js} +2 -2
  187. package/dist/assets/{VideoPopup-BEXc8o78-DmUVjFrn.js → VideoPopup-CfYmxIk4-BV_-FDHV.js} +5 -5
  188. package/dist/assets/{WarningsDrawerPage-CboqfxzC-B_2_qTb0.js → WarningsDrawerPage-C4jqovLJ-DvCRmdFF.js} +1 -1
  189. package/dist/assets/{ZeniAccountDetailPage-Dujj0-XC-HYkgSOiQ.js → ZeniAccountDetailPage-M045ginI-CIh86zMI.js} +1 -1
  190. package/dist/assets/{ZeniAccountListViewPage--SMJDGvC-Btg2muaP.js → ZeniAccountListViewPage-C-eOjorO-Dort1_5m.js} +1 -1
  191. package/dist/assets/{ZeniAccountNavBarPieces-DqLJVQ5t-C4g1RQLG.js → ZeniAccountNavBarPieces-Dz9ssqU1-7L41-5ss.js} +1 -1
  192. package/dist/assets/{ZeniAccountPromoPage-BVjJvWsA-sAZjUafk.js → ZeniAccountPromoPage-BxzNy8wF-ClpXMz8i.js} +1 -1
  193. package/dist/assets/{ZeniAccountSetupPage-Dvxst8RT-5nGhP63I.js → ZeniAccountSetupPage-zWKttj2U-Co7Yvnyy.js} +1 -1
  194. package/dist/assets/{ZeniCopyright-B88k3pkr-CUJygJ3_.js → ZeniCopyright-2oeOVh0P-DJaD_9oR.js} +1 -1
  195. package/dist/assets/{ZeniTransferAmountSlider-1DS0MsTI-BwSRPkS3.js → ZeniTransferAmountSlider-BADEO33A-DpMPk5Vb.js} +1 -1
  196. package/dist/assets/{add-to-wallet-DgdBD8_G-D178ysGy.js → add-to-wallet-DgdBD8_G-eMWALCp1.js} +1 -1
  197. package/dist/assets/{analytics-D090O6Wm.js → analytics-DCCTWnnc.js} +1 -1
  198. package/dist/assets/{analyticsHelper-DmujELNG-CrbXJy3Z.js → analyticsHelper-C2XPB_2A-DuJwOZQc.js} +1 -1
  199. package/dist/assets/{analyticsHelper-B61dxdoT.js → analyticsHelper-DnU5BAvo.js} +1 -1
  200. package/dist/assets/{arrow-south-east-round-PEovUgvH-Ccxih1KW.js → arrow-south-east-round-PEovUgvH-9nM57KjQ.js} +1 -1
  201. package/dist/assets/{auto-transfer-rule-mbafm5D3-CaIDNTCx.js → auto-transfer-rule-mbafm5D3-DeA5cpdU.js} +1 -1
  202. package/dist/assets/{chartTypes-DRiSljvE-KVeUuxz9.js → chartTypes-PZyiFZrr-DoI-jL6q.js} +1 -1
  203. package/dist/assets/{commonDimensions-BDftm0gJ-7gU1w9kj.js → commonDimensions-C_y3LIE8-X_N9ThEv.js} +1 -1
  204. package/dist/assets/{constants-B1WOPvRN.js → constants-COrMNehl.js} +1 -1
  205. package/dist/assets/{core-BCGhSsNP.js → core-D2k9JfRf.js} +1 -1
  206. package/dist/assets/{dash.all.min-DQU9jzwW.js → dash.all.min-wMAz1qMX.js} +1 -1
  207. package/dist/assets/{detailCommon-BGgE4mE3-BxBAHehG.js → detailCommon-PTd6DPpO-o02U7S0B.js} +1 -1
  208. package/dist/assets/{downloadPdf-DCQ9vVZs-C44J_DaT.js → downloadPdf-BdoS2D6l-B5cqxKI-.js} +1 -1
  209. package/dist/assets/{empty-Db_Oj0CQ.js → empty-D-w6ZnHI.js} +1 -1
  210. package/dist/assets/{empty-BFpyIT14.js → empty-D0VEAoJw.js} +1 -1
  211. package/dist/assets/{epic-BhAddVo8.js → epic-ClwVDlVx.js} +2 -2
  212. package/dist/assets/{gift-box-Cmt9OgIZ-BVmGGIyo.js → gift-box-Cmt9OgIZ-D29dLASa.js} +1 -1
  213. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BUSuwQOu.js → graphic-no-data-l-DU4J8fDt-C5a4mTsI.js} +1 -1
  214. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-9rVTKZNa.js → graphic-no-data-net-burn-l-CzmycA0m-DMABn47o.js} +1 -1
  215. package/dist/assets/{handshake-BPg58FML-DBfm_e1t.js → handshake-BPg58FML-CY1iZII1.js} +1 -1
  216. package/dist/assets/{index-DOvOS8E_.js → index-BDimSyBu.js} +1 -1
  217. package/dist/assets/{index-CrL4860P.js → index-BNglrSQW.js} +1 -1
  218. package/dist/assets/{index-BpEXgtW2.js → index-BeaEqEWK.js} +1 -1
  219. package/dist/assets/{index-DT-oXxhz.js → index-Byk1BTgy.js} +1 -1
  220. package/dist/assets/{index-RjyLdqZN.js → index-CCUQyVRy.js} +1 -1
  221. package/dist/assets/{index-DiLAcdW6.js → index-CK2D3iZ1.js} +559 -559
  222. package/dist/assets/{index-DuKH4leN.js → index-n5uJZ9k2.js} +1 -1
  223. package/dist/assets/{lexical-CtZYfzDm.js → lexical-BEs89iUy.js} +1 -1
  224. package/dist/assets/{liveblocks-DjrSQGDL.js → liveblocks-CofSwFWW.js} +1 -1
  225. package/dist/assets/{lottie-QlMyEFez.js → lottie-BO8FHl2Q.js} +1 -1
  226. package/dist/assets/mapLoadingInProgressToTreeNode-CUy8c_Sm-CvM45xH7.js +1 -0
  227. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BZSP-VcP-pi8H7S4r.js → mapSectionWithAcOnlyToTreeNode-C6gW1Rqr-Dv2Q5ZLA.js} +1 -1
  228. package/dist/assets/mapSpacerToTreeNode-DqR98mLo-CGAj6TpO.js +1 -0
  229. package/dist/assets/mapTimeframeBalancesToTreeNode-BIGZRHHI-DtvbK4iE.js +1 -0
  230. package/dist/assets/mapTimeframeBalancesToTreeNode-BooGIyls-Ct92rF5c.js +1 -0
  231. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-BOxorP0k.js → mapTimeframeHeaderLoadingInProgressToTreeNode-lSB04gFW-CRpECfjU.js} +1 -1
  232. package/dist/assets/{mui-8xKzSljO.js → mui-DCr-y2iU.js} +1 -1
  233. package/dist/assets/{page-detail-CWX5S47F-DjAUkIIu.js → page-detail-CWX5S47F-DDARVgTr.js} +1 -1
  234. package/dist/assets/{radio-default-CiSgisfh-DioVIMbJ.js → radio-default-CiSgisfh-DO_kFVBk.js} +1 -1
  235. package/dist/assets/{react-euUD_2CS.js → react-BGUULhAS.js} +1 -1
  236. package/dist/assets/{react-CQVfZdRf.js → react-BgpCchG_.js} +1 -1
  237. package/dist/assets/{react-DEufTa0Y.js → react-CEdfmx42.js} +1 -1
  238. package/dist/assets/{react-C26MaKuf.js → react-CFfs9kVE.js} +1 -1
  239. package/dist/assets/{react-1fNkcXJk.js → react-DFeqXhsB.js} +1 -1
  240. package/dist/assets/{react-BpMq70Jz.js → react-DgBRIATV.js} +1 -1
  241. package/dist/assets/{react-CvSzLYZW.js → react-UyoSCzBu.js} +1 -1
  242. package/dist/assets/{react-5bc96E7k.js → react-j6fq6Sto.js} +2 -2
  243. package/dist/assets/{recharts-BnXj3KRI.js → recharts-CIKvFUT6.js} +1 -1
  244. package/dist/assets/{sentry-C9BQzslk.js → sentry-Dm3bm_ok.js} +1 -1
  245. package/dist/assets/{shield-DOlUxcFf-DfgTXsyM.js → shield-DOlUxcFf-BEm6OgBB.js} +1 -1
  246. package/dist/assets/toCOABalancesWithID-CPbzhUua-B5GAWKcP.js +1 -0
  247. package/dist/assets/{toChartData-CavJzP6f-mDvgzvAS.js → toChartData-BUhYY9IR-S8AOthKK.js} +1 -1
  248. package/dist/assets/{transaction-placeholder-CpOwZAMG-DvtWJS0D.js → transaction-placeholder-CpOwZAMG-gpUqGjUj.js} +1 -1
  249. package/dist/assets/{uploadAttachment-BuVCsq0Q-BXyqcwpJ.js → uploadAttachment-D-Lomshq-0SKv4D0e.js} +1 -1
  250. package/dist/assets/{uploadReceipts-CPw64UYa-6mvBw6sd.js → uploadReceipts-CPw64UYa-BEcpM53g.js} +1 -1
  251. package/dist/assets/{url-MazUlenF.js → url-BXpa7lO3.js} +1 -1
  252. package/dist/assets/{url-WfClTpIP.js → url-D9ndU82p.js} +1 -1
  253. package/dist/assets/{useLongPress-GCK2COYQ-DGIP6WpU.js → useLongPress-GCK2COYQ-DzUxHAZU.js} +1 -1
  254. package/dist/assets/{usp-line-BBd1wKwW-CVrOUZlu.js → usp-line-BBd1wKwW-Cow5FZNy.js} +1 -1
  255. package/dist/assets/{utils-zYB6z_it.js → utils-CVsOBiWJ.js} +1 -1
  256. package/dist/assets/{zeni-epic-state-D9zDRHOK.js → zeni-epic-state-Cgro3mH-.js} +3 -3
  257. package/dist/index.html +1 -1
  258. package/package.json +4 -4
  259. package/dist/assets/AccountInfoPage-DfT5DDiZ-C6JypXdj.js +0 -18
  260. package/dist/assets/ChargeCardPromoPage-CDJMtGJb-CfzRbvfn.js +0 -222
  261. package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-uE3RBeY3.js +0 -1
  262. package/dist/assets/EntityDetailPage-5Cu1qehd-BG4F09T2.js +0 -18
  263. package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-CDVrvkUd.js +0 -1
  264. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-ERup-38k.js +0 -1
  265. package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-BL-YDn8G.js +0 -1
  266. package/dist/assets/StatementItem-bHInVThd-3mxzzZ3o.js +0 -31
  267. package/dist/assets/VendorACHDetailsPage-DeexeWpV-BolgC0Rd.js +0 -1
  268. package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-Dcclrfxp.js +0 -1
  269. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-5iEWkr3D.js +0 -1
  270. package/dist/assets/mapLoadingInProgressToTreeNode-CXP8ZZTG-BXCQJqNa.js +0 -1
  271. package/dist/assets/mapSpacerToTreeNode-Bc1S_1ej-D9C0qen1.js +0 -1
  272. package/dist/assets/mapTimeframeBalancesToTreeNode-ClgcHX26-BBz0h3vn.js +0 -1
  273. package/dist/assets/mapTimeframeBalancesToTreeNode-Cwp98PMa-Dp0xx8od.js +0 -1
  274. package/dist/assets/toCOABalancesWithID--oEGymMJ-CPBCh8hJ.js +0 -1
@@ -1,4 +1,4 @@
1
- import{V as t,o as r,aZ as h,b$ as c}from"./index-DiLAcdW6.js";import{c as a,n as l}from"./mui-8xKzSljO.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="014cb945-a414-4a64-aaa8-19a1366e5350",o._sentryDebugIdIdentifier="sentry-dbid-014cb945-a414-4a64-aaa8-19a1366e5350")}catch{}})();const f=a`
1
+ import{V as t,o as r,aZ as h,b$ as c}from"./index-CK2D3iZ1.js";import{c as a,n as l}from"./mui-DCr-y2iU.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="014cb945-a414-4a64-aaa8-19a1366e5350",o._sentryDebugIdIdentifier="sentry-dbid-014cb945-a414-4a64-aaa8-19a1366e5350")}catch{}})();const f=a`
2
2
  border-left-style: none;
3
3
  margin-left: -${r.sp3};
4
4
  border-top-right-radius: ${r.sp2};
@@ -1,4 +1,4 @@
1
- import{V as a,aM as y,o as n}from"./index-DiLAcdW6.js";import{n as l}from"./mui-8xKzSljO.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="28f684ae-cabe-4ca1-926d-a7995f6bb47d",o._sentryDebugIdIdentifier="sentry-dbid-28f684ae-cabe-4ca1-926d-a7995f6bb47d")}catch{}})();const v=l.div`
1
+ import{V as a,aM as y,o as n}from"./index-CK2D3iZ1.js";import{n as l}from"./mui-DCr-y2iU.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="28f684ae-cabe-4ca1-926d-a7995f6bb47d",o._sentryDebugIdIdentifier="sentry-dbid-28f684ae-cabe-4ca1-926d-a7995f6bb47d")}catch{}})();const v=l.div`
2
2
  text-align: center;
3
3
  cursor: pointer;
4
4
  `,b=l.div`
@@ -1,4 +1,4 @@
1
- import{q as T,a8 as K,cB as Q,aN as X,V as t,ab as Z,aO as Y,o as a,y as i,L as ee,a as q,B as te,F as z,gQ as ae,ak as le,cO as O,cG as I,cE as ne,c as n,i9 as oe,b7 as re,cW as ie,cU as de,ek as se,m as ce,es as me,dh as he,bf as be,p as R}from"./index-DiLAcdW6.js";import{a as j}from"./sentry-C9BQzslk.js";import{n as o,c as ge}from"./mui-8xKzSljO.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./zeni-epic-state-D9zDRHOK.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="9ff95ab9-6fbc-4f72-8a73-906cb3a8bc9d",e._sentryDebugIdIdentifier="sentry-dbid-9ff95ab9-6fbc-4f72-8a73-906cb3a8bc9d")}catch{}})();const w={width:new i(343,580,726),height:new i(n[6],n[6]),controlHeight:new i(n[6],n[6]),paddingTopBottom:new i(n[2],n[2]),marginRight:new i(n[2],n[2]),labelMarginLeft:new i(n[3],n[4]),labelMarginRight:new i(n[3],n[4]),labelMarginTop:new i(n[2],n[2])},ue={infoLabel:new q("smallRegular","standardRegular")},pe=z.getLocalizedStrings();function we({label:e,textField:l,additionalInfo:m,checkBoxFields:h,fetchState:g,style:S,toolTip:M,isOptionalLabel:v}){const s=T(),{formState:{errors:d}}=O(),$=ie(d,l.name);return t.jsxs(fe,{windowSize:s,style:S,isDisabled:l.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:l.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:v}),t.jsxs(xe,{labelWidth:e.width,children:[t.jsx(se,{...l,style:{...l.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),g?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(ye,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:h.length>0,isError:$,children:[m.icon,m.label]}),h.length>0?h.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<h.length-1?t.jsx(Se,{children:pe.common.texts.or}):null]})):null]})]})]})}const fe=o.div`
1
+ import{q as T,a8 as K,cB as Q,aN as X,V as t,ab as Z,aO as Y,o as a,y as i,L as ee,a as q,B as te,F as z,gQ as ae,ak as le,cO as O,cG as I,cE as ne,c as n,i9 as oe,b7 as re,cW as ie,cU as de,ek as se,m as ce,es as me,dh as he,bf as be,p as R}from"./index-CK2D3iZ1.js";import{a as j}from"./sentry-Dm3bm_ok.js";import{n as o,c as ge}from"./mui-DCr-y2iU.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="9ff95ab9-6fbc-4f72-8a73-906cb3a8bc9d",e._sentryDebugIdIdentifier="sentry-dbid-9ff95ab9-6fbc-4f72-8a73-906cb3a8bc9d")}catch{}})();const w={width:new i(343,580,726),height:new i(n[6],n[6]),controlHeight:new i(n[6],n[6]),paddingTopBottom:new i(n[2],n[2]),marginRight:new i(n[2],n[2]),labelMarginLeft:new i(n[3],n[4]),labelMarginRight:new i(n[3],n[4]),labelMarginTop:new i(n[2],n[2])},ue={infoLabel:new q("smallRegular","standardRegular")},pe=z.getLocalizedStrings();function we({label:e,textField:l,additionalInfo:m,checkBoxFields:h,fetchState:g,style:S,toolTip:M,isOptionalLabel:v}){const s=T(),{formState:{errors:d}}=O(),$=ie(d,l.name);return t.jsxs(fe,{windowSize:s,style:S,isDisabled:l.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:l.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:v}),t.jsxs(xe,{labelWidth:e.width,children:[t.jsx(se,{...l,style:{...l.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),g?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(ye,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:h.length>0,isError:$,children:[m.icon,m.label]}),h.length>0?h.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<h.length-1?t.jsx(Se,{children:pe.common.texts.or}):null]})):null]})]})]})}const fe=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{q as l,V as t,p as r,o as i,ak as s,y as o,d}from"./index-DiLAcdW6.js";import{n as h}from"./mui-8xKzSljO.js";import{a}from"./sentry-C9BQzslk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="799e42cd-8133-4ce4-9149-d6708b41f004",e._sentryDebugIdIdentifier="sentry-dbid-799e42cd-8133-4ce4-9149-d6708b41f004")}catch{}})();const m=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),c=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),v={chartMinHeight:new o(288,360)},f=h.div`
1
+ import{q as l,V as t,p as r,o as i,ak as s,y as o,d}from"./index-CK2D3iZ1.js";import{n as h}from"./mui-DCr-y2iU.js";import{a}from"./sentry-Dm3bm_ok.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="799e42cd-8133-4ce4-9149-d6708b41f004",e._sentryDebugIdIdentifier="sentry-dbid-799e42cd-8133-4ce4-9149-d6708b41f004")}catch{}})();const m=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),c=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),v={chartMinHeight:new o(288,360)},f=h.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{V as n,o as t,d as i}from"./index-DiLAcdW6.js";import{n as s}from"./mui-8xKzSljO.js";import{r as o,o as r}from"./graphic-no-data-l-DU4J8fDt-BUSuwQOu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="2f502823-6c78-42f0-a6fe-a3486c29dca9",e._sentryDebugIdIdentifier="sentry-dbid-2f502823-6c78-42f0-a6fe-a3486c29dca9")}catch{}})();const f=s.div`
1
+ import{V as n,o as t,d as i}from"./index-CK2D3iZ1.js";import{n as s}from"./mui-DCr-y2iU.js";import{r as o,o as r}from"./graphic-no-data-l-DU4J8fDt-C5a4mTsI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="2f502823-6c78-42f0-a6fe-a3486c29dca9",e._sentryDebugIdIdentifier="sentry-dbid-2f502823-6c78-42f0-a6fe-a3486c29dca9")}catch{}})();const f=s.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  padding: ${t.sp8} ${t.sp0} ${t.sp8} ${t.sp0};
@@ -1,4 +1,4 @@
1
- import{V as o,F as i,bY as s,D as l,ak as c,p as d,al as a}from"./index-DiLAcdW6.js";import{n as t}from"./mui-8xKzSljO.js";import{i as f}from"./ZeniCopyright-B88k3pkr-CUJygJ3_.js";import"./sentry-C9BQzslk.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./zeni-epic-state-D9zDRHOK.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f3954c99-1bc8-4430-8fae-0c6f94f4c7fe",e._sentryDebugIdIdentifier="sentry-dbid-f3954c99-1bc8-4430-8fae-0c6f94f4c7fe")}catch{}})();const g=t.div`
1
+ import{V as o,F as i,bY as s,D as l,ak as a,p as d,al as c}from"./index-CK2D3iZ1.js";import{n as t}from"./mui-DCr-y2iU.js";import{i as g}from"./ZeniCopyright-2oeOVh0P-DJaD_9oR.js";import"./sentry-Dm3bm_ok.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="870eefbf-589e-4185-ac9a-91a46a3237ee",e._sentryDebugIdIdentifier="sentry-dbid-870eefbf-589e-4185-ac9a-91a46a3237ee")}catch{}})();const f=t.div`
2
2
  width: 100%;
3
3
  height: 100vh;
4
4
  position: relative;
@@ -12,7 +12,7 @@ import{V as o,F as i,bY as s,D as l,ak as c,p as d,al as a}from"./index-DiLAcdW6
12
12
  align-items: center;
13
13
  justify-content: center;
14
14
  text-align: center;
15
- `,m=t(a)`
15
+ `,m=t(c)`
16
16
  height: 74px;
17
17
  color: ${e=>e.theme.colors.grey1};
18
18
  `,u=t.div`
@@ -27,7 +27,7 @@ import{V as o,F as i,bY as s,D as l,ak as c,p as d,al as a}from"./index-DiLAcdW6
27
27
  align-items: center;
28
28
  `,x=t(l)`
29
29
  color: ${e=>e.theme.colors.primary};
30
- `,y=t(c)`
30
+ `,y=t(a)`
31
31
  color: ${e=>e.theme.colors.hero};
32
32
  `,b=t.div`
33
33
  position: absolute;
@@ -43,4 +43,4 @@ import{V as o,F as i,bY as s,D as l,ak as c,p as d,al as a}from"./index-DiLAcdW6
43
43
  text-decoration: underline;
44
44
  cursor: pointer;
45
45
  }
46
- `;function _({onGoBack:e,onGoHome:n}){return o.jsxs(g,{children:[o.jsx(b,{children:"404"}),o.jsxs(u,{children:[o.jsx(h,{}),o.jsxs(p,{children:[o.jsx(x,{children:i.getLocalizedStrings().notFoundPage.cantFindText}),o.jsxs(y,{children:[i.getLocalizedStrings().notFoundPage.pleaseText,o.jsx(r,{onClick:e,children:i.getLocalizedStrings().notFoundPage.goBackText}),i.getLocalizedStrings().notFoundPage.startOverText,o.jsx(r,{onClick:n,children:i.getLocalizedStrings().notFoundPage.homePageText})]})]}),o.jsx(m,{children:o.jsx(f,{})})]})]})}export{_ as default};
46
+ `;function _({onGoBack:e,onGoHome:n}){return o.jsxs(f,{children:[o.jsx(b,{children:"404"}),o.jsxs(u,{children:[o.jsx(h,{}),o.jsxs(p,{children:[o.jsx(x,{children:i.getLocalizedStrings().notFoundPage.cantFindText}),o.jsxs(y,{children:[i.getLocalizedStrings().notFoundPage.pleaseText,o.jsx(r,{onClick:e,children:i.getLocalizedStrings().notFoundPage.goBackText}),i.getLocalizedStrings().notFoundPage.startOverText,o.jsx(r,{onClick:n,children:i.getLocalizedStrings().notFoundPage.homePageText})]})]}),o.jsx(m,{children:o.jsx(g,{})})]})]})}export{_ as default};
@@ -1,4 +1,4 @@
1
- import{V as t,g1 as ne,o as i,bL as oe,aQ as se,F as v,d as Q,q as Z,a8 as re,cB as le,bz as ae,ab as ce,a9 as j,aO as de,y as T,fy as pe,g2 as me,eE as ue,g3 as he,g4 as ge,aZ as fe,c as I,b7 as W,ag as X,ak as Y,al as xe}from"./index-DiLAcdW6.js";import{a as E}from"./sentry-C9BQzslk.js";import{n}from"./mui-8xKzSljO.js";import{Fw as $e,Fx as ye,Fy as be,Fz as we}from"./zeni-epic-state-D9zDRHOK.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="d5663425-22ee-4d42-b57e-df465537c20d",e._sentryDebugIdIdentifier="sentry-dbid-d5663425-22ee-4d42-b57e-df465537c20d")}catch{}})();const{common:je}=v.getLocalizedStrings(),U={notePadding:new T(I[3],I[4]),noteGap:new T(I[0],6)},R=(e,o)=>`${e}.${o}`,Ie=n.div`
1
+ import{V as t,g1 as ne,o as i,bL as oe,aQ as se,F as v,d as Q,q as Z,a8 as re,cB as le,bz as ae,ab as ce,a9 as j,aO as de,y as T,fy as pe,g2 as me,eE as ue,g3 as he,g4 as ge,aZ as fe,c as I,b7 as W,ag as X,ak as Y,al as xe}from"./index-CK2D3iZ1.js";import{a as E}from"./sentry-Dm3bm_ok.js";import{n}from"./mui-DCr-y2iU.js";import{Fw as $e,Fx as ye,Fy as be,Fz as we}from"./zeni-epic-state-Cgro3mH-.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="d5663425-22ee-4d42-b57e-df465537c20d",e._sentryDebugIdIdentifier="sentry-dbid-d5663425-22ee-4d42-b57e-df465537c20d")}catch{}})();const{common:je}=v.getLocalizedStrings(),U={notePadding:new T(I[3],I[4]),noteGap:new T(I[0],6)},R=(e,o)=>`${e}.${o}`,Ie=n.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${i.sp3};
@@ -1 +1 @@
1
- import{b as n,c as f}from"./index-DiLAcdW6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="47f3eef3-1137-46c7-8ab3-f6d30e6fc4c2",e._sentryDebugIdIdentifier="sentry-dbid-47f3eef3-1137-46c7-8ab3-f6d30e6fc4c2")}catch{}})();const r=f[5],s=59,a=f[5],i=n.standardRegular.lineHeightValue,l=1,b=1e3;export{i as A,a as E,l as I,b as L,s as a,r as t};
1
+ import{b as n,c as f}from"./index-CK2D3iZ1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="47f3eef3-1137-46c7-8ab3-f6d30e6fc4c2",e._sentryDebugIdIdentifier="sentry-dbid-47f3eef3-1137-46c7-8ab3-f6d30e6fc4c2")}catch{}})();const r=f[5],s=59,a=f[5],i=n.standardRegular.lineHeightValue,l=1,b=1e3;export{i as A,a as E,l as I,b as L,s as a,r as t};
@@ -1,4 +1,4 @@
1
- import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,a9 as ye,F as B,gX as ti,y as R,h$ as ii,b as Ne,m as oi,ax as tt,cj as it,b1 as ot,dj as st,cq as at,jW as rt,c as w,n as si,jX as ai,dh as he,aX as ri,a as ni,B as nt,p as S,ag as li,bM as _,cO as ue,g2 as pe,jY as fe,av as lt,a7 as dt,dr as U,fn as ct,gc as di,ak as ee,id as ci,al as H,fB as hi,aS as $e,b8 as me,jZ as ui,bJ as ht,j_ as Re,bt as pi}from"./index-DiLAcdW6.js";import{a as g}from"./sentry-C9BQzslk.js";import{n as r,c as A}from"./mui-8xKzSljO.js";import{G2 as fi,G3 as mi,bL as K,bh as $,E1 as ut}from"./zeni-epic-state-D9zDRHOK.js";import{k as gi}from"./SubTabSwitcher-9AnfZiNy-D-dNVqVx.js";import{d as pt}from"./useLongPress-GCK2COYQ-DGIP6WpU.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-BBLSv0sd-BGRRXCpg.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="162a8558-aaf6-4a48-9f88-d497acb41a66",e._sentryDebugIdIdentifier="sentry-dbid-162a8558-aaf6-4a48-9f88-d497acb41a66")}catch{}})();function xi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=Q(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{h(x.id)},[h]);return e.length===0?null:t.jsxs(bi,{windowSize:u,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(gi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const bi=r.div`
1
+ import{d as Q,q as v,a8 as Zt,cB as qt,V as t,bz as Kt,ab as Qt,aO as ei,o as i,a9 as ye,F as B,gX as ti,y as R,h$ as ii,b as Ne,m as oi,ax as tt,cj as it,b1 as ot,dj as st,cq as at,jW as rt,c as w,n as si,jX as ai,dh as he,aX as ri,a as ni,B as nt,p as S,ag as li,bM as _,cO as ue,g2 as pe,jY as fe,av as lt,a7 as dt,dr as U,fn as ct,gc as di,ak as ee,id as ci,al as H,fB as hi,aS as $e,b8 as me,jZ as ui,bJ as ht,j_ as Re,bt as pi}from"./index-CK2D3iZ1.js";import{a as g}from"./sentry-Dm3bm_ok.js";import{n as r,c as A}from"./mui-DCr-y2iU.js";import{G2 as fi,G3 as mi,bL as K,bh as $,E1 as ut}from"./zeni-epic-state-Cgro3mH-.js";import{k as gi}from"./SubTabSwitcher-DDR7LrDO-DpWQK8Dj.js";import{d as pt}from"./useLongPress-GCK2COYQ-DzUxHAZU.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-CHb7phwi-CuAMA5zK.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="e8ff9a7c-71c7-4bc0-9686-b53821a99a13",e._sentryDebugIdIdentifier="sentry-dbid-e8ff9a7c-71c7-4bc0-9686-b53821a99a13")}catch{}})();function xi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=Q(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{h(x.id)},[h]);return e.length===0?null:t.jsxs(bi,{windowSize:u,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(gi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const bi=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{q as H,h_ as Ce,F as B,d as q,ca as _e,ax as xe,V as t,bL as Se,aM as we,hZ as ke,bA as ve,bz as Be,h$ as Oe,i0 as Pe,o as u,aQ as Te,m as $e,y as F,b1 as le,aA as ie,aS as je,c as O,cc as De,cd as Ie,ce as Ne,bI as Ee,p as a,ak as ce,b as X,aV as Me}from"./index-DiLAcdW6.js";import{a as C,S as Ae}from"./sentry-C9BQzslk.js";import{n as m}from"./mui-8xKzSljO.js";import{FQ as Le}from"./zeni-epic-state-D9zDRHOK.js";import{p as Fe,d as Ve,y as G,b as de,u as ee}from"./chartTypes-DRiSljvE-KVeUuxz9.js";import{V as ze}from"./toChartData-CavJzP6f-mDvgzvAS.js";import{m as V}from"./analyticsHelper-DmujELNG-CrbXJy3Z.js";import{p as Re}from"./TimeRangeSwitcher-Dq2FEgFR-BrHVvGr5.js";import{M as We}from"./TimeframeSwitcherWithToggle-a3fmbzNR-D8G4gF3d.js";import{C as Ke}from"./NoDataChart-C5ZP32zB-Do8u5LpV.js";import{d as Ye}from"./NoDataTable-BnBYE8p_-CJWClG-R.js";import{H as Ge,k as oe}from"./detailCommon-BGgE4mE3-BxBAHehG.js";import{n as z}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{I as He,R as Z}from"./CollapsableReportTable-hL_Ycouc-KGnZDH4R.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-Cwp98PMa-Dp0xx8od.js";import{d as re}from"./mapLoadingInProgressToTreeNode-CXP8ZZTG-BXCQJqNa.js";import{l as qe}from"./mapSpacerToTreeNode-Bc1S_1ej-D9C0qen1.js";import{N as Ze,I as Je,X as Qe,Y as Ue,J as Xe,K as eo}from"./recharts-BnXj3KRI.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";import"./TimeframeSwitcher-By3xz_-m-B76KUVWR.js";import"./graphic-no-data-l-DU4J8fDt-BUSuwQOu.js";import"./AccountRow-BM2kGWyR-DQ8Rvnec.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="86f369d2-fe00-44a1-9c25-f31c050846e4",e._sentryDebugIdIdentifier="sentry-dbid-86f369d2-fe00-44a1-9c25-f31c050846e4")}catch{}})();const oo=m.div`
1
+ import{q as H,h_ as Ce,F as B,d as q,ca as _e,ax as xe,V as t,bL as Se,aM as we,hZ as ke,bA as ve,bz as Be,h$ as Oe,i0 as Pe,o as u,aQ as Te,m as $e,y as F,b1 as le,aA as ie,aS as je,c as O,cc as De,cd as Ie,ce as Ne,bI as Ee,p as a,ak as ce,b as X,aV as Me}from"./index-CK2D3iZ1.js";import{a as C,S as Ae}from"./sentry-Dm3bm_ok.js";import{n as m}from"./mui-DCr-y2iU.js";import{FQ as Le}from"./zeni-epic-state-Cgro3mH-.js";import{p as Fe,d as Ve,y as G,b as de,u as ee}from"./chartTypes-PZyiFZrr-DoI-jL6q.js";import{V as ze}from"./toChartData-BUhYY9IR-S8AOthKK.js";import{m as V}from"./analyticsHelper-C2XPB_2A-DuJwOZQc.js";import{p as Re}from"./TimeRangeSwitcher-BTx3d66N-DkQSngDA.js";import{M as We}from"./TimeframeSwitcherWithToggle-M554ai9V-DeR389hA.js";import{C as Ke}from"./NoDataChart-BIcLmdso-V1__FO4W.js";import{d as Ye}from"./NoDataTable-C9ywvwy4-CbJRpj1w.js";import{H as Ge,k as oe}from"./detailCommon-PTd6DPpO-o02U7S0B.js";import{n as z}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{I as He,R as Z}from"./CollapsableReportTable-l16Ixpgb-BS0sBPj9.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-BIGZRHHI-DtvbK4iE.js";import{d as re}from"./mapLoadingInProgressToTreeNode-CUy8c_Sm-CvM45xH7.js";import{l as qe}from"./mapSpacerToTreeNode-DqR98mLo-CGAj6TpO.js";import{N as Ze,I as Je,X as Qe,Y as Ue,J as Xe,K as eo}from"./recharts-CIKvFUT6.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";import"./TimeframeSwitcher-BkGiMDhd-Dhql0xBj.js";import"./graphic-no-data-l-DU4J8fDt-C5a4mTsI.js";import"./AccountRow-Ba39SxP8-8PYcW3Va.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="713fd417-4820-4992-82cd-5034a8b83b59",e._sentryDebugIdIdentifier="sentry-dbid-713fd417-4820-4992-82cd-5034a8b83b59")}catch{}})();const oo=m.div`
2
2
  display: flex;
3
3
  `,ro=m.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{d as i,V as n}from"./index-DiLAcdW6.js";import{n as r}from"./mui-8xKzSljO.js";import"./sentry-C9BQzslk.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./zeni-epic-state-D9zDRHOK.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="f5b93710-1784-4203-8657-2667e67e818e",e._sentryDebugIdIdentifier="sentry-dbid-f5b93710-1784-4203-8657-2667e67e818e")}catch{}})();const d=r.div`
1
+ import{d as i,V as n}from"./index-CK2D3iZ1.js";import{n as r}from"./mui-DCr-y2iU.js";import"./sentry-Dm3bm_ok.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="f5b93710-1784-4203-8657-2667e67e818e",e._sentryDebugIdIdentifier="sentry-dbid-f5b93710-1784-4203-8657-2667e67e818e")}catch{}})();const d=r.div`
2
2
  display: ${({isOpen:e})=>e?"block":"none"};
3
3
  position: fixed;
4
4
  top: 0;
@@ -1,4 +1,4 @@
1
- import{V as o,C as M,d as T,q as v,bz as ne,F as c,n as re,aM as A,m as ie,b as ae,y as W,o as s,aA as ce,aS as le,D as de,cz as ge,bw as me,c as $,cA as pe,aQ as he,aR as fe,b8 as ue,bI as xe}from"./index-DiLAcdW6.js";import{a as F}from"./sentry-C9BQzslk.js";import{n as r}from"./mui-8xKzSljO.js";import{R as we}from"./NavBarWithPicker-C_qO8mgD-geTPzVGH.js";import{m as Se}from"./analyticsHelper-DmujELNG-CrbXJy3Z.js";import{M as je}from"./TimeframeSwitcherWithToggle-a3fmbzNR-D8G4gF3d.js";import{I as be,a as ye}from"./CollapsableReportTable-hL_Ycouc-KGnZDH4R.js";import{M as E}from"./usp-line-BBd1wKwW-CVrOUZlu.js";import{EX as $e,EY as Ce}from"./zeni-epic-state-D9zDRHOK.js";import{D as Pe,T as ke,C as ze}from"./mapSectionWithAcOnlyToTreeNode-BZSP-VcP-pi8H7S4r.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-ClgcHX26-BBz0h3vn.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";import"./TimeframeSwitcher-By3xz_-m-B76KUVWR.js";import"./AccountRow-BM2kGWyR-DQ8Rvnec.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]="7791621a-320f-44ee-8271-5bad3c2da18d",e._sentryDebugIdIdentifier="sentry-dbid-7791621a-320f-44ee-8271-5bad3c2da18d")}catch{}})();const q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",H="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ve=r.div`
1
+ import{V as o,C as M,d as T,q as v,bz as ne,F as c,n as re,aM as A,m as ie,b as ae,y as W,o as s,aA as ce,aS as le,D as de,cz as ge,bw as me,c as $,cA as pe,aQ as he,aR as fe,b8 as ue,bI as xe}from"./index-CK2D3iZ1.js";import{a as F}from"./sentry-Dm3bm_ok.js";import{n as r}from"./mui-DCr-y2iU.js";import{R as we}from"./NavBarWithPicker-edkm8kW--DTJVRU93.js";import{m as Se}from"./analyticsHelper-C2XPB_2A-DuJwOZQc.js";import{M as je}from"./TimeframeSwitcherWithToggle-M554ai9V-DeR389hA.js";import{I as be,a as ye}from"./CollapsableReportTable-l16Ixpgb-BS0sBPj9.js";import{M as E}from"./usp-line-BBd1wKwW-Cow5FZNy.js";import{EX as $e,EY as Ce}from"./zeni-epic-state-Cgro3mH-.js";import{D as Pe,T as ke,C as ze}from"./mapSectionWithAcOnlyToTreeNode-C6gW1Rqr-Dv2Q5ZLA.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-BooGIyls-Ct92rF5c.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";import"./TimeframeSwitcher-BkGiMDhd-Dhql0xBj.js";import"./AccountRow-Ba39SxP8-8PYcW3Va.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]="13325dc0-b52f-432b-b444-390a70353753",e._sentryDebugIdIdentifier="sentry-dbid-13325dc0-b52f-432b-b444-390a70353753")}catch{}})();const q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",H="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ve=r.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{M as pe,aN as Ne,b as te,o as u,p as H,q as le,V as i,bP as Be,d as ke,cO as Fe,aS as ae,F as ue,y as oe,bu as Ve,bS as qe,ak as Re,aO as He,ad as me,c as Ke,gO as Ge,al as Je,a as Ze}from"./index-DiLAcdW6.js";import{S as l,a as O}from"./sentry-C9BQzslk.js";import{n as v}from"./mui-8xKzSljO.js";import{P as p}from"./core-BCGhSsNP.js";import{F as Ye}from"./SetUpAccountSection-C1EnJv1V-ZQCPg01L.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="39e69863-a966-4983-b00e-2f0e1580cddb",t._sentryDebugIdIdentifier="sentry-dbid-39e69863-a966-4983-b00e-2f0e1580cddb")}catch{}})();function fe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function ge(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fe(Object(r),!0).forEach(function(n){Ae(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function re(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?re=function(e){return typeof e}:re=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},re(t)}function Ae(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $e(t,e){return Xe(t)||Qe(t,e)||et(t,e)||tt()}function Xe(t){if(Array.isArray(t))return t}function Qe(t,e){var r=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(r!=null){var n=[],a=!0,s=!1,c,m;try{for(r=r.call(t);!(a=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));a=!0);}catch(o){s=!0,m=o}finally{try{!a&&r.return!=null&&r.return()}finally{if(s)throw m}}return n}}function et(t,e){if(t){if(typeof t=="string")return he(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return he(t,e)}}function he(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function tt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{M as pe,aN as Ne,b as te,o as u,p as H,q as le,V as i,bP as Be,d as ke,cO as Fe,aS as ae,F as ue,y as oe,bu as Ve,bS as qe,ak as Re,aO as He,ad as me,c as Ke,gO as Ge,al as Je,a as Ze}from"./index-CK2D3iZ1.js";import{S as l,a as O}from"./sentry-Dm3bm_ok.js";import{n as v}from"./mui-DCr-y2iU.js";import{P as p}from"./core-D2k9JfRf.js";import{F as Ye}from"./SetUpAccountSection-BAsI7p1f-Dy9q8TNa.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="58c14367-95e7-419c-974e-c62dc6c5af97",t._sentryDebugIdIdentifier="sentry-dbid-58c14367-95e7-419c-974e-c62dc6c5af97")}catch{}})();function fe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function ge(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fe(Object(r),!0).forEach(function(n){Ae(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function re(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?re=function(e){return typeof e}:re=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},re(t)}function Ae(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $e(t,e){return Xe(t)||Qe(t,e)||et(t,e)||tt()}function Xe(t){if(Array.isArray(t))return t}function Qe(t,e){var r=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(r!=null){var n=[],a=!0,s=!1,c,m;try{for(r=r.call(t);!(a=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));a=!0);}catch(o){s=!0,m=o}finally{try{!a&&r.return!=null&&r.return()}finally{if(s)throw m}}return n}}function et(t,e){if(t){if(typeof t=="string")return he(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return he(t,e)}}function he(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function tt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var k=function(e,r,n){var a=!!n,s=l.useRef(n);l.useEffect(function(){s.current=n},[n]),l.useEffect(function(){if(!a||!e)return function(){};var c=function(){s.current&&s.current.apply(s,arguments)};return e.on(r,c),function(){e.off(r,c)}},[a,r,e,s])},se=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},K=function(e){return e!==null&&re(e)==="object"},rt=function(e){return K(e)&&typeof e.then=="function"},nt=function(e){return K(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},ye="[object Object]",at=function t(e,r){if(!K(e)||!K(r))return e===r;var n=Array.isArray(e),a=Array.isArray(r);if(n!==a)return!1;var s=Object.prototype.toString.call(e)===ye,c=Object.prototype.toString.call(r)===ye;if(s!==c)return!1;if(!s&&!n)return e===r;var m=Object.keys(e),o=Object.keys(r);if(m.length!==o.length)return!1;for(var h={},f=0;f<m.length;f+=1)h[m[f]]=!0;for(var x=0;x<o.length;x+=1)h[o[x]]=!0;var g=Object.keys(h);if(g.length!==m.length)return!1;var P=e,w=r,S=function(A){return t(P[A],w[A])};return g.every(S)},Ie=function(e,r,n){return K(e)?Object.keys(e).reduce(function(a,s){var c=!K(r)||!at(e[s],r[s]);return n.includes(s)?(c&&console.warn("Unsupported prop change: options.".concat(s," is not a mutable property.")),a):c?ge(ge({},a||{}),{},Ae({},s,e[s])):a},null):null},Oe="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ve=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(e===null||nt(e))return e;throw new Error(r)},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(rt(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(a){return ve(a,r)})};var n=ve(e,r);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},st=function(e){!e||!e._registerWrapper||!e.registerAppInfo||(e._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),e.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},ne=l.createContext(null);ne.displayName="ElementsContext";var Ue=function(e,r){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(r," in an <Elements> provider."));return e},ze=function(e){var r=e.stripe,n=e.options,a=e.children,s=l.useMemo(function(){return ot(r)},[r]),c=l.useState(function(){return{stripe:s.tag==="sync"?s.stripe:null,elements:s.tag==="sync"?s.stripe.elements(n):null}}),m=$e(c,2),o=m[0],h=m[1];l.useEffect(function(){var g=!0,P=function(S){h(function(j){return j.stripe?j:{stripe:S,elements:S.elements(n)}})};return s.tag==="async"&&!o.stripe?s.stripePromise.then(function(w){w&&g&&P(w)}):s.tag==="sync"&&!o.stripe&&P(s.stripe),function(){g=!1}},[s,o,n]);var f=se(r);l.useEffect(function(){f!==null&&f!==r&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[f,r]);var x=se(n);return l.useEffect(function(){if(o.elements){var g=Ie(n,x,["clientSecret","fonts"]);g&&o.elements.update(g)}},[n,x,o.elements]),l.useEffect(function(){st(o.stripe)},[o.stripe]),l.createElement(ne.Provider,{value:o},a)};ze.propTypes={stripe:p.any,options:p.object};var it=function(e){var r=l.useContext(ne);return Ue(r,e)},ct=function(){var e=it("calls useElements()"),r=e.elements;return r};p.func.isRequired;var _e=l.createContext(null);_e.displayName="CustomCheckoutSdkContext";var lt=function(e,r){if(!e)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(r," in an <CustomCheckoutProvider> provider."));return e},ut=l.createContext(null);ut.displayName="CustomCheckoutContext";p.any,p.shape({clientSecret:p.string.isRequired,elementsOptions:p.object}).isRequired;var ie=function(e){var r=l.useContext(_e),n=l.useContext(ne);if(r&&n)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return r?lt(r,e):Ue(n,e)},dt=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},C=function(e,r){var n="".concat(dt(e),"Element"),a=function(o){var h=o.id,f=o.className,x=o.options,g=x===void 0?{}:x,P=o.onBlur,w=o.onFocus,S=o.onReady,j=o.onChange,A=o.onEscape,B=o.onClick,F=o.onLoadError,V=o.onLoaderStart,D=o.onNetworksChange,$=o.onConfirm,G=o.onCancel,M=o.onShippingAddressChange,N=o.onShippingRateChange,U=ie("mounts <".concat(n,">")),_="elements"in U?U.elements:null,E="customCheckoutSdk"in U?U.customCheckoutSdk:null,z=l.useState(null),T=$e(z,2),y=T[0],W=T[1],L=l.useRef(null),q=l.useRef(null);k(y,"blur",P),k(y,"focus",w),k(y,"escape",A),k(y,"click",B),k(y,"loaderror",F),k(y,"loaderstart",V),k(y,"networkschange",D),k(y,"confirm",$),k(y,"cancel",G),k(y,"shippingaddresschange",M),k(y,"shippingratechange",N),k(y,"change",j);var J;S&&(e==="expressCheckout"?J=S:J=function(){S(y)}),k(y,"ready",J),l.useLayoutEffect(function(){if(L.current===null&&q.current!==null&&(_||E)){var I=null;E?I=E.createElement(e,g):_&&(I=_.create(e,g)),L.current=I,W(I),I&&I.mount(q.current)}},[_,E,g]);var de=se(g);return l.useEffect(function(){if(L.current){var I=Ie(g,de,["paymentRequest"]);I&&L.current.update(I)}},[g,de]),l.useLayoutEffect(function(){return function(){if(L.current&&typeof L.current.destroy=="function")try{L.current.destroy(),L.current=null}catch{}}},[]),l.createElement("div",{id:h,className:f,ref:q})},s=function(o){ie("mounts <".concat(n,">"));var h=o.id,f=o.className;return l.createElement("div",{id:h,className:f})},c=r?s:a;return c.propTypes={id:p.string,className:p.string,onChange:p.func,onBlur:p.func,onFocus:p.func,onReady:p.func,onEscape:p.func,onClick:p.func,onLoadError:p.func,onLoaderStart:p.func,onNetworksChange:p.func,onConfirm:p.func,onCancel:p.func,onShippingAddressChange:p.func,onShippingRateChange:p.func,options:p.object},c.displayName=n,c.__elementType=e,c},b=typeof window>"u",pt=l.createContext(null);pt.displayName="EmbeddedCheckoutProviderContext";var mt=function(){var e=ie("calls useStripe()"),r=e.stripe;return r};C("auBankAccount",b);C("card",b);var Se=C("cardNumber",b),Ce=C("cardExpiry",b),be=C("cardCvc",b);C("fpxBank",b);C("iban",b);C("idealBank",b);C("p24Bank",b);C("epsBank",b);C("payment",b);C("expressCheckout",b);C("paymentRequestButton",b);C("linkAuthentication",b);C("address",b);C("shippingAddress",b);C("paymentMethodMessaging",b);C("affirmMessage",b);C("afterpayClearpayMessage",b);var Te="https://js.stripe.com/v3",ft=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;var gt=function(){for(var e=document.querySelectorAll('script[src^="'.concat(Te,'"]')),r=0;r<e.length;r++){var n=e[r];if(ft.test(n.src))return n}return null},xe=function(e){var r="",n=document.createElement("script");n.src="".concat(Te).concat(r);var a=document.head||document.body;if(!a)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return a.appendChild(n),n},ht=function(e,r){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"4.3.0",startTime:r})},Z=null,Q=null,ee=null,yt=function(e){return function(){e(new Error("Failed to load Stripe.js"))}},vt=function(e,r){return function(){window.Stripe?e(window.Stripe):r(new Error("Stripe.js not available"))}},St=function(e){return Z!==null?Z:(Z=new Promise(function(r,n){if(typeof window>"u"||typeof document>"u"){r(null);return}if(window.Stripe){r(window.Stripe);return}try{var a=gt();if(!(a&&e)){if(!a)a=xe(e);else if(a&&ee!==null&&Q!==null){var s;a.removeEventListener("load",ee),a.removeEventListener("error",Q),(s=a.parentNode)===null||s===void 0||s.removeChild(a),a=xe(e)}}ee=vt(r,n),Q=yt(n),a.addEventListener("load",ee),a.addEventListener("error",Q)}catch(c){n(c);return}}),Z.catch(function(r){return Z=null,Promise.reject(r)}))},Ct=function(e,r,n){if(e===null)return null;var a=e.apply(void 0,r);return ht(a,n),a},Y,We=!1,De=function(){return Y||(Y=St(null).catch(function(e){return Y=null,Promise.reject(e)}),Y)};Promise.resolve().then(function(){return De()}).catch(function(t){We||console.warn(t)});var bt=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];We=!0;var a=Date.now();return De().then(function(s){return Ct(s,r,a)})};const xt={containerHeight:new oe(656,720)},wt=v.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{d as $e,q as I,F as y,V as t,bz as le,aM as a,bL as De,o as s,ci as Oe,cj as _e,m as U,aQ as Y,ck as we,n as Le,b as be,cl as Ae,aN as Ve,cm as Me,ao as We,cn as He,co as Be,b1 as Ue,aA as H,cp as Ee,y as $,cq as Ke,cr as je,c as b,cs as ee,cb as N,a8 as Fe,ab as Ze,ct as qe,cu as Ge,aG as Je,ag as D,cv as Qe,ak as O,al as te,p as A,cw as Xe,cf as Se,b8 as ie,cx as ke,bJ as Ye,cy as et}from"./index-DiLAcdW6.js";import{S as ce,a as v}from"./sentry-C9BQzslk.js";import{n as i}from"./mui-8xKzSljO.js";import{oV as Ie,bg as Q}from"./zeni-epic-state-D9zDRHOK.js";import{P as Ce}from"./Menu-wpP8R1br-CDR69j-M.js";import{T as Re}from"./RoleWithToolTip-fC3byzzv-BDZeG5VC.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="e15155e3-0c53-4a69-afb5-18c193b9776a",e._sentryDebugIdIdentifier="sentry-dbid-e15155e3-0c53-4a69-afb5-18c193b9776a")}catch{}})();const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],B=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],tt=58;function it({userNameSticky:e,sortConfig:o,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Je(d==="off"?S:B));v.useEffect(()=>{const n=[...p];for(const r of n)r.key===o.sortKey?r.sortOrder=o.sortOrder:r.sortOrder="ascending";x(n)},[o.sortKey,o.sortOrder]);const h=(n,r)=>{let u=r;o.sortKey===n&&(u=r==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(rt,{height:tt,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(lt,{userNameSticky:!!e&&n.key==="name",sortDataValue:o.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(dt,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(ot,{sortDataValue:o.sortKey,headerdata:n,children:t.jsx(Qe,{width:12,height:12})})]}),t.jsx(at,{isVisible:o.sortKey===n.key&&n.key!=="name",children:t.jsx(nt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const st=ce.memo(it),ot=i.div`
1
+ import{d as $e,q as I,F as y,V as t,bz as le,aM as a,bL as De,o as s,ci as Oe,cj as _e,m as U,aQ as Y,ck as we,n as Le,b as be,cl as Ae,aN as Ve,cm as Me,ao as We,cn as He,co as Be,b1 as Ue,aA as H,cp as Ee,y as $,cq as Ke,cr as je,c as b,cs as ee,cb as N,a8 as Fe,ab as Ze,ct as qe,cu as Ge,aG as Je,ag as D,cv as Qe,ak as O,al as te,p as A,cw as Xe,cf as Se,b8 as ie,cx as ke,bJ as Ye,cy as et}from"./index-CK2D3iZ1.js";import{S as ce,a as v}from"./sentry-Dm3bm_ok.js";import{n as i}from"./mui-DCr-y2iU.js";import{oV as Ie,bg as Q}from"./zeni-epic-state-Cgro3mH-.js";import{P as Ce}from"./Menu-BTZYMOTT-CKMXXApd.js";import{T as Re}from"./RoleWithToolTip-DbQ4ezrP-Dd2VpMcB.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="8d32d739-1afa-46b8-8223-bf2dace99d34",e._sentryDebugIdIdentifier="sentry-dbid-8d32d739-1afa-46b8-8223-bf2dace99d34")}catch{}})();const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],B=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],tt=58;function it({userNameSticky:e,sortConfig:o,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Je(d==="off"?S:B));v.useEffect(()=>{const n=[...p];for(const r of n)r.key===o.sortKey?r.sortOrder=o.sortOrder:r.sortOrder="ascending";x(n)},[o.sortKey,o.sortOrder]);const h=(n,r)=>{let u=r;o.sortKey===n&&(u=r==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(rt,{height:tt,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(lt,{userNameSticky:!!e&&n.key==="name",sortDataValue:o.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(dt,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(ot,{sortDataValue:o.sortKey,headerdata:n,children:t.jsx(Qe,{width:12,height:12})})]}),t.jsx(at,{isVisible:o.sortKey===n.key&&n.key!=="name",children:t.jsx(nt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const st=ce.memo(it),ot=i.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
@@ -1 +1 @@
1
- import{a as h,S as n}from"./sentry-C9BQzslk.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="f93b8fea-342f-46af-9294-f75d3b119450",t._sentryDebugIdIdentifier="sentry-dbid-f93b8fea-342f-46af-9294-f75d3b119450")}catch{}})();const c="64px",f={},k=({src:t,light:a,oEmbedUrl:r,onClickPreview:s,playIcon:m,previewTabIndex:I,previewAriaLabel:u})=>{const[p,o]=h.useState(null);h.useEffect(()=>{!t||!a||!r||_({src:t,light:a,oEmbedUrl:r})},[t,a,r]);const _=async({src:e,light:i,oEmbedUrl:E})=>{if(n.isValidElement(i))return;if(typeof i=="string"){o(i);return}if(f[e]){o(f[e]);return}o(null);const b=await(await fetch(E.replace("{url}",e))).json();if(b.thumbnail_url){const g=b.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");o(g),f[e]=g}},w=e=>{(e.key==="Enter"||e.key===" ")&&s?.(e)},v=e=>{s?.(e)},l=n.isValidElement(a),y={display:"flex",alignItems:"center",justifyContent:"center"},d={preview:{width:"100%",height:"100%",backgroundImage:p&&!l?`url(${p})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...y},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:c,width:c,height:c,position:l?"absolute":void 0,...y},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},x=n.createElement("div",{style:d.shadow,className:"react-player__shadow"},n.createElement("div",{style:d.playIcon,className:"react-player__play-icon"}));return n.createElement("div",{style:d.preview,className:"react-player__preview",tabIndex:I,onClick:v,onKeyDown:w,...u?{"aria-label":u}:{}},l?a:null,m||x)};var N=k;export{N as default};
1
+ import{a as h,S as n}from"./sentry-Dm3bm_ok.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="f93b8fea-342f-46af-9294-f75d3b119450",t._sentryDebugIdIdentifier="sentry-dbid-f93b8fea-342f-46af-9294-f75d3b119450")}catch{}})();const c="64px",f={},k=({src:t,light:a,oEmbedUrl:r,onClickPreview:s,playIcon:m,previewTabIndex:I,previewAriaLabel:u})=>{const[p,o]=h.useState(null);h.useEffect(()=>{!t||!a||!r||_({src:t,light:a,oEmbedUrl:r})},[t,a,r]);const _=async({src:e,light:i,oEmbedUrl:E})=>{if(n.isValidElement(i))return;if(typeof i=="string"){o(i);return}if(f[e]){o(f[e]);return}o(null);const b=await(await fetch(E.replace("{url}",e))).json();if(b.thumbnail_url){const g=b.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");o(g),f[e]=g}},w=e=>{(e.key==="Enter"||e.key===" ")&&s?.(e)},v=e=>{s?.(e)},l=n.isValidElement(a),y={display:"flex",alignItems:"center",justifyContent:"center"},d={preview:{width:"100%",height:"100%",backgroundImage:p&&!l?`url(${p})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...y},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:c,width:c,height:c,position:l?"absolute":void 0,...y},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},x=n.createElement("div",{style:d.shadow,className:"react-player__shadow"},n.createElement("div",{style:d.playIcon,className:"react-player__play-icon"}));return n.createElement("div",{style:d.preview,className:"react-player__preview",tabIndex:I,onClick:v,onKeyDown:w,...u?{"aria-label":u}:{}},l?a:null,m||x)};var N=k;export{N as default};
@@ -1,4 +1,4 @@
1
- import{F as I,V as t,a7 as B,o as c,b$ as H,aZ as N,c as U,d4 as Y,ap as G,ak as T,d5 as J,p as v}from"./index-DiLAcdW6.js";import{a as $}from"./sentry-C9BQzslk.js";import{n as i}from"./mui-8xKzSljO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="4e98b996-382c-4239-8cda-9e07b20cce96",e._sentryDebugIdIdentifier="sentry-dbid-4e98b996-382c-4239-8cda-9e07b20cce96")}catch{}})();const u=I.getLocalizedStrings(),w={large:{labelComp:Y,title:G,subtitle:T,seeMoreLink:T}},V={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},r=V.large,Z=i.div`
1
+ import{F as I,V as t,a7 as B,o as c,b$ as H,aZ as N,c as U,d4 as Y,ap as G,ak as T,d5 as J,p as v}from"./index-CK2D3iZ1.js";import{a as $}from"./sentry-Dm3bm_ok.js";import{n as i}from"./mui-DCr-y2iU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="4e98b996-382c-4239-8cda-9e07b20cce96",e._sentryDebugIdIdentifier="sentry-dbid-4e98b996-382c-4239-8cda-9e07b20cce96")}catch{}})();const u=I.getLocalizedStrings(),w={large:{labelComp:Y,title:G,subtitle:T,seeMoreLink:T}},V={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},r=V.large,Z=i.div`
2
2
  width: ${e=>e.scale*r.width}px;
3
3
  height: ${e=>e.scale*r.height}px;
4
4
  overflow: hidden;
@@ -1,4 +1,4 @@
1
- import{q as m,V as r,d9 as b,da as v,db as y,bv as z,o as e,p as d,y as a,a as c,c as p}from"./index-DiLAcdW6.js";import{c as i,n as g,k as f}from"./mui-8xKzSljO.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new o.Error().stack;h&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[h]="085a904d-3aff-4193-885a-93640eaa7dc0",o._sentryDebugIdIdentifier="sentry-dbid-085a904d-3aff-4193-885a-93640eaa7dc0")}catch{}})();const t={plasticCardMarginLeft:new a(p[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(p[2],13),businessTextBottom:new a(p[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(p[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(p[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(p[2],13),visaLogoBottom:new a(p[2],13)},u={businessText:new c("extraSmallRegular","largeRegular"),promoBusinessText:new c("tinyLight","tinyLight")},R=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(k,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(j,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(z,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(y,{})})]})},A=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(W,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(B,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(v,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(y,{})})]})},C=f`
1
+ import{q as m,V as r,d9 as b,da as v,db as y,bv as z,o as e,p as d,y as a,a as c,c as p}from"./index-CK2D3iZ1.js";import{c as i,n as g,k as f}from"./mui-DCr-y2iU.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new o.Error().stack;h&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[h]="085a904d-3aff-4193-885a-93640eaa7dc0",o._sentryDebugIdIdentifier="sentry-dbid-085a904d-3aff-4193-885a-93640eaa7dc0")}catch{}})();const t={plasticCardMarginLeft:new a(p[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(p[2],13),businessTextBottom:new a(p[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(p[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(p[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(p[2],13),visaLogoBottom:new a(p[2],13)},u={businessText:new c("extraSmallRegular","largeRegular"),promoBusinessText:new c("tinyLight","tinyLight")},R=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(k,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(j,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(z,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(y,{})})]})},A=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(W,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(B,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(v,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(y,{})})]})},C=f`
2
2
  0%{
3
3
  transform: rotate(12.4deg);
4
4
  translate: ${e.sp0} ${e.sp0};
@@ -1,4 +1,4 @@
1
- import{q as b,F as r,V as n,bP as y,n as l,y as c,o as i,ap as w,ak as $,ae as P,bt as j,eI as v,c as t}from"./index-DiLAcdW6.js";import{n as o}from"./mui-8xKzSljO.js";import"./sentry-C9BQzslk.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./zeni-epic-state-D9zDRHOK.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.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]="63ba6a24-9c66-4302-8bf1-d5ff542e4293",e._sentryDebugIdIdentifier="sentry-dbid-63ba6a24-9c66-4302-8bf1-d5ff542e4293")}catch{}})();const s={containerPaddingTop:new c(t[5],t[7]),containerPaddingBottom:new c(t[5],t[5]),containerPaddingLeftRight:new c(t[6],t[11])},_=o.div`
1
+ import{q as b,F as r,V as n,bP as y,n as l,y as c,o as i,ap as w,ak as $,ae as P,bt as j,eI as v,c as t}from"./index-CK2D3iZ1.js";import{n as o}from"./mui-DCr-y2iU.js";import"./sentry-Dm3bm_ok.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.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]="63ba6a24-9c66-4302-8bf1-d5ff542e4293",e._sentryDebugIdIdentifier="sentry-dbid-63ba6a24-9c66-4302-8bf1-d5ff542e4293")}catch{}})();const s={containerPaddingTop:new c(t[5],t[7]),containerPaddingBottom:new c(t[5],t[5]),containerPaddingLeftRight:new c(t[6],t[11])},_=o.div`
2
2
  border-radius: inherit;
3
3
  max-width: 520px;
4
4
  text-align: center;
@@ -1,4 +1,4 @@
1
- import{q as I,F as u,V as i,n as O,o,y as a,p as c,fK as k,a as T,ae as _,bt as B,eI as D,fB as E,aS as h,ag as f,c as r}from"./index-DiLAcdW6.js";import{n}from"./mui-8xKzSljO.js";import W from"./QBOConnectionDialog-DNB2C1vQ-BnuZQtJT.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]="e16e635d-cc11-4c75-8742-d09cfb00f35c",e._sentryDebugIdIdentifier="sentry-dbid-e16e635d-cc11-4c75-8742-d09cfb00f35c")}catch{}})();const l={containerPadding:new a(r[3],r[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(r[3],r[0]),arrowIconWidthHeight:new a(r[3],r[4])},q={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:t=!1,isValid:d,saveConnectionState:p,isQBOPopupOpen:y,companyName:$,updateQBOPopupState:w,handleOnConnectClick:b})=>{const s=I(),{qbo_connection:j}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:v,button:z,errorText:P,requiredText:C}=j;return i.jsxs(G,{windowSize:s,children:[i.jsxs(A,{windowSize:s,children:[s==="small"?i.jsx(R,{children:d?i.jsx(J,{}):i.jsx(U,{})}):null,i.jsx(F,{windowSize:s,children:S})]}),i.jsxs(H,{windowSize:s,children:[i.jsxs(M,{windowSize:s,children:[i.jsxs(Q,{children:[i.jsx(V,{}),i.jsx(K,{windowSize:s}),i.jsx(L,{})]}),d?s!=="small"?i.jsx(m,{}):null:i.jsx(O,{variant:"primary",size:s!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>w(!0),loading:p==="In-Progress"})]}),d?i.jsxs(i.Fragment,{children:[i.jsx(N,{children:v}),s==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:P})}):null,t&&!d?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:C})}):null]}),i.jsx(W,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:y,companyName:$,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>w(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:t}=e;return i.jsx(E,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:t,textColor:{color:new h(c.successDark),borderColor:new h(c.successDark)}})},G=n.div`
1
+ import{q as I,F as u,V as i,n as O,o,y as a,p as c,fK as k,a as T,ae as _,bt as B,eI as D,fB as E,aS as h,ag as f,c as r}from"./index-CK2D3iZ1.js";import{n}from"./mui-DCr-y2iU.js";import W from"./QBOConnectionDialog-Bv6unk3C-C69fuiCc.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]="9eb2b18b-50f9-4008-88a8-c03ee6960a07",e._sentryDebugIdIdentifier="sentry-dbid-9eb2b18b-50f9-4008-88a8-c03ee6960a07")}catch{}})();const l={containerPadding:new a(r[3],r[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(r[3],r[0]),arrowIconWidthHeight:new a(r[3],r[4])},q={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:t=!1,isValid:d,saveConnectionState:p,isQBOPopupOpen:y,companyName:$,updateQBOPopupState:w,handleOnConnectClick:b})=>{const s=I(),{qbo_connection:j}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:v,button:z,errorText:P,requiredText:C}=j;return i.jsxs(G,{windowSize:s,children:[i.jsxs(A,{windowSize:s,children:[s==="small"?i.jsx(R,{children:d?i.jsx(J,{}):i.jsx(U,{})}):null,i.jsx(F,{windowSize:s,children:S})]}),i.jsxs(H,{windowSize:s,children:[i.jsxs(M,{windowSize:s,children:[i.jsxs(Q,{children:[i.jsx(V,{}),i.jsx(K,{windowSize:s}),i.jsx(L,{})]}),d?s!=="small"?i.jsx(m,{}):null:i.jsx(O,{variant:"primary",size:s!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>w(!0),loading:p==="In-Progress"})]}),d?i.jsxs(i.Fragment,{children:[i.jsx(N,{children:v}),s==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:P})}):null,t&&!d?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:C})}):null]}),i.jsx(W,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:y,companyName:$,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>w(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:t}=e;return i.jsx(E,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:t,textColor:{color:new h(c.successDark),borderColor:new h(c.successDark)}})},G=n.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{y as W,c as D,d as G,q as M,F as U,a8 as X,aN as H,aG as J,cB as K,V as r,bz as Q,ab as Y,aO as Z,o as b,g2 as ee}from"./index-DiLAcdW6.js";import{a as B}from"./sentry-C9BQzslk.js";import{n as c}from"./mui-8xKzSljO.js";import{b as ae,f as te,o as T,l as _}from"./FollowStepsSection-64oy2OLD-D5wds5zX.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./zeni-epic-state-D9zDRHOK.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.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]="bfd7b2e5-9ac0-433a-9039-f4c30e90d66f",e._sentryDebugIdIdentifier="sentry-dbid-bfd7b2e5-9ac0-433a-9039-f4c30e90d66f")}catch{}})();const $="reimbursementApprovalRuleDetailPage",C="lowerBound",j="upperBound",I="steps",h="applyToExistingReimbursements",le={footerPadding:new W(D[2],D[3])};function Pe({localData:e,approvalUpdateActionType:t,isLowerBoundDisabled:a=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:s=!1,onBackClick:p,onApprovalRuleDataUpdated:g,onResetClick:N,onSaveRuleClick:E,onSaveRuleSuccess:A}){const F=G(),S=M(),l=U.getLocalizedStrings().commonSetUp.approval,w=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,t==="approval_create"&&!a),y=X({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,P=H(u?.fetchState),{upperBound:R}=x,{allApprovalRules:i,allAccountingClasses:V,remiSetupApproverViewUpdateData:m}=e;let f=i.length>1?i.length-1:0,v=i.length>0?i[f].criteria[0].range.min.amount:0;if(m!=null&&m.type==="approval_update"&&m.data!=null){const{approvalRuleId:n}=m.data;f=i.findIndex(d=>d.approvalRuleId===n),v=f>0?i[f-1].criteria[0].range.min.amount:0}const q=y.handleSubmit(()=>{E()}),z=async(n,d)=>{g(d)};return B.useEffect(()=>{const n=y.watch((d,{name:L})=>{if(L!=null&&d!=null){const O=J(d);K(()=>z(L,O))}});return()=>{n.unsubscribe()}}),B.useEffect(()=>{P==="In-Progress"&&u?.fetchState==="Completed"&&A()},[P,u?.fetchState,A]),r.jsxs(ie,{children:[r.jsx(Q,{title:t==="approval_create"?l.newApproval:l.editApproval,backgroundColor:F.colors.grey4,style:{zIndex:4},onBackClick:()=>{p()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(de,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:k($),onSubmit:q,children:r.jsxs(pe,{children:[r.jsx(ae,{label:{label:s?w.amountPerRemiGreaterLabel:w.amountPerRemiLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:R===1/0?Number.MAX_SAFE_INTEGER-1:R-1,min:v,validate:n=>a?!0:n!=null&&n>v},isDisabled:a,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:j,placeholder:"Infinity",isDisabled:o,hideField:s,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(n=>n.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:k($),primaryBtn:{label:l.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:t==="approval_create"?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:S==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(S)},separatorStyle:{marginRight:b.sp4}})]})})]})}const re=(e,t)=>{const{criteria:a,steps:o}=e.remiSetupApproverViewUpdateData?.data??{};return{[h]:[h],[I]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),T(e.allAttributes),T(e.filteredAttributes),o??[])??[],[C]:t?void 0:a!=null?a.range.min.amount??0:0,[j]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},oe=(e,t,a,o,s)=>s&&s.length>0?s.map((p,g)=>({stepIndex:g,stepType:{selectedOption:p.action,allOptions:_},actors:{allUsers:t,selectedUsers:se(e,p.actors),allNonUsers:o,selectedNonUsers:ne(a,p.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:_},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),k=e=>`${e}_form`,Re=e=>`${e}`,ie=c.div`
1
+ import{y as W,c as D,d as G,q as M,F as U,a8 as X,aN as H,aG as J,cB as K,V as r,bz as Q,ab as Y,aO as Z,o as b,g2 as ee}from"./index-CK2D3iZ1.js";import{a as B}from"./sentry-Dm3bm_ok.js";import{n as c}from"./mui-DCr-y2iU.js";import{b as ae,f as te,o as T,l as _}from"./FollowStepsSection-C_pWSlPc-DWF54WG6.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.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]="463ca4f8-c53b-41e1-8392-1fdb9c94c5e5",e._sentryDebugIdIdentifier="sentry-dbid-463ca4f8-c53b-41e1-8392-1fdb9c94c5e5")}catch{}})();const $="reimbursementApprovalRuleDetailPage",C="lowerBound",j="upperBound",I="steps",h="applyToExistingReimbursements",le={footerPadding:new W(D[2],D[3])};function Pe({localData:e,approvalUpdateActionType:t,isLowerBoundDisabled:a=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:s=!1,onBackClick:p,onApprovalRuleDataUpdated:g,onResetClick:N,onSaveRuleClick:E,onSaveRuleSuccess:A}){const F=G(),S=M(),l=U.getLocalizedStrings().commonSetUp.approval,w=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,t==="approval_create"&&!a),y=X({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,P=H(u?.fetchState),{upperBound:R}=x,{allApprovalRules:i,allAccountingClasses:V,remiSetupApproverViewUpdateData:m}=e;let f=i.length>1?i.length-1:0,v=i.length>0?i[f].criteria[0].range.min.amount:0;if(m!=null&&m.type==="approval_update"&&m.data!=null){const{approvalRuleId:n}=m.data;f=i.findIndex(d=>d.approvalRuleId===n),v=f>0?i[f-1].criteria[0].range.min.amount:0}const q=y.handleSubmit(()=>{E()}),z=async(n,d)=>{g(d)};return B.useEffect(()=>{const n=y.watch((d,{name:L})=>{if(L!=null&&d!=null){const O=J(d);K(()=>z(L,O))}});return()=>{n.unsubscribe()}}),B.useEffect(()=>{P==="In-Progress"&&u?.fetchState==="Completed"&&A()},[P,u?.fetchState,A]),r.jsxs(ie,{children:[r.jsx(Q,{title:t==="approval_create"?l.newApproval:l.editApproval,backgroundColor:F.colors.grey4,style:{zIndex:4},onBackClick:()=>{p()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(de,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:k($),onSubmit:q,children:r.jsxs(pe,{children:[r.jsx(ae,{label:{label:s?w.amountPerRemiGreaterLabel:w.amountPerRemiLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:R===1/0?Number.MAX_SAFE_INTEGER-1:R-1,min:v,validate:n=>a?!0:n!=null&&n>v},isDisabled:a,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:j,placeholder:"Infinity",isDisabled:o,hideField:s,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(n=>n.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:k($),primaryBtn:{label:l.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:t==="approval_create"?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:S==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(S)},separatorStyle:{marginRight:b.sp4}})]})})]})}const re=(e,t)=>{const{criteria:a,steps:o}=e.remiSetupApproverViewUpdateData?.data??{};return{[h]:[h],[I]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),T(e.allAttributes),T(e.filteredAttributes),o??[])??[],[C]:t?void 0:a!=null?a.range.min.amount??0:0,[j]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},oe=(e,t,a,o,s)=>s&&s.length>0?s.map((p,g)=>({stepIndex:g,stepType:{selectedOption:p.action,allOptions:_},actors:{allUsers:t,selectedUsers:se(e,p.actors),allNonUsers:o,selectedNonUsers:ne(a,p.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:_},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),k=e=>`${e}_form`,Re=e=>`${e}`,ie=c.div`
2
2
  display: flex;
3
3
  height: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{d as N,q as W,F as S,V as t,bz as _,m as E,aM as j,o,y as r,ak as z,aK as k,cm as H,cn as V,co as G,cY as U,c as l,b7 as q,a as T,b6 as F,p as P,cV as J,br as Y,b as K}from"./index-DiLAcdW6.js";import{n as i}from"./mui-8xKzSljO.js";import{a as O}from"./sentry-C9BQzslk.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./zeni-epic-state-D9zDRHOK.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="93c1e96a-615c-444f-af7e-1d01c99fcada",e._sentryDebugIdIdentifier="sentry-dbid-93c1e96a-615c-444f-af7e-1d01c99fcada")}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)},A={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeRegular")},Q=({showDeleteBtn:e=!1,isLastSection:m=!1,approvalRule:u,onEditRuleClick:b,onDeleteRuleClick:v})=>{const[x,c]=O.useState(!1),a=W(),{range:d}=u.criteria[0],{steps:g,approvalRuleId:w}=u,n=S.getLocalizedStrings().commonSetUp.approval,f=()=>{c(!0)},y={onOkClick:()=>{c(!1),v?.(w)},onCancelClick:()=>{c(!1)}};return t.jsxs(X,{windowSize:a,isLastSection:m,"data-testid":j("approval-rule-section",w),children:[t.jsxs(Z,{windowSize:a,children:[t.jsxs(ne,{children:[t.jsxs(B,{windowSize:a,children:[n.from," ",k("0,0",d.min)]}),t.jsxs(ee,{children:[t.jsx(I,{}),t.jsx(te,{}),t.jsx(I,{})]}),d.max==null?t.jsx(ce,{}):t.jsx(B,{windowSize:a,children:k("0,0",{...d.min,amount:d.max.amount})})]}),t.jsxs(ae,{className:"icons",children:[e?t.jsx(pe,{onClick:f}):null,t.jsx(de,{onClick:()=>{b(w)},"data-testid":j("edit-approval-rule",w)})]})]}),t.jsx(oe,{windowSize:a,children:t.jsx(ie,{isSingleStep:g.length===1,windowSize:a,children:g.map((h,D)=>t.jsxs(re,{isSingleStep:g.length===1,className:"stepperItem",windowSize:a,children:[h.action==="require_approval"?t.jsx(le,{children:n.requireText}):t.jsx(se,{children:n.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,M)=>t.jsxs(L,{children:[t.jsx(C,{children:p.subType!=null?n.nonUsers[p.subType].label:null}),h.operator!="is"?t.jsx(R,{className:"operator",children:h.operator}):null]},`${p.subType}_${M}`)),h.actors.map(p=>t.jsxs(L,{children:[t.jsxs(C,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?t.jsx(R,{className:"operator",children:h.operator}):null]},p.userId))]},D))})}),x?t.jsx(H,{titleComponent:t.jsx(G,{children:n.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(V,{children:n.deleteApprovalRuleDesc}),primaryButtonText:n.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:n.cancelBtnText,action:y}):null]})},X=i.div`
1
+ import{d as N,q as W,F as S,V as t,bz as _,m as E,aM as j,o,y as r,ak as z,aK as k,cm as H,cn as V,co as G,cY as U,c as l,b7 as q,a as T,b6 as F,p as P,cV as J,br as Y,b as K}from"./index-CK2D3iZ1.js";import{n as i}from"./mui-DCr-y2iU.js";import{a as O}from"./sentry-Dm3bm_ok.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="93c1e96a-615c-444f-af7e-1d01c99fcada",e._sentryDebugIdIdentifier="sentry-dbid-93c1e96a-615c-444f-af7e-1d01c99fcada")}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)},A={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeRegular")},Q=({showDeleteBtn:e=!1,isLastSection:m=!1,approvalRule:u,onEditRuleClick:b,onDeleteRuleClick:v})=>{const[x,c]=O.useState(!1),a=W(),{range:d}=u.criteria[0],{steps:g,approvalRuleId:w}=u,n=S.getLocalizedStrings().commonSetUp.approval,f=()=>{c(!0)},y={onOkClick:()=>{c(!1),v?.(w)},onCancelClick:()=>{c(!1)}};return t.jsxs(X,{windowSize:a,isLastSection:m,"data-testid":j("approval-rule-section",w),children:[t.jsxs(Z,{windowSize:a,children:[t.jsxs(ne,{children:[t.jsxs(B,{windowSize:a,children:[n.from," ",k("0,0",d.min)]}),t.jsxs(ee,{children:[t.jsx(I,{}),t.jsx(te,{}),t.jsx(I,{})]}),d.max==null?t.jsx(ce,{}):t.jsx(B,{windowSize:a,children:k("0,0",{...d.min,amount:d.max.amount})})]}),t.jsxs(ae,{className:"icons",children:[e?t.jsx(pe,{onClick:f}):null,t.jsx(de,{onClick:()=>{b(w)},"data-testid":j("edit-approval-rule",w)})]})]}),t.jsx(oe,{windowSize:a,children:t.jsx(ie,{isSingleStep:g.length===1,windowSize:a,children:g.map((h,D)=>t.jsxs(re,{isSingleStep:g.length===1,className:"stepperItem",windowSize:a,children:[h.action==="require_approval"?t.jsx(le,{children:n.requireText}):t.jsx(se,{children:n.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,M)=>t.jsxs(L,{children:[t.jsx(C,{children:p.subType!=null?n.nonUsers[p.subType].label:null}),h.operator!="is"?t.jsx(R,{className:"operator",children:h.operator}):null]},`${p.subType}_${M}`)),h.actors.map(p=>t.jsxs(L,{children:[t.jsxs(C,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?t.jsx(R,{className:"operator",children:h.operator}):null]},p.userId))]},D))})}),x?t.jsx(H,{titleComponent:t.jsx(G,{children:n.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(V,{children:n.deleteApprovalRuleDesc}),primaryButtonText:n.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:n.cancelBtnText,action:y}):null]})},X=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{av as At,a7 as Mt,q as Rt,d as Pt,ca as Bt,y as m,F as Xe,gc as Nt,ge as Lt,gf as _t,V as t,cm as ze,cn as Ae,co as Me,bz as Re,aM as y,bm as Ot,dr as Wt,gg as Et,gr as Pe,o as a,gh as Be,fd as b,gk as w,fg as x,aK as Ne,fc as Le,b as K,gm as _e,aO as Ft,an as Kt,gn as Ut,go as ie,bv as Vt,gp as Gt,L as Yt,a as Ht,B as Jt,ak as et,b7 as tt,p as U,al as qt,bS as Zt,ag as Qt,gI as Xt,gE as ei,c,cf as ti,cT as ii}from"./index-DiLAcdW6.js";import{a as p}from"./sentry-C9BQzslk.js";import{n as r}from"./mui-8xKzSljO.js";import{a as ai}from"./liveblocks-DjrSQGDL.js";import{bL as ri,bP as oi,FB as ni}from"./zeni-epic-state-D9zDRHOK.js";import li from"./InvoiceUploadSection-DomquLut-CTyd6fPs.js";import{r as si,h as f,u as di}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-BCGhSsNP.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./recharts-BnXj3KRI.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";import"./AttachmentView-DSP80cjm-NHnh6Mdu.js";import"./uploadReceipts-CPw64UYa-6mvBw6sd.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]="59b0722f-68b8-4ab3-88c5-839fe1f060c8",e._sentryDebugIdIdentifier="sentry-dbid-59b0722f-68b8-4ab3-88c5-839fe1f060c8")}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])},ci={formTitle:new Ht("h6Regular","h5Regular")},la=({remiDetails:e,uploadInvoiceEndPoint:C,authParams:re,isAdmin:oe,signedInUser:ne,showApproveRejectBtns:le,isRealTimeApprovalEnabled:se,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:de,isSignedInUserReimbursementCreator:it,updateEditRealTimeApproverClicked:ce,onSaveRealTimeApprovals:me,redirectToReimbursementListScreen:V,redirectToEditableReimbursementScreen:at,onDuplicateLineClick:rt,approveOrRejectRemi:pe,deleteReimbursement:ot,cancelAndDeleteReport:ue,handleZeniLogoClick:nt,onAddNewRule:he})=>{const d=At(),lt=Mt().analytics,o=Rt(),ye=Pt(),[st,z]=p.useState(!1),[G,Y]=p.useState(!1),[dt,H]=p.useState(!1),[J,q]=p.useState("approved"),B=p.useRef(null),[j,Z]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,ct]=p.useState(null),[mt,N]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,ge=p.useRef({}),be=l=>{const n=ge.current[l];n!=null&&setTimeout(()=>di(n,B.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&V()},[e,V]),p.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const n=l.substring(1);be(n)}},[]);const pt=()=>{V()};Bt({componentName:"reimbursement.details"});const ut={onOkClick:()=>{z(!1),j.primaryButtonText===i.buttons.delete?ot?.():j.title===i.cancelReportTitle?ue?.():j.title===i.cancelAndDeleteReportTitle&&ue?.(!0)},onCancelClick:()=>{z(!1)}},I=s.labelWidth.value(o),A=s.largeLabelWidth.value(o),we=Xe.getLocalizedStrings(),{common:{texts:{comments:ht},strings:{empty:xe}},collaboration:{threads:{placeholder:{addANewComment:yt,replyAComment:gt},tooltip:{resolveComment:bt,unResolveComment:wt}}},dateFormat:fe}=we,{reimbursementDetail:i,bulkActions:L}=we.spendManagement.reimbursement,Q=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],_=e.remiDetails?.reimbursementInfo.stage,O=e.remiDetails?.reimbursementInfo.billStatus,W=e.remiDetails?.reimbursementInfo.billPaymentStatus,$e=_?.code==="paid",xt=$e?_:O?.code=="approved"&&W?.code?W:O,$=mi(e.remiDetails),M=O?.code=="approved"&&W?.code?W:O,E=e.remiDetails?.isDeleted??!1,ve=e.remiDetails?.amount,Te=e.remiDetails?.amount.amount??0,Se=()=>{Z({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),z(!0)},ft=()=>{Z({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),z(!0)},$t=()=>{Z({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),z(!0)},je=()=>{at()},vt={onOkClick:l=>{H(!1),pe({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{H(!1)}},Tt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?je():(q("approved"),pe({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(q("delete"),Se()):(q("rejected"),H(!0))},jt=e.remiDetails?.reimbursementInfo.paymentDate!=null?ri(oi(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,X=e.remiDetails?.reimbursementInfo.expectedDepositDate??jt,It=e.remiDetails?.lines?.some(l=>{const n=l.lineDetail;return n?.account?.isDeleted===!0&&n?.account?.isBillEditableCoaAccountType===!1})??!1,Ie=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&it&&!It,Dt=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ee=xt?.code,Ct=si(e.duplicateLineByLineId),De=e.duplicateReimbursementStatus.fetchState==="Completed"&&Ct>0,{requestToOpenThread:te,setRequestToOpenThread:Ce,setOpenThread:F}=p.useContext(Nt),{threads:R,isLoading:D}=Lt({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),kt=p.useMemo(()=>R.filter(l=>l.resolved===!1&&!l.id.includes(_t)),[R]).length,zt=p.useCallback((l,n)=>{F(n),N(!1)},[F,N]);p.useEffect(()=>{te?.threadId!=null&&R.length>0&&!D&&(F(te.threadId),Ce(null))},[te,R,D,F,Ce]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},P=ni(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(_i,{windowSize:o,ref:B,children:[st?t.jsx(ze,{titleComponent:t.jsx(Me,{children:j.title}),descriptionComponent:t.jsx(Ae,{children:j.description}),primaryButtonText:j.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:j.secondaryButtonText,action:ut}):null,dt?t.jsx(ze,{titleComponent:t.jsx(Me,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Ae,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:vt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ai,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(Mi,{onClick:()=>nt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ye.colors.background,keepBackgroundOnScroll:!0,scrollableContent:B,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(Ci,{}):null,t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:Q??xe,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Pi,{children:[u?t.jsxs(Bi,{isDisabled:D,onClick:D?()=>null:l=>{l.preventDefault(),l.stopPropagation(),ct({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),N(!0),lt.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(n=>Wt(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Ot,{count:D?void 0:kt,isLoading:D,style:{left:"12px"}}),t.jsx(Ni,{})]}):null,t.jsx(Li,{size:o,onClick:()=>pt(),"data-testid":y("remi-detail-page-close"),children:t.jsx(Ri,{})})]}),scrollableContent:B,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Vi,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(He,{windowSize:o,children:t.jsx(Je,{windowsSize:o,children:Q})}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,M?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Et,{progressSectionObj:M,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:E}),P?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:L.duplicateWarning.title,description:L.duplicateWarning.description}):De?t.jsxs(Oe,{size:o,children:[t.jsx(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ye,{windowSize:o,children:t.jsx(Be,{progressSectionObj:M,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:E})}):null]}):null,S.map((l,n)=>{const v=e.duplicateLineByLineId[l.lineId];return t.jsxs(Qe,{windowSize:o,children:[t.jsx(Fi,{windowSize:o,children:t.jsx(Ki,{bottomSeperator:S.length!==1,windowSize:o,children:t.jsx(li,{showAutofill:!1,uploadInvoiceEndPoint:C,authParams:re,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:S.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:S.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Ei,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(He,{windowSize:o,children:[t.jsx(Je,{windowsSize:o,children:Q}),de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,M?.code!=null?t.jsx(Ye,{windowSize:o,children:t.jsx(Be,{progressSectionObj:M,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:E})}):null,P?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:L.duplicateWarning.title,description:L.duplicateWarning.description}):De?t.jsxs(Oe,{size:o,children:[t.jsx(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(bi,{windowSize:o,ref:ke=>{ke!=null&&(ge.current[`L${l.lineId}`]=ke)},children:[o!=="small"?t.jsx(gi,{children:t.jsx(wi,{children:S.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(xi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(hi,{children:[i.thisExpenseReview," ",t.jsx(yi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return be(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&rt(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:l.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(w,{label:{label:i.reimbursementType,width:A},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:A},text:l.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("distanceInMiles",n,"mileage")}`},children:t.jsx(w,{label:{label:i.distanceInMiles,width:A},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"mileage")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Ne("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("merchant",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.merchant,width:A},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:A},text:l.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Ne("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.category,width:I},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Wi,{windowSize:o,children:[t.jsxs(qe,{windowSize:o,children:[t.jsx(Ze,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:K.h6Regular.cssObject,decimalStyles:K.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(_e,{amount:Te,activities:e.remiActivities,stage:_?.code??"draft",onAddNewRule:he,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:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),S.length===1&&t.jsxs(Qe,{windowSize:o,children:[t.jsx(Ge,{}),t.jsxs(pi,{windowSize:o,children:[t.jsx(Oi,{windowSize:o,children:t.jsxs(qe,{windowSize:o,children:[t.jsx(Ze,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:K.h6Regular.cssObject,decimalStyles:K.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ui,{windowSize:o,children:t.jsx(_e,{amount:Te,activities:e.remiActivities,stage:_?.code??"draft",onAddNewRule:he,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:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me}})})]})]}),t.jsx(Ui,{})]}),$e||E===!0?null:t.jsxs(zi,{children:[o!=="small"?t.jsx(Ge,{}):null,t.jsx($i,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),G===!0&&Y(!1)},children:t.jsx(Ft,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:J==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||J==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:St,style:{width:s.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:J==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:Tt,style:{width:s.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(fi,{children:t.jsxs(ki,{windowSize:o,children:[!P&&G?t.jsx(Kt,{onClickAway:()=>Y(!1),children:t.jsxs(Di,{windowSize:o,children:[ee!=="processing"?t.jsx(ae,{onClick:Se,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ee==="processing"?t.jsx(ae,{onClick:ft,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ee==="processing"?t.jsx(ae,{onClick:$t,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ii,{windowSize:o,children:[!P&&Ie?t.jsx(ji,{onClick:je,"data-testid":y("remi-edit-button"),children:t.jsx(Si,{})}):null,!P&&Dt===!0?t.jsx(Ti,{windowSize:o,showEditIcon:Ie,children:t.jsx(vi,{onClick:()=>Y(!G),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ai,{id:h,children:t.jsx(Ut,{isDrawerOpen:mt,allowComposer:!0,drawerTitle:ht,threads:R,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??xe,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:k?{companyName:k.companyName,companyId:k.companyId,entityId:k.entityId,entityType:k.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:yt,replyComposerPlaceholder:gt,threadResolve:bt,threadUnResolve:wt},onThreadClick:(l,n)=>zt(l,n),onCloseAllThreadsDrawer:()=>N(!1),drawerSectionStyle:{width:"400px",backgroundColor:ye.colors.background}})}):null]})},mi=e=>{const C=Xe.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:C.tabsById.deleted,color:ie.deleted.color,bgColor:ie.deleted.bgColor,borderColor:ie.deleted.borderColor,code:"deleted"}},pi=r.div`
1
+ import{av as At,a7 as Mt,q as Rt,d as Pt,ca as Bt,y as m,F as Xe,gc as Nt,ge as Lt,gf as _t,V as t,cm as ze,cn as Ae,co as Me,bz as Re,aM as y,bm as Ot,dr as Wt,gg as Et,gr as Pe,o as a,gh as Be,fd as b,gk as w,fg as x,aK as Ne,fc as Le,b as K,gm as _e,aO as Ft,an as Kt,gn as Ut,go as ie,bv as Vt,gp as Gt,L as Yt,a as Ht,B as Jt,ak as et,b7 as tt,p as U,al as qt,bS as Zt,ag as Qt,gI as Xt,gE as ei,c,cf as ti,cT as ii}from"./index-CK2D3iZ1.js";import{a as p}from"./sentry-Dm3bm_ok.js";import{n as r}from"./mui-DCr-y2iU.js";import{a as ai}from"./liveblocks-CofSwFWW.js";import{bL as ri,bP as oi,FB as ni}from"./zeni-epic-state-Cgro3mH-.js";import li from"./InvoiceUploadSection-BvaKEakI-Cgqd0lG_.js";import{r as si,h as f,u as di}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-D2k9JfRf.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./recharts-CIKvFUT6.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";import"./AttachmentView-BijZrB02-BJhcTpzV.js";import"./uploadReceipts-CPw64UYa-BEcpM53g.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]="6e2928b0-cf5e-4edf-9023-1c60324c3c83",e._sentryDebugIdIdentifier="sentry-dbid-6e2928b0-cf5e-4edf-9023-1c60324c3c83")}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])},ci={formTitle:new Ht("h6Regular","h5Regular")},la=({remiDetails:e,uploadInvoiceEndPoint:C,authParams:re,isAdmin:oe,signedInUser:ne,showApproveRejectBtns:le,isRealTimeApprovalEnabled:se,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:de,isSignedInUserReimbursementCreator:it,updateEditRealTimeApproverClicked:ce,onSaveRealTimeApprovals:me,redirectToReimbursementListScreen:V,redirectToEditableReimbursementScreen:at,onDuplicateLineClick:rt,approveOrRejectRemi:pe,deleteReimbursement:ot,cancelAndDeleteReport:ue,handleZeniLogoClick:nt,onAddNewRule:he})=>{const d=At(),lt=Mt().analytics,o=Rt(),ye=Pt(),[st,z]=p.useState(!1),[G,Y]=p.useState(!1),[dt,H]=p.useState(!1),[J,q]=p.useState("approved"),B=p.useRef(null),[j,Z]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,ct]=p.useState(null),[mt,N]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,ge=p.useRef({}),be=l=>{const n=ge.current[l];n!=null&&setTimeout(()=>di(n,B.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&V()},[e,V]),p.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const n=l.substring(1);be(n)}},[]);const pt=()=>{V()};Bt({componentName:"reimbursement.details"});const ut={onOkClick:()=>{z(!1),j.primaryButtonText===i.buttons.delete?ot?.():j.title===i.cancelReportTitle?ue?.():j.title===i.cancelAndDeleteReportTitle&&ue?.(!0)},onCancelClick:()=>{z(!1)}},I=s.labelWidth.value(o),A=s.largeLabelWidth.value(o),we=Xe.getLocalizedStrings(),{common:{texts:{comments:ht},strings:{empty:xe}},collaboration:{threads:{placeholder:{addANewComment:yt,replyAComment:gt},tooltip:{resolveComment:bt,unResolveComment:wt}}},dateFormat:fe}=we,{reimbursementDetail:i,bulkActions:L}=we.spendManagement.reimbursement,Q=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],_=e.remiDetails?.reimbursementInfo.stage,O=e.remiDetails?.reimbursementInfo.billStatus,W=e.remiDetails?.reimbursementInfo.billPaymentStatus,$e=_?.code==="paid",xt=$e?_:O?.code=="approved"&&W?.code?W:O,$=mi(e.remiDetails),M=O?.code=="approved"&&W?.code?W:O,E=e.remiDetails?.isDeleted??!1,ve=e.remiDetails?.amount,Te=e.remiDetails?.amount.amount??0,Se=()=>{Z({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),z(!0)},ft=()=>{Z({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),z(!0)},$t=()=>{Z({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),z(!0)},je=()=>{at()},vt={onOkClick:l=>{H(!1),pe({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{H(!1)}},Tt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?je():(q("approved"),pe({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(q("delete"),Se()):(q("rejected"),H(!0))},jt=e.remiDetails?.reimbursementInfo.paymentDate!=null?ri(oi(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,X=e.remiDetails?.reimbursementInfo.expectedDepositDate??jt,It=e.remiDetails?.lines?.some(l=>{const n=l.lineDetail;return n?.account?.isDeleted===!0&&n?.account?.isBillEditableCoaAccountType===!1})??!1,Ie=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&it&&!It,Dt=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ee=xt?.code,Ct=si(e.duplicateLineByLineId),De=e.duplicateReimbursementStatus.fetchState==="Completed"&&Ct>0,{requestToOpenThread:te,setRequestToOpenThread:Ce,setOpenThread:F}=p.useContext(Nt),{threads:R,isLoading:D}=Lt({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),kt=p.useMemo(()=>R.filter(l=>l.resolved===!1&&!l.id.includes(_t)),[R]).length,zt=p.useCallback((l,n)=>{F(n),N(!1)},[F,N]);p.useEffect(()=>{te?.threadId!=null&&R.length>0&&!D&&(F(te.threadId),Ce(null))},[te,R,D,F,Ce]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},P=ni(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(_i,{windowSize:o,ref:B,children:[st?t.jsx(ze,{titleComponent:t.jsx(Me,{children:j.title}),descriptionComponent:t.jsx(Ae,{children:j.description}),primaryButtonText:j.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:j.secondaryButtonText,action:ut}):null,dt?t.jsx(ze,{titleComponent:t.jsx(Me,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Ae,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:vt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ai,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(Mi,{onClick:()=>nt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ye.colors.background,keepBackgroundOnScroll:!0,scrollableContent:B,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(Ci,{}):null,t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:Q??xe,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Pi,{children:[u?t.jsxs(Bi,{isDisabled:D,onClick:D?()=>null:l=>{l.preventDefault(),l.stopPropagation(),ct({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),N(!0),lt.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(n=>Wt(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Ot,{count:D?void 0:kt,isLoading:D,style:{left:"12px"}}),t.jsx(Ni,{})]}):null,t.jsx(Li,{size:o,onClick:()=>pt(),"data-testid":y("remi-detail-page-close"),children:t.jsx(Ri,{})})]}),scrollableContent:B,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Vi,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(He,{windowSize:o,children:t.jsx(Je,{windowsSize:o,children:Q})}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,M?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Et,{progressSectionObj:M,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:E}),P?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:L.duplicateWarning.title,description:L.duplicateWarning.description}):De?t.jsxs(Oe,{size:o,children:[t.jsx(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ye,{windowSize:o,children:t.jsx(Be,{progressSectionObj:M,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:E})}):null]}):null,S.map((l,n)=>{const v=e.duplicateLineByLineId[l.lineId];return t.jsxs(Qe,{windowSize:o,children:[t.jsx(Fi,{windowSize:o,children:t.jsx(Ki,{bottomSeperator:S.length!==1,windowSize:o,children:t.jsx(li,{showAutofill:!1,uploadInvoiceEndPoint:C,authParams:re,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:S.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:S.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Ei,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(He,{windowSize:o,children:[t.jsx(Je,{windowsSize:o,children:Q}),de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,M?.code!=null?t.jsx(Ye,{windowSize:o,children:t.jsx(Be,{progressSectionObj:M,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:E})}):null,P?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:L.duplicateWarning.title,description:L.duplicateWarning.description}):De?t.jsxs(Oe,{size:o,children:[t.jsx(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(bi,{windowSize:o,ref:ke=>{ke!=null&&(ge.current[`L${l.lineId}`]=ke)},children:[o!=="small"?t.jsx(gi,{children:t.jsx(wi,{children:S.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(xi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(hi,{children:[i.thisExpenseReview," ",t.jsx(yi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return be(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&rt(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:l.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(w,{label:{label:i.reimbursementType,width:A},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:A},text:l.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("distanceInMiles",n,"mileage")}`},children:t.jsx(w,{label:{label:i.distanceInMiles,width:A},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"mileage")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Ne("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("merchant",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.merchant,width:A},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:A},text:l.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Ne("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.category,width:I},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Wi,{windowSize:o,children:[t.jsxs(qe,{windowSize:o,children:[t.jsx(Ze,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:K.h6Regular.cssObject,decimalStyles:K.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(_e,{amount:Te,activities:e.remiActivities,stage:_?.code??"draft",onAddNewRule:he,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:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),S.length===1&&t.jsxs(Qe,{windowSize:o,children:[t.jsx(Ge,{}),t.jsxs(pi,{windowSize:o,children:[t.jsx(Oi,{windowSize:o,children:t.jsxs(qe,{windowSize:o,children:[t.jsx(Ze,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:K.h6Regular.cssObject,decimalStyles:K.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ui,{windowSize:o,children:t.jsx(_e,{amount:Te,activities:e.remiActivities,stage:_?.code??"draft",onAddNewRule:he,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:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me}})})]})]}),t.jsx(Ui,{})]}),$e||E===!0?null:t.jsxs(zi,{children:[o!=="small"?t.jsx(Ge,{}):null,t.jsx($i,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),G===!0&&Y(!1)},children:t.jsx(Ft,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:J==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||J==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:St,style:{width:s.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:J==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:Tt,style:{width:s.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(fi,{children:t.jsxs(ki,{windowSize:o,children:[!P&&G?t.jsx(Kt,{onClickAway:()=>Y(!1),children:t.jsxs(Di,{windowSize:o,children:[ee!=="processing"?t.jsx(ae,{onClick:Se,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ee==="processing"?t.jsx(ae,{onClick:ft,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ee==="processing"?t.jsx(ae,{onClick:$t,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ii,{windowSize:o,children:[!P&&Ie?t.jsx(ji,{onClick:je,"data-testid":y("remi-edit-button"),children:t.jsx(Si,{})}):null,!P&&Dt===!0?t.jsx(Ti,{windowSize:o,showEditIcon:Ie,children:t.jsx(vi,{onClick:()=>Y(!G),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ai,{id:h,children:t.jsx(Ut,{isDrawerOpen:mt,allowComposer:!0,drawerTitle:ht,threads:R,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??xe,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:k?{companyName:k.companyName,companyId:k.companyId,entityId:k.entityId,entityType:k.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:yt,replyComposerPlaceholder:gt,threadResolve:bt,threadUnResolve:wt},onThreadClick:(l,n)=>zt(l,n),onCloseAllThreadsDrawer:()=>N(!1),drawerSectionStyle:{width:"400px",backgroundColor:ye.colors.background}})}):null]})},mi=e=>{const C=Xe.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:C.tabsById.deleted,color:ie.deleted.color,bgColor:ie.deleted.bgColor,borderColor:ie.deleted.borderColor,code:"deleted"}},pi=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{av as ne,d as S,q as k,aN as le,V as e,aM as a,fo as ae,bz as de,n as u,ad as d,F,o as s,ap as ce,D as me,aQ as N,al as pe,y as xe,p as z,cA as he,aR as ue,b8 as ge,c as we}from"./index-DiLAcdW6.js";import{a as j}from"./sentry-C9BQzslk.js";import{n as r}from"./mui-8xKzSljO.js";import{FA as je,bT as be}from"./zeni-epic-state-D9zDRHOK.js";import{f as fe}from"./VideoPopup-BEXc8o78-DmUVjFrn.js";import{M as v}from"./usp-line-BBd1wKwW-CVrOUZlu.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";import"./VideoPlayer-BVR9LPmm-BPKR0CVm.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]="2796cf0c-4848-410a-9a56-dd73a2a6d0b2",i._sentryDebugIdIdentifier="sentry-dbid-2796cf0c-4848-410a-9a56-dd73a2a6d0b2")}catch{}})();const Z="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",E="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=r.div`
1
+ import{av as ne,d as S,q as k,aN as le,V as e,aM as a,fo as ae,bz as de,n as u,ad as d,F,o as s,ap as ce,D as me,aQ as N,al as pe,y as xe,p as z,cA as he,aR as ue,b8 as ge,c as we}from"./index-CK2D3iZ1.js";import{a as j}from"./sentry-Dm3bm_ok.js";import{n as r}from"./mui-DCr-y2iU.js";import{FA as je,bT as be}from"./zeni-epic-state-Cgro3mH-.js";import{f as fe}from"./VideoPopup-CfYmxIk4-BV_-FDHV.js";import{M as v}from"./usp-line-BBd1wKwW-Cow5FZNy.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";import"./VideoPlayer-CN28Ho6V-t5x8EBh8.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]="164d5ecb-faca-44c2-9e36-847e6b3fe3ec",i._sentryDebugIdIdentifier="sentry-dbid-164d5ecb-faca-44c2-9e36-847e6b3fe3ec")}catch{}})();const Z="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",E="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=r.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{d as Ee,q as Ie,aN as N,a8 as qe,cB as Ge,F as Te,aS as Ce,V as t,f6 as Je,p as J,y as s,bz as Ze,m as Ye,ab as Ke,fp as ve,dM as Xe,fq as Qe,bu as et,dC as tt,aO as it,o as a,fs as nt,c as n,cf as ot,cO as at,cW as lt,fB as ke,fC as $e,gb as st,n as rt,aM as Pe,a as Ae,bJ as dt,ag as ct,br as ut}from"./index-DiLAcdW6.js";import{a as o}from"./sentry-C9BQzslk.js";import{n as i}from"./mui-8xKzSljO.js";import{bJ as mt}from"./zeni-epic-state-D9zDRHOK.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-COtszXUY-BSxnizaf.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="3692d705-6575-4d0f-8391-33be6fed44f0",e._sentryDebugIdIdentifier="sentry-dbid-3692d705-6575-4d0f-8391-33be6fed44f0")}catch{}})();const gt=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},ge={title:new Ae("standardSemiBold","largeSemiBold"),infoLabel:new Ae("extraSmallRegular","smallRegular")};function ft({companyMileageConfigInfo:e,mileageDetails:p,analytics:$,style:j,sectionId:P,isActive:c=!0,isDisabled:r,onSaveMileageClick:Z}){const l=Ie(),D=Ee(),{formState:{errors:Y},trigger:K}=at(),E=ht(P,"mileageAmountInDenomination"),x=lt(Y,E),{localData:d,updateStatus:F,mileageStatus:w}=p,U=e?.denominationConversions.amount==null||e.denominationConversions.amount!==d?.mileageAmountInDenomination,{commonSetUp:X,spendManagement:Q}=Te.getLocalizedStrings(),{reimbursement:ee}=Q,[S,I]=o.useState(U),[te,W]=o.useState(!1);o.useEffect(()=>{x||K(E)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===d?.mileageAmountInDenomination&&I(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{S||W(S)},[S]);const{reimbursementSetup:y}=ee,{setUp:ie}=X,ne=S===!1||F.fetchState==="In-Progress"?"readonly":r,oe=d&&d?.denominationSymbol?`${d?.denominationSymbol} `:"",ae=d&&d?.mileageUnit?d?.mileageUnit:"";return t.jsxs(xt,{windowSize:l,style:j,isActive:c&&r==null,children:[t.jsxs(Pt,{windowSize:l,children:[y.mileageHeader,c===!1?t.jsx(Dt,{children:ie.comingSoon}):null]}),t.jsxs(kt,{windowSize:l,children:[t.jsx(vt,{windowSize:l,isDarkMode:D.mode==="dark",children:t.jsx(gt,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),t.jsxs(yt,{children:[t.jsxs($t,{children:[t.jsxs(At,{children:[t.jsxs(jt,{children:[t.jsx(wt,{windowSize:l,children:e?.denominationConversions.amount==null?y.mileageAddTitle:y.mileageEditTitle}),t.jsx(St,{children:y.mileageSubTitle})]}),w!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(ke,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:w.name,textColor:$e(w.code)}):null]}),t.jsxs(bt,{children:[w!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(ke,{style:{width:"max-content"},tagTitle:w.name,textColor:$e(w.code)}):null,t.jsx(Ct,{})]})]}),t.jsxs(Et,{children:[t.jsxs(It,{children:[t.jsx(st,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:x?void 0:D.colors.background,color:S||x?void 0:D.colors.grey1},isFieldError:x,type:"number",autoFocus:!1,focus:te,name:E,defaultValue:d?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${y.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:T=>T!=null||r!=null,required:r==null},isDisabled:ne}),t.jsx(Vt,{children:S?t.jsx(rt,{label:y.save,"data-testid":Pe("save-mileage"),onClick:()=>{d?.mileageAmountInDenomination!=null&&U&&!x&&Z?.(d.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:F.fetchState==="In-Progress"}):t.jsx(Lt,{isDisabled:r,"data-testid":Pe("edit-mileage"),onClick:T=>{T.stopPropagation(),I(!0),W(!0),$.trackReimbursementMileageRateEdit()}})})]}),d?.description!=null?t.jsx(Tt,{size:l,hasError:x,children:x&&e?.defaultMileageUnitAmount!=null?y.yourMileage.replace("__defaultMileageUnitAmount__",(e.defaultMileageUnitAmount*100).toString()):d.description}):null]})]})]})]})}const ht=(e,p)=>`${e}.${p}`,xt=i.div`
1
+ import{d as Ee,q as Ie,aN as N,a8 as qe,cB as Ge,F as Te,aS as Ce,V as t,f6 as Je,p as J,y as s,bz as Ze,m as Ye,ab as Ke,fp as ve,dM as Xe,fq as Qe,bu as et,dC as tt,aO as it,o as a,fs as nt,c as n,cf as ot,cO as at,cW as lt,fB as ke,fC as $e,gb as st,n as rt,aM as Pe,a as Ae,bJ as dt,ag as ct,br as ut}from"./index-CK2D3iZ1.js";import{a as o}from"./sentry-Dm3bm_ok.js";import{n as i}from"./mui-DCr-y2iU.js";import{bJ as mt}from"./zeni-epic-state-Cgro3mH-.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-jNiTn6qG-D_tolxLp.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="ebd5355a-64d4-4c2d-b688-42288dff51aa",e._sentryDebugIdIdentifier="sentry-dbid-ebd5355a-64d4-4c2d-b688-42288dff51aa")}catch{}})();const gt=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},ge={title:new Ae("standardSemiBold","largeSemiBold"),infoLabel:new Ae("extraSmallRegular","smallRegular")};function ft({companyMileageConfigInfo:e,mileageDetails:p,analytics:$,style:j,sectionId:P,isActive:c=!0,isDisabled:r,onSaveMileageClick:Z}){const l=Ie(),D=Ee(),{formState:{errors:Y},trigger:K}=at(),E=ht(P,"mileageAmountInDenomination"),x=lt(Y,E),{localData:d,updateStatus:F,mileageStatus:w}=p,U=e?.denominationConversions.amount==null||e.denominationConversions.amount!==d?.mileageAmountInDenomination,{commonSetUp:X,spendManagement:Q}=Te.getLocalizedStrings(),{reimbursement:ee}=Q,[S,I]=o.useState(U),[te,W]=o.useState(!1);o.useEffect(()=>{x||K(E)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===d?.mileageAmountInDenomination&&I(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{S||W(S)},[S]);const{reimbursementSetup:y}=ee,{setUp:ie}=X,ne=S===!1||F.fetchState==="In-Progress"?"readonly":r,oe=d&&d?.denominationSymbol?`${d?.denominationSymbol} `:"",ae=d&&d?.mileageUnit?d?.mileageUnit:"";return t.jsxs(xt,{windowSize:l,style:j,isActive:c&&r==null,children:[t.jsxs(Pt,{windowSize:l,children:[y.mileageHeader,c===!1?t.jsx(Dt,{children:ie.comingSoon}):null]}),t.jsxs(kt,{windowSize:l,children:[t.jsx(vt,{windowSize:l,isDarkMode:D.mode==="dark",children:t.jsx(gt,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),t.jsxs(yt,{children:[t.jsxs($t,{children:[t.jsxs(At,{children:[t.jsxs(jt,{children:[t.jsx(wt,{windowSize:l,children:e?.denominationConversions.amount==null?y.mileageAddTitle:y.mileageEditTitle}),t.jsx(St,{children:y.mileageSubTitle})]}),w!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(ke,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:w.name,textColor:$e(w.code)}):null]}),t.jsxs(bt,{children:[w!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(ke,{style:{width:"max-content"},tagTitle:w.name,textColor:$e(w.code)}):null,t.jsx(Ct,{})]})]}),t.jsxs(Et,{children:[t.jsxs(It,{children:[t.jsx(st,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:x?void 0:D.colors.background,color:S||x?void 0:D.colors.grey1},isFieldError:x,type:"number",autoFocus:!1,focus:te,name:E,defaultValue:d?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${y.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:T=>T!=null||r!=null,required:r==null},isDisabled:ne}),t.jsx(Vt,{children:S?t.jsx(rt,{label:y.save,"data-testid":Pe("save-mileage"),onClick:()=>{d?.mileageAmountInDenomination!=null&&U&&!x&&Z?.(d.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:F.fetchState==="In-Progress"}):t.jsx(Lt,{isDisabled:r,"data-testid":Pe("edit-mileage"),onClick:T=>{T.stopPropagation(),I(!0),W(!0),$.trackReimbursementMileageRateEdit()}})})]}),d?.description!=null?t.jsx(Tt,{size:l,hasError:x,children:x&&e?.defaultMileageUnitAmount!=null?y.yourMileage.replace("__defaultMileageUnitAmount__",(e.defaultMileageUnitAmount*100).toString()):d.description}):null]})]})]})]})}const ht=(e,p)=>`${e}.${p}`,xt=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};