@zeniai/web-cockpit-ui 1.14.95-prod → 1.14.96-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 (275) hide show
  1. package/dist/assets/{ACHDetailsPage-OhfwzmDP-CUPlHlS1.js → ACHDetailsPage-BRWOdhMx-lCkplz0-.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-9OxanlvK-Bk_qTUs7.js → AIPerformancePage-4v4Fkm9f-BqYLGo1s.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Ca_vKG58-pmVk2hiY.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Bu-ZFVKf-BazFs_cA.js → AccountInfoPageContent-Dv1IPcdF-ChZIyLOA.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BqLkGmTA-Bi36nE_K.js → AccountLockedInfoModal-CEk5d9hq-BU7zCzNG.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CyQ13mJl-CAv47_Mb.js → AccountReconDetailsDrawerPage-DYKjrPwN-BReGAKzb.js} +4 -4
  7. package/dist/assets/{AccountRow-pJ59k4-J-BFmtHL3N.js → AccountRow-BM3xLbeh-DwBWMEiu.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Ukdm1VDj-Dh0SxjJq.js → AccountsPromoCardStack-CTkwARBJ-Dqd8qLkS.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CZ9kZK-_-7zBs11LO.js → AddAddressForCardDrawer-DfOyebHX-BnGN6mbi.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-Bc0GY8mw-CwBrjgnk.js → AddToWalletPage-OJBvAKUj-CKSRCSe6.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-Cam_Ox67-DaZT71t6.js → AgingReportsPage-n-UKn3Ei-CfeYGvlE.js} +1 -1
  12. package/dist/assets/{AllUserItems-CEBWfFac-DPOuER5U.js → AllUserItems-BsvKEVcx-Ckn7N6Nq.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-uy2AK45a-JhYM22T9.js → ApAgingDetailPage-Duu2uAEr-CuSndO2U.js} +2 -2
  14. package/dist/assets/{AppBasePage-BBolfeYB-CAoueBdK.js → AppBasePage-DoCF494Z-BPFvSn_P.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-Df0b3OK2-CKxXRIrV.js → AppDrawerContent-DM1t0oLS-DX8gDdRy.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-ChI1Wnf--DELVy5mB.js → ApprovalRulesSettingsPage-GZCo6_i2-ClrA48La.js} +1 -1
  17. package/dist/assets/{ArAgingChart-PIQ_BFy4-YcKcd549.js → ArAgingChart-CsFDVdeO-C-RKv3GM.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-DpdUPb6--BJoxfTPP.js → ArAgingDetailPage-CaOr6vAU-Dju9MqE9.js} +1 -1
  19. package/dist/assets/{AttachmentView-mC246Bpw-CT1OWA3c.js → AttachmentView-B0d42oAf-CFenLcCO.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DehqZ04x-BJbbHUH9.js → BankAccountSection-Bgdk93V0-DEu58Lvd.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-WkczfI75-p--soGkR.js → BankAccountWarningSection-DMRmF2yM-Bdqe05tT.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-CCEKqkfW-CxNmb7UL.js → BankConnectionsSettingsPage-BpwKq93l-yFMdYswL.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DA1djKtd-CT6NN5ei.js → BillDetailPage-BG7FhHEq-CI73yv-V.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CLkMLaIk-DBi0iP3G.js → BillPayApprovalRuleDetailPage-BAK1Gfko-DXu3RSd8.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CZnYZ8cn-D3dv90TB.js → BillPayApprovalRulesPage-DiCNUU-G-CN0GV9DL.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-M3bRYehy-Bpwpx-W-.js → BillPayPromoPage-aGKOv8Ur-59DxEGOU.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-CJyPhrld-BW-k6Cq5.js → BillPaySetUpPage-DRCjyEfB-CkG4ce3e.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-CQngU3lq-DrWAQyUl.js → BillingSettingsPage-CdYb74V7-D26O7kQD.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DlAOz-SY-hKyZsi63.js → BillsBulkReviewDrawerPage-D8EGfY5P-BpW4NDmq.js} +1 -1
  30. package/dist/assets/{BoxItem-Cb4_ZBkK-xDHkx3mk.js → BoxItem-WOrvBzns-DD4R649W.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-D7btikKT-BPUDQBNI.js → BusinessVerificationPage-CbqJIVpz-BiQu25FO.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-DQ6T2OKm-CtS54mYI.js → CardNumberSubText-DBOH0_yP-Be1TwMNo.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-ToN5ueBt-BpzeYowT.js → CashbackDetailPage-D-kXy6LW-DDN4yxLo.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BYNjlLQX-smovJQ3p.js → ChargeCardDetailPage-BQnJsfn5-D6Qm3_DY.js} +21 -21
  35. package/dist/assets/{ChargeCardListPage-CTG6bNbA-DN4yg5h2.js → ChargeCardListPage-130ILwkr-xWvWRUI-.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-BRAAvmWW-BCMrKmLw.js → ChargeCardListTable-EGkwcy7i-Gk77wXoS.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-xhEvT_sU-D7VUd9Kw.js → ChargeCardPromoPage-BwqrXrY--B5or9kQv.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-Be89R3A7-BvY-IfNf.js → ChargeCardSetupPage-DRzB7Rt4-SAR76aeK.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-CFNCOiLr-DDhNhCxi.js → ChargeCardStatementsPage-C3NxKjmB-Bqdh-I41.js} +1 -1
  40. package/dist/assets/{CheckDepositDrawerPage-Cy0NVgKc-D8fpunhe.js → CheckDepositDrawerPage-ClxKj2js-BOLtAKO1.js} +1 -1
  41. package/dist/assets/{CollapsableReportTable-CrR91Kpi-DnJZSUDi.js → CollapsableReportTable-xkNXkjfh-CuBOzrbM.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-4FjXy6T9-CStOu48U.js → CompanyOfficerDetailsSection-BtUBatbQ-CS2katNY.js} +1 -1
  43. package/dist/assets/{CompanyPassportCard-Bv6Aws7i-dO40WjmK.js → CompanyPassportCard-BOxM716U-DxvRrHgL.js} +2 -2
  44. package/dist/assets/{CompanyPassportPage-DRhnOgdd-BOnCftvv.js → CompanyPassportPage-DzE7sm8S-ZZY5euQN.js} +13 -13
  45. package/dist/assets/{CompleteProfile-CdVQdaB0-CLoHBDqw.js → CompleteProfile-BjGSPASa-Bfp0I59Q.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-Cygb8bhF-CpMHcY5K.js → ConfettiBurst-1rYKpbAj-DHWZb_DF.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-_jZBL7C2-BT5eOx4Y.js → CreateOrEditVendorPage-WQeDCj-E-ZLNX3FBX.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-CWF47Q9G-lJ5s9KFG.js → CreditCardPaymentDrawerPage-Q12y6HMX-CRUPlZFr.js} +101 -101
  49. package/dist/assets/{CurrencySelectField-ppkSKTpN-BC31P_0q.js → CurrencySelectField-AjAWhg6e-h8iODRHM.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-DbaC9Uy1-BzvBGrNi.js → CustomerOnboardingActivationPage-BJhw-PvI-DfxjHeaa.js} +1 -1
  51. package/dist/assets/CustomerOnboardingContainerPage-C9radmIS-D7esgWyy.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-5PeyznvM-B8Mhh2k2.js → CustomerOnboardingDetailPageSkeleton-B0WzN1Sx-A_sh3_b9.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-CWvaI2vY-BkjuYe-o.js → CustomerOnboardingNoStepsPage-CNni6chX-DEHNST6I.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingPage-DWmMR5Ke-C-0daaby.js → CustomerOnboardingPage-CvN9Jrdy-BbxW7een.js} +4 -4
  55. package/dist/assets/CustomerOnboardingProductSuitePage-CZkX9ur7-CVf3ueoc.js +202 -0
  56. package/dist/assets/{Dashboard-CJSMYKO7-S41CzF6L.js → Dashboard-_o0Ftdv8-B4FMEqu7.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-CcY-7-W_-DdmW4wbH.js → DashboardReportPage-Cu5wqWkj-BjOABFkU.js} +1 -1
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-D3qI_q0a-iCovmnlW.js → DashboardSidebarBackgroundAnimation-Bl8Ss6Gf-1uwRQXQg.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-BpbS0SRE-NmcXTIJb.js → DepositAccTransactionItem-BOPK7-7P-CmYSzV4w.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionListPage-C1EuUbFg-CI8oEH7-.js → DepositAccTransactionListPage-oj9tntbI-CMORNmGB.js} +1 -1
  61. package/dist/assets/{DomesticWireDetailsPage-DTrY_uHQ-CknHfbIJ.js → DomesticWireDetailsPage-FGdEilUB-BIDfGIPL.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-gRH0FIa6-e2777Hoq.js → DownloadOverlay-c57lEf_V-BH-A5hnp.js} +1 -1
  63. package/dist/assets/{DrawerPage-gsfboWa--D8_bnW1E.js → DrawerPage-inbhWwND-BaLC0Hdr.js} +1 -1
  64. package/dist/assets/{EditPeoplePage-D3GenIke-s4IX6oMr.js → EditPeoplePage-DJthuIP4-Ccr8TbIs.js} +1 -1
  65. package/dist/assets/{EditReimbursementDetailPage-CC4JbXua-Dip_aVtM.js → EditReimbursementDetailPage-Bt7XKq5h-BcSPiJVn.js} +1 -1
  66. package/dist/assets/{EntityDetailPage-dZ-H_-kO-B3yxSec8.js → EntityDetailPage-DbTiF9Hs-DOWN_WQU.js} +1 -1
  67. package/dist/assets/{EntitySummarySection-BaSzuw3T-DJX_ZTYK.js → EntitySummarySection-CHgrPo86-C_DZGpt7.js} +1 -1
  68. package/dist/assets/{ExpenseAutomationOverviewPage-CtBVIXza-8HVAkTgZ.js → ExpenseAutomationOverviewPage-QZT_UFXf-Q6Yezq8W.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationPage-BByZfMUo-Bp9htN-p.js → ExpenseAutomationPage-Y7V_Z8rd-Nz-tHH0P.js} +36 -36
  70. package/dist/assets/{ExpressPayPage-Dx4Cc9w2-5nFukiXm.js → ExpressPayPage-CIp_R6ZQ-SvQXytoV.js} +1 -1
  71. package/dist/assets/{FeaturePreviewPage-Us5W5Wo9-CTfS268U.js → FeaturePreviewPage-qsUO3mUu-CQPzEAZz.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-DDXRZdXi-BkUwTVWQ.js → FollowStepsSection-ebmR-eLP-CCCIBkct.js} +1 -1
  73. package/dist/assets/{GlobalReviewListPage-Ou4B6O28-Cj-vrRvJ.js → GlobalReviewListPage-9V-xoqvs-O56nx8QU.js} +1 -1
  74. package/dist/assets/{InformationCardStack-DEj81xCg-BlO4gF2p.js → InformationCardStack-DnB7TmOk-BJQfDBIj.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-BSigEuRs-DrhT2GS8.js → InsightsCardStack-BBczCYEz-CM9k6Dqk.js} +5 -5
  76. package/dist/assets/{InsightsSection-BrjpMz4X-DExiKNju.js → InsightsSection-BTXj5WUe-BehAISJe.js} +5 -5
  77. package/dist/assets/{IntegrationsSettingsPage-BEBtsJ8z-BJ7jcJB8.js → IntegrationsSettingsPage-CByj2tO4-zF-3f5Vb.js} +2 -2
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-DqTA5UPe-CmHr1otA.js → InternationalWireSwiftDetailsPage-4-pl1ozv-BL59ObmT.js} +4 -4
  79. package/dist/assets/{InternationalWireVerificationPage-CGLyTJOX-CNAH8NOm.js → InternationalWireVerificationPage-kIajgPZt-Cim3HMUE.js} +1 -1
  80. package/dist/assets/{InviteFormPage-CHZVhrof-Ctwgv0tR.js → InviteFormPage-XsnZcAvb-F0roB33R.js} +1 -1
  81. package/dist/assets/{InvitePageListView-B0aN2fz0-C_ebzQNV.js → InvitePageListView-HfsehyxK-ADhebkRn.js} +1 -1
  82. package/dist/assets/{InvitePeoplePage-DLPupvdi-DD0j_YWt.js → InvitePeoplePage-DrBtwpMH-D70ug1bL.js} +1 -1
  83. package/dist/assets/{InvoiceUploadSection-COIpUGEB-wLZvdMHG.js → InvoiceUploadSection-DPd4VmqZ-BLpPijn4.js} +1 -1
  84. package/dist/assets/{IssueChargeCardPage-6LWMwuaq-BfBIAKq3.js → IssueChargeCardPage-xbfFhV0O-D87TKikm.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-BOPQCQtK-glMgUt5i.js → LabeledAddressValue-CB_KH7v5-DhXcxbM6.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-DxybAWPO-DIu3ggxx.js → LabeledAddressValueField-Bt41wdNQ-CdN5suyF.js} +1 -1
  87. package/dist/assets/{LabeledControlledCheckBoxField-BSciMX7_-DpOi6Pih.js → LabeledControlledCheckBoxField-Btw_zwzy-I7spg7Dx.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-q23ARfG8-CRQFWLML.js → LabeledCreatableSingleSelectField-fycRE7PX-BLM_4t-_.js} +1 -1
  89. package/dist/assets/{LabeledDocumentField-Icg5_obX-DhGSKEqK.js → LabeledDocumentField-C73vQNgq-xVgwP02Y.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-BiJOzT5B-urCKQV5c.js → LabeledDropDownFormattedTextField-DGb_bDyp-DbOxXrX_.js} +1 -1
  91. package/dist/assets/{LabeledText-Tn7u-Ek3-DOKeDUtN.js → LabeledText-yhm8qxrA-B5O06POj.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B_MWazM_-Deht3VPb.js → LabeledUserSingleSelectWithSubtitlesField-CgA4UPJh-BYzGVtZI.js} +1 -1
  93. package/dist/assets/{LabeledZeniRolesDropDownField-DyCxNVQD-CDJPm5Uy.js → LabeledZeniRolesDropDownField-DGkU72cd-iMLOxXqS.js} +1 -1
  94. package/dist/assets/{LinkJETransactionPage-NXVaaeQn-Dc1IDF_5.js → LinkJETransactionPage-C0onrP5t-DohOtG77.js} +1 -1
  95. package/dist/assets/{LockCardPage-DFFQF_XE-ZW7dAknw.js → LockCardPage-DaVzuRMw-C59qINIA.js} +1 -1
  96. package/dist/assets/{LowBalancePopup-T5Ms2v-E-DO0_djob.js → LowBalancePopup-Dd9HLWlh-qIEjt8fN.js} +1 -1
  97. package/dist/assets/MagicLinkACHDetailsPage-Cpde2XoD-JoGWlKNi.js +1 -0
  98. package/dist/assets/MagicLinkDomesticWireDetailsPage-DQYH52_8-Clx_7zaI.js +1 -0
  99. package/dist/assets/MagicLinkInternationalWireDetailsPage-DwBUSxwe-x_28I9nn.js +1 -0
  100. package/dist/assets/{MagicLinkSuccessPage-BU8oXuny-C8cR1VFE.js → MagicLinkSuccessPage-DbhdGmhh-DNYzgAJU.js} +1 -1
  101. package/dist/assets/{MagicLinkTitleSection-kbY8yTTa-9EHeM1LM.js → MagicLinkTitleSection-Bx92291D-D9nsnbMt.js} +1 -1
  102. package/dist/assets/MailingDetailsSection-D-tnK244-BXHufBP2.js +21 -0
  103. package/dist/assets/{Menu-DTdVYIrC-BIdLGG6J.js → Menu-0YHUdU0n-12P5RljB.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-B67G0-7Z-n6eVqpf_.js → MyBankConnectionsSettingsPage-Dn9AT8p1-BbviCBBU.js} +1 -1
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-Cbap6Vpr-CSFLEHXK.js → MyPendingActivationChargeCardListPage-DrQu6s7j-DI8j4Roq.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-TqtGXk0G-LTkAmfNQ.js → MyProfileSettingsPage-CBvjEd7r-B3f0C00b.js} +1 -1
  107. package/dist/assets/{NavBarWithPicker-C4_SW0nA-DEnXFLuU.js → NavBarWithPicker-aXn2QYh1-CB_AN-HG.js} +1 -1
  108. package/dist/assets/{NavigationArrow-6jp6I9fp-c3H2_Bem.js → NavigationArrow-JLUXaIrz-BZffLUxV.js} +1 -1
  109. package/dist/assets/{NavigationDots-BSjG6OlY-Buo2a5d0.js → NavigationDots-B0_dDbgu-D1euhRa0.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-BXM36kwh-Cd4H2AF3.js → NewGlobalMerchantPage-B_019EtP-Cnin4QvT.js} +1 -1
  111. package/dist/assets/{NoDataChart-CRhOisS1-BTCCqtJ6.js → NoDataChart-DLKHNXD4-CdqcDLeH.js} +1 -1
  112. package/dist/assets/{NoDataTable-bIZY56VS-ccYortqh.js → NoDataTable-BMD2qygC-4Ck98ufk.js} +1 -1
  113. package/dist/assets/{NotFoundPage-Y4UqiUrL-Dl07MVyQ.js → NotFoundPage-BEya4LS2-BrCuBa4j.js} +3 -3
  114. package/dist/assets/{NotificationSettingsPage-Ct1wYM98-cHt-xjmV.js → NotificationSettingsPage-C9SjRKCu-Du1Cf4y_.js} +1 -1
  115. package/dist/assets/{NotificationsListConfig-tD8IFVDs-CZIDK_9u.js → NotificationsListConfig-OCeJNw1G-DxjI9EUe.js} +1 -1
  116. package/dist/assets/{NotificationsPage-C8PlG40Q-CVuSfSFc.js → NotificationsPage-FJHx_WBG-TAfeF35H.js} +1 -1
  117. package/dist/assets/{OpExByVendorPage-B5dz3g_I-CwduKJys.js → OpExByVendorPage-Dxk68R6U-TSpF0BZT.js} +1 -1
  118. package/dist/assets/{OverlayContainerPage-Daz3A7cI-DCcii6jR.js → OverlayContainerPage-Daz3A7cI-BG61qzjJ.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-BzeV5E9J-BCbR55BC.js → PandLWithForecastPage-Bu49FbWD-DV8somvz.js} +4 -4
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-C7ucXP-C-vD6tp49H.js → PaymentAccountSetupBillingAddressSection-s9EEHxoG-Ccng4Jbq.js} +1 -1
  121. package/dist/assets/{PeoplePage-Di9LbUPG-Da8rtaKy.js → PeoplePage-DN5VtG7Q-CKG_6p7l.js} +1 -1
  122. package/dist/assets/{Preview-tV-yCjmx.js → Preview-8iqIdVv4.js} +1 -1
  123. package/dist/assets/{ProductsCarousel-IX34mwaP-9RoB5Xfe.js → ProductsCarousel-6gthLCkf-RpcyX94H.js} +1 -1
  124. package/dist/assets/{PromoBaseCards-DKl5hmY7-DihqgpsA.js → PromoBaseCards-CzPzj69A-DGTVwpLe.js} +1 -1
  125. package/dist/assets/{QBOConnectionDialog-CFgV4ltt-DFaL9t9h.js → QBOConnectionDialog-BFy0lMZd-D5AhMSo8.js} +1 -1
  126. package/dist/assets/{QBOSetupSection-3Igwysxj-wURB4Ues.js → QBOSetupSection-DcLYyQ5m-DYCAROkc.js} +7 -7
  127. package/dist/assets/ReimbursementApprovalRuleDetailPage-0o5lDuM2-Cr0TZK-s.js +26 -0
  128. package/dist/assets/{ReimbursementApprovalRulesPage-CUQt2z6s-CacQtgTe.js → ReimbursementApprovalRulesPage-D5ZMrrmO-CIYzhtUg.js} +1 -1
  129. package/dist/assets/{ReimbursementDetailPage-CgwRpLnh-BB4SRwDm.js → ReimbursementDetailPage-DatcF8rt-B5PSoIBr.js} +1 -1
  130. package/dist/assets/{ReimbursementPromoPage-BxBAhFM1-BF6hJaxb.js → ReimbursementPromoPage-MweW-4DO-BO5Os0EF.js} +4 -4
  131. package/dist/assets/{ReimbursementSetUpPage-CP8WtKvQ-CigASL8Y.js → ReimbursementSetUpPage-BD2LWlbW-YI084Mlh.js} +1 -1
  132. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Ir7LV3Qg-Dnq7FHvk.js → ReimbursementsBulkReviewDrawerPage-DV_PLm_g-CdjeW3Za.js} +1 -1
  133. package/dist/assets/{ReloadCard-DLKVg3Sx-raifO-B_.js → ReloadCard-9KpQCrce-Y78Zw9cJ.js} +1 -1
  134. package/dist/assets/{ReportTableViewSelector-BlpUjTMl-C-RA5eDL.js → ReportTableViewSelector-BPliEsuo-CZegsDsW.js} +1 -1
  135. package/dist/assets/{ReportsPage-D-4SKTVF-DBO0HPPe.js → ReportsPage-h2DAaQfK-Dj7aDDw4.js} +5 -5
  136. package/dist/assets/{RevenueChart-C3cckydL-DuMhXuaA.js → RevenueChart-DY2s_upY-DFXm-6Am.js} +1 -1
  137. package/dist/assets/{ReviewDetailsPage-Df882foz-DSNm6Tvp.js → ReviewDetailsPage-BiYxRnvA-cVXSS1nN.js} +1 -1
  138. package/dist/assets/{ReviewOverlay-n3lZIztC-Jt6HA3yk.js → ReviewOverlay-BvPN7IKD-BVyGsnOK.js} +1 -1
  139. package/dist/assets/{RoleWithToolTip-jGxjGCFo-Cfrtl2v2.js → RoleWithToolTip-aW95rpRe-D_rCTb4X.js} +1 -1
  140. package/dist/assets/{ScheduleDetailsFixedAssetsPage-cVGyXDC1-BNedCqMx.js → ScheduleDetailsFixedAssetsPage-DlXqz1QQ-CI8b87nD.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsPage-Dcl5GREY-Ct_YcYBo.js → ScheduleDetailsPage-DebosLND-CytjKLyD.js} +3 -3
  142. package/dist/assets/{ScheduleSequenceTable-CkqvmnzR-ChIiKEV4.js → ScheduleSequenceTable-Dd4Ep_c0-CndtHY8m.js} +1 -1
  143. package/dist/assets/{ScreenRoutes-B-IHS-7V.js → ScreenRoutes-CrZHoFIY.js} +1 -1
  144. package/dist/assets/{SetUpAccountSection-bKk_0Pau-Bgf6Zs6Q.js → SetUpAccountSection-Dhb8A0Oe-CHZzV0W4.js} +1 -1
  145. package/dist/assets/{SignIn-BZXzRb1K-B_z9rDGz.js → SignIn-DQBJB5ad-yHNBe1dm.js} +1 -1
  146. package/dist/assets/{SignInScreen-aZSIS5dr.js → SignInScreen-B08t21nJ.js} +1 -1
  147. package/dist/assets/{SpendManagementListViewPage-jdvSYQ4J-C-TI7b_0.js → SpendManagementListViewPage-Ac-9u-X2-ConJ7IhF.js} +3 -3
  148. package/dist/assets/{SpendManagementPerTabPage-BlyFIn6o-CDHF62oQ.js → SpendManagementPerTabPage-DgrMAQ8l-CwC7irjo.js} +1 -1
  149. package/dist/assets/{SpendManagementSection-Dzlokoym-DFpoafz0.js → SpendManagementSection-Ci2yOCJ9-DUAKhgdu.js} +1 -1
  150. package/dist/assets/StatementItem-hcBoe79o-BTjI_1ZK.js +31 -0
  151. package/dist/assets/{StatementsPage-Cw6GRd81-ChCacJhz.js → StatementsPage-DVR5LhTi-ldyTOd7O.js} +1 -1
  152. package/dist/assets/{StatusSwitcher-CcLiXtx4-f9qUB_aI.js → StatusSwitcher-Cy5ITFgi-DNMieZwF.js} +1 -1
  153. package/dist/assets/{SubTabSwitcher-zpnLoSBy-DHPyjZjM.js → SubTabSwitcher-DhsES2OW-DrYqVYfO.js} +1 -1
  154. package/dist/assets/{SummaryCard-C2KHXXwg-D6dUyKsz.js → SummaryCard-Byv4Hw8Q-CEnhPnYc.js} +1 -1
  155. package/dist/assets/{TaskManagementPage-C3M_HCXR-DTuYPwo5.js → TaskManagementPage-CVXMOPf2-q63kh_yR.js} +1 -1
  156. package/dist/assets/{TimeRangeSwitcher-COHAPH9b-d1DuuIDi.js → TimeRangeSwitcher-jct2_5PE-DPu4jgs4.js} +11 -11
  157. package/dist/assets/{TimeframeSwitcher-5ql0bSzz-Bs-WyJqF.js → TimeframeSwitcher-BK-qliOX-BjbSBToW.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcherWithToggle-BXSkHN5Y-DtM__aUW.js → TimeframeSwitcherWithToggle-Cl6ISBIz-3_smJQH4.js} +2 -2
  159. package/dist/assets/{TopExCard-BrodwfJq-BuNuom9E.js → TopExCard-o4Q3ze1b-CQFtRtLu.js} +1 -1
  160. package/dist/assets/{TopExDetailPage-B8-Zzr1B-CRfyljYM.js → TopExDetailPage-BsCwwwDi-CdmjqJ_1.js} +5 -5
  161. package/dist/assets/{TransactionDetailPage-D8v3KPrb-BrPGsz8W.js → TransactionDetailPage-rpCG65yC-CLh205i5.js} +1 -1
  162. package/dist/assets/{TransactionList-DMb2xYOV-CraifWnm.js → TransactionList-YI4oZaim-xbjxS_zo.js} +1 -1
  163. package/dist/assets/{TransactionListBig-dUBjAacV-DC5_6EqD.js → TransactionListBig-D_Jw9Ip2-Bz8jw08Q.js} +5 -5
  164. package/dist/assets/{TransactionListPage-x0r04hx4-ByjUdu-s.js → TransactionListPage-B2yWm7eA-DCySOEer.js} +2 -2
  165. package/dist/assets/{TransactionVendorDetailPage-BqjeDf6Q-Dzq8RIOd.js → TransactionVendorDetailPage-Dr5C4-7q-BPGPWJM6.js} +1 -1
  166. package/dist/assets/{TransferDrawerPage-LppLtT6A-9tQ3RVxi.js → TransferDrawerPage-BnEVH7Mc-C6QWMjAo.js} +1 -1
  167. package/dist/assets/{TreasuryOverviewPage-DNoQLXPn-DtJgqzkX.js → TreasuryOverviewPage-C927Rdkg-PWkTzy8N.js} +1 -1
  168. package/dist/assets/{TreasuryPromoPage--MgysW-J-BnZiQCLe.js → TreasuryPromoPage-C6D3bF2f-xmypxDfH.js} +1 -1
  169. package/dist/assets/{TreasuryStatementsPage-DRPB8HzF-D1pupcJw.js → TreasuryStatementsPage-BE54gWl6-BusQnftI.js} +1 -1
  170. package/dist/assets/{TreasuryTaxLetterPage-BeeNFRtm-BSH1fBvD.js → TreasuryTaxLetterPage-BaHut8Wc-DaO1lvfz.js} +2 -2
  171. package/dist/assets/{TrendChart-C7DgNHh6-CJUZv0E3.js → TrendChart-BI4Tz813-BMzjSOb0.js} +1 -1
  172. package/dist/assets/{TrendWithTransactions-CpQPkCN4-C20sTqz7.js → TrendWithTransactions-BicIDSlC-GPxD5Pyy.js} +1 -1
  173. package/dist/assets/{UncategorizedAccountsMappingPage-f9xrtur3-C6VmI6RW.js → UncategorizedAccountsMappingPage-sbn4Sdr2-CCtQxv0E.js} +5 -5
  174. package/dist/assets/{UnitIntegrationPage-SiS8CA0g-CWR3OzFU.js → UnitIntegrationPage-CZUyjeh5-DYAwrSQY.js} +1 -1
  175. package/dist/assets/{UploadAdditionalDocumentOverlay-Djnl6dYH-B9X_EH8P.js → UploadAdditionalDocumentOverlay-4AWDV_HK-CxD_HluI.js} +1 -1
  176. package/dist/assets/{Vendor2FAPopup-CYwD3yQ8-C90N1LpP.js → Vendor2FAPopup-C_PmEAQ7-BaU4ZlJ1.js} +1 -1
  177. package/dist/assets/{VendorACHDetailsPage-ChZp1Db0-Cse3K9q8.js → VendorACHDetailsPage-DMMoCytX-D-f3jOPl.js} +1 -1
  178. package/dist/assets/{VendorDetailPage-CG0SxxIa-DRDl0JtE.js → VendorDetailPage-CLFKkF8I-DlccPRJ1.js} +1 -1
  179. package/dist/assets/VendorDomesticWireDetailsPage-WxmpwlTS-CXFWxa5o.js +1 -0
  180. package/dist/assets/{VendorFiling1099EditablePage-DQs8RP_2-BUbnv_T9.js → VendorFiling1099EditablePage-CrWrhHZl-MLHVoFXe.js} +1 -1
  181. package/dist/assets/{VendorFirstReviewPage-XaE6ddOQ-rVweCi-_.js → VendorFirstReviewPage-C6MnbIan-CvuNZRdM.js} +1 -1
  182. package/dist/assets/{VendorInternationalWireDetailsPage-CT75sZ0O-CdoJJkNf.js → VendorInternationalWireDetailsPage-CzPRK4E2-DP27a23P.js} +1 -1
  183. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BBYmlLxN-CGwvkONg.js +1 -0
  184. package/dist/assets/{VendorsAccountsSection-C9NkRN0p-B0pCAjM_.js → VendorsAccountsSection-CVh1n81R-CZE2h2vy.js} +1 -1
  185. package/dist/assets/{VerifyDevice-c6uTgDIl-CbEOfzzD.js → VerifyDevice-BHocExfO-CXvB8GAp.js} +1 -1
  186. package/dist/assets/{VideoPlayer-BgTXP1p7-Cluk8mf7.js → VideoPlayer-9rYRtSLf-C_MG4aUQ.js} +2 -2
  187. package/dist/assets/VideoPopup-D1o92dj6-Dti5suvC.js +31 -0
  188. package/dist/assets/{WarningsDrawerPage-BS-TFvBs-DNJve9qV.js → WarningsDrawerPage-CzufXgaN-BVjYF7DU.js} +1 -1
  189. package/dist/assets/{ZeniAccountDetailPage-CSVQF6vO-BffDIt1S.js → ZeniAccountDetailPage-ZZ3Ra-Jf-_49Q_UUx.js} +1 -1
  190. package/dist/assets/{ZeniAccountListViewPage-BVGsjSB2-BZPNsiNG.js → ZeniAccountListViewPage-Cxid0mfh-Bo45T4Gx.js} +1 -1
  191. package/dist/assets/{ZeniAccountNavBarPieces-B1l8Hjdg-CBpgN60Q.js → ZeniAccountNavBarPieces-DDc-xph4-CzcxivOl.js} +1 -1
  192. package/dist/assets/{ZeniAccountPromoPage-s-QGT-pZ-4BJMfYD4.js → ZeniAccountPromoPage-YIYFkPIB-YhnencbA.js} +1 -1
  193. package/dist/assets/{ZeniAccountSetupPage-CqXokSq4-D67zlWge.js → ZeniAccountSetupPage-BJ9UJ0dP-yNigxq0M.js} +1 -1
  194. package/dist/assets/{ZeniCopyright-_f5jw1U0-Cm_sE86z.js → ZeniCopyright-CztmWsFm-x7y7hEtI.js} +1 -1
  195. package/dist/assets/{ZeniTransferAmountSlider-yvd98l69-CXQir1uN.js → ZeniTransferAmountSlider-g9qU5Lsq-BdpWeRuR.js} +1 -1
  196. package/dist/assets/{add-to-wallet-DgdBD8_G-DcIDYSUN.js → add-to-wallet-DgdBD8_G-CnbN5S25.js} +1 -1
  197. package/dist/assets/{analytics-A_-qSDYO.js → analytics-C6bOaJY9.js} +1 -1
  198. package/dist/assets/{analyticsHelper-BvohFLdK-Dzhl4b0m.js → analyticsHelper-D4lKCWjQ-7uZfvraO.js} +1 -1
  199. package/dist/assets/{analyticsHelper-z7zDW-m3.js → analyticsHelper-Dyr99-JR.js} +1 -1
  200. package/dist/assets/{arrow-south-east-round-PEovUgvH-Bjs-Qn41.js → arrow-south-east-round-PEovUgvH-D0tcq0ac.js} +1 -1
  201. package/dist/assets/{auto-transfer-rule-mbafm5D3-DwSG-0Tc.js → auto-transfer-rule-mbafm5D3-C5MrpFJF.js} +1 -1
  202. package/dist/assets/{chartTypes-h1GkAvwh-FT7wGKaw.js → chartTypes-BPPSjkhb-H7A_cnp3.js} +1 -1
  203. package/dist/assets/{commonDimensions-7B20r1RL-_hVmC3-Q.js → commonDimensions-Ds75pRzR-DJ4H9OI5.js} +1 -1
  204. package/dist/assets/{constants-BJHEKrOg.js → constants-DNQWEIo3.js} +1 -1
  205. package/dist/assets/{core-CIAE9Iou.js → core-BiYEzgTE.js} +1 -1
  206. package/dist/assets/{dash.all.min-OQiut6fg.js → dash.all.min-CNiNGlQC.js} +1 -1
  207. package/dist/assets/{detailCommon-C28aeDGm-BwKr3Jwq.js → detailCommon-DdZdfmYT-DWQ_1h8d.js} +5 -5
  208. package/dist/assets/{downloadPdf-D1MhyCE3-BRAULud8.js → downloadPdf-B8UMaJCC-BA2fFFfC.js} +1 -1
  209. package/dist/assets/{empty-qC9xuHfK.js → empty-B0QxjPHg.js} +1 -1
  210. package/dist/assets/{empty-Cz51lwOs.js → empty-D0VQVmJ6.js} +1 -1
  211. package/dist/assets/{epic-DhKV_nq7.js → epic-BPfIZ-JM.js} +1 -1
  212. package/dist/assets/{gift-box-Cmt9OgIZ-C3WoTp93.js → gift-box-Cmt9OgIZ-DZtTQChg.js} +1 -1
  213. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BJxMLkUg.js → graphic-no-data-l-DU4J8fDt-D9COe3MR.js} +1 -1
  214. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-D-qWdRKa.js → graphic-no-data-net-burn-l-CzmycA0m-CnFblD9c.js} +1 -1
  215. package/dist/assets/{handshake-BPg58FML-WPUTSbks.js → handshake-BPg58FML-Dk4MbD0e.js} +1 -1
  216. package/dist/assets/{index-4PNYlcwA.js → index-BBJ8MbHB.js} +9 -9
  217. package/dist/assets/{index-DhrgV_ix.js → index-BLOT0kav.js} +1 -1
  218. package/dist/assets/{index-DRnHG-3E.js → index-BWdq4kfG.js} +1 -1
  219. package/dist/assets/{index-CGQmgJEE.js → index-Bl0eTNht.js} +1 -1
  220. package/dist/assets/{index-MXpgXI6y.js → index-CmMi38cf.js} +1 -1
  221. package/dist/assets/{index-Bu7tM8jp.js → index-D66eZF3S.js} +1 -1
  222. package/dist/assets/{index-Dvl7ZPqE.js → index-QkeEXb1H.js} +1 -1
  223. package/dist/assets/{lexical-D0mgjaqy.js → lexical-Cbl76XZt.js} +1 -1
  224. package/dist/assets/{liveblocks-B2g7ROdB.js → liveblocks-BstIT-4Z.js} +1 -1
  225. package/dist/assets/{lottie-DvUF1pax.js → lottie-Dcr3TlBE.js} +1 -1
  226. package/dist/assets/mapLoadingInProgressToTreeNode-DGRrn6kh-B7ARKarP.js +1 -0
  227. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DtwKYRnC-Caj3kiPo.js → mapSectionWithAcOnlyToTreeNode-rrJBbsC8-DldkvgD3.js} +1 -1
  228. package/dist/assets/mapSpacerToTreeNode-CWvamMX2-8qhsm047.js +1 -0
  229. package/dist/assets/mapTimeframeBalancesToTreeNode-DfQk4Tsr-CLPrV0Gx.js +1 -0
  230. package/dist/assets/mapTimeframeBalancesToTreeNode-_jEVk1uh-Dt-fMHUy.js +1 -0
  231. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dscp66eK-lBQd2IWW.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DCb9paz3-BVNM6n_o.js} +1 -1
  232. package/dist/assets/{mui-o4KTDVYm.js → mui-CqcpY1UR.js} +1 -1
  233. package/dist/assets/{page-detail-CWX5S47F-CPwel8vo.js → page-detail-CWX5S47F-KNgKNFoz.js} +1 -1
  234. package/dist/assets/{radio-default-CiSgisfh-CywL4kIK.js → radio-default-CiSgisfh-yEV1b0CM.js} +1 -1
  235. package/dist/assets/{react-BCcPfS1c.js → react-4Ya91sN5.js} +1 -1
  236. package/dist/assets/{react-Z5v0eeyD.js → react-B4eK6Gcb.js} +1 -1
  237. package/dist/assets/{react-NUTeTPEN.js → react-BPBfJ6wZ.js} +1 -1
  238. package/dist/assets/{react-CXz3KePA.js → react-BR4cTFeR.js} +1 -1
  239. package/dist/assets/{react-BYU6BCD1.js → react-CAF4_aM2.js} +1 -1
  240. package/dist/assets/{react-CCHDJHXq.js → react-CG2AEOc2.js} +1 -1
  241. package/dist/assets/{react-BSMWc32-.js → react-CHCFBd-l.js} +2 -2
  242. package/dist/assets/{react-lMeFMTFb.js → react-COBWBcIx.js} +1 -1
  243. package/dist/assets/{recharts-BJmPBfq4.js → recharts-bDaLwU4I.js} +1 -1
  244. package/dist/assets/{sentry-CjZuZb_k.js → sentry-CTfRDee5.js} +1 -1
  245. package/dist/assets/{shield-DOlUxcFf-DKVN6gSI.js → shield-DOlUxcFf-CaZu4NEg.js} +1 -1
  246. package/dist/assets/toCOABalancesWithID-CkjRB0sJ-DDXgenlP.js +1 -0
  247. package/dist/assets/{toChartData-BYQCR1Q4-DFPuCktO.js → toChartData-CMi2WgAy-Bk_h1ue0.js} +1 -1
  248. package/dist/assets/{transaction-placeholder-CpOwZAMG-BQ2O_9lU.js → transaction-placeholder-CpOwZAMG-DpKoIbbu.js} +1 -1
  249. package/dist/assets/{uploadAttachment-Cs2BAs2F-D_wyMmah.js → uploadAttachment-B4ddYCCL-B4kq7cBL.js} +1 -1
  250. package/dist/assets/{uploadReceipts-CPw64UYa-CVPftMJd.js → uploadReceipts-CPw64UYa-DdOlSolA.js} +1 -1
  251. package/dist/assets/{url-caPnqlhh.js → url-BPLyW2rO.js} +1 -1
  252. package/dist/assets/{url-BjWWFI3O.js → url-DI6ZTkbp.js} +1 -1
  253. package/dist/assets/{useLongPress-GCK2COYQ-D6HBn4oj.js → useLongPress-GCK2COYQ-DwbMzQIX.js} +1 -1
  254. package/dist/assets/{usp-line-BBd1wKwW-C1bodntP.js → usp-line-BBd1wKwW-CG6D_gsM.js} +1 -1
  255. package/dist/assets/{utils-BdW9S11I.js → utils-BI6ira9J.js} +1 -1
  256. package/dist/assets/{zeni-epic-state-DJnPqdxc.js → zeni-epic-state-n7oqKrUc.js} +3 -3
  257. package/dist/index.html +1 -1
  258. package/package.json +2 -2
  259. package/dist/assets/AccountInfoPage-CDn5K_o2-641sWKgU.js +0 -18
  260. package/dist/assets/CustomerOnboardingContainerPage-qmrLtjkH-BEltfCv2.js +0 -1
  261. package/dist/assets/CustomerOnboardingProductSuitePage-CEOJEMdY-ntP-LOfn.js +0 -202
  262. package/dist/assets/MagicLinkACHDetailsPage-DtxKOlmX-C3DvZH5g.js +0 -1
  263. package/dist/assets/MagicLinkDomesticWireDetailsPage-C7DsI3GD-DonhhvUC.js +0 -1
  264. package/dist/assets/MagicLinkInternationalWireDetailsPage-BQtq93Cv-Cdv7ebZp.js +0 -1
  265. package/dist/assets/MailingDetailsSection-CMekdUCQ-xJE41G8i.js +0 -21
  266. package/dist/assets/ReimbursementApprovalRuleDetailPage-gUzCi41q-KVZqQggT.js +0 -24
  267. package/dist/assets/StatementItem-BMV39A0D-BrJFdPY2.js +0 -31
  268. package/dist/assets/VendorDomesticWireDetailsPage-Dfawpwuo-BLDa-BWv.js +0 -1
  269. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CBKqnkvK-Bir8wvug.js +0 -1
  270. package/dist/assets/VideoPopup-BD0vmbkL-D5UO4z6F.js +0 -31
  271. package/dist/assets/mapLoadingInProgressToTreeNode-B5fs_QGb-BbA7RFsu.js +0 -1
  272. package/dist/assets/mapSpacerToTreeNode-BufNagSk-TTaGXpmE.js +0 -1
  273. package/dist/assets/mapTimeframeBalancesToTreeNode-BHbBvkxK-C7-N1YyL.js +0 -1
  274. package/dist/assets/mapTimeframeBalancesToTreeNode-BOahnk__-RnE09Z0i.js +0 -1
  275. package/dist/assets/toCOABalancesWithID-DScSc4rG-Bzsy78A1.js +0 -1
@@ -1,4 +1,4 @@
1
- import{V as o,F as i,bY as s,D as a,ak as l,p as d,al as c}from"./index-4PNYlcwA.js";import{n as t}from"./mui-o4KTDVYm.js";import{i as g}from"./ZeniCopyright-_f5jw1U0-Cm_sE86z.js";import"./sentry-CjZuZb_k.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./zeni-epic-state-DJnPqdxc.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.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]="ec03db8a-eab5-4345-9f69-6abad73aea40",e._sentryDebugIdIdentifier="sentry-dbid-ec03db8a-eab5-4345-9f69-6abad73aea40")}catch{}})();const h=t.div`
1
+ import{V as o,F as i,bY as s,D as d,ak as l,p as a,al as c}from"./index-BBJ8MbHB.js";import{n as t}from"./mui-CqcpY1UR.js";import{i as g}from"./ZeniCopyright-CztmWsFm-x7y7hEtI.js";import"./sentry-CTfRDee5.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./zeni-epic-state-n7oqKrUc.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.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]="407b3925-47db-4255-8510-cda770ede210",e._sentryDebugIdIdentifier="sentry-dbid-407b3925-47db-4255-8510-cda770ede210")}catch{}})();const h=t.div`
2
2
  width: 100%;
3
3
  height: 100vh;
4
4
  position: relative;
@@ -25,7 +25,7 @@ import{V as o,F as i,bY as s,D as a,ak as l,p as d,al as c}from"./index-4PNYlcwA
25
25
  flex-direction: column;
26
26
  justify-content: center;
27
27
  align-items: center;
28
- `,x=t(a)`
28
+ `,x=t(d)`
29
29
  color: ${e=>e.theme.colors.primary};
30
30
  `,b=t(l)`
31
31
  color: ${e=>e.theme.colors.hero};
@@ -38,7 +38,7 @@ import{V as o,F as i,bY as s,D as a,ak as l,p as d,al as c}from"./index-4PNYlcwA
38
38
  font-size: 400px;
39
39
  font-weight: ${s.bold};
40
40
  `,r=t.span`
41
- color: ${d.info};
41
+ color: ${a.info};
42
42
  &:hover {
43
43
  text-decoration: underline;
44
44
  cursor: pointer;
@@ -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-4PNYlcwA.js";import{a as E}from"./sentry-CjZuZb_k.js";import{n}from"./mui-o4KTDVYm.js";import{Fw as $e,Fx as ye,Fy as be,Fz as we}from"./zeni-epic-state-DJnPqdxc.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.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-BBJ8MbHB.js";import{a as E}from"./sentry-CTfRDee5.js";import{n}from"./mui-CqcpY1UR.js";import{Fw as $e,Fx as ye,Fy as be,Fz as we}from"./zeni-epic-state-n7oqKrUc.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.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-4PNYlcwA.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-BBJ8MbHB.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-4PNYlcwA.js";import{a as g}from"./sentry-CjZuZb_k.js";import{n as r,c as A}from"./mui-o4KTDVYm.js";import{G2 as fi,G3 as mi,bL as K,bh as $,E1 as ut}from"./zeni-epic-state-DJnPqdxc.js";import{k as gi}from"./SubTabSwitcher-zpnLoSBy-DHPyjZjM.js";import{d as pt}from"./useLongPress-GCK2COYQ-D6HBn4oj.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-tD8IFVDs-CZIDK_9u.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.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]="1af54703-c7f9-4937-a517-e9ad67b5a8cf",e._sentryDebugIdIdentifier="sentry-dbid-1af54703-c7f9-4937-a517-e9ad67b5a8cf")}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-BBJ8MbHB.js";import{a as g}from"./sentry-CTfRDee5.js";import{n as r,c as A}from"./mui-CqcpY1UR.js";import{G2 as fi,G3 as mi,bL as K,bh as $,E1 as ut}from"./zeni-epic-state-n7oqKrUc.js";import{k as gi}from"./SubTabSwitcher-DhsES2OW-DrYqVYfO.js";import{d as pt}from"./useLongPress-GCK2COYQ-DwbMzQIX.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-OCeJNw1G-DxjI9EUe.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.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]="c4661b2a-bd8d-46b6-9ae0-3910331f6949",e._sentryDebugIdIdentifier="sentry-dbid-c4661b2a-bd8d-46b6-9ae0-3910331f6949")}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-4PNYlcwA.js";import{a as C,w as Ae}from"./sentry-CjZuZb_k.js";import{n as m}from"./mui-o4KTDVYm.js";import{FQ as Le}from"./zeni-epic-state-DJnPqdxc.js";import{p as Fe,d as Ve,y as G,b as de,u as ee}from"./chartTypes-h1GkAvwh-FT7wGKaw.js";import{V as ze}from"./toChartData-BYQCR1Q4-DFPuCktO.js";import{m as V}from"./analyticsHelper-BvohFLdK-Dzhl4b0m.js";import{p as Re}from"./TimeRangeSwitcher-COHAPH9b-d1DuuIDi.js";import{M as We}from"./TimeframeSwitcherWithToggle-BXSkHN5Y-DtM__aUW.js";import{C as Ke}from"./NoDataChart-CRhOisS1-BTCCqtJ6.js";import{d as Ye}from"./NoDataTable-bIZY56VS-ccYortqh.js";import{H as Ge,k as oe}from"./detailCommon-C28aeDGm-BwKr3Jwq.js";import{n as z}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{I as He,R as Z}from"./CollapsableReportTable-CrR91Kpi-DnJZSUDi.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-BOahnk__-RnE09Z0i.js";import{d as re}from"./mapLoadingInProgressToTreeNode-B5fs_QGb-BbA7RFsu.js";import{l as qe}from"./mapSpacerToTreeNode-BufNagSk-TTaGXpmE.js";import{N as Ze,I as Je,X as Qe,Y as Ue,J as Xe,K as eo}from"./recharts-BJmPBfq4.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.js";import"./TimeframeSwitcher-5ql0bSzz-Bs-WyJqF.js";import"./graphic-no-data-l-DU4J8fDt-BJxMLkUg.js";import"./AccountRow-pJ59k4-J-BFmtHL3N.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]="3869695b-58d3-43fe-8f8b-6942e6a31ff2",e._sentryDebugIdIdentifier="sentry-dbid-3869695b-58d3-43fe-8f8b-6942e6a31ff2")}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-BBJ8MbHB.js";import{a as C,w as Ae}from"./sentry-CTfRDee5.js";import{n as m}from"./mui-CqcpY1UR.js";import{FQ as Le}from"./zeni-epic-state-n7oqKrUc.js";import{p as Fe,d as Ve,y as G,b as de,u as ee}from"./chartTypes-BPPSjkhb-H7A_cnp3.js";import{V as ze}from"./toChartData-CMi2WgAy-Bk_h1ue0.js";import{m as V}from"./analyticsHelper-D4lKCWjQ-7uZfvraO.js";import{p as Re}from"./TimeRangeSwitcher-jct2_5PE-DPu4jgs4.js";import{M as We}from"./TimeframeSwitcherWithToggle-Cl6ISBIz-3_smJQH4.js";import{C as Ke}from"./NoDataChart-DLKHNXD4-CdqcDLeH.js";import{d as Ye}from"./NoDataTable-BMD2qygC-4Ck98ufk.js";import{H as Ge,k as oe}from"./detailCommon-DdZdfmYT-DWQ_1h8d.js";import{n as z}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{I as He,R as Z}from"./CollapsableReportTable-xkNXkjfh-CuBOzrbM.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-_jEVk1uh-Dt-fMHUy.js";import{d as re}from"./mapLoadingInProgressToTreeNode-DGRrn6kh-B7ARKarP.js";import{l as qe}from"./mapSpacerToTreeNode-CWvamMX2-8qhsm047.js";import{N as Ze,I as Je,X as Qe,Y as Ue,J as Xe,K as eo}from"./recharts-bDaLwU4I.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./TimeframeSwitcher-BK-qliOX-BjbSBToW.js";import"./graphic-no-data-l-DU4J8fDt-D9COe3MR.js";import"./AccountRow-BM3xLbeh-DwBWMEiu.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]="c7a89214-552f-48c0-b217-87ed0459f59b",e._sentryDebugIdIdentifier="sentry-dbid-c7a89214-552f-48c0-b217-87ed0459f59b")}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-4PNYlcwA.js";import{n as r}from"./mui-o4KTDVYm.js";import"./sentry-CjZuZb_k.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./zeni-epic-state-DJnPqdxc.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.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-BBJ8MbHB.js";import{n as r}from"./mui-CqcpY1UR.js";import"./sentry-CTfRDee5.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./zeni-epic-state-n7oqKrUc.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.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-4PNYlcwA.js";import{a as F}from"./sentry-CjZuZb_k.js";import{n as r}from"./mui-o4KTDVYm.js";import{R as we}from"./NavBarWithPicker-C4_SW0nA-DEnXFLuU.js";import{m as Se}from"./analyticsHelper-BvohFLdK-Dzhl4b0m.js";import{M as je}from"./TimeframeSwitcherWithToggle-BXSkHN5Y-DtM__aUW.js";import{I as be,a as ye}from"./CollapsableReportTable-CrR91Kpi-DnJZSUDi.js";import{M as E}from"./usp-line-BBd1wKwW-C1bodntP.js";import{EX as $e,EY as Ce}from"./zeni-epic-state-DJnPqdxc.js";import{D as Pe,T as ke,C as ze}from"./mapSectionWithAcOnlyToTreeNode-DtwKYRnC-Caj3kiPo.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-BHbBvkxK-C7-N1YyL.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.js";import"./TimeframeSwitcher-5ql0bSzz-Bs-WyJqF.js";import"./AccountRow-pJ59k4-J-BFmtHL3N.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]="c4a33e7f-b05c-4ecf-a7c9-eb08400454ac",e._sentryDebugIdIdentifier="sentry-dbid-c4a33e7f-b05c-4ecf-a7c9-eb08400454ac")}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 ae,b as ie,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-BBJ8MbHB.js";import{a as F}from"./sentry-CTfRDee5.js";import{n as r}from"./mui-CqcpY1UR.js";import{R as we}from"./NavBarWithPicker-aXn2QYh1-CB_AN-HG.js";import{m as Se}from"./analyticsHelper-D4lKCWjQ-7uZfvraO.js";import{M as je}from"./TimeframeSwitcherWithToggle-Cl6ISBIz-3_smJQH4.js";import{I as be,a as ye}from"./CollapsableReportTable-xkNXkjfh-CuBOzrbM.js";import{M as E}from"./usp-line-BBd1wKwW-CG6D_gsM.js";import{EX as $e,EY as Ce}from"./zeni-epic-state-n7oqKrUc.js";import{D as Pe,T as ke,C as ze}from"./mapSectionWithAcOnlyToTreeNode-rrJBbsC8-DldkvgD3.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-DfQk4Tsr-CLPrV0Gx.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./TimeframeSwitcher-BK-qliOX-BjbSBToW.js";import"./AccountRow-BM3xLbeh-DwBWMEiu.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]="1aa3a2f3-afbc-4bac-9e0d-22d78cdafa44",e._sentryDebugIdIdentifier="sentry-dbid-1aa3a2f3-afbc-4bac-9e0d-22d78cdafa44")}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%;
@@ -70,7 +70,7 @@ 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
70
70
  margin: ${s.sp3} auto;
71
71
  max-width: 422px;
72
72
  color: ${e=>e.theme.colors.hero};
73
- `,Fe=()=>{const e=T(),t=v();return o.jsxs(Q,{windowSize:t,children:[o.jsx(Z,{windowSize:t,children:o.jsx(J,{windowSize:t,children:e.mode==="dark"?o.jsx("img",{src:H,alt:"forecast-promo",style:{width:"100%",height:"auto"}}):o.jsx("img",{src:q,alt:"forecast-promo",style:{width:"100%",height:"auto"}})})}),o.jsxs(X,{windowSize:t,children:[o.jsxs(C,{windowSize:t,children:[o.jsx(P,{children:o.jsx(K,{})}),o.jsxs(k,{children:[o.jsx(O,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),o.jsx(B,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]})]}),o.jsxs(C,{windowSize:t,children:[o.jsx(P,{children:o.jsx(ee,{})}),o.jsxs(k,{children:[o.jsx(O,{children:c.getLocalizedStrings().forecastPromoPage.trackText.bold}),o.jsx(B,{children:c.getLocalizedStrings().forecastPromoPage.trackText.regular})]})]}),o.jsxs(C,{windowSize:t,children:[o.jsx(P,{children:o.jsx(oe,{})}),o.jsxs(k,{children:[o.jsx(O,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.bold}),o.jsx(B,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})]})},Ne=()=>{const e=T(),t=v();return o.jsxs(Q,{windowSize:t,children:[o.jsxs(X,{windowSize:t,children:[o.jsxs(C,{windowSize:t,style:{width:"408px"},children:[o.jsx(P,{children:o.jsx(K,{})}),o.jsxs(k,{children:[o.jsx(_,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),o.jsx(N,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]})]}),o.jsxs(C,{windowSize:t,style:{width:"275px",alignSelf:"end"},children:[o.jsx(P,{children:o.jsx(ee,{})}),o.jsxs(k,{children:[o.jsx(_,{children:c.getLocalizedStrings().forecastPromoPage.trackText.bold}),o.jsx(N,{children:c.getLocalizedStrings().forecastPromoPage.trackText.regular})]})]}),o.jsxs(C,{windowSize:t,style:{width:"408px"},children:[o.jsx(P,{children:o.jsx(oe,{})}),o.jsxs(k,{children:[o.jsx(_,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.bold}),o.jsx(N,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]}),o.jsx(Z,{windowSize:t,children:o.jsx(J,{windowSize:t,children:e.mode==="dark"?o.jsx("img",{src:H,alt:"forecast-promo",style:{width:"640px",height:"402px"}}):o.jsx("img",{src:q,alt:"forecast-promo",style:{width:"640px",height:"402px"}})})})]})},_e=({meetingUrl:e,onBackClick:t,onClickMenuIcon:n})=>{const a=T(),l=v(),d=()=>{window.open(e.toString(),"_blank")};return o.jsxs(ve,{"data-testid":A("forecast-promo-page"),children:[o.jsx(ne,{title:c.getLocalizedStrings().forecastPromoPage.title,backgroundColor:a.colors.grey4,onBackClick:t,showMenuIcon:l==="medium-compact"||l==="small",onClickMenuIcon:n,source:"ForecastPromoPage"}),o.jsxs(Le,{"data-testid":A("forecast-promo-container"),windowSize:l,children:[l==="small"?o.jsx(Ie,{children:c.getLocalizedStrings().forecastPromoPage.promoText}):o.jsx(Te,{children:c.getLocalizedStrings().forecastPromoPage.promoText}),l==="small"?o.jsx(Fe,{}):o.jsx(Ne,{}),o.jsxs(Me,{"data-testid":A("forecast-promo-bottom-container"),children:[o.jsx(re,{variant:"primary",label:c.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:d}),o.jsx(Ae,{children:c.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})]})};function Be(e,t,n=!0){const a=c.getLocalizedStrings().reports,l=e.filter.balancesRange.numberOfPeriods,d=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?e.sections.expenses.balances:e.sections.income!=null?e.sections.income.balances:[],p=Y({balances:d,config:t}),m=[];return m.push(p),e.idsInOrder.forEach(i=>{if($e(i)===!0){const u=e.sections[i];if(u==null)return;u.accountGroups.length>0?m.push(Pe({section:e.sections[i],sectionType:i,numOfBalances:l,title:a.sections[i],isLastNode:!0,config:t})):m.push(ke({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:l,title:a.sections[i],isLastNode:!0,config:t}))}else Ce(i)===!0&&m.push(ze({calculatedSection:e.calculatedSections[i],numOfBalances:l,title:a.sections[i],isLastNode:!0,config:t}))}),{config:t,headerNodes:n?[p]:[],contentNodes:m}}function Oe(e,t,n,a=!0){Object.assign(e.config,t);const l=n.sections.expenses.balances.length>0?[...n.sections.expenses.balances,...n.sections.expenses.additionalBalances]:[...n.sections.income.balances,...n.sections.income.additionalBalances],d=Y({balances:l,config:t,nodeId:e.contentNodes[0].id}),p=e.contentNodes.slice(1);return p.forEach(m=>te(m,t)),{config:t,headerNodes:a?[d]:[],contentNodes:[d,...p]}}function te(e,t){Object.assign(e.reportElementData.config,t),e.children.forEach(n=>te(n,t))}const L={contentPaddingLeft:new W($[3],$[3],$[8]),contentPaddingRight:new W($[3],$[3],$[8])},Ee=r.div`
73
+ `,Fe=()=>{const e=T(),t=v();return o.jsxs(Q,{windowSize:t,children:[o.jsx(Z,{windowSize:t,children:o.jsx(J,{windowSize:t,children:e.mode==="dark"?o.jsx("img",{src:H,alt:"forecast-promo",style:{width:"100%",height:"auto"}}):o.jsx("img",{src:q,alt:"forecast-promo",style:{width:"100%",height:"auto"}})})}),o.jsxs(X,{windowSize:t,children:[o.jsxs(C,{windowSize:t,children:[o.jsx(P,{children:o.jsx(K,{})}),o.jsxs(k,{children:[o.jsx(O,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),o.jsx(B,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]})]}),o.jsxs(C,{windowSize:t,children:[o.jsx(P,{children:o.jsx(ee,{})}),o.jsxs(k,{children:[o.jsx(O,{children:c.getLocalizedStrings().forecastPromoPage.trackText.bold}),o.jsx(B,{children:c.getLocalizedStrings().forecastPromoPage.trackText.regular})]})]}),o.jsxs(C,{windowSize:t,children:[o.jsx(P,{children:o.jsx(oe,{})}),o.jsxs(k,{children:[o.jsx(O,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.bold}),o.jsx(B,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})]})},Ne=()=>{const e=T(),t=v();return o.jsxs(Q,{windowSize:t,children:[o.jsxs(X,{windowSize:t,children:[o.jsxs(C,{windowSize:t,style:{width:"408px"},children:[o.jsx(P,{children:o.jsx(K,{})}),o.jsxs(k,{children:[o.jsx(_,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),o.jsx(N,{children:c.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]})]}),o.jsxs(C,{windowSize:t,style:{width:"275px",alignSelf:"end"},children:[o.jsx(P,{children:o.jsx(ee,{})}),o.jsxs(k,{children:[o.jsx(_,{children:c.getLocalizedStrings().forecastPromoPage.trackText.bold}),o.jsx(N,{children:c.getLocalizedStrings().forecastPromoPage.trackText.regular})]})]}),o.jsxs(C,{windowSize:t,style:{width:"408px"},children:[o.jsx(P,{children:o.jsx(oe,{})}),o.jsxs(k,{children:[o.jsx(_,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.bold}),o.jsx(N,{children:c.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]}),o.jsx(Z,{windowSize:t,children:o.jsx(J,{windowSize:t,children:e.mode==="dark"?o.jsx("img",{src:H,alt:"forecast-promo",style:{width:"640px",height:"402px"}}):o.jsx("img",{src:q,alt:"forecast-promo",style:{width:"640px",height:"402px"}})})})]})},_e=({meetingUrl:e,onBackClick:t,onClickMenuIcon:n})=>{const i=T(),l=v(),d=()=>{window.open(e.toString(),"_blank")};return o.jsxs(ve,{"data-testid":A("forecast-promo-page"),children:[o.jsx(ne,{title:c.getLocalizedStrings().forecastPromoPage.title,backgroundColor:i.colors.grey4,onBackClick:t,showMenuIcon:l==="medium-compact"||l==="small",onClickMenuIcon:n,source:"ForecastPromoPage"}),o.jsxs(Le,{"data-testid":A("forecast-promo-container"),windowSize:l,children:[l==="small"?o.jsx(Ie,{children:c.getLocalizedStrings().forecastPromoPage.promoText}):o.jsx(Te,{children:c.getLocalizedStrings().forecastPromoPage.promoText}),l==="small"?o.jsx(Fe,{}):o.jsx(Ne,{}),o.jsxs(Me,{"data-testid":A("forecast-promo-bottom-container"),children:[o.jsx(re,{variant:"primary",label:c.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:d}),o.jsx(Ae,{children:c.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})]})};function Be(e,t,n=!0){const i=c.getLocalizedStrings().reports,l=e.filter.balancesRange.numberOfPeriods,d=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?e.sections.expenses.balances:e.sections.income!=null?e.sections.income.balances:[],p=Y({balances:d,config:t}),m=[];return m.push(p),e.idsInOrder.forEach(a=>{if($e(a)===!0){const u=e.sections[a];if(u==null)return;u.accountGroups.length>0?m.push(Pe({section:e.sections[a],sectionType:a,numOfBalances:l,title:i.sections[a],isLastNode:!0,config:t})):m.push(ke({sectionWithAcOnly:e.sections[a],sectionType:a,numOfBalances:l,title:i.sections[a],isLastNode:!0,config:t}))}else Ce(a)===!0&&m.push(ze({calculatedSection:e.calculatedSections[a],numOfBalances:l,title:i.sections[a],isLastNode:!0,config:t}))}),{config:t,headerNodes:n?[p]:[],contentNodes:m}}function Oe(e,t,n,i=!0){Object.assign(e.config,t);const l=n.sections.expenses.balances.length>0?[...n.sections.expenses.balances,...n.sections.expenses.additionalBalances]:[...n.sections.income.balances,...n.sections.income.additionalBalances],d=Y({balances:l,config:t,nodeId:e.contentNodes[0].id}),p=e.contentNodes.slice(1);return p.forEach(m=>te(m,t)),{config:t,headerNodes:i?[d]:[],contentNodes:[d,...p]}}function te(e,t){Object.assign(e.reportElementData.config,t),e.children.forEach(n=>te(n,t))}const L={contentPaddingLeft:new W($[3],$[3],$[8]),contentPaddingRight:new W($[3],$[3],$[8])},Ee=r.div`
74
74
  display: flex;
75
75
  flex: 1 1 auto;
76
76
  min-height: 100%;
@@ -92,7 +92,7 @@ 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
92
92
  justify-content: center;
93
93
  align-items: center;
94
94
  background-color: ${e=>e.theme.colors.grey4};
95
- `,G=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?o.jsx(Re,{children:o.jsx(ie,{size:"ExtraLarge",start:!0})}):null,De=r.div`
95
+ `,G=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?o.jsx(Re,{children:o.jsx(ae,{size:"ExtraLarge",start:!0})}):null,De=r.div`
96
96
  display: flex;
97
97
  width: 100%;
98
98
  flex-direction: column;
@@ -104,4 +104,4 @@ 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
104
104
  align-items: center;
105
105
  justify-content: center;
106
106
  margin-bottom: ${s.sp3};
107
- `,Ge=({forecastList:e,selectedForecastIndex:t,onForecastSelectionChanged:n,vsActualOn:a,onVsActualChanged:l,selectedTimeframe:d,onTimeframeChanged:p,onBackClick:m,isPandLReportFetching:i,onClickMenuIcon:u})=>{const h=v(),f=[];for(let g=0;g<e.length;++g)f.push(`${g}`);const x={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:f,valueToLabel:g=>e[parseInt(g)]?.name??"",selectedValue:`${t}`,titleTextStyle:ae.largeMedium,onPickerSelectionChanged:g=>{if(g!=null){const z=e[parseInt(g)];n?.(z.id,parseInt(g))}},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:i},onBackClick:m,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:u},b={toggle:{label:c.getLocalizedStrings().reports.forecast.vsActual,isOn:a,onValueChanged:l},timeframe:{allowedTimeframes:["month","quarter","year"],selectedTimeframe:d,onTimeframeSelectionChanged:g=>p?.(g)}};return o.jsxs(De,{paddingLeft:L.contentPaddingLeft.value(h),paddingRight:L.contentPaddingRight.value(h),children:[o.jsx(we,{...x}),i?"":o.jsx(We,{children:o.jsx(je,{...b})})]})},Ue=({report:e,type:t,isActualVsForecastOn:n,compareMode:a,onAccountBalanceClick:l,onCompareModeChanged:d,scrollPosition:p,onTableScroll:m,nodeOpenStatus:i,onNodeCollapseToggled:u})=>{const h=T(),f=v(),[x,b]=F.useState(void 0),[g,z]=F.useState(void 0),y=!(f==="small"||f==="medium-compact"),I=n===!0?"actual_vs_forecast":"none";return F.useEffect(()=>{const S={reportId:`${e.reportId}+${e.forecast?.id}`,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:I,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:ye(t)===!0&&n===!1?"filter_forecast_nil_balances":"filter_actual_forecast_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:xe()};if(x==null||!ce(g,e)){const w=Be(e,S,y);z(e),b(w)}else{const w=Oe(x,S,e,y);b(w)}},[t,n,e]),x!=null?o.jsx(be,{backgroundColor:new le(h.colors.grey4),rootNodes:x,type:t,compareMode:a,isSticky:{isStickyHeader:y,isStickyName:y},treeNodePadding:{left:L.contentPaddingLeft.value(f),right:L.contentPaddingRight.value(f)},onAccountClick:l==null?void 0:(S,w)=>{l(S,w)},onCompareModeChanged:d,scrollPosition:p,onScroll:m,nodeOpenStatus:i,onNodeCollapseToggled:u}):null};function fo({selectedTimeframe:e,isForecastVsActualOn:t,compareMode:n,forecastList:a,selectedForecast:l,pandLreport:d,type:p,meetingUrl:m,analytics:i,onForecastSelectionChanged:u,onTimeframeChanged:h,onForecastVsActualsCompareToggle:f,onAccountBalanceClick:x,onCompareModeChanged:b,scrollPosition:g,onTableScroll:z,nodeOpenStatus:y,onNodeCollapseToggled:I,onBackClick:S,onClickMenuIcon:w}){const V=[a.fetchState,d.fetchState],R=l?.index??-1;return se(V)===!0||a.fetchState==="Completed"&&a.forecasts.length===0?o.jsx(_e,{meetingUrl:m,onBackClick:S,onClickMenuIcon:w}):U([a.fetchState])===!0?o.jsx(G,{fetchState:qe(V)}):o.jsxs(Ee,{children:[o.jsx(Ge,{forecastList:a.forecasts,selectedForecastIndex:R,onForecastSelectionChanged:(j,D)=>{i?.trackForecastSwitch(M.Event.profitAndLossWithForecast,a.forecasts[D].name),u?.(j,D)},vsActualOn:t,onVsActualChanged:j=>{i?.trackForecastVsActualMode(M.Event.profitAndLossWithForecast,a.forecasts[R].name,j),f?.(j)},selectedTimeframe:e,onTimeframeChanged:j=>{i?.trackTimeframeSwitch(Se(j),M.Event.profitAndLossWithForecast),h?.(j)},onBackClick:S,isPandLReportFetching:U([d.fetchState]),onClickMenuIcon:w}),d.fetchState==="In-Progress"?o.jsx(G,{fetchState:"In-Progress"}):o.jsx(Ve,{children:o.jsx(Ue,{report:d,type:p,isActualVsForecastOn:t,compareMode:n,onAccountBalanceClick:x,onCompareModeChanged:b,scrollPosition:g,onTableScroll:z,nodeOpenStatus:y,onNodeCollapseToggled:I})})]})}const Ye=e=>e.reduce((t,n)=>t===!0&&n==="Completed",!0),se=e=>e.reduce((t,n)=>t===!0||n==="Error",!1),U=e=>e.reduce((t,n)=>t===!0||n==="Not-Started"||n==="In-Progress",!1),qe=e=>Ye(e)===!0?"Completed":se(e)===!0?"Error":"In-Progress";export{fo as default,U as isAnyInProgress};
107
+ `,Ge=({forecastList:e,selectedForecastIndex:t,onForecastSelectionChanged:n,vsActualOn:i,onVsActualChanged:l,selectedTimeframe:d,onTimeframeChanged:p,onBackClick:m,isPandLReportFetching:a,onClickMenuIcon:u})=>{const h=v(),f=[];for(let g=0;g<e.length;++g)f.push(`${g}`);const x={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:f,valueToLabel:g=>e[parseInt(g)]?.name??"",selectedValue:`${t}`,titleTextStyle:ie.largeMedium,onPickerSelectionChanged:g=>{if(g!=null){const z=e[parseInt(g)];n?.(z.id,parseInt(g))}},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:a},onBackClick:m,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:u},b={toggle:{label:c.getLocalizedStrings().reports.forecast.vsActual,isOn:i,onValueChanged:l},timeframe:{allowedTimeframes:["month","quarter","year"],selectedTimeframe:d,onTimeframeSelectionChanged:g=>p?.(g)}};return o.jsxs(De,{paddingLeft:L.contentPaddingLeft.value(h),paddingRight:L.contentPaddingRight.value(h),children:[o.jsx(we,{...x}),a?"":o.jsx(We,{children:o.jsx(je,{...b})})]})},Ue=({report:e,type:t,isActualVsForecastOn:n,compareMode:i,onAccountBalanceClick:l,onCompareModeChanged:d,scrollPosition:p,onTableScroll:m,nodeOpenStatus:a,onNodeCollapseToggled:u})=>{const h=T(),f=v(),[x,b]=F.useState(void 0),[g,z]=F.useState(void 0),y=!(f==="small"||f==="medium-compact"),I=n===!0?"actual_vs_forecast":"none";return F.useEffect(()=>{const S={reportId:`${e.reportId}+${e.forecast?.id}`,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:I,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:ye(t)===!0&&n===!1?"filter_forecast_nil_balances":"filter_actual_forecast_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:xe()};if(x==null||!ce(g,e)){const w=Be(e,S,y);z(e),b(w)}else{const w=Oe(x,S,e,y);b(w)}},[t,n,e]),x!=null?o.jsx(be,{backgroundColor:new le(h.colors.grey4),rootNodes:x,type:t,compareMode:i,isSticky:{isStickyHeader:y,isStickyName:y},treeNodePadding:{left:L.contentPaddingLeft.value(f),right:L.contentPaddingRight.value(f)},onAccountClick:l==null?void 0:(S,w)=>{l(S,w)},onCompareModeChanged:d,scrollPosition:p,onScroll:m,nodeOpenStatus:a,onNodeCollapseToggled:u}):null};function fo({selectedTimeframe:e,isForecastVsActualOn:t,compareMode:n,forecastList:i,selectedForecast:l,pandLreport:d,type:p,meetingUrl:m,analytics:a,onForecastSelectionChanged:u,onTimeframeChanged:h,onForecastVsActualsCompareToggle:f,onAccountBalanceClick:x,onCompareModeChanged:b,scrollPosition:g,onTableScroll:z,nodeOpenStatus:y,onNodeCollapseToggled:I,onBackClick:S,onClickMenuIcon:w}){const V=[i.fetchState,d.fetchState],R=l?.index??-1;return se(V)===!0||i.fetchState==="Completed"&&i.forecasts.length===0?o.jsx(_e,{meetingUrl:m,onBackClick:S,onClickMenuIcon:w}):U([i.fetchState])===!0?o.jsx(G,{fetchState:qe(V)}):o.jsxs(Ee,{children:[o.jsx(Ge,{forecastList:i.forecasts,selectedForecastIndex:R,onForecastSelectionChanged:(j,D)=>{a?.trackForecastSwitch(M.Event.profitAndLossWithForecast,i.forecasts[D].name),u?.(j,D)},vsActualOn:t,onVsActualChanged:j=>{a?.trackForecastVsActualMode(M.Event.profitAndLossWithForecast,i.forecasts[R].name,j),f?.(j)},selectedTimeframe:e,onTimeframeChanged:j=>{a?.trackTimeframeSwitch(Se(j),M.Event.profitAndLossWithForecast),h?.(j)},onBackClick:S,isPandLReportFetching:U([d.fetchState]),onClickMenuIcon:w}),d.fetchState==="In-Progress"?o.jsx(G,{fetchState:"In-Progress"}):o.jsx(Ve,{children:o.jsx(Ue,{report:d,type:p,isActualVsForecastOn:t,compareMode:n,onAccountBalanceClick:x,onCompareModeChanged:b,scrollPosition:g,onTableScroll:z,nodeOpenStatus:y,onNodeCollapseToggled:I})})]})}const Ye=e=>e.reduce((t,n)=>t===!0&&n==="Completed",!0),se=e=>e.reduce((t,n)=>t===!0||n==="Error",!1),U=e=>e.reduce((t,n)=>t===!0||n==="Not-Started"||n==="In-Progress",!1),qe=e=>Ye(e)===!0?"Completed":se(e)===!0?"Error":"In-Progress";export{fo as default,U as isAnyInProgress};
@@ -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-4PNYlcwA.js";import{w as l,a as O}from"./sentry-CjZuZb_k.js";import{n as v}from"./mui-o4KTDVYm.js";import{P as p}from"./core-CIAE9Iou.js";import{F as Ye}from"./SetUpAccountSection-bKk_0Pau-Bgf6Zs6Q.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]="24e76e2c-5a29-4569-9620-820aec64e326",t._sentryDebugIdIdentifier="sentry-dbid-24e76e2c-5a29-4569-9620-820aec64e326")}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-BBJ8MbHB.js";import{w as l,a as O}from"./sentry-CTfRDee5.js";import{n as v}from"./mui-CqcpY1UR.js";import{P as p}from"./core-BiYEzgTE.js";import{F as Ye}from"./SetUpAccountSection-Dhb8A0Oe-CHZzV0W4.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]="a2c7fdd8-eba7-4182-97ee-a330c9745f6c",t._sentryDebugIdIdentifier="sentry-dbid-a2c7fdd8-eba7-4182-97ee-a330c9745f6c")}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-4PNYlcwA.js";import{w as ce,a as v}from"./sentry-CjZuZb_k.js";import{n as i}from"./mui-o4KTDVYm.js";import{oV as Ie,bg as Q}from"./zeni-epic-state-DJnPqdxc.js";import{P as Ce}from"./Menu-DTdVYIrC-BIdLGG6J.js";import{T as Re}from"./RoleWithToolTip-jGxjGCFo-Cfrtl2v2.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.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]="a85ba473-424c-4fff-a5a1-745257bd0f66",e._sentryDebugIdIdentifier="sentry-dbid-a85ba473-424c-4fff-a5a1-745257bd0f66")}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-BBJ8MbHB.js";import{w as ce,a as v}from"./sentry-CTfRDee5.js";import{n as i}from"./mui-CqcpY1UR.js";import{oV as Ie,bg as Q}from"./zeni-epic-state-n7oqKrUc.js";import{P as Ce}from"./Menu-0YHUdU0n-12P5RljB.js";import{T as Re}from"./RoleWithToolTip-aW95rpRe-D_rCTb4X.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.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]="7cc7dd36-7843-4379-9adc-23b8eaca9781",e._sentryDebugIdIdentifier="sentry-dbid-7cc7dd36-7843-4379-9adc-23b8eaca9781")}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,w as n}from"./sentry-CjZuZb_k.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]="1d26f613-20fc-4163-af3a-dc31a705189d",t._sentryDebugIdIdentifier="sentry-dbid-1d26f613-20fc-4163-af3a-dc31a705189d")}catch{}})();const c="64px",f={},k=({src:t,light:a,oEmbedUrl:r,onClickPreview:s,playIcon:m,previewTabIndex:w,previewAriaLabel:u})=>{const[p,o]=h.useState(null);h.useEffect(()=>{!t||!a||!r||I({src:t,light:a,oEmbedUrl:r})},[t,a,r]);const I=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}},_=e=>{(e.key==="Enter"||e.key===" ")&&s?.(e)},v=e=>{s?.(e)},d=n.isValidElement(a),y={display:"flex",alignItems:"center",justifyContent:"center"},l={preview:{width:"100%",height:"100%",backgroundImage:p&&!d?`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:d?"absolute":void 0,...y},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},x=n.createElement("div",{style:l.shadow,className:"react-player__shadow"},n.createElement("div",{style:l.playIcon,className:"react-player__play-icon"}));return n.createElement("div",{style:l.preview,className:"react-player__preview",tabIndex:w,onClick:v,onKeyDown:_,...u?{"aria-label":u}:{}},d?a:null,m||x)};var S=k;export{S as default};
1
+ import{a as h,w as n}from"./sentry-CTfRDee5.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]="1d26f613-20fc-4163-af3a-dc31a705189d",t._sentryDebugIdIdentifier="sentry-dbid-1d26f613-20fc-4163-af3a-dc31a705189d")}catch{}})();const c="64px",f={},k=({src:t,light:a,oEmbedUrl:r,onClickPreview:s,playIcon:m,previewTabIndex:w,previewAriaLabel:u})=>{const[p,o]=h.useState(null);h.useEffect(()=>{!t||!a||!r||I({src:t,light:a,oEmbedUrl:r})},[t,a,r]);const I=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}},_=e=>{(e.key==="Enter"||e.key===" ")&&s?.(e)},v=e=>{s?.(e)},d=n.isValidElement(a),y={display:"flex",alignItems:"center",justifyContent:"center"},l={preview:{width:"100%",height:"100%",backgroundImage:p&&!d?`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:d?"absolute":void 0,...y},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},x=n.createElement("div",{style:l.shadow,className:"react-player__shadow"},n.createElement("div",{style:l.playIcon,className:"react-player__play-icon"}));return n.createElement("div",{style:l.preview,className:"react-player__preview",tabIndex:w,onClick:v,onKeyDown:_,...u?{"aria-label":u}:{}},d?a:null,m||x)};var S=k;export{S 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-4PNYlcwA.js";import{a as $}from"./sentry-CjZuZb_k.js";import{n as i}from"./mui-o4KTDVYm.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-BBJ8MbHB.js";import{a as $}from"./sentry-CTfRDee5.js";import{n as i}from"./mui-CqcpY1UR.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-4PNYlcwA.js";import{c as i,n as g,k as f}from"./mui-o4KTDVYm.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-BBJ8MbHB.js";import{c as i,n as g,k as f}from"./mui-CqcpY1UR.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-4PNYlcwA.js";import{n as o}from"./mui-o4KTDVYm.js";import"./sentry-CjZuZb_k.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./zeni-epic-state-DJnPqdxc.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.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-BBJ8MbHB.js";import{n as o}from"./mui-CqcpY1UR.js";import"./sentry-CTfRDee5.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./zeni-epic-state-n7oqKrUc.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.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-4PNYlcwA.js";import{n}from"./mui-o4KTDVYm.js";import W from"./QBOConnectionDialog-CFgV4ltt-DFaL9t9h.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]="e780b5b0-19b0-4814-91c1-65353a8b9219",e._sentryDebugIdIdentifier="sentry-dbid-e780b5b0-19b0-4814-91c1-65353a8b9219")}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-BBJ8MbHB.js";import{n}from"./mui-CqcpY1UR.js";import W from"./QBOConnectionDialog-BFy0lMZd-D5AhMSo8.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]="29de52b9-a649-4cdf-88fa-0dadd8553b6e",e._sentryDebugIdIdentifier="sentry-dbid-29de52b9-a649-4cdf-88fa-0dadd8553b6e")}catch{}})();const d={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:l,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:l?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,{})]}),l?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"})]}),l?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&&!l?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;
@@ -8,7 +8,7 @@ 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
8
8
  align-items: center;
9
9
  padding-top: ${o.sp3};
10
10
  padding-bottom: ${o.sp3};
11
- width: ${e=>l.sectionWidth.valuePx(e.windowSize)};
11
+ width: ${e=>d.sectionWidth.valuePx(e.windowSize)};
12
12
  `,F=n.div`
13
13
  display: flex;
14
14
  align-items: center;
@@ -17,7 +17,7 @@ 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
17
17
  `,H=n.div`
18
18
  display: flex;
19
19
  flex-direction: column;
20
- width: ${e=>l.sectionWidth.valuePx(e.windowSize)};
20
+ width: ${e=>d.sectionWidth.valuePx(e.windowSize)};
21
21
  background-color: ${e=>e.theme.colors.grey5};
22
22
  border: 1px solid ${e=>e.theme.colors.grey3};
23
23
  box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
@@ -25,7 +25,7 @@ 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
25
25
  fill: ${e=>e.theme.colors.grey1};
26
26
  justify-content: space-between;
27
27
  box-sizing: border-box;
28
- padding: ${e=>l.containerPadding.valuePx(e.windowSize)};
28
+ padding: ${e=>d.containerPadding.valuePx(e.windowSize)};
29
29
  &:hover {
30
30
  border: 1px solid ${e=>e.theme.colors.primary};
31
31
  fill: ${e=>e.theme.colors.primary};
@@ -41,7 +41,7 @@ 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
41
41
  width: 100%;
42
42
  display: flex;
43
43
  justify-content: space-between;
44
- row-gap: ${e=>l.topElementsRowGap.valuePx(e.windowSize)};
44
+ row-gap: ${e=>d.topElementsRowGap.valuePx(e.windowSize)};
45
45
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
46
46
  `,N=n(f)`
47
47
  display: flex;
@@ -59,8 +59,8 @@ 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
59
59
  color: ${e=>e.theme.colors.primary};
60
60
  cursor: pointer;
61
61
  `,K=n(B)`
62
- height: ${e=>l.arrowIconWidthHeight.valuePx(e.windowSize)};
63
- width: ${e=>l.arrowIconWidthHeight.valuePx(e.windowSize)};
62
+ height: ${e=>d.arrowIconWidthHeight.valuePx(e.windowSize)};
63
+ width: ${e=>d.arrowIconWidthHeight.valuePx(e.windowSize)};
64
64
  color: ${e=>e.theme.colors.hero};
65
65
  `,L=n(D)`
66
66
  height: ${o.sp4};
@@ -0,0 +1,26 @@
1
+ import{y as O,c as R,d as G,q as M,F as U,a8 as W,aN as X,aG as H,cB as J,V as s,bz as K,ab as Q,aO as Y,o as f}from"./index-BBJ8MbHB.js";import{a as B}from"./sentry-CTfRDee5.js";import{n as b}from"./mui-CqcpY1UR.js";import{b as Z,f as ee,o as L,l as $}from"./FollowStepsSection-ebmR-eLP-CCCIBkct.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./zeni-epic-state-n7oqKrUc.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.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]="234319c7-501b-4ecc-a32c-3c912684c353",e._sentryDebugIdIdentifier="sentry-dbid-234319c7-501b-4ecc-a32c-3c912684c353")}catch{}})();const T="reimbursementApprovalRuleDetailPage",j="lowerBound",k="upperBound",v="steps",te={footerPadding:new O(R[2],R[3])};function Ie({localData:e,approvalUpdateActionType:a,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:r=!0,hideUpperBoundField:o=!1,onBackClick:p,onApprovalRuleDataUpdated:h,onResetClick:C,onSaveRuleClick:N,onSaveRuleSuccess:A}){const E=G(),I=M(),l=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,g=ae(e,a==="approval_create"&&!t),x=W({mode:"all",reValidateMode:"onChange",defaultValues:g}),c=e.remiSetupApproverViewUpdateData?.updateStatus,w=X(c?.fetchState),{upperBound:P}=g,{allApprovalRules:i,allAccountingClasses:F,remiSetupApproverViewUpdateData:u}=e;let m=i.length>1?i.length-1:0,y=i.length>0?i[m].criteria[0].range.min.amount:0;if(u!=null&&u.type==="approval_update"&&u.data!=null){const{approvalRuleId:n}=u.data;m=i.findIndex(d=>d.approvalRuleId===n),y=m>0?i[m-1].criteria[0].range.min.amount:0}const V=x.handleSubmit(()=>{N()}),q=async(n,d)=>{h(d)};return B.useEffect(()=>{const n=x.watch((d,{name:D})=>{if(D!=null&&d!=null){const z=H(d);J(()=>q(D,z))}});return()=>{n.unsubscribe()}}),B.useEffect(()=>{w==="In-Progress"&&c?.fetchState==="Completed"&&A()},[w,c?.fetchState,A]),s.jsxs(se,{children:[s.jsx(K,{title:a==="approval_create"?l.newApproval:l.editApproval,backgroundColor:E.colors.grey4,style:{zIndex:4},onBackClick:()=>{p()},source:"ReimbursementApprovalRuleDetailPage"}),s.jsx(ne,{children:s.jsx(Q,{...x,children:s.jsx("form",{id:_(T),onSubmit:V,children:s.jsxs(ie,{children:[s.jsx(Z,{label:{label:o?S.amountPerRemiGreaterLabel:S.amountPerRemiLabel},firstText:{type:"number",name:j,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:y,validate:n=>t?!0:n!=null&&n>y},isDisabled:t,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:r,hideField:o,additionalInfoLabel:l.upperBoundInfoLabel}}),s.jsx(de,{}),s.jsx(ee,{sectionId:v,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:F,stepsInfo:g[v],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})})}),s.jsx(Y,{formId:_(T),primaryBtn:{label:l.saveBtnText,isLoading:c?.fetchState==="In-Progress",isDisabled:c?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:C},containerStyle:{justifyContent:I==="small"?"space-between":"center"},style:{padding:te.footerPadding.valuePx(I)},separatorStyle:{marginRight:f.sp4}})]})}const ae=(e,a)=>{const{criteria:t,steps:r}=e.remiSetupApproverViewUpdateData?.data??{};return{[v]:le(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),L(e.allAttributes),L(e.filteredAttributes),r??[])??[],[j]:a?void 0:t!=null?t.range.min.amount??0:0,[k]:t!=null?t.range.max==null?1/0:t.range.max.amount:1/0}},le=(e,a,t,r,o)=>o&&o.length>0?o.map((p,h)=>({stepIndex:h,stepType:{selectedOption:p.action,allOptions:$},actors:{allUsers:a,selectedUsers:re(e,p.actors),allNonUsers:r,selectedNonUsers:oe(t,p.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:$},actors:{allUsers:a,selectedUsers:[],allNonUsers:r,selectedNonUsers:[]}}],re=(e,a)=>e.filter(t=>t.userId!=null&&a.findIndex(r=>r.userId===t.userId)>-1),oe=(e,a)=>e.filter(t=>a.findIndex(r=>r.subType===t.value)>-1),_=e=>`${e}_form`,Se=e=>`${e}`,se=b.div`
2
+ display: flex;
3
+ height: 100%;
4
+ flex-direction: column;
5
+ width: 100%;
6
+ background-color: ${e=>e.theme.colors.grey4};
7
+ `,ne=b.div`
8
+ display: flex;
9
+ justify-content: flex-start;
10
+ height: 100%;
11
+ overflow-y: auto;
12
+ flex-direction: column;
13
+ align-items: center;
14
+ `,ie=b.div`
15
+ display: flex;
16
+ flex-direction: column;
17
+ border: 1px solid ${e=>e.theme.colors.grey3};
18
+ box-shadow: ${e=>`${f.sp0} 2px ${f.sp1} ${e.theme.colors.dropShadowNormal}`};
19
+ border-radius: ${f.sp2};
20
+ `,de=b.div`
21
+ display: flex;
22
+ flex: 1;
23
+ background-color: ${e=>e.theme.colors.grey3};
24
+ min-height: 1px;
25
+ max-height: 1px;
26
+ `;export{te as D,Ie as default,_ as uniqueFormName,Se as uniqueName};
@@ -1,4 +1,4 @@
1
- import{d as N,q as L,F as v,V as o,bz as E,m as H,aM as S,o as t,y as r,ak as B,aK as z,cm as V,cn as _,co as G,cY as U,c as l,b7 as q,a as P,b6 as F,p as j,cV as J,br as Y,b as K}from"./index-4PNYlcwA.js";import{n as i}from"./mui-o4KTDVYm.js";import{a as O}from"./sentry-CjZuZb_k.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./zeni-epic-state-DJnPqdxc.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.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]="c6ff3c1d-3c97-4245-b171-b5e51d69e4bc",e._sentryDebugIdIdentifier="sentry-dbid-c6ff3c1d-3c97-4245-b171-b5e51d69e4bc")}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)},D={stepper:new P("smallRegular","standardRegular"),amount:new P("standardRegular","largeRegular")},Q=({showDeleteBtn:e=!1,isLastSection:m=!1,approvalRule:w,onEditRuleClick:b,onDeleteRuleClick:y})=>{const[$,d]=O.useState(!1),a=L(),{range:c}=w.criteria[0],{steps:x,approvalRuleId:u}=w,n=v.getLocalizedStrings().commonSetUp.approval,f=()=>{d(!0)},W={onOkClick:()=>{d(!1),y?.(u)},onCancelClick:()=>{d(!1)}};return o.jsxs(X,{windowSize:a,isLastSection:m,"data-testid":S("approval-rule-section",u),children:[o.jsxs(Z,{windowSize:a,children:[o.jsxs(ne,{children:[o.jsxs(R,{windowSize:a,children:[n.from," ",z("0,0",c.min)]}),o.jsxs(ee,{children:[o.jsx(k,{}),o.jsx(oe,{}),o.jsx(k,{})]}),c.max==null?o.jsx(ce,{}):o.jsx(R,{windowSize:a,children:z("0,0",{...c.min,amount:c.max.amount})})]}),o.jsxs(ae,{className:"icons",children:[e?o.jsx(pe,{onClick:f}):null,o.jsx(de,{onClick:()=>{b(u)},"data-testid":S("edit-approval-rule",u)})]})]}),o.jsx(te,{windowSize:a,children:o.jsx(ie,{isSingleStep:x.length===1,windowSize:a,children:x.map((h,A)=>o.jsxs(re,{isSingleStep:x.length===1,className:"stepperItem",windowSize:a,children:[h.action==="require_approval"?o.jsx(le,{children:n.requireText}):o.jsx(se,{children:n.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,M)=>o.jsxs(C,{children:[o.jsx(T,{children:p.subType!=null?n.nonUsers[p.subType].label:null}),h.operator!="is"?o.jsx(I,{className:"operator",children:h.operator}):null]},`${p.subType}_${M}`)),h.actors.map(p=>o.jsxs(C,{children:[o.jsxs(T,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?o.jsx(I,{className:"operator",children:h.operator}):null]},p.userId))]},A))})}),$?o.jsx(V,{titleComponent:o.jsx(G,{children:n.deleteApprovalRuleTitle}),descriptionComponent:o.jsx(_,{children:n.deleteApprovalRuleDesc}),primaryButtonText:n.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:n.cancelBtnText,action:W}):null]})},X=i.div`
1
+ import{d as N,q as L,F as v,V as o,bz as E,m as H,aM as S,o as t,y as r,ak as B,aK as z,cm as V,cn as _,co as G,cY as U,c as l,b7 as q,a as P,b6 as F,p as j,cV as J,br as Y,b as K}from"./index-BBJ8MbHB.js";import{n as i}from"./mui-CqcpY1UR.js";import{a as O}from"./sentry-CTfRDee5.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./zeni-epic-state-n7oqKrUc.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.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]="c6ff3c1d-3c97-4245-b171-b5e51d69e4bc",e._sentryDebugIdIdentifier="sentry-dbid-c6ff3c1d-3c97-4245-b171-b5e51d69e4bc")}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)},D={stepper:new P("smallRegular","standardRegular"),amount:new P("standardRegular","largeRegular")},Q=({showDeleteBtn:e=!1,isLastSection:m=!1,approvalRule:w,onEditRuleClick:b,onDeleteRuleClick:y})=>{const[$,d]=O.useState(!1),a=L(),{range:c}=w.criteria[0],{steps:x,approvalRuleId:u}=w,n=v.getLocalizedStrings().commonSetUp.approval,f=()=>{d(!0)},W={onOkClick:()=>{d(!1),y?.(u)},onCancelClick:()=>{d(!1)}};return o.jsxs(X,{windowSize:a,isLastSection:m,"data-testid":S("approval-rule-section",u),children:[o.jsxs(Z,{windowSize:a,children:[o.jsxs(ne,{children:[o.jsxs(R,{windowSize:a,children:[n.from," ",z("0,0",c.min)]}),o.jsxs(ee,{children:[o.jsx(k,{}),o.jsx(oe,{}),o.jsx(k,{})]}),c.max==null?o.jsx(ce,{}):o.jsx(R,{windowSize:a,children:z("0,0",{...c.min,amount:c.max.amount})})]}),o.jsxs(ae,{className:"icons",children:[e?o.jsx(pe,{onClick:f}):null,o.jsx(de,{onClick:()=>{b(u)},"data-testid":S("edit-approval-rule",u)})]})]}),o.jsx(te,{windowSize:a,children:o.jsx(ie,{isSingleStep:x.length===1,windowSize:a,children:x.map((h,A)=>o.jsxs(re,{isSingleStep:x.length===1,className:"stepperItem",windowSize:a,children:[h.action==="require_approval"?o.jsx(le,{children:n.requireText}):o.jsx(se,{children:n.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,M)=>o.jsxs(C,{children:[o.jsx(T,{children:p.subType!=null?n.nonUsers[p.subType].label:null}),h.operator!="is"?o.jsx(I,{className:"operator",children:h.operator}):null]},`${p.subType}_${M}`)),h.actors.map(p=>o.jsxs(C,{children:[o.jsxs(T,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?o.jsx(I,{className:"operator",children:h.operator}):null]},p.userId))]},A))})}),$?o.jsx(V,{titleComponent:o.jsx(G,{children:n.deleteApprovalRuleTitle}),descriptionComponent:o.jsx(_,{children:n.deleteApprovalRuleDesc}),primaryButtonText:n.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:n.cancelBtnText,action:W}):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-4PNYlcwA.js";import{a as p}from"./sentry-CjZuZb_k.js";import{n as r}from"./mui-o4KTDVYm.js";import{a as ai}from"./liveblocks-B2g7ROdB.js";import{bL as ri,bP as oi,FB as ni}from"./zeni-epic-state-DJnPqdxc.js";import li from"./InvoiceUploadSection-COIpUGEB-wLZvdMHG.js";import{r as si,h as f,u as di}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-CIAE9Iou.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./recharts-BJmPBfq4.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.js";import"./AttachmentView-mC246Bpw-CT1OWA3c.js";import"./uploadReceipts-CPw64UYa-CVPftMJd.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]="01f65e54-94d9-49fd-b466-c040fcae2f50",e._sentryDebugIdIdentifier="sentry-dbid-01f65e54-94d9-49fd-b466-c040fcae2f50")}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-BBJ8MbHB.js";import{a as p}from"./sentry-CTfRDee5.js";import{n as r}from"./mui-CqcpY1UR.js";import{a as ai}from"./liveblocks-BstIT-4Z.js";import{bL as ri,bP as oi,FB as ni}from"./zeni-epic-state-n7oqKrUc.js";import li from"./InvoiceUploadSection-DPd4VmqZ-BLpPijn4.js";import{r as si,h as f,u as di}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-BiYEzgTE.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./recharts-bDaLwU4I.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./AttachmentView-B0d42oAf-CFenLcCO.js";import"./uploadReceipts-CPw64UYa-DdOlSolA.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]="74aa40f1-e2cb-4d04-a05c-e2862e5c220d",e._sentryDebugIdIdentifier="sentry-dbid-74aa40f1-e2cb-4d04-a05c-e2862e5c220d")}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)};